Repository navigation
Conversation
The favorites queries never received the sort chip, so A–Z did nothing while Favorites was on screen: the list stayed in the order channels were favorited in, and only the provider folders and All channels sorted. The Guide's order map and the in-player zap list read the same query, so CH+/CH− stepped in a different order than the screen showed. The sort now travels from `sortMode` / the Guide's own order into the two favorites snapshots, exactly as it already did for folders and custom categories. A new instrumentation test pins both query shapes: A–Z mixes the playlists in name order, the default keeps most-recently-added first, and a channel the user moved keeps its saved place in both.
Pins the reported list: with Favorites and A–Z, "arte" must sort with the A's instead of landing below "ZDFneo", and All plus a provider folder must follow the same rule.
ahXN00
added a commit
to ahXN00/OwnTV_Core
that referenced
this pull request
Nov 18, 2026
…gs, fixed sort on Favorites/History Merges #86 (TV Guide remembers its own category), with one fix on top: SettingsBackupCoverageTest now lists last_guide_category among the keys exported per profile in the lastCategories block, as it already did for Live TV, Movies and Series. The key is in POSITIONS, so deleting a profile forgets it through forgetProfilePositions. Central Kurdish (ckb) added to tools/i18n/locales.json as a catalogue-only language (tier 2, Arabic script, right to left, no resource directory), following the Basque entry: plural rule one/other in validate_strings.py, the expected catalogue-only tags and the canonical Weblate code; test_i18n_tools.py and SupportedLocalesTest counts raised by one; SupportedLocales.kt regenerated. The next translations sync opens the promotion pull request. Closes #82 LiveKey.hasFixedOrder: Favorites and History are ordered by moved items, then newest added / last watched, whatever the section's sort says. Both apps use it to show the sort as a greyed "Newest first" there (existing string content_newest_first). The A-Z part of #85 (case-insensitive sorting) is rebuilt separately; this is the Favorites/History rule from #85 / ahXN00/OwnTV#369, rebuilt rather than merged. Phone player screen lock: player_lock_screen and player_hold_to_unlock in strings_player.xml, base plus every packaged locale. Verified: ./gradlew build (core and player-core unit tests, lint, instrumentation APK compile); the four i18n gates, check_weblate_format, test_i18n_tools.py (132 OK). Both apps built against this source and tested on a TCL TV and an OnePlus phone (release builds over the existing install, data kept).
ahXN00
added a commit
that referenced
this pull request
Nov 18, 2026
… lists, stepper taps, Sports header, fixed sort on Favorites/History Merges #370 (TV Guide: keep the category you left, and keep its list while you watch). EpgViewModel splits a picked category (saved per profile through core's LAST_GUIDE_CATEGORY) from one the app places; LiveViewModel.watchFromGuide arms the Guide's visible rows as the zap list; startup modes keep the remembered category when it holds the channel. Steppers: StageStepper takes the row's onStep, so a touch or air-mouse tap on "-" lowers and on "+" raises. The buttons take no focus (the D-pad still treats the row as one control) and consume the tap, so the row's own click, which steps up, no longer fires instead. A disabled row ignores them. Fixes the setup wizard's zoom and text size, Glass, Sports and Settings rows. Fixes #359 CH+/CH- page the programme page (ProgrammeDayPage, index-based, jumps scroll instantly) and the Live TV catch-up list (CatchupDialog: the row jumped to takes the focus requester), with the user's skip counts and long-press to the ends, as every other list. Fixes #373 Sports: the continue pill (last channel / resume) is not drawn on the Sports section, whose header runs to the top right, and is capped at 300 px elsewhere; a long name in a long language covered the tabs. Favorites and History: their order is their own (moved items, then newest first), so the sort tool reads a greyed "Newest first" there and the D-pad skips it (StageTool enabled = false; VodFixedSortTool for the Movies/Series layouts). The stored sort is untouched and applies to every other list. Favorites and History sort rule, rebuilt from ahXN00/OwnTV_Core#85 / #369. Docs: CHANGELOG, USER_GUIDE (CH+/CH- lists, Guide memory, fixed sort), product brief. Verified: assembleStandardRelease and lintStandardDebug (0 errors), i18n literal and overflow checks. On the TCL TV (release build installed over the existing app, data kept): no pill on Sports; History sort dim and skipped; CH- / CH+ page the programme page and the catch-up list; "-" and "+" by touch on Popup size; the Guide reopened on its own category after a force-stop; CH+ after a pick in a two-channel Guide category tuned the Guide's other channel, not the provider folder's next one. Not exercised: holding CH+/CH- to jump to the ends (adb cannot hold the key long enough).
ahXN00
added a commit
to ahXN00/OwnTV_Mobile
that referenced
this pull request
Nov 18, 2026
…ort on Favorites/History, GPL-3.0 licence Player screen lock: a lock button in the player's top bar. Locked, the gesture layer is replaced by a plain tap detector that only shows a "Hold to unlock" pill (3 s, re-armed by every tap); the controls stay hidden, any open sheet, Sources and Other channels close, and Back only shows the pill. A long press on the pill unlocks and brings the controls back. The state is kept for this viewing only (rememberSaveable, so it survives a rotation). Volume keys and the next-episode card still work. Strings come from core. Settings text boxes: SettingsPage and AddSourceForm no longer shrink with imePadding(); the keyboard's height is added to the list's bottom contentPadding instead. Shrinking the viewport disposed the bottom rows, and with them StageTextRow's editing state and its sheet, so TMDB's "Look up a movie title" closed as soon as the keyboard appeared. Favorites and History: the Live TV and Library sort tools read a greyed "Newest first" there and cannot be pressed (StageTool enabled flag), because core orders those lists by moved items, then newest first. The stored sort still applies to every other list. Favorites and History sort rule, rebuilt from ahXN00/OwnTV_Core#85 / ahXN00/OwnTV#369. LICENSE: the GPL-3.0 text, identical to the TV app's and core's, and a pointer from the README. Closes #78 Docs: CHANGELOG, USER_GUIDE (screen lock, fixed sort), PARITY_CHECKLIST. Verified: assembleStandardRelease and lintStandardDebug (0 errors), i18n literal and overflow checks. On the phone (release build over the existing install, data kept): History shows a dim "Newest first" that a tap does not change; the lock blocks taps, swipes and Back, and holding the pill unlocks; "Look up a movie title" stays open and takes typing with the keyboard up, in portrait and landscape.
Owner
|
@Quad-Plex see #85 in core |
ahXN00
added a commit
that referenced
this pull request
Nov 20, 2026
… migration screen - Search callers (Movies, Series, Guide channel list, Settings channel picker) pass the lowercased query core's nameKey search expects. - Subtitles: "Find in folder" row in the player's subtitle menu; StorageBrowser in folder mode chooses the folder the first time and on "Change folder"; FolderSubtitleScreen + view model list the folder best match first, with a search box and the "Load matching subtitle automatically" switch. Picking a file attaches it on either engine. - MainActivity: while core reports a database migration (DatabaseUpgrade) for more than a second, the splash is released and DatabaseMigrationScreen shows, keeping the screen awake so the TV's idle timer does not start a screensaver or count down to standby mid-migration. - Zoom, text size and recent searches are per profile in core; the root re-sizes on profile switch through the same flows. - Docs: CHANGELOG, USER_GUIDE, product brief. Case-insensitive A-Z rebuilt in core from community PR #369 by @Quad-Plex (not merged). Closes #375 Closes #368 Closes #355 Verified: assemble + lintStandardDebug; TCL G10 device test (upgrade with migration screen, Find in folder on USB, auto-load on mpv and ExoPlayer, search, per-profile recent searches).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Before you open this PR (required)
What does this PR do?
Makes the A–Z sort chip mean what it says on the Favorites list, in Live TV, its Guide view and the TV Guide.
Favorites kept the order the channels were favorited in, so A–Z changed nothing there while provider folders and All channels sorted — and because the Guide's order map and the in-player zap list read the same query, CH+/CH− stepped in a different order from the list on screen.
snapshotFavoritesManualhere and in the Guide's order map), the same way the folder and custom-category lists already did. The query change is in the core PR.artesorts with the A's instead of landing afterZDFneo; All channels and a provider folder follow the same rule. TheLOWER(name)change is in the core PR.No new user-visible strings, no schema change.
Which issue / improvement does it address?
Reported on a two-playlist setup (Zattoo + sat1) where Favorites is the list in daily use: with A–Z on, the list stayed in added order and read as provider blocks. Passing the flag exposed a second bug: SQLite's BINARY collation put lowercase-initial channels (
arte,einsfestival) after every uppercase name, so they appeared at the bottom, belowZDFneo.Draft, because it depends on the core PR ahXN00/OwnTV_Core#85, which adds the
alphaargument and the case-insensitive ordering both queries need. CI resolves the published core, so it stays red until that ships and this branch is rebased onto the automatedowntvCorebump. Locally it is built against core's source (-Powntv.corePath) and is green.How was it tested?
adb install -r(data kept) and the Favorites + A–Z Guide verified end to end:artenow sits betweenARD-alphaandAuction Hunters, andZDFneois the last row.:app:testStandardDebugUnitTest,lintStandardDebugand the three i18n checks pass against the core branch;ChannelDaoFavoritesOrderTestgains the fifth case and its source compiles (:app:compileStandardDebugAndroidTestKotlin). The rebuilt release was installed on the TV and the order verified end to end.Checklist
./gradlew assembleStandardDebugagainst the core branch); CI needs Favorites: A–Z applies to the list, the guide order and the zap list OwnTV_Core#85 released first