Repository navigation
Conversation
…ad remote shortcuts
ahXN00
added a commit
that referenced
this pull request
Nov 28, 2026
… fixes Stalker films (ahXN00/OwnTV#390) - StreamUrlResolver.resolve takes the film's portal id and lists the film's files first (get_ordered_list movie_id=<id>&season_id=0&episode_id=0), then create_links the first file's cmd, as a MAG box does. No file listed, or the lookup failing for any reason but the session, links the catalogue cmd as before. DownloadEngine passes the film's remoteId too. - Unit tests: file linked, no file, lookup timeout, no id, direct-play URL. - Device: on a Stalker portal that lists no file the fallback links the catalogue cmd and the film plays; costs ~0.7 s per film open there. DRM: inputstream.adaptive 21 playlist lines (ahXN00/OwnTV#393) - DrmConfig.fromKodiProps reads `drm` (JSON, key systems by priority, keyids / server_url / req_headers) and `drm_legacy` (system|keys-or-URL|headers) ahead of license_type/license_key, which stay the fallback. A request body, query parameters or an unwrapper we do not build drop the declaration as before. - Unit tests incl. the reporter's SIC entries; device: both ClearKey forms play on ExoPlayer from a fresh open, 0 dropped frames. Local sync (ahXN00/OwnTV#394) - AutoSyncTransfer, after a merge import, loads the episodes of up to 8 shows that synced records still wait on (UserDataResolver.showsWithPendingEpisodes, SeriesRepository.loadEpisodesForPendingRecords), so those records resolve. - SettingsRepository: the restore marker is read once per launch (restoreMarkerAtLaunch / dismissLaunchRestoreMarker); every import still sets and clears it, which made a live watcher flash the notice during each sync. Remote shortcuts (rebuilt from PR #95) - RemoteShortcutAction.TOGGLE_FAVORITE and RECORD_OR_DOWNLOAD. No default binding: users assign them in Remote shortcuts. Update check - A 5xx from GitHub is asked again up to twice (Retry-After honoured, 10 s cap); any other code fails at once. UpdateCheckRetryTest. Strings (all 28 packaged locales): favourite added/removed, recording stopped, the two shortcut labels, "No daily limit"; player_external_could_not_open now also names a film that cannot open. safe_literals classified; baseline unchanged. Already fixed: #94 (fallback to ExoPlayer after an mpv hard reset) shipped in core-1.0.72 with MpvEngineTest.filmMpvCannotOpenGoesToExoPlayer. Verified: :core and :player-core unit tests, i18n gates + Weblate format, TV and Mobile release builds against this core, TV device test. Closes #94
Owner
|
rebuild and added on 59307b7 |
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.
Description
Adds two new configurable remote shortcut actions to
RemoteShortcutAction:TOGGLE_FAVORITE: Toggles the favorite status of the active or currently focused content (Live TV channel, Movie, Series, or Home trending item).INSTANT_RECORD_DOWNLOAD: Triggers instant live recording on channels (with provider connection budget verification) or starts download on VOD titles (Movies & Series).Modified Files
core/src/main/java/tv/own/owntv/core/settings/RemoteShortcuts.kt: AddedTOGGLE_FAVORITEandINSTANT_RECORD_DOWNLOADenum entries.core/src/main/res/values/strings_settings.xml: Added translatable string resources for action labels and notification toast templates.Related PR