Repository navigation
Releases
v0.36.0
Changed: HTTPS certificates are checked again
-
Change – Connections to your server, and the posters and images it serves, now use Android's normal certificate and hostname checks. Before, SeerrTV accepted any certificate, so anyone on the network path could pose as the server and read your sign-in. The in-app updater always uses the strict checks.
-
Credits to @oudehinken53-ship-it (#23).
Added: Trust a self-signed certificate
- Change – If your server's certificate isn't trusted by Android, for example a home server with a self-signed certificate, SeerrTV asks before connecting, like a browser does. The prompt shows who the certificate was issued to, when it expires and its SHA-256 fingerprint. Choose Trust and continue to connect. Nothing needs to be installed on the TV. The certificate is trusted only for that server, and only that exact certificate: if it changes, SeerrTV asks again. The prompt appears in setup, in browser setup and when the app starts.
Added: Trusted certificates in Settings
- Change – Settings has a new Trusted certificates entry that lists every certificate you chose to trust, with its server, who it was issued to, when it was added, when it was last used and when it expires. Expired certificates are marked. Press OK on one to remove it, and SeerrTV asks again the next time that server uses it. Connections already open can keep using a removed certificate for a few minutes.
Fixed: "Authentication Failed" when the server was down
-
Symptom – When the server couldn't be reached at all, the start screen said "Authentication Failed: Your credentials are not valid", with the raw error in red under it. Each Try Again added another copy of the red line. A server set up by IP showed with a stray slash, such as "/10.0.2.2:8443".
-
Root cause – The start screen used the credentials dialog for every connection failure, and it added the error as a new line each time without removing the old one. The slash comes from how Java prints an address with no hostname.
-
Fix – A connection failure now shows Connection Failed and says the server couldn't be reached, with the technical error in small text in the dialog instead of red text under it. Try Again clears the old error. The stray slash is dropped when there is only an IP; with a hostname the address still shows as host/IP.
-
Verified – On a Google TV emulator with the server stopped: the dialog, then Try Again, shows one error and an IP address with no slash. With the server back, Try Again continues to the certificate prompt and then home.
v0.35.3
Fixed: Movies and Series lost their place after opening a title further down
-
Symptom – On the Movies or Series grid, opening a title below the first page of results and pressing Back did not return to it. The grid jumped back to the end of the first page with no card selected. Titles on the first page were restored correctly. Reported in #20.
-
Root cause – Coming back from the details screen re-ran the effect that loads the grid, so it loaded page 1 again and replaced every page already loaded. The saved position was then past the end of the list, so the restore reset the selection to the first card, which was off screen.
-
Fix – On the way back from details, the grid keeps the list it already has, with all its pages, when it is still that screen's list. It only reloads when the list is gone, for example after a keyword or genre page reused it.
-
Verified – On a Google TV emulator: Movies row 13 and Series row 12, open a title, Back, the same card is selected in the same place. Scrolling on from there still loads the next pages, a card on the first page is still restored, and opening Movies or Series fresh from the top bar starts at the top.
-
Credits to @lorenzooah for the report, the root cause and the fix.
v0.35.2
Added: Russian
-
Change – SeerrTV is now available in Russian. It covers every string in the app, and Russian can be picked as the app language and as the discovery language in Settings. "Russian" is also added to the language list in the eleven existing languages. Russian as the discovery language uses Russia's release dates.
Fixed: Long words broke or ran together in buttons and menus
-
Symptom – With a longer language such as Russian: the Request button on the details screen and in the request popup split the word over two lines ("Запроси / ть"), and in Settings and the request popup a menu entry ran straight into its value with no space ("ДиагностикаПроблем не…").
-
Root cause – The buttons let their label wrap, and a single word too long for the button is broken mid-word. The menu rows put the value right after the title with no gap, and in Settings the title was not shortened when space ran out.
-
Fix – A button label that is one word stays on one line and shrinks just enough to fit. Labels with more than one word still wrap. Menu rows keep a gap between title and value. In Settings a short value such as "US" always shows in full, a long value is cut off with "…", and the title shortens only if it must.
-
Verified – On a Google TV emulator in Russian: Settings, the details screen and the request popup. In English the same screens look as in 0.35.1.
Fixed: "Free" on root folders was in English
-
Symptom – In the request popup's folder list, the free space under each root folder read "… free" in every language except Italian.
-
Fix – Translated in German, Spanish, Estonian, French, Hungarian, Japanese, Dutch, Portuguese and Chinese. Every language now has every string.
v0.35.1
Added: Italian
-
Change – SeerrTV is now available in Italian. It covers every string in the app, and Italian can be picked as the app language and as the discovery language in Settings. "Italian" is also added to the language list in the ten existing languages. Italian as the discovery language uses Italy's release dates.
-
Credits to @gstorelli (#17).
v0.35.0
Added: Download progress on posters and a live Requests row
-
Request – #18 asked for a way to follow downloads from the TV, without opening Seerr, Radarr or Sonarr on another device. Download status was already shown on the media details screen and in the request popup, but only there, so it was easy to miss. #19 proposed a separate Downloads screen with its own entry in the top bar. That PR is not merged: this release takes a smaller approach that shows the same information where requests already are. Thanks to @eaqueiroz for the issue and the PR. Its handling of season packs and progress values informed this one.
-
Change –
- A poster with an active download shows a progress pill (bar and percentage) along its bottom edge, in any row that carries the data: Recent Requests, discover rows and search. Purple is a regular download, blue a 4K-only one. The pill is solid so it reads over any poster. It is hidden on the poster in the request popup and on the media details screen, where the full download bar is already shown.
- A season pack is listed by Seerr once per episode with one shared
downloadId. Its bytes count once.DownloadStatusnow also reads Seerr'sdownloadIdandepisodefields. - When the Recent Requests row loads, downloading titles are moved to the front. Everything else keeps the server's order.
- While home is on screen, the Recent Requests row keeps itself current:
- It re-reads
request?filter=processingevery 15 s while something is downloading and every 30 s otherwise. Download progress is updated in the cards in place, without reloading the row, so focus stays on the same card. - It also reads the newest request and the total count (
request?filter=all&take=1&sort=added). A request made or deleted anywhere else, such as the web app or another device, reloads the row on the next check, with downloading titles first. This happens even while the row is focused, so it always shows Seerr's current requests. - A download that the row doesn't hold yet also reloads it.
- A title that leaves the processing list has its status fetched once, so the card switches to Available (or clears its pill) on its own.
- It re-reads
- One cadence (
DownloadPolling) is shared by the Recent Requests row, the media details screen and the request popup. Seerr refreshes download data once a minute (its download-sync job), so polling faster would only repeat the same numbers. - It uses Seerr's existing request API only. Nothing connects to Radarr, Sonarr or a download client directly.
Fixed: Download progress in the request popup never moved
-
Symptom – With the request popup open on a downloading title, the percentage and the poster stayed at whatever they showed when it opened.
-
Root cause – The popup drew both from the details it was handed when it opened. Its
MediaDownloadStatuswas given no view model, so it polled through a separate Hilt instance into a cache that nothing on screen read. -
Fix – The popup follows the shared poller's details for its title (
SeerrViewModel.liveMediaDetails) and passes the screen's own view model. The poller's first cycle only reuses details fetched in the last 5 s, so a popup opened from details preloaded a minute earlier no longer starts behind the card it was opened from.
Fixed: The details screen checked downloads every 2 minutes
-
Symptom – With a download running, its progress on the details screen or in the request popup could lag by up to 2 minutes.
-
Root cause – The shared poller chose its interval from
_currentMediaDetails, which is whichever title home or details showed last, not the title being polled. For the request popup that was a different title, so it fell back to the 120 s interval for titles with nothing in progress. It also only counted regular downloads, so a 4K-only download got the slow interval. -
Fix – The interval is chosen from the polled title's own cached details, and a download in either tier counts.
Fixed: Home rows did not redraw a card whose content changed
-
Symptom – A card whose data changed while it stayed in place kept its old look until the app was restarted. For example, its status icon did not change, and download progress newly added for it did not appear.
-
Root cause –
EnhancedMediaCarouselkept a snapshot of the row and rebuilt it only when the item count or the cards' IDs and positions changed. New data for the same cards was ignored. -
Fix – The snapshot is also keyed on the items themselves. Lists compare element by element, so a row whose content is unchanged still reuses its snapshot.
v0.34.2
Fixed: The first card in a home row ended up half off screen
-
Symptom – On the home screen, scrolling right far enough that a row moved, then going back left to the first item, could leave the row shifted part-way: the first card was selected but half of it sat off the left edge of the screen. It stayed like that until the row was scrolled again. Fast D-pad presses made it more likely.
-
Root cause – 0.34.0 made carousel scrolls cancellable, so a newer key press stops the animation started for the previous one instead of the two fighting. A cancelled animation can stop between two cards. Both "already in place?" checks in
EnhancedMediaCarouselcompared onlyfirstVisibleItemIndexwith the target. Stopped part-way into card 0, the row reported index 0, the target for the first card was 0, so the scroll that would have settled it was skipped. -
Fix – The checks also require
firstVisibleItemScrollOffset == 0. A row left on the right index but shifted is scrolled back into line on the next press. -
Verified – On a Google TV emulator: in Recently Added, eight presses right then eight left, and two rounds of ten right/eleven left sent as fast as
adbcan, each ended with the first card fully on screen. The log shows the cancelled scrolls (Scrolling from 7 to 4 … 7 to 0) settling at 0.
Fixed: A new person page kept the previous person's position
-
Symptom – Scrolling through a person's Known For or Crew row, going back, and opening a different person opened the new page with the same item selected and the row scrolled as far as on the previous person, instead of starting at the first item.
-
Root cause –
PersonViewModelis shared by every person page, andloadPersonDataalready resets the positions when the person changes. ButPersonScreencopied the ViewModel's focus and row positions into its own state as it composed, before the reset ran. Its sync effect then saw its copy differ from the freshly reset ViewModel and wrote the previous person's positions back. -
Fix –
PersonScreenonly restores the ViewModel's saved state when it belongs to the same person (returning from one of their titles). For a different person it starts at the first item of each row with the overview focused. -
Verified – On a Google TV emulator: Anne Hathaway's Known For scrolled 12 items, back, Dakota Johnson opens on her first item. Scrolling Dakota Johnson to item 10, opening that title and pressing Back still returns to item 10.
Changed: Dependency updates
- Kotlin 2.4.20 → 2.4.21
- kotlinx.serialization 1.11.0 → 1.12.0
- AndroidX Core KTX 1.19.0 → 1.19.1
- Error Prone annotations 2.50.0 → 2.51.0
- Gradle 9.7.1 → 9.8.2
- Gradle Versions Plugin 0.64.0 → 0.66.0
Navigation Compose stays on 2.9.8: 2.10.2 still requires minSdk 24 (the manifest merge fails against it), and this app supports API 23.
v0.34.1
Fixed: Play on Plex opened the Plex Home screen instead of the title
-
Symptom – On a Plex-backed server, pressing Play on Plex on an available movie or series launched the Plex app, but Plex stayed on its For You / Home screen. No details page opened and nothing played. Nothing was shown in SeerrTV either, because the launch itself succeeded.
-
Root cause – The link was built as
plex://server://<serverId>/com.plexapp.plugins.library/library/metadata/<ratingKey>. Recent Plex for Android TV builds (checked on 2026.20.0) no longer act on that form, and they ignore the Overseerr-styleplex://preplay/?metadataKey=…&server=…form too. The intent still reaches Plex'sMainActivity, which is whystartActivityreported success. SeerrTV's link had not changed since 0.26.3; it stopped working when Plex rolled out its new Android TV app (reported on the Plex forum from 2026.19.1). -
Fix – New
PlexDeepLinkbuildsplex://libraries/<serverId>/unmatched/%2Flibrary%2Fmetadata%2F<ratingKey>for movies andplex://libraries/<serverId>/unmatched/tv/%2Flibrary%2Fmetadata%2F<ratingKey>for series. Both open the item's details page. The server id and rating key are still read from the same Seerr fields, so no extra request is needed. It stays a pure function (noandroid.net.Uri) so it can be unit tested on the JVM, andPlexDeepLinkTestpins the format for both media types. -
Limitation – Plex has no supported way to start playback from an outside link, so the button lands on the title's page and the user presses Watch.
android.intent.extra.START_PLAYBACKis still sent, but Plex does not act on it. -
Verified – On a Google TV Streamer with Plex 2026.20.0, against a Plex-backed Seerr: Play on PLEX on an available movie opened its details page both with Plex already open and after force-stopping Plex. On an available series, Plex showed its profile picker first and then opened the series page. On a Google TV emulator without Plex, a stand-in app registered as
com.plexapp.androidreceived the new links with the same server id and rating key as before, and with no Plex installed the "Plex app not found" message still appears. The 0.34.0 Play Store build opened Plex on its Home screen. -
Credits to @OliverBokan (#16), closing #15.
v0.34.0
Added: Keyword filters show every pick, and keywords can be excluded
-
Request – A user asked whether keywords could be stacked when filtering. They already could: each keyword picked in the Movies or Series filter drawer was added to the list, and the request sent them all (
keywords=12377,322268), so results had to match every one. But the drawer only marked a keyword as selected while it was in the current search results. After searching for a second keyword, the first pick disappeared from view even though it was still applied, and the only way to remove it was to search for it again. -
Change –
- Selected keywords now appear as chips above the search field and stay there across searches, under an "N selected" label. Up from the search bar moves onto the chips, Left and Right move between them, Enter removes one, and Down returns to the search bar.
- New Exclude Keywords filter, below Keywords, for both Movies and Series. It sends
excludeKeywords=, the same parameter as the Exclude Keywords filter in Seerr's web app. Its chips and check marks are red. A keyword can't be both required and excluded: picking it in one list removes it from the other. - Multi-select filters in the drawer's category list show how many values are picked instead of a dot. This covers Keywords, Exclude Keywords, Genres, Content Rating, Networks and Streaming Services.
MediaFiltersstill stores keyword IDs only, soMediaDiscoveryViewModelkeeps a name for each keyword as it is picked. If filters come back with IDs it has no name for, it looks them up through Seerr'skeyword/{id}endpoint.- New strings for Exclude Keywords, the "N selected" label and the search placeholder, in all ten app languages. The placeholder was hard-coded English before.
-
Verified – On a Google TV emulator against a Seerr server, for Movies and Series: picking keywords across several searches keeps every chip. Removing a chip updates the results and clears its check mark. Reopening the Keywords screen still shows the chips, and Clear All Filters clears both lists. The requests carried both parameters (
keywords=193171,6282&excludeKeywords=297442). Thekeyword/{id}name lookup only runs when filters are restored without names and was not exercised.
Fixed: Pressing Up from filter search results opened the keyboard
-
Symptom – In the Keywords, Studios and Original Language filters, pressing Up from the first result moved focus into the search field, and the on-screen keyboard opened. Getting anywhere else meant pressing Back to close it first.
-
Root cause – The results list moved focus straight to the text field when going up, and on Android TV a focused text field opens the keyboard. Leaving the field with the D-pad also cleared focus without moving it anywhere, so focus could end up off the drawer.
-
Fix – The search bar has its own focus target around the text field. Up from the results, and Down from the chips or the current selection, land on the bar without opening the keyboard. Only Enter on the bar starts typing. Leaving the text field with the D-pad returns focus to the bar.
-
Fixed alongside – In Studios and Original Language, picking a value adds a "Current Selection" row above the search bar and shifts every row below it down by one. Focus stayed on the list but the highlight moved to the search bar, and Up from the results did nothing. The index now shifts with the row. Clearing the selection moves focus to the search bar instead of the row that just went away.
-
Verified – On a Google TV emulator: in Keywords, Up from the results lands on the search bar with no keyboard, Up again reaches the chips, Down goes back through the bar to the results, and Enter on the bar opens the keyboard. In Studios: after picking Pixar the highlight stays on Pixar, Up reaches the bar and then Current Selection, and clearing it leaves focus on the bar. Original Language uses the same component but was not opened.
Fixed: Release builds ran all of the app's debug-only logging
-
Symptom – Release builds logged as much as debug builds did. In a debug build, 31 D-pad presses on the home screen produce about 1,470 log lines (142 KB) from the app, roughly 47 per press. Release builds did the same work on every key press: each message's string was built on the main thread, and one Back-press log captured a full stack trace. On a low-end TV box, that's main-thread time taken from scrolling.
-
Root cause – Two separate mistakes, one in each direction:
defaultConfigintv/build.gradle.ktsdeclared its ownbuildConfigField("Boolean", "DEBUG", "true"), which replaced theDEBUGfield AGP generates. Every build type, release included, gotDEBUG = true, so all 396if (BuildConfig.DEBUG)checks in the app passed in production.SeerrViewModel.ktimportedBuildConfigfrom the YouTube player library instead of the app's own, since a March 2026 change. The library'sDEBUGisfalse, so that file's debug logging was off in every build, debug included.
-
Fix –
- The
DEBUGoverride is removed. Release now gets AGP'sDEBUG = falseas a compile-time constant, so the guarded blocks are compiled out of release builds entirely. Debug builds are unchanged. SeerrViewModelimports the app'sBuildConfig, so its debug logs show in debug builds again.- Two blocks behind that wrong import also called
updateCategoryState(...)before loading more of a home row. Those calls haven't run in any build since March. They are removed rather than revived, which keeps the behaviour every release since then has shipped with. They only re-emitted the row's existing counts, which made every home row recompose for nothing.
- The
-
Verified –
- Both build types compile.
- The generated
BuildConfighasDEBUG = falsein release andtruein debug. - In the release APK's dex, strings from guarded logs (
At end of media,Scroll incomplete,navigateBack() called,Route:) are gone. Unguarded ones likeLoading category:remain. - Every
BuildConfig.DEBUGblock in the app was checked for code other than logging. Apart from the twoupdateCategoryStatecalls, they only build log messages, plus one emptyLaunchedEffect. - The before figure of about 1,470 lines was measured on a debug build. A release build was not installed to measure after the fix, because that would need a signed-in release install on the emulator.
Improved: The Recent Requests row fills in about 40% sooner
-
Symptom – On the home screen, Recent Requests was one of the last rows to show posters. On a cold start, the row had data about 5.5 s after home started loading, while the discover rows were ready within about 1 s.
-
Root cause – Seerr's
/requestlist carries only TMDB IDs, so the row fetchesmovie/{id}ortv/{id}for every card to get its title and artwork.fetchRecentRequestswrapped each card's fetch in its owncoroutineScope { async { … } }.coroutineScopewaits for its children before returning, so the 20 fetches ran one after another, despite theasync. -
Fix – One
coroutineScopearound the whole list, anasyncper card, andawaitAll(), which keeps the request order. ASemaphorecaps it at 4 fetches at a time (CARD_DETAILS_CONCURRENCY). That stays under OkHttp's default of 5 requests per host, so the other home rows loading at the same time still get a connection. -
Verified – With
tools/perf(a request-logging debug build) on a Google TV emulator against a Seerr server, alternating runs of the old and new builds, 4 each. Cold start: Recent Requests had data 3.29 s after home loading started, down from 5.55 s (−41%). Warm start: 3.25 s, down from 5.04 s (−36%). Same 73 API calls. The other rows were unaffected. Row order and the request action modal are unchanged. The test server has a single page of requests, so loading more was not exercised. The whole home screen still finishes at about the same time, because Recently Added fetches its cards' details one at a time as well. That row is next on the list.
Improved: The splash screen is shorter and opens home with its rows already filled
-
Symptom – Every launch spent about 6 s on the splash screen, mostly fixed pauses. Then home opened on placeholder cards that took several more seconds to fill.
-
Root cause –
- Each splash step paused after it was shown: 300 ms for an info step and 800 ms for a success step, on top of the work behind it. That was about 4.8 s per launch, plus a 300 ms and a 100 ms pause.
- Home only started loading its rows after the splash had closed.
-
Fix –
- Step pacing: each step stays on screen for a minimum time before the next one appears (300 ms for info, 600 ms for success), and the work behind it counts towards that time. Steps stay readable and in order, but a slow step adds no extra wait. Warnings still hold the splash for 2 s and errors for 5 s.
- Home rows during the splash: when the splash goes straight to home (no profile picker), the rows start loading as soon as Sonarr and Radarr have loaded, while the splash is still showing its results.
loadAllCategories()no longer cancels a load that is still running unless a refresh was asked for. After "Ready!", the splash waits until the first home rows have data, for at most 3 s, so home opens filled. - No duplicate step: a step identical to the one just shown is not repeated. The validation effect can restart once during startup.
- Removed pauses: the two other fixed pauses are gone.
- Sonarr and Radarr load concurrently, each with its servers in parallel, and the API client allows 8 requests per host instead of OkHttp's default 5.
-
Verified – On a Google TV emulator, cold start, from launch:
- The steps appeared one at a time, in order: Configuration, Connection, Authenticating, Loading Sonarr, Sonarr (green), Loading Radarr, Radarr (green...
v0.32.0
Fixed: Search results could not be reached or opened with the D-pad
-
Symptom – After typing a search and confirming it, D-pad Down did nothing and focus stayed on the search bar. If the first result did get highlighted, Enter reopened the keyboard instead of opening the title. The top bar was also missing from the search screen. Discover and genre rows were unaffected. Reported on a BenQ Android TV projector against 0.31.0, but present on every device since 0.30.0.
-
Root cause – 0.30.0 added external deep links and changed the search destination's route from
searchtosearch?query={query}. Every place that derives a screen name from the route took everything before the first/, and a query-only route has no/, so the search screen came out assearch?query={query}.MediaDiscoveryScreenregisters its D-pad handlers withDpadControllerundersearch, so no registered screen matched and every key on the search screen went unhandled. The same name keptMainActivityfrom showing the top bar and never matched the search checks inTopBarController. Mixed routes such asmediaDiscovery/...?image=still split cleanly, which is why the other grids kept working.The highlight people did see came from the search field's own key handler, which draws the first result as selected without going through the controller. Enter does go through the controller, and with no screen registered, nothing handled it.
Reproduced on a Google TV emulator: every key on the search screen logged
MainActivity key event result: false. -
Fix –
- New
baseRoute()returns a route's first path segment with the query string removed.NavigationCoordinator,MainActivityandTopBarControllerall use it, sosearch?query={query}resolves tosearchagain. Covered byBaseRouteTest. - Pressing Down in the search field now reaches the results in one press. Moving to the results used to set only the screen's own highlight, leaving the app-wide focus state on Search. Clearing the text field's focus then fired
onFocusLost, which put the selection back on the search bar. Moving to the results now goes through the same path as grid navigation, and losing field focus no longer pulls the selection back once the grid is selected. Confirming a search (Done on the keyboard) also moves to the results before clearing focus. The Movies and Series browse screens use the same search bar, so they got the same two changes; without them, confirming a search there would have left focus on the search bar.
- New
-
Verified on a Google TV emulator against a Seerr server: confirming a search moves to the first result. Down and Right move through the grid, Enter opens the title, and Back followed by Up returns to the search bar. From the search field with the keyboard closed, a single Down reaches the first result. The same flow was checked on the Movies and Series search bars: confirming lands on the first result, and Enter and Back work from there.
Fixed: A search deep link opened with nothing highlighted
-
Symptom – Opening
seerrtv://search?query=…while SeerrTV wasn't running showed the results with no highlight on the search bar or the grid, until the first D-pad press. -
Root cause – Two things. The search screen only set its starting focus when opened without a query. That check predates deep links, when search never received one. Fixing that alone wasn't enough: on a cold start the deep link passes through the main screen on its way to search, the main screen stays drawn during the exit transition, and its rows finished loading in that window. Its initial-focus effect then moved focus back to the first row, about 100ms after search had set it.
-
Fix – The search screen starts on the search bar whether or not it was opened with a query, unless it's returning from a title. The main screen's initial-focus effect now runs only while main is the current destination.
Fixed: Opening search showed the previous search's results
-
Symptom – After a search deep link, opening search from the top bar showed an empty search box above the deep link's results.
-
Root cause – Every results screen shares one discovery ViewModel. Opening search with an empty box didn't clear it, so whatever the last search loaded stayed on screen.
-
Fix – Search now loads for the query in its box: an empty box clears the results, and any other query that isn't already loaded is fetched. The box keeps what the user typed when they come back from a title. A new query from a warm deep link replaces the box's text because it differs from the last one applied, so a query the user edited isn't overwritten when they return from a title.
-
Verified on a Google TV emulator, together with the deep-link behaviour from 0.30.0 and 0.31.0: search and details links, cold and warm, a second link with a new query, Back returning to the calling app with SeerrTV kept running, and reopening SeerrTV from the launcher after a deep link. A normal launch still highlights the first row.
Fixed: Returning from a title replaced a Series search with the default list
-
Symptom – Search in Movies and open a title. Then open Series, search, open a title and press Back. Series showed its default popular list under the search text instead of the search results. It also happened with Series first and Movies second. Present in 0.31.0.
-
Root cause – Movies and Series share one ViewModel with a single set of filters. Opening Series after Movies first switched the filters to TV, but in the same frame the "load the browse grid" effect read its filters from collected state that hadn't caught up yet, so it still held Movies' filters. It browsed with them, which put Movie filters back into the ViewModel on the Series screen. Nothing looked wrong at that point. The next time Series came back from a title, it found filters for the wrong media type, re-initialized, and ran the default browse, which overwrote the search results.
-
Fix – The effect reads the filters and sort from the ViewModel itself and only uses filters whose media type matches the screen, falling back to that screen's defaults.
-
Verified on a Google TV emulator in both orders, Movies then Series and Series then Movies. The search results and selection come back after a title, and clearing the search box still restores the default list.
Changed: Dependency updates
- Android Gradle Plugin 9.4.0 → 9.4.1
- Coil 3.6.2 → 3.6.3
- Ktor 3.5.2 → 3.6.0
- Gradle Versions Plugin 0.62.0 → 0.64.0
The Compose BOM stays on 2026.09.00, the latest stable. Navigation Compose stays on 2.9.8: 2.10.1 still requires minSdk 24 (checked in its AAR manifest), and this app supports API 23. See 0.31.0 for the full reasoning.
v0.31.0
0.31.0
Added: A baseline profile covering SeerrTV's own startup
-
What changed – Release builds now carry a baseline profile recorded from SeerrTV's own cold start, so the classes and methods the app touches while launching are compiled ahead of time instead of being interpreted and JIT-compiled on the device.
-
Why – Play vitals recorded an ANR on 0.29.0 whose main thread was runnable rather than blocked, sitting in
WindowInsetsRulers.<clinit>— reached fromAndroidComposeView.<init>during the firstsetContent— with a concurrent GC running alongside it and the profile saver still active. That is the signature of a cold start grinding through class loading and verification on a device where nothing had been compiled ahead of time yet. -
What was already there – The APK has always contained
assets/dexopt/baseline.prof, merged from the profiles that AndroidX and Compose ship inside their own AARs. What was missing was a profile covering SeerrTV's own code —MainActivity, the navigation graph, the Hilt-generated graph, the app's composables. That is what this adds. -
Where it helps, and where it does not – On API 31 and above the platform uses the embedded profile at install time, so the first launch benefits. On API 28–30 the profile is written during the first run and compiled in the background afterwards, so there it improves the second and later launches rather than the first. Below API 28 it does nothing. The other two ANRs seen on 0.29.0 are untouched by this and were never app-side: one was the main thread waiting on
system_serverfor a permission check duringDecorViewconstruction, the other the RenderThread wedged inside a vendor Mali driver while the window was being stopped. -
Generating it –
./gradlew :tv:generateBaselineProfile, against a booted TV emulator or a connected Android TV device. Gradle Managed Devices cannot be used here: they reject TV system images outright, and a phone image is not a substitute because SeerrTV requiresandroid.software.leanbackand will not install on one. With more than one device attached, pin the right one withANDROID_SERIALor the test will also run on any connected phone. -
Not automatic – Generation is a deliberate manual step, so cutting a release never requires a booted emulator. The result is committed under
tv/src/main/generated/baselineProfiles/; regenerate it when the startup path changes meaningfully. -
The generator drives the D-pad rather than looking up Compose nodes, because which screen startup lands on depends on what is stored on the device — an unconfigured device shows the configuration flow, a configured one the browse rows, a multi-profile one the profile picker. D-pad input is meaningful on all of them, so focus traversal and row rendering are recorded either way and the generator cannot fail hunting for a node that is not on screen. Only DOWN and RIGHT are sent: pressing centre would open a detail screen or a request modal depending on where focus happened to be, which would make the recorded profile depend on the device's library contents.
-
Size cost – The release APK grows from 13.83 MB to 14.41 MB, about 560 KB, and the AAB by roughly the same. Only 12 KB of that is the bigger profile (
assets/dexopt/baseline.prof, 15.7 KB → 28.0 KB). The rest is the startup profile doing its job: AGP redistributes classes across the dex files so the startup path clusters together —classes.dexloses 2.2 MB whileclasses3/classes4gain it back — and that ordering compresses less well than the original. SettingincludeInStartupProfile = falsein the generator would recover most of the size at the cost of the dex-layout benefit. -
Build impact –
assembleDirectReleaseandbundlePlayAppReleaseare unchanged as commands, produce the same set of entries and an identical merged manifest, and are still signed with the release key;profileinstallerwas already present transitively through Compose. The plugin does add two build types,nonMinifiedReleaseandbenchmarkRelease, which exist only to be installed on a throwaway device while generating. They are declared explicitly intv/build.gradle.ktsso they can be signed with the debug key — left to itself the plugin creates them withinitWith(release), which would make generating a profile impossible without the release keystore.
Added: API contract tests against committed fixtures
-
What changed – A new
ApiContractTestdecodes committed JSON fixtures for the response types the app actually parses:Discover(the busiest decode path, nine call sites),SearchResponse,RequestResponse, Radarr servers, and public settings. It lives in a newsrc/sharedTestsource set compiled into bothsrc/testandsrc/androidTest, so the same assertions can run on the JVM and on a device. -
Why these types – They cover the paths hardest to reach by hand. Driving the request UI writes to a real Seerr instance, so the request list had never been exercised; a fixture covers the decode half with no side effects. Search is the only structurally unusual case —
SearchResultis a sealed interface — and the test pins that each entry lands as the right concrete type. -
Tests now use the app's real codec –
seerrApiJsonwas extracted from a private property ofSeerrApiServiceto aninternaltop-level value. The existing serialization tests each re-declared their ownJson { … }with a comment saying it mirrored the service's; a mirrored copy keeps passing the moment a flag likecoerceInputValueschanges on one side only.PublicSettingsResponsebecameinternalfor the same reason —hideAvailableandhideBlocklistedare applied client-side, so a decode regression there would surface titles that should be hidden. -
Fixtures –
settings_public.jsonandstatus.jsonwere captured from a live instance and scrubbed of hostnames, URLs and identifiers (applicationUrl,jellyfinExternalHost,plexClientIdentifier,vapidPublic,applicationTitle), then checked programmatically for leftovers. Everything else is synthetic and usesexample.invalid. -
Incidental fix –
androidTestImplementation(libs.androidx.ui.test.junit4)had never resolved: it takes its version from the Compose BOM, and the BOM was only applied to theimplementationconfiguration. Nothing noticed because the module had noandroidTestsource set to build. The BOM is now applied there too. -
What these tests do not cover – They run on unminified classes, so they cannot tell you whether R8 stripped a serializer. Making them run inside the minified APK was attempted and abandoned; see the note on
testBuildTypeintv/build.gradle.ktsfor what fails and why.
Added: Post-R8 verification of the release output
-
What changed – A new
./gradlew :tv:verifyR8Outputasserts, against R8's own mapping file and ther8.jsonmetadata Play reads, that the release build kept what the app needs at runtime. It runs automatically afterbundlePlayRelease— the point at which a regression would actually ship — and is deliberately not wired intocheck, since it needs a full R8 pass. -
Why not tests – Unit tests run on unminified classes and cannot see R8 at all, and running them inside the minified APK is blocked (see the note at
testBuildType). Every property below fails silently: nothing breaks at build time, and the symptom appears in the field as a crash, a spinner, or an unreadable stack trace. -
What it checks
- Every generated
kotlinx.serializationserializer is present. The expected set is derived from the source on each run rather than hard-coded, so a new@Serializablemodel is covered the moment it is written. Classes using@Serializable(with = …), sealed hierarchies and@Serializable objects are excluded, because none of them produce a$$serializer— treatingSortOption's ten objects as missing was the first false positive this turned up. - The YouTube player's eleven JavaScript bridge methods still carry their original names, since
ayp_youtube_player.htmlcalls them by name. SourceFileandLineNumberTableare still kept, so vitals traces keep the line numbers that made the 0.29.0 ANRs diagnosable.- The three DEX optimisation percentages stay clear of the 25% floor Play flags, so a future broad keep rule cannot quietly undo what enabling R8 achieved.
- Every generated
-
Proven to fail – A verification that cannot fail is worse than none, so each check was exercised against a deliberately broken build. Removing
-keepattributes SourceFilemakes it fail with the specific reason rather than a generic error. -
A useful negative result – Removing the kotlinx.serialization keep rules entirely does not strip any serializer: all 95 survive regardless. The app decodes through
decodeFromString<ConcreteType>()with reified type parameters, which the compiler resolves to directCompanion.serializer()calls, so R8 sees the references statically. Those rules are insurance against a future reflective lookup rather than load-bearing today.
Changed: R8 is now enabled for release builds
-
What changed –
isMinifyEnabledandisShrinkResourcesare now both true for the release build type, so release builds are shrunk, optimised and obfuscated, and unused resources are dropped. Both had been off for the life of the project. -
Why now – Play Console flagged SeerrTV under DEX code optimization, reporting obfuscation at 1% against a 25% threshold, with a February 2027 deadline and a warning that scores below it "may impact your visibility and publishing capabilities". Play only alerts on apps above 10 MB of uncompressed DEX; SeerrTV was shipping 34.4 MB.
-
The result, from
BUNDLE-METADATA/com.android.tools/r8.json, which is the file Play actually reads: obfuscation 1% → 97.1%, optimisation **96.2...