Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
19e852b
Integrating Apple TV (tvOS); Android TV improvements
professorDeveloper Oct 23, 2026
e7cd140
i18n: English base for profile strings, add uz/ru translations
professorDeveloper Oct 23, 2026
ae4e6a7
Android TV: dub and other audio languages are offered as servers
professorDeveloper Oct 26, 2026
e3d6b6c
Apple TV: focused shelf card scrolls into view; Profiles reachable by Up
professorDeveloper Oct 26, 2026
c286dba
Apple TV: scroll a shelf's own row to its focused card
professorDeveloper Oct 26, 2026
ad38b97
Apple TV: Profiles button built like the other header buttons
professorDeveloper Oct 26, 2026
ffba884
Apple TV UI tests: wait out a focus move; check against the window
professorDeveloper Oct 27, 2026
4c83617
Apple TV UI tests: find a focused button the any-element query misses
professorDeveloper Oct 27, 2026
eff29c9
Android TV: the player plays on past episode 100
professorDeveloper Oct 27, 2026
5dbc67c
Reviewing adapter
professorDeveloper Oct 30, 2026
93c9b22
API address: encoded the way the phone app does it
professorDeveloper Nov 2, 2026
ab05e83
CI: run the 218 tests that were already written, and stop paying twic…
professorDeveloper Nov 2, 2026
162ec09
Apple TV CI: stop asking the hierarchy for a viewport it no longer re…
professorDeveloper Nov 3, 2026
ec22e95
Android TV: small fixes for watch party, Live TV, Home View All, CAs …
professorDeveloper Nov 3, 2026
4901b5d
Stop tracking the release APK, IDE state and a stray subtitle file (#34)
professorDeveloper Nov 3, 2026
bb073b5
Android TV release: test, build once, tag, publish to the CDN and upd…
professorDeveloper Nov 3, 2026
1fb1d57
Apple TV: release to TestFlight from Actions (#32)
professorDeveloper Nov 3, 2026
9db594b
Android TV: strip kkphim's ads and sign asilmedia's fayllar1 files (#37)
professorDeveloper Nov 3, 2026
c23962d
Apple TV: relay image-wrapped HLS segments through the backend (#36)
professorDeveloper Nov 3, 2026
622cf8d
Apple TV: explain failed streams with a working Retry, focus Play, re…
professorDeveloper Nov 3, 2026
32cab31
Apple TV: survive slow sources, throttling and removed profiles (#38)
professorDeveloper Nov 3, 2026
81cf5ee
Merge remote-tracking branch 'origin/master' into tmp-31
professorDeveloper Nov 3, 2026
3d4876e
Apple TV: name source outages, and test the messages the app now shows
professorDeveloper Nov 3, 2026
17a7f89
Apple TV UI tests: the notifications retry message, and a settled she…
professorDeveloper Nov 3, 2026
5b76539
Decrypt KissKH's encrypted subtitle cues on Android TV and Apple TV (…
professorDeveloper Nov 3, 2026
a35a4a0
Add an LG webOS TV app (#41)
professorDeveloper Nov 6, 2026
e8d2747
Let vidapi fall back to hls.js on webOS (#42)
ArnoldDeRuiter Nov 6, 2026
2495a73
Start hls.js from a 5 Mbps bandwidth estimate (#43)
ArnoldDeRuiter Nov 6, 2026
e99105e
webOS: subtitle timing offset in half-second steps (#44)
ArnoldDeRuiter Nov 6, 2026
cc8872c
webOS: play vidapi natively through a loopback relay (#45)
ArnoldDeRuiter Nov 6, 2026
d60d12d
Relay API-declared headers on webOS and allow seven more sources, wit…
ArnoldDeRuiter Nov 9, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
94 changes: 90 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,55 @@
# The TV app had no CI at all — only a release workflow — so a broken string
# resource reached a device before anyone saw it. This is the cheap half of a
# build: it runs in seconds and catches the failure that is invisible in review.
name: CI

# The TV app had no CI at all — only a release workflow — so a broken string
# resource reached a device before anyone saw it.
#
# It then had half a CI: a string check and a debug assemble. `app/src/test`
# holds 218 unit tests across 36 files — the watch-party wire format, the
# CloudStream extension parsing, the AniList matching, the history sync — and
# not one of them was run by this pipeline. A green check on a pull request
# said the resources merged and the app compiled, which is a much smaller claim
# than anyone reading it took it to be. This now has the same shape as the
# phone app's ci.yml: a string check, a TEST GATE, and a compile.
#
# `push` is the default branch only, with `pull_request` alongside it, which is
# the pairing the phone app settled on: a branch with a pull request open is
# covered by `pull_request`, a push straight to the default branch by `push`,
# and nothing is covered twice.

on:
push:
branches: [master]
paths-ignore: ['apple-tv/**', 'webos/**', '.github/workflows/webos*.yml']
pull_request:
paths-ignore: ['apple-tv/**', 'webos/**', '.github/workflows/webos*.yml']
# release.yml runs the same gates before it builds; it skips the debug
# assemble because it builds a release APK right after.
workflow_call:
inputs:
skip_assemble:
type: boolean
default: false

# A new push to a branch makes the run already in flight worthless, and these
# jobs are not short — the Gradle ones were measured at five to six minutes.
# Without this, pushing three times in ten minutes queues three full builds and
# waits for all of them.
#
# github.workflow is the caller's name when release.yml calls this, so a push
# to master cannot cancel the tests a release is waiting on.
concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
contents: read

jobs:
strings:
name: Translated strings
runs-on: ubuntu-latest
# Seconds in practice; this is the hang budget, not the expected cost.
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
Expand All @@ -22,9 +60,54 @@ jobs:
- name: Check the string resources
run: python3 tools/check_strings.py

# The gate the phone app has and this repo did not. Its own job, not a step
# inside the assemble, so that the check list on a pull request names "test"
# and a reader can see that the suite passed instead of inferring it from a
# job titled after a build.
#
# It is also the cheap half of the pair: `testDebugUnitTest` ran in 28 seconds
# here against a warm Gradle cache, against five to six minutes for the
# assemble, and the two run side by side — so a failing test is reported
# minutes before the compile it would otherwise have waited behind.
test:
name: Unit tests
runs-on: ubuntu-latest
timeout-minutes: 25
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
# app/build.gradle.kts compiles against JavaVersion.VERSION_17 and
# targets jvmTarget 17; this is read from the project, not chosen.
distribution: temurin
java-version: '17'
# Caching is left entirely to this action. setup-java can cache ~/.gradle
# too, and using both is explicitly discouraged because they manage the
# same directory and fight over it — so the dependency and build caches
# come from here, which is also what release.yml in this repo already
# relies on successfully.
- uses: gradle/actions/setup-gradle@v4
- name: Unit tests
run: ./gradlew :app:testDebugUnitTest --no-daemon
# The failure a test report gives you and the console does not: which
# assertion, with what values. Uploaded on failure only, because nobody
# opens it when the job is green.
- name: Keep the test report when something fails
if: failure()
uses: actions/upload-artifact@v4
with:
name: tv-unit-test-report
path: |
app/build/reports/tests/testDebugUnitTest
app/build/test-results/testDebugUnitTest
if-no-files-found: warn
retention-days: 14

build:
name: Assemble debug
if: ${{ !inputs.skip_assemble }}
runs-on: ubuntu-latest
timeout-minutes: 35
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
Expand All @@ -33,6 +116,9 @@ jobs:
java-version: '17'
- uses: gradle/actions/setup-gradle@v4
# `mergeDebugResources` is where a duplicate or badly named string
# resource fails, and it fails for every locale at once.
# resource fails, and it fails for every locale at once. The unit tests
# above do not compile the Android resources at all, so this is still the
# only thing that catches a broken Gradle file, a missing native symbol
# or a plugin that will not build.
- name: Build
run: ./gradlew :app:assembleDebug --no-daemon
Loading
Loading