Compare commits

..
85 Commits
Author SHA1 Message Date
github-actions[bot] ddc3a4d77c chore: bump version to 2.12.1 2026-08-04 14:59:38 +00:00
edde746 58d5d3c4ef fix(plex): read external ids from legacy agent and HAMA AniDB guids
Plex only builds the `Guid` array for the Plex Movie / Plex TV Series
agents. A library still on a legacy agent answers with the scalar `guid`
alone, so `fetchExternalIds` returned nothing for it and every consumer
went quiet: trackers logged "no external IDs" and skipped the write,
manual ratings showed "Not available", the detail screen dropped its
watchlist button, and Continue Watching stopped collapsing duplicate
copies. The reverse lookup already read that scalar; only the forward
path ignored it.

Read both shapes from the one request the method already makes, with the
array winning per field and the scalar filling the rest.

HAMA identifies anime by AniDB id and nothing else, which no id set could
carry. AniDB is the Fribb mapping's own primary key, so it now travels on
`ExternalIds` and indexes those rows directly — 7177 of them expose no
tvdb/tmdb/imdb at all and were unreachable by any other path. Only plain
`anidb-` maps: `anidb2`..`anidb9` group several AniDB entries under one
TVDB-numbered show, so the guid names the root entry only.

Two guards keep the new id where it means something. It is trusted for
season 1, because that mode puts the anime there and its specials in
season 0, while a higher season means the library is numbered by TVDB
instead. And it resolves nothing for Trakt and Simkl, which never map
anime and cannot address an AniDB id, so they keep reporting no ids
rather than failing silently further down. `hasCatalogIds` marks the
callers that can only speak IMDb/TMDB/TVDB.

close #1788
2026-08-04 16:56:54 +02:00
edde746 4872adcde3 feat(player): keep the session's explicit track choices across episodes
Episode advance carried live player state, so the viewer's choice only
survived while every episode could serve it: one episode without the
picked audio or subtitle fell back, and the fallback became the carry for
the rest of the session. The screen now keeps the last explicit audio,
subtitle, and secondary-subtitle choices for its lifetime; automatic
outcomes never overwrite them, so the choice retries on every following
episode and reattaches as soon as a catalog can serve it again.

Audio catches up with the subtitle carry from #1785. The old matcher
required raw language equality (a 'sv' pick never found a 'swe' row) and
otherwise took the first same-language track, flipping a commentary or
alternate-mix pick back to the main mix on every episode. Audio now uses
the same evidence bands as subtitles: bridged language parity is
authoritative, a unique title match vouches for untagged tracks, codec
and channel-count parity only break ties, and an ambiguous catalog
declines to the server's own choice instead of guessing. The synthesized
source descriptor also prefers the row's own title over the display title
that collapses to the bare language.

Episode advance previously sent no audio hint to negotiation at all, so a
transcode baked in the server's default audio no matter what was playing.
Both backends now resolve the carried semantics against the new episode's
streams: Jellyfin sends the resolved AudioStreamIndex, Plex feeds the
transcode decision, an explicit per-part stream id always wins, and a
failed match falls back to the server's pick.

close #1785
2026-08-04 16:10:02 +02:00
edde746 61ae314c94 fix(player): tell same-language subtitle rows apart across episodes
The committed track kept the server display title, which collapses to the
bare language ("English") and is identical for every same-language row: a
carried signs/songs choice tied with the full dialogue track on the next
episode and latched onto whichever row sorted first. The row's own title
is preferred now, so the carried intent names the exact row again and the
native pass can match the right container track by title instead of
language order.

Reproduced against a live library where both English ASS rows differ only
by Title ("Styled Subtitles" vs "Signs/OP/ED").

close #1785
2026-08-04 15:22:46 +02:00
github-actions[bot] d82a5c5cd7 chore: bump version to 2.12.0 2026-08-04 13:03:59 +00:00
edde746 fdd4c661fe fix(player): carry a picked subtitle language across episodes with sparse tags
The cross-item subtitle intent required declared languages on both sides,
and a null on either side counted as a contradiction. Any untagged track -
common when a title like "Swedish" is the only signal - declined on every
episode advance, fell to the server's per-item priority, and turned the
viewer's subtitles off (a 2.11.0 regression from the #1716/#1717 hard
gates).

A unique real title match now vouches for a row when language evidence is
missing on either side. Declared languages that disagree still decline no
matter what the title says, forced-class parity is untouched, codec and
external parity only break ties within the title-matched set, and a
residual tie declines rather than guesses, so the wrong-track class of
#1716 stays closed.

A decline is also no longer laundered into a viewer decision: the resolver
keeps the unserved preference on the selection, the open flow hands it to
the track manager instead of a navigation-priority off (late native tracks
may carry the container tags the server rows lack), the next episode
boundary re-carries it instead of hardening it into an explicit off, and
progress reports withhold the -1 subtitle index that would otherwise come
back as the item's server-side default forever.

A pick the screen could not map to a source row (no subtitle catalog, or
an identity-matcher miss) previously never reached the committed session
selection at all, so the next episode carried the stale off while the
picked track was visibly on screen. Such picks now commit the raw native
track without source ids and demote to a semantic intent at the boundary.

close #1785
2026-08-04 13:51:20 +02:00
edde746 439ae1d733 perf(detail): paint a show before its on-deck episode is looked up
Jellyfin has no equivalent of Plex's bundled `?includeOnDeck=1`, so a show
detail open chained `/Shows/NextUp` behind the item fetch and the screen sat
on a spinner for both round trips. The second one is not needed to paint:
everything except the play button's episode label comes from the item.

`fetchItemWithOnDeck` now takes an `onItemReady` callback and invokes it as
soon as the item is known, when that is strictly before on-deck settles.
Plex returns both together and never invokes it.

Phone and desktop only. TV keeps its own reveal gate — `_isTvDetailReadyToReveal`
holds the foreground at opacity 0 until extras, related hubs, seasons and the
first episode page have all loaded, and those still run after the on-deck
lookup settles, so TV sees no change. Both halves are pinned by tests.

Measured on a remote Jellyfin server, 15 interleaved show-detail opens per
version: time to content 1264ms -> 1042ms (-18%), with the rest of the load
unchanged.

Seasons and extras deliberately still start after the whole lookup settles.
Starting them at the early paint measured worse (time to settled +21%)
because they contend with the on-deck request instead of overlapping it — the
same reason `/Shows/NextUp` is not fired in parallel with the item fetch.
That trade-off is also why TV was left alone rather than being unblocked by
moving those loads earlier.

Two ordering hazards the early paint introduces, both covered by
`media_detail_screen_test.dart`:

- The early call must not write on-deck. `_loadFullMetadata` runs again after
  playback, and clearing there would blank the play button for the length of
  the round trip. `onDeckSettled` marks the authoritative write, so a reload
  that finds the series finished still clears it.
- A settled empty on-deck must not drop the episode-derived fallback that
  `_ensureFallbackOnDeckEpisode` supplies.

close #1784
2026-08-04 08:38:19 +02:00
edde746 a759e8b3c6 perf(jellyfin): fetch a detail item once when several callers want it at once
Opening a detail screen issued two identical full-detail GETs for the same
id, concurrently: `_loadFullMetadata` calls `fetchItemWithOnDeck`, and
`_initWatchlistState` calls `fetchExternalIds`, which fetches the same item
purely to read `ProviderIds`. Playback start adds three more for its own id.

Each of those makes the server rebuild the entire dto — `People`, `Chapters`
and `MediaSources` cost a database query apiece and `Trickplay` costs several
plus a filesystem stat — so the duplicate is expensive on both ends.

`fetchItem` now shares an in-flight request per item id. Single-flight only:
once a request settles the next caller re-fetches, so nothing can serve a
stale item.

Measured on a remote Jellyfin server, 12 interleaved show-detail opens per
version: requests 4 -> 3, payload 28.4 KB -> 18.6 KB. Median wall time is
unchanged (1394ms -> 1386ms) because the duplicate ran alongside the first
rather than behind it; this removes duplicated work, not latency.

Two things were tried and rejected because measurement did not support them:
starting `/Shows/NextUp` in parallel with the detail fetch (the requests
contend rather than overlap — NextUp went from 380ms alone to 1395ms beside
it — and it costs a wasted request per movie), and dropping `Trickplay` /
`Chapters` from the detail field set (no measurable effect; both are real
data the playback path reads).

Refs #1784
2026-08-04 06:39:23 +02:00
edde746 74d3af3ae1 perf(home): load the home screen once instead of twice per cold start
The Discover tab fanned out its whole request set twice on every cold
start and replayed slow rows on a shrinking timeout ladder, so a healthy
remote server produced anywhere from 4s to 15s of loading.

Measured against a remote Jellyfin server with four libraries, 24
interleaved cold-start samples per side:

  requests  19 -> 9      payload  219 KB -> 94 KB
  settled   5231ms -> 2502ms median, 13222ms -> 5927ms p95

Four independent causes:

- Retry policy. `Client.send` resolves on response headers, so the
  connect budget covers the server's think time and a slow-but-alive
  query raises `connectionTimeout`. Replaying it made the server re-run
  the query with a shorter budget than the one it just missed; the
  `[10s, 8s, 5s]` ladder turned an 11s answer into an empty row after
  23s. Hub surfaces now get one whole-request deadline, retry only
  immediate connection errors, and the deadline bounds the whole call
  including the request still in flight.

- Request shape. `/Items/Latest` groups a TV library by series, so its
  rows are Series folder dtos and `RecursiveItemCount`/`ChildCount` cost
  a DB count each, per row. Hub rows now ask for `Overview` only; watch
  state survives because Jellyfin derives `UserData.Played` from
  `UnplayedItemCount` when the count fields are absent. `/Shows/NextUp`
  sends `NextUpDateCutoff` to bound the server's series-key scan, and
  `Thumb` leaves `EnableImageTypes` since nothing reads it. `UserData`
  and `PremiereDate` leave the browse set: neither is an `ItemFields`
  member, so the server dropped them anyway.

- Fan-out. Per-library hubs ran in batches of three separated by a
  barrier, so one slow library stalled every library behind it. A
  sliding window keeps the same peak concurrency without head-of-line
  blocking. Concurrent `fetchLibraries` calls now share one `/Views`
  instead of racing two identical round trips, Plex's global and music
  hub legs start together, and Jellyfin gets Plex's pool tuning.

- Duplicate pass. `DiscoverScreen.initState` starts a load and the
  online-entry hook asked for a full refresh on top of it, which
  `CoalescedLoadCoordinator` correctly queued as a trailing pass. The
  hook now calls `primeRefresh`, which rides along with a load already
  in flight; profile switches still go through `fullRefresh`.

Refs #1784
2026-08-04 04:35:06 +02:00
edde746 8624c37041 fix(profiles): notice a corrected connection creation time
ActiveProfileProvider diffed connections on toConfigJson alone, but
createdAt is a real column and now decides which connection lends a
profile its picture. A creation-time correction was therefore invisible
to the guard and left a stale avatar until the next launch.

Compare createdAt alongside the config. ConnectionRegistry pins
creation order across re-authentication, so this adds no notifications
in normal operation — it only stops an out-of-band correction, such as
a restore or a backfill, from being swallowed.
2026-08-04 02:22:44 +02:00
edde746 7a19f4149e fix(connections): keep a connection's creation time across re-authentication
ConnectionRegistry.upsert already preserved isDefault on conflict but
rewrote created_at from the in-memory model. Re-signing in rebuilds the
connection with DateTime.now() under the same stable id, so the row's
creation time jumped forward on every reauth.

That was cosmetic while created_at only drove list ordering. It is now
behaviour: it picks which connection lends a profile its picture, so
re-adding the originally-first connection could hand the avatar to a
later one. remove() also promotes the oldest remaining row to default
and was reading the same restamped value.

Preserve the existing row's created_at on conflict, reusing the lookup
upsert already performs for isDefault.
2026-08-04 02:22:44 +02:00
edde746 860ce1e11a feat(profiles): show the first linked connection's user picture
A local profile had no picture of its own and always fell back to
initials. It now borrows the user picture of the connection it was
linked to first — oldest Connection.createdAt, ties broken by
connection id, since the join table carries no creation time.

Jellyfin links resolve to /Users/{id}/Images/Primary, keyed by the
PrimaryImageTag now captured at authentication and refreshed from the
/Users/Me body checkHealth already fetches. That endpoint is anonymous
on every Jellyfin release, so the URL carries no api_key and the access
token stays out of the image cache key. Plex links resolve the Home
user the link points at against PlexHomeService's live cache, so no
account-level lookup is needed and the picture tracks Plex's own
refresh.

The picture is derived per snapshot and never written back onto a
Profile: ProfileDetailScreen upserts the model it holds, so a
persisted URL would go stale and outlive the connection it came from.
Plex Home profiles are untouched, including one whose Plex avatar is
unset — it keeps its initials rather than borrowing a lent connection's
picture.

close #1667
2026-08-04 02:22:44 +02:00
edde746 2b4875d389 fix(player): keep hidden and cycled subtitles off in the next episode
Episode navigation carries the subtitle choice this screen has committed, so
a way of turning subtitles off that the screen never sees is undone by the
next episode.

ExoPlayer has no renderer-level visibility switch, so the player's hide
toggle is emulated by deselecting the track. That emulation lasted until the
next selection: the automatic pass after an episode change put subtitles
straight back on screen while the toggle still read "hidden", and un-hiding
then restored a track id belonging to the episode that had already ended.
Hiding is now sticky across media opens the way mpv's global sub-visibility
is, selections made while hidden become what un-hiding restores, and the
toggle no longer refuses to restore because the hidden track reads as Off.

Cycling subtitles over the native track list — downloads, and items whose
server exposes no subtitle rows — went straight to the track manager, which
owns the player selection and the server write-back but not the committed
choice. The screen records the cycled track now.
2026-08-03 17:07:14 +02:00
edde746 e7aa1e4782 fix(jellyfin): stop overriding a server subtitle mode of None
Jellyfin answers PlaybackInfo with a null DefaultSubtitleStreamIndex when the
user's SubtitleMode is None: the index is the server's whole answer, and null
means it picked no subtitle. The mapper read null as "the server did not say"
and promoted the container's default/forced flags to a server selection
instead, which outranks the profile subtitle mode in the selection ladder. A
viewer who had turned subtitles off for their Jellyfin user got them switched
back on by every item that carried a default or forced row.

Only the row the server names is selected now. A stream the viewer picks, and
an explicit off, still survive per item because Plezy reports the index
through playback progress and the server hands it back as that index or -1.

close #1779
2026-08-03 17:07:05 +02:00
edde746 bbaf5f0f9e fix(music): replace the Instant Mix faders with a wand icon
The three vertical faders read as an equalizer in a music context and
are the vertical twin of the video player's settings icon. Use
wand_stars, which names what the action produces and collides with no
neighbouring affordance in the action bar or the music context menu.

close #1629
2026-08-03 13:29:27 +02:00
edde746 0f5e5c8b6e feat(music): offer File Info on tracks and other file-backed items
The context menu only offered File Info for movies and episodes, so a
track's path, container, and audio stream detail were unreachable even
though both backends already answer getFileInfo for them.

Gate the entry on the new MediaKind.hasFileInfo instead of a literal
kind list: movies, episodes, tracks, and clips are leaf items with real
files, while shows, seasons, artists, albums, collections, playlists,
and folders carry no Media/MediaSources and would only ever produce the
"not available" snackbar.

Also fix the Plex stream classifier, which mapped streamType 4 to an
embedded image although PlexStreamType.lyrics is 4. Only music tracks
carry that type, so a track's lyric stream rendered under "Embedded
Images" with the video field block. Type 5 was invented outright and is
now unknown.

close #1747
2026-08-03 02:34:37 +02:00
edde746 a9f0532f5f fix(ui): keep pushed screens clear of the Android navigation bar
Plezy is edge-to-edge on Android whether it asks to be or not: targetSdk is
36, Android 15 enforces edge-to-edge for apps targeting 35+, and Android 16
disables the windowOptOutEdgeToEdgeEnforcement escape hatch. The only
SystemUiMode.edgeToEdge call in the app fires on video-player exit, so on
API 35+ the window is edge-to-edge from the first frame and
MediaQuery.padding.bottom is a real ~48dp overlap under 3-button navigation.

MainScreen's phone layout hides that. It supplies a bottomNavigationBar and
never sets extendBody, so Flutter's Scaffold strips padding.bottom from the
body MediaQuery and every tab is already safe. Routes pushed on the profile
navigator are full-screen siblings of MainScreen with no bottom bar, so they
receive the untouched inset and nothing consumes it - the last settings card
and the final log lines render under the back, home, and recents buttons.

Three shared hosts own most of those routes, so the inset is consumed there:
FocusedScrollScaffold (25 screens, counting the SettingsPage wrapper) and
FocusableDetailScreenMixin.buildDetailScaffold (4) now append a trailing
SliverSystemBottomInset, and the four screens that build their own Scaffold
around a CustomScrollView append it directly.

The new widget codifies the convention this repository had already written
down but open-coded - insets baked into the scroll content rather than a
SafeArea around the scroll view - so content still paints under the bar while
the scroll extent grows enough to bring the last row above it. It reads
padding from its own context and collapses to zero height wherever the inset
is already zero: desktop, Android TV, tvOS via _AppleTvScale, and inside
MainScreen's tab bodies. No platform branching, and it stacks additively with
the music detail screens' existing mini-player spacers, which is correct
because the mini-player itself floats above the navigation bar on a pushed
route.

Scroll views that are not sliver lists take the inset in their own padding:
the companion remote's ListView, the auth screen's scroll container, and the
two SliverFillRemaining sign-in forms, whose children size themselves from
the extent remaining before them and so cannot be helped by a trailing
sliver. The logs empty state is left alone for the same reason inverted - it
already fills the viewport, and a trailing inset would only add scroll slack.

Verified on a Pixel 7 running Android 16 (API 36) with 3-button navigation:
Settings, Logs, and Video Playback all end clear of the bar.

close #1766
2026-08-03 00:05:21 +02:00
edde746 fb0613e3db feat(player): toggle playback on a two-finger tap without raising the chrome
A touch viewer had to raise the chrome to pause, which dims the picture and
covers the subtitle line they were trying to finish reading. A two-finger tap
now toggles playback with the chrome left down, so the frame that pauses is the
frame that was on screen. It fires the moment the chord resolves, in every
player state.

The two-finger double tap no longer resets the video zoom. Keeping it would mean
holding this toggle back for the double-tap window before acting, and pausing
late is pausing on the wrong frame. Zoom reset stays in the video settings sheet,
its presets and the keyboard shortcut, and pinching back to 100% now snaps
exactly within three percent so touch has a one-gesture path too.

Both chord actions share _mobileTouchGesturesAllowed, so the chord is inert
under screen lock, in PiP and while the content strip is open; the zoom reset
previously fired straight through a locked screen.

close #1505
2026-08-03 00:04:03 +02:00
edde746 9c08c78f6d fix(plex): stop recording a second play when the server already logged one
Plezy reported a completed playback twice: the /:/timeline heartbeats let
the server mark the item played on its own, and the in-player auto-scrobble
then sent an explicit /:/scrobble for the same watch. On PMS 1.30 that adds
a second Play History row; on 1.43 the row is suppressed but viewCount still
lands on 2 for one playback.

Measured against PMS 1.43 to find what the server acts on: a watched-threshold
crossing observed inside one session. Consecutive above-threshold reports mark
nothing, a resume point left by an earlier session does not arm a new one, and
a report at position zero is inert while one at a single second is enough. So
the explicit mark now goes out only for sessions that gave the server no
crossing to observe.

That decision cannot be made while the session is live. A session beginning
past the threshold has no crossing yet, but rewinding and playing forward
creates one, and the server records it — marking eagerly and then hitting that
path leaves viewCount at 2 again. The mark is therefore deferred to the
terminal stop, and rides its future so callers that await the stop before
tearing the player down do not drop it. Deferring also covers a crossing
coalesced away during startup and a seek back below the threshold before
stopping.

Crossing state is tracked from reports the backend actually received rather
than from PlaybackReportSession.report()'s bool, which resolves true for a
same-state snapshot dropped during startup.

The same-file sibling hook (#1500) still runs exactly once, on the transition
to a settled mark rather than at the local crossing, so sibling episodes are
never marked watched while the episode actually played is not.

Local watched state and Continue Watching removal still happen on the observed
crossing, so the only behaviour that moves is the redundant server call.

close #1740
2026-08-02 16:16:19 +02:00
edde746 95b013e155 fix(seerr): show worldwide popular titles in Explore again
Overseerr and Jellyseerr bind the `language` query parameter of
`/discover/movies` and `/discover/tv` to `originalLanguage`, which becomes
TMDB's `with_original_language`. Sending the app locale there collapsed both
shelves to titles originally made in that language, so a Portuguese UI saw
only Portuguese films. Those two routes take their display language from the
instance/user locale, which already wins over the query value, so the
parameter was pure filtering with no localization to show for it.

Drop it from the two paged discover routes. Trending, both upcoming rows,
search, details and recommendations keep it: Seerr treats it as the display
language everywhere else.

close #1763
2026-08-02 15:35:42 +02:00
edde746 d83d0790ba fix(exoplayer): match side-loaded subtitles after media3 rewrites track ids
Plex sidecar subtitles are attached as MediaItem.SubtitleConfiguration and
tagged `external_<n>`, then recovered from the Format id the track selector
reports. Since media3 1.3.0, DefaultMediaSourceFactory always merges
side-loaded subtitles with the primary source and MergingMediaPeriod rewrites
every child format id to "<periodIndex>:<originalId>", so the tag arrives as
"1:external_0" - measured on device - or "0:1:external_0" behind the
container-sidecar merge. The prefix test therefore never matched and every
sidecar reached Dart as an embedded track with no URI.

A Plex sidecar's only identity is its stream key, which the app carries in
that URI, so both matchers failed on it: a server-selected sidecar could
never resolve and left subtitle selection pending, and a manually chosen one
could not be mapped back to a stream id to write to the server. The
already-attached branch of addSubtitleTrack compared the raw id too, so
re-selecting a loaded sidecar silently did nothing.

Route every write and readback of the tag through ExternalSubtitleIds, which
matches the final id segment, and cover it with an instrumentation test that
side-loads a subtitle through the real media3 media-source factory. Also stop
claiming a saved track selection when no server stream was identified - there
is no local store, so that path silently dropped the user's choice.

close #1713
2026-08-02 12:19:28 +02:00
edde746 bbed260169 fix(player): start the TV player with its chrome down
A television raised the whole OSD and timebar on every playback start. The
chrome controller is born visible, and its auto-hide clock cannot arm until the
first frame lands, so the controls did not merely appear early: they appeared
exactly when the picture did, and then sat over the opening five seconds of
every movie and episode. The timeline is gated behind the first frame, so the
bar materialised on top of the video rather than over the loading spinner,
which is what makes it read as a pop-up rather than as chrome that was already
there.

The route now opens with no chrome on TV. Nothing is lost: the loading spinner
and buffering overlay are their own overlays, the screen focus node owns back,
and the first D-pad press raises the controls the way it already does after
every auto-hide. Pointer and touch platforms keep the chrome, where the
viewer's hand is on the surface and the title and back affordance belong over
the spinner.

Initial presentation now follows initial visibility. They were separate:
seeding only visibility would leave the route claiming its chrome was still
presented, so PlayerNavigationCoordinator would read back as "hide the chrome",
hide() would no-op against chrome that was never up, and the press would be
swallowed instead of leaving the player.

Controls that mount with the chrome already down now claim focus themselves.
Focus normally reaches them through the hide transition, and their own
autofocus cannot win it back because the screen node took it during the loading
phase. Left alone, the screen node kept primary focus and its self-heal raised
the entire OSD on the first D-pad press, which put the chrome straight back
over the picture and bypassed the transient seek and transport indicators.

Both player spinners now carry a label. They were bare progress indicators, so
a screen reader announced nothing at all while the picture was coming up, and
the TV Maestro flows had no way left to tell a loading player from a playing
one once the Pause button stopped appearing on its own.

The two TV flows are repaired to match. They waited on that button, and now
wait for the labelled spinner to clear, which cannot happen before the media is
opened. 05 additionally reaches Search by D-pad rather than a percentage
coordinate, because a tap flips InputModeTracker to pointer mode and collapses
the rail it is aiming at, and it gates on the play-next prompt's own Cancel
action: "Next Episode" is also the credits skip button, so the old assertion
could pass without the prompt ever opening.

close #1765
2026-08-02 11:45:27 +02:00
edde746 35061f9f68 fix(jellyfin): scope global search to visible libraries
Jellyfin search rows do not expose their owning collection, so hidden libraries cannot be filtered after the response. Scope searches to visible libraries, stamp the returned rows, reuse the latest loaded views, propagate cancellation, and fail closed when views cannot be loaded.

Keep full candidate budgets and split music libraries into parallel album, audio, and artist requests. Album requests disable UserData and use the existing album field set to avoid recursive per-album work from #1552; audio requests retain cheap leaf play state.

close #1770
2026-08-02 09:29:59 +02:00
edde746 1d9ffb7427 fix(search): exclude hidden libraries from global search results
searchAcrossServers was the only aggregation entry point without a
hiddenLibraryKeys parameter, so libraries hidden from home hubs, Continue
Watching and the library rail still surfaced their contents in the Search
tab. Thread the profile's hidden keys from SearchScreen through to the
aggregation, and drop matching items between the fan-out and the ranking
pass so hidden hits cannot spend the result limit and shrink what is
shown. Items the backend cannot attribute to a library, such as Plex
shared and external media, are kept.

The screen re-runs the visible query when a library is hidden or unhidden
while results are on screen. Its listener is attached only after the
provider has hydrated, so the initial load notification cannot race the
first query into running twice.

Plex search rows now go through the library-aware tagger, so a response
that names its section only via librarySectionKey or
targetLibrarySectionID is still attributable, and therefore filterable.

Jellyfin search results carry no library id at all: the mapper's
ParentLibraryId is not a Jellyfin field, and ParentId resolves to a
season or physical folder rather than a CollectionFolder. Filtering there
needs server-side ParentId scoping and is left for a follow-up.

close #1770
2026-08-02 09:29:59 +02:00
edde746 bac2a0d201 fix(player): keep Delete and Home editing text in player sheets
Bare Backspace and Home are player navigation keys, but they are also
caret editing keys. The player screen's Focus wraps its OverlaySheetHost,
so it saw them before the subtitle-search field could act: the press was
consumed on key-down, DefaultTextEditingShortcuts never turned it into a
deletion, and the back pipeline hid the chrome and then left the player.

A focused text editor now takes both keys back, but only for physical
keyboard presses — a synthesized dpad/gamepad press has no caret, and
browserHome has no editing role at all.

The screen also resolved its overlay-sheet controller from the State's
own context, which sits above the host it was querying, so the lookup
always returned null and Back skipped the sheet stage entirely. Resolve
it from a context below the host instead, matching NowPlayingScreen.

close #1741
2026-08-02 07:37:12 +02:00
edde746 2a7e5f4f9c fix(jellyfin): ask the server who may delete before offering it
Jellyfin never consults IsAdministrator when authorizing a library
delete: BaseItem.IsAuthorizedToDelete looks at EnableContentDeletion and
the per-library grant, and only the first user a server creates gets the
former for free. Gating the "Delete from server" entry on the admin bit
therefore offered a destructive action that answers 401 to later
administrators, and hid it from plain users who do hold the grant.

Ask the server per item instead, through the new
MediaDeletionPermissionClient capability: BaseItemDto.CanDelete already
folds the global grant, the per-library grant, and item state such as
missing files or an in-progress recording. The probe runs when a menu
opens on a deletable kind, costs ~0.5 KB, carries a whole-request
deadline because the client's own budget covers connect and receive
separately, and fails closed on anything unknown. Plex keeps its
account-level owner/admin gate; it has no per-item permission on the
wire.

close #1749
2026-08-02 07:08:14 +02:00
edde746 bc0d14a749 fix(explore): list every library copy of a title, not one per server
`MediaServerClient.findByExternalIds` returned `MediaItem?`, so the Explore
"In these libraries" chooser could never show more than one copy per server.
A movie held by both a 4K library and an HD library on one Plex server
therefore resolved to whichever copy came back first, with no way to reach
the other.

Return every id-verified match instead. `/library/all` is already
server-wide and each `Metadata` entry carries its own `librarySectionID`,
so both copies come back labelled with no extra request; Plex was simply
taking `Metadata[0]` and the title ladder was returning on its first hit.
An exact-guid hit no longer short-circuits the title search either — a
library still on a legacy agent has a different primary guid and is
invisible to the `guid=` filter.

Copies are deduped by global key and ordered best-first, and each row now
states its resolution, since library names need not mention it.

Resolution passes merge rather than replace: the cross-server fan-out logs
and skips per-server failures, so a later pass can come back short a server
that answered an earlier one, and a failed pass no longer claims the title
left the library. Duplicate keys fold field by field, because Jellyfin's
library stamp is a best-effort ancestors lookup that returns the item bare
when it fails and an unstamped row is indistinguishable from its sibling.
Focus nodes are keyed by copy and reclaimed after a merge re-sorts the
rows, so a dpad user is not thrown to a different copy.

close #1754
2026-08-02 06:40:04 +02:00
edde746 f78f65faf5 chore(player): report marker counts when loading playback extras
The extras loader logged only the chapter count, so a user report of
"auto skip never fires" could not be told apart from "the server has no
intro marker for this item" — the two need opposite fixes. Log the
marker count and types on all three load paths, including the cache-only
one that previously logged nothing at all.

Drop PlexVideoPlaybackData.markers while here: the playback-start parse
filled it on every item and no caller ever read it, because the player
controls fetch their own PlaybackExtras.

Document why getPlaybackExtras may serve the shared metadata cache row
without a freshness check: getPlaybackInitialization refreshes that row
network-first before the controls mount. That ordering is what makes
cache-first correct, and nothing said so.
2026-08-02 04:55:54 +02:00
edde746 957711a650 fix(startup): lead the damaged-store screen with the repair, not retry
A reporter on #1732 ran three successive builds against a preference store of
10336 bytes, every one of them zero, and reported each as "still failing". The
gate classified it correctly every time and the consented repair would have
cleared it in-process, but nothing on the failure screen said so: Retry was
first, styled `FilledButton`, and autofocused, while `Repair storage` sat beside
it as a tonal afterthought. Retry re-reads the same document, so for a
corrupt-store failure it is an action that cannot succeed however many times it
is pressed — and it was the one the screen recommended.

Repair now takes the primary styling, the focus node and first position whenever
it is offered, and the body text says plainly that retrying will not help.
Retry keeps its place for every other failure, where a locked database or a
denied directory really can change between attempts.

The consent dialog was also promising an outcome it could not always deliver.
Servers and profiles survive a repair only because their tokens are ciphertext
in the database and the key that decrypts them lives in the store, so a store
the key cannot be read out of signs the user out of everything — exactly the
all-zero case. `PrefsRecovery.previewSalvage` reads the damaged file without
touching it, and the dialog now names the real cost from that. The retained copy is
labelled as holding credentials unless the bytes prove otherwise: what the
salvage recovered says nothing about what the file still contains, because a
store truncated mid-value keeps most of a vault key in plaintext while the
salvage pattern — which needs the value's closing quote — matches nothing at
all. Only an all-zero file drops the warning, so the one case that cries wolf
is the one that provably holds no secret.

`describe()` finally carries whether a repair was on offer. That line is the
difference between a report a maintainer can act on and two days of guessing
whether the button was even on screen.

close #1732
2026-08-02 04:37:29 +02:00
edde746 2cb2c3eb95 feat(ratings): show every rating source the server already sent
Plezy rendered exactly one score per item. MediaRatingBadge._ratingDataFor
took `rating` and fell back to `audienceRating` only when it was null, so a
Plex movie carrying four attributed scores surfaced one, and which one was
whatever the server happened to put in the scalar slot. #1755 asked for a
setting to choose the source; showing all of them answers it without one.

The data was already on the wire and being thrown away. `/library/metadata/
{id}` returns a `Rating[]` child array — IMDb, both Rotten Tomatoes panels,
TMDB — with no extra query parameter, but PlexMetadataDto declared no field
for it, so json_serializable dropped the key. The identical parse already
existed in plex_catalog_source for the Explore tab and had simply never been
wired to library items.

Model the scores as a list rather than widening the scalar pair. The neutral
MediaItem gains `ratings`; PlexMediaItem loses audienceRating, ratingImage
and audienceRatingImage, which the list subsumes — Plex sends those images
on listings too, so the same field covers both response shapes and no caller
narrows to a backend type to read a score any more. CatalogRatingSource is
promoted to lib/media as MediaRatingSource instead of growing a second
near-identical type beside it, and plex_catalog_source's _ratingsFor becomes
the shared plexRatingSources so one implementation serves both paths. There
is no persistence to migrate: MediaItem.toJson has no production caller, the
offline path re-parses raw Plex JSON through the same mapper, and Plex's
audienceRating sort is server-supplied data, not a model read.

Cards and the dashboard still show fewer scores than detail screens, and
that part is a real Plex limit rather than a shortcut. Section listings send
only the scalar pair; includeRatings, includeElements=Rating,
includeFields=Rating, includeChildren and includeExtras were each probed
against a live server and none surfaced the array, while includeGuids=1
demonstrably does add Guid[] — the probe works, the parameter does not
exist. Hydrating every card would be one request per row, so listings render
whatever their own response carried, which is one or two attributed scores
rather than the single one they showed before.

Jellyfin has no per-source array at all: the server collapses whatever its
fetchers found into CommunityRating and CriticRating. CommunityRating's
provenance is unknowable from the DTO — TMDB vote_average, IMDb via OMDb or
a local NFO, last writer wins — so it stays the generic `audience` source
with no brand mark. CriticRating is the Rotten Tomatoes Tomatometer as a
0-100 percent and is divided by ten explicitly rather than folded by
magnitude, because a Tomatometer of 9 means 9% and range-sniffing would have
promoted a rotten score to fresh. Photo rows are skipped, since Jellyfin
reuses CommunityRating for the EXIF 0-5 star.

The badges share one slot on every surface. On the phone hero the scores go
in a single pill because that chip row is a height-clipped Wrap and a chip
per source would push year, certification and runtime out of the visible
band on short heroes; on the TV detail line and the dashboard spotlight the
group occupies the one metadata slot so bullet separators do not multiply.
The group announces itself as a single semantics node naming each source,
because a bare row of four percentages tells a screen reader nothing about
which score is which. rating_utils drops parseRatingImage and
isRottenTomatoes — the URI vocabulary now lives only in the Plex mapper —
and the source-key resolver and label map, previously private to the Explore
detail screen, become the shared pair both screens use. The label strings
move from explore.ratingSource to common.ratingSource accordingly, which
costs no translations because every non-English value was empty; running
clean_translations also scaffolds startup.quitPlezy and
startup.restartRequiredBody, which were already drifted.

Verified against the live server the probes came from: a detail response now
yields TMDB 83%, IMDb 8.3 and Rotten Tomatoes audience 96% through the
production mapper and badge resolver, and the listing response for the same
title yields TMDB 83% alone. Both payloads are pinned verbatim as fixtures.
Coverage adds mapper ordering, dedupe against the array's repeat of the
scalar, out-of-range rejection, the Jellyfin scale and photo guard, the
CatalogItem conversion that feeds Explore's dashboard hubs, and the three
render surfaces including the semantics announcement.

close #1755
2026-08-02 03:59:56 +02:00
edde746 395798f28e fix(player): stop handing ExoPlayer the demuxer's buffer budget on Auto
On Auto, Dart derives a buffer size for mpv's demuxer from the device heap and
sets it as `demuxer-max-bytes`. The Android player forwarded that same number to
`DefaultLoadControl.setTargetBufferBytes`, so ExoPlayer's sample allocator was
sized by a tier table written for a different consumer: 64MB on any device whose
large heap is 512MB or less, which every Shield is.

`targetBufferBytes` is a byte cap, so the media it represents collapses as
bitrate rises — 64MB is 53s of a 10 Mbit/s stream but 5.2s of a 103 Mbit/s UHD
remux. With `prioritizeTimeOverSizeThresholds` false the cap is hard:
`shouldContinueLoading` returns false the moment the allocator reaches it no
matter how little media that is, and `shouldStartPlayback` reports READY off the
same byte term. Read-ahead that short starves the audio sink in bursts, and on a
passthrough route that is enough to keep the AudioTrack from ever starting — the
track initializes, accepts one access unit and never renders a frame. Because an
enabled audio renderer owns the MediaClock, the whole player freezes and the
black-screen watchdog then blames the video decoder and drops the session to
mpv.

Size the LoadControl target natively instead, from what actually bounds
`DefaultAllocator`: the Java heap. `min(media3's own default for a video+audio
selection, largeMemoryClass/4, availMem/4)` with a 32MB floor, the lowest tier
that has already shipped. The quarter matches the threshold the Buffer Size
setting already warns at, and the media3 default is a ceiling — this is not
"buffer more than upstream", it is "stop buffering less". Deliberately not
bitrate-aware, because the LoadControl is built during initialize, before any
media is opened. `bufferSizeAuto` carries the distinction over the channel;
`bufferSizeBytes` still travels with it because the plugin's mpv fallback
replays it as a real demuxer property, and an explicit Buffer Size choice is
still honoured verbatim.

Confirmed against the hardware in the 2.9.1 passthrough report. That reporter's
own log is a natural A/B: three runs at 64MB fail with `0 frames rendered after
8002ms`, spanning both DV conversion modes and both tunneling states, while the
single run after he manually selected 128MB logs `Position advancing` and
renders. Reproduced on the same Shield model with codec and bitrate held fixed
and only the cap varied — 6s of audio demand stalls at 64MiB and plays at
128MiB, 4 of 4 predictions, with read-ahead measured off an injected
DefaultAllocator at 65 664 and 131 776 KiB. That device reports
`dalvik.vm.heapsize` 512m, so the heap term binds first at every free-memory
level in his log and Auto now derives exactly the 128MB he had to pick by hand;
the shipped path logs `Buffer: 128MB limit (auto, heap=512MB, available=568MB)`
where it previously logged 64MB.
2026-08-01 06:59:21 +02:00
edde746 3f49bcabf8 fix(prefs): replace the desktop preference store atomically
Upstream shared_preferences_windows and _linux write the whole preference
document with a bare `writeAsStringSync`. That opens with the default
`FileMode.write`, which truncates the live file before writing it, so every
single preference write has a window in which the only copy on disk is empty
or half-written. A crash, power loss, forced reboot or antivirus interception
inside that window leaves a document that fails to parse on every subsequent
launch — and the store holds the credential-vault key, so the loss is not
recoverable by rewriting it. This is the corruption class behind #1732; the
recovery path already landed is a band-aid over it.

Vendor both packages under packages/ — the convention saf_util and
wakelock_plus already follow — and stage, flush, then rename over the target.
The flush has to precede the rename or it could publish contents that were
never committed, the same corruption by another route. Staging uses one fixed
sibling name rather than a stamped one, because the file is a plaintext copy
of the vault key, tracker refresh tokens and Seerr cookies; it is created in
the target's own directory so rename stays on one volume and the mode matches
what the canonical file would have had, and a stale one is swept once the
canonical document has been read cleanly. Both deltas are marked in-source and
in provenance.json with the refresh contract.

Atomicity is proven, not asserted. A hard link to the store observes the old
document after a write, which only holds when the directory entry was replaced
— truncate-in-place would have rewritten the shared inode, and that test does
fail against unpatched upstream. Upstream's own suites still pass unchanged in
both packages and now run in CI, so the patch keeps the contract it inherited.
Windows `MoveFileExW` replacement semantics cannot be proven on a POSIX runner
or a memory file system, so they get their own test on the existing
windows-latest job, including replacement while a reader holds the file open —
antivirus and Search Indexer both do.
2026-08-01 06:59:20 +02:00
edde746 9ecf8db90f fix(startup): stop offering Retry after a repair that needs a restart
A seed-and-restart repair writes the salvaged credentials straight to disk and
leaves this process's store closed, because the plugin still holds the bad
document in memory. repairCorruptStore says so plainly — "nothing may write a
preference before that restart … the caller keeps the app on the failure
screen precisely so nothing does" — but the caller did not. Clearing the
repairing flag re-enabled Retry, and pressing it reopened onto the stale map,
whose first write would flush it back over the seed and orphan every
ciphertext token in the database.

The repair hook returned a bare bool, which cannot express the difference
between "retry now" and "never retry in this process", so replace it with
StartupRepairResult. The restart case latches terminal state on the bootstrap,
withdraws Retry and Repair rather than grey them out — a disabled control
still invites another press — and says what to do instead, which nothing did:
repairNeedsRestart was a dialog title with no body anywhere. Desktop gets a
Quit button through the existing AppExitService seam; Copy and Upload stay
live everywhere, because a stuck user still needs the diagnostic out.

close #1732
2026-08-01 06:59:20 +02:00
edde746 3ae7aa554b fix(prefs): recover a preference store whose bytes are not valid UTF-8
`File.readAsString` reports a UTF-8 decode failure as a FileSystemException,
not a FormatException, so three guards written for that case never ran. The
preflight's `on FormatException` branch was unreachable and its
`on FileSystemException` sibling waved the document through; the plugin then
threw the same FileSystemException, which failed the FormatException/TypeError
test that decides repairability; and quarantine's lossy-decode fallback sat
dead behind a rethrow. A store with one bad high byte — a UTF-16 BOM, a stray
0x80 — therefore reached the user as a failure screen with no Repair button
and no way forward at all.

Read bytes and decode explicitly instead, at both sites. Classification moves
into describeStoreDamage, so a failure that surfaces after the preflight
passed is judged by re-reading the file rather than by the error's type: a
denied or locked store is indistinguishable from a decode failure by type or
message, and offering a destructive repair for a permissions problem would
reset every setting and risk the vault key over something a chmod fixes.
isCorruptStoreError went with it, having no remaining callers.

A repair that quarantines the store and then cannot reopen it no longer
strands the process either. The repaired future was built straight from the
cache loader, bypassing the self-healing reset sharedCache installs, so a
failed reopen parked a rejected future in _cacheFuture and every later attempt
replayed that stale error — with the damaged file already moved aside, so a
restart would have booted cleanly.

CorruptPreferenceStoreException now carries reopenSafe and a derived,
content-free shape: byte length, whether it decoded, whether every byte is
zero. #1732 arrived as "FormatException at offset 0" and nothing else, which
cannot separate an all-zero file from a non-JSON first character from bytes
that are not UTF-8; these can, and never quote the document.

Cover the loop against the real desktop backend rather than a fake.
shared_preferences_linux is pure Dart, byte-identical to the Windows
implementation, and exposes fs/pathProvider, so pointing it at a temp
directory exercises the genuine read, parse, cache and write path on any host
— the join between preflight, classification and reopen where every one of
these defects lived, and which had no coverage at all.
2026-08-01 06:59:20 +02:00
edde746 3509f4b989 docs: vendor the Microsoft Store badge as a PNG
GitHub sized the hotlinked SVG from its 161x44 intrinsic box rather than the
img height attribute, so the badge rendered short beside the other three.

rsvg-convert at exactly 4x intrinsic keeps the aspect ratio bit-identical and
the rounded corners transparent, matching the neighbouring badge assets. All
four now render 60px tall, and the README no longer hotlinks any image.
2026-07-31 22:52:07 +02:00
edde746 8a46df2850 fix(player): keep live TV on its retry ladder when a stream 404s
The 404 branch added in 16668be5 ran ahead of the live-TV fallback chain, so a
transient live 404 — an HLS segment rolled off the playlist, or a transcode
session restarting under us — showed "file unavailable" and killed a stream
the bounded ladder would have recovered. Only on-demand playback can read a
404 as terminal, where it really does mean the file is unreadable. 500 stays
terminal for both, since a limit rejection is not something a retry clears.

The dispatch lived in a private extension on the screen state, where no test
could reach the decision. Extract it as resolvePlaybackFailureAction next to
runLiveStreamRetry, which already sets that precedent, and cover both the live
and on-demand paths plus the ladder's rungs.
2026-07-31 21:45:33 +02:00
edde746 56ad48824b fix(jellyfin): pin MediaSourceId on every static stream URL
Jellyfin has no DirectStreamUrl field — MediaSourceInfo carries only
TranscodingUrl, and a DirectPlay decision returns no URL at all, leaving the
client to build /Videos/{id}/stream itself. The branch reading
DirectStreamUrl was therefore dead against every Jellyfin version, along with
the 'DirectStream' play method and the doc comment promising both.

The static URL also dropped MediaSourceId whenever the item had a single
source whose Id equalled the item id — an ordinary episode. The streaming
endpoint resolves a blank MediaSourceId to its own first sorted source
(VideoFile first, then widest video), so the omission silently streamed a
different file as soon as the item gained an alternate version. Forward the
id the negotiation settled on, as jellyfin-web, Findroid, and Streamyfin all
do unconditionally.

Every "pinned" fixture used a source id that differed from the item id, so no
test exercised the shape that dropped the param; add one that does.
2026-07-31 21:45:33 +02:00
edde746 4fe4f7b1d7 fix(mpv): stop loading the ytdl hook for media-server streams
Every URL the player opens is a media-server stream or a local file, so mpv's
bundled ytdl_hook has nothing to resolve. It still ran an on_load hook per
open and, whenever an open failed, spawned yt-dlp with the full stream URL in
its argv — access token included, readable through /proc on Linux. It also
added ~700ms to every failed open and buried the real "[stream] Failed to
open" line under three ytdl_hook errors.

mpv decides whether to load the builtin script inside mpv_initialize, so this
has to be an option set beforehand rather than a property set from Dart.
Verified against mpv 0.41: --ytdl=yes logs "Loading lua script
@ytdl_hook.lua", --ytdl=no never loads it.

Apple is deliberately excluded: the bundled libmpv is built without Lua, so
the option does not exist there and setting it would only print an mpv error
on every player init.
2026-07-31 21:45:33 +02:00
edde746 86c8011b72 fix(player): tell the user when the server cannot read the media file
A 404 on the media stream means the server resolved the item but could not
open the file behind it — moved, deleted, or on storage that went away.
Jellyfin maps the resulting FileNotFoundException to 404, and PlaybackInfo
never stats the file, so negotiation succeeds and only the stream request
fails. Playback then died with a snackbar reading "Failed to open
[REDACTED_URL]" before popping the route, which tells the user nothing and
leaves nothing useful in a bug report.

Generalize the HTTP-500 log probe into PlayerError.httpStatusFromLog and
latch every status in fatalPlaybackHttpStatuses. Each latches on its own so
the 503 that stream-lavf-o deliberately retries cannot mask the fatal status
behind it. A 404 now raises a dedicated modal naming the cause and the fix.

On Android a 404 previously failed the "Response code: 500" string test and
fell through to the ExoPlayer→MPV fallback, showing "switching to compatible
player" before failing again on the same request. Read the real status off
HttpDataSource.InvalidResponseCodeException instead and skip the fallback:
an HTTP status is not a codec problem.
2026-07-31 21:45:33 +02:00
edde746 6f9edd3e93 fix(startup): make the deferred crash report survive its races
The persist-then-flush model had four ways to lose or corrupt the record
it exists to protect.

A no-op hub — which is what a failed or timed-out crash-reporting init
leaves behind, because that phase is best effort — accepts an event and
returns an empty id without throwing. "Did not throw" was treated as
delivery, so the record was marked reported and suppressed forever.
Delivery now requires a non-empty Sentry id, and init completion is
tracked explicitly rather than assumed.

Opting out, and building without a DSN, are deliberate suppression
rather than delivery failure: both mark the record resolved so it is not
rediscovered every launch. Everything else stays pending, and
consumption no longer deletes an unreported record — deleting it ended
the only retry there was, which made "the next launch tries again"
false.

The write path is now a queue. Record writes were launched unawaited
from the failure path, so a fast retry could flush before the file
existed, consume before a late write landed, or run two writers against
one file and let the older one finish last. markReported joins the same
queue and compares record identity before rewriting, because reading and
writing outside it let a concurrent record land in between and be
overwritten by the record it had just superseded. Records carry an id so
that comparison is meaningful.

Consumption also waits on a registered flush, so the success path cannot
delete the file mid-send.

Also routes the tvOS recovery marker through the tolerant read.
reconcile() runs inside AppDatabase.open, a fatal gate step, so a
wrong-typed marker vetoed the launch outright on a first-class TV
target. Both new guards have regression tests verified to fail without
the fix.
2026-07-31 21:45:33 +02:00
edde746 9555937873 fix(startup): defer crash reports until the reporter exists
Reporting the failure inline was wrong for the phase that matters most.
The gate opens preferences before SentryFlutter.init, so a corrupt or
unreadable store — the likeliest cause of #1732 — was captured by a
NoOpHub and silently discarded, which is exactly the telemetry gap the
previous commit claimed to close. Initialising the reporter earlier is
not an option either: `_beforeSend` reads the crash-reporting opt-out
from settings, so events raised before settings load would bypass a
user's choice.

Every failure is now persisted first and flushed once the reporter is up
with settings loaded, which in practice is the user's own retry seconds
later in the same process. Records carry a `reported` flag so a send
happens exactly once, and a failed send leaves the flag clear so the
next launch tries again. The flush reads without consuming, so the
record still reaches Settings > Logs.

Also routes the tvOS recovery marker through the tolerant read:
`reconcile()` runs inside `AppDatabase.open`, a fatal gate step, so a
wrong-typed marker vetoed startup outright on a first-class TV target
despite the new default-instead-of-veto behaviour. An unreadable marker
tells us nothing, which is the same position as an absent one.
2026-07-31 21:45:33 +02:00
edde746 66549e3a67 fix(prefs): route every credential read through the tolerant path
The wrong-type recovery only covered reads that went through a
BaseSharedPreferencesService instance. The three stores that hold
credentials read the shared cache directly, so a mistyped value there
still threw a raw TypeError or, for Seerr, was swallowed by a catch-all
and reported as "no session" — the registry documented protection it did
not actually provide.

readPreferenceTolerantly now takes the cache, so CredentialVault,
TrackerAccountStore and SeerrSessionStore get the same classification as
the settings layer. CredentialVault's post-write re-read moves outside
its catch: a wrong-typed value written by another isolate was swallowed
there, and the process then returned a key that never durably landed,
making every ciphertext written under it unreadable on the next launch.

Those stores are consulted long after startup, where a throw is an
unhandled provider error rather than a repair prompt, so SettingsService
initialization now walks the cached key set once and reads every
sensitive key. That puts the failure inside a fatal gate step while the
store is still open and a surgical single-key repair is possible.

The remaining direct reads in settings and storage are routed too; the
only ones left are the library-density dual-type migration, which probes
both types deliberately, and an untyped switch that is type-safe by
construction.
2026-07-31 21:45:32 +02:00
edde746 7f0cad339c fix(startup): report and repair a failed launch instead of showing "Error"
Since 2.10.0 the whole app sits behind one all-or-nothing initialization
gate, and that gate discarded the only evidence of its own failure. It
caught the error, logged nothing but `error.runtimeType`, rendered an
icon plus the word "Error" plus Retry, and never reported the error
because catching it kept the crash reporter from ever seeing it. There
is no log file on any platform, the buffer is in memory only, a
double-clicked Windows release build has no console, and the log viewer
lives in Settings, behind the gate that just failed. #1732 is the result:
a Windows 11 user whose app will not boot and who cannot produce a single
byte of diagnostic detail.

The gate now names its phases. Each step is wrapped so a throw carries
the phase it came from, replacing a `Future.wait` that discarded every
error but the first and could not attribute it to any of four concurrent
steps. The failure screen renders the phase, the exception type, the
message and an expandable stack, plus copy and upload actions that reuse
the existing log-relay flow. The record is persisted next to the database
so the next successful launch can surface it in Settings > Logs, and it
is reported to the crash reporter explicitly.

Only preferences and the database still gate the launch. Window chrome,
locale, crash-reporting init, TV/performance detection, the image-cache
budget and download storage are best-effort and time-bounded, so a
stalled platform thread degrades instead of holding the splash forever.
Sentry no longer receives the startup work as its `appRunner`: that made
a startup failure indistinguishable from a Sentry failure, and the guard
would then have re-run migrations and the database open a second time.

The two remaining fatal steps become recoverable. Preference reads
tolerate a value whose stored type no longer matches, dropping the key
and defaulting instead of failing the boot. A store that cannot be parsed
is detected before either desktop plugin backend can memoise it, which is
what makes an in-process repair possible at all. Repair is never
automatic: it states what it will cost, salvages the credential-vault key
and every tracker and Seerr session it can validate out of the damaged
bytes, reseeds them, and moves the original aside rather than deleting
it. Servers and profiles survive a salvaged key because their tokens are
ciphertext in the database; tracker and Seerr sessions are plaintext
preference entries, so the copy says they may still need reconnecting.

Nothing derived from the store reaches a diagnostic. `FormatException`
prints an excerpt of whatever it failed to parse, and during startup that
document holds the vault key, refresh tokens and session cookies while
the redaction manager still has nothing registered, so the wrapper keeps
only the cause's type and offset and the record is an allowlist of
already-redacted fields. The quarantined copy is labelled as containing
credentials, is never offered for upload, and can be deleted from the
dialog.

Also self-heals orphaned WAL/SHM sidecars on desktop rather than only
tvOS, makes every `createTable` migration step idempotent, keeps MSVC
link by-products out of the Windows bundle, and asserts bundle contents
in CI.

Refs #1732
2026-07-31 21:45:32 +02:00
edde746 7c515bf8fa feat(website): serve Windows from the Microsoft Store and tag store campaigns
The Windows button downloaded plezy-windows-installer.exe from the latest
release. It now opens the Store listing, which brings Store-managed updates.
The endpoint redirects to ms-windows-store://, so the button only resolves on
Windows; macOS and Linux keep their direct release downloads.

Store links carry campaign parameters (ct=Landing, utm_campaign=landing,
cid=landing) so landing-page traffic separates from the README's in each
store's own reporting. Play reports utm_source and utm_campaign, so no
utm_medium is sent.

Structured data keeps untagged canonical URLs: schema.org offers are consumed
by search engines, and a rich-result click is not landing-page traffic.
2026-07-31 21:21:06 +02:00
edde746 f30e2c621a docs: refresh readme features and download channels
The features section last changed substantively in 2c54baca3 (2026-05-17),
before the music and Explore subsystems shipped, so two whole feature areas
were missing and several availability notes had drifted.

Adds Music and Explore & Requests sections, and corrects claims that no
longer hold: the locale count (14 -> 21), the EPG guide is not Plex-only,
downloads include music and are unavailable on tvOS, Picture-in-Picture
excludes the TV platforms, and shaders and ambient lighting need the mpv
backend. Footnotes move from numeric to named so adding one no longer
renumbers the rest.

Windows now points at the Microsoft Store listing instead of the direct
installer and portable archives. The App Store and Play badges carry
campaign tokens so README traffic is attributable in each store's own
reporting.

The prerequisite Flutter version matches the pinned toolchain (3.44.0), and
the Maestro end-to-end suite gets the pointer it never had.
2026-07-31 21:18:53 +02:00
github-actions[bot] dc5a92a2e0 chore: bump version to 2.11.1 2026-07-30 23:09:53 +00:00
edde746 d55b875855 fix(tvos): raise the system keyboard on arrival, not on every focus
Apple TV single-line fields moved to the engine's UITextField proxy in
2.10.0 (71735354), which made three focus behaviours user-visible.

Submitting re-attached the input connection. EditableText schedules a
restart when a submit action fires with a non-null onSubmitted, and that
microtask runs before the setState flipping readOnly, so the field
re-showed a keyboard the form had just dismissed. The native path now
withholds onSubmitted from EditableText and invokes it from the host,
independently of onEditingComplete as _finalizeEditing does.

Auto-open fired on every focus entry, so D-pad traversal of a multi-field
form raised and dismissed the modal system keyboard on each step.
TvTextInputAutoOpenBehavior gains onFirstFocus, and the new `automatic`
default resolves to it on Apple TV: arriving at a field opens it once,
returning to it does not. Android TV keeps its docked-IME auto-open, and
explicit modes stay literal on both. The autofocused Jellyfin and Seerr
URL fields keep an explicit exception so entering the screen still does
not bury the form (#1217).

EditableText.connectionClosed unfocuses the field outright, so a UIKit
keyboard dismissal left nothing focused at all. The host takes focus back,
keyed on identity with the field's own enclosing scope so a dialog or
route claiming focus meanwhile is left alone.

close #1728
2026-07-31 01:05:10 +02:00
edde746 944a8d89f5 feat(windows): package for the Microsoft Store as an MSIX bundle
The Store's unpackaged EXE path would require Authenticode-signing the
installer and every PE file inside it. MSIX submissions are re-signed by the
Store instead, so this route needs no code-signing certificate. build-msix.ps1
mirrors build-installer.ps1 and consumes the same per-architecture build
artifacts, leaving the installer, portable archives and WinSparkle appcast
untouched.

One template generates the manifest for both architectures, carrying the
identity reserved in Partner Center. check_windows_msix.py recomputes the
package family name from the publisher DN, so a mistyped identity fails CI
rather than a submission, and it parses the script rather than running it
because root CI is Linux. Qualified logo assets are indexed into
resources.pri; without the altform-unplated variants the shell draws the
taskbar icon on an accent-coloured plate.

PlatformDetector.isPackagedInstall gates the in-app updater and the Liberapay
tile, which the read-only package directory and Store commerce policy
respectively rule out. Gating at runtime keeps one Windows build feeding both
the installer and the Store package.
2026-07-30 20:03:04 +02:00
edde746 834895486b style: apply dart format to six drifted sources
Formatting was clean through 53288116 and then drifted across three commits on
2026-07-30: 1bf7aac7 left one source unformatted, f13f5af6 a second, and
daab4f1e four more. CI's Verify formatting job checks the whole tree, so it has
had six files to report ever since. No pre-commit hook is installed in this
checkout, so the aggregate check never ran locally to catch them.

Formatted with the dart_style revision Dart 3.12.0 bundles, which is what the
pinned Flutter 3.44.0 CI toolchain runs, rather than with a newer local SDK; the
two disagree about some argument-list splits. The current stable formatter
accepts this result as well, so both report the tree clean.
2026-07-30 14:57:26 +02:00
edde746 4c8272d5b1 refactor(trackers): drive Trakt through the tracker coordinator
Trakt was the one service outside the tracker abstraction. TraktScrobbleService
re-implemented the whole playback lifecycle beside TrackerCoordinator, and
TraktSyncService pushed watched state from its own WatchStateNotifier
subscription, so the player called two objects at every lifecycle point and one
watch could be written twice. TraktTracker now implements RealtimeScrobbleTracker
like Simkl; the duplicated player call sites collapse to one each, and Trakt
shares the coordinator's ID resolver instead of re-fetching show ids every
episode.

Capabilities are split so a tracker declares what it is rather than being
special-cased: ScrobblePolicy carries each service's own resend/seek rules,
EpisodeHistoryTracker names the remote row a per-item history write targets, and
SeriesProgressTracker covers one-counter-per-series services. Writes from all
four trackers go through a shared TrackerWriteQueue, generalised from the
Trakt-only queue, with the legacy Trakt payload migrated on load. Trakt becomes
the fourth TrackersProvider slot and TraktAccountProvider is deleted, so one
object owns the active session per profile.

Two failure paths found while consolidating are fixed here too.

The queue's retries only ran on profile bind, connect and app foreground, so a
network blip mid-session left queued watches waiting for the next foreground.
OfflineModeProvider now notifies on connectivity changes, not just offline-state
or WiFi-flag changes, and main.dart flushes the queue when the network returns.

The queue also counted every failure toward the five attempts that permanently
drop an item, so a rate limit or a service having a bad hour could discard a
pending watch - the loss the queue exists to prevent. Only an answer about the
write itself now spends an attempt: 4xx counts, while rate limits, 5xx,
recoverable token-refresh failures and requests that never arrived do not. A
back-off answer also defers that service for the rest of the flush, so a queue
holding many rows does not fire all of them at a service that just asked for
quiet.
2026-07-30 14:51:32 +02:00
edde746 5a25c1f9cc feat(simkl): report playback progress while it happens
Simkl only heard about an item once playback crossed the media server's
watched threshold, so stopping partway recorded nothing at all: no resumable
position, no watch. Drive Simkl's /scrobble/start, /pause and /stop from the
player lifecycle instead, carrying the measured progress. Seeks report
nothing, as Simkl asks.

The terminal stop owns watched state for in-player playback, so real-time
trackers are excluded from the threshold markWatched fan-out and one watch
never produces two writes. Progress is reported as measured — it doubles as
the user's resume position — so when a server threshold configured below
Simkl's own 80% rule would leave the watch unrecorded, the tracker records it
through /sync/history rather than inflating progress. Manual, container,
offline-replay and external-player marks keep using /sync/history. Only
/scrobble/stop accepts a 409, which is the sole action documented to return
one.

Reports go out one at a time because Simkl serialises scrobble writes per
user and fails queued ones with a 400; overflow sheds the oldest non-terminal
report so an episode swap cannot drop the previous item's stop. A playback
session is pinned to the account bound when it began and every send re-checks
that binding, so a profile switch or a disconnect/reconnect can neither
redirect a queued report nor misfile the watched fallback.

Also close the paths that lost the terminal report entirely: app exit flushes
it instead of dropping it, the desktop window button goes through the app
shutdown rather than exit(0), a detached VOD player reports a stop, and a
finished item reports completion at EOF instead of waiting for teardown. A
session that opened at 0% is still closed on stop, or Simkl keeps showing the
item as playing until its runtime elapses.

close #1719
2026-07-30 11:55:13 +02:00
github-actions[bot] 97cb98526e chore: update cask to 2.11.0 2026-07-30 01:44:55 +00:00
github-actions[bot] c90bc1629a chore: bump version to 2.11.0 2026-07-30 01:19:12 +00:00
edde746 88ffe0806d test(automotive): assert the picture-in-picture vetoes on every host
41ffaa7f2 gated picture-in-picture on FEATURE_AUTOMOTIVE and added a
settings case for it, but the assertion that case leads with — a stored
auto-PiP true surviving a read — needs supportsPictureInPicture() to be
true, and that gate ends in Platform.isAndroid || isIOS || isMacOS. The
term is false and unmockable on the Linux and Windows runners, so the
case passed on a macOS host and could never pass in CI: sanity checks
have been red for six commits on this one failure out of 4723. f13f5af6e
recorded it as a pre-existing Windows-host failure, but it entered in
this window and is red on Linux too.

Extract the gate's decision into a pure pictureInPictureAllowed that
takes the host's own capability as a parameter, the way
driver_distraction.dart already splits automotivePlaybackAllowed from its
ambient wrapper. The boolean algebra is unchanged, so the three callers
keep their behaviour; what changes is that the automotive and TV vetoes
become observable where every Platform branch is false, instead of being
vacuous on the host that gates the release.

The settings case keeps the pref-level contract on both host classes: a
stored true survives where the host supports PiP, and the gate pins it
off where it does not.

Verified with the host term forced false to emulate a Linux runner: both
files stay green, as does the full suite on macOS.
2026-07-30 03:16:49 +02:00
edde746 0a6865fa18 fix(macos): unbound the AVFoundation AO's PCM lookahead
MPVKit 1.0.15 bounded how far ahead ao_avfoundation enqueues PCM on macOS —
about 450ms of queue against the renderer's own ~1.7s — and disarms the feed
between refills, re-arming from a half-bound timer. 2.10 is the first release
to carry it: the AO pin went 1.0.12 to 1.0.16 over that release. #1711 reports
macOS audio skipping roughly every half second on 2.10 that 2.9.1 does not
have, and that bound is the only change to this path in the window, so restore
the renderer-owned depth 2.9.1 shipped. The option documents 0 as exactly that.

The AO itself stays. allowedAudioSpatializationFormats is a property of
AVSampleBufferAudioRenderer, and the compressed E-AC3 JOC sink lives there
too, while ao_coreaudio drives the HAL device and exposes no spatialization
control at all — CoreAudio is the fallback, not an alternative.

The cost is the latency the bound was added to remove: mpv multiplies --volume
into the samples as it hands them over, so a volume change stays inaudible
until the renderer queue drains. That is 2.9.1's behaviour, and the fix for it
belongs to the AO's gain domain rather than to how far ahead it may buffer.

Verified against the pinned MPVKit 1.0.16 libmpv on macOS: both option writes
are accepted, playback lands on ao_avfoundation and advances at 0.997x real
time. Runner's native suite passes.
2026-07-30 02:54:36 +02:00
edde746 27b994422c feat(player): optionally follow the server's per-episode track selections
With the new playback setting enabled, episode advance carries no audio or
subtitle preference at all, so both resolve from the streams selected on
the server for each individual episode. This serves setups that curate
selections server-side (e.g. Plex Auto Languages) and is independent of
"Remember track selections", which keeps gating only the write-back of
manual changes.

close #1717
2026-07-30 02:52:18 +02:00
edde746 daab4f1e24 fix(player): preserve the forced-subtitle class across episode boundaries
Plex treats a subtitle stream as forced when its title says "Forced" even
with the API flag unset. Every forced comparison now uses that effective
forced-ness on both sides: the match scorer, the low-metadata hard gate,
the Jellyfin OnlyForced/Smart profile modes, and stream-index negotiation.

Carrying a track choice into the next episode no longer reuses the
same-item identity matchers. A sealed SubtitlePreference (off / track
reference / semantic intent) replaces the id-'navigation' pseudo-track
through the whole preference channel, and cross-item intents hard-require
language and forced-class parity. When the next episode has no track of
the same class, the intent declines and selection falls through to the
server's own per-episode choice instead of latching onto a full track by
position and persisting that mistake back to the server.

Intents wait for pending native tracks under the same catalog-completeness
rule as source ids, so an early decline cannot retire the selection
listener before the real track arrives.

Ref #1716
2026-07-30 02:46:10 +02:00
edde746 f13f5af6e2 fix(images): scale artwork budgets to the physical display
Every artwork budget in the image pipeline was tuned for 1080p surfaces:
the transcode request clamp (1920x1080), the per-type decode caps
(poster 720x1080, thumb 960x540, heroLogo 1000x500, ...) and the TV
image-cache bytes. Those numbers are exact on phones and on the many TV
boxes that composite the app at 1080p, but a TV compositing at 4K
renders every capped image below its slot and GPU-upscales the result:
hero backdrops by 2x, hero logos by ~1.8x, wide episode thumbs by ~1.3x,
shelf posters by ~1.13x - the softness reported against the official
Plex client in #1697, and the class #860's min-2x-DPR fix could not
reach.

DevicePerformance now latches a display budget factor - the display's
shortest physical axis over 1080, capped at 2x - whenever the image
cache budget is applied (startup, post-mount, effects-setting changes).
The transcode clamp, the full-tier decode caps and the TV cache bytes
all scale by it, so a 4K surface fetches and decodes 4K backdrops and
proportionally larger cards. The reduced tier stays pinned to 1.0, and
sub-2.5GiB hardware holds the factor at 1.5 so full-budget 4K art
(~33MB per decode) cannot starve mid-RAM boxes; latching once per
session keeps transcode URLs - and with them the disk cache keys -
stable across rotation and rebuilds.

Whether a given TV composites at 1080p or 4K decides whether any of
this can help, and logs never recorded it: the startup banner and the
log-upload header now carry a display line (physical, logical, DPR,
latched budget) so uploaded logs answer that question directly.

The two pre-existing Windows-host test failures (automotive auto-PiP
gate, backdrop temp-dir teardown lock) reproduce unchanged on the base
commit.
2026-07-30 01:40:24 +02:00
edde746 1bf7aac75b fix(explore): match Plex Discover titles to the library again
Two defects sank Explore's Plex integration. Discover started rejecting
X-Plex-Container-Size=500 with a 400, so the watchlist membership
snapshot never loaded: hearts stayed unknown and toggles dead. The
snapshot now pages at 100, and getWatchlist refetches a rejected page in
chunks of the row fetch's field-proven 25, so the next cap drift degrades
gracefully instead of failing and callers' offset math survives either
way.

Worse, every Plex catalog item reached the library matcher carrying only
its Discover rating key: listings were fetched without includeGuids, so
the lookup rested entirely on exact plex:// guid equality between two
metadata universes (Discover duplicate entries break it, notoriously for
anime), and the title fallback can never confirm a candidate without
external ids to intersect - "Not in your library" for owned titles the
MAL provider matched fine. Discover listings now request Guids, the
detail screen re-runs the matcher when enrichment gains id forms
(generation-guarded so the slower bare lookup cannot overwrite the
richer verdict), the matcher keys its memo by id fingerprint so the poor
form's cached negative cannot answer for the rich one, and the Plex
client stops burning title requests that external-id verification is
guaranteed to reject.

Discover requests are now logged like every other API surface; this bug
shipped blind because they were not.

close #1715
2026-07-30 01:33:46 +02:00
edde746 53288116fe fix(explore): size catalog detail relations, ratings and facts to their content
Four sections of the catalog detail screen spent more room than their data
justified.

Franchise relations drew one hub shelf per label. Real payloads make that
absurd: MAL returns twelve relations for Attack on Titan across six labels,
and "Side story" and "Sequel" each hold exactly one title, so each spent a
header, a scroll row and one card. Flatten the labelled groups into one
"Related titles" section of compact rows — poster thumb, label, title and year
— that flow into columns on wide viewports. D-pad moves through the grid by
index and still hands off to the cast strip above and the recommendations
shelf below, which keeps its shelf because taste-based recommendations are
meant to be browsed.

Drop the MAL picture gallery. It was a horizontal strip of unfocusable poster
variants of the title you are already looking at, and it cost a page-height of
scroll; the `pictures` field comes back out of the detail request with it.

Draw attributed scores behind their own brand mark where the source has one,
the way the media detail screen already does: Rotten Tomatoes fresh/rotten and
upright/spilled, IMDb and TMDB, each on the scale that source publishes.
Sources with no mark (critic, audience, tracker scores) keep their written
label. Plex's own badge state is derived from the 60% tomatometer threshold it
encodes in `image.rating.ripe`.

Flow the definition rows — original title, studios, country, budget, box
office, crew — into two or three columns once the window is wide enough.
A 1440-wide window drew a 140-pixel label, a short value and 1,000 pixels of
nothing per fact.

Verified against live MAL and Plex Discover payloads on macOS: the Attack on
Titan page drops from 4,082 to 2,115 logical pixels, Dune: Part Two from 1,282
to 1,154.
2026-07-30 01:01:38 +02:00
edde746 644c782edd fix(player): tick the frame-clock keep-alive only on Linux
The 1x1 keep-alive repaint loop was extended to Windows in a87aa296 to
paper over the legacy compositing path's resize desync (#227); the DComp
rework replaced that presentation path entirely. On the DComp engine the
100ms repaints become DirectComposition commits during playback, and
once fullscreen focus engages VRR (FreeSync/G-Sync) every commit forces
a scanout off the video's cadence - the micro-stutter of #1707.

The widget now owns the platform decision behind a test seam, and a new
quiescence test pins the hidden-chrome player UI to zero scheduled
frames so no future ticker can silently reintroduce the defect.
2026-07-29 19:04:57 +02:00
edde746 27acbaf435 feat(explore): surface the catalog data providers already return
Explore shelf cards drew a poster, a title and a year. An audit of all six
catalog sources found the rest was lost at two boundaries — the wire-to-DTO
mapping and the DTO-to-CatalogItem mapping — and then simply not drawn: the
grid card fell through every branch of buildMetadataSubtitle to the year-only
case, while the list card used by search already composed certification,
runtime and rating from fields the synthesized MediaItem already held.

Extend CatalogItem with the neutral facts every provider had been dropping:
attributed rating sources, leaderboard ranks that keep their season window,
audience counters that keep their timeframe, broadcast slots, next-episode air
times, server availability and request state, exact release dates, alternate
titles, format, source material, studios, countries, languages, credits, tags,
links, artwork variants, play state, gallery art and background prose. Replace
fetchCast and fetchRelated with one fetchDetail returning the enriched item,
its cast, its recommendations and labelled franchise relations without adding
a request: sources needing two calls keep two and run them concurrently with
isolated failures.

Map those fields in all six sources, widening only field selections that cost
no extra round trip — MAL's fields list, AniList's selection set and a bounded
row cast that lets detail skip its character call, Trakt's guest stars, Seerr's
language parameter and TMDB size ladder, and Plex's includeUserState. Plex hub
artwork widens only on TV, where the spotlight is its only consumer, because it
doubles the payload.

Render them: a rating-first caption and bounded badges on the shelf card,
labelled sections on the detail screen, provider hub styles and result counts
on shelves, and logo, banner and accent art in the TV spotlight.

Verified against live Plex, AniList, Simkl and MAL responses, and on a Pixel 7.
2026-07-29 06:47:54 +02:00
edde746 0ef71e6489 feat(file-info): detail every version, file and stream the server reports
The sheet collapsed an item to `Media.first` / `MediaSources.first` and
rendered a fixed set of rows, so split files, extra versions, per-track
properties, HDR classification and Dolby Vision were all invisible.

Model the payload the way both servers shape it — versions own parts,
parts own streams — and project every property either backend populates
onto `MediaStreamDetails`. The field set comes from sweeping both test
servers in full through the clients' own request shapes (Plex 6842
Media / 6842 Part / 39864 Stream entries, Jellyfin 6349 sources / 37763
streams / 61224 attachments), so file presence, Dolby Vision layers,
dynamic range, sample rate, spatial audio, sidecar provenance, embedded
attachments, rotation and the lyric stream type all survive. A coverage
test fails when a server key is neither carried, folded into a sibling,
nor excluded with a reason.

File Info also stopped trusting the shared `/library/metadata/{id}`
cache row: `getPlaybackExtras` writes it without `includeStreams` /
`checkFiles`, so the sheet could render with no stream table at all.
Detect that shape and refetch once under the request context captured
before the cache read, so the outgoing token and the cache namespace
stay on one profile.

Rework the layout to match: a summary chip row, then flat tonal cards
with a two-column field grid that collapses to one column on narrow
viewports, per-stream cards with flag chips, and a copyable monospace
path row. The card fill is a tonal step off the text colour rather than
the `bg` token, which is one shade from the sheet surface on OLED.
2026-07-29 05:19:27 +02:00
edde746 69ceea9466 fix(android): grant shelf artwork to every installed launcher
The Watch Next poster art moved to a local content:// URI in 2.10.0, gated
twice on the package returned by resolveActivity(MAIN+HOME,
MATCH_DEFAULT_ONLY): once as the grantUriPermission target, once as a
caller-identity check inside SystemShelfArtworkProvider.openFile. Any
launcher that is not the resolved default HOME activity was denied on every
image and drew its broken-image placeholder instead. Fire OS pins its own
launcher and silently reverts a third-party default, so Projectivy could
never satisfy either gate; a device with several launchers and no chosen
default resolves to the resolver activity and granted nobody at all.

Discover consumers with queryIntentActivities(MAIN+HOME, MATCH_ALL) so every
installed launcher is granted, drop the hand-rolled identity check, and make
the provider non-exported so the framework enforces the per-URI grants that
are now the only access path. Because those grants became load-bearing,
grantReadAccess reports failure per poster and the sync rolls back rather
than committing a row no launcher can open.

close #1706
2026-07-29 05:12:28 +02:00
edde746 f02924b9a5 fix(player): require a fresh double tap for every mobile skip-zone seek
The skip badge doubled as an armed state: while it was up, any single tap
in the same-direction zone seeked again. The badge is also raised by
keyboard, D-pad, media-transport and live seeks, so one remote press armed
one-tap seeking on the touch surface with no double tap at all. It stayed
armed for 1200 ms plus the fade and renewed on every tap, leaving the side
zones - 35% of the width each, over 70% of the height - unable to raise
the chrome.

Pair taps off the pending single-tap timer rather than differencing
DateTime.now(). The window is then one deadline that a clock adjustment
cannot stretch, suppressing touch taps disarms a half-finished pair, and
_lastSkipTapTime belongs to the desktop double-click paths alone.

Consecutive completed skips still accumulate into one running badge total.
2026-07-29 05:05:40 +02:00
edde746 f3795d49eb feat(player): answer transport keys with transient indicators, not the chrome
Pressing pause or seeking while the player's on-screen controls were hidden raised
the entire OSD, covering the subtitles the viewer was rewinding to read. Transport
keys now answer with a transient indicator and leave the chrome down; Select,
D-pad Center and a centre tap remain the deliberate way to bring the controls
back.

Play/pause confirms with an icon-only translucent disc at the centre of the frame,
72px around a 44px glyph, which grows and fades in, holds half a second at rest,
then runs the same motion in reverse. Seeking shows the amount plus a single
chevron on the same line at the edge it travels toward, with no backdrop at all:
anything large enough to read as a surface is large enough to cover picture and
subtitles, so legibility comes from shadows instead. Only the chevron moves, and
it eases outward across most of its cycle and returns briefly, holding a visible
opacity floor rather than blinking out. Type is scaled per platform, since a
television is read from across the room. The existing text pill stays for genuine
notices - rate changes, chapter titles, zoom, errors - because an earlier centred
pill overlapped ASS \an8 subtitle placement, which is the readability complaint
this feedback exists to answer.

Every relative seek entry point now shares one coalescing primitive. The keyboard
shortcuts fell through to KeyboardShortcutsService and previously reported
nothing, and both they and the remote's chapter fallback rebased each press off
player.state.position, so a burst against a slow backend pinned every request near
one step while the indicator climbed to a total that was never committed. A
released key commits its pending target immediately and resets the acceleration
tier, including on live TV where seeks bypass the accumulator. A chapter seek with
nowhere to go, past the last chapter or already at the start, no longer announces a
jump it does not perform.

Rewind-on-resume follows the resolved intent rather than the current state, so a
directed pause on an already-paused video neither resumes nor rewinds. Indicators
carry their own liveRegion semantics nodes: their labels previously merged into the
full-screen "show playback controls" target, corrupting its accessible name, and
they keep announcing "Paused"/"Playing" and the seek amount from icon-only visuals.

close #1676
2026-07-29 04:24:04 +02:00
edde746 0eee9f688d fix(explore): match sequel catalog entries to their parent library show
MAL/AniList season entries never matched the library show they belong to.
Both backends use the catalog title as a server-side filter before verifying
external ids, and a title like "Mushoku Tensei: Jobless Reincarnation Season 2"
cannot reach a show stored as "Mushoku Tensei: Jobless Reincarnation". Measured
against a 267-show Plex library, 3 of 113 mapped sequel entries matched.

The reverse lookup now takes two ordered title candidates instead of one: the
entry's own title and its season-stripped form, with typographic punctuation
normalised because both servers miss on a curly apostrophe. That matches 77 of
113. Widening it further to romaji/native/synonym variants reached only 81, so
the cap stays at two rather than spending up to five more requests per lookup
that finds nothing.

A sequel's year is its own season's, not the parent show's, so the +/-1 year
window is dropped for one - it would exclude the very show being looked for.
That also keeps a miss at the two requests the single-title lookup already
spent. A Plex Discover item additionally skips the title search entirely by
filtering on the plex:// guid its own rating key already is, which costs no
extra request and needs no cloud lookup.

A season 2+ entry only matches when the server really has that season, which
costs one children fetch on a match. Only a season both TVDB and TMDB agree on
is gated: which provider a library numbers its seasons by is a server setting
no dataset supplies and none of it is inferable from the ids an item exposes,
so a disagreeing reference is left ungated rather than gated on a guess.

The match cache is keyed per source and per entry rather than by canonical id,
which every season of a series shares: all five Mushoku Tensei entries collapse
to imdb:tt13293588, so one season-gated result would have poisoned the rest.

Entries whose Fribb row carries no provider id at all remain unmatched. That is
an upstream mapping gap, not something to guess around with extra lookups.

close #1704
2026-07-29 01:35:35 +02:00
edde746 1165998dae fix(windows): elevate the installer when the install directory is read-only
PrivilegesRequired=lowest makes Inno Setup "always run in non
administrative install mode" — the launching token is irrelevant. So a
copy that ended up in C:\Program Files, which the destination page still
lets an elevated wizard run pick, is registered under HKCU while living
somewhere an ordinary process cannot write. UsePreviousAppDir then aims
every later run straight back at that directory.

WinSparkle launches the downloaded installer with plain ShellExecuteEx
and no verb, so nothing along the in-app update path ever asks for
elevation: the silent installer starts, cannot replace a single file, and
the only way out was to quit Plezy, fetch the installer by hand and pick
"Run as administrator". Inno's own PrivilegesRequiredOverridesAllowed
plus UsePreviousPrivileges does not help here, because it reads the
recorded install mode — which is exactly the non-administrative one that
cannot write.

Decide on write access instead. InitializeSetup probes the registered
install directory and, when it is not writable, relaunches setup through
ShellExec 'runas' pinned to that directory with /ALLUSERS, so the update
lands in place instead of forking a second per-user copy. The relaunch
carries a guard parameter and drops any conflicting mode override, and a
refused UAC prompt now explains itself and points at the releases page
rather than failing mutely. A machine-wide install that takes over a
per-user directory also clears the stale uninstall entry and Start Menu
group that would otherwise list Plezy twice in Apps & Features.

Fresh installs are unchanged: still per-user, still no prompt. Only
commandline is added to PrivilegesRequiredOverridesAllowed, since
allowing dialog would make a silent install with no previous copy stop
for the install-mode question — which is how winget installs.

The script carried two near-identical copies of the whole .iss, one per
architecture shape, so both would have needed this code. Collapse them
into one template parameterised by architecture, add -EmitScriptOnly to
generate the .iss without 7-Zip or Inno Setup, and guard the contract
with check_windows_installer.py so the elevation path, the single-source
AppId and the winget marker cannot rot.

close #1705
2026-07-28 23:57:59 +02:00
edde746 726dfc6507 fix(android): finish the item when ExoPlayer never ends playback
media3 reports STUCK_PLAYING_NOT_ENDING when the player sits in STATE_READY
past the declared duration with no renderer ending. On a tunneled MTK decoder
the clock ran a full minute past the last frame behind a black screen, so the
item never completed: no Play Next, no auto-play, and a "playing" timeline the
server kept extrapolating past the item duration.

Treat that report as the end of the file when the rendered-frame counter has
stopped as well, which separates a finished file from a container that
under-declares its duration and is still painting. The terminal event is shaped
like the STATE_ENDED one and pins the timeline at the duration first, so the
completion flow cannot mistake it for a stream that died mid-file. Shorten the
detection window to media3's stuck-playing default, and clamp a backend
hand-off to just inside the media so a fallback can no longer resume MPV past
the last frame and park there without reporting it.

close #1673
2026-07-28 23:53:52 +02:00
edde746 41ffaa7f2b fix(automotive): stop playback while a vehicle restricts the app
Plezy declares appCategory="video", so on Android Automotive OS it is a
parked app bound by car app quality DD-2/DD-3: audio must stop when the
vehicle starts driving and must not be resumable while driving. Two paths
kept audio alive. Music playback ran under a mediaPlayback foreground
service whose lifecycle observer was registered for Apple TV only, so it
never paused when Android backgrounded the app. Video pausing hung off
AppLifecycleState.hidden, which Flutter only synthesizes once Android
delivers onStop; a car without the Automotive compatibility mode delivers
onPause alone, which maps to AppLifecycleState.inactive and the player
ignored.

Gate every path that can start audio on a new lifecycle predicate,
automotivePlaybackAllowed, which permits playback on a car only while the
app is resumed and fails closed on an unknown lifecycle state. That covers
explicit play, gapless arming and track transitions, live retry and
channel switch, frame-rate-match resume, VOD/live startup, and the queue
navigation commands of the OS media session, plus a last-resort pause for
when the platform player resumes itself on native audio-focus regain.
Playback authority on the media-session router is deliberately left alone:
the router consumes a denied event, so gating it would swallow PauseEvent
and leave the OS unable to stop audio. Reacting to lifecycle callbacks is
the mechanism the platform documents as sufficient, so no android.car
dependency is added.

The music queue no longer requests POST_NOTIFICATIONS on a car, where the
foreground service and its notification never start: there is nothing to
authorize, and the prompt would take focus and make the gate discard the
first play intent.

Detect the form factor too: FEATURE_AUTOMOTIVE now vetoes the Android TV
verdict, so a rotary-only head unit no longer inherits the leanback
experience. Picture-in-picture is gated on FEATURE_PICTURE_IN_PICTURE,
which cars lack, so the app's UI cannot stay on screen while driving, and
nothing forces a preferred orientation on a fixed-orientation display.
2026-07-28 23:28:25 +02:00
edde746 8aa836d106 ci(android): gate name-based reachability on an R8-minified variant
R8 only ever ran on `release`, so every automated gate in this repository
exercised code the shipped APK does not contain. Reflective lookups, JNI
callbacks and native library loading can all break under shrinking while
`flutter test`, the Robolectric suites and `connectedDebugAndroidTest`
stay green — which is exactly how #1703 shipped, with the bundled FFmpeg
audio renderer shrunk out of release builds for TrueHD and DTS-HD.

Add a `minified` build type that inherits release's shrinker
configuration but stays debuggable and debug-signed, so it is an ordinary
test artifact and never a publishable one. Three integration details
took a run each to find: the Flutter plugin copies app build types into
every plugin module, so library-level shrinking deleted the plugin entry
points that only GeneratedPluginRegistrant references; the harness must
not be shrunk or the runner disappears; and androidx.test has to survive
in the app under test, or the runner cannot link its own supertype and
the run reports zero tests instead of failing.

Instrumentation still defaults to `debug`, because only one build type
can host androidTest and the existing playback suites drive media3
builder APIs the app never calls, which R8 shrinks legitimately. The new
reachability test opts into the minified variant instead and touches no
builder API, so the only keeps it depends on are the ones under test.
Emptying proguard-rules.pro was verified to fail it.
2026-07-28 20:13:40 +02:00
edde746 a183c17c3b fix(android): derive the mpv fallback passthrough list from the audio route
Audio passthrough defaults on for Android TV, scoped to ExoPlayer because
mpv force-passes through every codec named in audio-spdif and has no
decode fallback. That scoping did not survive the ExoPlayer to mpv
handoff: PlayerAndroid queued the raw ac3,eac3,dts,dts-hd,truehd list as
a pending mpv property and prepareMpvFallback replayed it verbatim, so a
sink that bitstreams only Dolby formats was told to force TrueHD and
DTS-HD anyway. mpv selected spdif_truehd, the audio output never
initialised, and playback froze at its start position while still showing
a first frame — the stop timeline reported the position it opened with.

Treat passthrough as a request and resolve the codec list against the
route when mpv actually starts, so an HDMI or AVR change between
ExoPlayer startup and the handoff cannot replay codecs from the old sink.
Gate each codec on the exact advertised encoding rather than media3's
passthrough probe: that probe answers DTS-HD by downgrading to the DTS
core, and mpv reads "dts,dts-hd" as "dts-hd" alone, so accepting the
downgrade would name DTS-HD MA to a core-only receiver and lose DTS too.
2026-07-28 19:44:16 +02:00
edde746 ae331b217c fix(android): keep the FFmpeg audio decoder through R8
Flutter enables minification for every release build, and nothing but a
keep rule reaches androidx.media3.decoder.ffmpeg. DefaultRenderersFactory
instantiates FfmpegAudioRenderer with Class.forName, media3's consumer
rules only -keepclassmembers its constructor, and this project had no
proguard-rules.pro at all, so R8 shrank the renderer out of the shipped
dex and the reflective lookup failed with ClassNotFoundException. The
same pass dropped FfmpegAudioDecoder.growOutputBuffer, which ffmpeg_jni
resolves in JNI_OnLoad and whose absence fails the whole
System.loadLibrary("ffmpegJNI") call.

Release builds therefore lost every codec that decoder adds. TrueHD and
DTS-HD fell through to MediaCodecAudioRenderer, which has no decoder for
them, so a 4K Dolby Vision file died with NO_SUITABLE_DECODER_ERROR and
handed off to the mpv fallback — losing ExoPlayer's Profile 7 to 8.1
conversion on hardware that could have direct-played it. Only debug
builds, where R8 never runs, exercised the working path.

Keep the package and the type named in the JNI callback descriptor, and
guard the invariant so it cannot silently rot again: check_shrinker_rules
fails when an app class in a reflected namespace, a FindClass target, a
native callback member, or a descriptor type has no keep covering it.
Also record the built audio renderers, because whether the extension
loaded is otherwise indistinguishable in an uploaded log.

close #1703
2026-07-28 19:44:04 +02:00
edde746 8d0fe73ced fix(jellyfin): bound the series last-played pass with one shared deadline
The scoped lookups run in sequential batches, and MediaServerHttpClient
applies a per-call timeout to connect and receive separately. A silent
endpoint therefore cost up to two request timeouts per batch, and six
batches of that outlast the single request the scoped form replaced —
the enrichment could hold Continue Watching longer than the query it was
introduced to fix.

Give the pass one deadline instead of a per-batch check. It aborts the
in-flight batch and is also raced client-side, because aborting only asks
the transport to stop and not every client honours abortTrigger. Whatever
phase a lookup is stuck in — silent connect, delayed headers, stalled
body — the pass now ends at the deadline with whatever dates it has.
2026-07-28 18:05:10 +02:00
edde746 126f5e3aa6 fix(jellyfin): auto-select direct-played embedded subtitles
Plezy's device profile declares every subtitle format with
`Method: External`, so Jellyfin answers PlaybackInfo with
`DeliveryMethod: External` and a `DeliveryUrl` even for streams embedded
in a direct-played container. Direct play never fetches those URLs, but
the rows kept the delivery URL as `MediaSubtitleTrack.key`, and keyed
rows only match a native track loaded from the same URL. No embedded
track could satisfy that, so `selectSubtitleTrack` reported "still
pending" forever: playback started with subtitles off and logged the
five- and thirty-second waits, and the server's default subtitle had to
be picked by hand on every item.

Restrict sidecar identity to the rows an open actually fetched as
sidecars. A row that stays in the container loses `key` and
`usesExternalDelivery` and matches on metadata again; genuine
`IsExternal` files keep theirs, and remuxed or transcoded renditions
still resolve their sidecars by URL.

Also declare every subtitle format Embed-first so a direct-played
container reports embedded delivery in the first place, and make the
pending contract match its purpose on every backend. The
complete-catalog escape is no longer Plex-only, so a Jellyfin row the
native player has not produced keeps the pass pending instead of
committing an unrelated default and retiring the listener that was
waiting for the real track. A source id absent from the catalog no
longer defers a decision that can never change, and the thirty-second
deadline resolves from what has arrived instead of re-deriving the same
deferral and applying nothing.

close #1696
2026-07-28 15:22:23 +02:00
edde746 19542e57f4 fix(jellyfin): scope the continue watching last-played lookup per series
The Next Up shelf dated its rows from one server-wide
`/Items?SortBy=DatePlayed&Recursive=true` scan. Jellyfin 12.0-rc3 builds
that sort key by OR-ing an item's own progress with its alternate
versions' (`ItemId == e.Id || Item.PrimaryVersionId == e.Id`,
jellyfin/jellyfin#17044), which no index can serve, so the user's whole
UserData table is scanned per sorted row. Measured on identical
10,120-item libraries, that scan cost 25ms on 10.10.7 and 5.8-13.3s on
12.0-rc3 while pegging a core, so it blew the call's 10s budget and
starved every other client of the server for tens of seconds. Upstream
fixed the order mapper after rc3 in jellyfin/jellyfin#17422.

Ask each pending series for its own newest played episode instead:
`ParentId` bounds the sort input to that series, and the same 21 series
now resolve in 1.5s against the rc3 server with byte-identical dates.
The lookups run four at a time under a shared wall-clock budget and a
short per-request timeout, so a silent endpoint costs less than the one
default-budget request this replaced, and a `count: null` shelf can no
longer fan out one request per started series. Endpoint failover stays
off so a slow enrichment row cannot move the client off a working
endpoint.

close #1699
2026-07-28 11:39:58 +02:00
edde746 3b019c8fe2 fix(artwork): show square background art on portrait heroes
Cycling backdrops reach a fallback path only once every rotating path
has failed to load, but every hero passed the rotation-agnostic backdrop
list as the rotation set and the aspect-ordered candidates as the
fallback. One servable wide backdrop was therefore enough to hide the
square background for good, so phone detail and Discover heroes
cover-fitted a 16:9 backdrop into a portrait box instead of showing the
square image Plex supplies.

Give the rotation set the same aspect-aware preference the candidate
list already has: near-square containers rotate the square background
alone and keep the backdrops behind it as fallbacks.

close #1700
2026-07-28 10:31:18 +02:00
edde746 9a0e96114f feat(explore): search the active catalog source from the Explore page
Explore only reached search through an app-bar icon that pushed a separate
screen. Touch and pointer builds now carry the field inline under the app
bar: results replace the shelves while the query is non-empty and the
shelves return when it clears. TV keeps pushing CatalogSearchScreen, since
a text field cannot share the spotlight scaffold with the bottom-pinned
browse rail and the on-screen keyboard.

Pull-to-refresh and the toolbar refresh action re-run the live query
instead of reloading hidden rows, and switching catalog source re-runs the
query against the new source rather than leaving the previous source's
results under its name.
2026-07-28 06:14:03 +02:00
edde746 82d6c5d555 fix(explore): render Plex Discover home shelves
Plex Explore showed only the Watchlist row. `/hubs/sections/watchlist`
answers with placeholder hubs — every entry carries `placeholder: true`,
`size: 0` and no `Metadata` — so `fetchHubs` mapped each one to an empty
page and dropped all of them. That is true no matter what the profile has
watchlisted; the shelves never rendered.

Read `/hubs/sections/home` instead, the section Plex's own web client
renders on its Home > Trending tab, and hydrate each placeholder from its
own key (six at a time). `directory` shelves list browse categories and
`clip` shelves list trailers, neither of which becomes a catalog item, so
they are skipped before spending a request. A shelf that fails degrades to
the ones that succeeded; a pass where every shelf failed still throws.

Discover ignores container offsets on hub keys and truncates with `limit`
instead, so a hub is one page: View All takes the whole shelf in a single
request rather than replaying page one, and hub requests drop `Media` and
`Image` elements the catalog layer never reads.
2026-07-28 05:26:37 +02:00
edde746 53535e1678 fix(jellyfin): percent-encode the MediaBrowser auth header
Since real device names started reaching the header, an accented one
made login impossible: dart:io refuses header values above 0x7F, and
CFNetwork puts the raw code unit on the wire as a Latin-1 byte, which
Kestrel rejects as a malformed request with 400 before Jellyfin routes
POST /Users/AuthenticateByName.

Encode every field the way the official Jellyfin SDK does; the server
already reverses it with WebUtility.UrlDecode, so the wire value stays
pure ASCII while the device list shows the real name. Quotes, commas
and `=` no longer need stripping either. sanitizeHeaderValue, which
still guards the Plex headers, now folds Latin letters to their base
form instead of emitting bytes no transport accepts.

close #1685
2026-07-28 05:07:00 +02:00
edde746 31b3689740 fix(settings): list external players only when they are installed
Detection now runs off the UI isolate and covers every platform where
the answer can be trusted.

Availability was a plain platform check, so Linux always listed VLC, mpv
and Celluloid, macOS always listed VLC and IINA, and Windows always
listed VLC and PotPlayer whether or not any of them existed. Each player
now has a detector that asks exactly the question its launcher asks:
`sh -c 'command -v'` for PATH launches so the kernel performs the
executable check, NSWorkspace/Launch Services for `open -a`, `where.exe`
plus the concrete install paths for Windows VLC, and the registered URL
handler for PotPlayer and the iOS players.

Detection is asynchronous and memoised behind KnownPlayers.probe rather
than a Process.runSync in a static initialiser, which forked three
shells on the UI isolate during ExternalPlayerScreen.build. It is
prewarmed from startup, fails open when a probe throws, and keeps the
selected player listed when a detector misses it so a false negative
cannot leave the list with nothing selected.

iOS and tvOS gained LSApplicationQueriesSchemes entries for vlc and
infuse. Without them canOpenURL returns false for both schemes, so
_launchUrlScheme was already refusing to hand off to either player.

Android keeps the platform check: package visibility needs native
declarations, and a wrong answer there hides a working player.
2026-07-28 04:38:33 +02:00
aldobarrandedde746 9cd486f5a2 Guard linux is available around actually installed linux commands. 2026-07-28 04:38:33 +02:00
edde746 1be982f43d fix(watch-together): re-host an abandoned room code instead of joining it
A room whose peers have all left is a code nobody is using, but the relay
kept it bound to the creator's reconnect capability and rejected every
other create with room_exists. The app compounded it: enterRoom only
promoted to host on room_not_found, so tapping a recent code landed the
user in the retained room as a guest of a host that was never coming
back, until the cleanup sweep finally dropped the room.

Create now replaces a room with no connected peers, and enterRoom hosts
the code when its probe join finds an empty room. An occupied room still
rejects create, including from its previous owner, and a host that is
merely disconnected still reclaims its peer ID through join with the
matching token.
2026-07-28 03:30:32 +02:00
edde746 314fec5383 fix(relay): mint five-character log ids again
A 25-character upload capability is unreadable over the phone or in a
support thread, which is the only way these ids are ever exchanged.
Lookups stay bounded by the per-source failed-lookup limiter and the
three-day expiry, and ids minted at the longer shape are retired on the
next startup because they no longer match the store's filename shape.
2026-07-28 03:30:32 +02:00
github-actions[bot] fd136f55f9 chore: update cask to 2.10.0 2026-07-27 23:11:05 +00:00
542 changed files with 57229 additions and 5813 deletions
+72
View File
@@ -466,6 +466,63 @@ jobs:
shell: pwsh
run: flutter build windows --release ${{ env.RELEASE_DART_DEFINES }} --dart-define=SENTRY_DIST=github-windows-${{ matrix.arch }} --split-debug-info=debug-info/windows-${{ matrix.arch }}
- name: Verify Windows bundle contents
shell: pwsh
run: |
$bundleDir = "build/windows/${{ matrix.arch }}/runner/Release"
if (-not (Test-Path -LiteralPath $bundleDir -PathType Container)) {
throw "Windows bundle directory does not exist: $bundleDir"
}
$bundlePath = (Resolve-Path -LiteralPath $bundleDir).Path
$foundFiles = @(
Get-ChildItem -LiteralPath $bundlePath -File -Recurse |
ForEach-Object {
$_.FullName.Substring($bundlePath.Length + 1).Replace('\', '/')
} |
Sort-Object
)
Write-Host "Files found in ${bundleDir}:"
$foundFiles | ForEach-Object { Write-Host " $_" }
$requiredFiles = @(
"plezy.exe"
"flutter_windows.dll"
"sqlite3.dll"
"libmpv-2.dll"
"data/app.so"
"data/icudtl.dat"
"data/flutter_assets/NativeAssetsManifest.json"
)
$forbiddenFiles = @(
"plezy.lib"
"plezy.exp"
"simdutf.lib"
)
$bundleErrors = @()
foreach ($file in $requiredFiles) {
if ($foundFiles -notcontains $file) {
Write-Output "::error::Required Windows bundle file is missing: $file"
$bundleErrors += "missing $file"
}
}
foreach ($file in $forbiddenFiles) {
if ($foundFiles -contains $file) {
Write-Output "::error::Forbidden link by-product is present in the Windows bundle: $file"
$bundleErrors += "present $file"
}
}
# sentry.dll is the inproc-backend native SDK; crashpad_handler.exe is
# intentionally absent (windows/CMakeLists.txt sets
# SENTRY_NATIVE_BACKEND=inproc), so do not assert on it here.
if ($bundleErrors.Count -gt 0) {
throw "Windows bundle verification failed: $($bundleErrors -join '; ')"
}
- name: Upload symbols to bugs.plezy.app
if: github.repository == 'edde746/plezy'
shell: pwsh
@@ -528,6 +585,11 @@ jobs:
- name: Build installer and portables
run: .\windows\build-installer.ps1 -X64BuildDir "build-x64" -Arm64BuildDir "build-arm64" -Version "${{ steps.version.outputs.version }}"
# Unsigned on purpose: the Store re-signs the bundle during
# certification. See windows/build-msix.ps1.
- name: Build Store package (MSIX)
run: .\windows\build-msix.ps1 -X64BuildDir "build-x64" -Arm64BuildDir "build-arm64" -Version "${{ steps.version.outputs.version }}"
- name: Sign installer for WinSparkle (EdDSA)
if: env.SPARKLE_PRIVATE_KEY != ''
env:
@@ -558,6 +620,7 @@ jobs:
plezy-windows-x64-portable.7z
plezy-windows-arm64-portable.7z
plezy-windows-installer.exe
plezy-windows.msixbundle
- name: Upload x64 portable
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
@@ -580,6 +643,15 @@ jobs:
win-ed-signature.txt
win-installer-size.txt
# Deliberately not attached to the GitHub release in create-release: a
# Store-identity package cannot be installed without the Store's
# certificate, so it is only useful as a Partner Center upload.
- name: Upload Store package
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
with:
name: windows-msix
path: plezy-windows.msixbundle
build-linux:
needs: validate-trusted-ref
name: Build Linux (${{ matrix.arch }})
+17
View File
@@ -147,6 +147,14 @@ jobs:
working-directory: packages/wakelock_plus
run: flutter test --platform chrome --dart-define=WEB_PLUGIN_TESTS=true test/wakelock_plus_web_plugin_test.dart
# The vendored atomic-write patch has to keep the upstream contract, not
# just the new behaviour. Upstream's own suites are the check for that.
- name: Run the vendored desktop preference store tests
run: |
for pkg in shared_preferences_linux shared_preferences_windows; do
(cd "packages/$pkg" && flutter pub get --enforce-lockfile && flutter test)
done
android-test:
name: Android JVM and Native Tests
runs-on: ubuntu-latest
@@ -471,6 +479,15 @@ jobs:
shell: pwsh
run: flutter pub get --enforce-lockfile --no-example
# Windows replacement semantics (`MoveFileExW` with
# MOVEFILE_REPLACE_EXISTING) cannot be proven on the POSIX runners, and a
# memory file system proves nothing about either. The vendored
# shared_preferences_windows store write is the fix for #1732, so exercise
# it here, on a real NTFS volume, against the real backend.
- name: Run the vendored Windows preference store tests
shell: pwsh
run: flutter test test/services/prefs_store_atomic_write_windows_test.dart
- name: Install patched Flutter engine
shell: pwsh
run: |
+18 -1
View File
@@ -197,6 +197,22 @@ jobs:
-no-boot-anim -camera-back none
script: python3 scripts/run_maestro_ci.py android-15-instrumentation
- name: Run Android R8 reachability
id: api35-r8
continue-on-error: true
uses: reactivecircus/android-emulator-runner@a421e43855164a8197daf9d8d40fe71c6996bb0d # v2
with:
api-level: 35
arch: x86_64
profile: pixel_6
avd-name: maestro-api35-instrumentation
force-avd-creation: false
disable-animations: true
emulator-options: >-
-no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio
-no-boot-anim -camera-back none
script: python3 scripts/run_maestro_ci.py android-r8-reachability
- name: Run Android 15 suites
id: api35
continue-on-error: true
@@ -299,9 +315,10 @@ jobs:
retention-days: 7
- name: Report suite failures
if: ${{ always() && (steps.api35-instrumentation.outcome != 'success' || steps.api35.outcome != 'success' || steps.api28.outcome != 'success') }}
if: ${{ always() && (steps.api35-instrumentation.outcome != 'success' || steps.api35-r8.outcome != 'success' || steps.api35.outcome != 'success' || steps.api28.outcome != 'success') }}
run: |
echo "Android 15 instrumentation outcome: ${{ steps.api35-instrumentation.outcome }}"
echo "Android R8 reachability outcome: ${{ steps.api35-r8.outcome }}"
echo "Android 15 outcome: ${{ steps.api35.outcome }}"
echo "Android 9 outcome: ${{ steps.api28.outcome }}"
exit 1
+5
View File
@@ -34,6 +34,11 @@ migrate_working_dir/
/build/
/debug-info/
# Windows Store packaging output (windows/build-msix.ps1)
/staging-msix/
/plezy-windows.msixbundle
/AppxManifest.*.xml
# tvOS: build artifacts and generated assets (regenerated by xcode_appletv.sh)
tvos/build/
tvos/Pods/
@@ -16,24 +16,54 @@ tags:
visible: "(?s)^(Play|Resume).*$"
commands:
- pressKey: "Remote Dpad Center"
# The TV player opens with its chrome down so the OSD and timebar never sit
# over the opening seconds of the picture (#1765), so the Pause button can no
# longer stand in for "the player has finished loading". Wait for the detail
# screen to go first: the labelled spinner is necessarily up the moment the
# player route owns the frame, and it only clears once playback reports its
# first frame or gives up, so this can never advance before the media opens.
# A give-up lands on the transport assertions below, which is where it belongs.
- extendedWaitUntil:
visible: "Pause"
notVisible: "Overview"
timeout: 30000
- pressKey: "back"
- extendedWaitUntil:
notVisible: "Pause"
notVisible: "Loading video"
timeout: 30000
- assertNotVisible: "(?s)^(Play|Pause)$"
# Hardware transport keys drive playback without raising the chrome (#1676):
# the player answers with a centred disc (pause) or a side readout (seek), never the
# full chrome, so subtitles stay readable.
# Pause first — it also freezes the clip, so the seek assertions below cannot
# race the end of a short fixture item.
- pressKey: "Remote Media Play Pause"
- extendedWaitUntil:
visible: "Paused"
timeout: 10000
- assertNotVisible: "(?s)^Play$"
# D-pad seeking reports through the skip badge, never the scrub bar, and
# consecutive presses in one direction stack into a running total.
- pressKey: "Remote Dpad Right"
- extendedWaitUntil:
visible: "(?s)^Seek forward 10 seconds$"
timeout: 10000
- assertNotVisible: "(?s)^Play$"
- pressKey: "Remote Dpad Right"
- extendedWaitUntil:
visible: "(?s)^Seek forward 20 seconds$"
timeout: 10000
- pressKey: "Remote Media Play Pause"
- extendedWaitUntil:
visible: "Play"
visible: "Playing"
timeout: 10000
- pressKey: "Remote Media Play Pause"
- assertNotVisible: "(?s)^Pause$"
# Select stays the deliberate way to bring the chrome back.
- pressKey: "Remote Dpad Center"
- extendedWaitUntil:
visible: "Pause"
visible: "(?s)^(Play|Pause)$"
timeout: 10000
- pressKey: "back"
- extendedWaitUntil:
notVisible: "Pause"
notVisible: "(?s)^Pause$"
timeout: 10000
- assertNotVisible: "Overview"
- pressKey: "back"
@@ -7,9 +7,23 @@ tags:
- playback
---
- runFlow: ../subflows/onboard_jellyfin_tv.yaml
- tapOn:
point: "6%,22%"
- tapOn: "Search"
# Reach Search with the D-pad, the way 10_tv_settings_navigation.yaml does. A
# tap here flips InputModeTracker into pointer mode, which collapses the rail
# to icons and leaves no "Search" label to hit — and a percentage coordinate
# does not survive the jump from a phone in forced TV mode to a 4K television.
- pressKey: "Remote Dpad Left"
- extendedWaitUntil:
visible: "Search"
timeout: 15000
- repeat:
times: 12
while:
notVisible:
text: "Search"
focused: true
commands:
- pressKey: "Remote Dpad Down"
- pressKey: "Remote Dpad Center"
- extendedWaitUntil:
visible: "Search movies, shows, music..."
timeout: 10000
@@ -24,13 +38,24 @@ tags:
- waitForAnimationToEnd:
timeout: 5000
- tapOn: "(?s)^Play S1E1$"
# The TV player opens with its chrome down (#1765), so the Pause button can no
# longer stand in for "the player has finished loading". Wait for the detail
# screen to go first: the labelled spinner is necessarily up the moment the
# player route owns the frame, and it only clears once playback reports its
# first frame or gives up, so this can never advance before the media opens.
- extendedWaitUntil:
visible: "Pause"
notVisible: "(?s)^Play S1E1$"
timeout: 30000
- extendedWaitUntil:
notVisible: "Loading video"
timeout: 30000
- pressKey: "Remote Media Fast Forward"
- pressKey: "Remote Media Fast Forward"
# Gate on the prompt's own Cancel action, the label the iOS branch below taps.
# "Next Episode" is the credits skip button at this point in the episode, so
# waiting on it would let Back fire before the prompt ever opened.
- extendedWaitUntil:
visible: "Next Episode"
visible: "(?s)^Cancel$"
timeout: 20000
- runFlow:
when:
@@ -42,7 +67,10 @@ tags:
platform: Android
commands:
- pressKey: "back"
- assertNotVisible: "Next Episode"
# Dismissal is animated, so give it a bounded wait rather than one instant look.
- extendedWaitUntil:
notVisible: "(?s)^Cancel$"
timeout: 10000
- assertNotVisible: "Overview"
- pressKey: "Remote Dpad Up"
- extendedWaitUntil:
+2 -2
View File
@@ -1,6 +1,6 @@
cask "plezy" do
version "2.9.1"
sha256 "8cdc0cba43d82d358193575a6a71edc58749a59081e48fe188abc5c78b4be2c6"
version "2.11.0"
sha256 "72a6a74d2f8f4ac76d83d005ff28957b3abcc9d80d7d575710df031d12c1c8cf"
url "https://github.com/edde746/plezy/releases/download/#{version}/plezy-macos.dmg"
name "Plezy"
+73 -29
View File
@@ -19,13 +19,13 @@ A modern client for Plex and Jellyfin on desktop, mobile, and TV. Built with Flu
## Download
<a href='https://apps.apple.com/us/app/id6754315964'><img height='60' alt='Download on the App Store' src='./assets/app-store-badge.png'/></a>
<a href='https://play.google.com/store/apps/details?id=com.edde746.plezy'><img height='60' alt='Get it on Google Play' src='./assets/play-store-badge.png'/></a>
<a href='https://apps.apple.com/app/apple-store/id6754315964?pt=128238902&ct=GitHub&mt=8'><img height='60' alt='Download on the App Store' src='./assets/app-store-badge.png'/></a>
<a href='https://play.google.com/store/apps/details?id=com.edde746.plezy&referrer=utm_source%3Dgithub%26utm_campaign%3Dreadme_badge'><img height='60' alt='Get it on Google Play' src='./assets/play-store-badge.png'/></a>
<a href='https://www.amazon.com/gp/product/B0GK65CVS1'><img height='60' alt='Available at the Amazon App Store' src='./assets/amazon-badge.png'/></a>
<a href='https://get.microsoft.com/installer/download/9n5r1s1t68h7?referrer=appbadge&cid=github'><img height='60' alt='Get it from Microsoft' src='./assets/microsoft-badge.png'/></a>
| Platform | Download |
| --- | --- |
| Windows | [Installer (x64, arm64)](https://github.com/edde746/plezy/releases/latest/download/plezy-windows-installer.exe) · [Portable x64](https://github.com/edde746/plezy/releases/latest/download/plezy-windows-x64-portable.7z) · [Portable arm64](https://github.com/edde746/plezy/releases/latest/download/plezy-windows-arm64-portable.7z) |
| macOS | [DMG (x64, arm64)](https://github.com/edde746/plezy/releases/latest/download/plezy-macos.dmg) |
| Linux x64 | [.deb](https://github.com/edde746/plezy/releases/latest/download/plezy-linux-x64.deb) · [.rpm](https://github.com/edde746/plezy/releases/latest/download/plezy-linux-x64.rpm) · [.pkg.tar.zst](https://github.com/edde746/plezy/releases/latest/download/plezy-linux-x64.pkg.tar.zst) · [portable tar.gz](https://github.com/edde746/plezy/releases/latest/download/plezy-linux-x64.tar.gz) |
| Linux arm64 | [.deb](https://github.com/edde746/plezy/releases/latest/download/plezy-linux-arm64.deb) · [.rpm](https://github.com/edde746/plezy/releases/latest/download/plezy-linux-arm64.rpm) · [.pkg.tar.zst](https://github.com/edde746/plezy/releases/latest/download/plezy-linux-arm64.pkg.tar.zst) · [portable tar.gz](https://github.com/edde746/plezy/releases/latest/download/plezy-linux-arm64.tar.gz) |
@@ -50,36 +50,61 @@ Package managers:
## Features
### <img src="assets/readme_icons/browse.svg" height="20" alt="" align="center" /> Browse & Discover
- Libraries, collections, and playlists
- Libraries, collections, and playlists — video and audio
- Discover hub — Continue Watching, Next Up, trending, and recommendations
- Cross-server search
- Cross-server search across every connected Plex and Jellyfin server
- Filtering, sorting, and alphabetical jump navigation
- Folder browsing and folder playback — home-video libraries open in folder view
- Resolution, HDR/Dolby Vision, and audio-format badges on cards and detail pages
- Favorites and unwatched library filters[^jf]
- Extras — trailers, deleted scenes, behind-the-scenes
### <img src="assets/readme_icons/explore.svg" height="20" alt="" align="center" /> Explore & Requests
- Explore tab — watchlist, trending, popular, and recommendation rows from Plex Discover[^plex], Trakt, MyAnimeList, AniList, Simkl, and Seerr[^connect]
- Search any connected catalog source
- Catalog titles matched back to your own libraries by external ID
- Seerr — request movies and shows with per-season, 4K, and advanced destination options, and see request status inline
- Watchlist sync — add and remove titles on Plex, Trakt, MyAnimeList, AniList, and Simkl from anywhere in the app
### <img src="assets/readme_icons/playback.svg" height="20" alt="" align="center" /> Playback
- Wide codec support (HEVC, AV1, VP9, and more)
- HDR and Dolby Vision[^1]
- HDR and Dolby Vision[^hdr]
- Direct play, or transcode presets from 240p/320 kbps to 1080p/20 Mbps
- Multi-version switching with per-version file details
- Full ASS/SSA subtitles with customizable styling
- Online subtitle search & download[^2]
- Audio & subtitle choices remembered per title
- Online subtitle search & download[^plex]
- Audio & subtitle choices remembered per title, or follow the server's per-episode selections
- Progress sync and resume
- Auto-play next episode with skip intro / skip credits
- Chapter navigation with thumbnail scrub previews
- Playback speed, audio sync offset, sleep timer
- Ambient lighting and GLSL shader presets[^3]
- Picture-in-Picture[^4]
- Refresh-rate matching[^5]
- External player launch (VLC, MX Player, etc.)
- Playback speed from 0.25x to 8x, audio sync offset, sleep timer (fixed durations or end of video)
- Video zoom 50-200% with pinch, presets, and hotkeys
- Audio passthrough[^pass], stereo downmix with center-channel boost, and loudness normalization
- File Info sheet — every version, file, and stream the server reports
- Ambient lighting and GLSL shader presets[^mpv]
- Picture-in-Picture[^pip]
- Refresh-rate matching[^rrm]
- External player launch (VLC, MX Player, etc.) with progress sync back[^android]
### <img src="assets/readme_icons/music.svg" height="20" alt="" align="center" /> Music
- Music libraries — artist, album, and track browsing with square artwork
- Album and artist screens with play, shuffle, and Instant Mix
- Gapless playback with a full play queue — reorder, remove, play next, add to queue
- Now Playing with synced lyrics[^lyrics], persistent mini-player, and sleep timer
- Background playback with lock-screen, media-key, and notification controls[^bgaudio]
- Offline playback of downloaded albums and tracks
- Streaming quality presets — Original, 320, 192, or 128 kbps
### <img src="assets/readme_icons/live-tv.svg" height="20" alt="" align="center" /> Live TV & DVR
- Live TV channel browsing with favorites
- DVR support with EPG guide, recording rules, and scheduled recordings[^2]
- Live TV channel browsing, tuning, and favorites
- EPG guide with What's On and per-show schedules
- DVR recording rules, scheduled recordings, and a rememberable recording target library[^plex]
- Multi-server Live TV support where available
### <img src="assets/readme_icons/downloads.svg" height="20" alt="" align="center" /> Downloads & Offline
- Download media for offline viewing
- Download movies, shows, and music for offline playback[^dl]
- Background queue with pause / resume
- Sync rules for automatic downloads
- Sync rules for automatic downloads, with per-show "Include Specials"
- Offline browsing with watch state sync-back on reconnect
### <img src="assets/readme_icons/watch-together.svg" height="20" alt="" align="center" /> Watch Together
@@ -87,29 +112,42 @@ Package managers:
- Real-time play / pause / seek sync
### <img src="assets/readme_icons/integrations.svg" height="20" alt="" align="center" /> Integrations
- Discord Rich Presence[^6]
- Trakt, MyAnimeList, AniList, and Simkl tracking & rating
- Discord Rich Presence[^desktop]
- Trakt, MyAnimeList, AniList, and Simkl — ratings, watched sync, and real-time scrobbling[^rt]
- Plezy Remote — control desktop and TV from mobile
- Watch Next row
- Watch Next row and tvOS Top Shelf[^shelf]
### <img src="assets/readme_icons/customization.svg" height="20" alt="" align="center" /> Platform & Customization
- Desktop, mobile, and TV — full D-pad, keyboard, and gamepad support
- Customizable keyboard shortcuts[^6]
- Multiple servers at once — Plex and Jellyfin side by side
- Profiles with per-profile downloads, watch state, and settings; Plex Home switching with PIN
- Jellyfin local-server discovery, multiple URLs per server, and Quick Connect sign-in
- TV layout options — corner spotlight backdrop, full-card artwork, and Force TV mode on desktop
- Customizable keyboard shortcuts[^desktop]
- Metadata and artwork editing
- Settings import/export
- Localized in English plus 14 translations
- Localized in English plus 21 translations
[^1]: Not available on Linux.
[^2]: Plex only.
[^3]: Not available on iOS or tvOS.
[^4]: Android, iOS, and macOS.
[^5]: Windows, Android, and tvOS.
[^6]: Desktop only.
[^jf]: Jellyfin only.
[^plex]: Plex only.
[^connect]: Requires connecting the service under Settings > Services.
[^hdr]: In-app HDR toggle on Windows, macOS, iOS, and tvOS. Dolby Vision on Android and Apple TV.
[^pass]: Desktop, Android TV, and Apple TV.
[^mpv]: Requires the mpv player backend — unavailable on iOS and tvOS, and Android defaults to ExoPlayer.
[^pip]: Android, iOS, and macOS — not on Android TV or Apple TV.
[^rrm]: Windows, Android, and tvOS.
[^android]: Progress sync on Android.
[^lyrics]: Where your server provides lyrics.
[^bgaudio]: tvOS pauses music when the app is backgrounded.
[^dl]: Not available on tvOS.
[^desktop]: Desktop only.
[^rt]: Real-time scrobbling on Trakt and Simkl; MyAnimeList and AniList update on completion.
[^shelf]: Android TV / Fire TV and tvOS.
## Building from Source
### Prerequisites
- Flutter SDK 3.38.4+
- Flutter SDK 3.44.0+
- A Plex account or Jellyfin server with user credentials
### Setup
@@ -148,6 +186,12 @@ To install the same pre-commit checks locally:
scripts/setup_hooks.sh
```
End-to-end tests (Android emulator plus a Dockerized Jellyfin fixture):
```bash
python3 scripts/run_maestro.py basic
```
## Contributing
See [CONTRIBUTING.md](CONTRIBUTING.md) for development workflow, formatting, tests, and translation guidelines.
+36
View File
@@ -391,8 +391,44 @@ android {
debugSymbolLevel = "FULL"
}
}
// Instrumentation target that runs R8 (see testBuildType below).
//
// R8 only ever ran on `release`, so every gate in this repository exercised code
// the shipped APK does not contain: reflective lookups, JNI callbacks and native
// library loading can all break under shrinking while every debug check passes.
// #1703 shipped that way — DefaultRenderersFactory's Class.forName for the bundled
// FFmpeg audio renderer failed in release builds only.
//
// Inherits release's minification and keep rules (the Flutter plugin has already
// installed them by the time this block runs) but stays debuggable and debug-signed,
// so it is an ordinary test artifact and never a publishable one. Debuggable also
// makes the Flutter plugin treat it as debug mode, so it uses debug Dart artifacts.
create("minified") {
initWith(getByName("release"))
isDebuggable = true
// Resource shrinking is orthogonal to the reachability this variant guards and
// would only slow the instrumentation build down.
isShrinkResources = false
testProguardFiles("proguard-test-rules.pro")
proguardFile("proguard-instrumentation-rules.pro")
// Release has no signing config unless key.properties exists, which would leave
// this variant unsigned and uninstallable in CI.
signingConfig = signingConfigs.getByName("debug")
// Plugin subprojects only publish debug and release variants.
matchingFallbacks += listOf("debug", "release")
ndk {
debugSymbolLevel = "NONE"
}
}
}
// Instrumentation normally runs against `debug`; the R8 reachability gate opts into the
// minified variant with -Pplezy.testBuildType=minified. Only one build type can host
// androidTest, and the existing playback suites need media3 builder APIs the app itself
// never calls — which R8 legitimately shrinks — so they stay on debug.
testBuildType = (findProperty("plezy.testBuildType") as String?) ?: "debug"
packaging {
jniLibs {
// pickFirst only suppresses the duplicate libc++ merge error; the
@@ -0,0 +1,9 @@
# Applied only to the `minified` variant, which exists to run R8 over the app under test.
#
# The instrumentation runner is loaded through the tested app's class loader, and its
# supertypes resolve from the app APK. Shrinking androidx.test there leaves the harness
# with an AndroidJUnitRunner it cannot link, and the run dies with ClassNotFoundException
# before a single test starts — reported as `tests="0"`, which is easy to mistake for a
# passing gate. No shipped build includes this file.
-keep class androidx.test.** { *; }
-dontwarn androidx.test.**
+20
View File
@@ -0,0 +1,20 @@
# Flutter turns minification on for every release build (FlutterPlugin sets
# releaseBuildType.isMinifyEnabled), and appends this file when it exists. Anything the
# app reaches only by name — reflection or JNI — therefore needs an explicit keep here.
# The bundled Media3 FFmpeg audio decoder (ALAC, DTS, DTS-HD, TrueHD, ...).
#
# DefaultRenderersFactory instantiates FfmpegAudioRenderer through Class.forName and no
# app code references it, so R8 shrinks the class away; media3's own consumer rules only
# -keepclassmembers its constructor, which neither keeps the class nor pins its name.
# ffmpeg_jni.cc separately resolves FfmpegAudioDecoder and its growOutputBuffer callback
# by name in JNI_OnLoad, and returns JNI_ERR when either is missing, which fails the whole
# System.loadLibrary("ffmpegJNI") call.
#
# Without these keeps a release build silently loses every codec this decoder adds:
# TrueHD/DTS-HD land on MediaCodecAudioRenderer, which has no decoder for them, and
# playback bails to the mpv fallback and loses ExoPlayer's Dolby Vision handling (#1703).
-keep class androidx.media3.decoder.ffmpeg.** { *; }
# growOutputBuffer's JNI descriptor names this type, so it may not be renamed either.
-keep class androidx.media3.decoder.SimpleDecoderOutputBuffer { *; }
+11
View File
@@ -0,0 +1,11 @@
# Shrinker rules for the instrumentation APK of the `minified` variant.
#
# That variant exists to run R8 over the app under test, not over the harness. AGP
# applies the app's rules to the test APK too, which deletes the instrumentation runner
# and every test class the runner resolves by name — the run then dies with
# ClassNotFoundException before a single test starts. The harness is never shipped, so
# it has nothing to gain from shrinking.
-dontshrink
-dontoptimize
# The runner resolves the instrumentation class and every -e class filter by name.
-dontobfuscate
@@ -0,0 +1,72 @@
package androidx.media3.decoder.ffmpeg
import android.os.Handler
import android.os.Looper
import androidx.media3.common.MimeTypes
import androidx.media3.exoplayer.DefaultRenderersFactory
import androidx.media3.exoplayer.audio.AudioRendererEventListener
import androidx.media3.exoplayer.video.VideoRendererEventListener
import androidx.test.ext.junit.runners.AndroidJUnit4
import androidx.test.platform.app.InstrumentationRegistry
import com.edde746.plezy.exoplayer.PlezyRenderersFactory
import org.junit.Assert.assertTrue
import org.junit.Test
import org.junit.runner.RunWith
/**
* Asserts the bundled FFmpeg audio decoder is reachable the way production reaches it.
*
* Every path here is name-based, so R8 can sever it while the code still compiles and
* every debug check passes. #1703 shipped exactly that: the shrinker dropped
* FfmpegAudioRenderer and FfmpegAudioDecoder.growOutputBuffer, TrueHD and DTS-HD lost
* their only decoder, and 4K Dolby Vision files bailed to the mpv fallback.
*
* Run this against the `minified` build type (`-Pplezy.testBuildType=minified`); on an
* unminified variant it can only ever pass. Deliberately touches no ExoPlayer builder
* API, so no keep rule beyond the ones under test has to exist for it to run.
*
* Emptying `proguard-rules.pro` was verified to fail
* [nativeLibraryLoadsAndReportsTheCodecsOnlyItCanDecode]; the renderer-list assertion
* kept passing, because something else in this variant still retains that class. Treat
* the JNI assertion as the load-bearing one, and `scripts/check_shrinker_rules.py` as the
* guard for the renderer's own keep.
*/
@RunWith(AndroidJUnit4::class)
class FfmpegDecoderReachabilityTest {
@Test
fun productionRendererListIncludesTheFfmpegAudioRenderer() {
// Goes through the app's own factory rather than repeating media3's Class.forName:
// the instrumentation APK shares a class loader with the app, so a direct reflective
// lookup can resolve a copy the harness carries even when the app APK lost its own.
// DefaultRenderersFactory swallows ClassNotFoundException as "built without the
// extension", so a shrunk renderer leaves no trace but missing codecs.
val context = InstrumentationRegistry.getInstrumentation().targetContext
val factory = PlezyRenderersFactory(context)
.setExtensionRendererMode(DefaultRenderersFactory.EXTENSION_RENDERER_MODE_ON)
val handler = Handler(Looper.getMainLooper())
val names = factory.createRenderers(
handler,
object : VideoRendererEventListener {},
object : AudioRendererEventListener {},
{ },
{ }
).map { it.name }
assertTrue("FfmpegAudioRenderer missing from $names", names.contains("FfmpegAudioRenderer"))
}
@Test
fun nativeLibraryLoadsAndReportsTheCodecsOnlyItCanDecode() {
// isAvailable() covers the whole JNI handshake: the shared library loads, JNI_OnLoad
// resolves FfmpegAudioDecoder by name, and GetMethodID finds growOutputBuffer with a
// descriptor naming SimpleDecoderOutputBuffer. Any of those renamed or shrunk away
// makes this false.
assertTrue("FFmpeg JNI library is unavailable", FfmpegLibrary.isAvailable())
// The formats MediaCodec has no decoder for on the affected devices.
assertTrue("no truehd decoder", FfmpegLibrary.supportsFormat(MimeTypes.AUDIO_TRUEHD))
assertTrue("no dts-hd decoder", FfmpegLibrary.supportsFormat(MimeTypes.AUDIO_DTS_HD))
}
}
@@ -0,0 +1,152 @@
package com.edde746.plezy.exoplayer
import android.content.Context
import android.net.Uri
import android.os.Handler
import android.os.HandlerThread
import android.util.Log
import androidx.media3.common.C
import androidx.media3.common.MediaItem
import androidx.media3.common.MimeTypes
import androidx.media3.common.PlaybackException
import androidx.media3.common.Player
import androidx.media3.common.Tracks
import androidx.media3.exoplayer.ExoPlayer
import androidx.test.ext.junit.runners.AndroidJUnit4
import androidx.test.platform.app.InstrumentationRegistry
import java.io.File
import java.util.concurrent.CountDownLatch
import java.util.concurrent.TimeUnit
import java.util.concurrent.atomic.AtomicReference
import org.junit.Assert.assertEquals
import org.junit.Assert.assertNotNull
import org.junit.Assert.assertNull
import org.junit.Assert.assertTrue
import org.junit.Test
import org.junit.runner.RunWith
/**
* Pins the side-loaded subtitle identity contract against the real media3 the
* app links, on a real device.
*
* `ExoPlayerCore` tags each `MediaItem.SubtitleConfiguration` with
* [ExternalSubtitleIds.idFor] and recovers it from the `Format` the track
* selector reports. media3 does not hand that id back verbatim:
* `DefaultMediaSourceFactory` merges side-loaded subtitles with the primary
* source, and `MergingMediaPeriod` prefixes every child format id with its
* period index. Matching the raw id therefore classifies every sidecar as an
* embedded track and drops its URI, which is what broke Plex sidecar
* subtitles (#1713).
*
* A JVM test can only assert the parsing rule. This asserts that the rule
* still matches what media3 actually emits.
*/
@RunWith(AndroidJUnit4::class)
class ExternalSubtitleIdentityTest {
private companion object {
const val TAG = "ExternalSubtitleIdentityTest"
const val SRT = "1\n00:00:00,500 --> 00:00:05,000\nplezy sidecar identity\n\n"
}
@Test
fun sideLoadedSubtitleIdSurvivesMedia3Merging() {
val instrumentation = InstrumentationRegistry.getInstrumentation()
val context = instrumentation.targetContext
val media = copyAsset(instrumentation.context, context, "ffmpeg/planar_5_1.m4a")
val subtitle = File.createTempFile("sidecar-", ".srt", context.cacheDir).apply {
writeText(SRT)
}
val thread = HandlerThread("plezy-sidecar-identity-test").apply { start() }
val handler = Handler(thread.looper)
val settled = CountDownLatch(1)
val playerRef = AtomicReference<ExoPlayer>()
val errorRef = AtomicReference<Throwable>()
val textFormatId = AtomicReference<String>()
val textGroupCount = AtomicReference(0)
handler.post {
try {
val player = ExoPlayer.Builder(context).setLooper(thread.looper).build()
playerRef.set(player)
player.addListener(object : Player.Listener {
override fun onPlayerError(error: PlaybackException) {
errorRef.set(error)
settled.countDown()
}
override fun onTracksChanged(tracks: Tracks) {
val text = tracks.groups.filter { it.type == C.TRACK_TYPE_TEXT }
if (text.isEmpty()) return
textGroupCount.set(text.size)
textFormatId.set(text.first().mediaTrackGroup.getFormat(0).id)
settled.countDown()
}
})
// setMediaItem (not setMediaSource) so DefaultMediaSourceFactory owns
// the subtitle configuration exactly as ExoPlayerCore.open does.
player.setMediaItem(
MediaItem.Builder()
.setUri(Uri.fromFile(media))
.setSubtitleConfigurations(
listOf(
MediaItem.SubtitleConfiguration.Builder(Uri.fromFile(subtitle))
.setId(ExternalSubtitleIds.idFor(0))
.setLabel("Plezy sidecar")
.setLanguage("en")
.setMimeType(MimeTypes.APPLICATION_SUBRIP)
.setSelectionFlags(C.SELECTION_FLAG_DEFAULT)
.build()
)
)
.build()
)
player.prepare()
} catch (error: Throwable) {
errorRef.set(error)
settled.countDown()
}
}
val finished = settled.await(30, TimeUnit.SECONDS)
val released = CountDownLatch(1)
handler.post {
playerRef.get()?.release()
thread.quitSafely()
released.countDown()
}
val teardownFinished = released.await(5, TimeUnit.SECONDS)
thread.join(5_000)
media.delete()
subtitle.delete()
assertTrue("Player teardown timed out", teardownFinished)
assertNull("Playback failed", errorRef.get())
assertTrue("Timed out before any text track group was reported", finished)
assertEquals("Expected exactly one side-loaded text group", 1, textGroupCount.get())
val reportedId = textFormatId.get()
Log.i(TAG, "media3 reported side-loaded subtitle Format.id=$reportedId")
assertNotNull("Side-loaded subtitle reported a null Format.id", reportedId)
// The contract ExoPlayerCore depends on.
assertTrue(
"Side-loaded subtitle was not recognised as external (Format.id=$reportedId)",
ExternalSubtitleIds.isExternal(reportedId)
)
assertEquals(
"Side-loaded subtitle did not resolve to its configuration index (Format.id=$reportedId)",
0,
ExternalSubtitleIds.indexOf(reportedId)
)
}
private fun copyAsset(instrumentationContext: Context, targetContext: Context, asset: String): File {
val output = File.createTempFile("sidecar-primary-", null, targetContext.cacheDir)
instrumentationContext.assets.open(asset).use { input ->
output.outputStream().use(input::copyTo)
}
return output
}
}
+4 -2
View File
@@ -89,10 +89,12 @@
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/file_provider_paths" />
</provider>
<!-- Launcher shelf artwork. Not exported: readers reach it only through the
per-URI read grants issued to CATEGORY_HOME packages by WatchNextProvider. -->
<provider
android:name=".watchnext.SystemShelfArtworkProvider"
android:authorities="com.edde746.plezy.systemshelf.artwork"
android:exported="true"
android:exported="false"
android:grantUriPermissions="true" />
<receiver
android:name=".watchnext.SystemShelfUpdateReceiver"
@@ -132,7 +134,7 @@
<action android:name="android.intent.action.VIEW" />
<data android:mimeType="video/*" />
</intent>
<!-- Required to identify only the active HOME launcher as a shelf artwork consumer. -->
<!-- Required to identify HOME launchers as shelf artwork consumers. -->
<intent>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.HOME" />
@@ -96,6 +96,8 @@ class MainActivity : FlutterActivity() {
private fun isAndroidTvDevice(): Boolean = getAndroidTvDetection()["isTv"] as Boolean
private fun isPipSupportedDevice(): Boolean = !isAndroidTvDevice() && packageManager.hasSystemFeature(PackageManager.FEATURE_PICTURE_IN_PICTURE)
private fun isImeVisible(): Boolean {
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.R) return false
return window.decorView.rootWindowInsets?.isVisible(WindowInsets.Type.ime()) == true
@@ -168,6 +170,7 @@ class MainActivity : FlutterActivity() {
val hasFireTvFeature = pm.hasSystemFeature("amazon.hardware.fire_tv")
val hasTouchscreen = pm.hasSystemFeature(PackageManager.FEATURE_TOUCHSCREEN)
val hasFakeTouch = pm.hasSystemFeature(PackageManager.FEATURE_FAKETOUCH)
val isAutomotive = pm.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)
val reasons = mutableListOf<String>()
if (isTelevisionUiMode) reasons.add("ui_mode_television")
@@ -177,7 +180,11 @@ class MainActivity : FlutterActivity() {
if (!hasTouchscreen) reasons.add("no_touchscreen")
return mapOf(
"isTv" to reasons.isNotEmpty(),
// A car is never a TV: rotary-only head units report no touchscreen, and
// an OEM image can carry a stray leanback flag. Keep the raw reasons for
// diagnostics, but never let them promote a vehicle to the TV experience.
"isTv" to (!isAutomotive && reasons.isNotEmpty()),
"isAutomotive" to isAutomotive,
"reasons" to reasons,
"isTelevisionUiMode" to isTelevisionUiMode,
"hasTelevisionFeature" to hasTelevisionFeature,
@@ -662,7 +669,7 @@ class MainActivity : FlutterActivity() {
MethodChannel(flutterEngine.dartExecutor.binaryMessenger, PIP_CHANNEL).setMethodCallHandler { call, result ->
when (call.method) {
"isSupported" -> {
result.success(Build.VERSION.SDK_INT >= Build.VERSION_CODES.O && !isAndroidTvDevice())
result.success(Build.VERSION.SDK_INT >= Build.VERSION_CODES.O && isPipSupportedDevice())
}
"enter" -> {
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.O) {
@@ -670,7 +677,7 @@ class MainActivity : FlutterActivity() {
return@setMethodCallHandler
}
if (isAndroidTvDevice()) {
if (!isPipSupportedDevice()) {
result.success(mapOf("success" to false, "errorCode" to "not_supported"))
return@setMethodCallHandler
}
@@ -697,7 +704,7 @@ class MainActivity : FlutterActivity() {
}
}
"setAutoPipReady" -> {
if (isAndroidTvDevice()) {
if (!isPipSupportedDevice()) {
autoPipReady = false
result.success(true)
return@setMethodCallHandler
@@ -821,7 +828,7 @@ class MainActivity : FlutterActivity() {
override fun onUserLeaveHint() {
super.onUserLeaveHint()
// Auto PiP for API 26-30 (API 31+ uses setAutoEnterEnabled)
if (!isAndroidTvDevice() &&
if (isPipSupportedDevice() &&
Build.VERSION.SDK_INT >= Build.VERSION_CODES.O &&
Build.VERSION.SDK_INT < Build.VERSION_CODES.S &&
autoPipReady &&
@@ -5,15 +5,19 @@ import android.content.pm.PackageManager
import android.content.res.Configuration
/**
* Native mirror of MainActivity.getAndroidTvDetection(): any TV signal counts.
* Kept in sync with the Dart-facing detection so native gating matches
* PlatformDetector.isTV().
* Native mirror of MainActivity.getAndroidTvDetection(): any TV signal counts,
* except that FEATURE_AUTOMOTIVE vetoes the verdict outright. Kept in sync with
* the Dart-facing detection so native gating matches PlatformDetector.isTV().
*/
object TvDetection {
fun isTv(context: Context): Boolean {
val pm = context.packageManager
val uiModeType = context.resources.configuration.uiMode and Configuration.UI_MODE_TYPE_MASK
// A car is never a TV: rotary-only head units report no touchscreen, and an
// OEM image can carry a stray leanback flag.
if (pm.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)) return false
@Suppress("DEPRECATION")
return uiModeType == Configuration.UI_MODE_TYPE_TELEVISION ||
pm.hasSystemFeature(PackageManager.FEATURE_TELEVISION) ||
@@ -1,6 +1,15 @@
package com.edde746.plezy.exoplayer
import android.content.Context
import android.util.Log
import androidx.annotation.OptIn
import androidx.media3.common.AudioAttributes
import androidx.media3.common.C
import androidx.media3.common.MimeTypes
import androidx.media3.common.util.UnstableApi
import androidx.media3.exoplayer.audio.AudioCapabilities
private const val TAG = "AudioOutputPolicy"
internal fun isPassthroughAudioMimeType(mimeType: String): Boolean = when (mimeType) {
"audio/ac3",
@@ -15,3 +24,51 @@ internal fun isPassthroughAudioMimeType(mimeType: String): Boolean = when (mimeT
}
internal fun shouldBlockDirectOutputForPassthrough(mimeType: String, audioPassthroughEnabled: Boolean): Boolean = !audioPassthroughEnabled && isPassthroughAudioMimeType(mimeType)
/**
* mpv `audio-spdif` codec names and the exact platform encoding a route must
* advertise to carry that bitstream.
*/
private val MPV_SPDIF_CODECS: List<Pair<String, Int>> = listOf(
"ac3" to C.ENCODING_AC3,
"eac3" to C.ENCODING_E_AC3,
"dts" to C.ENCODING_DTS,
"dts-hd" to C.ENCODING_DTS_HD,
"truehd" to C.ENCODING_DOLBY_TRUEHD
)
/**
* Builds an `audio-spdif` value naming only the codecs [supportsEncoding] advertises.
*
* mpv force-passes through every codec named here and has no decode fallback, so an
* unsupported name leaves the file rendering video against a dead audio output (#1703).
*
* The gate is the exact encoding rather than media3's passthrough probe on purpose.
* That probe answers DTS-HD by downgrading to the DTS core (and E-AC3 JOC to E-AC3)
* for receivers that decode only the base layer, and it also rejects channel counts
* above the route's PCM maximum, which does not apply to an IEC 61937 carrier. mpv
* additionally treats `dts,dts-hd` as `dts-hd` alone, so accepting the downgrade would
* name DTS-HD MA to a core-only receiver and lose DTS as well.
*/
internal fun mpvSpdifCodecs(supportsEncoding: (Int) -> Boolean): String = MPV_SPDIF_CODECS
.filter { (_, encoding) -> supportsEncoding(encoding) }
.joinToString(",") { (codec, _) -> codec }
/** [mpvSpdifCodecs] resolved against the audio route [context] is currently routed to. */
// Deprecated only in favour of an overload that also takes spatializer channel masks, which
// do not affect bitstream routing. Same probe ExoPlayerCore's TrueHD decision uses.
@Suppress("DEPRECATION")
@OptIn(UnstableApi::class)
internal fun supportedMpvSpdifCodecs(context: Context): String {
val audioAttributes = AudioAttributes.Builder()
.setContentType(C.AUDIO_CONTENT_TYPE_MOVIE)
.setUsage(C.USAGE_MEDIA)
.build()
val capabilities = try {
AudioCapabilities.getCapabilities(context, audioAttributes, null)
} catch (error: Exception) {
Log.w(TAG, "Audio route capabilities unavailable; mpv will decode instead of bitstreaming", error)
return ""
}
return mpvSpdifCodecs(capabilities::supportsEncoding)
}
@@ -0,0 +1,77 @@
package com.edde746.plezy.exoplayer
import androidx.media3.common.C
/**
* Decision logic for media the player refuses to end (#1673).
*
* media3 reports `StuckPlayerException.STUCK_PLAYING_NOT_ENDING` when the player
* sits in STATE_READY past the declared duration while no renderer ever reports
* itself ended. Observed on a tunneled MTK decoder (Fire TV 4K Max): the clock
* ran a full minute past the last frame behind a black screen, so nothing ever
* completed the item — no Play Next, no auto-play, and a "playing" timeline the
* server kept extrapolating past the item duration. The leading hypothesis is
* that the tunneled end-of-stream buffer never arrives; what the evidence
* establishes is only that the renderers never end.
*
* The stuck report alone cannot mean "finished": the same condition holds for a
* container that under-declares its duration and is legitimately still playing.
* The rendered-frame counter separates the two — a finished file has stopped
* painting, an under-declared one has not.
*
* Inputs are deliberately the core's own bookkeeping rather than live player
* state: media3 has already stopped the player by the time the report arrives,
* so its timeline and track selection may be gone.
*/
internal object EndOfStreamPolicy {
/**
* Window media3 waits before reporting a player that is past its duration and
* still not ending. media3's own not-ending default is a full minute; this
* matches its stuck-*playing* default instead, which [isFinishedFile] can
* afford because it also requires the picture to be gone.
*/
const val STALL_TIMEOUT_MS = 10_000
/**
* How long the rendered-frame counter must sit still before a player stuck
* past its duration counts as a finished file rather than a long tail.
*/
const val FRAME_STALL_MS = 5_000L
/**
* Distance from the end a fallback backend may resume at. MPV opened at or
* past the last frame seeks straight into EOF and parks there without ever
* reporting it, which is how a failed hand-off turned into a second stall.
*/
const val FALLBACK_END_GUARD_MS = 1_000L
/**
* Whether a player stuck past its duration has actually reached the end of the
* file.
*
* [hasPlaybackOutput] keeps start-up failures — which the fallback ladder owns
* — out of this path. [hasVideoOutput] says whether the rendered-frame counter
* means anything for this media: audio-only playback never moves it, so there
* the stuck timeout stands alone. [frameStallMs] is the age of the last
* counter change.
*/
fun isFinishedFile(
hasPlaybackOutput: Boolean,
hasVideoOutput: Boolean,
isLive: Boolean,
durationMs: Long,
positionMs: Long,
frameStallMs: Long
): Boolean = hasPlaybackOutput &&
!isLive &&
durationMs != C.TIME_UNSET &&
durationMs > 0L &&
positionMs >= durationMs &&
(!hasVideoOutput || frameStallMs >= FRAME_STALL_MS)
/** Keep a backend hand-off strictly inside the media, mirroring the seek clamp. */
fun fallbackStartPositionMs(positionMs: Long, durationMs: Long, isLive: Boolean): Long {
if (isLive || durationMs == C.TIME_UNSET || durationMs <= 0L) return positionMs.coerceAtLeast(0L)
return positionMs.coerceIn(0L, (durationMs - FALLBACK_END_GUARD_MS).coerceAtLeast(0L))
}
}
@@ -38,6 +38,7 @@ import androidx.media3.common.VideoSize
import androidx.media3.common.audio.ChannelMixingMatrix
import androidx.media3.common.text.Cue
import androidx.media3.common.text.CueGroup
import androidx.media3.common.util.StuckPlayerException
import androidx.media3.common.util.UnstableApi
import androidx.media3.common.util.Util
import androidx.media3.datasource.DefaultDataSource
@@ -119,6 +120,10 @@ class ExoPlayerCore(private val activity: Activity) :
private const val FPS_SAMPLE_COUNT = 8
private const val AUDIO_BOUNCE_TIMEOUT_MS = 1000L
/** Fallback for stacks that only stringify the status instead of raising
* [HttpDataSource.InvalidResponseCodeException]. */
private val RESPONSE_CODE_PATTERN = Regex("""\bResponse code: (\d{3})\b""")
/** Per-frame "video is at X" logcat stream (tag AssFrameCb) for diagnosing
* ASS subtitle lag against the libass pipeline's render/swap lines. */
private const val ASS_FRAME_LOGS = false
@@ -285,6 +290,13 @@ class ExoPlayerCore(private val activity: Activity) :
private var lastTrueHdDirectOutputLogKey: String? = null
private var loggedDecodedPcmTunnelingGuard: Boolean = false
private var hasRenderedVideoFrameForMedia: Boolean = false
// Rendered-frame progress, sampled by the position loop. handlePlayerError
// reads it to tell "the renderer is done and the player will not end" (#1673)
// apart from a container that under-declares its duration and is still
// painting frames past it.
private var lastRenderedFrameCount: Int = -1
private var lastRenderedFrameChangeMs: Long = 0L
private var videoDecoderRecoveryConsecutiveAttempts: Int = 0
private var videoDecoderRecoveryTotalAttempts: Int = 0
private var videoDecoderRecoveryPositionMs: Long? = null
@@ -401,6 +413,31 @@ class ExoPlayerCore(private val activity: Activity) :
delegate?.onEvent("end-file", data)
}
/**
* Terminal end-of-file for media the player will not end on its own (#1673).
*
* Shaped exactly like the [Player.STATE_ENDED] branch so the Dart completion
* flow (stop report, Play Next / auto-play) cannot tell a synthesized end from
* a real one, and sharing [terminalErrorGeneration] so one media generation
* never emits both an error and an EOF.
*
* The timeline is pinned to [positionMs] first: Dart classifies an EOF by
* position against duration — a stream that dies mid-file reports the same
* event — and media3 has already stopped the player by the time we get here.
*/
private fun emitPlaybackEofOnce(mediaGeneration: Int, positionMs: Long) {
if (mediaGeneration != currentMediaGeneration || terminalErrorGeneration == mediaGeneration) return
terminalErrorGeneration = mediaGeneration
exoPlayer?.playWhenReady = false
pendingPlayWhenReady = null
lastPosition = positionMs
delegate?.onPropertyChange("time-pos", positionMs / 1000.0)
delegate?.onPropertyChange("paused-for-cache", false)
delegate?.onPropertyChange("pause", true)
delegate?.onPropertyChange("eof-reached", true)
delegate?.onEvent("end-file", mapOf("reason" to "eof"))
}
private fun requestFormatFallback(
mediaGeneration: Int,
uri: String,
@@ -413,7 +450,7 @@ class ExoPlayerCore(private val activity: Activity) :
mediaGeneration = mediaGeneration,
uri = uri,
headers = currentHeaders,
positionMs = positionMs,
positionMs = fallbackStartPositionMs(positionMs),
playWhenReady = playWhenReady,
errorMessage = errorMessage
) ?: false
@@ -421,6 +458,17 @@ class ExoPlayerCore(private val activity: Activity) :
return handled
}
/**
* Keeps a backend hand-off inside the media — see [EndOfStreamPolicy] (#1673).
* Uses the last published duration, not the player's: an error fallback runs
* after media3 has stopped the player, when its timeline may already be gone.
*/
private fun fallbackStartPositionMs(positionMs: Long): Long = EndOfStreamPolicy.fallbackStartPositionMs(
positionMs = positionMs,
durationMs = lastDuration,
isLive = currentMediaIsLive
)
private fun redactUri(uri: String): String {
return try {
val parsed = Uri.parse(uri)
@@ -475,6 +523,7 @@ class ExoPlayerCore(private val activity: Activity) :
fun initialize(
bufferSizeBytes: Int? = null,
bufferSizeAuto: Boolean = false,
tunnelingEnabled: Boolean = true,
audioPassthroughEnabled: Boolean = false
): Boolean {
@@ -683,23 +732,20 @@ class ExoPlayerCore(private val activity: Activity) :
.toTypedArray()
}
// Compute memory-aware buffer limits to prevent CCodec OOM crashes
// Buffer budget. `bufferSizeBytes` carries the user's explicit Buffer Size choice; on
// Auto it still arrives (Dart derives it for mpv's demuxer, which shares the property)
// but `bufferSizeAuto` says to ignore it here, because mpv's demuxer and ExoPlayer's
// sample allocator have different shapes and different failure modes.
val activityManager = activity.getSystemService(Context.ACTIVITY_SERVICE) as ActivityManager
val memoryInfo = ActivityManager.MemoryInfo()
activityManager.getMemoryInfo(memoryInfo)
val availableMB = memoryInfo.availMem / (1024 * 1024)
val availableMB = (memoryInfo.availMem / (1024 * 1024)).toInt()
val largeHeapMB = activityManager.largeMemoryClass
val targetBufferBytes = if (bufferSizeBytes != null && bufferSizeBytes > 0) {
val targetBufferBytes = if (!bufferSizeAuto && bufferSizeBytes != null && bufferSizeBytes > 0) {
bufferSizeBytes
} else {
// Scale buffer to available memory to reduce hardware decoder pressure.
// Larger buffers reduce oscillation frequency at high bitrates (50-100Mbps).
when {
availableMB <= 512 -> 30 * 1024 * 1024
availableMB <= 1024 -> 80 * 1024 * 1024
availableMB <= 2048 -> 120 * 1024 * 1024
else -> 200 * 1024 * 1024
}
LoadControlPolicy.autoTargetBufferBytes(largeHeapMB, availableMB)
}
val loadControl = DefaultLoadControl.Builder().apply {
@@ -711,7 +757,12 @@ class ExoPlayerCore(private val activity: Activity) :
setBufferDurationsMs(30_000, 60_000, 1_000, 5_000)
}
}.build()
emitLog("info", "init", "Buffer: ${targetBufferBytes / 1024 / 1024}MB limit, available=${availableMB}MB, tunneling=$tunnelingUserEnabled, dataSource=$dataSourceLabel")
emitLog(
"info",
"init",
"Buffer: ${targetBufferBytes / 1024 / 1024}MB limit (${if (bufferSizeAuto) "auto" else "manual"}, " +
"heap=${largeHeapMB}MB, available=${availableMB}MB), tunneling=$tunnelingUserEnabled, dataSource=$dataSourceLabel"
)
exoPlayer = ExoPlayer.Builder(activity)
.setTrackSelector(trackSelector!!)
@@ -719,6 +770,9 @@ class ExoPlayerCore(private val activity: Activity) :
.setAudioAttributes(audioAttributes, false) // We handle audio focus manually
.setMediaSourceFactory(mediaSourceFactory)
.setRenderersFactory(wrappedRenderersFactory)
// Cut the wait before media3 reports a player that runs past its duration
// without ending (#1673) — see EndOfStreamPolicy.STALL_TIMEOUT_MS.
.setStuckPlayingNotEndingTimeoutMs(EndOfStreamPolicy.STALL_TIMEOUT_MS)
.build()
// Add ASS overlay view to the full-screen surfaceContainer (NOT the zoom-scaled
@@ -901,9 +955,13 @@ class ExoPlayerCore(private val activity: Activity) :
val duration = player.duration
val bufferedPosition = player.bufferedPosition
updateVideoDecoderRecoveryHealth(currentPosition, player.isPlaying)
updateRenderedFrameProgress(player)
// Emit position changes (every 250ms update)
if (currentPosition != lastPosition) {
// Emit position changes (every 250ms update). A media generation that
// already reported its terminal event keeps the position it ended on:
// media3 can still be running a clock nobody can see (#1673), and Dart
// classifies an EOF by position against duration.
if (currentPosition != lastPosition && terminalErrorGeneration != currentMediaGeneration) {
lastPosition = currentPosition
delegate?.onPropertyChange("time-pos", currentPosition / 1000.0)
}
@@ -932,6 +990,18 @@ class ExoPlayerCore(private val activity: Activity) :
positionUpdateRunnable = null
}
/**
* Sample the video renderer's output counter. Any change — including the reset
* that comes with a re-created decoder — counts as progress; the timestamp is
* what [handleEndOfStreamStall] reads.
*/
private fun updateRenderedFrameProgress(player: ExoPlayer) {
val renderedFrames = player.videoDecoderCounters?.renderedOutputBufferCount ?: return
if (renderedFrames == lastRenderedFrameCount) return
lastRenderedFrameCount = renderedFrames
lastRenderedFrameChangeMs = System.currentTimeMillis()
}
private fun resetPlaybackProgress(startPositionMs: Long) {
lastPosition = startPositionMs
lastDuration = 0L
@@ -1141,22 +1211,30 @@ class ExoPlayerCore(private val activity: Activity) :
// If native DV7 failed, retry with conversion before falling to MPV
if (error.errorCode in 4001..4005 && retryWithDvConversion("decoder error ${error.errorCode}")) return
// Server returned HTTP 500 — typically a shared-user bandwidth/transcoding limit
// set by the server owner. MPV will hit the same rejection, so skip the fallback.
// Keep the "server-http-500" tag in sync with PlayerError.serverHttp500 in Dart.
val isHttp500 =
causeChain.contains("Response code: 500") ||
(error.message?.contains("Response code: 500") == true)
if (isHttp500) {
Log.w(TAG, "Server returned HTTP 500 - skipping MPV fallback (unrecoverable until server-side change)")
// A server-side HTTP status is not a codec problem: MPV would replay the
// same request and fail identically, so skip the fallback (and its
// "switching to compatible player" toast) and report the status instead.
// Keep these tags in sync with PlayerError.serverHttp500/404 in Dart.
val httpStatus = resolveHttpStatus(error, causeChain)
val statusCause = when (httpStatus) {
// Shared-user bandwidth/transcoding limit rejection set by the server owner.
500 -> "server-http-500"
// The server resolved the item but cannot read the file behind it.
404 -> "server-http-404"
else -> null
}
if (statusCause != null) {
Log.w(TAG, "Server returned HTTP $httpStatus - skipping MPV fallback (unrecoverable until server-side change)")
emitPlaybackErrorOnce(
mediaGeneration,
error.message ?: "HTTP 500",
cause = "server-http-500"
error.message ?: "HTTP $httpStatus",
cause = statusCause
)
return
}
if (handleEndOfStreamStall(error, mediaGeneration)) return
if (retryAfterAudioTrackError(error, causeChain)) return
val rendererFormat = (error as? ExoPlaybackException)?.rendererFormat
@@ -1184,6 +1262,78 @@ class ExoPlayerCore(private val activity: Activity) :
emitPlaybackErrorOnce(mediaGeneration, error.message ?: "Unknown error")
}
/**
* HTTP status the failed request came back with, or null when this is not an
* HTTP failure. [HttpDataSource.InvalidResponseCodeException] carries the
* real code (both DefaultHttpDataSource and CronetDataSource raise it);
* [causeChain] is the already-built string fallback.
*/
private fun resolveHttpStatus(error: PlaybackException, causeChain: String): Int? {
var cause: Throwable? = error
while (cause != null) {
if (cause is HttpDataSource.InvalidResponseCodeException) return cause.responseCode
cause = cause.cause
}
return RESPONSE_CODE_PATTERN.find(causeChain)?.groupValues?.get(1)?.toIntOrNull()
?: error.message?.let { RESPONSE_CODE_PATTERN.find(it)?.groupValues?.get(1)?.toIntOrNull() }
}
/**
* media3 reports [StuckPlayerException.STUCK_PLAYING_NOT_ENDING] when the
* player sits in STATE_READY past the declared duration without any renderer
* ending (#1673). When the picture is gone as well, that is the end of the
* file: report it as one so the normal completion flow runs, instead of
* leaving a black screen behind a clock that keeps ticking. A player that is
* still painting frames past an under-declared duration keeps the existing
* recovery ladder, which hands the tail to MPV. See [EndOfStreamPolicy].
*
* media3 stops the player before reporting, so the last duration and position
* this core published are used rather than re-reading a cleared timeline.
*/
private fun handleEndOfStreamStall(error: PlaybackException, mediaGeneration: Int): Boolean {
if (!isStuckPlayingNotEnding(error)) return false
val durationMs = lastDuration
val positionMs = maxOf(exoPlayer?.currentPosition ?: 0L, lastPosition)
val frameStallMs = System.currentTimeMillis() - lastRenderedFrameChangeMs
val finished = EndOfStreamPolicy.isFinishedFile(
hasPlaybackOutput = firstFrameRendered,
hasVideoOutput = hasRenderedVideoFrameForMedia,
isLive = currentMediaIsLive,
durationMs = durationMs,
positionMs = positionMs,
frameStallMs = frameStallMs
)
if (!finished) {
emitLog(
"warn",
"eos",
"Player stuck at ${positionMs}ms of ${durationMs}ms but the file is not finished " +
"(last rendered frame ${frameStallMs}ms ago) — keeping the normal recovery"
)
return false
}
emitLog(
"warn",
"eos",
"Player never ended ${positionMs - durationMs}ms past the ${durationMs}ms duration " +
"(no rendered frame for ${frameStallMs}ms) — reporting end of file"
)
emitPlaybackEofOnce(mediaGeneration, durationMs)
return true
}
private fun isStuckPlayingNotEnding(error: PlaybackException): Boolean {
var cause: Throwable? = error.cause
while (cause != null) {
if (cause is StuckPlayerException && cause.stuckType == StuckPlayerException.STUCK_PLAYING_NOT_ENDING) {
return true
}
cause = cause.cause
}
return false
}
private fun retryVideoDecoderInPlace(reason: String): Boolean {
if (!VideoDecoderRecoveryPolicy.canRetryRuntimeFailure(
hasRenderedVideoFrameForMedia,
@@ -1727,14 +1877,15 @@ class ExoPlayerCore(private val activity: Activity) :
subtitleTrackGroupMap[trackId] = trackGroup
val isSelected = group.isSelected
// Detect external (side-loaded) subtitle by the ID prefix set in open()
val isExternal = format.id?.startsWith("external_") == true
val externalIndex = if (isExternal) format.id?.removePrefix("external_")?.toIntOrNull() else null
// Detect external (side-loaded) subtitle by the ID set in open(). media3
// rewrites merged child ids, so the tag is not the whole id.
val isExternal = ExternalSubtitleIds.isExternal(format.id)
val externalIndex = ExternalSubtitleIds.indexOf(format.id)
val externalUri = externalIndex?.takeIf { it in externalSubtitleUris.indices }?.let { externalSubtitleUris[it] }
val isContainer = !isExternal && externalSubtitleContainerUris.isNotEmpty()
val containerUri = if (isContainer) externalSubtitleContainerUris.first() else null
Log.d(TAG, "Subtitle track $groupIndex: codec=${format.codecs}, lang=${format.language}, selected=$isSelected, external=$isExternal")
Log.d(TAG, "Subtitle track $groupIndex: formatId=${format.id}, codec=${format.codecs}, lang=${format.language}, selected=$isSelected, external=$isExternal")
val track = mutableMapOf<String, Any?>(
"type" to "sub",
@@ -3014,6 +3165,8 @@ class ExoPlayerCore(private val activity: Activity) :
currentVideoFormat = null
firstFrameRendered = false
hasRenderedVideoFrameForMedia = false
lastRenderedFrameCount = -1
lastRenderedFrameChangeMs = System.currentTimeMillis()
videoDecoderRecoveryConsecutiveAttempts = 0
videoDecoderRecoveryTotalAttempts = 0
videoDecoderRecoveryPositionMs = null
@@ -3070,7 +3223,7 @@ class ExoPlayerCore(private val activity: Activity) :
(if (isDefault) C.SELECTION_FLAG_DEFAULT else 0) or
(if (isForced) C.SELECTION_FLAG_FORCED else 0)
val config = MediaItem.SubtitleConfiguration.Builder(Uri.parse(subUri))
.setId("external_$index")
.setId(ExternalSubtitleIds.idFor(index))
.setLabel(title ?: "External")
.setLanguage(language)
.setMimeType(mimeType ?: subtitleMimeTypeForCodec(codec) ?: detectSubtitleMimeType(subUri))
@@ -3433,7 +3586,7 @@ class ExoPlayerCore(private val activity: Activity) :
val existingIndex = externalSubtitleUris.indexOf(uri)
val isNew = existingIndex < 0
val index = if (isNew) externalSubtitles.size else existingIndex
val formatId = "external_$index"
val formatId = ExternalSubtitleIds.idFor(index)
if (isNew) {
// SELECTION_FLAG_DEFAULT marks this as the preferred text track so ExoPlayer's
@@ -3480,9 +3633,10 @@ class ExoPlayerCore(private val activity: Activity) :
player.prepare()
player.playWhenReady = savedPlayWhenReady
} else {
// Already attached — select the existing track via override.
// Already attached — select the existing track via override. The
// reported id carries media3's merge prefixes, so compare the tag.
val trackId = subtitleTrackGroupMap.entries
.firstOrNull { (_, group) -> group.getFormat(0).id == formatId }
.firstOrNull { (_, group) -> ExternalSubtitleIds.indexOf(group.getFormat(0).id) == index }
?.key
if (trackId != null) {
selectSubtitleTrack(trackId)
@@ -127,6 +127,11 @@ class ExoPlayerPlugin :
// only at real session boundaries so settings can be replayed if a
// superseded load requires a fresh MPV core.
private val pendingMpvProperties = LinkedHashMap<String, String>()
// Audio passthrough is a request, not a queued mpv property: mpv force-passthroughs
// every codec in audio-spdif with no decode fallback, so the fallback core's value is
// derived from the audio route at the moment mpv actually starts (#1703).
private var audioPassthroughRequested = false
private var currentExternalSubtitles: List<Map<String, Any?>>? = null
// FlutterPlugin
@@ -161,6 +166,7 @@ class ExoPlayerPlugin :
inFlightOpen = null
currentExternalSubtitles = null
pendingMpvProperties.clear()
audioPassthroughRequested = false
if (clearActivity) {
activity = null
activityBinding = null
@@ -279,12 +285,19 @@ class ExoPlayerPlugin :
}
val bufferSizeBytes = call.argument<Int>("bufferSizeBytes")
// Auto sizing is decided natively (LoadControlPolicy). `bufferSizeBytes` still arrives
// on Auto because Dart derives one for mpv's demuxer, which shares the property, and
// the fallback replay below needs it.
val bufferSizeAuto = call.argument<Boolean>("bufferSizeAuto") ?: false
val tunnelingEnabled = call.argument<Boolean>("tunnelingEnabled") ?: true
val dvConversionMode = call.argument<String>("dvConversionMode") ?: "auto"
val audioPassthroughEnabled = call.argument<Boolean>("audioPassthroughEnabled") ?: false
val assVideoLatencyFrames = call.argument<Int>("assVideoLatencyFrames") ?: 0
val subtitleRenderScale = call.argument<Double>("subtitleRenderScale")?.toFloat() ?: 1.0f
configuredBufferSizeBytes = bufferSizeBytes
// Seed the request here rather than waiting for Dart's separate setAudioPassthrough
// call, so a fallback raised before that arrives still derives audio-spdif correctly.
audioPassthroughRequested = audioPassthroughEnabled
// Global libass overlay render scale — set before the player/handler is built below so the
// first frame-size apply already uses it.
AssHandler.setRenderScale(subtitleRenderScale)
@@ -314,6 +327,7 @@ class ExoPlayerPlugin :
playerCore = core
val success = core.initialize(
bufferSizeBytes = bufferSizeBytes,
bufferSizeAuto = bufferSizeAuto,
tunnelingEnabled = tunnelingEnabled,
audioPassthroughEnabled = audioPassthroughEnabled
)
@@ -1134,13 +1148,14 @@ class ExoPlayerPlugin :
result.error("INVALID_ARGS", "Missing 'enabled'", null)
return
}
val audioSpdif = if (enabled) "ac3,eac3,dts,dts-hd,truehd" else ""
pendingMpvProperties["audio-spdif"] = audioSpdif
audioPassthroughRequested = enabled
val currentActivity = activity
if (usingMpvFallback) {
val audioSpdif = if (enabled && currentActivity != null) supportedMpvSpdifCodecs(currentActivity) else ""
handleFallbackMpvProperty("audio-spdif", audioSpdif, result, true)
return
}
activity?.runOnUiThread {
currentActivity?.runOnUiThread {
playerCore?.setAudioPassthrough(enabled)
result.success(true)
} ?: result.error("NO_ACTIVITY", "Activity not available", null)
@@ -1262,7 +1277,7 @@ class ExoPlayerPlugin :
* completion callback on the main thread.
*/
private fun prepareMpvFallback(core: MpvPlayerCore) {
val pendingProps = pendingMpvProperties.toList()
val pendingProps = pendingMpvProperties.filterKeys { it != "audio-spdif" }.toList()
val observedProps = observedProperties.toList()
val bufferSize = configuredBufferSizeBytes
@@ -1282,6 +1297,16 @@ class ExoPlayerPlugin :
}
}
// Derived last so it wins over any replayed value, and resolved here rather than
// when the setting was applied: the HDMI/AVR route can change between ExoPlayer
// startup and the moment mpv takes over (#1703).
val audioSpdif = activity
?.takeIf { audioPassthroughRequested }
?.let(::supportedMpvSpdifCodecs)
.orEmpty()
pendingMpvProperties["audio-spdif"] = audioSpdif
core.setProperty("audio-spdif", audioSpdif)
for ((propName, observed) in observedProps) {
core.observeProperty(propName, observed.format)
}
@@ -0,0 +1,40 @@
package com.edde746.plezy.exoplayer
/**
* Identity of a side-loaded subtitle across media3's media-source merging.
*
* Each `MediaItem.SubtitleConfiguration` is tagged with [idFor], and the tag is
* read back off the `Format` the track selector reports. The tag does not
* survive verbatim: `DefaultMediaSourceFactory.createMediaSource` always wraps
* the primary source plus one source per subtitle configuration in a
* `MergingMediaSource`, and since media3 1.3.0 `MergingMediaPeriod.onPrepared`
* rewrites every child format id to `"<periodIndex>:<originalId>"`. A second
* merge — the one this player builds for container sidecars — prefixes it
* again. So the same configuration can surface as `external_0`,
* `1:external_0`, or `0:1:external_0`.
*
* Only the final `:`-separated segment carries the tag, which is why matching
* on the whole id silently classifies every sidecar as an embedded track.
*/
internal object ExternalSubtitleIds {
private const val PREFIX = "external_"
/** Tag written onto the [index]th side-loaded subtitle configuration. */
fun idFor(index: Int): String = "$PREFIX$index"
/** Whether [formatId] identifies a side-loaded subtitle. */
fun isExternal(formatId: String?): Boolean = tagOf(formatId) != null
/**
* Index passed to [idFor], or null when [formatId] is not a side-loaded
* subtitle or carries a tag this build did not write.
*/
fun indexOf(formatId: String?): Int? = tagOf(formatId)?.toIntOrNull()
private fun tagOf(formatId: String?): String? {
// substringAfterLast returns the whole string when no ':' is present, which
// is the unmerged case.
val segment = formatId?.substringAfterLast(':') ?: return null
return if (segment.startsWith(PREFIX)) segment.removePrefix(PREFIX) else null
}
}
@@ -0,0 +1,60 @@
package com.edde746.plezy.exoplayer
/**
* Auto sizing for [androidx.media3.exoplayer.DefaultLoadControl]'s `targetBufferBytes` (#1618).
*
* A byte cap collapses as bitrate rises: 64 MiB is 53s of a 10 Mbit/s stream but 5.2s of a
* 103 Mbit/s UHD remux. With `prioritizeTimeOverSizeThresholds = false` the cap is hard, so
* read-ahead that short starves the audio sink in bursts — enough, on some routes, to keep a
* passthrough AudioTrack from ever starting.
*
* The tiers this replaced came from mpv demuxer OOM tuning and handed ExoPlayer a flat
* 64 MiB, under half of what media3 would pick for the same selection
* ([MEDIA3_DEFAULT_TARGET_BYTES]). The fix is not "buffer more than upstream", it is "stop
* buffering less unless the heap requires it".
*
* Not bitrate-aware: the `LoadControl` is built during `initialize`, before any media is
* opened, so a byte budget is all that is knowable.
*/
internal object LoadControlPolicy {
private const val MIB = 1024 * 1024
/**
* media3's own `calculateTargetBufferBytes` for a video + audio selection: 2000 + 200
* segments at `C.DEFAULT_BUFFER_SEGMENT_SIZE` (64 KiB). A ceiling, never exceeded here.
*/
const val MEDIA3_DEFAULT_TARGET_BYTES = 2200 * 64 * 1024
/**
* Floor, kept at the lowest tier that has already shipped, and it wins over the budgets
* below — going under it reintroduces the starvation this policy exists to prevent.
*/
const val MIN_TARGET_BYTES = 32 * MIB
/**
* Fraction of a memory budget the allocator may claim. Matches the threshold the Buffer
* Size setting already warns at (`value > heapMB / 4`).
*/
private const val BUDGET_DIVISOR = 4
/**
* @param largeHeapMB `ActivityManager.largeMemoryClass` — the hard Java-heap ceiling for
* this process, which is what bounds `DefaultAllocator` (it hands out `byte[]`).
* Non-positive when unknown.
* @param availableMB `ActivityManager.MemoryInfo.availMem`, so a device that is currently
* under pressure does not get sized purely off its theoretical heap. Non-positive when
* unknown.
*/
fun autoTargetBufferBytes(largeHeapMB: Int, availableMB: Int): Int {
var budget = MEDIA3_DEFAULT_TARGET_BYTES.toLong()
if (largeHeapMB > 0) budget = minOf(budget, largeHeapMB.toLong() / BUDGET_DIVISOR * MIB)
if (availableMB > 0) budget = minOf(budget, availableMB.toLong() / BUDGET_DIVISOR * MIB)
return maxOf(budget, MIN_TARGET_BYTES.toLong()).toInt()
}
/** Seconds of media a budget covers at [bitrateBps], for logs. Null when unknown. */
fun readAheadSeconds(targetBufferBytes: Int, bitrateBps: Long): Double? {
if (bitrateBps <= 0L) return null
return targetBufferBytes * 8.0 / bitrateBps
}
}
@@ -18,6 +18,7 @@ import androidx.media3.exoplayer.Renderer
import androidx.media3.exoplayer.analytics.PlayerId
import androidx.media3.exoplayer.audio.AudioOutput
import androidx.media3.exoplayer.audio.AudioOutputProvider
import androidx.media3.exoplayer.audio.AudioRendererEventListener
import androidx.media3.exoplayer.audio.AudioSink
import androidx.media3.exoplayer.audio.AudioTrackAudioOutputProvider
import androidx.media3.exoplayer.audio.DefaultAudioSink
@@ -115,6 +116,40 @@ class PlezyRenderersFactory(context: Context) : DefaultRenderersFactory(context)
)
}
/**
* Records which audio renderers the session actually got. Whether the bundled
* FFmpeg renderer loaded decides between decoding TrueHD/DTS-HD in ExoPlayer and
* bailing to the mpv fallback, and nothing else in an uploaded log distinguishes
* the two (#1703).
*/
override fun buildAudioRenderers(
context: Context,
extensionRendererMode: Int,
mediaCodecSelector: MediaCodecSelector,
enableDecoderFallback: Boolean,
audioSink: AudioSink,
eventHandler: Handler,
eventListener: AudioRendererEventListener,
out: ArrayList<Renderer>
) {
val firstAudioIndex = out.size
super.buildAudioRenderers(
context,
extensionRendererMode,
mediaCodecSelector,
enableDecoderFallback,
audioSink,
eventHandler,
eventListener,
out
)
audioDiagnosticsLogger?.invoke(
"info",
"audio",
"Audio renderers: " + out.subList(firstAudioIndex, out.size).joinToString { it.name }
)
}
override fun buildAudioSink(
context: Context,
enableFloatOutput: Boolean,
@@ -308,6 +308,12 @@ class MpvPlayerCore private constructor(
// Pause on the last frame at EOF instead of unloading the file, so a
// seek after the video ends still works (matches Linux/Windows).
setOption("keep-open", "yes")
// Plezy only ever opens media-server streams and local files, so
// mpv's bundled ytdl_hook has nothing to resolve: it costs an
// on_load hook per open and, on a failed open, spawns yt-dlp with
// the access token in its argv. mpv decides whether to load the
// builtin script during mpv_initialize, hence an option here.
setOption("ytdl", "no")
}
if (displayFpsOverride != null) {
Log.d(TAG, "Initial display-fps-override=$displayFpsOverride")
@@ -5,9 +5,7 @@ import android.content.ContentValues
import android.database.Cursor
import android.graphics.BitmapFactory
import android.net.Uri
import android.os.Binder
import android.os.ParcelFileDescriptor
import android.os.Process
import android.system.Os
import java.io.ByteArrayOutputStream
import java.io.File
@@ -27,22 +25,16 @@ class SystemShelfArtworkProvider : ContentProvider() {
override fun onCreate(): Boolean = context != null
/**
* The provider is not exported, so the framework admits a cross-process caller only when it
* holds a read grant for this exact URI. Grants are issued by [WatchNextProvider] to the
* packages that declare a HOME activity; do not re-derive the consumer here, because a device
* whose HOME launcher is not the resolved default (Fire OS, or any device with several
* launchers and no default) has no single package to compare against.
*/
override fun openFile(uri: Uri, mode: String): ParcelFileDescriptor {
if (mode != "r") throw FileNotFoundException("Read-only artwork")
val appContext = context ?: throw FileNotFoundException("Provider unavailable")
val callingUid = Binder.getCallingUid()
if (callingUid != Process.myUid()) {
val homeIntent = android.content.Intent(android.content.Intent.ACTION_MAIN)
.addCategory(android.content.Intent.CATEGORY_HOME)
val homePackage = appContext.packageManager
.resolveActivity(homeIntent, android.content.pm.PackageManager.MATCH_DEFAULT_ONLY)
?.activityInfo
?.packageName
val callerPackages = appContext.packageManager.getPackagesForUid(callingUid)
if (homePackage == null || callerPackages == null || homePackage !in callerPackages) {
throw FileNotFoundException("Artwork caller is not the active HOME launcher")
}
}
val file = SystemShelfArtworkStore(appContext.cacheDir).resolve(uri)
?: throw FileNotFoundException("Unknown artwork")
return ParcelFileDescriptor.open(file, ParcelFileDescriptor.MODE_READ_ONLY)
@@ -201,7 +201,13 @@ class WatchNextProvider internal constructor(
return@whileCurrent false
}
grantReadAccess(newUris, newPackages)
// The provider is not exported, so an ungranted row publishes artwork no launcher can
// open. Refuse to commit that rather than leave a broken tile on the home screen.
if (!grantReadAccess(newUris, newPackages)) {
reconcileReadAccess(newUris, newPackages, oldUris, oldPackages)
artwork.delete(publishedFiles)
return@whileCurrent false
}
if (session.isExpired()) {
reconcileReadAccess(newUris, newPackages, oldUris, oldPackages)
artwork.delete(publishedFiles)
@@ -455,17 +461,19 @@ class WatchNextProvider internal constructor(
false
}
/**
* Every installed launcher, not just the resolved default. `MATCH_DEFAULT_ONLY` names one
* package, which is wrong wherever the launcher rendering the shelf is not the system's default
* HOME: Fire OS pins its own launcher, and a device with several launchers and no chosen default
* resolves to the resolver activity instead. Both cases left the real consumer without a grant.
*/
internal fun consumerPackages(): Set<String> {
val homeIntent = Intent(Intent.ACTION_MAIN).addCategory(Intent.CATEGORY_HOME)
val packageManager = context.packageManager
val selectedHome = packageManager.resolveActivity(homeIntent, PackageManager.MATCH_DEFAULT_ONLY)
?.activityInfo ?: return emptySet()
val packageName = selectedHome.packageName?.takeIf(String::isNotBlank) ?: return emptySet()
val activityName = selectedHome.name?.takeIf(String::isNotBlank) ?: return emptySet()
val isHomeHandler = packageManager.queryIntentActivities(homeIntent, PackageManager.MATCH_ALL).any { candidate ->
candidate.activityInfo?.let { it.packageName == packageName && it.name == activityName } == true
}
return if (isHomeHandler) setOf(packageName) else emptySet()
return context.packageManager
.queryIntentActivities(homeIntent, PackageManager.MATCH_ALL)
.mapNotNullTo(LinkedHashSet()) { candidate ->
candidate.activityInfo?.packageName?.takeIf(String::isNotBlank)
}
}
private fun reconcileReadAccess(
@@ -489,13 +497,36 @@ class WatchNextProvider internal constructor(
grantReadAccess(currentUris, currentPackages)
}
private fun grantReadAccess(uris: Set<Uri>, packages: Set<String>) {
/**
* Grants read access and reports whether every poster reached at least one consumer. Losing one
* launcher is tolerated, because consumers are discovered per sync and one of them disappearing
* mid-sync must not cost the others their shelf. A poster that reached nobody would render as a
* broken tile, so it fails the sync instead.
*/
private fun grantReadAccess(uris: Set<Uri>, packages: Set<String>): Boolean {
if (uris.isEmpty() || packages.isEmpty()) return true
val flags = Intent.FLAG_GRANT_READ_URI_PERMISSION
packages.forEach { packageName ->
uris.forEach { uri ->
runCatching { context.grantUriPermission(packageName, uri, flags) }
var failed = 0
var unreadable = 0
uris.forEach { uri ->
var granted = 0
packages.forEach { packageName ->
if (runCatching { context.grantUriPermission(packageName, uri, flags) }.isSuccess) {
granted++
} else {
failed++
}
}
if (granted == 0) unreadable++
}
if (failed > 0) {
Log.w(
TAG,
"Failed to grant $failed of ${uris.size * packages.size} shelf artwork reads; " +
"$unreadable of ${uris.size} posters reached no launcher"
)
}
return unreadable == 0
}
private fun revokeReadAccess(uris: Set<Uri>) {
@@ -1,6 +1,8 @@
package com.edde746.plezy.exoplayer
import androidx.media3.common.C
import androidx.media3.common.MimeTypes
import org.junit.Assert.assertEquals
import org.junit.Assert.assertFalse
import org.junit.Assert.assertTrue
import org.junit.Test
@@ -44,4 +46,40 @@ class AudioOutputPolicyTest {
assertFalse(mimeType, shouldBlockDirectOutputForPassthrough(mimeType, audioPassthroughEnabled = false))
}
}
@Test
fun spdifListNamesEveryCodecAnUnrestrictedRouteAdvertises() {
assertEquals("ac3,eac3,dts,dts-hd,truehd", mpvSpdifCodecs { true })
}
@Test
fun spdifListDropsCodecsTheRouteCannotBitstream() {
// Google TV Streamer over HDMI to a Dolby-only sink: AC3/E-AC3 bitstream,
// TrueHD and DTS do not (#1703).
val dolbyOnlyRoute = setOf(C.ENCODING_AC3, C.ENCODING_E_AC3)
assertEquals("ac3,eac3", mpvSpdifCodecs { encoding -> encoding in dolbyOnlyRoute })
}
@Test
fun spdifListOmitsDtsHdOnDtsCoreOnlyRoutes() {
// media3's passthrough probe would answer yes for DTS-HD here by downgrading to the
// DTS core. mpv reads `dts,dts-hd` as `dts-hd` alone and force-passes DTS-HD MA, so
// accepting that downgrade would break DTS too.
val dtsCoreOnlyRoute = setOf(C.ENCODING_DTS)
assertEquals("dts", mpvSpdifCodecs { encoding -> encoding in dtsCoreOnlyRoute })
}
@Test
fun spdifListKeepsDtsHdWhenTheRouteAdvertisesIt() {
val dtsHdRoute = setOf(C.ENCODING_DTS, C.ENCODING_DTS_HD)
assertEquals("dts,dts-hd", mpvSpdifCodecs { encoding -> encoding in dtsHdRoute })
}
@Test
fun spdifListIsEmptyForPcmOnlyRoutes() {
assertEquals("", mpvSpdifCodecs { false })
}
}
@@ -0,0 +1,110 @@
package com.edde746.plezy.exoplayer
import androidx.media3.common.C
import org.junit.Assert.assertEquals
import org.junit.Assert.assertFalse
import org.junit.Assert.assertTrue
import org.junit.Test
class EndOfStreamPolicyTest {
private fun isFinishedFile(
hasPlaybackOutput: Boolean = true,
hasVideoOutput: Boolean = true,
isLive: Boolean = false,
durationMs: Long = 60_000L,
positionMs: Long = 60_000L,
frameStallMs: Long = EndOfStreamPolicy.FRAME_STALL_MS
): Boolean = EndOfStreamPolicy.isFinishedFile(
hasPlaybackOutput = hasPlaybackOutput,
hasVideoOutput = hasVideoOutput,
isLive = isLive,
durationMs = durationMs,
positionMs = positionMs,
frameStallMs = frameStallMs
)
// isFinishedFile
@Test
fun stuckPastDurationWithNoPictureIsTheEndOfTheFile() {
// The reported failure: the clock ran a minute past the last frame.
assertTrue(isFinishedFile(positionMs = 119_816L, frameStallMs = 59_816L))
// And the moment the overrun begins, once the picture is already gone.
assertTrue(isFinishedFile(positionMs = 60_000L, frameStallMs = 5_000L))
}
@Test
fun stillPaintingFramesMeansTheDurationIsUnderDeclaredNotFinished() {
assertFalse(isFinishedFile(positionMs = 90_000L, frameStallMs = 4_999L))
assertFalse(isFinishedFile(positionMs = 90_000L, frameStallMs = 0L))
}
@Test
fun audioOnlyMediaHasNoFrameCounterAndRidesTheTimeoutAlone() {
assertTrue(isFinishedFile(hasVideoOutput = false, frameStallMs = 0L))
}
@Test
fun playbackShortOfTheDurationIsNeverFinished() {
assertFalse(isFinishedFile(positionMs = 59_999L))
}
@Test
fun unknownOrAbsentDurationIsNeverFinished() {
assertFalse(isFinishedFile(durationMs = C.TIME_UNSET, positionMs = 120_000L))
assertFalse(isFinishedFile(durationMs = 0L, positionMs = 120_000L))
assertFalse(isFinishedFile(durationMs = -5L, positionMs = 120_000L))
}
@Test
fun liveAndOutputlessSessionsKeepTheNormalRecovery() {
// Live has no meaningful end; a session that never produced output is a
// start-up failure, which the fallback ladder already owns.
assertFalse(isFinishedFile(isLive = true))
assertFalse(isFinishedFile(hasPlaybackOutput = false))
}
// fallbackStartPositionMs
@Test
fun fallbackResumesStrictlyInsideTheMedia() {
// The observed hand-off asked MPV to start 59_816ms past the end.
assertEquals(
2_622_668L,
EndOfStreamPolicy.fallbackStartPositionMs(positionMs = 2_683_484L, durationMs = 2_623_668L, isLive = false)
)
assertEquals(
59_000L,
EndOfStreamPolicy.fallbackStartPositionMs(positionMs = 60_000L, durationMs = 60_000L, isLive = false)
)
}
@Test
fun fallbackKeepsAMidFilePositionUntouched() {
assertEquals(
30_000L,
EndOfStreamPolicy.fallbackStartPositionMs(positionMs = 30_000L, durationMs = 60_000L, isLive = false)
)
}
@Test
fun fallbackNeverGoesNegativeOnShortOrUnknownMedia() {
assertEquals(
0L,
EndOfStreamPolicy.fallbackStartPositionMs(positionMs = 400L, durationMs = 500L, isLive = false)
)
assertEquals(
0L,
EndOfStreamPolicy.fallbackStartPositionMs(positionMs = -1L, durationMs = C.TIME_UNSET, isLive = false)
)
}
@Test
fun liveFallbackKeepsItsPositionBecauseTheEndKeepsMoving() {
assertEquals(
2_683_484L,
EndOfStreamPolicy.fallbackStartPositionMs(positionMs = 2_683_484L, durationMs = 2_623_668L, isLive = true)
)
}
}
@@ -9,6 +9,7 @@ import androidx.media3.common.MediaItem
import androidx.media3.common.MimeTypes
import androidx.media3.common.PlaybackException
import androidx.media3.common.Player
import androidx.media3.common.util.StuckPlayerException
import androidx.media3.exoplayer.ExoPlaybackException
import androidx.media3.exoplayer.analytics.AnalyticsListener
import androidx.media3.exoplayer.source.SinglePeriodTimeline
@@ -355,6 +356,129 @@ class ExoPlayerFallbackTerminalTest {
}
}
@Test
@Config(sdk = [28])
fun playerStuckPastItsDurationWithoutAPictureReportsEndOfFile() {
val activity = Robolectric.buildActivity(Activity::class.java).setup().get()
activity.setContentView(FrameLayout(activity))
val core = ExoPlayerCore(activity)
val delegate = RecordingDelegate(handlesFallback = true)
core.delegate = delegate
try {
assertTrue(core.initialize())
arrangeStalledEndOfStream(core, frameStallMs = 60_000L)
invokePlayerError(core, stuckError(StuckPlayerException.STUCK_PLAYING_NOT_ENDING), mediaGeneration = 7)
assertEquals(0, delegate.fallbackRequests)
val endFiles = delegate.events.filter { it.first == "end-file" }
assertEquals(1, endFiles.size)
assertEquals("eof", endFiles.single().second?.get("reason"))
assertTrue(delegate.properties.contains("eof-reached" to true))
assertTrue(delegate.properties.contains("pause" to true))
// The timeline is pinned at the end: Dart classifies an EOF by position
// against duration, so an overrun would read as a mid-file stream death.
assertEquals(2623.668, delegate.properties.last { it.first == "time-pos" }.second)
assertEquals(2_623_668L, getField(core, "lastPosition"))
// A repeat report for the same media stays silent.
invokePlayerError(core, stuckError(StuckPlayerException.STUCK_PLAYING_NOT_ENDING), mediaGeneration = 7)
assertEquals(1, delegate.events.count { it.first == "end-file" })
assertEquals(0, delegate.fallbackRequests)
} finally {
core.dispose()
shadowOf(Looper.getMainLooper()).idle()
}
}
@Test
@Config(sdk = [28])
fun playerStuckPastAnUnderDeclaredDurationKeepsTheNormalRecovery() {
val activity = Robolectric.buildActivity(Activity::class.java).setup().get()
activity.setContentView(FrameLayout(activity))
val core = ExoPlayerCore(activity)
val delegate = RecordingDelegate(handlesFallback = true)
core.delegate = delegate
try {
assertTrue(core.initialize())
// Frames are still reaching the screen, so the file is not over — the
// container simply understates its length. MPV gets the tail.
arrangeStalledEndOfStream(core, frameStallMs = 0L)
invokePlayerError(core, stuckError(StuckPlayerException.STUCK_PLAYING_NOT_ENDING), mediaGeneration = 7)
assertEquals(1, delegate.fallbackRequests)
assertTrue(delegate.events.none { it.first == "end-file" })
} finally {
core.dispose()
shadowOf(Looper.getMainLooper()).idle()
}
}
@Test
@Config(sdk = [28])
fun otherStuckReportsAreNotTreatedAsEndOfFile() {
val activity = Robolectric.buildActivity(Activity::class.java).setup().get()
activity.setContentView(FrameLayout(activity))
val core = ExoPlayerCore(activity)
val delegate = RecordingDelegate(handlesFallback = true)
core.delegate = delegate
try {
assertTrue(core.initialize())
// A frozen clock at the same position is a stalled stream, not a finished
// file: it keeps the fallback so the other backend can rebuild it.
arrangeStalledEndOfStream(core, frameStallMs = 60_000L)
invokePlayerError(core, stuckError(StuckPlayerException.STUCK_PLAYING_NO_PROGRESS), mediaGeneration = 7)
assertEquals(1, delegate.fallbackRequests)
assertTrue(delegate.events.none { it.first == "end-file" })
} finally {
core.dispose()
shadowOf(Looper.getMainLooper()).idle()
}
}
@Test
fun fallbackNeverResumesTheOtherBackendAtOrPastTheEnd() {
val core = ExoPlayerCore(Robolectric.buildActivity(Activity::class.java).setup().get())
val delegate = RecordingDelegate(handlesFallback = true)
core.delegate = delegate
setField(core, "lastDuration", 2_623_668L)
try {
// The observed hand-off asked MPV to start a minute past the last frame,
// which opens straight into EOF and parks there.
assertTrue(requestFallback(core, mediaGeneration = 0, positionMs = 2_683_484L))
assertEquals(2_622_668L, delegate.lastFallbackPositionMs)
assertTrue(requestFallback(core, mediaGeneration = 0, positionMs = 30_000L))
assertEquals(30_000L, delegate.lastFallbackPositionMs)
} finally {
core.dispose()
}
}
/** Media that rendered, reached its declared end, and stopped painting. */
private fun arrangeStalledEndOfStream(core: ExoPlayerCore, frameStallMs: Long) {
setField(core, "currentMediaGeneration", 7)
setField(core, "currentMediaUri", "https://example.test/episode.mkv")
setField(core, "firstFrameRendered", true)
setField(core, "hasRenderedVideoFrameForMedia", true)
setField(core, "lastDuration", 2_623_668L)
setField(core, "lastPosition", 2_683_484L)
setField(core, "lastRenderedFrameChangeMs", System.currentTimeMillis() - frameStallMs)
}
private fun stuckError(stuckType: Int): ExoPlaybackException = ExoPlaybackException.createForUnexpected(
StuckPlayerException(stuckType, EndOfStreamPolicy.STALL_TIMEOUT_MS),
PlaybackException.ERROR_CODE_TIMEOUT
)
private fun setField(target: Any, name: String, value: Any?) {
target.javaClass.getDeclaredField(name).apply {
isAccessible = true
@@ -364,7 +488,7 @@ class ExoPlayerFallbackTerminalTest {
private fun getField(target: Any, name: String): Any? = target.javaClass.getDeclaredField(name).apply { isAccessible = true }.get(target)
private fun requestFallback(core: ExoPlayerCore, mediaGeneration: Int): Boolean {
private fun requestFallback(core: ExoPlayerCore, mediaGeneration: Int, positionMs: Long = 0L): Boolean {
val method = ExoPlayerCore::class.java.getDeclaredMethod(
"requestFormatFallback",
Int::class.javaPrimitiveType,
@@ -378,7 +502,7 @@ class ExoPlayerFallbackTerminalTest {
core,
mediaGeneration,
"https://example.test/video.mkv",
0L,
positionMs,
true,
"unsupported video"
) as Boolean
@@ -494,6 +618,7 @@ class ExoPlayerFallbackTerminalTest {
private val handlesFallback: Boolean
) : ExoPlayerDelegate {
var fallbackRequests = 0
var lastFallbackPositionMs = -1L
val properties = mutableListOf<Pair<String, Any?>>()
val events = mutableListOf<Pair<String, Map<String, Any>?>>()
@@ -506,6 +631,7 @@ class ExoPlayerFallbackTerminalTest {
errorMessage: String
): Boolean {
fallbackRequests++
lastFallbackPositionMs = positionMs
return handlesFallback
}
@@ -72,6 +72,22 @@ class ExoPlayerPluginTest {
}
}
@Test
fun fallbackPassthroughOnlyForcesCodecsTheRouteCanBitstream() {
val writes = mutableListOf<Pair<String, String>>()
val plugin = fallbackPlugin { name, value -> writes += name to value }
val result = RecordingResult()
plugin.onMethodCall(MethodCall("setAudioPassthrough", mapOf("enabled" to true)), result)
awaitCompletion(result)
// mpv force-passthroughs every codec named in audio-spdif and has no decode
// fallback, so a route that bitstreams nothing must be told to force nothing —
// otherwise the fallback renders video against a dead audio output (#1703).
assertEquals(listOf("audio-spdif" to ""), writes)
assertEquals(true, result.successValue)
}
@Test
fun fallbackPropertyHandlersMapRejectedWritesToBoundedErrorsOnce() {
for (case in fallbackPropertyCases()) {
@@ -601,6 +617,28 @@ class ExoPlayerPluginTest {
core.dispose()
}
@Test
fun fallbackPrepareDerivesPassthroughFromTheRouteInsteadOfReplayingQueuedCodecs() {
val activity = Robolectric.buildActivity(Activity::class.java).setup().get()
val writes = ConcurrentLinkedQueue<Pair<String, String>>()
val core = MpvPlayerCore(activity, true) { name, value -> writes += name to value }
val plugin = initialFallbackPlugin(activity, core)
setField(plugin, "audioPassthroughRequested", true)
@Suppress("UNCHECKED_CAST")
val pending = getField(plugin, "pendingMpvProperties") as MutableMap<String, String>
pending["audio-spdif"] = "ac3,eac3,dts,dts-hd,truehd"
invokeSetupMpvFallback(plugin, core, playWhenReady = true)
// The queued ExoPlayer-era list is never replayed. This emulated route bitstreams
// nothing, and mpv has no decode fallback for a codec it force-passes through, so
// replaying it would strand playback on a dead audio output (#1703).
assertTrue(awaitQueueEntry(writes, "audio-spdif" to ""))
assertFalse(writes.contains("audio-spdif" to "ac3,eac3,dts,dts-hd,truehd"))
assertEquals("", pending["audio-spdif"])
core.dispose()
}
@Test
fun reusedHeldFallbackSynchronouslyBlocksAutoResumeWithoutPausePropertyWrite() {
val activity = Robolectric.buildActivity(Activity::class.java).setup().get()
@@ -814,8 +852,8 @@ class ExoPlayerPluginTest {
FallbackPropertyCase("selectSubtitleTrack", emptyMap<String, Any?>(), "sid" to "no"),
FallbackPropertyCase(
"setAudioPassthrough",
mapOf("enabled" to true),
"audio-spdif" to "ac3,eac3,dts,dts-hd,truehd",
mapOf("enabled" to false),
"audio-spdif" to "",
true
),
FallbackPropertyCase(
@@ -0,0 +1,61 @@
package com.edde746.plezy.exoplayer
import org.junit.Assert.assertEquals
import org.junit.Assert.assertFalse
import org.junit.Assert.assertNull
import org.junit.Assert.assertTrue
import org.junit.Test
class ExternalSubtitleIdsTest {
@Test
fun unmergedTagResolves() {
assertTrue(ExternalSubtitleIds.isExternal("external_0"))
assertEquals(0, ExternalSubtitleIds.indexOf("external_0"))
assertEquals(7, ExternalSubtitleIds.indexOf("external_7"))
}
@Test
fun mediaSourceFactoryMergePrefixResolves() {
// DefaultMediaSourceFactory always merges side-loaded subtitles with the
// primary source, so MergingMediaPeriod prefixes the period index.
assertTrue(ExternalSubtitleIds.isExternal("1:external_0"))
assertEquals(0, ExternalSubtitleIds.indexOf("1:external_0"))
assertEquals(2, ExternalSubtitleIds.indexOf("3:external_2"))
}
@Test
fun containerSidecarOuterMergePrefixResolves() {
// The container-sidecar path wraps that merge in a second MergingMediaSource.
assertTrue(ExternalSubtitleIds.isExternal("0:1:external_0"))
assertEquals(0, ExternalSubtitleIds.indexOf("0:1:external_0"))
assertEquals(4, ExternalSubtitleIds.indexOf("0:2:external_4"))
}
@Test
fun embeddedAndUnknownIdsAreNotExternal() {
assertFalse(ExternalSubtitleIds.isExternal(null))
assertFalse(ExternalSubtitleIds.isExternal("1:2"))
assertFalse(ExternalSubtitleIds.isExternal("0:"))
// A container child whose own id merely ends in the tag's text.
assertFalse(ExternalSubtitleIds.isExternal("1:not_external_0"))
assertNull(ExternalSubtitleIds.indexOf("1:2"))
}
@Test
fun malformedTagIsExternalWithoutAnIndex() {
// Still a side-loaded track, but no usable URI lookup.
assertTrue(ExternalSubtitleIds.isExternal("1:external_x"))
assertNull(ExternalSubtitleIds.indexOf("1:external_x"))
}
@Test
fun writtenIdRoundTrips() {
for (index in 0..3) {
val id = ExternalSubtitleIds.idFor(index)
assertEquals(index, ExternalSubtitleIds.indexOf(id))
assertEquals(index, ExternalSubtitleIds.indexOf("1:$id"))
assertEquals(index, ExternalSubtitleIds.indexOf("0:1:$id"))
}
}
}
@@ -0,0 +1,87 @@
package com.edde746.plezy.exoplayer
import org.junit.Assert.assertEquals
import org.junit.Assert.assertNull
import org.junit.Test
private const val MIB = 1024 * 1024
class LoadControlPolicyTest {
// autoTargetBufferBytes
@Test
fun neverExceedsMedia3sOwnTargetEvenWithHugeMemory() {
assertEquals(
LoadControlPolicy.MEDIA3_DEFAULT_TARGET_BYTES,
LoadControlPolicy.autoTargetBufferBytes(largeHeapMB = 4096, availableMB = 8192)
)
}
@Test
fun heapBoundsTheTargetOnAShieldClassDevice() {
// The actual #1618 defect: the shipped tiers handed this device a flat 64MB, under half
// of media3's own choice. largeMemoryClass 512MB, ~1GB free, so the heap binds at
// 512/4 = 128MB — exactly what the reporter had to select by hand.
assertEquals(
128 * MIB,
LoadControlPolicy.autoTargetBufferBytes(largeHeapMB = 512, availableMB = 990)
)
}
@Test
fun freeMemoryBoundsTheTargetWhenItIsTighterThanTheHeap() {
assertEquals(
64 * MIB,
LoadControlPolicy.autoTargetBufferBytes(largeHeapMB = 512, availableMB = 256)
)
}
@Test
fun floorWinsOverBothBudgetsSoReadAheadCannotCollapse() {
// Going under the floor is what starves the sink on high-bitrate content; the
// allocator only grows into the target when the content is dense enough to need it.
assertEquals(
LoadControlPolicy.MIN_TARGET_BYTES,
LoadControlPolicy.autoTargetBufferBytes(largeHeapMB = 64, availableMB = 48)
)
}
@Test
fun unknownMemoryFallsBackToMedia3sTarget() {
assertEquals(
LoadControlPolicy.MEDIA3_DEFAULT_TARGET_BYTES,
LoadControlPolicy.autoTargetBufferBytes(largeHeapMB = 0, availableMB = 0)
)
}
@Test
fun unknownHeapStillRespectsFreeMemory() {
assertEquals(
64 * MIB,
LoadControlPolicy.autoTargetBufferBytes(largeHeapMB = -1, availableMB = 256)
)
}
// readAheadSeconds
@Test
fun readAheadReportsSecondsAtAKnownBitrate() {
// 64MiB of the #1618 stream (103_341 kbps) is ~5.2s — under the 15s minBufferMs, so the
// byte cap, not the time threshold, is what stops the loader.
val seconds = LoadControlPolicy.readAheadSeconds(64 * MIB, 103_341_000L)!!
assertEquals(5.19, seconds, 0.01)
}
@Test
fun readAheadDoublesWithTheTarget() {
val seconds = LoadControlPolicy.readAheadSeconds(128 * MIB, 103_341_000L)!!
assertEquals(10.39, seconds, 0.01)
}
@Test
fun readAheadIsUnknownWithoutABitrate() {
assertNull(LoadControlPolicy.readAheadSeconds(64 * MIB, 0L))
assertNull(LoadControlPolicy.readAheadSeconds(64 * MIB, -1L))
}
}
@@ -0,0 +1,58 @@
package com.edde746.plezy.watchnext
import java.io.File
import javax.xml.parsers.DocumentBuilderFactory
import org.junit.Assert.assertEquals
import org.junit.Test
import org.w3c.dom.Element
/**
* [SystemShelfArtworkProvider] performs no caller-identity check of its own, because the launcher
* rendering the Watch Next row is not necessarily the resolved default HOME activity (issue #1706).
* The manifest declaration is therefore the only thing standing between a launcher-scoped read
* grant and every app on the device.
*/
class SystemShelfArtworkManifestTest {
private companion object {
const val ANDROID_NAMESPACE = "http://schemas.android.com/apk/res/android"
const val AUTHORITY = "com.edde746.plezy.systemshelf.artwork"
val MANIFEST_CANDIDATES = listOf(
"src/main/AndroidManifest.xml",
"app/src/main/AndroidManifest.xml",
"android/app/src/main/AndroidManifest.xml"
)
}
@Test
fun artworkProviderIsReachableOnlyThroughUriGrants() {
val provider = artworkProvider()
assertEquals("false", provider.getAttributeNS(ANDROID_NAMESPACE, "exported"))
assertEquals("true", provider.getAttributeNS(ANDROID_NAMESPACE, "grantUriPermissions"))
}
private fun artworkProvider(): Element {
val manifest = DocumentBuilderFactory.newInstance()
.apply { isNamespaceAware = true }
.newDocumentBuilder()
.parse(manifestFile())
val providers = manifest.getElementsByTagName("provider")
for (index in 0 until providers.length) {
val provider = providers.item(index) as Element
if (provider.getAttributeNS(ANDROID_NAMESPACE, "authorities") == AUTHORITY) return provider
}
throw AssertionError("No <provider> declares android:authorities=\"$AUTHORITY\"")
}
private fun manifestFile(): File {
var directory: File? = File(System.getProperty("user.dir")).absoluteFile
while (directory != null) {
for (candidate in MANIFEST_CANDIDATES) {
val manifest = File(directory, candidate)
if (manifest.isFile) return manifest
}
directory = directory.parentFile
}
throw AssertionError("AndroidManifest.xml not found from ${System.getProperty("user.dir")}")
}
}
@@ -464,25 +464,143 @@ class WatchNextProviderTest {
}
@Test
fun onlySelectedHomeHandlerIsAnArtworkGrantConsumer() {
fun everyHomeHandlerIsAnArtworkGrantConsumer() {
val homeIntent = Intent(Intent.ACTION_MAIN).addCategory(Intent.CATEGORY_HOME)
val selected = registerHandler(homeIntent, "selected.home.launcher")
val inactive = registerHandler(homeIntent, "inactive.home.launcher")
selectDefaultHome(selected, selected, inactive)
val sideloaded = registerHandler(homeIntent, "sideloaded.home.launcher")
selectDefaultHome(selected, selected, sideloaded)
registerHandler(
Intent(Intent.ACTION_MAIN).addCategory(Intent.CATEGORY_LEANBACK_LAUNCHER),
"unrelated.leanback.app"
)
assertEquals(setOf("selected.home.launcher"), WatchNextProvider(context).consumerPackages())
assertEquals(
setOf("selected.home.launcher", "sideloaded.home.launcher"),
WatchNextProvider(context).consumerPackages()
)
}
@Test
fun bootRestoresConfinedArtworkGrantOnlyToSelectedHomeLauncher() {
fun homeHandlersAreArtworkGrantConsumersWithoutASelectedDefault() {
val homeIntent = Intent(Intent.ACTION_MAIN).addCategory(Intent.CATEGORY_HOME)
registerHandler(homeIntent, "first.home.launcher")
registerHandler(homeIntent, "second.home.launcher")
assertEquals(
setOf("first.home.launcher", "second.home.launcher"),
WatchNextProvider(context).consumerPackages()
)
}
@Test
fun syncGrantsArtworkToAHomeLauncherThatIsNotTheSystemDefault() {
withServer("image/png", imageBytes) { source ->
val homeIntent = Intent(Intent.ACTION_MAIN).addCategory(Intent.CATEGORY_HOME)
val systemDefault = registerHandler(homeIntent, "system.default.launcher")
val sideloaded = registerHandler(homeIntent, "sideloaded.home.launcher")
selectDefaultHome(systemDefault, systemDefault, sideloaded)
val grantContext = RecordingGrantContext(context)
assertTrue(
WatchNextProvider(grantContext).syncWatchNextPrograms("owner-a", 1, listOf(item(source)))
)
val poster = committedPoster()!!
assertEquals(
setOf(
Grant("system.default.launcher", poster, Intent.FLAG_GRANT_READ_URI_PERMISSION),
Grant("sideloaded.home.launcher", poster, Intent.FLAG_GRANT_READ_URI_PERMISSION)
),
grantContext.grants.toSet()
)
assertEquals(
setOf("system.default.launcher", "sideloaded.home.launcher"),
context.getSharedPreferences("system_shelf_state", 0)
.getStringSet("granted_packages", emptySet())
)
assertArrayEquals(imageBytes, openArtwork(poster))
}
}
@Test
fun syncIsAbandonedWhenNoLauncherCanBeGrantedArtwork() {
withServer("image/png", imageBytes) { source ->
val homeIntent = Intent(Intent.ACTION_MAIN).addCategory(Intent.CATEGORY_HOME)
registerHandler(homeIntent, "rejecting.home.launcher")
val grantContext = RecordingGrantContext(context, setOf("rejecting.home.launcher"))
assertFalse(
WatchNextProvider(grantContext).syncWatchNextPrograms("owner-a", 1, listOf(item(source)))
)
assertTrue(tvProvider.inserted.isEmpty())
assertTrue(artworkFiles().isEmpty())
assertTrue(
context.getSharedPreferences("system_shelf_state", 0)
.getStringSet("granted_uris", null)
.isNullOrEmpty()
)
}
}
@Test
fun syncPublishesWhenOneLauncherRejectsTheGrantAndAnotherAcceptsIt() {
withServer("image/png", imageBytes) { source ->
val homeIntent = Intent(Intent.ACTION_MAIN).addCategory(Intent.CATEGORY_HOME)
registerHandler(homeIntent, "rejecting.home.launcher")
registerHandler(homeIntent, "accepting.home.launcher")
val grantContext = RecordingGrantContext(context, setOf("rejecting.home.launcher"))
assertTrue(
WatchNextProvider(grantContext).syncWatchNextPrograms("owner-a", 1, listOf(item(source)))
)
val poster = committedPoster()!!
assertEquals(
setOf(Grant("accepting.home.launcher", poster, Intent.FLAG_GRANT_READ_URI_PERMISSION)),
grantContext.grants.toSet()
)
assertArrayEquals(imageBytes, openArtwork(poster))
}
}
@Test
fun syncIsAbandonedWhenOnePosterOfManyReachesNoLauncher() {
ScriptedHttpServer(
listOf(
ScriptedResponse(body = imageBytes),
ScriptedResponse(body = imageBytes)
)
).use { server ->
val homeIntent = Intent(Intent.ACTION_MAIN).addCategory(Intent.CATEGORY_HOME)
registerHandler(homeIntent, "only.home.launcher")
// The first poster is granted, the second reaches nobody. A global "something was granted"
// check would happily publish the second as a broken tile.
val grantContext = RecordingGrantContext(context, acceptedGrantLimit = 1)
assertFalse(
WatchNextProvider(grantContext).syncWatchNextPrograms(
"owner-a",
1,
listOf(
item("${server.baseUrl}/first"),
item("${server.baseUrl}/second").copy(contentId = "second")
)
)
)
assertEquals(1, grantContext.grants.size)
assertTrue(tvProvider.inserted.isEmpty())
assertTrue(artworkFiles().isEmpty())
}
}
@Test
fun bootRestoresConfinedArtworkGrantsToEveryHomeLauncher() {
val homeIntent = Intent(Intent.ACTION_MAIN).addCategory(Intent.CATEGORY_HOME)
val selected = registerHandler(homeIntent, "selected.home.launcher")
val inactive = registerHandler(homeIntent, "inactive.home.launcher")
selectDefaultHome(selected, selected, inactive)
val sideloaded = registerHandler(homeIntent, "sideloaded.home.launcher")
selectDefaultHome(selected, selected, sideloaded)
val owner = "a".repeat(64)
val legacyKey = "${"b".repeat(32)}.art"
val contentKey = "${"c".repeat(64)}.art"
@@ -518,7 +636,9 @@ class WatchNextProviderTest {
assertEquals(
setOf(
Grant("selected.home.launcher", legacy, Intent.FLAG_GRANT_READ_URI_PERMISSION),
Grant("selected.home.launcher", contentAddressed, Intent.FLAG_GRANT_READ_URI_PERMISSION)
Grant("selected.home.launcher", contentAddressed, Intent.FLAG_GRANT_READ_URI_PERMISSION),
Grant("sideloaded.home.launcher", legacy, Intent.FLAG_GRANT_READ_URI_PERMISSION),
Grant("sideloaded.home.launcher", contentAddressed, Intent.FLAG_GRANT_READ_URI_PERMISSION)
),
recordingContext.grants.toSet()
)
@@ -1289,7 +1409,11 @@ private data class Grant(val packageName: String, val uri: Uri, val modeFlags: I
private data class PackageRevocation(val packageName: String, val uri: Uri, val modeFlags: Int)
private class RecordingGrantContext(base: Context) : ContextWrapper(base) {
private class RecordingGrantContext(
base: Context,
private val rejectingPackages: Set<String> = emptySet(),
private val acceptedGrantLimit: Int = Int.MAX_VALUE
) : ContextWrapper(base) {
val grants = mutableListOf<Grant>()
val uriWideRevocations = mutableListOf<Uri>()
val packageRevocations = mutableListOf<PackageRevocation>()
@@ -1297,6 +1421,9 @@ private class RecordingGrantContext(base: Context) : ContextWrapper(base) {
override fun getApplicationContext(): Context = this
override fun grantUriPermission(toPackage: String?, uri: Uri?, modeFlags: Int) {
if (toPackage in rejectingPackages || grants.size >= acceptedGrantLimit) {
throw SecurityException("Cannot grant to $toPackage")
}
if (toPackage != null && uri != null) grants += Grant(toPackage, uri, modeFlags)
}
+6
View File
@@ -35,6 +35,12 @@ subprojects {
// their dependencies already require current APIs.
extension.compileSdk = 36
extension.buildToolsVersion = "36.1.0"
// The Flutter plugin copies the app's build types into every plugin
// module, so `minified` arrives here carrying the app's shrinker flags.
// Library-level shrinking then deletes the plugin entry points that only
// GeneratedPluginRegistrant references, and the app's R8 fails on the
// missing classes. Only the app should shrink.
extension.buildTypes.findByName("minified")?.isMinifyEnabled = false
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

+1
View File
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><linearGradient id="g" x1="0" y1="24" x2="24" y2="0" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#ab543a"/><stop offset="1" stop-color="#ff7e57"/></linearGradient></defs><path fill="url(#g)" d="M19.3 16.9c.4-.7.7-1.5.7-2.4c0-2.5-2-4.5-4.5-4.5S11 12 11 14.5s2 4.5 4.5 4.5c.9 0 1.7-.3 2.4-.7l3.2 3.2l1.4-1.4zm-3.8.1c-1.4 0-2.5-1.1-2.5-2.5s1.1-2.5 2.5-2.5s2.5 1.1 2.5 2.5s-1.1 2.5-2.5 2.5M12 20v2C6.48 22 2 17.52 2 12S6.48 2 12 2c4.84 0 8.87 3.44 9.8 8h-2.07A8 8 0 0 0 15 4.59V5c0 1.1-.9 2-2 2h-2v2c0 .55-.45 1-1 1H8v2h2v3H9l-4.79-4.79C4.08 10.79 4 11.38 4 12c0 4.41 3.59 8 8 8"/></svg>

After

Width:  |  Height:  |  Size: 666 B

+1
View File
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><linearGradient id="g" x1="0" y1="24" x2="24" y2="0" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#ab543a"/><stop offset="1" stop-color="#ff7e57"/></linearGradient></defs><path fill="url(#g)" d="M20 2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2m-2 5h-3v5.5a2.5 2.5 0 0 1-5 0a2.5 2.5 0 0 1 2.5-2.5c.57 0 1.08.19 1.5.51V5h4zM4 6H2v14c0 1.1.9 2 2 2h14v-2H4z"/></svg>

After

Width:  |  Height:  |  Size: 471 B

+7
View File
@@ -26,6 +26,13 @@
<string>$(FLUTTER_BUILD_NUMBER)</string>
<key>ITSAppUsesNonExemptEncryption</key>
<false/>
<!-- canOpenURL returns false for undeclared schemes, which both blocks the
external-player handoff and hides the players from Settings. -->
<key>LSApplicationQueriesSchemes</key>
<array>
<string>vlc</string>
<string>infuse</string>
</array>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>LSSupportsOpeningDocumentsInPlace</key>
+31
View File
@@ -1,6 +1,7 @@
import '../media/media_backend.dart';
import '../models/plex/plex_home_user.dart';
import '../services/plex_auth_service.dart';
import '../utils/json_utils.dart';
import '../utils/url_utils.dart';
/// Identifier of a backend kind a [Connection] points at. Lighter-weight than
@@ -232,6 +233,13 @@ class JellyfinConnection extends Connection {
/// match/unmatch, edit metadata) without an extra round-trip.
final bool isAdministrator;
/// The authenticated user's `PrimaryImageTag`, or `null` when they have no
/// profile picture. Jellyfin omits the key entirely in that case, and the
/// tag is `MD5(imagePath + lastModified)` so it changes on every upload —
/// which makes the derived avatar URL self-invalidating. Captured at auth
/// time and refreshed by [JellyfinClient.checkHealth].
final String? primaryImageTag;
JellyfinConnection({
required this.id,
required String baseUrl,
@@ -243,6 +251,7 @@ class JellyfinConnection extends Connection {
required this.accessToken,
required this.deviceId,
this.isAdministrator = false,
this.primaryImageTag,
this.status = ConnectionStatus.unknown,
required this.createdAt,
this.lastAuthenticatedAt,
@@ -298,6 +307,12 @@ class JellyfinConnection extends Connection {
String? accessToken,
String? deviceId,
bool? isAdministrator,
String? primaryImageTag,
/// Deleting a Jellyfin profile picture drops `PrimaryImageTag` from the
/// user DTO, so a refresh must be able to null the cached value — a bare
/// `primaryImageTag: null` is indistinguishable from "unchanged".
bool clearPrimaryImageTag = false,
ConnectionStatus? status,
DateTime? createdAt,
DateTime? lastAuthenticatedAt,
@@ -314,6 +329,7 @@ class JellyfinConnection extends Connection {
accessToken: accessToken ?? this.accessToken,
deviceId: deviceId ?? this.deviceId,
isAdministrator: isAdministrator ?? this.isAdministrator,
primaryImageTag: clearPrimaryImageTag ? null : (primaryImageTag ?? this.primaryImageTag),
status: status ?? this.status,
createdAt: createdAt ?? this.createdAt,
lastAuthenticatedAt: lastAuthenticatedAt ?? this.lastAuthenticatedAt,
@@ -332,6 +348,7 @@ class JellyfinConnection extends Connection {
'accessToken': accessToken,
'deviceId': deviceId,
'isAdministrator': isAdministrator,
'primaryImageTag': primaryImageTag,
};
}
@@ -359,9 +376,23 @@ class JellyfinConnection extends Connection {
accessToken: json['accessToken'] as String? ?? '',
deviceId: json['deviceId'] as String? ?? '',
isAdministrator: json['isAdministrator'] as bool? ?? false,
primaryImageTag: normalizePrimaryImageTag(json['primaryImageTag']),
status: status,
createdAt: createdAt,
lastAuthenticatedAt: lastAuthenticatedAt,
);
}
/// Tolerant read of a Jellyfin user DTO's `PrimaryImageTag`.
///
/// The tag is decorative — a fork or a drifted scalar type must never brick
/// sign-in — so this coerces through [readStringField] rather than casting,
/// and collapses absent/blank to `null` ("no picture").
static String? readPrimaryImageTag(Map<String, Object?> userDto) =>
normalizePrimaryImageTag(readStringField(userDto, 'PrimaryImageTag'));
static String? normalizePrimaryImageTag(Object? raw) {
final tag = raw?.toString().trim();
return tag == null || tag.isEmpty ? null : tag;
}
}
+12 -3
View File
@@ -42,14 +42,22 @@ class ConnectionRegistry {
/// Insert or replace [connection]. If this is the first stored connection
/// it is automatically marked default; re-upserting an existing row keeps
/// the row's current `isDefault` (so token/metadata refreshes don't clear
/// the default flag).
/// the row's current `isDefault` and `createdAt` (so token/metadata
/// refreshes don't clear the default flag or restamp creation order).
///
/// Creation order is behaviour, not bookkeeping: it decides which
/// connection lends a profile its picture, and `remove` promotes the oldest
/// remaining row to default. Re-authenticating rebuilds the model with
/// `DateTime.now()` and reuses the same stable id, so without this the
/// originally-first connection would jump to last on every re-sign-in.
Future<void> upsert(Connection connection) async {
await _db.runIdentityMutation(() async {
final existing = await (_db.select(_db.connections)..where((t) => t.id.equals(connection.id))).getSingleOrNull();
final bool isDefault;
final int createdAt;
if (existing != null) {
isDefault = existing.isDefault;
createdAt = existing.createdAt;
} else {
final any =
await (_db.selectOnly(_db.connections)
@@ -57,6 +65,7 @@ class ConnectionRegistry {
..limit(1))
.getSingleOrNull();
isDefault = any == null;
createdAt = connection.createdAt.millisecondsSinceEpoch;
}
final protectedConfig = await CredentialVault.protectConnectionConfig(
connection.kind.id,
@@ -68,7 +77,7 @@ class ConnectionRegistry {
displayName: Value(connection.displayName),
configJson: Value(jsonEncode(protectedConfig)),
isDefault: Value(isDefault),
createdAt: Value(connection.createdAt.millisecondsSinceEpoch),
createdAt: Value(createdAt),
lastAuthenticatedAt: Value(connection.lastAuthenticatedAt?.millisecondsSinceEpoch),
);
await _db.into(_db.connections).insertOnConflictUpdate(row);
+564
View File
@@ -0,0 +1,564 @@
// ISO 3166-1 alpha-2 country names, from
// https://raw.githubusercontent.com/lukes/ISO-3166-Countries-with-Regional-Codes/master/all/all.json
// with widely-used short forms substituted for unwieldy official long names
// (for example "United Kingdom" rather than "United Kingdom of Great Britain
// and Northern Ireland"), because these render in metadata chips.
//
// Static data, like lib/data/iso_639_data.dart. There is no in-repository
// regeneration path; refresh by re-fetching the source above and re-applying
// the short forms and aliases.
//
// English only. The app ships no localized country catalog, and Dart's intl
// does not provide one offline; callers fall back to the raw code, which is
// itself recognizable.
const countryNames = <String, String>{
'AD': "Andorra",
'AE': "United Arab Emirates",
'AF': "Afghanistan",
'AG': "Antigua and Barbuda",
'AI': "Anguilla",
'AL': "Albania",
'AM': "Armenia",
'AO': "Angola",
'AQ': "Antarctica",
'AR': "Argentina",
'AS': "American Samoa",
'AT': "Austria",
'AU': "Australia",
'AW': "Aruba",
'AX': "Åland Islands",
'AZ': "Azerbaijan",
'BA': "Bosnia and Herzegovina",
'BB': "Barbados",
'BD': "Bangladesh",
'BE': "Belgium",
'BF': "Burkina Faso",
'BG': "Bulgaria",
'BH': "Bahrain",
'BI': "Burundi",
'BJ': "Benin",
'BL': "Saint Barthélemy",
'BM': "Bermuda",
'BN': "Brunei",
'BO': "Bolivia",
'BQ': "Bonaire, Sint Eustatius and Saba",
'BR': "Brazil",
'BS': "Bahamas",
'BT': "Bhutan",
'BV': "Bouvet Island",
'BW': "Botswana",
'BY': "Belarus",
'BZ': "Belize",
'CA': "Canada",
'CC': "Cocos (Keeling) Islands",
'CD': "DR Congo",
'CF': "Central African Republic",
'CG': "Congo",
'CH': "Switzerland",
'CI': "Côte d'Ivoire",
'CK': "Cook Islands",
'CL': "Chile",
'CM': "Cameroon",
'CN': "China",
'CO': "Colombia",
'CR': "Costa Rica",
'CU': "Cuba",
'CV': "Cabo Verde",
'CW': "Curaçao",
'CX': "Christmas Island",
'CY': "Cyprus",
'CZ': "Czechia",
'DE': "Germany",
'DJ': "Djibouti",
'DK': "Denmark",
'DM': "Dominica",
'DO': "Dominican Republic",
'DZ': "Algeria",
'EC': "Ecuador",
'EE': "Estonia",
'EG': "Egypt",
'EH': "Western Sahara",
'ER': "Eritrea",
'ES': "Spain",
'ET': "Ethiopia",
'FI': "Finland",
'FJ': "Fiji",
'FK': "Falkland Islands",
'FM': "Micronesia",
'FO': "Faroe Islands",
'FR': "France",
'GA': "Gabon",
'GB': "United Kingdom",
'GD': "Grenada",
'GE': "Georgia",
'GF': "French Guiana",
'GG': "Guernsey",
'GH': "Ghana",
'GI': "Gibraltar",
'GL': "Greenland",
'GM': "Gambia",
'GN': "Guinea",
'GP': "Guadeloupe",
'GQ': "Equatorial Guinea",
'GR': "Greece",
'GS': "South Georgia and the South Sandwich Islands",
'GT': "Guatemala",
'GU': "Guam",
'GW': "Guinea-Bissau",
'GY': "Guyana",
'HK': "Hong Kong",
'HM': "Heard Island and McDonald Islands",
'HN': "Honduras",
'HR': "Croatia",
'HT': "Haiti",
'HU': "Hungary",
'ID': "Indonesia",
'IE': "Ireland",
'IL': "Israel",
'IM': "Isle of Man",
'IN': "India",
'IO': "British Indian Ocean Territory",
'IQ': "Iraq",
'IR': "Iran",
'IS': "Iceland",
'IT': "Italy",
'JE': "Jersey",
'JM': "Jamaica",
'JO': "Jordan",
'JP': "Japan",
'KE': "Kenya",
'KG': "Kyrgyzstan",
'KH': "Cambodia",
'KI': "Kiribati",
'KM': "Comoros",
'KN': "Saint Kitts and Nevis",
'KP': "North Korea",
'KR': "South Korea",
'KW': "Kuwait",
'KY': "Cayman Islands",
'KZ': "Kazakhstan",
'LA': "Laos",
'LB': "Lebanon",
'LC': "Saint Lucia",
'LI': "Liechtenstein",
'LK': "Sri Lanka",
'LR': "Liberia",
'LS': "Lesotho",
'LT': "Lithuania",
'LU': "Luxembourg",
'LV': "Latvia",
'LY': "Libya",
'MA': "Morocco",
'MC': "Monaco",
'MD': "Moldova",
'ME': "Montenegro",
'MF': "Saint Martin (French part)",
'MG': "Madagascar",
'MH': "Marshall Islands",
'MK': "North Macedonia",
'ML': "Mali",
'MM': "Myanmar",
'MN': "Mongolia",
'MO': "Macao",
'MP': "Northern Mariana Islands",
'MQ': "Martinique",
'MR': "Mauritania",
'MS': "Montserrat",
'MT': "Malta",
'MU': "Mauritius",
'MV': "Maldives",
'MW': "Malawi",
'MX': "Mexico",
'MY': "Malaysia",
'MZ': "Mozambique",
'NA': "Namibia",
'NC': "New Caledonia",
'NE': "Niger",
'NF': "Norfolk Island",
'NG': "Nigeria",
'NI': "Nicaragua",
'NL': "Netherlands, Kingdom of the",
'NO': "Norway",
'NP': "Nepal",
'NR': "Nauru",
'NU': "Niue",
'NZ': "New Zealand",
'OM': "Oman",
'PA': "Panama",
'PE': "Peru",
'PF': "French Polynesia",
'PG': "Papua New Guinea",
'PH': "Philippines",
'PK': "Pakistan",
'PL': "Poland",
'PM': "Saint Pierre and Miquelon",
'PN': "Pitcairn",
'PR': "Puerto Rico",
'PS': "Palestine",
'PT': "Portugal",
'PW': "Palau",
'PY': "Paraguay",
'QA': "Qatar",
'RE': "Réunion",
'RO': "Romania",
'RS': "Serbia",
'RU': "Russia",
'RW': "Rwanda",
'SA': "Saudi Arabia",
'SB': "Solomon Islands",
'SC': "Seychelles",
'SD': "Sudan",
'SE': "Sweden",
'SG': "Singapore",
'SH': "Saint Helena, Ascension and Tristan da Cunha",
'SI': "Slovenia",
'SJ': "Svalbard and Jan Mayen",
'SK': "Slovakia",
'SL': "Sierra Leone",
'SM': "San Marino",
'SN': "Senegal",
'SO': "Somalia",
'SR': "Suriname",
'SS': "South Sudan",
'ST': "Sao Tome and Principe",
'SV': "El Salvador",
'SX': "Sint Maarten (Dutch part)",
'SY': "Syria",
'SZ': "Eswatini",
'TC': "Turks and Caicos Islands",
'TD': "Chad",
'TF': "French Southern Territories",
'TG': "Togo",
'TH': "Thailand",
'TJ': "Tajikistan",
'TK': "Tokelau",
'TL': "Timor-Leste",
'TM': "Turkmenistan",
'TN': "Tunisia",
'TO': "Tonga",
'TR': "Türkiye",
'TT': "Trinidad and Tobago",
'TV': "Tuvalu",
'TW': "Taiwan",
'TZ': "Tanzania",
'UA': "Ukraine",
'UG': "Uganda",
'UM': "United States Minor Outlying Islands",
'US': "United States",
'UY': "Uruguay",
'UZ': "Uzbekistan",
'VA': "Vatican City",
'VC': "Saint Vincent and the Grenadines",
'VE': "Venezuela",
'VG': "British Virgin Islands",
'VI': "U.S. Virgin Islands",
'VN': "Vietnam",
'VU': "Vanuatu",
'WF': "Wallis and Futuna",
'WS': "Samoa",
'YE': "Yemen",
'YT': "Mayotte",
'ZA': "South Africa",
'ZM': "Zambia",
'ZW': "Zimbabwe",
};
/// Reverse index for providers that send a country *name* instead of a code.
/// Plex Discover returns `Country` child tags such as `United States of
/// America`, so a mapper has to normalize before storing alpha-2.
///
/// Keyed by lowercased name, covering the official ISO form, the short form
/// used above, and colloquial names providers actually emit.
const countryCodesByName = <String, String>{
"afghanistan": 'AF',
"albania": 'AL',
"algeria": 'DZ',
"america": 'US',
"american samoa": 'AS',
"andorra": 'AD',
"angola": 'AO',
"anguilla": 'AI',
"antarctica": 'AQ',
"antigua and barbuda": 'AG',
"argentina": 'AR',
"armenia": 'AM',
"aruba": 'AW',
"australia": 'AU',
"austria": 'AT',
"azerbaijan": 'AZ',
"bahamas": 'BS',
"bahrain": 'BH',
"bangladesh": 'BD',
"barbados": 'BB',
"belarus": 'BY',
"belgium": 'BE',
"belize": 'BZ',
"benin": 'BJ',
"bermuda": 'BM',
"bhutan": 'BT',
"bolivia": 'BO',
"bolivia, plurinational state of": 'BO',
"bonaire, sint eustatius and saba": 'BQ',
"bosnia and herzegovina": 'BA',
"botswana": 'BW',
"bouvet island": 'BV',
"brazil": 'BR',
"britain": 'GB',
"british indian ocean territory": 'IO',
"british virgin islands": 'VG',
"brunei": 'BN',
"brunei darussalam": 'BN',
"bulgaria": 'BG',
"burkina faso": 'BF',
"burma": 'MM',
"burundi": 'BI',
"cabo verde": 'CV',
"cambodia": 'KH',
"cameroon": 'CM',
"canada": 'CA',
"cape verde": 'CV',
"cayman islands": 'KY',
"central african republic": 'CF',
"chad": 'TD',
"chile": 'CL',
"china": 'CN',
"christmas island": 'CX',
"cocos (keeling) islands": 'CC',
"colombia": 'CO',
"comoros": 'KM',
"congo": 'CG',
"congo, democratic republic of the": 'CD',
"cook islands": 'CK',
"costa rica": 'CR',
"croatia": 'HR',
"cuba": 'CU',
"curaçao": 'CW',
"cyprus": 'CY',
"czech republic": 'CZ',
"czechia": 'CZ',
"côte d'ivoire": 'CI',
"denmark": 'DK',
"djibouti": 'DJ',
"dominica": 'DM',
"dominican republic": 'DO',
"dr congo": 'CD',
"east timor": 'TL',
"ecuador": 'EC',
"egypt": 'EG',
"el salvador": 'SV',
"england": 'GB',
"equatorial guinea": 'GQ',
"eritrea": 'ER',
"estonia": 'EE',
"eswatini": 'SZ',
"ethiopia": 'ET',
"falkland islands": 'FK',
"falkland islands (malvinas)": 'FK',
"faroe islands": 'FO',
"fiji": 'FJ',
"finland": 'FI',
"france": 'FR',
"french guiana": 'GF',
"french polynesia": 'PF',
"french southern territories": 'TF',
"gabon": 'GA',
"gambia": 'GM',
"georgia": 'GE',
"germany": 'DE',
"ghana": 'GH',
"gibraltar": 'GI',
"great britain": 'GB',
"greece": 'GR',
"greenland": 'GL',
"grenada": 'GD',
"guadeloupe": 'GP',
"guam": 'GU',
"guatemala": 'GT',
"guernsey": 'GG',
"guinea": 'GN',
"guinea-bissau": 'GW',
"guyana": 'GY',
"haiti": 'HT',
"heard island and mcdonald islands": 'HM',
"holy see": 'VA',
"honduras": 'HN',
"hong kong": 'HK',
"hong kong sar china": 'HK',
"hungary": 'HU',
"iceland": 'IS',
"india": 'IN',
"indonesia": 'ID',
"iran": 'IR',
"iran, islamic republic of": 'IR',
"iraq": 'IQ',
"ireland": 'IE',
"isle of man": 'IM',
"israel": 'IL',
"italy": 'IT',
"ivory coast": 'CI',
"jamaica": 'JM',
"japan": 'JP',
"jersey": 'JE',
"jordan": 'JO',
"kazakhstan": 'KZ',
"kenya": 'KE',
"kiribati": 'KI',
"korea, democratic people's republic of": 'KP',
"korea, republic of": 'KR',
"kuwait": 'KW',
"kyrgyzstan": 'KG',
"lao people's democratic republic": 'LA',
"laos": 'LA',
"latvia": 'LV',
"lebanon": 'LB',
"lesotho": 'LS',
"liberia": 'LR',
"libya": 'LY',
"liechtenstein": 'LI',
"lithuania": 'LT',
"luxembourg": 'LU',
"macao": 'MO',
"macao sar china": 'MO',
"macedonia": 'MK',
"madagascar": 'MG',
"malawi": 'MW',
"malaysia": 'MY',
"maldives": 'MV',
"mali": 'ML',
"malta": 'MT',
"marshall islands": 'MH',
"martinique": 'MQ',
"mauritania": 'MR',
"mauritius": 'MU',
"mayotte": 'YT',
"mexico": 'MX',
"micronesia": 'FM',
"micronesia, federated states of": 'FM',
"moldova": 'MD',
"moldova, republic of": 'MD',
"monaco": 'MC',
"mongolia": 'MN',
"montenegro": 'ME',
"montserrat": 'MS',
"morocco": 'MA',
"mozambique": 'MZ',
"myanmar": 'MM',
"namibia": 'NA',
"nauru": 'NR',
"nepal": 'NP',
"netherlands, kingdom of the": 'NL',
"new caledonia": 'NC',
"new zealand": 'NZ',
"nicaragua": 'NI',
"niger": 'NE',
"nigeria": 'NG',
"niue": 'NU',
"norfolk island": 'NF',
"north korea": 'KP',
"north macedonia": 'MK',
"northern mariana islands": 'MP',
"norway": 'NO',
"oman": 'OM',
"pakistan": 'PK',
"palau": 'PW',
"palestine": 'PS',
"palestine, state of": 'PS',
"panama": 'PA',
"papua new guinea": 'PG',
"paraguay": 'PY',
"peru": 'PE',
"philippines": 'PH',
"pitcairn": 'PN',
"poland": 'PL',
"portugal": 'PT',
"puerto rico": 'PR',
"qatar": 'QA',
"romania": 'RO',
"russia": 'RU',
"russian federation": 'RU',
"rwanda": 'RW',
"réunion": 'RE',
"saint barthélemy": 'BL',
"saint helena, ascension and tristan da cunha": 'SH',
"saint kitts and nevis": 'KN',
"saint lucia": 'LC',
"saint martin (french part)": 'MF',
"saint pierre and miquelon": 'PM',
"saint vincent and the grenadines": 'VC',
"samoa": 'WS',
"san marino": 'SM',
"sao tome and principe": 'ST',
"saudi arabia": 'SA',
"senegal": 'SN',
"serbia": 'RS',
"seychelles": 'SC',
"sierra leone": 'SL',
"singapore": 'SG',
"sint maarten (dutch part)": 'SX',
"slovakia": 'SK',
"slovenia": 'SI',
"solomon islands": 'SB',
"somalia": 'SO',
"south africa": 'ZA',
"south georgia and the south sandwich islands": 'GS',
"south korea": 'KR',
"south sudan": 'SS',
"spain": 'ES',
"sri lanka": 'LK',
"sudan": 'SD',
"suriname": 'SR',
"svalbard and jan mayen": 'SJ',
"swaziland": 'SZ',
"sweden": 'SE',
"switzerland": 'CH',
"syria": 'SY',
"syrian arab republic": 'SY',
"taiwan": 'TW',
"taiwan, province of china": 'TW',
"tajikistan": 'TJ',
"tanzania": 'TZ',
"tanzania, united republic of": 'TZ',
"thailand": 'TH',
"the netherlands": 'NL',
"timor-leste": 'TL',
"togo": 'TG',
"tokelau": 'TK',
"tonga": 'TO',
"trinidad and tobago": 'TT',
"tunisia": 'TN',
"turkmenistan": 'TM',
"turks and caicos islands": 'TC',
"tuvalu": 'TV',
"türkiye": 'TR',
"u.k.": 'GB',
"u.s. virgin islands": 'VI',
"u.s.a.": 'US',
"uganda": 'UG',
"uk": 'GB',
"ukraine": 'UA',
"united arab emirates": 'AE',
"united kingdom": 'GB',
"united kingdom of great britain and northern ireland": 'GB',
"united states": 'US',
"united states minor outlying islands": 'UM',
"united states of america": 'US',
"uruguay": 'UY',
"us": 'US',
"usa": 'US',
"uzbekistan": 'UZ',
"vanuatu": 'VU',
"vatican city": 'VA',
"venezuela": 'VE',
"venezuela, bolivarian republic of": 'VE',
"viet nam": 'VN',
"vietnam": 'VN',
"virgin islands (british)": 'VG',
"virgin islands (u.s.)": 'VI',
"wallis and futuna": 'WF',
"western sahara": 'EH',
"yemen": 'YE',
"zambia": 'ZM',
"zimbabwe": 'ZW',
"åland islands": 'AX',
};
+18 -10
View File
@@ -85,9 +85,10 @@ class AppDatabase extends _$AppDatabase {
static final Object _durabilityZoneKey = Object();
static final SerialFutureQueue _tvosRecoveryQueue = SerialFutureQueue();
/// Resolves and opens the production database, eagerly completing Drift
/// setup and migrations on non-tvOS before returning. tvOS recovery retains
/// ownership of database access ordering.
/// Resolves and opens the production database, removing orphaned WAL/SHM
/// sidecars when the main database is absent (#1732), then eagerly completing
/// Drift setup and migrations on non-tvOS. tvOS recovery retains ownership
/// of database access ordering.
static Future<AppDatabaseBootstrap> open({
bool isTvos = const bool.fromEnvironment('TVOS_BUILD'),
File? databaseFile,
@@ -105,7 +106,7 @@ class AppDatabase extends _$AppDatabase {
}
final databaseExisted = await file.exists();
if (isTvos && !databaseExisted) {
if (!databaseExisted) {
await _removeOrphanedDatabaseSidecars(file);
}
@@ -379,7 +380,7 @@ class AppDatabase extends _$AppDatabase {
onUpgrade: (Migrator m, int from, int to) async {
if (from < 7) {
appLogger.i('Adding OfflineWatchProgress table (v7 migration)');
await m.createTable(offlineWatchProgress);
await _ignoreAlreadyExists('OfflineWatchProgress table', () => m.createTable(offlineWatchProgress));
}
if (from < 8) {
appLogger.i('Adding bgTaskId column to DownloadedMedia (v8 migration)');
@@ -397,7 +398,7 @@ class AppDatabase extends _$AppDatabase {
}
if (from < 10) {
appLogger.i('Adding SyncRules table (v10 migration)');
await m.createTable(syncRules);
await _ignoreAlreadyExists('SyncRules table', () => m.createTable(syncRules));
}
if (from < 11) {
appLogger.i('Adding enabled column to SyncRules (v11 migration)');
@@ -427,13 +428,13 @@ class AppDatabase extends _$AppDatabase {
'Adding Connections, Profiles, ProfileConnections, DownloadOwners + scope/profile columns (v14 migration)',
);
await m.createTable(connections);
await _ignoreAlreadyExists('Connections table', () => m.createTable(connections));
await _ignoreAlreadyExists('Index idx_connections_kind', () => m.create(idxConnectionsKind));
await m.createTable(profiles);
await _ignoreAlreadyExists('Profiles table', () => m.createTable(profiles));
await _ignoreAlreadyExists('Index idx_profiles_kind', () => m.create(idxProfilesKind));
await m.createTable(profileConnections);
await _ignoreAlreadyExists('ProfileConnections table', () => m.createTable(profileConnections));
await _ignoreAlreadyExists(
'Index idx_profile_connections_connection_id',
() => m.create(idxProfileConnectionsConnectionId),
@@ -1292,10 +1293,17 @@ Future<File> _resolveProductionDatabaseFile() async {
return File(p.join(dbFolder.path, 'plezy_downloads.db'));
}
/// Best-effort removal for sidecars left without a main database after an
/// interrupted write. This runs on every platform but only when the caller has
/// confirmed the main database is absent (#1732).
Future<void> _removeOrphanedDatabaseSidecars(File databaseFile) async {
for (final suffix in const ['-wal', '-shm']) {
final sidecar = File('${databaseFile.path}$suffix');
if (await sidecar.exists()) await sidecar.delete();
try {
if (await sidecar.exists()) await sidecar.delete();
} on FileSystemException catch (error, stackTrace) {
appLogger.w('Unable to remove orphaned database sidecar ${sidecar.path}', error: error, stackTrace: stackTrace);
}
}
}
@@ -5,6 +5,7 @@ import 'package:flutter/foundation.dart';
import 'package:shared_preferences/shared_preferences.dart';
import '../utils/app_logger.dart';
import '../services/base_shared_preferences_service.dart';
/// Startup result after reconciling the purgeable tvOS database with its
/// bounded standard-domain recovery image.
@@ -98,7 +99,14 @@ final class TvosDatabaseRecoveryStore {
}) async {
if (!isTvos) return TvosDatabaseRecoveryOutcome.notApplicable;
final recoveryRequired = _preferences.getBool(recoveryRequiredKey) ?? false;
// Tolerant read: `reconcile` runs inside `AppDatabase.open`, a fatal
// startup step, so a wrong-typed marker would veto the launch outright on
// a first-class TV target. An unreadable marker tells us nothing, which is
// the same position as an absent one — default false and drop the key
// (#1732). The manifest reads below are already inside catch-alls.
final recoveryRequired =
readPreferenceTolerantly(_preferences, recoveryRequiredKey, () => _preferences.getBool(recoveryRequiredKey)) ??
false;
if (recoveryRequired) {
await _reloadManifestCacheIfNeeded();
final snapshot = _readCommittedSnapshot();
+102 -5
View File
@@ -36,10 +36,25 @@ bool _usesTvKeyboard({required TvTextInputPresentation presentation, TextInputTy
String? _keyboardHint(InputDecoration? decoration) => decoration?.hintText ?? decoration?.labelText;
enum TvTextInputAutoOpenBehavior {
/// Resolve per presentation: [onFirstFocus] for the native tvOS keyboard —
/// arriving at a field opens it once, but returning to it during D-pad
/// traversal does not, since it is a modal full-screen surface and
/// re-raising it on every pass makes a form untraversable. [onFocus] for the
/// in-app Flutter overlay, which is cheap, non-modal, and involves no UIKit
/// first responder.
automatic,
/// Open the selected TV text input presentation whenever the field receives
/// focus.
/// focus. On Apple TV this raises the system keyboard on every focus entry,
/// including plain D-pad traversal — prefer [automatic] unless the field is
/// the sole purpose of its screen.
onFocus,
/// Open on the field's first focus, then stay closed on later focus entries.
/// Explicit tap/select still opens it, as does the first focus after a
/// focus-node or presentation change.
onFirstFocus,
/// Keep initial focus on the field without opening text input, then open it
/// automatically on later focus entries. Explicit tap/select still opens it.
afterFirstFocus,
@@ -48,6 +63,17 @@ enum TvTextInputAutoOpenBehavior {
never,
}
/// Auto-open policy for an autofocused server-URL field (#1217): entering the
/// screen must not bury the form under a keyboard the user did not ask for.
///
/// This is the one documented exception to the `automatic` rule that a field's
/// first focus opens text input — the URL field's first focus is the screen's
/// own `autofocus`, not the user arriving. Apple TV therefore waits for an
/// explicit Select; the in-app overlay is cheap enough to open on a deliberate
/// return.
TvTextInputAutoOpenBehavior get deferredUrlFieldAutoOpen =>
PlatformDetector.isAppleTV() ? TvTextInputAutoOpenBehavior.never : TvTextInputAutoOpenBehavior.afterFirstFocus;
/// Imperative handle to TV text input for a [FocusableTextField] /
/// [FocusableTextFormField]. Pass the same instance to the field's
/// `tvTextInputController`; the field's host attaches itself on mount.
@@ -618,7 +644,7 @@ abstract class _FocusableTextInputBase extends StatelessWidget {
this.autofocus = false,
this.enabled = true,
this.tvTextInputPresentation = TvTextInputPresentation.automatic,
this.tvTextInputAutoOpenBehavior = TvTextInputAutoOpenBehavior.onFocus,
this.tvTextInputAutoOpenBehavior = TvTextInputAutoOpenBehavior.automatic,
this.tvTextInputController,
this.obscureText = false,
this.autocorrect = true,
@@ -818,11 +844,46 @@ class _FocusableTextInputHostState extends State<_FocusableTextInputHost> {
}
void _handleFocusChanged() {
_restoreFocusAfterPlatformDismissal();
_syncNativeTextInputActivation();
_syncNativeTextInputFocus();
_syncTvKeyboardAutoOpen();
}
/// [EditableText.connectionClosed] unfocuses the field outright
/// (editable_text.dart:4138-4145). On tvOS that fires whenever UIKit
/// dismisses the system keyboard, which is a dismissal, not a navigation —
/// left alone it strands the user with nothing focused and no way back.
///
/// Deliberate exits never reach here: every path that moves focus off an
/// active field (D-pad escape, Menu, [TvTextInputController.closeTextInput],
/// submit) deactivates first. `unfocus()` parks focus on the field's own
/// enclosing scope, so that exact node — not merely "some scope" — is the
/// signature. A dialog or route opening in the post-frame gap makes *its*
/// scope primary, which must not be mistaken for our dismissal.
void _restoreFocusAfterPlatformDismissal() {
final node = _installedFocusNode;
if (node == null || node.hasFocus || !_nativeTextInputActivated) return;
// Apple TV only: Android TV's IME close keeps its historical semantics,
// and no production field selects the native path there anyway.
if (!PlatformDetector.isAppleTV()) return;
if (!widget.input.enabled || !widget.input._usesNativeTvKeyboard) return;
final scope = node.enclosingScope;
if (scope == null || !identical(FocusManager.instance.primaryFocus, scope)) return;
_setNativeTextInputActivated(false);
WidgetsBinding.instance.addPostFrameCallback((_) {
if (!mounted) return;
final target = _installedFocusNode;
if (target == null || target.hasFocus || !target.canRequestFocus) return;
if (!identical(FocusManager.instance.primaryFocus, scope)) return;
// Set before requesting focus so the resulting focus-change callback
// cannot reopen the keyboard we were just dismissed out of.
_suppressNativeTextInputForCurrentFocus = true;
target.requestFocus();
});
}
void _syncNativeTextInputActivation() {
final input = widget.input;
final focused = _installedFocusNode?.hasFocus == true && input.enabled && input._usesNativeTvKeyboard;
@@ -834,6 +895,22 @@ class _FocusableTextInputHostState extends State<_FocusableTextInputHost> {
if (_suppressNativeTextInputForCurrentFocus) return;
switch (input.tvTextInputAutoOpenBehavior) {
// Apple TV's system keyboard is modal and full-screen. Arriving at a
// field should still open it — otherwise typing always costs two
// presses — but re-raising it every time D-pad traversal passes back
// over the field makes a multi-field form unusable, so `automatic`
// resolves to `onFirstFocus` there. Android TV's native IME is a docked
// soft keyboard that does not take over the screen, so it keeps the
// historical auto-open. Explicit modes stay literal on both: a caller
// that asks for onFocus gets onFocus.
case TvTextInputAutoOpenBehavior.automatic:
if (PlatformDetector.isAppleTV() && _hasSeenNativeTextInputFocus) return;
_hasSeenNativeTextInputFocus = true;
_setNativeTextInputActivated(true);
case TvTextInputAutoOpenBehavior.onFirstFocus:
if (_hasSeenNativeTextInputFocus) return;
_hasSeenNativeTextInputFocus = true;
_setNativeTextInputActivated(true);
case TvTextInputAutoOpenBehavior.onFocus:
_hasSeenNativeTextInputFocus = true;
_setNativeTextInputActivated(true);
@@ -880,15 +957,24 @@ class _FocusableTextInputHostState extends State<_FocusableTextInputHost> {
final input = widget.input;
final callback = input._effectiveOnEditingComplete;
final onSubmitted = input.onSubmitted;
if (callback != null) {
callback();
} else if (input.onSubmitted == null) {
} else if (onSubmitted == null) {
// Supplying this wrapper replaces EditableText's default completion.
// Preserve it when there is no submit callback; submitted TV fields keep
// focus until their callback chooses the next target so D-pad navigation
// cannot dead-end while asynchronous work runs.
_defaultEditingComplete(input.textInputAction);
}
// EditableText invokes onEditingComplete and onSubmitted independently
// (_finalizeEditing, editable_text.dart:3841-3898), so both must fire when
// both are supplied. The native path withholds onSubmitted from the widget
// — letting EditableText own it would schedule a connection restart that
// re-attaches and re-shows the input we just dismissed, which on tvOS
// tears the system keyboard down and back up mid-submit — so call it here.
onSubmitted?.call(input.controller.text);
}
void _syncNativeTextInputFocus() {
@@ -946,8 +1032,15 @@ class _FocusableTextInputHostState extends State<_FocusableTextInputHost> {
bool _shouldAutoOpenTvKeyboardForCurrentFocus() {
switch (widget.input.tvTextInputAutoOpenBehavior) {
// The Flutter overlay is an in-app, non-modal widget with no UIKit first
// responder behind it, so opening it on focus costs nothing.
case TvTextInputAutoOpenBehavior.automatic:
case TvTextInputAutoOpenBehavior.onFocus:
return true;
case TvTextInputAutoOpenBehavior.onFirstFocus:
if (_hasSeenTvKeyboardFocus) return false;
_hasSeenTvKeyboardFocus = true;
return true;
case TvTextInputAutoOpenBehavior.afterFirstFocus:
if (!_hasSeenTvKeyboardFocus) {
_hasSeenTvKeyboardFocus = true;
@@ -1237,7 +1330,10 @@ class FocusableTextField extends _FocusableTextInputBase {
textInputAction: textInputAction,
inputFormatters: inputFormatters,
onChanged: onChanged,
onSubmitted: onSubmitted,
// Withheld on the native TV path: the host invokes it from
// _handleNativeEditingComplete so EditableText cannot schedule a
// connection restart that re-shows the dismissed input.
onSubmitted: _usesNativeTvKeyboard ? null : onSubmitted,
onEditingComplete: onEditingComplete,
autofocus: autofocus,
autocorrect: autocorrect,
@@ -1326,7 +1422,8 @@ class FocusableTextFormField extends _FocusableTextInputBase {
textInputAction: textInputAction,
inputFormatters: inputFormatters,
onChanged: onChanged,
onFieldSubmitted: onFieldSubmitted,
// Withheld on the native TV path — see FocusableTextField.build.
onFieldSubmitted: _usesNativeTvKeyboard ? null : onFieldSubmitted,
onEditingComplete: onEditingComplete,
validator: validator,
autovalidateMode: autovalidateMode,
+17
View File
@@ -123,6 +123,23 @@ KeyEventResult handleOneShotSelect(KeyEvent event, VoidCallback onActivate) {
return KeyEventResult.handled;
}
/// Whether the primary focus currently belongs to an active text editor.
///
/// Ancestor key handlers use this to stay off keys a focused field owns.
/// Flutter dispatches a key event from the focused node upwards, and the
/// editing shortcuts that turn Backspace into a deletion live in
/// [DefaultTextEditingShortcuts] at the very top of the app — *above* any
/// screen. An ancestor that claims Backspace as "back" therefore both steals
/// the navigation and stops the character from ever being deleted (#1741).
///
/// [EditableText] builds its [Focus] internally, so the focused node's context
/// resolves to the owning [EditableTextState].
bool isTextEditingFocused() {
final context = FocusManager.instance.primaryFocus?.context;
if (context == null) return false;
return context.findAncestorStateOfType<EditableTextState>() != null;
}
/// Expands a UTF-16 [range] to whole extended grapheme clusters in [text].
///
/// Flutter selections use UTF-16 code-unit offsets. Custom editors must pass a
+275 -5
View File
@@ -64,7 +64,20 @@
"loading": "Yüklənir...",
"fullscreen": "Tam ekran",
"exitFullscreen": "Tam ekrandan çıx",
"pressBackAgainToExit": "Çıxmaq üçün geri düyməsinə bir daha basın"
"pressBackAgainToExit": "Çıxmaq üçün geri düyməsinə bir daha basın",
"ratingSource": {
"critic": "",
"audience": "",
"imdb": "",
"tmdb": "",
"rottenTomatoes": "",
"simkl": "",
"mal": "",
"anilist": "",
"trakt": "",
"rottenTomatoesCritic": "",
"rottenTomatoesAudience": ""
}
},
"screens": {
"licenses": "Lisenziyalar",
@@ -168,6 +181,8 @@
"minutesUnit": "${minutes} dəqiqə",
"rememberTrackSelections": "Hər film/serial üçün səs/altyazı seçimlərini xatırla",
"rememberTrackSelectionsDescription": "Hər məzmun üçün səs və altyazı seçimlərini yadda saxla",
"followServerTrackSelections": "Hər epizod üçün serverin trek seçimlərini istifadə et",
"followServerTrackSelectionsDescription": "Epizod dəyişəndə cari seçimi köçürmək əvəzinə serverdə seçilmiş səs və altyazını tətbiq et",
"showChapterMarkersOnTimeline": "Zaman çubuğunda hissə işarələrini göstər",
"showChapterMarkersOnTimelineDescription": "Zaman çubuğunu hissə sərhədlərinə böl",
"clickVideoTogglesPlayback": "Oynat/fasilə üçün videoya toxun",
@@ -381,30 +396,118 @@
},
"fileInfo": {
"title": "Fayl məlumatı",
"overview": "",
"video": "Video",
"audio": "Səs",
"subtitles": "Altyazılar",
"images": "",
"dataStreams": "",
"lyrics": "",
"file": "Fayl",
"advanced": "Təkmilləşdirilmiş",
"attachments": "",
"delivery": "",
"versionCounter": "",
"fileCounter": "",
"noStreams": "",
"copyPath": "",
"pathCopied": "",
"codec": "Kodek",
"codecTag": "",
"resolution": "Ayırdetmə",
"codedResolution": "",
"bitrate": "Bit sürəti (Bitrate)",
"frameRate": "Kadr tezliyi",
"rotation": "",
"comment": "",
"audioDescription": "",
"headerCompression": "",
"sidecarFile": "",
"transportTimestamp": "",
"displayOffset": "",
"previewFailureCode": "",
"previewRetries": "",
"aspectRatio": "Tərəf nisbəti",
"pixelAspectRatio": "",
"profile": "Profil",
"level": "",
"bitDepth": "Bit dərinliyi",
"pixelFormat": "",
"colorSpace": "Rəng sahəsi",
"colorRange": "Rəng diapazonu",
"colorPrimaries": "Əsas rənglər",
"colorTransfer": "",
"chromaSubsampling": "Rəng alt-diskretləşdirməsi",
"chromaLocation": "",
"scanType": "",
"interlaced": "",
"anamorphic": "",
"referenceFrames": "",
"dynamicRange": "",
"dolbyVision": "",
"dolbyVisionLevel": "",
"dolbyVisionVersion": "",
"dolbyVisionLayers": "",
"baseLayerCompatibility": "",
"avcBitstream": "",
"nalLengthSize": "",
"scalingMatrix": "",
"streamIdentifier": "",
"streamIndex": "",
"streamId": "",
"language": "",
"languageCode": "",
"streamTitle": "",
"channels": "Kanallar",
"subtitles": "Altyazılar",
"sampleRate": "",
"spatialAudio": "",
"textBased": "",
"subtitleFormat": "",
"provider": "",
"matchScore": "",
"externalDelivery": "",
"sidecarPath": "",
"sourceStream": "",
"temporary": "",
"timeBase": "",
"overallBitrate": "Ümumi bit sürəti",
"path": "Yol",
"fileName": "",
"size": "Həcm",
"totalSize": "",
"container": "Konteyner",
"duration": "Müddət",
"previewThumbnails": "",
"previewIndex": "",
"packetLength": "",
"filePresent": "",
"fileReadable": "",
"streamPath": "",
"optimizedForStreaming": "Yayım üçün optimallaşdırılıb",
"has64bitOffsets": "64-bit ofsetlər"
"has64bitOffsets": "64-bit ofsetlər",
"protocol": "",
"mediaType": "",
"sourceKind": "",
"optimizedVersion": "",
"optimizationTarget": "",
"deletedAt": "",
"remoteSource": "",
"infiniteStream": "",
"directPlay": "",
"directStream": "",
"transcoding": "",
"etag": "",
"versionId": "",
"fileId": "",
"defaultAudioTrack": "",
"defaultSubtitleTrack": "",
"subtitlesOff": "",
"flagDefault": "",
"flagForced": "",
"flagSelected": "",
"flagExternal": "",
"flagHearingImpaired": "",
"flagDub": "",
"flagOriginal": ""
},
"mediaMenu": {
"markAsWatched": "Baxıldı olaraq işarələ",
@@ -493,6 +596,9 @@
"playNext": "Növbətini oynat",
"playButton": "Oynat",
"pauseButton": "Fasilə",
"playbackPaused": "",
"playbackResumed": "",
"loadingVideo": "",
"showPlaybackControls": "Oynatma idarəetmələrini göstər",
"hidePlaybackControls": "Oynatma idarəetmələrini gizlət",
"seekBackwardButton": "${seconds} saniyə geri sar",
@@ -603,6 +709,8 @@
"switchingToCompatiblePlayer": "Uyğun oynadıcıya keçilir...",
"serverLimitTitle": "Oynatma uğursuz oldu",
"serverLimitBody": "Server xətası (HTTP 500). Məhdudiyyət bu seansı rədd etdi.",
"mediaUnreadableTitle": "",
"mediaUnreadableBody": "",
"logsUploaded": "Jurnallar yükləndi",
"logsUploadFailed": "Jurnallar yüklənə bilmədi",
"logId": "Jurnal ID-si"
@@ -877,6 +985,38 @@
"copyLogs": "Jurnalları kopyala",
"uploadLogs": "Jurnalları yüklə"
},
"startup": {
"failedTitle": "",
"failedBody": "",
"failedBodyRepairable": "",
"phaseLabel": "",
"showDetails": "",
"hideDetails": "",
"copyDetails": "",
"detailsCopied": "",
"uploadDetails": "",
"repairStorage": "",
"repairTitle": "",
"repairBodyCommon": "",
"repairBodyOneCredential": "",
"repairBodySignInsKept": "",
"repairBodySignInsLost": "",
"repairBodySessionsUncertain": "",
"repairConfirm": "",
"repairSucceeded": "",
"repairNeedsRestart": "",
"restartRequiredBody": "",
"quitPlezy": "",
"repairFailed": "",
"repairKeptSignIns": "",
"repairLostSignIns": "",
"repairLostSessions": "",
"backupTitle": "",
"backupWarning": "",
"deleteBackup": "",
"backupDeleted": "",
"previousFailureTitle": ""
},
"licenses": {
"relatedPackages": "Əlaqəli paketlər",
"license": "Lisenziya",
@@ -931,7 +1071,137 @@
"searchHint": "${source} daxilində axtar",
"searchEmpty": "\"${query}\" üçün nəticə tapılmadı",
"searchPrompt": "${source} vasitəsilə kino və seriallar axtarın.",
"searchFailed": "Axtarış uğursuz oldu. Bağlantınızı yoxlayın."
"searchFailed": "Axtarış uğursuz oldu. Bağlantınızı yoxlayın.",
"badge": {
"rankPopular": "",
"rankAiring": "",
"rankRated": "",
"rankFavorited": "",
"rankTrending": "",
"rankSeasonal": "",
"watchingNow": "",
"available": "",
"partiallyAvailable": "",
"availableIn4k": "",
"requested": "",
"pendingApproval": "",
"processing": "",
"declined": "",
"requestFailed": "",
"requested4k": "",
"seasonsAvailable": "",
"nextEpisodeIn": "",
"nextAiringIn": "",
"episodesShort": "",
"minutesPerEpisode": "",
"adult": ""
},
"stats": {
"listed": "",
"viewersDay": "",
"viewersWeek": "",
"viewersMonth": "",
"viewersYear": "",
"viewersAllTime": "",
"planning": "",
"favorited": "",
"dropRate": "",
"comments": {
"one": "",
"other": ""
},
"votes": "",
"watching": "",
"completed": "",
"onHold": "",
"dropped": ""
},
"season": {
"winter": "",
"spring": "",
"summer": "",
"fall": "",
"withYear": ""
},
"format": {
"tv": "",
"tvShort": "",
"movie": "",
"special": "",
"ova": "",
"ona": "",
"music": "",
"other": ""
},
"sourceMaterial": {
"original": "",
"manga": "",
"lightNovel": "",
"novel": "",
"visualNovel": "",
"game": "",
"webComic": "",
"musicRelease": "",
"otherMedia": ""
},
"creditRole": {
"director": "",
"writer": "",
"producer": "",
"creator": "",
"composer": ""
},
"relation": {
"prequel": "",
"sequel": "",
"sideStory": "",
"spinOff": "",
"alternativeVersion": "",
"summary": "",
"parentStory": "",
"adaptation": "",
"other": ""
},
"broadcast": "",
"broadcastWithZone": "",
"detail": {
"originalTitle": "",
"alsoKnownAs": "",
"studios": "",
"country": "",
"language": "",
"released": "",
"physicalRelease": "",
"ended": "",
"addedOn": "",
"yourRating": "",
"budget": "",
"revenue": "",
"contentAdvisory": "",
"tags": "",
"revealSpoilerTags": "",
"links": "",
"watchOn": "",
"watchTrailer": "",
"openOn": "",
"crew": "",
"ratings": "",
"schedule": "",
"recommendedByUsers": {
"one": "",
"other": ""
},
"recommendedBy": "",
"favoritedBy": "",
"unairedEpisodes": "",
"recommendedByPercent": "",
"relatedTitles": "",
"background": ""
},
"totalResults": {
"one": "",
"other": ""
}
},
"liveTv": {
"title": "Canlı TV",
+275 -5
View File
@@ -64,7 +64,20 @@
"loading": "Зареждане...",
"fullscreen": "На цял екран",
"exitFullscreen": "Изход от цял екран",
"pressBackAgainToExit": "Натиснете Назад отново, за да излезете"
"pressBackAgainToExit": "Натиснете Назад отново, за да излезете",
"ratingSource": {
"critic": "",
"audience": "",
"imdb": "",
"tmdb": "",
"rottenTomatoes": "",
"simkl": "",
"mal": "",
"anilist": "",
"trakt": "",
"rottenTomatoesCritic": "",
"rottenTomatoesAudience": ""
}
},
"screens": {
"licenses": "Лицензи",
@@ -168,6 +181,8 @@
"minutesUnit": "${minutes} минути",
"rememberTrackSelections": "Запомняй избора на аудио и субтитри за всеки сериал или филм",
"rememberTrackSelectionsDescription": "Запомняй избора на аудиопътечка и субтитри за всяко заглавие",
"followServerTrackSelections": "Използвай избора на пътечки от сървъра за всеки епизод",
"followServerTrackSelectionsDescription": "При смяна на епизода прилагай избраните на сървъра аудио и субтитри, вместо да се пренася текущият избор",
"showChapterMarkersOnTimeline": "Показвай маркери на глави върху времевата линия",
"showChapterMarkersOnTimelineDescription": "Разделяй времевата линия на сегменти по границите на главите",
"clickVideoTogglesPlayback": "Клик върху видеото превключва възпроизвеждане/пауза",
@@ -381,30 +396,118 @@
},
"fileInfo": {
"title": "Информация за файла",
"overview": "",
"video": "Видео",
"audio": "Аудио",
"subtitles": "Субтитри",
"images": "",
"dataStreams": "",
"lyrics": "",
"file": "Файл",
"advanced": "Разширени",
"attachments": "",
"delivery": "",
"versionCounter": "",
"fileCounter": "",
"noStreams": "",
"copyPath": "",
"pathCopied": "",
"codec": "Кодек",
"codecTag": "",
"resolution": "Резолюция",
"codedResolution": "",
"bitrate": "Битрейт",
"frameRate": "Кадрова честота",
"rotation": "",
"comment": "",
"audioDescription": "",
"headerCompression": "",
"sidecarFile": "",
"transportTimestamp": "",
"displayOffset": "",
"previewFailureCode": "",
"previewRetries": "",
"aspectRatio": "Съотношение на страните",
"pixelAspectRatio": "",
"profile": "Профил",
"level": "",
"bitDepth": "Битова дълбочина",
"pixelFormat": "",
"colorSpace": "Цветово пространство",
"colorRange": "Цветови диапазон",
"colorPrimaries": "Основни цветове",
"colorTransfer": "",
"chromaSubsampling": "Цветова субдискретизация",
"chromaLocation": "",
"scanType": "",
"interlaced": "",
"anamorphic": "",
"referenceFrames": "",
"dynamicRange": "",
"dolbyVision": "",
"dolbyVisionLevel": "",
"dolbyVisionVersion": "",
"dolbyVisionLayers": "",
"baseLayerCompatibility": "",
"avcBitstream": "",
"nalLengthSize": "",
"scalingMatrix": "",
"streamIdentifier": "",
"streamIndex": "",
"streamId": "",
"language": "",
"languageCode": "",
"streamTitle": "",
"channels": "Канали",
"subtitles": "Субтитри",
"sampleRate": "",
"spatialAudio": "",
"textBased": "",
"subtitleFormat": "",
"provider": "",
"matchScore": "",
"externalDelivery": "",
"sidecarPath": "",
"sourceStream": "",
"temporary": "",
"timeBase": "",
"overallBitrate": "Общ битрейт",
"path": "Път",
"fileName": "",
"size": "Размер",
"totalSize": "",
"container": "Контейнер",
"duration": "Продължителност",
"previewThumbnails": "",
"previewIndex": "",
"packetLength": "",
"filePresent": "",
"fileReadable": "",
"streamPath": "",
"optimizedForStreaming": "Оптимизирано за стрийминг",
"has64bitOffsets": "64-битови отмествания"
"has64bitOffsets": "64-битови отмествания",
"protocol": "",
"mediaType": "",
"sourceKind": "",
"optimizedVersion": "",
"optimizationTarget": "",
"deletedAt": "",
"remoteSource": "",
"infiniteStream": "",
"directPlay": "",
"directStream": "",
"transcoding": "",
"etag": "",
"versionId": "",
"fileId": "",
"defaultAudioTrack": "",
"defaultSubtitleTrack": "",
"subtitlesOff": "",
"flagDefault": "",
"flagForced": "",
"flagSelected": "",
"flagExternal": "",
"flagHearingImpaired": "",
"flagDub": "",
"flagOriginal": ""
},
"mediaMenu": {
"markAsWatched": "Маркирай като гледано",
@@ -493,6 +596,9 @@
"playNext": "Пусни следващото",
"playButton": "Пусни",
"pauseButton": "Пауза",
"playbackPaused": "",
"playbackResumed": "",
"loadingVideo": "",
"showPlaybackControls": "Покажи контролите за възпроизвеждане",
"hidePlaybackControls": "Скрий контролите за възпроизвеждане",
"seekBackwardButton": "Превърти назад ${seconds} секунди",
@@ -603,6 +709,8 @@
"switchingToCompatiblePlayer": "Превключване към съвместим плейър...",
"serverLimitTitle": "Възпроизвеждането е неуспешно",
"serverLimitBody": "Грешка на сървъра (HTTP 500). Вероятно лимит за пропускателна способност/транскодиране е отхвърлил тази сесия. Помолете собственика да го коригира.",
"mediaUnreadableTitle": "",
"mediaUnreadableBody": "",
"logsUploaded": "Логовете са качени",
"logsUploadFailed": "Неуспешно качване на логовете",
"logId": "ID на лога"
@@ -877,6 +985,38 @@
"copyLogs": "Копирай логовете",
"uploadLogs": "Качи логовете"
},
"startup": {
"failedTitle": "",
"failedBody": "",
"failedBodyRepairable": "",
"phaseLabel": "",
"showDetails": "",
"hideDetails": "",
"copyDetails": "",
"detailsCopied": "",
"uploadDetails": "",
"repairStorage": "",
"repairTitle": "",
"repairBodyCommon": "",
"repairBodyOneCredential": "",
"repairBodySignInsKept": "",
"repairBodySignInsLost": "",
"repairBodySessionsUncertain": "",
"repairConfirm": "",
"repairSucceeded": "",
"repairNeedsRestart": "",
"restartRequiredBody": "",
"quitPlezy": "",
"repairFailed": "",
"repairKeptSignIns": "",
"repairLostSignIns": "",
"repairLostSessions": "",
"backupTitle": "",
"backupWarning": "",
"deleteBackup": "",
"backupDeleted": "",
"previousFailureTitle": ""
},
"licenses": {
"relatedPackages": "Свързани пакети",
"license": "Лиценз",
@@ -931,7 +1071,137 @@
"searchHint": "Търсене в ${source}",
"searchEmpty": "Няма резултати за \"${query}\"",
"searchPrompt": "Търси филми и сериали в ${source}.",
"searchFailed": "Търсенето се провали. Провери връзката си и опитай отново."
"searchFailed": "Търсенето се провали. Провери връзката си и опитай отново.",
"badge": {
"rankPopular": "",
"rankAiring": "",
"rankRated": "",
"rankFavorited": "",
"rankTrending": "",
"rankSeasonal": "",
"watchingNow": "",
"available": "",
"partiallyAvailable": "",
"availableIn4k": "",
"requested": "",
"pendingApproval": "",
"processing": "",
"declined": "",
"requestFailed": "",
"requested4k": "",
"seasonsAvailable": "",
"nextEpisodeIn": "",
"nextAiringIn": "",
"episodesShort": "",
"minutesPerEpisode": "",
"adult": ""
},
"stats": {
"listed": "",
"viewersDay": "",
"viewersWeek": "",
"viewersMonth": "",
"viewersYear": "",
"viewersAllTime": "",
"planning": "",
"favorited": "",
"dropRate": "",
"comments": {
"one": "",
"other": ""
},
"votes": "",
"watching": "",
"completed": "",
"onHold": "",
"dropped": ""
},
"season": {
"winter": "",
"spring": "",
"summer": "",
"fall": "",
"withYear": ""
},
"format": {
"tv": "",
"tvShort": "",
"movie": "",
"special": "",
"ova": "",
"ona": "",
"music": "",
"other": ""
},
"sourceMaterial": {
"original": "",
"manga": "",
"lightNovel": "",
"novel": "",
"visualNovel": "",
"game": "",
"webComic": "",
"musicRelease": "",
"otherMedia": ""
},
"creditRole": {
"director": "",
"writer": "",
"producer": "",
"creator": "",
"composer": ""
},
"relation": {
"prequel": "",
"sequel": "",
"sideStory": "",
"spinOff": "",
"alternativeVersion": "",
"summary": "",
"parentStory": "",
"adaptation": "",
"other": ""
},
"broadcast": "",
"broadcastWithZone": "",
"detail": {
"originalTitle": "",
"alsoKnownAs": "",
"studios": "",
"country": "",
"language": "",
"released": "",
"physicalRelease": "",
"ended": "",
"addedOn": "",
"yourRating": "",
"budget": "",
"revenue": "",
"contentAdvisory": "",
"tags": "",
"revealSpoilerTags": "",
"links": "",
"watchOn": "",
"watchTrailer": "",
"openOn": "",
"crew": "",
"ratings": "",
"schedule": "",
"recommendedByUsers": {
"one": "",
"other": ""
},
"recommendedBy": "",
"favoritedBy": "",
"unairedEpisodes": "",
"recommendedByPercent": "",
"relatedTitles": "",
"background": ""
},
"totalResults": {
"one": "",
"other": ""
}
},
"liveTv": {
"title": "Телевизия на живо",
+275 -5
View File
@@ -64,7 +64,20 @@
"loading": "Indlæser...",
"fullscreen": "Fuldskærm",
"exitFullscreen": "Forlad fuldskærm",
"pressBackAgainToExit": "Tryk på tilbage igen for at afslutte"
"pressBackAgainToExit": "Tryk på tilbage igen for at afslutte",
"ratingSource": {
"critic": "",
"audience": "",
"imdb": "",
"tmdb": "",
"rottenTomatoes": "",
"simkl": "",
"mal": "",
"anilist": "",
"trakt": "",
"rottenTomatoesCritic": "",
"rottenTomatoesAudience": ""
}
},
"screens": {
"licenses": "Licenser",
@@ -168,6 +181,8 @@
"minutesUnit": "${minutes} minutter",
"rememberTrackSelections": "Husk sporvalg for hver serie/film",
"rememberTrackSelectionsDescription": "Husk valget af lyd og undertekster for hver titel",
"followServerTrackSelections": "Brug serverens sporvalg for hvert afsnit",
"followServerTrackSelectionsDescription": "Ved afsnitsskift anvendes lyden og underteksterne valgt på serveren i stedet for at videreføre det aktuelle valg",
"showChapterMarkersOnTimeline": "Vis kapitelmarkører på tidslinjen",
"showChapterMarkersOnTimelineDescription": "Opdel tidslinjen ved kapitelgrænser",
"clickVideoTogglesPlayback": "Klik på videoen for at skifte mellem afspilning og pause",
@@ -381,30 +396,118 @@
},
"fileInfo": {
"title": "Filinfo",
"overview": "",
"video": "Video",
"audio": "Lyd",
"subtitles": "Undertekster",
"images": "",
"dataStreams": "",
"lyrics": "",
"file": "Fil",
"advanced": "Avanceret",
"attachments": "",
"delivery": "",
"versionCounter": "",
"fileCounter": "",
"noStreams": "",
"copyPath": "",
"pathCopied": "",
"codec": "Codec",
"codecTag": "",
"resolution": "Opløsning",
"codedResolution": "",
"bitrate": "Bitrate",
"frameRate": "Billedhastighed",
"rotation": "",
"comment": "",
"audioDescription": "",
"headerCompression": "",
"sidecarFile": "",
"transportTimestamp": "",
"displayOffset": "",
"previewFailureCode": "",
"previewRetries": "",
"aspectRatio": "Billedformat",
"pixelAspectRatio": "",
"profile": "Profil",
"level": "",
"bitDepth": "Bitdybde",
"pixelFormat": "",
"colorSpace": "Farverum",
"colorRange": "Farveområde",
"colorPrimaries": "Farveprimærer",
"colorTransfer": "",
"chromaSubsampling": "Chroma-subsampling",
"chromaLocation": "",
"scanType": "",
"interlaced": "",
"anamorphic": "",
"referenceFrames": "",
"dynamicRange": "",
"dolbyVision": "",
"dolbyVisionLevel": "",
"dolbyVisionVersion": "",
"dolbyVisionLayers": "",
"baseLayerCompatibility": "",
"avcBitstream": "",
"nalLengthSize": "",
"scalingMatrix": "",
"streamIdentifier": "",
"streamIndex": "",
"streamId": "",
"language": "",
"languageCode": "",
"streamTitle": "",
"channels": "Kanaler",
"subtitles": "Undertekster",
"sampleRate": "",
"spatialAudio": "",
"textBased": "",
"subtitleFormat": "",
"provider": "",
"matchScore": "",
"externalDelivery": "",
"sidecarPath": "",
"sourceStream": "",
"temporary": "",
"timeBase": "",
"overallBitrate": "Samlet bitrate",
"path": "Sti",
"fileName": "",
"size": "Størrelse",
"totalSize": "",
"container": "Container",
"duration": "Varighed",
"previewThumbnails": "",
"previewIndex": "",
"packetLength": "",
"filePresent": "",
"fileReadable": "",
"streamPath": "",
"optimizedForStreaming": "Optimeret til streaming",
"has64bitOffsets": "64-bit-forskydninger"
"has64bitOffsets": "64-bit-forskydninger",
"protocol": "",
"mediaType": "",
"sourceKind": "",
"optimizedVersion": "",
"optimizationTarget": "",
"deletedAt": "",
"remoteSource": "",
"infiniteStream": "",
"directPlay": "",
"directStream": "",
"transcoding": "",
"etag": "",
"versionId": "",
"fileId": "",
"defaultAudioTrack": "",
"defaultSubtitleTrack": "",
"subtitlesOff": "",
"flagDefault": "",
"flagForced": "",
"flagSelected": "",
"flagExternal": "",
"flagHearingImpaired": "",
"flagDub": "",
"flagOriginal": ""
},
"mediaMenu": {
"markAsWatched": "Markér som set",
@@ -493,6 +596,9 @@
"playNext": "Afspil næste",
"playButton": "Afspil",
"pauseButton": "Pause",
"playbackPaused": "",
"playbackResumed": "",
"loadingVideo": "",
"showPlaybackControls": "Vis afspilningsknapper",
"hidePlaybackControls": "Skjul afspilningsknapper",
"seekBackwardButton": "Spol ${seconds} sekunder tilbage",
@@ -603,6 +709,8 @@
"switchingToCompatiblePlayer": "Skifter til kompatibel afspiller...",
"serverLimitTitle": "Afspilning mislykkedes",
"serverLimitBody": "Serverfejl (HTTP 500). En båndbredde- eller transkodningsgrænse afviste sandsynligvis sessionen. Bed ejeren om at justere den.",
"mediaUnreadableTitle": "",
"mediaUnreadableBody": "",
"logsUploaded": "Logfilerne blev uploadet",
"logsUploadFailed": "Logfilerne kunne ikke uploades",
"logId": "Log-ID"
@@ -877,6 +985,38 @@
"copyLogs": "Kopiér logfiler",
"uploadLogs": "Upload logfiler"
},
"startup": {
"failedTitle": "",
"failedBody": "",
"failedBodyRepairable": "",
"phaseLabel": "",
"showDetails": "",
"hideDetails": "",
"copyDetails": "",
"detailsCopied": "",
"uploadDetails": "",
"repairStorage": "",
"repairTitle": "",
"repairBodyCommon": "",
"repairBodyOneCredential": "",
"repairBodySignInsKept": "",
"repairBodySignInsLost": "",
"repairBodySessionsUncertain": "",
"repairConfirm": "",
"repairSucceeded": "",
"repairNeedsRestart": "",
"restartRequiredBody": "",
"quitPlezy": "",
"repairFailed": "",
"repairKeptSignIns": "",
"repairLostSignIns": "",
"repairLostSessions": "",
"backupTitle": "",
"backupWarning": "",
"deleteBackup": "",
"backupDeleted": "",
"previousFailureTitle": ""
},
"licenses": {
"relatedPackages": "Relaterede pakker",
"license": "Licens",
@@ -931,7 +1071,137 @@
"searchHint": "Søg i ${source}",
"searchEmpty": "Ingen resultater for \"${query}\"",
"searchPrompt": "Søg efter film og serier på ${source}.",
"searchFailed": "Søgningen mislykkedes. Tjek din forbindelse, og prøv igen."
"searchFailed": "Søgningen mislykkedes. Tjek din forbindelse, og prøv igen.",
"badge": {
"rankPopular": "",
"rankAiring": "",
"rankRated": "",
"rankFavorited": "",
"rankTrending": "",
"rankSeasonal": "",
"watchingNow": "",
"available": "",
"partiallyAvailable": "",
"availableIn4k": "",
"requested": "",
"pendingApproval": "",
"processing": "",
"declined": "",
"requestFailed": "",
"requested4k": "",
"seasonsAvailable": "",
"nextEpisodeIn": "",
"nextAiringIn": "",
"episodesShort": "",
"minutesPerEpisode": "",
"adult": ""
},
"stats": {
"listed": "",
"viewersDay": "",
"viewersWeek": "",
"viewersMonth": "",
"viewersYear": "",
"viewersAllTime": "",
"planning": "",
"favorited": "",
"dropRate": "",
"comments": {
"one": "",
"other": ""
},
"votes": "",
"watching": "",
"completed": "",
"onHold": "",
"dropped": ""
},
"season": {
"winter": "",
"spring": "",
"summer": "",
"fall": "",
"withYear": ""
},
"format": {
"tv": "",
"tvShort": "",
"movie": "",
"special": "",
"ova": "",
"ona": "",
"music": "",
"other": ""
},
"sourceMaterial": {
"original": "",
"manga": "",
"lightNovel": "",
"novel": "",
"visualNovel": "",
"game": "",
"webComic": "",
"musicRelease": "",
"otherMedia": ""
},
"creditRole": {
"director": "",
"writer": "",
"producer": "",
"creator": "",
"composer": ""
},
"relation": {
"prequel": "",
"sequel": "",
"sideStory": "",
"spinOff": "",
"alternativeVersion": "",
"summary": "",
"parentStory": "",
"adaptation": "",
"other": ""
},
"broadcast": "",
"broadcastWithZone": "",
"detail": {
"originalTitle": "",
"alsoKnownAs": "",
"studios": "",
"country": "",
"language": "",
"released": "",
"physicalRelease": "",
"ended": "",
"addedOn": "",
"yourRating": "",
"budget": "",
"revenue": "",
"contentAdvisory": "",
"tags": "",
"revealSpoilerTags": "",
"links": "",
"watchOn": "",
"watchTrailer": "",
"openOn": "",
"crew": "",
"ratings": "",
"schedule": "",
"recommendedByUsers": {
"one": "",
"other": ""
},
"recommendedBy": "",
"favoritedBy": "",
"unairedEpisodes": "",
"recommendedByPercent": "",
"relatedTitles": "",
"background": ""
},
"totalResults": {
"one": "",
"other": ""
}
},
"liveTv": {
"title": "Live TV",
+275 -5
View File
@@ -64,7 +64,20 @@
"loading": "Wird geladen …",
"fullscreen": "Vollbild",
"exitFullscreen": "Vollbild verlassen",
"pressBackAgainToExit": "Zum Beenden erneut Zurück drücken"
"pressBackAgainToExit": "Zum Beenden erneut Zurück drücken",
"ratingSource": {
"critic": "",
"audience": "",
"imdb": "",
"tmdb": "",
"rottenTomatoes": "",
"simkl": "",
"mal": "",
"anilist": "",
"trakt": "",
"rottenTomatoesCritic": "",
"rottenTomatoesAudience": ""
}
},
"screens": {
"licenses": "Lizenzen",
@@ -168,6 +181,8 @@
"minutesUnit": "${minutes} Minuten",
"rememberTrackSelections": "Spurauswahl pro Serie/Film merken",
"rememberTrackSelectionsDescription": "Audio- und Untertitelauswahl je Titel merken",
"followServerTrackSelections": "Serverseitige Spurauswahl pro Episode verwenden",
"followServerTrackSelectionsDescription": "Beim Episodenwechsel die auf dem Server ausgewählten Audio- und Untertitelspuren übernehmen, statt die aktuelle Auswahl zu übertragen",
"showChapterMarkersOnTimeline": "Kapitelmarkierungen auf der Suchleiste anzeigen",
"showChapterMarkersOnTimelineDescription": "Die Suchleiste an Kapitelgrenzen unterteilen",
"clickVideoTogglesPlayback": "Video zum Abspielen oder Pausieren anklicken",
@@ -381,30 +396,118 @@
},
"fileInfo": {
"title": "Dateiinformationen",
"overview": "",
"video": "Video",
"audio": "Audio",
"subtitles": "Untertitel",
"images": "",
"dataStreams": "",
"lyrics": "",
"file": "Datei",
"advanced": "Erweitert",
"attachments": "",
"delivery": "",
"versionCounter": "",
"fileCounter": "",
"noStreams": "",
"copyPath": "",
"pathCopied": "",
"codec": "Codec",
"codecTag": "",
"resolution": "Auflösung",
"codedResolution": "",
"bitrate": "Bitrate",
"frameRate": "Bildrate",
"rotation": "",
"comment": "",
"audioDescription": "",
"headerCompression": "",
"sidecarFile": "",
"transportTimestamp": "",
"displayOffset": "",
"previewFailureCode": "",
"previewRetries": "",
"aspectRatio": "Seitenverhältnis",
"pixelAspectRatio": "",
"profile": "Profil",
"level": "",
"bitDepth": "Bittiefe",
"pixelFormat": "",
"colorSpace": "Farbraum",
"colorRange": "Farbbereich",
"colorPrimaries": "Primärfarben",
"colorTransfer": "",
"chromaSubsampling": "Chroma-Subsampling",
"chromaLocation": "",
"scanType": "",
"interlaced": "",
"anamorphic": "",
"referenceFrames": "",
"dynamicRange": "",
"dolbyVision": "",
"dolbyVisionLevel": "",
"dolbyVisionVersion": "",
"dolbyVisionLayers": "",
"baseLayerCompatibility": "",
"avcBitstream": "",
"nalLengthSize": "",
"scalingMatrix": "",
"streamIdentifier": "",
"streamIndex": "",
"streamId": "",
"language": "",
"languageCode": "",
"streamTitle": "",
"channels": "Kanäle",
"subtitles": "Untertitel",
"sampleRate": "",
"spatialAudio": "",
"textBased": "",
"subtitleFormat": "",
"provider": "",
"matchScore": "",
"externalDelivery": "",
"sidecarPath": "",
"sourceStream": "",
"temporary": "",
"timeBase": "",
"overallBitrate": "Gesamtbitrate",
"path": "Pfad",
"fileName": "",
"size": "Größe",
"totalSize": "",
"container": "Container",
"duration": "Dauer",
"previewThumbnails": "",
"previewIndex": "",
"packetLength": "",
"filePresent": "",
"fileReadable": "",
"streamPath": "",
"optimizedForStreaming": "Für Streaming optimiert",
"has64bitOffsets": "64-Bit-Offsets"
"has64bitOffsets": "64-Bit-Offsets",
"protocol": "",
"mediaType": "",
"sourceKind": "",
"optimizedVersion": "",
"optimizationTarget": "",
"deletedAt": "",
"remoteSource": "",
"infiniteStream": "",
"directPlay": "",
"directStream": "",
"transcoding": "",
"etag": "",
"versionId": "",
"fileId": "",
"defaultAudioTrack": "",
"defaultSubtitleTrack": "",
"subtitlesOff": "",
"flagDefault": "",
"flagForced": "",
"flagSelected": "",
"flagExternal": "",
"flagHearingImpaired": "",
"flagDub": "",
"flagOriginal": ""
},
"mediaMenu": {
"markAsWatched": "Als gesehen markieren",
@@ -493,6 +596,9 @@
"playNext": "Nächstes abspielen",
"playButton": "Abspielen",
"pauseButton": "Pause",
"playbackPaused": "",
"playbackResumed": "",
"loadingVideo": "",
"showPlaybackControls": "Wiedergabesteuerung anzeigen",
"hidePlaybackControls": "Wiedergabesteuerung ausblenden",
"seekBackwardButton": "${seconds} Sekunden zurück",
@@ -603,6 +709,8 @@
"switchingToCompatiblePlayer": "Wechsel zu einem kompatiblen Player …",
"serverLimitTitle": "Wiedergabe fehlgeschlagen",
"serverLimitBody": "Serverfehler (HTTP 500). Vermutlich hat ein Bandbreiten- oder Transkodierungslimit diese Sitzung abgelehnt. Bitte den Besitzer, das Limit anzupassen.",
"mediaUnreadableTitle": "",
"mediaUnreadableBody": "",
"logsUploaded": "Protokolle hochgeladen",
"logsUploadFailed": "Protokolle konnten nicht hochgeladen werden",
"logId": "Protokoll-ID"
@@ -877,6 +985,38 @@
"copyLogs": "Protokolle kopieren",
"uploadLogs": "Protokolle hochladen"
},
"startup": {
"failedTitle": "",
"failedBody": "",
"failedBodyRepairable": "",
"phaseLabel": "",
"showDetails": "",
"hideDetails": "",
"copyDetails": "",
"detailsCopied": "",
"uploadDetails": "",
"repairStorage": "",
"repairTitle": "",
"repairBodyCommon": "",
"repairBodyOneCredential": "",
"repairBodySignInsKept": "",
"repairBodySignInsLost": "",
"repairBodySessionsUncertain": "",
"repairConfirm": "",
"repairSucceeded": "",
"repairNeedsRestart": "",
"restartRequiredBody": "",
"quitPlezy": "",
"repairFailed": "",
"repairKeptSignIns": "",
"repairLostSignIns": "",
"repairLostSessions": "",
"backupTitle": "",
"backupWarning": "",
"deleteBackup": "",
"backupDeleted": "",
"previousFailureTitle": ""
},
"licenses": {
"relatedPackages": "Verwandte Pakete",
"license": "Lizenz",
@@ -931,7 +1071,137 @@
"searchHint": "${source} durchsuchen",
"searchEmpty": "Keine Ergebnisse für „${query}“",
"searchPrompt": "Suche nach Filmen und Serien auf ${source}.",
"searchFailed": "Suche fehlgeschlagen. Prüfe deine Verbindung und versuche es erneut."
"searchFailed": "Suche fehlgeschlagen. Prüfe deine Verbindung und versuche es erneut.",
"badge": {
"rankPopular": "",
"rankAiring": "",
"rankRated": "",
"rankFavorited": "",
"rankTrending": "",
"rankSeasonal": "",
"watchingNow": "",
"available": "",
"partiallyAvailable": "",
"availableIn4k": "",
"requested": "",
"pendingApproval": "",
"processing": "",
"declined": "",
"requestFailed": "",
"requested4k": "",
"seasonsAvailable": "",
"nextEpisodeIn": "",
"nextAiringIn": "",
"episodesShort": "",
"minutesPerEpisode": "",
"adult": ""
},
"stats": {
"listed": "",
"viewersDay": "",
"viewersWeek": "",
"viewersMonth": "",
"viewersYear": "",
"viewersAllTime": "",
"planning": "",
"favorited": "",
"dropRate": "",
"comments": {
"one": "",
"other": ""
},
"votes": "",
"watching": "",
"completed": "",
"onHold": "",
"dropped": ""
},
"season": {
"winter": "",
"spring": "",
"summer": "",
"fall": "",
"withYear": ""
},
"format": {
"tv": "",
"tvShort": "",
"movie": "",
"special": "",
"ova": "",
"ona": "",
"music": "",
"other": ""
},
"sourceMaterial": {
"original": "",
"manga": "",
"lightNovel": "",
"novel": "",
"visualNovel": "",
"game": "",
"webComic": "",
"musicRelease": "",
"otherMedia": ""
},
"creditRole": {
"director": "",
"writer": "",
"producer": "",
"creator": "",
"composer": ""
},
"relation": {
"prequel": "",
"sequel": "",
"sideStory": "",
"spinOff": "",
"alternativeVersion": "",
"summary": "",
"parentStory": "",
"adaptation": "",
"other": ""
},
"broadcast": "",
"broadcastWithZone": "",
"detail": {
"originalTitle": "",
"alsoKnownAs": "",
"studios": "",
"country": "",
"language": "",
"released": "",
"physicalRelease": "",
"ended": "",
"addedOn": "",
"yourRating": "",
"budget": "",
"revenue": "",
"contentAdvisory": "",
"tags": "",
"revealSpoilerTags": "",
"links": "",
"watchOn": "",
"watchTrailer": "",
"openOn": "",
"crew": "",
"ratings": "",
"schedule": "",
"recommendedByUsers": {
"one": "",
"other": ""
},
"recommendedBy": "",
"favoritedBy": "",
"unairedEpisodes": "",
"recommendedByPercent": "",
"relatedTitles": "",
"background": ""
},
"totalResults": {
"one": "",
"other": ""
}
},
"liveTv": {
"title": "Live-TV",
+275 -5
View File
@@ -64,7 +64,20 @@
"loading": "Loading...",
"fullscreen": "Fullscreen",
"exitFullscreen": "Exit fullscreen",
"pressBackAgainToExit": "Press back again to exit"
"pressBackAgainToExit": "Press back again to exit",
"ratingSource": {
"critic": "Critics",
"audience": "Audience",
"imdb": "IMDb",
"tmdb": "TMDB",
"rottenTomatoes": "Rotten Tomatoes",
"simkl": "Simkl",
"mal": "MyAnimeList",
"anilist": "AniList",
"trakt": "Trakt",
"rottenTomatoesCritic": "Rotten Tomatoes critics",
"rottenTomatoesAudience": "Rotten Tomatoes audience"
}
},
"screens": {
"licenses": "Licenses",
@@ -168,6 +181,8 @@
"minutesUnit": "${minutes} minutes",
"rememberTrackSelections": "Remember track selections per show/movie",
"rememberTrackSelectionsDescription": "Remember audio and subtitle choices per title",
"followServerTrackSelections": "Use server's per-episode track selections",
"followServerTrackSelectionsDescription": "On episode change, apply the audio and subtitles selected on the server instead of carrying over the current choice",
"showChapterMarkersOnTimeline": "Show chapter markers on seek bar",
"showChapterMarkersOnTimelineDescription": "Segment the seek bar at chapter boundaries",
"clickVideoTogglesPlayback": "Click on video to toggle play/pause",
@@ -381,30 +396,118 @@
},
"fileInfo": {
"title": "File Info",
"overview": "Overview",
"video": "Video",
"audio": "Audio",
"subtitles": "Subtitles",
"images": "Embedded Images",
"dataStreams": "Data Streams",
"lyrics": "Lyrics",
"file": "File",
"advanced": "Advanced",
"attachments": "Attachments",
"delivery": "Delivery",
"versionCounter": "Version ${index} of ${count}",
"fileCounter": "File ${index} of ${count}",
"noStreams": "The server reported no streams for this file.",
"copyPath": "Copy path",
"pathCopied": "File path copied",
"codec": "Codec",
"codecTag": "Codec Tag",
"resolution": "Resolution",
"codedResolution": "Coded Resolution",
"bitrate": "Bitrate",
"frameRate": "Frame Rate",
"rotation": "Rotation",
"comment": "Comment",
"audioDescription": "Audio Description",
"headerCompression": "Header Compression",
"sidecarFile": "Sidecar File",
"transportTimestamp": "Transport Timestamp",
"displayOffset": "Display Offset",
"previewFailureCode": "Preview Failure Code",
"previewRetries": "Preview Retries",
"aspectRatio": "Aspect Ratio",
"pixelAspectRatio": "Pixel Aspect Ratio",
"profile": "Profile",
"level": "Level",
"bitDepth": "Bit Depth",
"pixelFormat": "Pixel Format",
"colorSpace": "Color Space",
"colorRange": "Color Range",
"colorPrimaries": "Color Primaries",
"colorTransfer": "Color Transfer",
"chromaSubsampling": "Chroma Subsampling",
"chromaLocation": "Chroma Location",
"scanType": "Scan Type",
"interlaced": "Interlaced",
"anamorphic": "Anamorphic",
"referenceFrames": "Reference Frames",
"dynamicRange": "Dynamic Range",
"dolbyVision": "Dolby Vision",
"dolbyVisionLevel": "Dolby Vision Level",
"dolbyVisionVersion": "Dolby Vision Version",
"dolbyVisionLayers": "Dolby Vision Layers",
"baseLayerCompatibility": "Base Layer Compatibility",
"avcBitstream": "AVC Bitstream",
"nalLengthSize": "NAL Length Size",
"scalingMatrix": "Custom Scaling Matrix",
"streamIdentifier": "Stream Identifier",
"streamIndex": "Stream Index",
"streamId": "Stream ID",
"language": "Language",
"languageCode": "Language Code",
"streamTitle": "Track Title",
"channels": "Channels",
"subtitles": "Subtitles",
"sampleRate": "Sample Rate",
"spatialAudio": "Spatial Audio",
"textBased": "Text Based",
"subtitleFormat": "Sidecar Format",
"provider": "Provider",
"matchScore": "Match Score",
"externalDelivery": "Can Be Served Separately",
"sidecarPath": "Sidecar Path",
"sourceStream": "Copied From",
"temporary": "Temporary",
"timeBase": "Time Base",
"overallBitrate": "Overall Bitrate",
"path": "Path",
"fileName": "File Name",
"size": "Size",
"totalSize": "Total Size",
"container": "Container",
"duration": "Duration",
"previewThumbnails": "Preview Thumbnails",
"previewIndex": "Preview Index",
"packetLength": "Packet Length",
"filePresent": "File Present",
"fileReadable": "Readable by Server",
"streamPath": "Stream Path",
"optimizedForStreaming": "Optimized for Streaming",
"has64bitOffsets": "64-bit Offsets"
"has64bitOffsets": "64-bit Offsets",
"protocol": "Protocol",
"mediaType": "Media Type",
"sourceKind": "Source Kind",
"optimizedVersion": "Optimized Version",
"optimizationTarget": "Optimization Target",
"deletedAt": "Deleted",
"remoteSource": "Remote Source",
"infiniteStream": "Infinite Stream",
"directPlay": "Direct Play",
"directStream": "Direct Stream",
"transcoding": "Transcoding",
"etag": "ETag",
"versionId": "Version ID",
"fileId": "File ID",
"defaultAudioTrack": "Default Audio Track",
"defaultSubtitleTrack": "Default Subtitle Track",
"subtitlesOff": "Off",
"flagDefault": "Default",
"flagForced": "Forced",
"flagSelected": "Selected",
"flagExternal": "External",
"flagHearingImpaired": "Hearing impaired",
"flagDub": "Dub",
"flagOriginal": "Original"
},
"mediaMenu": {
"markAsWatched": "Mark as Watched",
@@ -493,6 +596,9 @@
"playNext": "Play Next",
"playButton": "Play",
"pauseButton": "Pause",
"playbackPaused": "Paused",
"playbackResumed": "Playing",
"loadingVideo": "Loading video",
"showPlaybackControls": "Show playback controls",
"hidePlaybackControls": "Hide playback controls",
"seekBackwardButton": "Seek backward ${seconds} seconds",
@@ -603,6 +709,8 @@
"switchingToCompatiblePlayer": "Switching to compatible player...",
"serverLimitTitle": "Playback failed",
"serverLimitBody": "Server error (HTTP 500). A bandwidth/transcoding limit likely rejected this session. Ask the owner to adjust it.",
"mediaUnreadableTitle": "File unavailable",
"mediaUnreadableBody": "The server found this item but could not read its file (HTTP 404). The file was probably moved, deleted, or its storage is offline. Ask the server owner to check the file and rescan the library.",
"logsUploaded": "Logs uploaded",
"logsUploadFailed": "Failed to upload logs",
"logId": "Log ID"
@@ -877,6 +985,38 @@
"copyLogs": "Copy Logs",
"uploadLogs": "Upload Logs"
},
"startup": {
"failedTitle": "Plezy could not start",
"failedBody": "Something went wrong during startup. The details below identify what failed.",
"failedBodyRepairable": "Plezy's saved settings file is damaged and has to be rebuilt before Plezy can start. Retrying will not help — choose Repair storage.",
"phaseLabel": "Step",
"showDetails": "Show details",
"hideDetails": "Hide details",
"copyDetails": "Copy details",
"detailsCopied": "Details copied to clipboard",
"uploadDetails": "Upload details",
"repairStorage": "Repair storage",
"repairTitle": "Repair stored data?",
"repairBodyCommon": "Plezy's settings file is damaged and cannot be read. Repairing resets every setting to its default.",
"repairBodyOneCredential": "One saved sign-in is damaged and cannot be read. Repairing removes just that one; your other settings are left alone.",
"repairBodySignInsKept": "Your servers and profiles should stay signed in.",
"repairBodySignInsLost": "The key protecting your saved sign-ins cannot be recovered from this file, so you will have to sign in to every server and profile again. Nothing on your media server is affected.",
"repairBodySessionsUncertain": "Trackers (MAL, AniList, Simkl, Trakt) and Seerr are stored separately and may or may not survive. Plezy will tell you exactly what it kept.",
"repairConfirm": "Repair",
"repairSucceeded": "Storage repaired",
"repairNeedsRestart": "Storage repaired — restart required",
"restartRequiredBody": "Your data was repaired, but Plezy has to start fresh before it can use it. Close Plezy and open it again.",
"quitPlezy": "Quit Plezy",
"repairFailed": "Repair failed",
"repairKeptSignIns": "Your servers and profiles are still signed in.",
"repairLostSignIns": "The key protecting your saved sign-ins could not be recovered. You will have to sign in to every server and profile again.",
"repairLostSessions": "At least one tracker or Seerr connection was lost and has to be reconnected.",
"backupTitle": "A copy of the damaged file was kept",
"backupWarning": "It contains your sign-in credentials. Do not upload or share it.",
"deleteBackup": "Delete copy",
"backupDeleted": "Copy deleted.",
"previousFailureTitle": "Plezy failed to start last time"
},
"licenses": {
"relatedPackages": "Related Packages",
"license": "License",
@@ -931,7 +1071,137 @@
"searchHint": "Search ${source}",
"searchEmpty": "No results for \"${query}\"",
"searchPrompt": "Search for movies and shows on ${source}.",
"searchFailed": "Search failed. Check your connection and try again."
"searchFailed": "Search failed. Check your connection and try again.",
"badge": {
"rankPopular": "#${n} popular",
"rankAiring": "#${n} airing",
"rankRated": "#${n} rated",
"rankFavorited": "#${n} favorited",
"rankTrending": "#${n} trending",
"rankSeasonal": "#${n} in ${season}",
"watchingNow": "${n} watching",
"available": "Available",
"partiallyAvailable": "Partly available",
"availableIn4k": "4K available",
"requested": "Requested",
"pendingApproval": "Pending approval",
"processing": "Processing",
"declined": "Declined",
"requestFailed": "Request failed",
"requested4k": "4K requested",
"seasonsAvailable": "${available}/${total} seasons",
"nextEpisodeIn": "Ep ${episode} in ${duration}",
"nextAiringIn": "Next in ${duration}",
"episodesShort": "${n} eps",
"minutesPerEpisode": "${n} min/ep",
"adult": "18+"
},
"stats": {
"listed": "${n} listed",
"viewersDay": "${n} watched today",
"viewersWeek": "${n} watched this week",
"viewersMonth": "${n} watched this month",
"viewersYear": "${n} watched this year",
"viewersAllTime": "${n} viewers",
"planning": "${n} planning to watch",
"favorited": "${n} favorites",
"dropRate": "${percent} dropped it",
"comments": {
"one": "${n} comment",
"other": "${n} comments"
},
"votes": "${n} votes",
"watching": "${n} watching it",
"completed": "${n} completed",
"onHold": "${n} on hold",
"dropped": "${n} dropped"
},
"season": {
"winter": "Winter",
"spring": "Spring",
"summer": "Summer",
"fall": "Fall",
"withYear": "${season} ${year}"
},
"format": {
"tv": "TV",
"tvShort": "TV Short",
"movie": "Movie",
"special": "Special",
"ova": "OVA",
"ona": "ONA",
"music": "Music",
"other": "Other"
},
"sourceMaterial": {
"original": "Original",
"manga": "Manga",
"lightNovel": "Light novel",
"novel": "Novel",
"visualNovel": "Visual novel",
"game": "Game",
"webComic": "Web comic",
"musicRelease": "Music",
"otherMedia": "Other"
},
"creditRole": {
"director": "Director",
"writer": "Writer",
"producer": "Producer",
"creator": "Creator",
"composer": "Composer"
},
"relation": {
"prequel": "Prequel",
"sequel": "Sequel",
"sideStory": "Side story",
"spinOff": "Spin-off",
"alternativeVersion": "Alternative version",
"summary": "Summary",
"parentStory": "Parent story",
"adaptation": "Adaptation",
"other": "Related"
},
"broadcast": "Airs ${day} at ${time}",
"broadcastWithZone": "Airs ${day} at ${time} ${timezone}",
"detail": {
"originalTitle": "Original title",
"alsoKnownAs": "Also known as",
"studios": "Studios",
"country": "Country",
"language": "Language",
"released": "Released",
"physicalRelease": "On disc",
"ended": "Ended",
"addedOn": "Added ${date}",
"yourRating": "Your rating",
"budget": "Budget",
"revenue": "Box office",
"contentAdvisory": "Age guidance",
"tags": "Tags",
"revealSpoilerTags": "Show spoiler tags",
"links": "Links",
"watchOn": "Watch on",
"watchTrailer": "Watch trailer",
"openOn": "Open on ${site}",
"crew": "Crew",
"ratings": "Ratings",
"schedule": "Schedule",
"recommendedByUsers": {
"one": "Recommended by ${n} user",
"other": "Recommended by ${n} users"
},
"recommendedBy": "Recommended by ${who}",
"favoritedBy": "Favorited by ${who}",
"unairedEpisodes": "${n} not aired yet",
"recommendedByPercent": "Recommended by ${percent} of viewers",
"relatedTitles": "Related titles",
"background": "Background"
},
"totalResults": {
"one": "${n} result",
"other": "${n} results"
}
},
"liveTv": {
"title": "Live TV",
+275 -5
View File
@@ -64,7 +64,20 @@
"loading": "Cargando...",
"fullscreen": "Pantalla completa",
"exitFullscreen": "Salir de pantalla completa",
"pressBackAgainToExit": "Pulsa Atrás de nuevo para salir"
"pressBackAgainToExit": "Pulsa Atrás de nuevo para salir",
"ratingSource": {
"critic": "",
"audience": "",
"imdb": "",
"tmdb": "",
"rottenTomatoes": "",
"simkl": "",
"mal": "",
"anilist": "",
"trakt": "",
"rottenTomatoesCritic": "",
"rottenTomatoesAudience": ""
}
},
"screens": {
"licenses": "Licencias",
@@ -168,6 +181,8 @@
"minutesUnit": "${minutes} minutos",
"rememberTrackSelections": "Recordar selección de pistas por serie/película",
"rememberTrackSelectionsDescription": "Recordar opciones de audio y subtítulos por título",
"followServerTrackSelections": "Usar la selección de pistas del servidor por episodio",
"followServerTrackSelectionsDescription": "Al cambiar de episodio, aplicar el audio y los subtítulos seleccionados en el servidor en lugar de mantener la elección actual",
"showChapterMarkersOnTimeline": "Mostrar marcadores de capítulos en la barra de progreso",
"showChapterMarkersOnTimelineDescription": "Dividir la barra de progreso en los límites de capítulos",
"clickVideoTogglesPlayback": "Clic en el video para reproducir/pausar",
@@ -381,30 +396,118 @@
},
"fileInfo": {
"title": "Información del archivo",
"overview": "",
"video": "Video",
"audio": "Audio",
"subtitles": "Subtítulos",
"images": "",
"dataStreams": "",
"lyrics": "",
"file": "Archivo",
"advanced": "Avanzado",
"attachments": "",
"delivery": "",
"versionCounter": "",
"fileCounter": "",
"noStreams": "",
"copyPath": "",
"pathCopied": "",
"codec": "Códec",
"codecTag": "",
"resolution": "Resolución",
"codedResolution": "",
"bitrate": "Tasa de bits",
"frameRate": "Frecuencia de fotogramas",
"rotation": "",
"comment": "",
"audioDescription": "",
"headerCompression": "",
"sidecarFile": "",
"transportTimestamp": "",
"displayOffset": "",
"previewFailureCode": "",
"previewRetries": "",
"aspectRatio": "Relación de aspecto",
"pixelAspectRatio": "",
"profile": "Perfil",
"level": "",
"bitDepth": "Profundidad de bits",
"pixelFormat": "",
"colorSpace": "Espacio de color",
"colorRange": "Rango de color",
"colorPrimaries": "Primarias de color",
"colorTransfer": "",
"chromaSubsampling": "Submuestreo de croma",
"chromaLocation": "",
"scanType": "",
"interlaced": "",
"anamorphic": "",
"referenceFrames": "",
"dynamicRange": "",
"dolbyVision": "",
"dolbyVisionLevel": "",
"dolbyVisionVersion": "",
"dolbyVisionLayers": "",
"baseLayerCompatibility": "",
"avcBitstream": "",
"nalLengthSize": "",
"scalingMatrix": "",
"streamIdentifier": "",
"streamIndex": "",
"streamId": "",
"language": "",
"languageCode": "",
"streamTitle": "",
"channels": "Canales",
"subtitles": "Subtítulos",
"sampleRate": "",
"spatialAudio": "",
"textBased": "",
"subtitleFormat": "",
"provider": "",
"matchScore": "",
"externalDelivery": "",
"sidecarPath": "",
"sourceStream": "",
"temporary": "",
"timeBase": "",
"overallBitrate": "Tasa de bits total",
"path": "Ruta",
"fileName": "",
"size": "Tamaño",
"totalSize": "",
"container": "Contenedor",
"duration": "Duración",
"previewThumbnails": "",
"previewIndex": "",
"packetLength": "",
"filePresent": "",
"fileReadable": "",
"streamPath": "",
"optimizedForStreaming": "Optimizado para transmisión",
"has64bitOffsets": "Desplazamientos de 64 bits"
"has64bitOffsets": "Desplazamientos de 64 bits",
"protocol": "",
"mediaType": "",
"sourceKind": "",
"optimizedVersion": "",
"optimizationTarget": "",
"deletedAt": "",
"remoteSource": "",
"infiniteStream": "",
"directPlay": "",
"directStream": "",
"transcoding": "",
"etag": "",
"versionId": "",
"fileId": "",
"defaultAudioTrack": "",
"defaultSubtitleTrack": "",
"subtitlesOff": "",
"flagDefault": "",
"flagForced": "",
"flagSelected": "",
"flagExternal": "",
"flagHearingImpaired": "",
"flagDub": "",
"flagOriginal": ""
},
"mediaMenu": {
"markAsWatched": "Marcar como visto",
@@ -493,6 +596,9 @@
"playNext": "Reproducir siguiente",
"playButton": "Reproducir",
"pauseButton": "Pausar",
"playbackPaused": "",
"playbackResumed": "",
"loadingVideo": "",
"showPlaybackControls": "Mostrar controles de reproducción",
"hidePlaybackControls": "Ocultar controles de reproducción",
"seekBackwardButton": "Retroceder ${seconds} segundos",
@@ -603,6 +709,8 @@
"switchingToCompatiblePlayer": "Cambiando a reproductor compatible...",
"serverLimitTitle": "Error de reproducción",
"serverLimitBody": "Error del servidor (HTTP 500). Un límite de ancho de banda/transcodificación probablemente rechazó esta sesión. Pide al propietario que lo ajuste.",
"mediaUnreadableTitle": "",
"mediaUnreadableBody": "",
"logsUploaded": "Registros subidos",
"logsUploadFailed": "Error al subir registros",
"logId": "ID de registro"
@@ -877,6 +985,38 @@
"copyLogs": "Copiar registros",
"uploadLogs": "Subir registros"
},
"startup": {
"failedTitle": "",
"failedBody": "",
"failedBodyRepairable": "",
"phaseLabel": "",
"showDetails": "",
"hideDetails": "",
"copyDetails": "",
"detailsCopied": "",
"uploadDetails": "",
"repairStorage": "",
"repairTitle": "",
"repairBodyCommon": "",
"repairBodyOneCredential": "",
"repairBodySignInsKept": "",
"repairBodySignInsLost": "",
"repairBodySessionsUncertain": "",
"repairConfirm": "",
"repairSucceeded": "",
"repairNeedsRestart": "",
"restartRequiredBody": "",
"quitPlezy": "",
"repairFailed": "",
"repairKeptSignIns": "",
"repairLostSignIns": "",
"repairLostSessions": "",
"backupTitle": "",
"backupWarning": "",
"deleteBackup": "",
"backupDeleted": "",
"previousFailureTitle": ""
},
"licenses": {
"relatedPackages": "Paquetes relacionados",
"license": "Licencia",
@@ -931,7 +1071,137 @@
"searchHint": "Buscar en ${source}",
"searchEmpty": "Sin resultados para \"${query}\"",
"searchPrompt": "Busca películas y series en ${source}.",
"searchFailed": "La búsqueda falló. Comprueba tu conexión e inténtalo de nuevo."
"searchFailed": "La búsqueda falló. Comprueba tu conexión e inténtalo de nuevo.",
"badge": {
"rankPopular": "",
"rankAiring": "",
"rankRated": "",
"rankFavorited": "",
"rankTrending": "",
"rankSeasonal": "",
"watchingNow": "",
"available": "",
"partiallyAvailable": "",
"availableIn4k": "",
"requested": "",
"pendingApproval": "",
"processing": "",
"declined": "",
"requestFailed": "",
"requested4k": "",
"seasonsAvailable": "",
"nextEpisodeIn": "",
"nextAiringIn": "",
"episodesShort": "",
"minutesPerEpisode": "",
"adult": ""
},
"stats": {
"listed": "",
"viewersDay": "",
"viewersWeek": "",
"viewersMonth": "",
"viewersYear": "",
"viewersAllTime": "",
"planning": "",
"favorited": "",
"dropRate": "",
"comments": {
"one": "",
"other": ""
},
"votes": "",
"watching": "",
"completed": "",
"onHold": "",
"dropped": ""
},
"season": {
"winter": "",
"spring": "",
"summer": "",
"fall": "",
"withYear": ""
},
"format": {
"tv": "",
"tvShort": "",
"movie": "",
"special": "",
"ova": "",
"ona": "",
"music": "",
"other": ""
},
"sourceMaterial": {
"original": "",
"manga": "",
"lightNovel": "",
"novel": "",
"visualNovel": "",
"game": "",
"webComic": "",
"musicRelease": "",
"otherMedia": ""
},
"creditRole": {
"director": "",
"writer": "",
"producer": "",
"creator": "",
"composer": ""
},
"relation": {
"prequel": "",
"sequel": "",
"sideStory": "",
"spinOff": "",
"alternativeVersion": "",
"summary": "",
"parentStory": "",
"adaptation": "",
"other": ""
},
"broadcast": "",
"broadcastWithZone": "",
"detail": {
"originalTitle": "",
"alsoKnownAs": "",
"studios": "",
"country": "",
"language": "",
"released": "",
"physicalRelease": "",
"ended": "",
"addedOn": "",
"yourRating": "",
"budget": "",
"revenue": "",
"contentAdvisory": "",
"tags": "",
"revealSpoilerTags": "",
"links": "",
"watchOn": "",
"watchTrailer": "",
"openOn": "",
"crew": "",
"ratings": "",
"schedule": "",
"recommendedByUsers": {
"one": "",
"other": ""
},
"recommendedBy": "",
"favoritedBy": "",
"unairedEpisodes": "",
"recommendedByPercent": "",
"relatedTitles": "",
"background": ""
},
"totalResults": {
"one": "",
"other": ""
}
},
"liveTv": {
"title": "TV en vivo",
+275 -5
View File
@@ -64,7 +64,20 @@
"loading": "Chargement...",
"fullscreen": "Plein écran",
"exitFullscreen": "Quitter le plein écran",
"pressBackAgainToExit": "Appuyez à nouveau sur retour pour quitter"
"pressBackAgainToExit": "Appuyez à nouveau sur retour pour quitter",
"ratingSource": {
"critic": "",
"audience": "",
"imdb": "",
"tmdb": "",
"rottenTomatoes": "",
"simkl": "",
"mal": "",
"anilist": "",
"trakt": "",
"rottenTomatoesCritic": "",
"rottenTomatoesAudience": ""
}
},
"screens": {
"licenses": "Licences",
@@ -168,6 +181,8 @@
"minutesUnit": "${minutes} minutes",
"rememberTrackSelections": "Mémoriser les pistes choisies pour chaque série ou film",
"rememberTrackSelectionsDescription": "Mémoriser les choix audio et sous-titres par titre",
"followServerTrackSelections": "Utiliser les pistes sélectionnées sur le serveur pour chaque épisode",
"followServerTrackSelectionsDescription": "Au changement d'épisode, appliquer l'audio et les sous-titres sélectionnés sur le serveur au lieu de conserver le choix en cours",
"showChapterMarkersOnTimeline": "Afficher les marqueurs de chapitres sur la barre de lecture",
"showChapterMarkersOnTimelineDescription": "Segmenter la barre de lecture aux limites des chapitres",
"clickVideoTogglesPlayback": "Cliquer sur la vidéo pour alterner entre lecture et pause",
@@ -381,30 +396,118 @@
},
"fileInfo": {
"title": "Informations sur le fichier",
"overview": "",
"video": "Vidéo",
"audio": "Audio",
"subtitles": "Sous-titres",
"images": "",
"dataStreams": "",
"lyrics": "",
"file": "Fichier",
"advanced": "Avancé",
"attachments": "",
"delivery": "",
"versionCounter": "",
"fileCounter": "",
"noStreams": "",
"copyPath": "",
"pathCopied": "",
"codec": "Codec",
"codecTag": "",
"resolution": "Résolution",
"codedResolution": "",
"bitrate": "Débit",
"frameRate": "Fréquence d'images",
"rotation": "",
"comment": "",
"audioDescription": "",
"headerCompression": "",
"sidecarFile": "",
"transportTimestamp": "",
"displayOffset": "",
"previewFailureCode": "",
"previewRetries": "",
"aspectRatio": "Format d'image",
"pixelAspectRatio": "",
"profile": "Profil",
"level": "",
"bitDepth": "Profondeur de bits",
"pixelFormat": "",
"colorSpace": "Espace colorimétrique",
"colorRange": "Gamme de couleurs",
"colorPrimaries": "Couleurs primaires",
"colorTransfer": "",
"chromaSubsampling": "Sous-échantillonnage chromatique",
"chromaLocation": "",
"scanType": "",
"interlaced": "",
"anamorphic": "",
"referenceFrames": "",
"dynamicRange": "",
"dolbyVision": "",
"dolbyVisionLevel": "",
"dolbyVisionVersion": "",
"dolbyVisionLayers": "",
"baseLayerCompatibility": "",
"avcBitstream": "",
"nalLengthSize": "",
"scalingMatrix": "",
"streamIdentifier": "",
"streamIndex": "",
"streamId": "",
"language": "",
"languageCode": "",
"streamTitle": "",
"channels": "Canaux",
"subtitles": "Sous-titres",
"sampleRate": "",
"spatialAudio": "",
"textBased": "",
"subtitleFormat": "",
"provider": "",
"matchScore": "",
"externalDelivery": "",
"sidecarPath": "",
"sourceStream": "",
"temporary": "",
"timeBase": "",
"overallBitrate": "Débit global",
"path": "Chemin",
"fileName": "",
"size": "Taille",
"totalSize": "",
"container": "Conteneur",
"duration": "Durée",
"previewThumbnails": "",
"previewIndex": "",
"packetLength": "",
"filePresent": "",
"fileReadable": "",
"streamPath": "",
"optimizedForStreaming": "Optimisé pour le streaming",
"has64bitOffsets": "Décalages 64 bits"
"has64bitOffsets": "Décalages 64 bits",
"protocol": "",
"mediaType": "",
"sourceKind": "",
"optimizedVersion": "",
"optimizationTarget": "",
"deletedAt": "",
"remoteSource": "",
"infiniteStream": "",
"directPlay": "",
"directStream": "",
"transcoding": "",
"etag": "",
"versionId": "",
"fileId": "",
"defaultAudioTrack": "",
"defaultSubtitleTrack": "",
"subtitlesOff": "",
"flagDefault": "",
"flagForced": "",
"flagSelected": "",
"flagExternal": "",
"flagHearingImpaired": "",
"flagDub": "",
"flagOriginal": ""
},
"mediaMenu": {
"markAsWatched": "Marquer comme vu",
@@ -493,6 +596,9 @@
"playNext": "Lire l'épisode suivant",
"playButton": "Lire",
"pauseButton": "Pause",
"playbackPaused": "",
"playbackResumed": "",
"loadingVideo": "",
"showPlaybackControls": "Afficher les commandes de lecture",
"hidePlaybackControls": "Masquer les commandes de lecture",
"seekBackwardButton": "Reculer de ${seconds} secondes",
@@ -603,6 +709,8 @@
"switchingToCompatiblePlayer": "Passage au lecteur compatible...",
"serverLimitTitle": "Échec de la lecture",
"serverLimitBody": "Erreur serveur (HTTP 500). Une limite de bande passante/transcodage a probablement rejeté cette session. Demandez au propriétaire de l'ajuster.",
"mediaUnreadableTitle": "",
"mediaUnreadableBody": "",
"logsUploaded": "Journaux envoyés",
"logsUploadFailed": "Échec de l’envoi des journaux",
"logId": "Identifiant du journal"
@@ -877,6 +985,38 @@
"copyLogs": "Copier les journaux",
"uploadLogs": "Envoyer les journaux"
},
"startup": {
"failedTitle": "",
"failedBody": "",
"failedBodyRepairable": "",
"phaseLabel": "",
"showDetails": "",
"hideDetails": "",
"copyDetails": "",
"detailsCopied": "",
"uploadDetails": "",
"repairStorage": "",
"repairTitle": "",
"repairBodyCommon": "",
"repairBodyOneCredential": "",
"repairBodySignInsKept": "",
"repairBodySignInsLost": "",
"repairBodySessionsUncertain": "",
"repairConfirm": "",
"repairSucceeded": "",
"repairNeedsRestart": "",
"restartRequiredBody": "",
"quitPlezy": "",
"repairFailed": "",
"repairKeptSignIns": "",
"repairLostSignIns": "",
"repairLostSessions": "",
"backupTitle": "",
"backupWarning": "",
"deleteBackup": "",
"backupDeleted": "",
"previousFailureTitle": ""
},
"licenses": {
"relatedPackages": "Paquets associés",
"license": "Licence",
@@ -931,7 +1071,137 @@
"searchHint": "Rechercher dans ${source}",
"searchEmpty": "Aucun résultat pour \"${query}\"",
"searchPrompt": "Recherchez des films et des séries sur ${source}.",
"searchFailed": "Échec de la recherche. Vérifiez votre connexion et réessayez."
"searchFailed": "Échec de la recherche. Vérifiez votre connexion et réessayez.",
"badge": {
"rankPopular": "",
"rankAiring": "",
"rankRated": "",
"rankFavorited": "",
"rankTrending": "",
"rankSeasonal": "",
"watchingNow": "",
"available": "",
"partiallyAvailable": "",
"availableIn4k": "",
"requested": "",
"pendingApproval": "",
"processing": "",
"declined": "",
"requestFailed": "",
"requested4k": "",
"seasonsAvailable": "",
"nextEpisodeIn": "",
"nextAiringIn": "",
"episodesShort": "",
"minutesPerEpisode": "",
"adult": ""
},
"stats": {
"listed": "",
"viewersDay": "",
"viewersWeek": "",
"viewersMonth": "",
"viewersYear": "",
"viewersAllTime": "",
"planning": "",
"favorited": "",
"dropRate": "",
"comments": {
"one": "",
"other": ""
},
"votes": "",
"watching": "",
"completed": "",
"onHold": "",
"dropped": ""
},
"season": {
"winter": "",
"spring": "",
"summer": "",
"fall": "",
"withYear": ""
},
"format": {
"tv": "",
"tvShort": "",
"movie": "",
"special": "",
"ova": "",
"ona": "",
"music": "",
"other": ""
},
"sourceMaterial": {
"original": "",
"manga": "",
"lightNovel": "",
"novel": "",
"visualNovel": "",
"game": "",
"webComic": "",
"musicRelease": "",
"otherMedia": ""
},
"creditRole": {
"director": "",
"writer": "",
"producer": "",
"creator": "",
"composer": ""
},
"relation": {
"prequel": "",
"sequel": "",
"sideStory": "",
"spinOff": "",
"alternativeVersion": "",
"summary": "",
"parentStory": "",
"adaptation": "",
"other": ""
},
"broadcast": "",
"broadcastWithZone": "",
"detail": {
"originalTitle": "",
"alsoKnownAs": "",
"studios": "",
"country": "",
"language": "",
"released": "",
"physicalRelease": "",
"ended": "",
"addedOn": "",
"yourRating": "",
"budget": "",
"revenue": "",
"contentAdvisory": "",
"tags": "",
"revealSpoilerTags": "",
"links": "",
"watchOn": "",
"watchTrailer": "",
"openOn": "",
"crew": "",
"ratings": "",
"schedule": "",
"recommendedByUsers": {
"one": "",
"other": ""
},
"recommendedBy": "",
"favoritedBy": "",
"unairedEpisodes": "",
"recommendedByPercent": "",
"relatedTitles": "",
"background": ""
},
"totalResults": {
"one": "",
"other": ""
}
},
"liveTv": {
"title": "TV en direct",
+275 -5
View File
@@ -64,7 +64,20 @@
"loading": "Betöltés...",
"fullscreen": "Teljes képernyő",
"exitFullscreen": "Kilépés a teljes képernyőből",
"pressBackAgainToExit": "A kilépéshez nyomd meg újra a Vissza gombot"
"pressBackAgainToExit": "A kilépéshez nyomd meg újra a Vissza gombot",
"ratingSource": {
"critic": "",
"audience": "",
"imdb": "",
"tmdb": "",
"rottenTomatoes": "",
"simkl": "",
"mal": "",
"anilist": "",
"trakt": "",
"rottenTomatoesCritic": "",
"rottenTomatoesAudience": ""
}
},
"screens": {
"licenses": "Licencek",
@@ -168,6 +181,8 @@
"minutesUnit": "${minutes} perc",
"rememberTrackSelections": "Sávválasztások megjegyzése sorozatonként/filmenként",
"rememberTrackSelectionsDescription": "Hang- és feliratválasztások megjegyzése címenként",
"followServerTrackSelections": "A szerver epizódonkénti sávválasztásának használata",
"followServerTrackSelectionsDescription": "Epizódváltáskor a szerveren kiválasztott hang és felirat lép életbe az aktuális választás átvitele helyett",
"showChapterMarkersOnTimeline": "Fejezetjelölők megjelenítése az idősávon",
"showChapterMarkersOnTimelineDescription": "Az idősáv felosztása a fejezetek határainál",
"clickVideoTogglesPlayback": "Kattintás a videóra a lejátszás/szünet váltásához",
@@ -381,30 +396,118 @@
},
"fileInfo": {
"title": "Fájlinformáció",
"overview": "",
"video": "Videó",
"audio": "Hang",
"subtitles": "Feliratok",
"images": "",
"dataStreams": "",
"lyrics": "",
"file": "Fájl",
"advanced": "Haladó",
"attachments": "",
"delivery": "",
"versionCounter": "",
"fileCounter": "",
"noStreams": "",
"copyPath": "",
"pathCopied": "",
"codec": "Kodek",
"codecTag": "",
"resolution": "Felbontás",
"codedResolution": "",
"bitrate": "Bitráta",
"frameRate": "Képkockasebesség",
"rotation": "",
"comment": "",
"audioDescription": "",
"headerCompression": "",
"sidecarFile": "",
"transportTimestamp": "",
"displayOffset": "",
"previewFailureCode": "",
"previewRetries": "",
"aspectRatio": "Méretarány",
"pixelAspectRatio": "",
"profile": "Profil",
"level": "",
"bitDepth": "Bitmélység",
"pixelFormat": "",
"colorSpace": "Színtér",
"colorRange": "Színtartomány",
"colorPrimaries": "Elsődleges színek",
"colorTransfer": "",
"chromaSubsampling": "Krominancia-alulmintavételezés",
"chromaLocation": "",
"scanType": "",
"interlaced": "",
"anamorphic": "",
"referenceFrames": "",
"dynamicRange": "",
"dolbyVision": "",
"dolbyVisionLevel": "",
"dolbyVisionVersion": "",
"dolbyVisionLayers": "",
"baseLayerCompatibility": "",
"avcBitstream": "",
"nalLengthSize": "",
"scalingMatrix": "",
"streamIdentifier": "",
"streamIndex": "",
"streamId": "",
"language": "",
"languageCode": "",
"streamTitle": "",
"channels": "Csatornák",
"subtitles": "Feliratok",
"sampleRate": "",
"spatialAudio": "",
"textBased": "",
"subtitleFormat": "",
"provider": "",
"matchScore": "",
"externalDelivery": "",
"sidecarPath": "",
"sourceStream": "",
"temporary": "",
"timeBase": "",
"overallBitrate": "Összesített bitráta",
"path": "Elérési út",
"fileName": "",
"size": "Méret",
"totalSize": "",
"container": "Konténer",
"duration": "Időtartam",
"previewThumbnails": "",
"previewIndex": "",
"packetLength": "",
"filePresent": "",
"fileReadable": "",
"streamPath": "",
"optimizedForStreaming": "Adatfolyam-továbbításra optimalizálva",
"has64bitOffsets": "64 bites eltolások"
"has64bitOffsets": "64 bites eltolások",
"protocol": "",
"mediaType": "",
"sourceKind": "",
"optimizedVersion": "",
"optimizationTarget": "",
"deletedAt": "",
"remoteSource": "",
"infiniteStream": "",
"directPlay": "",
"directStream": "",
"transcoding": "",
"etag": "",
"versionId": "",
"fileId": "",
"defaultAudioTrack": "",
"defaultSubtitleTrack": "",
"subtitlesOff": "",
"flagDefault": "",
"flagForced": "",
"flagSelected": "",
"flagExternal": "",
"flagHearingImpaired": "",
"flagDub": "",
"flagOriginal": ""
},
"mediaMenu": {
"markAsWatched": "Megjelölés megtekintettként",
@@ -493,6 +596,9 @@
"playNext": "Következő lejátszása",
"playButton": "Lejátszás",
"pauseButton": "Szünet",
"playbackPaused": "",
"playbackResumed": "",
"loadingVideo": "",
"showPlaybackControls": "Lejátszásvezérlők megjelenítése",
"hidePlaybackControls": "Lejátszásvezérlők elrejtése",
"seekBackwardButton": "Tekerés hátra ${seconds} másodperccel",
@@ -603,6 +709,8 @@
"switchingToCompatiblePlayer": "Váltás kompatibilis lejátszóra...",
"serverLimitTitle": "A lejátszás nem sikerült",
"serverLimitBody": "Szerverhiba (HTTP 500). A munkamenetet valószínűleg egy sávszélességi vagy átkódolási korlát utasította el. Kérd meg a tulajdonost a korlát módosítására.",
"mediaUnreadableTitle": "",
"mediaUnreadableBody": "",
"logsUploaded": "Naplók feltöltve",
"logsUploadFailed": "Nem sikerült a naplók feltöltése",
"logId": "Naplóazonosító"
@@ -877,6 +985,38 @@
"copyLogs": "Naplók másolása",
"uploadLogs": "Naplók feltöltése"
},
"startup": {
"failedTitle": "",
"failedBody": "",
"failedBodyRepairable": "",
"phaseLabel": "",
"showDetails": "",
"hideDetails": "",
"copyDetails": "",
"detailsCopied": "",
"uploadDetails": "",
"repairStorage": "",
"repairTitle": "",
"repairBodyCommon": "",
"repairBodyOneCredential": "",
"repairBodySignInsKept": "",
"repairBodySignInsLost": "",
"repairBodySessionsUncertain": "",
"repairConfirm": "",
"repairSucceeded": "",
"repairNeedsRestart": "",
"restartRequiredBody": "",
"quitPlezy": "",
"repairFailed": "",
"repairKeptSignIns": "",
"repairLostSignIns": "",
"repairLostSessions": "",
"backupTitle": "",
"backupWarning": "",
"deleteBackup": "",
"backupDeleted": "",
"previousFailureTitle": ""
},
"licenses": {
"relatedPackages": "Kapcsolódó csomagok",
"license": "Licenc",
@@ -931,7 +1071,137 @@
"searchHint": "Keresés itt: ${source}",
"searchEmpty": "Nincs találat a következőre: \"${query}\"",
"searchPrompt": "Filmek és sorozatok keresése a következőn: ${source}.",
"searchFailed": "A keresés nem sikerült. Ellenőrizd a kapcsolatot és próbáld újra."
"searchFailed": "A keresés nem sikerült. Ellenőrizd a kapcsolatot és próbáld újra.",
"badge": {
"rankPopular": "",
"rankAiring": "",
"rankRated": "",
"rankFavorited": "",
"rankTrending": "",
"rankSeasonal": "",
"watchingNow": "",
"available": "",
"partiallyAvailable": "",
"availableIn4k": "",
"requested": "",
"pendingApproval": "",
"processing": "",
"declined": "",
"requestFailed": "",
"requested4k": "",
"seasonsAvailable": "",
"nextEpisodeIn": "",
"nextAiringIn": "",
"episodesShort": "",
"minutesPerEpisode": "",
"adult": ""
},
"stats": {
"listed": "",
"viewersDay": "",
"viewersWeek": "",
"viewersMonth": "",
"viewersYear": "",
"viewersAllTime": "",
"planning": "",
"favorited": "",
"dropRate": "",
"comments": {
"one": "",
"other": ""
},
"votes": "",
"watching": "",
"completed": "",
"onHold": "",
"dropped": ""
},
"season": {
"winter": "",
"spring": "",
"summer": "",
"fall": "",
"withYear": ""
},
"format": {
"tv": "",
"tvShort": "",
"movie": "",
"special": "",
"ova": "",
"ona": "",
"music": "",
"other": ""
},
"sourceMaterial": {
"original": "",
"manga": "",
"lightNovel": "",
"novel": "",
"visualNovel": "",
"game": "",
"webComic": "",
"musicRelease": "",
"otherMedia": ""
},
"creditRole": {
"director": "",
"writer": "",
"producer": "",
"creator": "",
"composer": ""
},
"relation": {
"prequel": "",
"sequel": "",
"sideStory": "",
"spinOff": "",
"alternativeVersion": "",
"summary": "",
"parentStory": "",
"adaptation": "",
"other": ""
},
"broadcast": "",
"broadcastWithZone": "",
"detail": {
"originalTitle": "",
"alsoKnownAs": "",
"studios": "",
"country": "",
"language": "",
"released": "",
"physicalRelease": "",
"ended": "",
"addedOn": "",
"yourRating": "",
"budget": "",
"revenue": "",
"contentAdvisory": "",
"tags": "",
"revealSpoilerTags": "",
"links": "",
"watchOn": "",
"watchTrailer": "",
"openOn": "",
"crew": "",
"ratings": "",
"schedule": "",
"recommendedByUsers": {
"one": "",
"other": ""
},
"recommendedBy": "",
"favoritedBy": "",
"unairedEpisodes": "",
"recommendedByPercent": "",
"relatedTitles": "",
"background": ""
},
"totalResults": {
"one": "",
"other": ""
}
},
"liveTv": {
"title": "Élő TV",
+275 -5
View File
@@ -64,7 +64,20 @@
"loading": "Caricamento...",
"fullscreen": "Schermo intero",
"exitFullscreen": "Esci dalla modalità a schermo intero",
"pressBackAgainToExit": "Premi di nuovo Indietro per uscire"
"pressBackAgainToExit": "Premi di nuovo Indietro per uscire",
"ratingSource": {
"critic": "",
"audience": "",
"imdb": "",
"tmdb": "",
"rottenTomatoes": "",
"simkl": "",
"mal": "",
"anilist": "",
"trakt": "",
"rottenTomatoesCritic": "",
"rottenTomatoesAudience": ""
}
},
"screens": {
"licenses": "Licenze",
@@ -168,6 +181,8 @@
"minutesUnit": "${minutes} minuti",
"rememberTrackSelections": "Ricorda la selezione delle tracce per ogni serie o film",
"rememberTrackSelectionsDescription": "Ricorda le scelte di audio e sottotitoli per ogni titolo",
"followServerTrackSelections": "Usa le tracce selezionate sul server per ogni episodio",
"followServerTrackSelectionsDescription": "Al cambio di episodio applica l'audio e i sottotitoli selezionati sul server invece di mantenere la scelta corrente",
"showChapterMarkersOnTimeline": "Mostra i marcatori dei capitoli sulla barra di avanzamento",
"showChapterMarkersOnTimelineDescription": "Segmenta la barra di avanzamento ai confini dei capitoli",
"clickVideoTogglesPlayback": "Fai clic sul video per alternare riproduzione e pausa",
@@ -381,30 +396,118 @@
},
"fileInfo": {
"title": "Info sul file",
"overview": "",
"video": "Video",
"audio": "Audio",
"subtitles": "Sottotitoli",
"images": "",
"dataStreams": "",
"lyrics": "",
"file": "File",
"advanced": "Avanzate",
"attachments": "",
"delivery": "",
"versionCounter": "",
"fileCounter": "",
"noStreams": "",
"copyPath": "",
"pathCopied": "",
"codec": "Codec",
"codecTag": "",
"resolution": "Risoluzione",
"codedResolution": "",
"bitrate": "Bitrate",
"frameRate": "Frequenza fotogrammi",
"rotation": "",
"comment": "",
"audioDescription": "",
"headerCompression": "",
"sidecarFile": "",
"transportTimestamp": "",
"displayOffset": "",
"previewFailureCode": "",
"previewRetries": "",
"aspectRatio": "Proporzioni",
"pixelAspectRatio": "",
"profile": "Profilo",
"level": "",
"bitDepth": "Profondità in bit",
"pixelFormat": "",
"colorSpace": "Spazio colore",
"colorRange": "Gamma colori",
"colorPrimaries": "Colori primari",
"colorTransfer": "",
"chromaSubsampling": "Sottocampionamento cromatico",
"chromaLocation": "",
"scanType": "",
"interlaced": "",
"anamorphic": "",
"referenceFrames": "",
"dynamicRange": "",
"dolbyVision": "",
"dolbyVisionLevel": "",
"dolbyVisionVersion": "",
"dolbyVisionLayers": "",
"baseLayerCompatibility": "",
"avcBitstream": "",
"nalLengthSize": "",
"scalingMatrix": "",
"streamIdentifier": "",
"streamIndex": "",
"streamId": "",
"language": "",
"languageCode": "",
"streamTitle": "",
"channels": "Canali",
"subtitles": "Sottotitoli",
"sampleRate": "",
"spatialAudio": "",
"textBased": "",
"subtitleFormat": "",
"provider": "",
"matchScore": "",
"externalDelivery": "",
"sidecarPath": "",
"sourceStream": "",
"temporary": "",
"timeBase": "",
"overallBitrate": "Bitrate complessivo",
"path": "Percorso",
"fileName": "",
"size": "Dimensione",
"totalSize": "",
"container": "Contenitore",
"duration": "Durata",
"previewThumbnails": "",
"previewIndex": "",
"packetLength": "",
"filePresent": "",
"fileReadable": "",
"streamPath": "",
"optimizedForStreaming": "Ottimizzato per lo streaming",
"has64bitOffsets": "Offset a 64 bit"
"has64bitOffsets": "Offset a 64 bit",
"protocol": "",
"mediaType": "",
"sourceKind": "",
"optimizedVersion": "",
"optimizationTarget": "",
"deletedAt": "",
"remoteSource": "",
"infiniteStream": "",
"directPlay": "",
"directStream": "",
"transcoding": "",
"etag": "",
"versionId": "",
"fileId": "",
"defaultAudioTrack": "",
"defaultSubtitleTrack": "",
"subtitlesOff": "",
"flagDefault": "",
"flagForced": "",
"flagSelected": "",
"flagExternal": "",
"flagHearingImpaired": "",
"flagDub": "",
"flagOriginal": ""
},
"mediaMenu": {
"markAsWatched": "Segna come visto",
@@ -493,6 +596,9 @@
"playNext": "Riproduci il successivo",
"playButton": "Riproduci",
"pauseButton": "Pausa",
"playbackPaused": "",
"playbackResumed": "",
"loadingVideo": "",
"showPlaybackControls": "Mostra i controlli di riproduzione",
"hidePlaybackControls": "Nascondi i controlli di riproduzione",
"seekBackwardButton": "Riavvolgi di ${seconds} secondi",
@@ -603,6 +709,8 @@
"switchingToCompatiblePlayer": "Passaggio al lettore compatibile...",
"serverLimitTitle": "Riproduzione non riuscita",
"serverLimitBody": "Errore del server (HTTP 500). È probabile che un limite di banda o transcodifica abbia impedito questa sessione. Chiedi al proprietario di modificare il limite.",
"mediaUnreadableTitle": "",
"mediaUnreadableBody": "",
"logsUploaded": "Log caricati",
"logsUploadFailed": "Impossibile caricare i log",
"logId": "ID log"
@@ -877,6 +985,38 @@
"copyLogs": "Copia log",
"uploadLogs": "Carica log"
},
"startup": {
"failedTitle": "",
"failedBody": "",
"failedBodyRepairable": "",
"phaseLabel": "",
"showDetails": "",
"hideDetails": "",
"copyDetails": "",
"detailsCopied": "",
"uploadDetails": "",
"repairStorage": "",
"repairTitle": "",
"repairBodyCommon": "",
"repairBodyOneCredential": "",
"repairBodySignInsKept": "",
"repairBodySignInsLost": "",
"repairBodySessionsUncertain": "",
"repairConfirm": "",
"repairSucceeded": "",
"repairNeedsRestart": "",
"restartRequiredBody": "",
"quitPlezy": "",
"repairFailed": "",
"repairKeptSignIns": "",
"repairLostSignIns": "",
"repairLostSessions": "",
"backupTitle": "",
"backupWarning": "",
"deleteBackup": "",
"backupDeleted": "",
"previousFailureTitle": ""
},
"licenses": {
"relatedPackages": "Pacchetti correlati",
"license": "Licenza",
@@ -931,7 +1071,137 @@
"searchHint": "Cerca su ${source}",
"searchEmpty": "Nessun risultato per \"${query}\"",
"searchPrompt": "Cerca film e serie TV su ${source}.",
"searchFailed": "Ricerca fallita. Controlla la connessione e riprova."
"searchFailed": "Ricerca fallita. Controlla la connessione e riprova.",
"badge": {
"rankPopular": "",
"rankAiring": "",
"rankRated": "",
"rankFavorited": "",
"rankTrending": "",
"rankSeasonal": "",
"watchingNow": "",
"available": "",
"partiallyAvailable": "",
"availableIn4k": "",
"requested": "",
"pendingApproval": "",
"processing": "",
"declined": "",
"requestFailed": "",
"requested4k": "",
"seasonsAvailable": "",
"nextEpisodeIn": "",
"nextAiringIn": "",
"episodesShort": "",
"minutesPerEpisode": "",
"adult": ""
},
"stats": {
"listed": "",
"viewersDay": "",
"viewersWeek": "",
"viewersMonth": "",
"viewersYear": "",
"viewersAllTime": "",
"planning": "",
"favorited": "",
"dropRate": "",
"comments": {
"one": "",
"other": ""
},
"votes": "",
"watching": "",
"completed": "",
"onHold": "",
"dropped": ""
},
"season": {
"winter": "",
"spring": "",
"summer": "",
"fall": "",
"withYear": ""
},
"format": {
"tv": "",
"tvShort": "",
"movie": "",
"special": "",
"ova": "",
"ona": "",
"music": "",
"other": ""
},
"sourceMaterial": {
"original": "",
"manga": "",
"lightNovel": "",
"novel": "",
"visualNovel": "",
"game": "",
"webComic": "",
"musicRelease": "",
"otherMedia": ""
},
"creditRole": {
"director": "",
"writer": "",
"producer": "",
"creator": "",
"composer": ""
},
"relation": {
"prequel": "",
"sequel": "",
"sideStory": "",
"spinOff": "",
"alternativeVersion": "",
"summary": "",
"parentStory": "",
"adaptation": "",
"other": ""
},
"broadcast": "",
"broadcastWithZone": "",
"detail": {
"originalTitle": "",
"alsoKnownAs": "",
"studios": "",
"country": "",
"language": "",
"released": "",
"physicalRelease": "",
"ended": "",
"addedOn": "",
"yourRating": "",
"budget": "",
"revenue": "",
"contentAdvisory": "",
"tags": "",
"revealSpoilerTags": "",
"links": "",
"watchOn": "",
"watchTrailer": "",
"openOn": "",
"crew": "",
"ratings": "",
"schedule": "",
"recommendedByUsers": {
"one": "",
"other": ""
},
"recommendedBy": "",
"favoritedBy": "",
"unairedEpisodes": "",
"recommendedByPercent": "",
"relatedTitles": "",
"background": ""
},
"totalResults": {
"one": "",
"other": ""
}
},
"liveTv": {
"title": "TV in diretta",
+272 -5
View File
@@ -64,7 +64,20 @@
"loading": "読み込み中…",
"fullscreen": "フルスクリーン",
"exitFullscreen": "フルスクリーンを終了",
"pressBackAgainToExit": "もう一度押すと終了します"
"pressBackAgainToExit": "もう一度押すと終了します",
"ratingSource": {
"critic": "",
"audience": "",
"imdb": "",
"tmdb": "",
"rottenTomatoes": "",
"simkl": "",
"mal": "",
"anilist": "",
"trakt": "",
"rottenTomatoesCritic": "",
"rottenTomatoesAudience": ""
}
},
"screens": {
"licenses": "ライセンス",
@@ -168,6 +181,8 @@
"minutesUnit": "${minutes}分",
"rememberTrackSelections": "番組/映画ごとにトラック選択を記憶",
"rememberTrackSelectionsDescription": "タイトルごとに音声と字幕の選択を記憶します",
"followServerTrackSelections": "サーバーのエピソードごとのトラック選択を使用",
"followServerTrackSelectionsDescription": "エピソード切り替え時に、現在の選択を引き継ぐ代わりにサーバーで選択された音声と字幕を適用します",
"showChapterMarkersOnTimeline": "シークバーにチャプターマーカーを表示",
"showChapterMarkersOnTimelineDescription": "チャプターの境界でシークバーを区切る",
"clickVideoTogglesPlayback": "動画クリックで再生/一時停止を切替",
@@ -381,30 +396,118 @@
},
"fileInfo": {
"title": "ファイル情報",
"overview": "",
"video": "映像",
"audio": "音声",
"subtitles": "字幕",
"images": "",
"dataStreams": "",
"lyrics": "",
"file": "ファイル",
"advanced": "詳細",
"attachments": "",
"delivery": "",
"versionCounter": "",
"fileCounter": "",
"noStreams": "",
"copyPath": "",
"pathCopied": "",
"codec": "コーデック",
"codecTag": "",
"resolution": "解像度",
"codedResolution": "",
"bitrate": "ビットレート",
"frameRate": "フレームレート",
"rotation": "",
"comment": "",
"audioDescription": "",
"headerCompression": "",
"sidecarFile": "",
"transportTimestamp": "",
"displayOffset": "",
"previewFailureCode": "",
"previewRetries": "",
"aspectRatio": "アスペクト比",
"pixelAspectRatio": "",
"profile": "プロファイル",
"level": "",
"bitDepth": "ビット深度",
"pixelFormat": "",
"colorSpace": "色空間",
"colorRange": "色範囲",
"colorPrimaries": "色原色",
"colorTransfer": "",
"chromaSubsampling": "クロマサブサンプリング",
"chromaLocation": "",
"scanType": "",
"interlaced": "",
"anamorphic": "",
"referenceFrames": "",
"dynamicRange": "",
"dolbyVision": "",
"dolbyVisionLevel": "",
"dolbyVisionVersion": "",
"dolbyVisionLayers": "",
"baseLayerCompatibility": "",
"avcBitstream": "",
"nalLengthSize": "",
"scalingMatrix": "",
"streamIdentifier": "",
"streamIndex": "",
"streamId": "",
"language": "",
"languageCode": "",
"streamTitle": "",
"channels": "チャンネル",
"subtitles": "字幕",
"sampleRate": "",
"spatialAudio": "",
"textBased": "",
"subtitleFormat": "",
"provider": "",
"matchScore": "",
"externalDelivery": "",
"sidecarPath": "",
"sourceStream": "",
"temporary": "",
"timeBase": "",
"overallBitrate": "全体ビットレート",
"path": "パス",
"fileName": "",
"size": "サイズ",
"totalSize": "",
"container": "コンテナ",
"duration": "長さ",
"previewThumbnails": "",
"previewIndex": "",
"packetLength": "",
"filePresent": "",
"fileReadable": "",
"streamPath": "",
"optimizedForStreaming": "ストリーミング最適化",
"has64bitOffsets": "64ビットオフセット"
"has64bitOffsets": "64ビットオフセット",
"protocol": "",
"mediaType": "",
"sourceKind": "",
"optimizedVersion": "",
"optimizationTarget": "",
"deletedAt": "",
"remoteSource": "",
"infiniteStream": "",
"directPlay": "",
"directStream": "",
"transcoding": "",
"etag": "",
"versionId": "",
"fileId": "",
"defaultAudioTrack": "",
"defaultSubtitleTrack": "",
"subtitlesOff": "",
"flagDefault": "",
"flagForced": "",
"flagSelected": "",
"flagExternal": "",
"flagHearingImpaired": "",
"flagDub": "",
"flagOriginal": ""
},
"mediaMenu": {
"markAsWatched": "視聴済みにする",
@@ -493,6 +596,9 @@
"playNext": "次を再生",
"playButton": "再生",
"pauseButton": "一時停止",
"playbackPaused": "",
"playbackResumed": "",
"loadingVideo": "",
"showPlaybackControls": "再生コントロールを表示",
"hidePlaybackControls": "再生コントロールを非表示",
"seekBackwardButton": "${seconds}秒戻る",
@@ -602,6 +708,8 @@
"switchingToCompatiblePlayer": "互換性のあるプレーヤーに切り替え中…",
"serverLimitTitle": "再生に失敗しました",
"serverLimitBody": "サーバーエラー(HTTP 500)。帯域幅/トランスコード制限により拒否された可能性があります。所有者に調整を依頼してください。",
"mediaUnreadableTitle": "",
"mediaUnreadableBody": "",
"logsUploaded": "ログをアップロードしました",
"logsUploadFailed": "ログのアップロードに失敗しました",
"logId": "ログID"
@@ -876,6 +984,38 @@
"copyLogs": "ログをコピー",
"uploadLogs": "ログをアップロード"
},
"startup": {
"failedTitle": "",
"failedBody": "",
"failedBodyRepairable": "",
"phaseLabel": "",
"showDetails": "",
"hideDetails": "",
"copyDetails": "",
"detailsCopied": "",
"uploadDetails": "",
"repairStorage": "",
"repairTitle": "",
"repairBodyCommon": "",
"repairBodyOneCredential": "",
"repairBodySignInsKept": "",
"repairBodySignInsLost": "",
"repairBodySessionsUncertain": "",
"repairConfirm": "",
"repairSucceeded": "",
"repairNeedsRestart": "",
"restartRequiredBody": "",
"quitPlezy": "",
"repairFailed": "",
"repairKeptSignIns": "",
"repairLostSignIns": "",
"repairLostSessions": "",
"backupTitle": "",
"backupWarning": "",
"deleteBackup": "",
"backupDeleted": "",
"previousFailureTitle": ""
},
"licenses": {
"relatedPackages": "関連パッケージ",
"license": "ライセンス",
@@ -929,7 +1069,134 @@
"searchHint": "${source}を検索",
"searchEmpty": "「${query}」の結果が見つかりません",
"searchPrompt": "${source}で映画やテレビ番組を検索します。",
"searchFailed": "検索に失敗しました。接続を確認してもう一度お試しください。"
"searchFailed": "検索に失敗しました。接続を確認してもう一度お試しください。",
"badge": {
"rankPopular": "",
"rankAiring": "",
"rankRated": "",
"rankFavorited": "",
"rankTrending": "",
"rankSeasonal": "",
"watchingNow": "",
"available": "",
"partiallyAvailable": "",
"availableIn4k": "",
"requested": "",
"pendingApproval": "",
"processing": "",
"declined": "",
"requestFailed": "",
"requested4k": "",
"seasonsAvailable": "",
"nextEpisodeIn": "",
"nextAiringIn": "",
"episodesShort": "",
"minutesPerEpisode": "",
"adult": ""
},
"stats": {
"listed": "",
"viewersDay": "",
"viewersWeek": "",
"viewersMonth": "",
"viewersYear": "",
"viewersAllTime": "",
"planning": "",
"favorited": "",
"dropRate": "",
"comments": {
"other": ""
},
"votes": "",
"watching": "",
"completed": "",
"onHold": "",
"dropped": ""
},
"season": {
"winter": "",
"spring": "",
"summer": "",
"fall": "",
"withYear": ""
},
"format": {
"tv": "",
"tvShort": "",
"movie": "",
"special": "",
"ova": "",
"ona": "",
"music": "",
"other": ""
},
"sourceMaterial": {
"original": "",
"manga": "",
"lightNovel": "",
"novel": "",
"visualNovel": "",
"game": "",
"webComic": "",
"musicRelease": "",
"otherMedia": ""
},
"creditRole": {
"director": "",
"writer": "",
"producer": "",
"creator": "",
"composer": ""
},
"relation": {
"prequel": "",
"sequel": "",
"sideStory": "",
"spinOff": "",
"alternativeVersion": "",
"summary": "",
"parentStory": "",
"adaptation": "",
"other": ""
},
"broadcast": "",
"broadcastWithZone": "",
"detail": {
"originalTitle": "",
"alsoKnownAs": "",
"studios": "",
"country": "",
"language": "",
"released": "",
"physicalRelease": "",
"ended": "",
"addedOn": "",
"yourRating": "",
"budget": "",
"revenue": "",
"contentAdvisory": "",
"tags": "",
"revealSpoilerTags": "",
"links": "",
"watchOn": "",
"watchTrailer": "",
"openOn": "",
"crew": "",
"ratings": "",
"schedule": "",
"recommendedByUsers": {
"other": ""
},
"recommendedBy": "",
"favoritedBy": "",
"unairedEpisodes": "",
"recommendedByPercent": "",
"relatedTitles": "",
"background": ""
},
"totalResults": {
"other": ""
}
},
"liveTv": {
"title": "ライブTV",
+275 -5
View File
@@ -64,7 +64,20 @@
"loading": "Жүктелуде...",
"fullscreen": "Толық экран",
"exitFullscreen": "Толық экраннан шығу",
"pressBackAgainToExit": "Шығу үшін артқа түймесін қайтадан басыңыз"
"pressBackAgainToExit": "Шығу үшін артқа түймесін қайтадан басыңыз",
"ratingSource": {
"critic": "",
"audience": "",
"imdb": "",
"tmdb": "",
"rottenTomatoes": "",
"simkl": "",
"mal": "",
"anilist": "",
"trakt": "",
"rottenTomatoesCritic": "",
"rottenTomatoesAudience": ""
}
},
"screens": {
"licenses": "Лицензиялар",
@@ -168,6 +181,8 @@
"minutesUnit": "${minutes} минут",
"rememberTrackSelections": "Әр фильм/сериал үшін дыбыс/субтитр таңдауын есте сақтау",
"rememberTrackSelectionsDescription": "Әр медиа үшін дыбыс пен субтитр таңдауын сақтау",
"followServerTrackSelections": "Әр бөлім үшін сервердегі жолдар таңдауын қолдану",
"followServerTrackSelectionsDescription": "Бөлім ауысқанда ағымдағы таңдауды көшірудің орнына серверде таңдалған дыбыс пен субтитрлерді қолдану",
"showChapterMarkersOnTimeline": "Уақыт шкаласында бөлім белгілерін көрсету",
"showChapterMarkersOnTimelineDescription": "Уақыт шкаласын бөлімдерге бөлу",
"clickVideoTogglesPlayback": "Ойнату/кідірту үшін видеоны басу",
@@ -381,30 +396,118 @@
},
"fileInfo": {
"title": "Файл туралы ақпарат",
"overview": "",
"video": "Видео",
"audio": "Аудио",
"subtitles": "Субтитрлер",
"images": "",
"dataStreams": "",
"lyrics": "",
"file": "Файл",
"advanced": "Кеңейтілген",
"attachments": "",
"delivery": "",
"versionCounter": "",
"fileCounter": "",
"noStreams": "",
"copyPath": "",
"pathCopied": "",
"codec": "Кодек",
"codecTag": "",
"resolution": "Ажыратымдылық",
"codedResolution": "",
"bitrate": "Биттік жылдамдық (Bitrate)",
"frameRate": "Кадр жиілігі",
"rotation": "",
"comment": "",
"audioDescription": "",
"headerCompression": "",
"sidecarFile": "",
"transportTimestamp": "",
"displayOffset": "",
"previewFailureCode": "",
"previewRetries": "",
"aspectRatio": "Тараптар қатынасы",
"pixelAspectRatio": "",
"profile": "Профиль",
"level": "",
"bitDepth": "Бит тереңдігі",
"pixelFormat": "",
"colorSpace": "Түс кеңістігі",
"colorRange": "Түс диапазоны",
"colorPrimaries": "Негізгі түстер",
"colorTransfer": "",
"chromaSubsampling": "Түстік субдискретизация",
"chromaLocation": "",
"scanType": "",
"interlaced": "",
"anamorphic": "",
"referenceFrames": "",
"dynamicRange": "",
"dolbyVision": "",
"dolbyVisionLevel": "",
"dolbyVisionVersion": "",
"dolbyVisionLayers": "",
"baseLayerCompatibility": "",
"avcBitstream": "",
"nalLengthSize": "",
"scalingMatrix": "",
"streamIdentifier": "",
"streamIndex": "",
"streamId": "",
"language": "",
"languageCode": "",
"streamTitle": "",
"channels": "Арналар",
"subtitles": "Субтитрлер",
"sampleRate": "",
"spatialAudio": "",
"textBased": "",
"subtitleFormat": "",
"provider": "",
"matchScore": "",
"externalDelivery": "",
"sidecarPath": "",
"sourceStream": "",
"temporary": "",
"timeBase": "",
"overallBitrate": "Жалпы биттік жылдамдық",
"path": "Жол",
"fileName": "",
"size": "Көлемі",
"totalSize": "",
"container": "Контейнер",
"duration": "Уақыты",
"previewThumbnails": "",
"previewIndex": "",
"packetLength": "",
"filePresent": "",
"fileReadable": "",
"streamPath": "",
"optimizedForStreaming": "Ағынды беру үшін оңтайландырылған",
"has64bitOffsets": "64-биттік ығысулар"
"has64bitOffsets": "64-биттік ығысулар",
"protocol": "",
"mediaType": "",
"sourceKind": "",
"optimizedVersion": "",
"optimizationTarget": "",
"deletedAt": "",
"remoteSource": "",
"infiniteStream": "",
"directPlay": "",
"directStream": "",
"transcoding": "",
"etag": "",
"versionId": "",
"fileId": "",
"defaultAudioTrack": "",
"defaultSubtitleTrack": "",
"subtitlesOff": "",
"flagDefault": "",
"flagForced": "",
"flagSelected": "",
"flagExternal": "",
"flagHearingImpaired": "",
"flagDub": "",
"flagOriginal": ""
},
"mediaMenu": {
"markAsWatched": "Көрілді деп белгілеу",
@@ -493,6 +596,9 @@
"playNext": "Келесіні ойнату",
"playButton": "Ойнату",
"pauseButton": "Кідірту",
"playbackPaused": "",
"playbackResumed": "",
"loadingVideo": "",
"showPlaybackControls": "Басқару элементтерін көрсету",
"hidePlaybackControls": "Басқару элементтерін жасыру",
"seekBackwardButton": "${seconds} секунд артқа айналдыру",
@@ -603,6 +709,8 @@
"switchingToCompatiblePlayer": "Үйлесімді ойнатқышқа ауысуда...",
"serverLimitTitle": "Ойнату қатесі",
"serverLimitBody": "Сервер қатесі (HTTP 500). Шектеу бұл сеансты қабылдамады.",
"mediaUnreadableTitle": "",
"mediaUnreadableBody": "",
"logsUploaded": "Журналдар жүктелді",
"logsUploadFailed": "Журналдарды жүктеу мүмкін болмады",
"logId": "Журнал ID-сі"
@@ -877,6 +985,38 @@
"copyLogs": "Журналдарды көшіру",
"uploadLogs": "Журналдарды жүктеу"
},
"startup": {
"failedTitle": "",
"failedBody": "",
"failedBodyRepairable": "",
"phaseLabel": "",
"showDetails": "",
"hideDetails": "",
"copyDetails": "",
"detailsCopied": "",
"uploadDetails": "",
"repairStorage": "",
"repairTitle": "",
"repairBodyCommon": "",
"repairBodyOneCredential": "",
"repairBodySignInsKept": "",
"repairBodySignInsLost": "",
"repairBodySessionsUncertain": "",
"repairConfirm": "",
"repairSucceeded": "",
"repairNeedsRestart": "",
"restartRequiredBody": "",
"quitPlezy": "",
"repairFailed": "",
"repairKeptSignIns": "",
"repairLostSignIns": "",
"repairLostSessions": "",
"backupTitle": "",
"backupWarning": "",
"deleteBackup": "",
"backupDeleted": "",
"previousFailureTitle": ""
},
"licenses": {
"relatedPackages": "Байланысты пакеттер",
"license": "Лицензия",
@@ -931,7 +1071,137 @@
"searchHint": "${source} ішінен іздеу",
"searchEmpty": "\"${query}\" бойынша нәтиже табылмады",
"searchPrompt": "${source} арқылы фильмдер мен сериалдарды іздеңіз.",
"searchFailed": "Іздеу қатесі. Қосылымды тексеріңіз."
"searchFailed": "Іздеу қатесі. Қосылымды тексеріңіз.",
"badge": {
"rankPopular": "",
"rankAiring": "",
"rankRated": "",
"rankFavorited": "",
"rankTrending": "",
"rankSeasonal": "",
"watchingNow": "",
"available": "",
"partiallyAvailable": "",
"availableIn4k": "",
"requested": "",
"pendingApproval": "",
"processing": "",
"declined": "",
"requestFailed": "",
"requested4k": "",
"seasonsAvailable": "",
"nextEpisodeIn": "",
"nextAiringIn": "",
"episodesShort": "",
"minutesPerEpisode": "",
"adult": ""
},
"stats": {
"listed": "",
"viewersDay": "",
"viewersWeek": "",
"viewersMonth": "",
"viewersYear": "",
"viewersAllTime": "",
"planning": "",
"favorited": "",
"dropRate": "",
"comments": {
"one": "",
"other": ""
},
"votes": "",
"watching": "",
"completed": "",
"onHold": "",
"dropped": ""
},
"season": {
"winter": "",
"spring": "",
"summer": "",
"fall": "",
"withYear": ""
},
"format": {
"tv": "",
"tvShort": "",
"movie": "",
"special": "",
"ova": "",
"ona": "",
"music": "",
"other": ""
},
"sourceMaterial": {
"original": "",
"manga": "",
"lightNovel": "",
"novel": "",
"visualNovel": "",
"game": "",
"webComic": "",
"musicRelease": "",
"otherMedia": ""
},
"creditRole": {
"director": "",
"writer": "",
"producer": "",
"creator": "",
"composer": ""
},
"relation": {
"prequel": "",
"sequel": "",
"sideStory": "",
"spinOff": "",
"alternativeVersion": "",
"summary": "",
"parentStory": "",
"adaptation": "",
"other": ""
},
"broadcast": "",
"broadcastWithZone": "",
"detail": {
"originalTitle": "",
"alsoKnownAs": "",
"studios": "",
"country": "",
"language": "",
"released": "",
"physicalRelease": "",
"ended": "",
"addedOn": "",
"yourRating": "",
"budget": "",
"revenue": "",
"contentAdvisory": "",
"tags": "",
"revealSpoilerTags": "",
"links": "",
"watchOn": "",
"watchTrailer": "",
"openOn": "",
"crew": "",
"ratings": "",
"schedule": "",
"recommendedByUsers": {
"one": "",
"other": ""
},
"recommendedBy": "",
"favoritedBy": "",
"unairedEpisodes": "",
"recommendedByPercent": "",
"relatedTitles": "",
"background": ""
},
"totalResults": {
"one": "",
"other": ""
}
},
"liveTv": {
"title": "Тікелей TV",
+272 -5
View File
@@ -64,7 +64,20 @@
"loading": "로딩 중...",
"fullscreen": "전체 화면",
"exitFullscreen": "전체 화면 종료",
"pressBackAgainToExit": "한 번 더 누르면 종료됩니다"
"pressBackAgainToExit": "한 번 더 누르면 종료됩니다",
"ratingSource": {
"critic": "",
"audience": "",
"imdb": "",
"tmdb": "",
"rottenTomatoes": "",
"simkl": "",
"mal": "",
"anilist": "",
"trakt": "",
"rottenTomatoesCritic": "",
"rottenTomatoesAudience": ""
}
},
"screens": {
"licenses": "라이선스",
@@ -168,6 +181,8 @@
"minutesUnit": "${minutes}분",
"rememberTrackSelections": "시리즈/영화별 트랙 선택 기억",
"rememberTrackSelectionsDescription": "작품별 오디오 및 자막 선택 기억",
"followServerTrackSelections": "서버의 에피소드별 트랙 선택 사용",
"followServerTrackSelectionsDescription": "에피소드 전환 시 현재 선택을 유지하는 대신 서버에서 선택된 오디오와 자막을 적용합니다",
"showChapterMarkersOnTimeline": "탐색 막대에 챕터 마커 표시",
"showChapterMarkersOnTimelineDescription": "챕터 경계에서 탐색 막대 구분",
"clickVideoTogglesPlayback": "동영상 클릭으로 재생/일시정지 전환",
@@ -381,30 +396,118 @@
},
"fileInfo": {
"title": "파일 정보",
"overview": "",
"video": "비디오",
"audio": "오디오",
"subtitles": "자막",
"images": "",
"dataStreams": "",
"lyrics": "",
"file": "파일",
"advanced": "고급",
"attachments": "",
"delivery": "",
"versionCounter": "",
"fileCounter": "",
"noStreams": "",
"copyPath": "",
"pathCopied": "",
"codec": "코덱",
"codecTag": "",
"resolution": "해상도",
"codedResolution": "",
"bitrate": "비트레이트",
"frameRate": "프레임 속도",
"rotation": "",
"comment": "",
"audioDescription": "",
"headerCompression": "",
"sidecarFile": "",
"transportTimestamp": "",
"displayOffset": "",
"previewFailureCode": "",
"previewRetries": "",
"aspectRatio": "종횡비",
"pixelAspectRatio": "",
"profile": "프로파일",
"level": "",
"bitDepth": "비트 심도",
"pixelFormat": "",
"colorSpace": "색 공간",
"colorRange": "색 범위",
"colorPrimaries": "색 원색",
"colorTransfer": "",
"chromaSubsampling": "색차 서브샘플링",
"chromaLocation": "",
"scanType": "",
"interlaced": "",
"anamorphic": "",
"referenceFrames": "",
"dynamicRange": "",
"dolbyVision": "",
"dolbyVisionLevel": "",
"dolbyVisionVersion": "",
"dolbyVisionLayers": "",
"baseLayerCompatibility": "",
"avcBitstream": "",
"nalLengthSize": "",
"scalingMatrix": "",
"streamIdentifier": "",
"streamIndex": "",
"streamId": "",
"language": "",
"languageCode": "",
"streamTitle": "",
"channels": "채널",
"subtitles": "자막",
"sampleRate": "",
"spatialAudio": "",
"textBased": "",
"subtitleFormat": "",
"provider": "",
"matchScore": "",
"externalDelivery": "",
"sidecarPath": "",
"sourceStream": "",
"temporary": "",
"timeBase": "",
"overallBitrate": "전체 비트레이트",
"path": "경로",
"fileName": "",
"size": "크기",
"totalSize": "",
"container": "컨테이너",
"duration": "재생 시간",
"previewThumbnails": "",
"previewIndex": "",
"packetLength": "",
"filePresent": "",
"fileReadable": "",
"streamPath": "",
"optimizedForStreaming": "스트리밍 최적화",
"has64bitOffsets": "64비트 오프셋"
"has64bitOffsets": "64비트 오프셋",
"protocol": "",
"mediaType": "",
"sourceKind": "",
"optimizedVersion": "",
"optimizationTarget": "",
"deletedAt": "",
"remoteSource": "",
"infiniteStream": "",
"directPlay": "",
"directStream": "",
"transcoding": "",
"etag": "",
"versionId": "",
"fileId": "",
"defaultAudioTrack": "",
"defaultSubtitleTrack": "",
"subtitlesOff": "",
"flagDefault": "",
"flagForced": "",
"flagSelected": "",
"flagExternal": "",
"flagHearingImpaired": "",
"flagDub": "",
"flagOriginal": ""
},
"mediaMenu": {
"markAsWatched": "시청 완료로 표시",
@@ -493,6 +596,9 @@
"playNext": "다음 재생",
"playButton": "재생",
"pauseButton": "일시정지",
"playbackPaused": "",
"playbackResumed": "",
"loadingVideo": "",
"showPlaybackControls": "재생 컨트롤 표시",
"hidePlaybackControls": "재생 컨트롤 숨기기",
"seekBackwardButton": "${seconds}초 뒤로 이동",
@@ -602,6 +708,8 @@
"switchingToCompatiblePlayer": "호환되는 플레이어로 전환 중...",
"serverLimitTitle": "재생 실패",
"serverLimitBody": "서버 오류(HTTP 500). 대역폭/트랜스코딩 제한으로 세션이 거부된 것 같습니다. 소유자에게 조정을 요청하세요.",
"mediaUnreadableTitle": "",
"mediaUnreadableBody": "",
"logsUploaded": "로그 업로드 완료",
"logsUploadFailed": "로그 업로드 실패",
"logId": "로그 ID"
@@ -876,6 +984,38 @@
"copyLogs": "로그 복사",
"uploadLogs": "로그 업로드"
},
"startup": {
"failedTitle": "",
"failedBody": "",
"failedBodyRepairable": "",
"phaseLabel": "",
"showDetails": "",
"hideDetails": "",
"copyDetails": "",
"detailsCopied": "",
"uploadDetails": "",
"repairStorage": "",
"repairTitle": "",
"repairBodyCommon": "",
"repairBodyOneCredential": "",
"repairBodySignInsKept": "",
"repairBodySignInsLost": "",
"repairBodySessionsUncertain": "",
"repairConfirm": "",
"repairSucceeded": "",
"repairNeedsRestart": "",
"restartRequiredBody": "",
"quitPlezy": "",
"repairFailed": "",
"repairKeptSignIns": "",
"repairLostSignIns": "",
"repairLostSessions": "",
"backupTitle": "",
"backupWarning": "",
"deleteBackup": "",
"backupDeleted": "",
"previousFailureTitle": ""
},
"licenses": {
"relatedPackages": "관련 소프트웨어 패키지",
"license": "라이선스",
@@ -929,7 +1069,134 @@
"searchHint": "${source}에서 검색",
"searchEmpty": "「${query}」에 대한 결과가 없습니다",
"searchPrompt": "${source}에서 영화와 TV 프로그램을 검색하세요.",
"searchFailed": "검색에 실패했습니다. 연결을 확인하고 다시 시도하세요."
"searchFailed": "검색에 실패했습니다. 연결을 확인하고 다시 시도하세요.",
"badge": {
"rankPopular": "",
"rankAiring": "",
"rankRated": "",
"rankFavorited": "",
"rankTrending": "",
"rankSeasonal": "",
"watchingNow": "",
"available": "",
"partiallyAvailable": "",
"availableIn4k": "",
"requested": "",
"pendingApproval": "",
"processing": "",
"declined": "",
"requestFailed": "",
"requested4k": "",
"seasonsAvailable": "",
"nextEpisodeIn": "",
"nextAiringIn": "",
"episodesShort": "",
"minutesPerEpisode": "",
"adult": ""
},
"stats": {
"listed": "",
"viewersDay": "",
"viewersWeek": "",
"viewersMonth": "",
"viewersYear": "",
"viewersAllTime": "",
"planning": "",
"favorited": "",
"dropRate": "",
"comments": {
"other": ""
},
"votes": "",
"watching": "",
"completed": "",
"onHold": "",
"dropped": ""
},
"season": {
"winter": "",
"spring": "",
"summer": "",
"fall": "",
"withYear": ""
},
"format": {
"tv": "",
"tvShort": "",
"movie": "",
"special": "",
"ova": "",
"ona": "",
"music": "",
"other": ""
},
"sourceMaterial": {
"original": "",
"manga": "",
"lightNovel": "",
"novel": "",
"visualNovel": "",
"game": "",
"webComic": "",
"musicRelease": "",
"otherMedia": ""
},
"creditRole": {
"director": "",
"writer": "",
"producer": "",
"creator": "",
"composer": ""
},
"relation": {
"prequel": "",
"sequel": "",
"sideStory": "",
"spinOff": "",
"alternativeVersion": "",
"summary": "",
"parentStory": "",
"adaptation": "",
"other": ""
},
"broadcast": "",
"broadcastWithZone": "",
"detail": {
"originalTitle": "",
"alsoKnownAs": "",
"studios": "",
"country": "",
"language": "",
"released": "",
"physicalRelease": "",
"ended": "",
"addedOn": "",
"yourRating": "",
"budget": "",
"revenue": "",
"contentAdvisory": "",
"tags": "",
"revealSpoilerTags": "",
"links": "",
"watchOn": "",
"watchTrailer": "",
"openOn": "",
"crew": "",
"ratings": "",
"schedule": "",
"recommendedByUsers": {
"other": ""
},
"recommendedBy": "",
"favoritedBy": "",
"unairedEpisodes": "",
"recommendedByPercent": "",
"relatedTitles": "",
"background": ""
},
"totalResults": {
"other": ""
}
},
"liveTv": {
"title": "실시간 TV",
+275 -5
View File
@@ -64,7 +64,20 @@
"loading": "Laster...",
"fullscreen": "Fullskjerm",
"exitFullscreen": "Avslutt fullskjerm",
"pressBackAgainToExit": "Trykk på Tilbake en gang til for å avslutte"
"pressBackAgainToExit": "Trykk på Tilbake en gang til for å avslutte",
"ratingSource": {
"critic": "",
"audience": "",
"imdb": "",
"tmdb": "",
"rottenTomatoes": "",
"simkl": "",
"mal": "",
"anilist": "",
"trakt": "",
"rottenTomatoesCritic": "",
"rottenTomatoesAudience": ""
}
},
"screens": {
"licenses": "Lisenser",
@@ -168,6 +181,8 @@
"minutesUnit": "${minutes} minutter",
"rememberTrackSelections": "Husk sporvalg per serie/film",
"rememberTrackSelectionsDescription": "Husk lyd- og undertekstvalg per tittel",
"followServerTrackSelections": "Bruk serverens sporvalg per episode",
"followServerTrackSelectionsDescription": "Ved episodebytte brukes lyden og undertekstene som er valgt på serveren, i stedet for å videreføre gjeldende valg",
"showChapterMarkersOnTimeline": "Vis kapittelmarkører på tidslinjen",
"showChapterMarkersOnTimelineDescription": "Del tidslinjen ved kapittelgrenser",
"clickVideoTogglesPlayback": "Klikk på video for å veksle avspilling",
@@ -381,30 +396,118 @@
},
"fileInfo": {
"title": "Filinformasjon",
"overview": "",
"video": "Video",
"audio": "Lyd",
"subtitles": "Undertekster",
"images": "",
"dataStreams": "",
"lyrics": "",
"file": "Fil",
"advanced": "Avansert",
"attachments": "",
"delivery": "",
"versionCounter": "",
"fileCounter": "",
"noStreams": "",
"copyPath": "",
"pathCopied": "",
"codec": "Kodek",
"codecTag": "",
"resolution": "Oppløsning",
"codedResolution": "",
"bitrate": "Bitrate",
"frameRate": "Bildefrekvens",
"rotation": "",
"comment": "",
"audioDescription": "",
"headerCompression": "",
"sidecarFile": "",
"transportTimestamp": "",
"displayOffset": "",
"previewFailureCode": "",
"previewRetries": "",
"aspectRatio": "Sideforhold",
"pixelAspectRatio": "",
"profile": "Profil",
"level": "",
"bitDepth": "Bitdybde",
"pixelFormat": "",
"colorSpace": "Fargerom",
"colorRange": "Fargeområde",
"colorPrimaries": "Fargeprimærer",
"colorTransfer": "",
"chromaSubsampling": "Krominansnedsampling",
"chromaLocation": "",
"scanType": "",
"interlaced": "",
"anamorphic": "",
"referenceFrames": "",
"dynamicRange": "",
"dolbyVision": "",
"dolbyVisionLevel": "",
"dolbyVisionVersion": "",
"dolbyVisionLayers": "",
"baseLayerCompatibility": "",
"avcBitstream": "",
"nalLengthSize": "",
"scalingMatrix": "",
"streamIdentifier": "",
"streamIndex": "",
"streamId": "",
"language": "",
"languageCode": "",
"streamTitle": "",
"channels": "Kanaler",
"subtitles": "Undertekster",
"sampleRate": "",
"spatialAudio": "",
"textBased": "",
"subtitleFormat": "",
"provider": "",
"matchScore": "",
"externalDelivery": "",
"sidecarPath": "",
"sourceStream": "",
"temporary": "",
"timeBase": "",
"overallBitrate": "Total bitrate",
"path": "Sti",
"fileName": "",
"size": "Størrelse",
"totalSize": "",
"container": "Format",
"duration": "Varighet",
"previewThumbnails": "",
"previewIndex": "",
"packetLength": "",
"filePresent": "",
"fileReadable": "",
"streamPath": "",
"optimizedForStreaming": "Optimalisert for strømming",
"has64bitOffsets": "64-biters forskyvninger"
"has64bitOffsets": "64-biters forskyvninger",
"protocol": "",
"mediaType": "",
"sourceKind": "",
"optimizedVersion": "",
"optimizationTarget": "",
"deletedAt": "",
"remoteSource": "",
"infiniteStream": "",
"directPlay": "",
"directStream": "",
"transcoding": "",
"etag": "",
"versionId": "",
"fileId": "",
"defaultAudioTrack": "",
"defaultSubtitleTrack": "",
"subtitlesOff": "",
"flagDefault": "",
"flagForced": "",
"flagSelected": "",
"flagExternal": "",
"flagHearingImpaired": "",
"flagDub": "",
"flagOriginal": ""
},
"mediaMenu": {
"markAsWatched": "Merk som sett",
@@ -493,6 +596,9 @@
"playNext": "Spill neste",
"playButton": "Spill av",
"pauseButton": "Pause",
"playbackPaused": "",
"playbackResumed": "",
"loadingVideo": "",
"showPlaybackControls": "Vis avspillingskontroller",
"hidePlaybackControls": "Skjul avspillingskontroller",
"seekBackwardButton": "Spol tilbake ${seconds} sekunder",
@@ -603,6 +709,8 @@
"switchingToCompatiblePlayer": "Bytter til kompatibel spiller...",
"serverLimitTitle": "Avspilling mislyktes",
"serverLimitBody": "Serverfeil (HTTP 500). En båndbredde-/transkodingsgrense avviste trolig økten. Be eieren justere den.",
"mediaUnreadableTitle": "",
"mediaUnreadableBody": "",
"logsUploaded": "Logger lastet opp",
"logsUploadFailed": "Kunne ikke laste opp logger",
"logId": "Logg-ID"
@@ -877,6 +985,38 @@
"copyLogs": "Kopier logger",
"uploadLogs": "Last opp logger"
},
"startup": {
"failedTitle": "",
"failedBody": "",
"failedBodyRepairable": "",
"phaseLabel": "",
"showDetails": "",
"hideDetails": "",
"copyDetails": "",
"detailsCopied": "",
"uploadDetails": "",
"repairStorage": "",
"repairTitle": "",
"repairBodyCommon": "",
"repairBodyOneCredential": "",
"repairBodySignInsKept": "",
"repairBodySignInsLost": "",
"repairBodySessionsUncertain": "",
"repairConfirm": "",
"repairSucceeded": "",
"repairNeedsRestart": "",
"restartRequiredBody": "",
"quitPlezy": "",
"repairFailed": "",
"repairKeptSignIns": "",
"repairLostSignIns": "",
"repairLostSessions": "",
"backupTitle": "",
"backupWarning": "",
"deleteBackup": "",
"backupDeleted": "",
"previousFailureTitle": ""
},
"licenses": {
"relatedPackages": "Relaterte pakker",
"license": "Lisens",
@@ -931,7 +1071,137 @@
"searchHint": "Søk i ${source}",
"searchEmpty": "Ingen treff for \"${query}\"",
"searchPrompt": "Søk etter filmer og serier på ${source}.",
"searchFailed": "Søk mislyktes. Sjekk tilkoblingen og prøv igjen."
"searchFailed": "Søk mislyktes. Sjekk tilkoblingen og prøv igjen.",
"badge": {
"rankPopular": "",
"rankAiring": "",
"rankRated": "",
"rankFavorited": "",
"rankTrending": "",
"rankSeasonal": "",
"watchingNow": "",
"available": "",
"partiallyAvailable": "",
"availableIn4k": "",
"requested": "",
"pendingApproval": "",
"processing": "",
"declined": "",
"requestFailed": "",
"requested4k": "",
"seasonsAvailable": "",
"nextEpisodeIn": "",
"nextAiringIn": "",
"episodesShort": "",
"minutesPerEpisode": "",
"adult": ""
},
"stats": {
"listed": "",
"viewersDay": "",
"viewersWeek": "",
"viewersMonth": "",
"viewersYear": "",
"viewersAllTime": "",
"planning": "",
"favorited": "",
"dropRate": "",
"comments": {
"one": "",
"other": ""
},
"votes": "",
"watching": "",
"completed": "",
"onHold": "",
"dropped": ""
},
"season": {
"winter": "",
"spring": "",
"summer": "",
"fall": "",
"withYear": ""
},
"format": {
"tv": "",
"tvShort": "",
"movie": "",
"special": "",
"ova": "",
"ona": "",
"music": "",
"other": ""
},
"sourceMaterial": {
"original": "",
"manga": "",
"lightNovel": "",
"novel": "",
"visualNovel": "",
"game": "",
"webComic": "",
"musicRelease": "",
"otherMedia": ""
},
"creditRole": {
"director": "",
"writer": "",
"producer": "",
"creator": "",
"composer": ""
},
"relation": {
"prequel": "",
"sequel": "",
"sideStory": "",
"spinOff": "",
"alternativeVersion": "",
"summary": "",
"parentStory": "",
"adaptation": "",
"other": ""
},
"broadcast": "",
"broadcastWithZone": "",
"detail": {
"originalTitle": "",
"alsoKnownAs": "",
"studios": "",
"country": "",
"language": "",
"released": "",
"physicalRelease": "",
"ended": "",
"addedOn": "",
"yourRating": "",
"budget": "",
"revenue": "",
"contentAdvisory": "",
"tags": "",
"revealSpoilerTags": "",
"links": "",
"watchOn": "",
"watchTrailer": "",
"openOn": "",
"crew": "",
"ratings": "",
"schedule": "",
"recommendedByUsers": {
"one": "",
"other": ""
},
"recommendedBy": "",
"favoritedBy": "",
"unairedEpisodes": "",
"recommendedByPercent": "",
"relatedTitles": "",
"background": ""
},
"totalResults": {
"one": "",
"other": ""
}
},
"liveTv": {
"title": "Direkte-TV",
+275 -5
View File
@@ -64,7 +64,20 @@
"loading": "Laden...",
"fullscreen": "Volledig scherm",
"exitFullscreen": "Volledig scherm verlaten",
"pressBackAgainToExit": "Druk nogmaals op terug om af te sluiten"
"pressBackAgainToExit": "Druk nogmaals op terug om af te sluiten",
"ratingSource": {
"critic": "",
"audience": "",
"imdb": "",
"tmdb": "",
"rottenTomatoes": "",
"simkl": "",
"mal": "",
"anilist": "",
"trakt": "",
"rottenTomatoesCritic": "",
"rottenTomatoesAudience": ""
}
},
"screens": {
"licenses": "Licenties",
@@ -168,6 +181,8 @@
"minutesUnit": "${minutes} minuten",
"rememberTrackSelections": "Trackselecties per serie of film onthouden",
"rememberTrackSelectionsDescription": "Onthoud audio- en ondertitelkeuzes per titel",
"followServerTrackSelections": "Trackselecties van de server per aflevering gebruiken",
"followServerTrackSelectionsDescription": "Pas bij het wisselen van aflevering de op de server geselecteerde audio en ondertitels toe in plaats van de huidige keuze over te nemen",
"showChapterMarkersOnTimeline": "Hoofdstukmarkeringen op tijdlijn tonen",
"showChapterMarkersOnTimelineDescription": "Verdeel de tijdlijn bij hoofdstukgrenzen",
"clickVideoTogglesPlayback": "Klik op de video om afspelen of pauzeren te wisselen",
@@ -381,30 +396,118 @@
},
"fileInfo": {
"title": "Bestandsinformatie",
"overview": "",
"video": "Video",
"audio": "Audio",
"subtitles": "Ondertitels",
"images": "",
"dataStreams": "",
"lyrics": "",
"file": "Bestand",
"advanced": "Geavanceerd",
"attachments": "",
"delivery": "",
"versionCounter": "",
"fileCounter": "",
"noStreams": "",
"copyPath": "",
"pathCopied": "",
"codec": "Codec",
"codecTag": "",
"resolution": "Resolutie",
"codedResolution": "",
"bitrate": "Bitrate",
"frameRate": "Framesnelheid",
"rotation": "",
"comment": "",
"audioDescription": "",
"headerCompression": "",
"sidecarFile": "",
"transportTimestamp": "",
"displayOffset": "",
"previewFailureCode": "",
"previewRetries": "",
"aspectRatio": "Beeldverhouding",
"pixelAspectRatio": "",
"profile": "Profiel",
"level": "",
"bitDepth": "Bitdiepte",
"pixelFormat": "",
"colorSpace": "Kleurruimte",
"colorRange": "Kleurbereik",
"colorPrimaries": "Kleurprimaires",
"colorTransfer": "",
"chromaSubsampling": "Chroma-subsampling",
"chromaLocation": "",
"scanType": "",
"interlaced": "",
"anamorphic": "",
"referenceFrames": "",
"dynamicRange": "",
"dolbyVision": "",
"dolbyVisionLevel": "",
"dolbyVisionVersion": "",
"dolbyVisionLayers": "",
"baseLayerCompatibility": "",
"avcBitstream": "",
"nalLengthSize": "",
"scalingMatrix": "",
"streamIdentifier": "",
"streamIndex": "",
"streamId": "",
"language": "",
"languageCode": "",
"streamTitle": "",
"channels": "Kanalen",
"subtitles": "Ondertitels",
"sampleRate": "",
"spatialAudio": "",
"textBased": "",
"subtitleFormat": "",
"provider": "",
"matchScore": "",
"externalDelivery": "",
"sidecarPath": "",
"sourceStream": "",
"temporary": "",
"timeBase": "",
"overallBitrate": "Totale bitrate",
"path": "Pad",
"fileName": "",
"size": "Grootte",
"totalSize": "",
"container": "Container",
"duration": "Duur",
"previewThumbnails": "",
"previewIndex": "",
"packetLength": "",
"filePresent": "",
"fileReadable": "",
"streamPath": "",
"optimizedForStreaming": "Geoptimaliseerd voor streaming",
"has64bitOffsets": "64-bits offsets"
"has64bitOffsets": "64-bits offsets",
"protocol": "",
"mediaType": "",
"sourceKind": "",
"optimizedVersion": "",
"optimizationTarget": "",
"deletedAt": "",
"remoteSource": "",
"infiniteStream": "",
"directPlay": "",
"directStream": "",
"transcoding": "",
"etag": "",
"versionId": "",
"fileId": "",
"defaultAudioTrack": "",
"defaultSubtitleTrack": "",
"subtitlesOff": "",
"flagDefault": "",
"flagForced": "",
"flagSelected": "",
"flagExternal": "",
"flagHearingImpaired": "",
"flagDub": "",
"flagOriginal": ""
},
"mediaMenu": {
"markAsWatched": "Als bekeken markeren",
@@ -493,6 +596,9 @@
"playNext": "Volgende afspelen",
"playButton": "Afspelen",
"pauseButton": "Pauzeren",
"playbackPaused": "",
"playbackResumed": "",
"loadingVideo": "",
"showPlaybackControls": "Afspeelbediening tonen",
"hidePlaybackControls": "Afspeelbediening verbergen",
"seekBackwardButton": "${seconds} seconden terugspoelen",
@@ -603,6 +709,8 @@
"switchingToCompatiblePlayer": "Overschakelen naar compatibele speler...",
"serverLimitTitle": "Afspelen mislukt",
"serverLimitBody": "Serverfout (HTTP 500). Waarschijnlijk weigerde een bandbreedte-/transcodeerlimiet deze sessie. Vraag de eigenaar dit aan te passen.",
"mediaUnreadableTitle": "",
"mediaUnreadableBody": "",
"logsUploaded": "Logbestanden geüpload",
"logsUploadFailed": "Uploaden van logbestanden mislukt",
"logId": "Logboek-ID"
@@ -877,6 +985,38 @@
"copyLogs": "Logbestanden kopiëren",
"uploadLogs": "Logbestanden uploaden"
},
"startup": {
"failedTitle": "",
"failedBody": "",
"failedBodyRepairable": "",
"phaseLabel": "",
"showDetails": "",
"hideDetails": "",
"copyDetails": "",
"detailsCopied": "",
"uploadDetails": "",
"repairStorage": "",
"repairTitle": "",
"repairBodyCommon": "",
"repairBodyOneCredential": "",
"repairBodySignInsKept": "",
"repairBodySignInsLost": "",
"repairBodySessionsUncertain": "",
"repairConfirm": "",
"repairSucceeded": "",
"repairNeedsRestart": "",
"restartRequiredBody": "",
"quitPlezy": "",
"repairFailed": "",
"repairKeptSignIns": "",
"repairLostSignIns": "",
"repairLostSessions": "",
"backupTitle": "",
"backupWarning": "",
"deleteBackup": "",
"backupDeleted": "",
"previousFailureTitle": ""
},
"licenses": {
"relatedPackages": "Gerelateerde pakketten",
"license": "Licentie",
@@ -931,7 +1071,137 @@
"searchHint": "Zoeken in ${source}",
"searchEmpty": "Geen resultaten voor \"${query}\"",
"searchPrompt": "Zoek naar films en series op ${source}.",
"searchFailed": "Zoeken mislukt. Controleer je verbinding en probeer opnieuw."
"searchFailed": "Zoeken mislukt. Controleer je verbinding en probeer opnieuw.",
"badge": {
"rankPopular": "",
"rankAiring": "",
"rankRated": "",
"rankFavorited": "",
"rankTrending": "",
"rankSeasonal": "",
"watchingNow": "",
"available": "",
"partiallyAvailable": "",
"availableIn4k": "",
"requested": "",
"pendingApproval": "",
"processing": "",
"declined": "",
"requestFailed": "",
"requested4k": "",
"seasonsAvailable": "",
"nextEpisodeIn": "",
"nextAiringIn": "",
"episodesShort": "",
"minutesPerEpisode": "",
"adult": ""
},
"stats": {
"listed": "",
"viewersDay": "",
"viewersWeek": "",
"viewersMonth": "",
"viewersYear": "",
"viewersAllTime": "",
"planning": "",
"favorited": "",
"dropRate": "",
"comments": {
"one": "",
"other": ""
},
"votes": "",
"watching": "",
"completed": "",
"onHold": "",
"dropped": ""
},
"season": {
"winter": "",
"spring": "",
"summer": "",
"fall": "",
"withYear": ""
},
"format": {
"tv": "",
"tvShort": "",
"movie": "",
"special": "",
"ova": "",
"ona": "",
"music": "",
"other": ""
},
"sourceMaterial": {
"original": "",
"manga": "",
"lightNovel": "",
"novel": "",
"visualNovel": "",
"game": "",
"webComic": "",
"musicRelease": "",
"otherMedia": ""
},
"creditRole": {
"director": "",
"writer": "",
"producer": "",
"creator": "",
"composer": ""
},
"relation": {
"prequel": "",
"sequel": "",
"sideStory": "",
"spinOff": "",
"alternativeVersion": "",
"summary": "",
"parentStory": "",
"adaptation": "",
"other": ""
},
"broadcast": "",
"broadcastWithZone": "",
"detail": {
"originalTitle": "",
"alsoKnownAs": "",
"studios": "",
"country": "",
"language": "",
"released": "",
"physicalRelease": "",
"ended": "",
"addedOn": "",
"yourRating": "",
"budget": "",
"revenue": "",
"contentAdvisory": "",
"tags": "",
"revealSpoilerTags": "",
"links": "",
"watchOn": "",
"watchTrailer": "",
"openOn": "",
"crew": "",
"ratings": "",
"schedule": "",
"recommendedByUsers": {
"one": "",
"other": ""
},
"recommendedBy": "",
"favoritedBy": "",
"unairedEpisodes": "",
"recommendedByPercent": "",
"relatedTitles": "",
"background": ""
},
"totalResults": {
"one": "",
"other": ""
}
},
"liveTv": {
"title": "Live-tv",
+281 -5
View File
@@ -64,7 +64,20 @@
"loading": "Ładowanie...",
"fullscreen": "Pełny ekran",
"exitFullscreen": "Wyjdź z pełnego ekranu",
"pressBackAgainToExit": "Naciśnij ponownie przycisk Wstecz, aby wyjść"
"pressBackAgainToExit": "Naciśnij ponownie przycisk Wstecz, aby wyjść",
"ratingSource": {
"critic": "",
"audience": "",
"imdb": "",
"tmdb": "",
"rottenTomatoes": "",
"simkl": "",
"mal": "",
"anilist": "",
"trakt": "",
"rottenTomatoesCritic": "",
"rottenTomatoesAudience": ""
}
},
"screens": {
"licenses": "Licencje",
@@ -168,6 +181,8 @@
"minutesUnit": "${minutes} minut",
"rememberTrackSelections": "Zapamiętuj wybór ścieżek dla każdego serialu i filmu",
"rememberTrackSelectionsDescription": "Zapamiętuj wybór ścieżki dźwiękowej i napisów dla każdego tytułu",
"followServerTrackSelections": "Używaj wyboru ścieżek z serwera dla każdego odcinka",
"followServerTrackSelectionsDescription": "Przy zmianie odcinka stosuj ścieżkę dźwiękową i napisy wybrane na serwerze zamiast przenosić bieżący wybór",
"showChapterMarkersOnTimeline": "Pokaż znaczniki rozdziałów na pasku przewijania",
"showChapterMarkersOnTimelineDescription": "Podziel pasek przewijania na granicach rozdziałów",
"clickVideoTogglesPlayback": "Kliknięcie wideo przełącza odtwarzanie/pauzę",
@@ -381,30 +396,118 @@
},
"fileInfo": {
"title": "Informacje o pliku",
"overview": "",
"video": "Wideo",
"audio": "Audio",
"subtitles": "Napisy",
"images": "",
"dataStreams": "",
"lyrics": "",
"file": "Plik",
"advanced": "Zaawansowane",
"attachments": "",
"delivery": "",
"versionCounter": "",
"fileCounter": "",
"noStreams": "",
"copyPath": "",
"pathCopied": "",
"codec": "Kodek",
"codecTag": "",
"resolution": "Rozdzielczość",
"codedResolution": "",
"bitrate": "Przepływność",
"frameRate": "Klatki na sekundę",
"rotation": "",
"comment": "",
"audioDescription": "",
"headerCompression": "",
"sidecarFile": "",
"transportTimestamp": "",
"displayOffset": "",
"previewFailureCode": "",
"previewRetries": "",
"aspectRatio": "Proporcje",
"pixelAspectRatio": "",
"profile": "Profil",
"level": "",
"bitDepth": "Głębia bitowa",
"pixelFormat": "",
"colorSpace": "Przestrzeń kolorów",
"colorRange": "Zakres kolorów",
"colorPrimaries": "Kolory podstawowe",
"colorTransfer": "",
"chromaSubsampling": "Podpróbkowanie chrominancji",
"chromaLocation": "",
"scanType": "",
"interlaced": "",
"anamorphic": "",
"referenceFrames": "",
"dynamicRange": "",
"dolbyVision": "",
"dolbyVisionLevel": "",
"dolbyVisionVersion": "",
"dolbyVisionLayers": "",
"baseLayerCompatibility": "",
"avcBitstream": "",
"nalLengthSize": "",
"scalingMatrix": "",
"streamIdentifier": "",
"streamIndex": "",
"streamId": "",
"language": "",
"languageCode": "",
"streamTitle": "",
"channels": "Kanały",
"subtitles": "Napisy",
"sampleRate": "",
"spatialAudio": "",
"textBased": "",
"subtitleFormat": "",
"provider": "",
"matchScore": "",
"externalDelivery": "",
"sidecarPath": "",
"sourceStream": "",
"temporary": "",
"timeBase": "",
"overallBitrate": "Całkowita przepływność",
"path": "Ścieżka",
"fileName": "",
"size": "Rozmiar",
"totalSize": "",
"container": "Kontener",
"duration": "Czas trwania",
"previewThumbnails": "",
"previewIndex": "",
"packetLength": "",
"filePresent": "",
"fileReadable": "",
"streamPath": "",
"optimizedForStreaming": "Zoptymalizowane do strumieniowania",
"has64bitOffsets": "Przesunięcia 64-bitowe"
"has64bitOffsets": "Przesunięcia 64-bitowe",
"protocol": "",
"mediaType": "",
"sourceKind": "",
"optimizedVersion": "",
"optimizationTarget": "",
"deletedAt": "",
"remoteSource": "",
"infiniteStream": "",
"directPlay": "",
"directStream": "",
"transcoding": "",
"etag": "",
"versionId": "",
"fileId": "",
"defaultAudioTrack": "",
"defaultSubtitleTrack": "",
"subtitlesOff": "",
"flagDefault": "",
"flagForced": "",
"flagSelected": "",
"flagExternal": "",
"flagHearingImpaired": "",
"flagDub": "",
"flagOriginal": ""
},
"mediaMenu": {
"markAsWatched": "Oznacz jako obejrzane",
@@ -493,6 +596,9 @@
"playNext": "Odtwórz następny",
"playButton": "Odtwórz",
"pauseButton": "Pauza",
"playbackPaused": "",
"playbackResumed": "",
"loadingVideo": "",
"showPlaybackControls": "Pokaż elementy sterujące odtwarzaniem",
"hidePlaybackControls": "Ukryj elementy sterujące odtwarzaniem",
"seekBackwardButton": "Przewiń do tyłu o ${seconds} sekund",
@@ -605,6 +711,8 @@
"switchingToCompatiblePlayer": "Przełączanie na kompatybilny odtwarzacz...",
"serverLimitTitle": "Odtwarzanie nie powiodło się",
"serverLimitBody": "Błąd serwera (HTTP 500). Limit przepustowości/transkodowania prawdopodobnie odrzucił tę sesję. Poproś właściciela o zmianę.",
"mediaUnreadableTitle": "",
"mediaUnreadableBody": "",
"logsUploaded": "Logi przesłane",
"logsUploadFailed": "Nie udało się przesłać logów",
"logId": "ID logu"
@@ -879,6 +987,38 @@
"copyLogs": "Kopiuj logi",
"uploadLogs": "Prześlij logi"
},
"startup": {
"failedTitle": "",
"failedBody": "",
"failedBodyRepairable": "",
"phaseLabel": "",
"showDetails": "",
"hideDetails": "",
"copyDetails": "",
"detailsCopied": "",
"uploadDetails": "",
"repairStorage": "",
"repairTitle": "",
"repairBodyCommon": "",
"repairBodyOneCredential": "",
"repairBodySignInsKept": "",
"repairBodySignInsLost": "",
"repairBodySessionsUncertain": "",
"repairConfirm": "",
"repairSucceeded": "",
"repairNeedsRestart": "",
"restartRequiredBody": "",
"quitPlezy": "",
"repairFailed": "",
"repairKeptSignIns": "",
"repairLostSignIns": "",
"repairLostSessions": "",
"backupTitle": "",
"backupWarning": "",
"deleteBackup": "",
"backupDeleted": "",
"previousFailureTitle": ""
},
"licenses": {
"relatedPackages": "Powiązane pakiety",
"license": "Licencja",
@@ -935,7 +1075,143 @@
"searchHint": "Szukaj w ${source}",
"searchEmpty": "Brak wyników dla \"${query}\"",
"searchPrompt": "Szukaj filmów i seriali w ${source}.",
"searchFailed": "Wyszukiwanie nie powiodło się. Sprawdź połączenie i spróbuj ponownie."
"searchFailed": "Wyszukiwanie nie powiodło się. Sprawdź połączenie i spróbuj ponownie.",
"badge": {
"rankPopular": "",
"rankAiring": "",
"rankRated": "",
"rankFavorited": "",
"rankTrending": "",
"rankSeasonal": "",
"watchingNow": "",
"available": "",
"partiallyAvailable": "",
"availableIn4k": "",
"requested": "",
"pendingApproval": "",
"processing": "",
"declined": "",
"requestFailed": "",
"requested4k": "",
"seasonsAvailable": "",
"nextEpisodeIn": "",
"nextAiringIn": "",
"episodesShort": "",
"minutesPerEpisode": "",
"adult": ""
},
"stats": {
"listed": "",
"viewersDay": "",
"viewersWeek": "",
"viewersMonth": "",
"viewersYear": "",
"viewersAllTime": "",
"planning": "",
"favorited": "",
"dropRate": "",
"comments": {
"one": "",
"few": "",
"many": "",
"other": ""
},
"votes": "",
"watching": "",
"completed": "",
"onHold": "",
"dropped": ""
},
"season": {
"winter": "",
"spring": "",
"summer": "",
"fall": "",
"withYear": ""
},
"format": {
"tv": "",
"tvShort": "",
"movie": "",
"special": "",
"ova": "",
"ona": "",
"music": "",
"other": ""
},
"sourceMaterial": {
"original": "",
"manga": "",
"lightNovel": "",
"novel": "",
"visualNovel": "",
"game": "",
"webComic": "",
"musicRelease": "",
"otherMedia": ""
},
"creditRole": {
"director": "",
"writer": "",
"producer": "",
"creator": "",
"composer": ""
},
"relation": {
"prequel": "",
"sequel": "",
"sideStory": "",
"spinOff": "",
"alternativeVersion": "",
"summary": "",
"parentStory": "",
"adaptation": "",
"other": ""
},
"broadcast": "",
"broadcastWithZone": "",
"detail": {
"originalTitle": "",
"alsoKnownAs": "",
"studios": "",
"country": "",
"language": "",
"released": "",
"physicalRelease": "",
"ended": "",
"addedOn": "",
"yourRating": "",
"budget": "",
"revenue": "",
"contentAdvisory": "",
"tags": "",
"revealSpoilerTags": "",
"links": "",
"watchOn": "",
"watchTrailer": "",
"openOn": "",
"crew": "",
"ratings": "",
"schedule": "",
"recommendedByUsers": {
"one": "",
"few": "",
"many": "",
"other": ""
},
"recommendedBy": "",
"favoritedBy": "",
"unairedEpisodes": "",
"recommendedByPercent": "",
"relatedTitles": "",
"background": ""
},
"totalResults": {
"one": "",
"few": "",
"many": "",
"other": ""
}
},
"liveTv": {
"title": "TV na żywo",
+275 -5
View File
@@ -64,7 +64,20 @@
"loading": "Carregando...",
"fullscreen": "Tela cheia",
"exitFullscreen": "Sair da tela cheia",
"pressBackAgainToExit": "Pressione voltar novamente para sair"
"pressBackAgainToExit": "Pressione voltar novamente para sair",
"ratingSource": {
"critic": "",
"audience": "",
"imdb": "",
"tmdb": "",
"rottenTomatoes": "",
"simkl": "",
"mal": "",
"anilist": "",
"trakt": "",
"rottenTomatoesCritic": "",
"rottenTomatoesAudience": ""
}
},
"screens": {
"licenses": "Licenças",
@@ -168,6 +181,8 @@
"minutesUnit": "${minutes} minutos",
"rememberTrackSelections": "Lembrar seleção de faixas por série/filme",
"rememberTrackSelectionsDescription": "Lembrar escolhas de áudio e legendas por título",
"followServerTrackSelections": "Usar a seleção de faixas do servidor por episódio",
"followServerTrackSelectionsDescription": "Ao mudar de episódio, aplicar o áudio e as legendas selecionados no servidor em vez de manter a escolha atual",
"showChapterMarkersOnTimeline": "Mostrar marcadores de capítulos na barra de reprodução",
"showChapterMarkersOnTimelineDescription": "Segmentar a barra de reprodução nos limites dos capítulos",
"clickVideoTogglesPlayback": "Clicar no vídeo para alternar reprodução/pausa",
@@ -381,30 +396,118 @@
},
"fileInfo": {
"title": "Informações do arquivo",
"overview": "",
"video": "Vídeo",
"audio": "Áudio",
"subtitles": "Legendas",
"images": "",
"dataStreams": "",
"lyrics": "",
"file": "Arquivo",
"advanced": "Avançado",
"attachments": "",
"delivery": "",
"versionCounter": "",
"fileCounter": "",
"noStreams": "",
"copyPath": "",
"pathCopied": "",
"codec": "Codec",
"codecTag": "",
"resolution": "Resolução",
"codedResolution": "",
"bitrate": "Taxa de bits",
"frameRate": "Taxa de Quadros",
"rotation": "",
"comment": "",
"audioDescription": "",
"headerCompression": "",
"sidecarFile": "",
"transportTimestamp": "",
"displayOffset": "",
"previewFailureCode": "",
"previewRetries": "",
"aspectRatio": "Proporção",
"pixelAspectRatio": "",
"profile": "Perfil",
"level": "",
"bitDepth": "Profundidade de bits",
"pixelFormat": "",
"colorSpace": "Espaço de Cor",
"colorRange": "Faixa de Cor",
"colorPrimaries": "Primárias de Cor",
"colorTransfer": "",
"chromaSubsampling": "Subamostragem de Croma",
"chromaLocation": "",
"scanType": "",
"interlaced": "",
"anamorphic": "",
"referenceFrames": "",
"dynamicRange": "",
"dolbyVision": "",
"dolbyVisionLevel": "",
"dolbyVisionVersion": "",
"dolbyVisionLayers": "",
"baseLayerCompatibility": "",
"avcBitstream": "",
"nalLengthSize": "",
"scalingMatrix": "",
"streamIdentifier": "",
"streamIndex": "",
"streamId": "",
"language": "",
"languageCode": "",
"streamTitle": "",
"channels": "Canais",
"subtitles": "Legendas",
"sampleRate": "",
"spatialAudio": "",
"textBased": "",
"subtitleFormat": "",
"provider": "",
"matchScore": "",
"externalDelivery": "",
"sidecarPath": "",
"sourceStream": "",
"temporary": "",
"timeBase": "",
"overallBitrate": "Taxa de bits total",
"path": "Caminho",
"fileName": "",
"size": "Tamanho",
"totalSize": "",
"container": "Contêiner",
"duration": "Duração",
"previewThumbnails": "",
"previewIndex": "",
"packetLength": "",
"filePresent": "",
"fileReadable": "",
"streamPath": "",
"optimizedForStreaming": "Otimizado para transmissão",
"has64bitOffsets": "Deslocamentos de 64 bits"
"has64bitOffsets": "Deslocamentos de 64 bits",
"protocol": "",
"mediaType": "",
"sourceKind": "",
"optimizedVersion": "",
"optimizationTarget": "",
"deletedAt": "",
"remoteSource": "",
"infiniteStream": "",
"directPlay": "",
"directStream": "",
"transcoding": "",
"etag": "",
"versionId": "",
"fileId": "",
"defaultAudioTrack": "",
"defaultSubtitleTrack": "",
"subtitlesOff": "",
"flagDefault": "",
"flagForced": "",
"flagSelected": "",
"flagExternal": "",
"flagHearingImpaired": "",
"flagDub": "",
"flagOriginal": ""
},
"mediaMenu": {
"markAsWatched": "Marcar como Assistido",
@@ -493,6 +596,9 @@
"playNext": "Reproduzir Próximo",
"playButton": "Reproduzir",
"pauseButton": "Pausar",
"playbackPaused": "",
"playbackResumed": "",
"loadingVideo": "",
"showPlaybackControls": "Mostrar controles de reprodução",
"hidePlaybackControls": "Ocultar controles de reprodução",
"seekBackwardButton": "Retroceder ${seconds} segundos",
@@ -603,6 +709,8 @@
"switchingToCompatiblePlayer": "Alternando para um reprodutor compatível...",
"serverLimitTitle": "Falha na reprodução",
"serverLimitBody": "Erro do servidor (HTTP 500). Um limite de largura de banda ou transcodificação provavelmente rejeitou esta sessão. Peça ao proprietário do servidor para ajustá-lo.",
"mediaUnreadableTitle": "",
"mediaUnreadableBody": "",
"logsUploaded": "Logs enviados",
"logsUploadFailed": "Falha ao enviar logs",
"logId": "ID do log"
@@ -877,6 +985,38 @@
"copyLogs": "Copiar Logs",
"uploadLogs": "Enviar Logs"
},
"startup": {
"failedTitle": "",
"failedBody": "",
"failedBodyRepairable": "",
"phaseLabel": "",
"showDetails": "",
"hideDetails": "",
"copyDetails": "",
"detailsCopied": "",
"uploadDetails": "",
"repairStorage": "",
"repairTitle": "",
"repairBodyCommon": "",
"repairBodyOneCredential": "",
"repairBodySignInsKept": "",
"repairBodySignInsLost": "",
"repairBodySessionsUncertain": "",
"repairConfirm": "",
"repairSucceeded": "",
"repairNeedsRestart": "",
"restartRequiredBody": "",
"quitPlezy": "",
"repairFailed": "",
"repairKeptSignIns": "",
"repairLostSignIns": "",
"repairLostSessions": "",
"backupTitle": "",
"backupWarning": "",
"deleteBackup": "",
"backupDeleted": "",
"previousFailureTitle": ""
},
"licenses": {
"relatedPackages": "Pacotes Relacionados",
"license": "Licença",
@@ -931,7 +1071,137 @@
"searchHint": "Buscar em ${source}",
"searchEmpty": "Nenhum resultado para \"${query}\"",
"searchPrompt": "Busque filmes e séries em ${source}.",
"searchFailed": "Falha na busca. Verifique sua conexão e tente novamente."
"searchFailed": "Falha na busca. Verifique sua conexão e tente novamente.",
"badge": {
"rankPopular": "",
"rankAiring": "",
"rankRated": "",
"rankFavorited": "",
"rankTrending": "",
"rankSeasonal": "",
"watchingNow": "",
"available": "",
"partiallyAvailable": "",
"availableIn4k": "",
"requested": "",
"pendingApproval": "",
"processing": "",
"declined": "",
"requestFailed": "",
"requested4k": "",
"seasonsAvailable": "",
"nextEpisodeIn": "",
"nextAiringIn": "",
"episodesShort": "",
"minutesPerEpisode": "",
"adult": ""
},
"stats": {
"listed": "",
"viewersDay": "",
"viewersWeek": "",
"viewersMonth": "",
"viewersYear": "",
"viewersAllTime": "",
"planning": "",
"favorited": "",
"dropRate": "",
"comments": {
"one": "",
"other": ""
},
"votes": "",
"watching": "",
"completed": "",
"onHold": "",
"dropped": ""
},
"season": {
"winter": "",
"spring": "",
"summer": "",
"fall": "",
"withYear": ""
},
"format": {
"tv": "",
"tvShort": "",
"movie": "",
"special": "",
"ova": "",
"ona": "",
"music": "",
"other": ""
},
"sourceMaterial": {
"original": "",
"manga": "",
"lightNovel": "",
"novel": "",
"visualNovel": "",
"game": "",
"webComic": "",
"musicRelease": "",
"otherMedia": ""
},
"creditRole": {
"director": "",
"writer": "",
"producer": "",
"creator": "",
"composer": ""
},
"relation": {
"prequel": "",
"sequel": "",
"sideStory": "",
"spinOff": "",
"alternativeVersion": "",
"summary": "",
"parentStory": "",
"adaptation": "",
"other": ""
},
"broadcast": "",
"broadcastWithZone": "",
"detail": {
"originalTitle": "",
"alsoKnownAs": "",
"studios": "",
"country": "",
"language": "",
"released": "",
"physicalRelease": "",
"ended": "",
"addedOn": "",
"yourRating": "",
"budget": "",
"revenue": "",
"contentAdvisory": "",
"tags": "",
"revealSpoilerTags": "",
"links": "",
"watchOn": "",
"watchTrailer": "",
"openOn": "",
"crew": "",
"ratings": "",
"schedule": "",
"recommendedByUsers": {
"one": "",
"other": ""
},
"recommendedBy": "",
"favoritedBy": "",
"unairedEpisodes": "",
"recommendedByPercent": "",
"relatedTitles": "",
"background": ""
},
"totalResults": {
"one": "",
"other": ""
}
},
"liveTv": {
"title": "TV ao Vivo",
+281 -5
View File
@@ -64,7 +64,20 @@
"loading": "Загрузка...",
"fullscreen": "Полноэкранный режим",
"exitFullscreen": "Выйти из полноэкранного режима",
"pressBackAgainToExit": "Нажмите ещё раз для выхода"
"pressBackAgainToExit": "Нажмите ещё раз для выхода",
"ratingSource": {
"critic": "",
"audience": "",
"imdb": "",
"tmdb": "",
"rottenTomatoes": "",
"simkl": "",
"mal": "",
"anilist": "",
"trakt": "",
"rottenTomatoesCritic": "",
"rottenTomatoesAudience": ""
}
},
"screens": {
"licenses": "Лицензии",
@@ -168,6 +181,8 @@
"minutesUnit": "${minutes} мин",
"rememberTrackSelections": "Запоминать выбор дорожек для каждого сериала/фильма",
"rememberTrackSelectionsDescription": "Запоминать выбор аудиодорожки и субтитров для каждого материала",
"followServerTrackSelections": "Использовать выбор дорожек сервера для каждой серии",
"followServerTrackSelectionsDescription": "При смене серии применять аудио и субтитры, выбранные на сервере, вместо переноса текущего выбора",
"showChapterMarkersOnTimeline": "Показывать маркеры глав на шкале перемотки",
"showChapterMarkersOnTimelineDescription": "Разделять шкалу перемотки по границам глав",
"clickVideoTogglesPlayback": "Нажатие на видео запускает или приостанавливает воспроизведение",
@@ -381,30 +396,118 @@
},
"fileInfo": {
"title": "Информация о файле",
"overview": "",
"video": "Видео",
"audio": "Аудио",
"subtitles": "Субтитры",
"images": "",
"dataStreams": "",
"lyrics": "",
"file": "Файл",
"advanced": "Дополнительно",
"attachments": "",
"delivery": "",
"versionCounter": "",
"fileCounter": "",
"noStreams": "",
"copyPath": "",
"pathCopied": "",
"codec": "Кодек",
"codecTag": "",
"resolution": "Разрешение",
"codedResolution": "",
"bitrate": "Битрейт",
"frameRate": "Частота кадров",
"rotation": "",
"comment": "",
"audioDescription": "",
"headerCompression": "",
"sidecarFile": "",
"transportTimestamp": "",
"displayOffset": "",
"previewFailureCode": "",
"previewRetries": "",
"aspectRatio": "Соотношение сторон",
"pixelAspectRatio": "",
"profile": "Профиль",
"level": "",
"bitDepth": "Глубина цвета",
"pixelFormat": "",
"colorSpace": "Цветовое пространство",
"colorRange": "Цветовой диапазон",
"colorPrimaries": "Основные цвета",
"colorTransfer": "",
"chromaSubsampling": "Субдискретизация цветности",
"chromaLocation": "",
"scanType": "",
"interlaced": "",
"anamorphic": "",
"referenceFrames": "",
"dynamicRange": "",
"dolbyVision": "",
"dolbyVisionLevel": "",
"dolbyVisionVersion": "",
"dolbyVisionLayers": "",
"baseLayerCompatibility": "",
"avcBitstream": "",
"nalLengthSize": "",
"scalingMatrix": "",
"streamIdentifier": "",
"streamIndex": "",
"streamId": "",
"language": "",
"languageCode": "",
"streamTitle": "",
"channels": "Каналы",
"subtitles": "Субтитры",
"sampleRate": "",
"spatialAudio": "",
"textBased": "",
"subtitleFormat": "",
"provider": "",
"matchScore": "",
"externalDelivery": "",
"sidecarPath": "",
"sourceStream": "",
"temporary": "",
"timeBase": "",
"overallBitrate": "Общий битрейт",
"path": "Путь",
"fileName": "",
"size": "Размер",
"totalSize": "",
"container": "Контейнер",
"duration": "Длительность",
"previewThumbnails": "",
"previewIndex": "",
"packetLength": "",
"filePresent": "",
"fileReadable": "",
"streamPath": "",
"optimizedForStreaming": "Оптимизировано для потоковой передачи",
"has64bitOffsets": "64-битные смещения"
"has64bitOffsets": "64-битные смещения",
"protocol": "",
"mediaType": "",
"sourceKind": "",
"optimizedVersion": "",
"optimizationTarget": "",
"deletedAt": "",
"remoteSource": "",
"infiniteStream": "",
"directPlay": "",
"directStream": "",
"transcoding": "",
"etag": "",
"versionId": "",
"fileId": "",
"defaultAudioTrack": "",
"defaultSubtitleTrack": "",
"subtitlesOff": "",
"flagDefault": "",
"flagForced": "",
"flagSelected": "",
"flagExternal": "",
"flagHearingImpaired": "",
"flagDub": "",
"flagOriginal": ""
},
"mediaMenu": {
"markAsWatched": "Отметить как просмотренное",
@@ -493,6 +596,9 @@
"playNext": "Следующее",
"playButton": "Воспроизвести",
"pauseButton": "Пауза",
"playbackPaused": "",
"playbackResumed": "",
"loadingVideo": "",
"showPlaybackControls": "Показать элементы управления воспроизведением",
"hidePlaybackControls": "Скрыть элементы управления воспроизведением",
"seekBackwardButton": "Перемотать назад на ${seconds} с",
@@ -605,6 +711,8 @@
"switchingToCompatiblePlayer": "Переключение на совместимый плеер...",
"serverLimitTitle": "Ошибка воспроизведения",
"serverLimitBody": "Ошибка сервера (HTTP 500). Лимит пропускной способности/транскодирования, вероятно, отклонил сессию. Попросите владельца изменить настройки.",
"mediaUnreadableTitle": "",
"mediaUnreadableBody": "",
"logsUploaded": "Логи загружены",
"logsUploadFailed": "Не удалось загрузить логи",
"logId": "ID лога"
@@ -879,6 +987,38 @@
"copyLogs": "Скопировать логи",
"uploadLogs": "Загрузить логи"
},
"startup": {
"failedTitle": "",
"failedBody": "",
"failedBodyRepairable": "",
"phaseLabel": "",
"showDetails": "",
"hideDetails": "",
"copyDetails": "",
"detailsCopied": "",
"uploadDetails": "",
"repairStorage": "",
"repairTitle": "",
"repairBodyCommon": "",
"repairBodyOneCredential": "",
"repairBodySignInsKept": "",
"repairBodySignInsLost": "",
"repairBodySessionsUncertain": "",
"repairConfirm": "",
"repairSucceeded": "",
"repairNeedsRestart": "",
"restartRequiredBody": "",
"quitPlezy": "",
"repairFailed": "",
"repairKeptSignIns": "",
"repairLostSignIns": "",
"repairLostSessions": "",
"backupTitle": "",
"backupWarning": "",
"deleteBackup": "",
"backupDeleted": "",
"previousFailureTitle": ""
},
"licenses": {
"relatedPackages": "Связанные пакеты",
"license": "Лицензия",
@@ -935,7 +1075,143 @@
"searchHint": "Поиск в ${source}",
"searchEmpty": "Нет результатов по запросу \"${query}\"",
"searchPrompt": "Ищите фильмы и сериалы в ${source}.",
"searchFailed": "Ошибка поиска. Проверьте подключение и повторите попытку."
"searchFailed": "Ошибка поиска. Проверьте подключение и повторите попытку.",
"badge": {
"rankPopular": "",
"rankAiring": "",
"rankRated": "",
"rankFavorited": "",
"rankTrending": "",
"rankSeasonal": "",
"watchingNow": "",
"available": "",
"partiallyAvailable": "",
"availableIn4k": "",
"requested": "",
"pendingApproval": "",
"processing": "",
"declined": "",
"requestFailed": "",
"requested4k": "",
"seasonsAvailable": "",
"nextEpisodeIn": "",
"nextAiringIn": "",
"episodesShort": "",
"minutesPerEpisode": "",
"adult": ""
},
"stats": {
"listed": "",
"viewersDay": "",
"viewersWeek": "",
"viewersMonth": "",
"viewersYear": "",
"viewersAllTime": "",
"planning": "",
"favorited": "",
"dropRate": "",
"comments": {
"one": "",
"few": "",
"many": "",
"other": ""
},
"votes": "",
"watching": "",
"completed": "",
"onHold": "",
"dropped": ""
},
"season": {
"winter": "",
"spring": "",
"summer": "",
"fall": "",
"withYear": ""
},
"format": {
"tv": "",
"tvShort": "",
"movie": "",
"special": "",
"ova": "",
"ona": "",
"music": "",
"other": ""
},
"sourceMaterial": {
"original": "",
"manga": "",
"lightNovel": "",
"novel": "",
"visualNovel": "",
"game": "",
"webComic": "",
"musicRelease": "",
"otherMedia": ""
},
"creditRole": {
"director": "",
"writer": "",
"producer": "",
"creator": "",
"composer": ""
},
"relation": {
"prequel": "",
"sequel": "",
"sideStory": "",
"spinOff": "",
"alternativeVersion": "",
"summary": "",
"parentStory": "",
"adaptation": "",
"other": ""
},
"broadcast": "",
"broadcastWithZone": "",
"detail": {
"originalTitle": "",
"alsoKnownAs": "",
"studios": "",
"country": "",
"language": "",
"released": "",
"physicalRelease": "",
"ended": "",
"addedOn": "",
"yourRating": "",
"budget": "",
"revenue": "",
"contentAdvisory": "",
"tags": "",
"revealSpoilerTags": "",
"links": "",
"watchOn": "",
"watchTrailer": "",
"openOn": "",
"crew": "",
"ratings": "",
"schedule": "",
"recommendedByUsers": {
"one": "",
"few": "",
"many": "",
"other": ""
},
"recommendedBy": "",
"favoritedBy": "",
"unairedEpisodes": "",
"recommendedByPercent": "",
"relatedTitles": "",
"background": ""
},
"totalResults": {
"one": "",
"few": "",
"many": "",
"other": ""
}
},
"liveTv": {
"title": "ТВ в прямом эфире",
+1 -1
View File
@@ -4,7 +4,7 @@
/// To regenerate, run: `dart run slang`
///
/// Locales: 22
/// Strings: 32681 (1485 per locale)
/// Strings: 32946 (1497 per locale)
// coverage:ignore-file
// ignore_for_file: type=lint, unused_import
+8 -6
View File
@@ -300,6 +300,8 @@ class _Translations$settings$az extends Translations$settings$en {
@override String minutesUnit({required Object minutes}) => '${minutes} dəqiqə';
@override String get rememberTrackSelections => 'Hər film/serial üçün səs/altyazı seçimlərini xatırla';
@override String get rememberTrackSelectionsDescription => 'Hər məzmun üçün səs və altyazı seçimlərini yadda saxla';
@override String get followServerTrackSelections => 'Hər epizod üçün serverin trek seçimlərini istifadə et';
@override String get followServerTrackSelectionsDescription => 'Epizod dəyişəndə cari seçimi köçürmək əvəzinə serverdə seçilmiş səs və altyazını tətbiq et';
@override String get showChapterMarkersOnTimeline => 'Zaman çubuğunda hissə işarələrini göstər';
@override String get showChapterMarkersOnTimelineDescription => 'Zaman çubuğunu hissə sərhədlərinə böl';
@override String get clickVideoTogglesPlayback => 'Oynat/fasilə üçün videoya toxun';
@@ -510,8 +512,8 @@ class _Translations$fileInfo$az extends Translations$fileInfo$en {
@override String get title => 'Fayl məlumatı';
@override String get video => 'Video';
@override String get audio => 'Səs';
@override String get subtitles => 'Altyazılar';
@override String get file => 'Fayl';
@override String get advanced => 'Təkmilləşdirilmiş';
@override String get codec => 'Kodek';
@override String get resolution => 'Ayırdetmə';
@override String get bitrate => 'Bit sürəti (Bitrate)';
@@ -524,7 +526,6 @@ class _Translations$fileInfo$az extends Translations$fileInfo$en {
@override String get colorPrimaries => 'Əsas rənglər';
@override String get chromaSubsampling => 'Rəng alt-diskretləşdirməsi';
@override String get channels => 'Kanallar';
@override String get subtitles => 'Altyazılar';
@override String get overallBitrate => 'Ümumi bit sürəti';
@override String get path => 'Yol';
@override String get size => 'Həcm';
@@ -2367,6 +2368,8 @@ extension on TranslationsAz {
'settings.minutesUnit' => ({required Object minutes}) => '${minutes} dəqiqə',
'settings.rememberTrackSelections' => 'Hər film/serial üçün səs/altyazı seçimlərini xatırla',
'settings.rememberTrackSelectionsDescription' => 'Hər məzmun üçün səs və altyazı seçimlərini yadda saxla',
'settings.followServerTrackSelections' => 'Hər epizod üçün serverin trek seçimlərini istifadə et',
'settings.followServerTrackSelectionsDescription' => 'Epizod dəyişəndə cari seçimi köçürmək əvəzinə serverdə seçilmiş səs və altyazını tətbiq et',
'settings.showChapterMarkersOnTimeline' => 'Zaman çubuğunda hissə işarələrini göstər',
'settings.showChapterMarkersOnTimelineDescription' => 'Zaman çubuğunu hissə sərhədlərinə böl',
'settings.clickVideoTogglesPlayback' => 'Oynat/fasilə üçün videoya toxun',
@@ -2574,8 +2577,8 @@ extension on TranslationsAz {
'fileInfo.title' => 'Fayl məlumatı',
'fileInfo.video' => 'Video',
'fileInfo.audio' => 'Səs',
'fileInfo.subtitles' => 'Altyazılar',
'fileInfo.file' => 'Fayl',
'fileInfo.advanced' => 'Təkmilləşdirilmiş',
'fileInfo.codec' => 'Kodek',
'fileInfo.resolution' => 'Ayırdetmə',
'fileInfo.bitrate' => 'Bit sürəti (Bitrate)',
@@ -2588,7 +2591,6 @@ extension on TranslationsAz {
'fileInfo.colorPrimaries' => 'Əsas rənglər',
'fileInfo.chromaSubsampling' => 'Rəng alt-diskretləşdirməsi',
'fileInfo.channels' => 'Kanallar',
'fileInfo.subtitles' => 'Altyazılar',
'fileInfo.overallBitrate' => 'Ümumi bit sürəti',
'fileInfo.path' => 'Yol',
'fileInfo.size' => 'Həcm',
@@ -2720,9 +2722,9 @@ extension on TranslationsAz {
'videoControls.noChaptersAvailable' => 'Hissələr əlçatan deyil',
'videoControls.queue' => 'Növbə',
'videoControls.noQueueItems' => 'Növbədə element yoxdur',
'videoControls.searchSubtitles' => 'Altyazı axtar',
_ => null,
} ?? switch (path) {
'videoControls.searchSubtitles' => 'Altyazı axtar',
'videoControls.language' => 'Dil',
'videoControls.noSubtitlesFound' => 'Altyazı tapılmadı',
'videoControls.subtitleDownloaded' => 'Altyazı yükləndi',
@@ -3234,9 +3236,9 @@ extension on TranslationsAz {
'watchTogether.enterCodeHint' => '5 rəqəmli/hərfli kodu daxil edin',
'watchTogether.pasteFromClipboard' => 'Buferdən yapışdır',
'watchTogether.pleaseEnterCode' => 'Lütfən seans kodunu daxil edin',
'watchTogether.codeMustBe5Chars' => 'Seans kodu 5 simvol olmalıdır',
_ => null,
} ?? switch (path) {
'watchTogether.codeMustBe5Chars' => 'Seans kodu 5 simvol olmalıdır',
'watchTogether.joinInstructions' => 'Qoşulmaq üçün təşkilatçının seans kodunu daxil edin.',
'watchTogether.failedToCreate' => 'Seans yaradıla bilmədi',
'watchTogether.failedToJoin' => 'Seansa qoşuluna bilmədi',
+8 -6
View File
@@ -300,6 +300,8 @@ class _Translations$settings$bg extends Translations$settings$en {
@override String minutesUnit({required Object minutes}) => '${minutes} минути';
@override String get rememberTrackSelections => 'Запомняй избора на аудио и субтитри за всеки сериал или филм';
@override String get rememberTrackSelectionsDescription => 'Запомняй избора на аудиопътечка и субтитри за всяко заглавие';
@override String get followServerTrackSelections => 'Използвай избора на пътечки от сървъра за всеки епизод';
@override String get followServerTrackSelectionsDescription => 'При смяна на епизода прилагай избраните на сървъра аудио и субтитри, вместо да се пренася текущият избор';
@override String get showChapterMarkersOnTimeline => 'Показвай маркери на глави върху времевата линия';
@override String get showChapterMarkersOnTimelineDescription => 'Разделяй времевата линия на сегменти по границите на главите';
@override String get clickVideoTogglesPlayback => 'Клик върху видеото превключва възпроизвеждане/пауза';
@@ -507,8 +509,8 @@ class _Translations$fileInfo$bg extends Translations$fileInfo$en {
@override String get title => 'Информация за файла';
@override String get video => 'Видео';
@override String get audio => 'Аудио';
@override String get subtitles => 'Субтитри';
@override String get file => 'Файл';
@override String get advanced => 'Разширени';
@override String get codec => 'Кодек';
@override String get resolution => 'Резолюция';
@override String get bitrate => 'Битрейт';
@@ -521,7 +523,6 @@ class _Translations$fileInfo$bg extends Translations$fileInfo$en {
@override String get colorPrimaries => 'Основни цветове';
@override String get chromaSubsampling => 'Цветова субдискретизация';
@override String get channels => 'Канали';
@override String get subtitles => 'Субтитри';
@override String get overallBitrate => 'Общ битрейт';
@override String get path => 'Път';
@override String get size => 'Размер';
@@ -2356,6 +2357,8 @@ extension on TranslationsBg {
'settings.minutesUnit' => ({required Object minutes}) => '${minutes} минути',
'settings.rememberTrackSelections' => 'Запомняй избора на аудио и субтитри за всеки сериал или филм',
'settings.rememberTrackSelectionsDescription' => 'Запомняй избора на аудиопътечка и субтитри за всяко заглавие',
'settings.followServerTrackSelections' => 'Използвай избора на пътечки от сървъра за всеки епизод',
'settings.followServerTrackSelectionsDescription' => 'При смяна на епизода прилагай избраните на сървъра аудио и субтитри, вместо да се пренася текущият избор',
'settings.showChapterMarkersOnTimeline' => 'Показвай маркери на глави върху времевата линия',
'settings.showChapterMarkersOnTimelineDescription' => 'Разделяй времевата линия на сегменти по границите на главите',
'settings.clickVideoTogglesPlayback' => 'Клик върху видеото превключва възпроизвеждане/пауза',
@@ -2560,8 +2563,8 @@ extension on TranslationsBg {
'fileInfo.title' => 'Информация за файла',
'fileInfo.video' => 'Видео',
'fileInfo.audio' => 'Аудио',
'fileInfo.subtitles' => 'Субтитри',
'fileInfo.file' => 'Файл',
'fileInfo.advanced' => 'Разширени',
'fileInfo.codec' => 'Кодек',
'fileInfo.resolution' => 'Резолюция',
'fileInfo.bitrate' => 'Битрейт',
@@ -2574,7 +2577,6 @@ extension on TranslationsBg {
'fileInfo.colorPrimaries' => 'Основни цветове',
'fileInfo.chromaSubsampling' => 'Цветова субдискретизация',
'fileInfo.channels' => 'Канали',
'fileInfo.subtitles' => 'Субтитри',
'fileInfo.overallBitrate' => 'Общ битрейт',
'fileInfo.path' => 'Път',
'fileInfo.size' => 'Размер',
@@ -2709,9 +2711,9 @@ extension on TranslationsBg {
'videoControls.searchSubtitles' => 'Търсене на субтитри',
'videoControls.language' => 'Език',
'videoControls.noSubtitlesFound' => 'Не са намерени субтитри',
'videoControls.subtitleDownloaded' => 'Субтитърът е изтеглен',
_ => null,
} ?? switch (path) {
'videoControls.subtitleDownloaded' => 'Субтитърът е изтеглен',
'videoControls.subtitleDownloadedNotApplied' => 'Субтитрите са изтеглени, но не можаха да бъдат избрани',
'videoControls.subtitleDownloadFailed' => 'Неуспешно изтегляне на субтитър',
'videoControls.searchLanguages' => 'Търсене на езици...',
@@ -3223,9 +3225,9 @@ extension on TranslationsBg {
'watchTogether.failedToCreate' => 'Неуспешно създаване на сесия',
'watchTogether.failedToJoin' => 'Неуспешно присъединяване към сесия',
'watchTogether.sessionCodeCopied' => 'Кодът на сесията е копиран в клипборда',
'watchTogether.relayUnreachable' => 'Релейният сървър е недостъпен. Възможно е интернет доставчикът да блокира гледането заедно.',
_ => null,
} ?? switch (path) {
'watchTogether.relayUnreachable' => 'Релейният сървър е недостъпен. Възможно е интернет доставчикът да блокира гледането заедно.',
'watchTogether.reconnectingToHost' => 'Повторно свързване с организатора...',
'watchTogether.currentPlayback' => 'Текущо възпроизвеждане',
'watchTogether.joinCurrentPlayback' => 'Присъедини се към текущото възпроизвеждане',
+8 -6
View File
@@ -300,6 +300,8 @@ class _Translations$settings$da extends Translations$settings$en {
@override String minutesUnit({required Object minutes}) => '${minutes} minutter';
@override String get rememberTrackSelections => 'Husk sporvalg for hver serie/film';
@override String get rememberTrackSelectionsDescription => 'Husk valget af lyd og undertekster for hver titel';
@override String get followServerTrackSelections => 'Brug serverens sporvalg for hvert afsnit';
@override String get followServerTrackSelectionsDescription => 'Ved afsnitsskift anvendes lyden og underteksterne valgt på serveren i stedet for at videreføre det aktuelle valg';
@override String get showChapterMarkersOnTimeline => 'Vis kapitelmarkører på tidslinjen';
@override String get showChapterMarkersOnTimelineDescription => 'Opdel tidslinjen ved kapitelgrænser';
@override String get clickVideoTogglesPlayback => 'Klik på videoen for at skifte mellem afspilning og pause';
@@ -507,8 +509,8 @@ class _Translations$fileInfo$da extends Translations$fileInfo$en {
@override String get title => 'Filinfo';
@override String get video => 'Video';
@override String get audio => 'Lyd';
@override String get subtitles => 'Undertekster';
@override String get file => 'Fil';
@override String get advanced => 'Avanceret';
@override String get codec => 'Codec';
@override String get resolution => 'Opløsning';
@override String get bitrate => 'Bitrate';
@@ -521,7 +523,6 @@ class _Translations$fileInfo$da extends Translations$fileInfo$en {
@override String get colorPrimaries => 'Farveprimærer';
@override String get chromaSubsampling => 'Chroma-subsampling';
@override String get channels => 'Kanaler';
@override String get subtitles => 'Undertekster';
@override String get overallBitrate => 'Samlet bitrate';
@override String get path => 'Sti';
@override String get size => 'Størrelse';
@@ -2356,6 +2357,8 @@ extension on TranslationsDa {
'settings.minutesUnit' => ({required Object minutes}) => '${minutes} minutter',
'settings.rememberTrackSelections' => 'Husk sporvalg for hver serie/film',
'settings.rememberTrackSelectionsDescription' => 'Husk valget af lyd og undertekster for hver titel',
'settings.followServerTrackSelections' => 'Brug serverens sporvalg for hvert afsnit',
'settings.followServerTrackSelectionsDescription' => 'Ved afsnitsskift anvendes lyden og underteksterne valgt på serveren i stedet for at videreføre det aktuelle valg',
'settings.showChapterMarkersOnTimeline' => 'Vis kapitelmarkører på tidslinjen',
'settings.showChapterMarkersOnTimelineDescription' => 'Opdel tidslinjen ved kapitelgrænser',
'settings.clickVideoTogglesPlayback' => 'Klik på videoen for at skifte mellem afspilning og pause',
@@ -2560,8 +2563,8 @@ extension on TranslationsDa {
'fileInfo.title' => 'Filinfo',
'fileInfo.video' => 'Video',
'fileInfo.audio' => 'Lyd',
'fileInfo.subtitles' => 'Undertekster',
'fileInfo.file' => 'Fil',
'fileInfo.advanced' => 'Avanceret',
'fileInfo.codec' => 'Codec',
'fileInfo.resolution' => 'Opløsning',
'fileInfo.bitrate' => 'Bitrate',
@@ -2574,7 +2577,6 @@ extension on TranslationsDa {
'fileInfo.colorPrimaries' => 'Farveprimærer',
'fileInfo.chromaSubsampling' => 'Chroma-subsampling',
'fileInfo.channels' => 'Kanaler',
'fileInfo.subtitles' => 'Undertekster',
'fileInfo.overallBitrate' => 'Samlet bitrate',
'fileInfo.path' => 'Sti',
'fileInfo.size' => 'Størrelse',
@@ -2709,9 +2711,9 @@ extension on TranslationsDa {
'videoControls.searchSubtitles' => 'Søg undertekster',
'videoControls.language' => 'Sprog',
'videoControls.noSubtitlesFound' => 'Ingen undertekster fundet',
'videoControls.subtitleDownloaded' => 'Undertekst downloadet',
_ => null,
} ?? switch (path) {
'videoControls.subtitleDownloaded' => 'Undertekst downloadet',
'videoControls.subtitleDownloadedNotApplied' => 'Underteksten blev downloadet, men kunne ikke vælges',
'videoControls.subtitleDownloadFailed' => 'Kunne ikke downloade undertekst',
'videoControls.searchLanguages' => 'Søg sprog...',
@@ -3223,9 +3225,9 @@ extension on TranslationsDa {
'watchTogether.failedToCreate' => 'Kunne ikke oprette session',
'watchTogether.failedToJoin' => 'Kunne ikke deltage i session',
'watchTogether.sessionCodeCopied' => 'Sessionskode kopieret til udklipsholder',
'watchTogether.relayUnreachable' => 'Relayserveren kan ikke nås. Blokering hos internetudbyderen kan forhindre Se sammen.',
_ => null,
} ?? switch (path) {
'watchTogether.relayUnreachable' => 'Relayserveren kan ikke nås. Blokering hos internetudbyderen kan forhindre Se sammen.',
'watchTogether.reconnectingToHost' => 'Genopretter forbindelse til vært...',
'watchTogether.currentPlayback' => 'Nuværende afspilning',
'watchTogether.joinCurrentPlayback' => 'Deltag i nuværende afspilning',
+8 -6
View File
@@ -300,6 +300,8 @@ class _Translations$settings$de extends Translations$settings$en {
@override String minutesUnit({required Object minutes}) => '${minutes} Minuten';
@override String get rememberTrackSelections => 'Spurauswahl pro Serie/Film merken';
@override String get rememberTrackSelectionsDescription => 'Audio- und Untertitelauswahl je Titel merken';
@override String get followServerTrackSelections => 'Serverseitige Spurauswahl pro Episode verwenden';
@override String get followServerTrackSelectionsDescription => 'Beim Episodenwechsel die auf dem Server ausgewählten Audio- und Untertitelspuren übernehmen, statt die aktuelle Auswahl zu übertragen';
@override String get showChapterMarkersOnTimeline => 'Kapitelmarkierungen auf der Suchleiste anzeigen';
@override String get showChapterMarkersOnTimelineDescription => 'Die Suchleiste an Kapitelgrenzen unterteilen';
@override String get clickVideoTogglesPlayback => 'Video zum Abspielen oder Pausieren anklicken';
@@ -507,8 +509,8 @@ class _Translations$fileInfo$de extends Translations$fileInfo$en {
@override String get title => 'Dateiinformationen';
@override String get video => 'Video';
@override String get audio => 'Audio';
@override String get subtitles => 'Untertitel';
@override String get file => 'Datei';
@override String get advanced => 'Erweitert';
@override String get codec => 'Codec';
@override String get resolution => 'Auflösung';
@override String get bitrate => 'Bitrate';
@@ -521,7 +523,6 @@ class _Translations$fileInfo$de extends Translations$fileInfo$en {
@override String get colorPrimaries => 'Primärfarben';
@override String get chromaSubsampling => 'Chroma-Subsampling';
@override String get channels => 'Kanäle';
@override String get subtitles => 'Untertitel';
@override String get overallBitrate => 'Gesamtbitrate';
@override String get path => 'Pfad';
@override String get size => 'Größe';
@@ -2356,6 +2357,8 @@ extension on TranslationsDe {
'settings.minutesUnit' => ({required Object minutes}) => '${minutes} Minuten',
'settings.rememberTrackSelections' => 'Spurauswahl pro Serie/Film merken',
'settings.rememberTrackSelectionsDescription' => 'Audio- und Untertitelauswahl je Titel merken',
'settings.followServerTrackSelections' => 'Serverseitige Spurauswahl pro Episode verwenden',
'settings.followServerTrackSelectionsDescription' => 'Beim Episodenwechsel die auf dem Server ausgewählten Audio- und Untertitelspuren übernehmen, statt die aktuelle Auswahl zu übertragen',
'settings.showChapterMarkersOnTimeline' => 'Kapitelmarkierungen auf der Suchleiste anzeigen',
'settings.showChapterMarkersOnTimelineDescription' => 'Die Suchleiste an Kapitelgrenzen unterteilen',
'settings.clickVideoTogglesPlayback' => 'Video zum Abspielen oder Pausieren anklicken',
@@ -2560,8 +2563,8 @@ extension on TranslationsDe {
'fileInfo.title' => 'Dateiinformationen',
'fileInfo.video' => 'Video',
'fileInfo.audio' => 'Audio',
'fileInfo.subtitles' => 'Untertitel',
'fileInfo.file' => 'Datei',
'fileInfo.advanced' => 'Erweitert',
'fileInfo.codec' => 'Codec',
'fileInfo.resolution' => 'Auflösung',
'fileInfo.bitrate' => 'Bitrate',
@@ -2574,7 +2577,6 @@ extension on TranslationsDe {
'fileInfo.colorPrimaries' => 'Primärfarben',
'fileInfo.chromaSubsampling' => 'Chroma-Subsampling',
'fileInfo.channels' => 'Kanäle',
'fileInfo.subtitles' => 'Untertitel',
'fileInfo.overallBitrate' => 'Gesamtbitrate',
'fileInfo.path' => 'Pfad',
'fileInfo.size' => 'Größe',
@@ -2709,9 +2711,9 @@ extension on TranslationsDe {
'videoControls.searchSubtitles' => 'Untertitel suchen',
'videoControls.language' => 'Sprache',
'videoControls.noSubtitlesFound' => 'Keine Untertitel gefunden',
'videoControls.subtitleDownloaded' => 'Untertitel heruntergeladen',
_ => null,
} ?? switch (path) {
'videoControls.subtitleDownloaded' => 'Untertitel heruntergeladen',
'videoControls.subtitleDownloadedNotApplied' => 'Der Untertitel wurde heruntergeladen, konnte aber nicht ausgewählt werden',
'videoControls.subtitleDownloadFailed' => 'Untertitel konnte nicht heruntergeladen werden',
'videoControls.searchLanguages' => 'Sprachen suchen...',
@@ -3223,9 +3225,9 @@ extension on TranslationsDe {
'watchTogether.failedToCreate' => 'Sitzung konnte nicht erstellt werden',
'watchTogether.failedToJoin' => 'Beitritt zur Sitzung fehlgeschlagen',
'watchTogether.sessionCodeCopied' => 'Sitzungscode in Zwischenablage kopiert',
'watchTogether.relayUnreachable' => 'Relay-Server nicht erreichbar. Eine Sperre durch den Internetanbieter kann gemeinsames Schauen verhindern.',
_ => null,
} ?? switch (path) {
'watchTogether.relayUnreachable' => 'Relay-Server nicht erreichbar. Eine Sperre durch den Internetanbieter kann gemeinsames Schauen verhindern.',
'watchTogether.reconnectingToHost' => 'Verbindung zum Host wird wiederhergestellt …',
'watchTogether.currentPlayback' => 'Aktuelle Wiedergabe',
'watchTogether.joinCurrentPlayback' => 'Aktueller Wiedergabe beitreten',
+1088 -10
View File
File diff suppressed because it is too large Load Diff
+8 -6
View File
@@ -300,6 +300,8 @@ class _Translations$settings$es extends Translations$settings$en {
@override String minutesUnit({required Object minutes}) => '${minutes} minutos';
@override String get rememberTrackSelections => 'Recordar selección de pistas por serie/película';
@override String get rememberTrackSelectionsDescription => 'Recordar opciones de audio y subtítulos por título';
@override String get followServerTrackSelections => 'Usar la selección de pistas del servidor por episodio';
@override String get followServerTrackSelectionsDescription => 'Al cambiar de episodio, aplicar el audio y los subtítulos seleccionados en el servidor en lugar de mantener la elección actual';
@override String get showChapterMarkersOnTimeline => 'Mostrar marcadores de capítulos en la barra de progreso';
@override String get showChapterMarkersOnTimelineDescription => 'Dividir la barra de progreso en los límites de capítulos';
@override String get clickVideoTogglesPlayback => 'Clic en el video para reproducir/pausar';
@@ -507,8 +509,8 @@ class _Translations$fileInfo$es extends Translations$fileInfo$en {
@override String get title => 'Información del archivo';
@override String get video => 'Video';
@override String get audio => 'Audio';
@override String get subtitles => 'Subtítulos';
@override String get file => 'Archivo';
@override String get advanced => 'Avanzado';
@override String get codec => 'Códec';
@override String get resolution => 'Resolución';
@override String get bitrate => 'Tasa de bits';
@@ -521,7 +523,6 @@ class _Translations$fileInfo$es extends Translations$fileInfo$en {
@override String get colorPrimaries => 'Primarias de color';
@override String get chromaSubsampling => 'Submuestreo de croma';
@override String get channels => 'Canales';
@override String get subtitles => 'Subtítulos';
@override String get overallBitrate => 'Tasa de bits total';
@override String get path => 'Ruta';
@override String get size => 'Tamaño';
@@ -2356,6 +2357,8 @@ extension on TranslationsEs {
'settings.minutesUnit' => ({required Object minutes}) => '${minutes} minutos',
'settings.rememberTrackSelections' => 'Recordar selección de pistas por serie/película',
'settings.rememberTrackSelectionsDescription' => 'Recordar opciones de audio y subtítulos por título',
'settings.followServerTrackSelections' => 'Usar la selección de pistas del servidor por episodio',
'settings.followServerTrackSelectionsDescription' => 'Al cambiar de episodio, aplicar el audio y los subtítulos seleccionados en el servidor en lugar de mantener la elección actual',
'settings.showChapterMarkersOnTimeline' => 'Mostrar marcadores de capítulos en la barra de progreso',
'settings.showChapterMarkersOnTimelineDescription' => 'Dividir la barra de progreso en los límites de capítulos',
'settings.clickVideoTogglesPlayback' => 'Clic en el video para reproducir/pausar',
@@ -2560,8 +2563,8 @@ extension on TranslationsEs {
'fileInfo.title' => 'Información del archivo',
'fileInfo.video' => 'Video',
'fileInfo.audio' => 'Audio',
'fileInfo.subtitles' => 'Subtítulos',
'fileInfo.file' => 'Archivo',
'fileInfo.advanced' => 'Avanzado',
'fileInfo.codec' => 'Códec',
'fileInfo.resolution' => 'Resolución',
'fileInfo.bitrate' => 'Tasa de bits',
@@ -2574,7 +2577,6 @@ extension on TranslationsEs {
'fileInfo.colorPrimaries' => 'Primarias de color',
'fileInfo.chromaSubsampling' => 'Submuestreo de croma',
'fileInfo.channels' => 'Canales',
'fileInfo.subtitles' => 'Subtítulos',
'fileInfo.overallBitrate' => 'Tasa de bits total',
'fileInfo.path' => 'Ruta',
'fileInfo.size' => 'Tamaño',
@@ -2709,9 +2711,9 @@ extension on TranslationsEs {
'videoControls.searchSubtitles' => 'Buscar subtítulos',
'videoControls.language' => 'Idioma',
'videoControls.noSubtitlesFound' => 'No se encontraron subtítulos',
'videoControls.subtitleDownloaded' => 'Subtítulo descargado',
_ => null,
} ?? switch (path) {
'videoControls.subtitleDownloaded' => 'Subtítulo descargado',
'videoControls.subtitleDownloadedNotApplied' => 'El subtítulo se descargó, pero no se pudo seleccionar',
'videoControls.subtitleDownloadFailed' => 'Error al descargar subtítulo',
'videoControls.searchLanguages' => 'Buscar idiomas...',
@@ -3223,9 +3225,9 @@ extension on TranslationsEs {
'watchTogether.failedToCreate' => 'Error al crear la sesión',
'watchTogether.failedToJoin' => 'Error al unirse a la sesión',
'watchTogether.sessionCodeCopied' => 'Código de sesión copiado al portapapeles',
'watchTogether.relayUnreachable' => 'No se puede acceder al servidor de retransmisión. Es posible que tu proveedor de internet esté bloqueando Ver juntos.',
_ => null,
} ?? switch (path) {
'watchTogether.relayUnreachable' => 'No se puede acceder al servidor de retransmisión. Es posible que tu proveedor de internet esté bloqueando Ver juntos.',
'watchTogether.reconnectingToHost' => 'Reconectando con el anfitrión...',
'watchTogether.currentPlayback' => 'Reproducción actual',
'watchTogether.joinCurrentPlayback' => 'Unirse a la reproducción actual',
+8 -6
View File
@@ -300,6 +300,8 @@ class _Translations$settings$fr extends Translations$settings$en {
@override String minutesUnit({required Object minutes}) => '${minutes} minutes';
@override String get rememberTrackSelections => 'Mémoriser les pistes choisies pour chaque série ou film';
@override String get rememberTrackSelectionsDescription => 'Mémoriser les choix audio et sous-titres par titre';
@override String get followServerTrackSelections => 'Utiliser les pistes sélectionnées sur le serveur pour chaque épisode';
@override String get followServerTrackSelectionsDescription => 'Au changement d\'épisode, appliquer l\'audio et les sous-titres sélectionnés sur le serveur au lieu de conserver le choix en cours';
@override String get showChapterMarkersOnTimeline => 'Afficher les marqueurs de chapitres sur la barre de lecture';
@override String get showChapterMarkersOnTimelineDescription => 'Segmenter la barre de lecture aux limites des chapitres';
@override String get clickVideoTogglesPlayback => 'Cliquer sur la vidéo pour alterner entre lecture et pause';
@@ -507,8 +509,8 @@ class _Translations$fileInfo$fr extends Translations$fileInfo$en {
@override String get title => 'Informations sur le fichier';
@override String get video => 'Vidéo';
@override String get audio => 'Audio';
@override String get subtitles => 'Sous-titres';
@override String get file => 'Fichier';
@override String get advanced => 'Avancé';
@override String get codec => 'Codec';
@override String get resolution => 'Résolution';
@override String get bitrate => 'Débit';
@@ -521,7 +523,6 @@ class _Translations$fileInfo$fr extends Translations$fileInfo$en {
@override String get colorPrimaries => 'Couleurs primaires';
@override String get chromaSubsampling => 'Sous-échantillonnage chromatique';
@override String get channels => 'Canaux';
@override String get subtitles => 'Sous-titres';
@override String get overallBitrate => 'Débit global';
@override String get path => 'Chemin';
@override String get size => 'Taille';
@@ -2356,6 +2357,8 @@ extension on TranslationsFr {
'settings.minutesUnit' => ({required Object minutes}) => '${minutes} minutes',
'settings.rememberTrackSelections' => 'Mémoriser les pistes choisies pour chaque série ou film',
'settings.rememberTrackSelectionsDescription' => 'Mémoriser les choix audio et sous-titres par titre',
'settings.followServerTrackSelections' => 'Utiliser les pistes sélectionnées sur le serveur pour chaque épisode',
'settings.followServerTrackSelectionsDescription' => 'Au changement d\'épisode, appliquer l\'audio et les sous-titres sélectionnés sur le serveur au lieu de conserver le choix en cours',
'settings.showChapterMarkersOnTimeline' => 'Afficher les marqueurs de chapitres sur la barre de lecture',
'settings.showChapterMarkersOnTimelineDescription' => 'Segmenter la barre de lecture aux limites des chapitres',
'settings.clickVideoTogglesPlayback' => 'Cliquer sur la vidéo pour alterner entre lecture et pause',
@@ -2560,8 +2563,8 @@ extension on TranslationsFr {
'fileInfo.title' => 'Informations sur le fichier',
'fileInfo.video' => 'Vidéo',
'fileInfo.audio' => 'Audio',
'fileInfo.subtitles' => 'Sous-titres',
'fileInfo.file' => 'Fichier',
'fileInfo.advanced' => 'Avancé',
'fileInfo.codec' => 'Codec',
'fileInfo.resolution' => 'Résolution',
'fileInfo.bitrate' => 'Débit',
@@ -2574,7 +2577,6 @@ extension on TranslationsFr {
'fileInfo.colorPrimaries' => 'Couleurs primaires',
'fileInfo.chromaSubsampling' => 'Sous-échantillonnage chromatique',
'fileInfo.channels' => 'Canaux',
'fileInfo.subtitles' => 'Sous-titres',
'fileInfo.overallBitrate' => 'Débit global',
'fileInfo.path' => 'Chemin',
'fileInfo.size' => 'Taille',
@@ -2709,9 +2711,9 @@ extension on TranslationsFr {
'videoControls.searchSubtitles' => 'Rechercher des sous-titres',
'videoControls.language' => 'Langue',
'videoControls.noSubtitlesFound' => 'Aucun sous-titre trouvé',
'videoControls.subtitleDownloaded' => 'Sous-titre téléchargé',
_ => null,
} ?? switch (path) {
'videoControls.subtitleDownloaded' => 'Sous-titre téléchargé',
'videoControls.subtitleDownloadedNotApplied' => 'Le sous-titre a été téléchargé, mais n’a pas pu être sélectionné',
'videoControls.subtitleDownloadFailed' => 'Échec du téléchargement du sous-titre',
'videoControls.searchLanguages' => 'Rechercher des langues...',
@@ -3223,9 +3225,9 @@ extension on TranslationsFr {
'watchTogether.failedToCreate' => 'Échec de la création de la session',
'watchTogether.failedToJoin' => 'Échec de la connexion à la session',
'watchTogether.sessionCodeCopied' => 'Code de session copié dans le presse-papiers',
'watchTogether.relayUnreachable' => 'Serveur relais inaccessible. Un blocage par le fournisseur d’accès peut empêcher le fonctionnement de Regarder ensemble.',
_ => null,
} ?? switch (path) {
'watchTogether.relayUnreachable' => 'Serveur relais inaccessible. Un blocage par le fournisseur d’accès peut empêcher le fonctionnement de Regarder ensemble.',
'watchTogether.reconnectingToHost' => 'Reconnexion à l\'hôte...',
'watchTogether.currentPlayback' => 'Lecture en cours',
'watchTogether.joinCurrentPlayback' => 'Rejoindre la lecture en cours',
+8 -6
View File
@@ -300,6 +300,8 @@ class _Translations$settings$hu extends Translations$settings$en {
@override String minutesUnit({required Object minutes}) => '${minutes} perc';
@override String get rememberTrackSelections => 'Sávválasztások megjegyzése sorozatonként/filmenként';
@override String get rememberTrackSelectionsDescription => 'Hang- és feliratválasztások megjegyzése címenként';
@override String get followServerTrackSelections => 'A szerver epizódonkénti sávválasztásának használata';
@override String get followServerTrackSelectionsDescription => 'Epizódváltáskor a szerveren kiválasztott hang és felirat lép életbe az aktuális választás átvitele helyett';
@override String get showChapterMarkersOnTimeline => 'Fejezetjelölők megjelenítése az idősávon';
@override String get showChapterMarkersOnTimelineDescription => 'Az idősáv felosztása a fejezetek határainál';
@override String get clickVideoTogglesPlayback => 'Kattintás a videóra a lejátszás/szünet váltásához';
@@ -507,8 +509,8 @@ class _Translations$fileInfo$hu extends Translations$fileInfo$en {
@override String get title => 'Fájlinformáció';
@override String get video => 'Videó';
@override String get audio => 'Hang';
@override String get subtitles => 'Feliratok';
@override String get file => 'Fájl';
@override String get advanced => 'Haladó';
@override String get codec => 'Kodek';
@override String get resolution => 'Felbontás';
@override String get bitrate => 'Bitráta';
@@ -521,7 +523,6 @@ class _Translations$fileInfo$hu extends Translations$fileInfo$en {
@override String get colorPrimaries => 'Elsődleges színek';
@override String get chromaSubsampling => 'Krominancia-alulmintavételezés';
@override String get channels => 'Csatornák';
@override String get subtitles => 'Feliratok';
@override String get overallBitrate => 'Összesített bitráta';
@override String get path => 'Elérési út';
@override String get size => 'Méret';
@@ -2356,6 +2357,8 @@ extension on TranslationsHu {
'settings.minutesUnit' => ({required Object minutes}) => '${minutes} perc',
'settings.rememberTrackSelections' => 'Sávválasztások megjegyzése sorozatonként/filmenként',
'settings.rememberTrackSelectionsDescription' => 'Hang- és feliratválasztások megjegyzése címenként',
'settings.followServerTrackSelections' => 'A szerver epizódonkénti sávválasztásának használata',
'settings.followServerTrackSelectionsDescription' => 'Epizódváltáskor a szerveren kiválasztott hang és felirat lép életbe az aktuális választás átvitele helyett',
'settings.showChapterMarkersOnTimeline' => 'Fejezetjelölők megjelenítése az idősávon',
'settings.showChapterMarkersOnTimelineDescription' => 'Az idősáv felosztása a fejezetek határainál',
'settings.clickVideoTogglesPlayback' => 'Kattintás a videóra a lejátszás/szünet váltásához',
@@ -2560,8 +2563,8 @@ extension on TranslationsHu {
'fileInfo.title' => 'Fájlinformáció',
'fileInfo.video' => 'Videó',
'fileInfo.audio' => 'Hang',
'fileInfo.subtitles' => 'Feliratok',
'fileInfo.file' => 'Fájl',
'fileInfo.advanced' => 'Haladó',
'fileInfo.codec' => 'Kodek',
'fileInfo.resolution' => 'Felbontás',
'fileInfo.bitrate' => 'Bitráta',
@@ -2574,7 +2577,6 @@ extension on TranslationsHu {
'fileInfo.colorPrimaries' => 'Elsődleges színek',
'fileInfo.chromaSubsampling' => 'Krominancia-alulmintavételezés',
'fileInfo.channels' => 'Csatornák',
'fileInfo.subtitles' => 'Feliratok',
'fileInfo.overallBitrate' => 'Összesített bitráta',
'fileInfo.path' => 'Elérési út',
'fileInfo.size' => 'Méret',
@@ -2709,9 +2711,9 @@ extension on TranslationsHu {
'videoControls.searchSubtitles' => 'Feliratok keresése',
'videoControls.language' => 'Nyelv',
'videoControls.noSubtitlesFound' => 'Nem találhatók feliratok',
'videoControls.subtitleDownloaded' => 'Felirat letöltve',
_ => null,
} ?? switch (path) {
'videoControls.subtitleDownloaded' => 'Felirat letöltve',
'videoControls.subtitleDownloadedNotApplied' => 'Felirat letöltve, de nem sikerült kiválasztani',
'videoControls.subtitleDownloadFailed' => 'Nem sikerült a felirat letöltése',
'videoControls.searchLanguages' => 'Nyelvek keresése...',
@@ -3223,9 +3225,9 @@ extension on TranslationsHu {
'watchTogether.failedToCreate' => 'Nem sikerült a munkamenet létrehozása',
'watchTogether.failedToJoin' => 'Nem sikerült csatlakozni a munkamenethez',
'watchTogether.sessionCodeCopied' => 'A munkamenetkód a vágólapra másolva',
'watchTogether.relayUnreachable' => 'A relészerver nem érhető el. Az internetszolgáltató blokkolása megakadályozhatja a közös nézést.',
_ => null,
} ?? switch (path) {
'watchTogether.relayUnreachable' => 'A relészerver nem érhető el. Az internetszolgáltató blokkolása megakadályozhatja a közös nézést.',
'watchTogether.reconnectingToHost' => 'Újracsatlakozás a házigazdához...',
'watchTogether.currentPlayback' => 'Jelenlegi lejátszás',
'watchTogether.joinCurrentPlayback' => 'Csatlakozás a jelenlegi lejátszáshoz',
+8 -6
View File
@@ -300,6 +300,8 @@ class _Translations$settings$it extends Translations$settings$en {
@override String minutesUnit({required Object minutes}) => '${minutes} minuti';
@override String get rememberTrackSelections => 'Ricorda la selezione delle tracce per ogni serie o film';
@override String get rememberTrackSelectionsDescription => 'Ricorda le scelte di audio e sottotitoli per ogni titolo';
@override String get followServerTrackSelections => 'Usa le tracce selezionate sul server per ogni episodio';
@override String get followServerTrackSelectionsDescription => 'Al cambio di episodio applica l\'audio e i sottotitoli selezionati sul server invece di mantenere la scelta corrente';
@override String get showChapterMarkersOnTimeline => 'Mostra i marcatori dei capitoli sulla barra di avanzamento';
@override String get showChapterMarkersOnTimelineDescription => 'Segmenta la barra di avanzamento ai confini dei capitoli';
@override String get clickVideoTogglesPlayback => 'Fai clic sul video per alternare riproduzione e pausa';
@@ -507,8 +509,8 @@ class _Translations$fileInfo$it extends Translations$fileInfo$en {
@override String get title => 'Info sul file';
@override String get video => 'Video';
@override String get audio => 'Audio';
@override String get subtitles => 'Sottotitoli';
@override String get file => 'File';
@override String get advanced => 'Avanzate';
@override String get codec => 'Codec';
@override String get resolution => 'Risoluzione';
@override String get bitrate => 'Bitrate';
@@ -521,7 +523,6 @@ class _Translations$fileInfo$it extends Translations$fileInfo$en {
@override String get colorPrimaries => 'Colori primari';
@override String get chromaSubsampling => 'Sottocampionamento cromatico';
@override String get channels => 'Canali';
@override String get subtitles => 'Sottotitoli';
@override String get overallBitrate => 'Bitrate complessivo';
@override String get path => 'Percorso';
@override String get size => 'Dimensione';
@@ -2356,6 +2357,8 @@ extension on TranslationsIt {
'settings.minutesUnit' => ({required Object minutes}) => '${minutes} minuti',
'settings.rememberTrackSelections' => 'Ricorda la selezione delle tracce per ogni serie o film',
'settings.rememberTrackSelectionsDescription' => 'Ricorda le scelte di audio e sottotitoli per ogni titolo',
'settings.followServerTrackSelections' => 'Usa le tracce selezionate sul server per ogni episodio',
'settings.followServerTrackSelectionsDescription' => 'Al cambio di episodio applica l\'audio e i sottotitoli selezionati sul server invece di mantenere la scelta corrente',
'settings.showChapterMarkersOnTimeline' => 'Mostra i marcatori dei capitoli sulla barra di avanzamento',
'settings.showChapterMarkersOnTimelineDescription' => 'Segmenta la barra di avanzamento ai confini dei capitoli',
'settings.clickVideoTogglesPlayback' => 'Fai clic sul video per alternare riproduzione e pausa',
@@ -2560,8 +2563,8 @@ extension on TranslationsIt {
'fileInfo.title' => 'Info sul file',
'fileInfo.video' => 'Video',
'fileInfo.audio' => 'Audio',
'fileInfo.subtitles' => 'Sottotitoli',
'fileInfo.file' => 'File',
'fileInfo.advanced' => 'Avanzate',
'fileInfo.codec' => 'Codec',
'fileInfo.resolution' => 'Risoluzione',
'fileInfo.bitrate' => 'Bitrate',
@@ -2574,7 +2577,6 @@ extension on TranslationsIt {
'fileInfo.colorPrimaries' => 'Colori primari',
'fileInfo.chromaSubsampling' => 'Sottocampionamento cromatico',
'fileInfo.channels' => 'Canali',
'fileInfo.subtitles' => 'Sottotitoli',
'fileInfo.overallBitrate' => 'Bitrate complessivo',
'fileInfo.path' => 'Percorso',
'fileInfo.size' => 'Dimensione',
@@ -2709,9 +2711,9 @@ extension on TranslationsIt {
'videoControls.searchSubtitles' => 'Cerca sottotitoli',
'videoControls.language' => 'Lingua',
'videoControls.noSubtitlesFound' => 'Nessun sottotitolo trovato',
'videoControls.subtitleDownloaded' => 'Sottotitolo scaricato',
_ => null,
} ?? switch (path) {
'videoControls.subtitleDownloaded' => 'Sottotitolo scaricato',
'videoControls.subtitleDownloadedNotApplied' => 'Il sottotitolo è stato scaricato, ma non è stato possibile selezionarlo',
'videoControls.subtitleDownloadFailed' => 'Impossibile scaricare il sottotitolo',
'videoControls.searchLanguages' => 'Cerca lingue...',
@@ -3223,9 +3225,9 @@ extension on TranslationsIt {
'watchTogether.failedToCreate' => 'Impossibile creare la sessione',
'watchTogether.failedToJoin' => 'Impossibile unirsi alla sessione',
'watchTogether.sessionCodeCopied' => 'Codice della sessione copiato negli appunti',
'watchTogether.relayUnreachable' => 'Il server relay non è raggiungibile. Eventuali blocchi dell\'ISP potrebbero impedire l\'uso di Guarda insieme.',
_ => null,
} ?? switch (path) {
'watchTogether.relayUnreachable' => 'Il server relay non è raggiungibile. Eventuali blocchi dell\'ISP potrebbero impedire l\'uso di Guarda insieme.',
'watchTogether.reconnectingToHost' => 'Riconnessione all\'host...',
'watchTogether.currentPlayback' => 'Riproduzione corrente',
'watchTogether.joinCurrentPlayback' => 'Unisciti alla riproduzione corrente',
+8 -6
View File
@@ -300,6 +300,8 @@ class _Translations$settings$ja extends Translations$settings$en {
@override String minutesUnit({required Object minutes}) => '${minutes}分';
@override String get rememberTrackSelections => '番組/映画ごとにトラック選択を記憶';
@override String get rememberTrackSelectionsDescription => 'タイトルごとに音声と字幕の選択を記憶します';
@override String get followServerTrackSelections => 'サーバーのエピソードごとのトラック選択を使用';
@override String get followServerTrackSelectionsDescription => 'エピソード切り替え時に、現在の選択を引き継ぐ代わりにサーバーで選択された音声と字幕を適用します';
@override String get showChapterMarkersOnTimeline => 'シークバーにチャプターマーカーを表示';
@override String get showChapterMarkersOnTimelineDescription => 'チャプターの境界でシークバーを区切る';
@override String get clickVideoTogglesPlayback => '動画クリックで再生/一時停止を切替';
@@ -507,8 +509,8 @@ class _Translations$fileInfo$ja extends Translations$fileInfo$en {
@override String get title => 'ファイル情報';
@override String get video => '映像';
@override String get audio => '音声';
@override String get subtitles => '字幕';
@override String get file => 'ファイル';
@override String get advanced => '詳細';
@override String get codec => 'コーデック';
@override String get resolution => '解像度';
@override String get bitrate => 'ビットレート';
@@ -521,7 +523,6 @@ class _Translations$fileInfo$ja extends Translations$fileInfo$en {
@override String get colorPrimaries => '色原色';
@override String get chromaSubsampling => 'クロマサブサンプリング';
@override String get channels => 'チャンネル';
@override String get subtitles => '字幕';
@override String get overallBitrate => '全体ビットレート';
@override String get path => 'パス';
@override String get size => 'サイズ';
@@ -2353,6 +2354,8 @@ extension on TranslationsJa {
'settings.minutesUnit' => ({required Object minutes}) => '${minutes}分',
'settings.rememberTrackSelections' => '番組/映画ごとにトラック選択を記憶',
'settings.rememberTrackSelectionsDescription' => 'タイトルごとに音声と字幕の選択を記憶します',
'settings.followServerTrackSelections' => 'サーバーのエピソードごとのトラック選択を使用',
'settings.followServerTrackSelectionsDescription' => 'エピソード切り替え時に、現在の選択を引き継ぐ代わりにサーバーで選択された音声と字幕を適用します',
'settings.showChapterMarkersOnTimeline' => 'シークバーにチャプターマーカーを表示',
'settings.showChapterMarkersOnTimelineDescription' => 'チャプターの境界でシークバーを区切る',
'settings.clickVideoTogglesPlayback' => '動画クリックで再生/一時停止を切替',
@@ -2557,8 +2560,8 @@ extension on TranslationsJa {
'fileInfo.title' => 'ファイル情報',
'fileInfo.video' => '映像',
'fileInfo.audio' => '音声',
'fileInfo.subtitles' => '字幕',
'fileInfo.file' => 'ファイル',
'fileInfo.advanced' => '詳細',
'fileInfo.codec' => 'コーデック',
'fileInfo.resolution' => '解像度',
'fileInfo.bitrate' => 'ビットレート',
@@ -2571,7 +2574,6 @@ extension on TranslationsJa {
'fileInfo.colorPrimaries' => '色原色',
'fileInfo.chromaSubsampling' => 'クロマサブサンプリング',
'fileInfo.channels' => 'チャンネル',
'fileInfo.subtitles' => '字幕',
'fileInfo.overallBitrate' => '全体ビットレート',
'fileInfo.path' => 'パス',
'fileInfo.size' => 'サイズ',
@@ -2706,9 +2708,9 @@ extension on TranslationsJa {
'videoControls.searchSubtitles' => '字幕を検索',
'videoControls.language' => '言語',
'videoControls.noSubtitlesFound' => '字幕が見つかりません',
'videoControls.subtitleDownloaded' => '字幕をダウンロードしました',
_ => null,
} ?? switch (path) {
'videoControls.subtitleDownloaded' => '字幕をダウンロードしました',
'videoControls.subtitleDownloadedNotApplied' => '字幕はダウンロードされましたが、選択できませんでした',
'videoControls.subtitleDownloadFailed' => '字幕のダウンロードに失敗しました',
'videoControls.searchLanguages' => '言語を検索…',
@@ -3220,9 +3222,9 @@ extension on TranslationsJa {
'watchTogether.failedToCreate' => 'セッションの作成に失敗しました',
'watchTogether.failedToJoin' => 'セッションへの参加に失敗しました',
'watchTogether.sessionCodeCopied' => 'セッションコードをクリップボードにコピーしました',
'watchTogether.relayUnreachable' => 'リレーサーバーに接続できません。ISPによるブロックのため「一緒に見る」を利用できない可能性があります。',
_ => null,
} ?? switch (path) {
'watchTogether.relayUnreachable' => 'リレーサーバーに接続できません。ISPによるブロックのため「一緒に見る」を利用できない可能性があります。',
'watchTogether.reconnectingToHost' => 'ホストに再接続中…',
'watchTogether.currentPlayback' => '現在の再生',
'watchTogether.joinCurrentPlayback' => '現在の再生に参加',
+8 -6
View File
@@ -300,6 +300,8 @@ class _Translations$settings$kk extends Translations$settings$en {
@override String minutesUnit({required Object minutes}) => '${minutes} минут';
@override String get rememberTrackSelections => 'Әр фильм/сериал үшін дыбыс/субтитр таңдауын есте сақтау';
@override String get rememberTrackSelectionsDescription => 'Әр медиа үшін дыбыс пен субтитр таңдауын сақтау';
@override String get followServerTrackSelections => 'Әр бөлім үшін сервердегі жолдар таңдауын қолдану';
@override String get followServerTrackSelectionsDescription => 'Бөлім ауысқанда ағымдағы таңдауды көшірудің орнына серверде таңдалған дыбыс пен субтитрлерді қолдану';
@override String get showChapterMarkersOnTimeline => 'Уақыт шкаласында бөлім белгілерін көрсету';
@override String get showChapterMarkersOnTimelineDescription => 'Уақыт шкаласын бөлімдерге бөлу';
@override String get clickVideoTogglesPlayback => 'Ойнату/кідірту үшін видеоны басу';
@@ -510,8 +512,8 @@ class _Translations$fileInfo$kk extends Translations$fileInfo$en {
@override String get title => 'Файл туралы ақпарат';
@override String get video => 'Видео';
@override String get audio => 'Аудио';
@override String get subtitles => 'Субтитрлер';
@override String get file => 'Файл';
@override String get advanced => 'Кеңейтілген';
@override String get codec => 'Кодек';
@override String get resolution => 'Ажыратымдылық';
@override String get bitrate => 'Биттік жылдамдық (Bitrate)';
@@ -524,7 +526,6 @@ class _Translations$fileInfo$kk extends Translations$fileInfo$en {
@override String get colorPrimaries => 'Негізгі түстер';
@override String get chromaSubsampling => 'Түстік субдискретизация';
@override String get channels => 'Арналар';
@override String get subtitles => 'Субтитрлер';
@override String get overallBitrate => 'Жалпы биттік жылдамдық';
@override String get path => 'Жол';
@override String get size => 'Көлемі';
@@ -2367,6 +2368,8 @@ extension on TranslationsKk {
'settings.minutesUnit' => ({required Object minutes}) => '${minutes} минут',
'settings.rememberTrackSelections' => 'Әр фильм/сериал үшін дыбыс/субтитр таңдауын есте сақтау',
'settings.rememberTrackSelectionsDescription' => 'Әр медиа үшін дыбыс пен субтитр таңдауын сақтау',
'settings.followServerTrackSelections' => 'Әр бөлім үшін сервердегі жолдар таңдауын қолдану',
'settings.followServerTrackSelectionsDescription' => 'Бөлім ауысқанда ағымдағы таңдауды көшірудің орнына серверде таңдалған дыбыс пен субтитрлерді қолдану',
'settings.showChapterMarkersOnTimeline' => 'Уақыт шкаласында бөлім белгілерін көрсету',
'settings.showChapterMarkersOnTimelineDescription' => 'Уақыт шкаласын бөлімдерге бөлу',
'settings.clickVideoTogglesPlayback' => 'Ойнату/кідірту үшін видеоны басу',
@@ -2574,8 +2577,8 @@ extension on TranslationsKk {
'fileInfo.title' => 'Файл туралы ақпарат',
'fileInfo.video' => 'Видео',
'fileInfo.audio' => 'Аудио',
'fileInfo.subtitles' => 'Субтитрлер',
'fileInfo.file' => 'Файл',
'fileInfo.advanced' => 'Кеңейтілген',
'fileInfo.codec' => 'Кодек',
'fileInfo.resolution' => 'Ажыратымдылық',
'fileInfo.bitrate' => 'Биттік жылдамдық (Bitrate)',
@@ -2588,7 +2591,6 @@ extension on TranslationsKk {
'fileInfo.colorPrimaries' => 'Негізгі түстер',
'fileInfo.chromaSubsampling' => 'Түстік субдискретизация',
'fileInfo.channels' => 'Арналар',
'fileInfo.subtitles' => 'Субтитрлер',
'fileInfo.overallBitrate' => 'Жалпы биттік жылдамдық',
'fileInfo.path' => 'Жол',
'fileInfo.size' => 'Көлемі',
@@ -2720,9 +2722,9 @@ extension on TranslationsKk {
'videoControls.noChaptersAvailable' => 'Бөлімдер қолжетімсіз',
'videoControls.queue' => 'Кезек',
'videoControls.noQueueItems' => 'Кезекте элементтер жоқ',
'videoControls.searchSubtitles' => 'Субтитр іздеу',
_ => null,
} ?? switch (path) {
'videoControls.searchSubtitles' => 'Субтитр іздеу',
'videoControls.language' => 'Тіл',
'videoControls.noSubtitlesFound' => 'Субтитр табылмады',
'videoControls.subtitleDownloaded' => 'Субтитр жүктелді',
@@ -3234,9 +3236,9 @@ extension on TranslationsKk {
'watchTogether.enterCodeHint' => '5 таңбалы кодты енгізіңіз',
'watchTogether.pasteFromClipboard' => 'Алмасу буферінен қою',
'watchTogether.pleaseEnterCode' => 'Сеанс кодын енгізіңіз',
'watchTogether.codeMustBe5Chars' => 'Сеанс коды 5 таңбадан тұруы керек',
_ => null,
} ?? switch (path) {
'watchTogether.codeMustBe5Chars' => 'Сеанс коды 5 таңбадан тұруы керек',
'watchTogether.joinInstructions' => 'Ұйымдастырушының сеанс кодын енгізіңіз.',
'watchTogether.failedToCreate' => 'Сеансты жасау мүмкін болмады',
'watchTogether.failedToJoin' => 'Сеансқа қосылу мүмкін болмады',
+8 -6
View File
@@ -300,6 +300,8 @@ class _Translations$settings$ko extends Translations$settings$en {
@override String minutesUnit({required Object minutes}) => '${minutes}분';
@override String get rememberTrackSelections => '시리즈/영화별 트랙 선택 기억';
@override String get rememberTrackSelectionsDescription => '작품별 오디오 및 자막 선택 기억';
@override String get followServerTrackSelections => '서버의 에피소드별 트랙 선택 사용';
@override String get followServerTrackSelectionsDescription => '에피소드 전환 시 현재 선택을 유지하는 대신 서버에서 선택된 오디오와 자막을 적용합니다';
@override String get showChapterMarkersOnTimeline => '탐색 막대에 챕터 마커 표시';
@override String get showChapterMarkersOnTimelineDescription => '챕터 경계에서 탐색 막대 구분';
@override String get clickVideoTogglesPlayback => '동영상 클릭으로 재생/일시정지 전환';
@@ -507,8 +509,8 @@ class _Translations$fileInfo$ko extends Translations$fileInfo$en {
@override String get title => '파일 정보';
@override String get video => '비디오';
@override String get audio => '오디오';
@override String get subtitles => '자막';
@override String get file => '파일';
@override String get advanced => '고급';
@override String get codec => '코덱';
@override String get resolution => '해상도';
@override String get bitrate => '비트레이트';
@@ -521,7 +523,6 @@ class _Translations$fileInfo$ko extends Translations$fileInfo$en {
@override String get colorPrimaries => '색 원색';
@override String get chromaSubsampling => '색차 서브샘플링';
@override String get channels => '채널';
@override String get subtitles => '자막';
@override String get overallBitrate => '전체 비트레이트';
@override String get path => '경로';
@override String get size => '크기';
@@ -2353,6 +2354,8 @@ extension on TranslationsKo {
'settings.minutesUnit' => ({required Object minutes}) => '${minutes}분',
'settings.rememberTrackSelections' => '시리즈/영화별 트랙 선택 기억',
'settings.rememberTrackSelectionsDescription' => '작품별 오디오 및 자막 선택 기억',
'settings.followServerTrackSelections' => '서버의 에피소드별 트랙 선택 사용',
'settings.followServerTrackSelectionsDescription' => '에피소드 전환 시 현재 선택을 유지하는 대신 서버에서 선택된 오디오와 자막을 적용합니다',
'settings.showChapterMarkersOnTimeline' => '탐색 막대에 챕터 마커 표시',
'settings.showChapterMarkersOnTimelineDescription' => '챕터 경계에서 탐색 막대 구분',
'settings.clickVideoTogglesPlayback' => '동영상 클릭으로 재생/일시정지 전환',
@@ -2557,8 +2560,8 @@ extension on TranslationsKo {
'fileInfo.title' => '파일 정보',
'fileInfo.video' => '비디오',
'fileInfo.audio' => '오디오',
'fileInfo.subtitles' => '자막',
'fileInfo.file' => '파일',
'fileInfo.advanced' => '고급',
'fileInfo.codec' => '코덱',
'fileInfo.resolution' => '해상도',
'fileInfo.bitrate' => '비트레이트',
@@ -2571,7 +2574,6 @@ extension on TranslationsKo {
'fileInfo.colorPrimaries' => '색 원색',
'fileInfo.chromaSubsampling' => '색차 서브샘플링',
'fileInfo.channels' => '채널',
'fileInfo.subtitles' => '자막',
'fileInfo.overallBitrate' => '전체 비트레이트',
'fileInfo.path' => '경로',
'fileInfo.size' => '크기',
@@ -2706,9 +2708,9 @@ extension on TranslationsKo {
'videoControls.searchSubtitles' => '자막 검색',
'videoControls.language' => '언어',
'videoControls.noSubtitlesFound' => '자막을 찾을 수 없습니다',
'videoControls.subtitleDownloaded' => '자막이 다운로드되었습니다',
_ => null,
} ?? switch (path) {
'videoControls.subtitleDownloaded' => '자막이 다운로드되었습니다',
'videoControls.subtitleDownloadedNotApplied' => '자막을 다운로드했지만 선택할 수 없습니다',
'videoControls.subtitleDownloadFailed' => '자막 다운로드에 실패했습니다',
'videoControls.searchLanguages' => '언어 검색...',
@@ -3220,9 +3222,9 @@ extension on TranslationsKo {
'watchTogether.failedToCreate' => '세션 생성 실패',
'watchTogether.failedToJoin' => '세션 참여 실패',
'watchTogether.sessionCodeCopied' => '세션 코드가 클립보드에 복사되었습니다',
'watchTogether.relayUnreachable' => '릴레이 서버에 연결할 수 없습니다. ISP 차단으로 함께 보기를 사용하지 못할 수 있습니다.',
_ => null,
} ?? switch (path) {
'watchTogether.relayUnreachable' => '릴레이 서버에 연결할 수 없습니다. ISP 차단으로 함께 보기를 사용하지 못할 수 있습니다.',
'watchTogether.reconnectingToHost' => '호스트에 재연결 중...',
'watchTogether.currentPlayback' => '현재 재생',
'watchTogether.joinCurrentPlayback' => '현재 재생 참여',
+8 -6
View File
@@ -300,6 +300,8 @@ class _Translations$settings$nb extends Translations$settings$en {
@override String minutesUnit({required Object minutes}) => '${minutes} minutter';
@override String get rememberTrackSelections => 'Husk sporvalg per serie/film';
@override String get rememberTrackSelectionsDescription => 'Husk lyd- og undertekstvalg per tittel';
@override String get followServerTrackSelections => 'Bruk serverens sporvalg per episode';
@override String get followServerTrackSelectionsDescription => 'Ved episodebytte brukes lyden og undertekstene som er valgt på serveren, i stedet for å videreføre gjeldende valg';
@override String get showChapterMarkersOnTimeline => 'Vis kapittelmarkører på tidslinjen';
@override String get showChapterMarkersOnTimelineDescription => 'Del tidslinjen ved kapittelgrenser';
@override String get clickVideoTogglesPlayback => 'Klikk på video for å veksle avspilling';
@@ -507,8 +509,8 @@ class _Translations$fileInfo$nb extends Translations$fileInfo$en {
@override String get title => 'Filinformasjon';
@override String get video => 'Video';
@override String get audio => 'Lyd';
@override String get subtitles => 'Undertekster';
@override String get file => 'Fil';
@override String get advanced => 'Avansert';
@override String get codec => 'Kodek';
@override String get resolution => 'Oppløsning';
@override String get bitrate => 'Bitrate';
@@ -521,7 +523,6 @@ class _Translations$fileInfo$nb extends Translations$fileInfo$en {
@override String get colorPrimaries => 'Fargeprimærer';
@override String get chromaSubsampling => 'Krominansnedsampling';
@override String get channels => 'Kanaler';
@override String get subtitles => 'Undertekster';
@override String get overallBitrate => 'Total bitrate';
@override String get path => 'Sti';
@override String get size => 'Størrelse';
@@ -2356,6 +2357,8 @@ extension on TranslationsNb {
'settings.minutesUnit' => ({required Object minutes}) => '${minutes} minutter',
'settings.rememberTrackSelections' => 'Husk sporvalg per serie/film',
'settings.rememberTrackSelectionsDescription' => 'Husk lyd- og undertekstvalg per tittel',
'settings.followServerTrackSelections' => 'Bruk serverens sporvalg per episode',
'settings.followServerTrackSelectionsDescription' => 'Ved episodebytte brukes lyden og undertekstene som er valgt på serveren, i stedet for å videreføre gjeldende valg',
'settings.showChapterMarkersOnTimeline' => 'Vis kapittelmarkører på tidslinjen',
'settings.showChapterMarkersOnTimelineDescription' => 'Del tidslinjen ved kapittelgrenser',
'settings.clickVideoTogglesPlayback' => 'Klikk på video for å veksle avspilling',
@@ -2560,8 +2563,8 @@ extension on TranslationsNb {
'fileInfo.title' => 'Filinformasjon',
'fileInfo.video' => 'Video',
'fileInfo.audio' => 'Lyd',
'fileInfo.subtitles' => 'Undertekster',
'fileInfo.file' => 'Fil',
'fileInfo.advanced' => 'Avansert',
'fileInfo.codec' => 'Kodek',
'fileInfo.resolution' => 'Oppløsning',
'fileInfo.bitrate' => 'Bitrate',
@@ -2574,7 +2577,6 @@ extension on TranslationsNb {
'fileInfo.colorPrimaries' => 'Fargeprimærer',
'fileInfo.chromaSubsampling' => 'Krominansnedsampling',
'fileInfo.channels' => 'Kanaler',
'fileInfo.subtitles' => 'Undertekster',
'fileInfo.overallBitrate' => 'Total bitrate',
'fileInfo.path' => 'Sti',
'fileInfo.size' => 'Størrelse',
@@ -2709,9 +2711,9 @@ extension on TranslationsNb {
'videoControls.searchSubtitles' => 'Søk etter undertekster',
'videoControls.language' => 'Språk',
'videoControls.noSubtitlesFound' => 'Ingen undertekster funnet',
'videoControls.subtitleDownloaded' => 'Undertekst lastet ned',
_ => null,
} ?? switch (path) {
'videoControls.subtitleDownloaded' => 'Undertekst lastet ned',
'videoControls.subtitleDownloadedNotApplied' => 'Underteksten ble lastet ned, men kunne ikke velges',
'videoControls.subtitleDownloadFailed' => 'Kunne ikke laste ned undertekst',
'videoControls.searchLanguages' => 'Søk etter språk...',
@@ -3223,9 +3225,9 @@ extension on TranslationsNb {
'watchTogether.failedToCreate' => 'Kunne ikke opprette økt',
'watchTogether.failedToJoin' => 'Kunne ikke bli med i økt',
'watchTogether.sessionCodeCopied' => 'Øktkode kopiert til utklippstavle',
'watchTogether.relayUnreachable' => 'Reléserveren kan ikke nås. Blokkering hos internettleverandøren kan hindre Se sammen.',
_ => null,
} ?? switch (path) {
'watchTogether.relayUnreachable' => 'Reléserveren kan ikke nås. Blokkering hos internettleverandøren kan hindre Se sammen.',
'watchTogether.reconnectingToHost' => 'Kobler til verten på nytt...',
'watchTogether.currentPlayback' => 'Gjeldende avspilling',
'watchTogether.joinCurrentPlayback' => 'Bli med i gjeldende avspilling',
+8 -6
View File
@@ -300,6 +300,8 @@ class _Translations$settings$nl extends Translations$settings$en {
@override String minutesUnit({required Object minutes}) => '${minutes} minuten';
@override String get rememberTrackSelections => 'Trackselecties per serie of film onthouden';
@override String get rememberTrackSelectionsDescription => 'Onthoud audio- en ondertitelkeuzes per titel';
@override String get followServerTrackSelections => 'Trackselecties van de server per aflevering gebruiken';
@override String get followServerTrackSelectionsDescription => 'Pas bij het wisselen van aflevering de op de server geselecteerde audio en ondertitels toe in plaats van de huidige keuze over te nemen';
@override String get showChapterMarkersOnTimeline => 'Hoofdstukmarkeringen op tijdlijn tonen';
@override String get showChapterMarkersOnTimelineDescription => 'Verdeel de tijdlijn bij hoofdstukgrenzen';
@override String get clickVideoTogglesPlayback => 'Klik op de video om afspelen of pauzeren te wisselen';
@@ -507,8 +509,8 @@ class _Translations$fileInfo$nl extends Translations$fileInfo$en {
@override String get title => 'Bestandsinformatie';
@override String get video => 'Video';
@override String get audio => 'Audio';
@override String get subtitles => 'Ondertitels';
@override String get file => 'Bestand';
@override String get advanced => 'Geavanceerd';
@override String get codec => 'Codec';
@override String get resolution => 'Resolutie';
@override String get bitrate => 'Bitrate';
@@ -521,7 +523,6 @@ class _Translations$fileInfo$nl extends Translations$fileInfo$en {
@override String get colorPrimaries => 'Kleurprimaires';
@override String get chromaSubsampling => 'Chroma-subsampling';
@override String get channels => 'Kanalen';
@override String get subtitles => 'Ondertitels';
@override String get overallBitrate => 'Totale bitrate';
@override String get path => 'Pad';
@override String get size => 'Grootte';
@@ -2356,6 +2357,8 @@ extension on TranslationsNl {
'settings.minutesUnit' => ({required Object minutes}) => '${minutes} minuten',
'settings.rememberTrackSelections' => 'Trackselecties per serie of film onthouden',
'settings.rememberTrackSelectionsDescription' => 'Onthoud audio- en ondertitelkeuzes per titel',
'settings.followServerTrackSelections' => 'Trackselecties van de server per aflevering gebruiken',
'settings.followServerTrackSelectionsDescription' => 'Pas bij het wisselen van aflevering de op de server geselecteerde audio en ondertitels toe in plaats van de huidige keuze over te nemen',
'settings.showChapterMarkersOnTimeline' => 'Hoofdstukmarkeringen op tijdlijn tonen',
'settings.showChapterMarkersOnTimelineDescription' => 'Verdeel de tijdlijn bij hoofdstukgrenzen',
'settings.clickVideoTogglesPlayback' => 'Klik op de video om afspelen of pauzeren te wisselen',
@@ -2560,8 +2563,8 @@ extension on TranslationsNl {
'fileInfo.title' => 'Bestandsinformatie',
'fileInfo.video' => 'Video',
'fileInfo.audio' => 'Audio',
'fileInfo.subtitles' => 'Ondertitels',
'fileInfo.file' => 'Bestand',
'fileInfo.advanced' => 'Geavanceerd',
'fileInfo.codec' => 'Codec',
'fileInfo.resolution' => 'Resolutie',
'fileInfo.bitrate' => 'Bitrate',
@@ -2574,7 +2577,6 @@ extension on TranslationsNl {
'fileInfo.colorPrimaries' => 'Kleurprimaires',
'fileInfo.chromaSubsampling' => 'Chroma-subsampling',
'fileInfo.channels' => 'Kanalen',
'fileInfo.subtitles' => 'Ondertitels',
'fileInfo.overallBitrate' => 'Totale bitrate',
'fileInfo.path' => 'Pad',
'fileInfo.size' => 'Grootte',
@@ -2709,9 +2711,9 @@ extension on TranslationsNl {
'videoControls.searchSubtitles' => 'Ondertitels zoeken',
'videoControls.language' => 'Taal',
'videoControls.noSubtitlesFound' => 'Geen ondertitels gevonden',
'videoControls.subtitleDownloaded' => 'Ondertitel gedownload',
_ => null,
} ?? switch (path) {
'videoControls.subtitleDownloaded' => 'Ondertitel gedownload',
'videoControls.subtitleDownloadedNotApplied' => 'De ondertiteling is gedownload, maar kon niet worden geselecteerd',
'videoControls.subtitleDownloadFailed' => 'Ondertitel downloaden mislukt',
'videoControls.searchLanguages' => 'Talen zoeken...',
@@ -3223,9 +3225,9 @@ extension on TranslationsNl {
'watchTogether.failedToCreate' => 'Sessie maken mislukt',
'watchTogether.failedToJoin' => 'Deelnemen aan sessie mislukt',
'watchTogether.sessionCodeCopied' => 'Sessiecode naar het klembord gekopieerd',
'watchTogether.relayUnreachable' => 'De relayserver is onbereikbaar. Een blokkering door je internetprovider kan Samen kijken verhinderen.',
_ => null,
} ?? switch (path) {
'watchTogether.relayUnreachable' => 'De relayserver is onbereikbaar. Een blokkering door je internetprovider kan Samen kijken verhinderen.',
'watchTogether.reconnectingToHost' => 'Opnieuw verbinden met host...',
'watchTogether.currentPlayback' => 'Wat nu wordt afgespeeld',
'watchTogether.joinCurrentPlayback' => 'Deelnemen aan huidige weergave',
+8 -6
View File
@@ -300,6 +300,8 @@ class _Translations$settings$pl extends Translations$settings$en {
@override String minutesUnit({required Object minutes}) => '${minutes} minut';
@override String get rememberTrackSelections => 'Zapamiętuj wybór ścieżek dla każdego serialu i filmu';
@override String get rememberTrackSelectionsDescription => 'Zapamiętuj wybór ścieżki dźwiękowej i napisów dla każdego tytułu';
@override String get followServerTrackSelections => 'Używaj wyboru ścieżek z serwera dla każdego odcinka';
@override String get followServerTrackSelectionsDescription => 'Przy zmianie odcinka stosuj ścieżkę dźwiękową i napisy wybrane na serwerze zamiast przenosić bieżący wybór';
@override String get showChapterMarkersOnTimeline => 'Pokaż znaczniki rozdziałów na pasku przewijania';
@override String get showChapterMarkersOnTimelineDescription => 'Podziel pasek przewijania na granicach rozdziałów';
@override String get clickVideoTogglesPlayback => 'Kliknięcie wideo przełącza odtwarzanie/pauzę';
@@ -507,8 +509,8 @@ class _Translations$fileInfo$pl extends Translations$fileInfo$en {
@override String get title => 'Informacje o pliku';
@override String get video => 'Wideo';
@override String get audio => 'Audio';
@override String get subtitles => 'Napisy';
@override String get file => 'Plik';
@override String get advanced => 'Zaawansowane';
@override String get codec => 'Kodek';
@override String get resolution => 'Rozdzielczość';
@override String get bitrate => 'Przepływność';
@@ -521,7 +523,6 @@ class _Translations$fileInfo$pl extends Translations$fileInfo$en {
@override String get colorPrimaries => 'Kolory podstawowe';
@override String get chromaSubsampling => 'Podpróbkowanie chrominancji';
@override String get channels => 'Kanały';
@override String get subtitles => 'Napisy';
@override String get overallBitrate => 'Całkowita przepływność';
@override String get path => 'Ścieżka';
@override String get size => 'Rozmiar';
@@ -2362,6 +2363,8 @@ extension on TranslationsPl {
'settings.minutesUnit' => ({required Object minutes}) => '${minutes} minut',
'settings.rememberTrackSelections' => 'Zapamiętuj wybór ścieżek dla każdego serialu i filmu',
'settings.rememberTrackSelectionsDescription' => 'Zapamiętuj wybór ścieżki dźwiękowej i napisów dla każdego tytułu',
'settings.followServerTrackSelections' => 'Używaj wyboru ścieżek z serwera dla każdego odcinka',
'settings.followServerTrackSelectionsDescription' => 'Przy zmianie odcinka stosuj ścieżkę dźwiękową i napisy wybrane na serwerze zamiast przenosić bieżący wybór',
'settings.showChapterMarkersOnTimeline' => 'Pokaż znaczniki rozdziałów na pasku przewijania',
'settings.showChapterMarkersOnTimelineDescription' => 'Podziel pasek przewijania na granicach rozdziałów',
'settings.clickVideoTogglesPlayback' => 'Kliknięcie wideo przełącza odtwarzanie/pauzę',
@@ -2566,8 +2569,8 @@ extension on TranslationsPl {
'fileInfo.title' => 'Informacje o pliku',
'fileInfo.video' => 'Wideo',
'fileInfo.audio' => 'Audio',
'fileInfo.subtitles' => 'Napisy',
'fileInfo.file' => 'Plik',
'fileInfo.advanced' => 'Zaawansowane',
'fileInfo.codec' => 'Kodek',
'fileInfo.resolution' => 'Rozdzielczość',
'fileInfo.bitrate' => 'Przepływność',
@@ -2580,7 +2583,6 @@ extension on TranslationsPl {
'fileInfo.colorPrimaries' => 'Kolory podstawowe',
'fileInfo.chromaSubsampling' => 'Podpróbkowanie chrominancji',
'fileInfo.channels' => 'Kanały',
'fileInfo.subtitles' => 'Napisy',
'fileInfo.overallBitrate' => 'Całkowita przepływność',
'fileInfo.path' => 'Ścieżka',
'fileInfo.size' => 'Rozmiar',
@@ -2715,9 +2717,9 @@ extension on TranslationsPl {
'videoControls.searchSubtitles' => 'Szukaj napisów',
'videoControls.language' => 'Język',
'videoControls.noSubtitlesFound' => 'Nie znaleziono napisów',
'videoControls.subtitleDownloaded' => 'Napisy pobrane',
_ => null,
} ?? switch (path) {
'videoControls.subtitleDownloaded' => 'Napisy pobrane',
'videoControls.subtitleDownloadedNotApplied' => 'Napisy zostały pobrane, ale nie można ich było wybrać',
'videoControls.subtitleDownloadFailed' => 'Nie udało się pobrać napisów',
'videoControls.searchLanguages' => 'Szukaj języków...',
@@ -3229,9 +3231,9 @@ extension on TranslationsPl {
'watchTogether.failedToCreate' => 'Nie udało się utworzyć sesji',
'watchTogether.failedToJoin' => 'Nie udało się dołączyć do sesji',
'watchTogether.sessionCodeCopied' => 'Kod sesji skopiowany do schowka',
'watchTogether.relayUnreachable' => 'Serwer pośredniczący jest nieosiągalny. Blokada operatora internetowego może uniemożliwiać korzystanie z funkcji „Oglądaj razem”.',
_ => null,
} ?? switch (path) {
'watchTogether.relayUnreachable' => 'Serwer pośredniczący jest nieosiągalny. Blokada operatora internetowego może uniemożliwiać korzystanie z funkcji „Oglądaj razem”.',
'watchTogether.reconnectingToHost' => 'Ponowne łączenie z gospodarzem...',
'watchTogether.currentPlayback' => 'Bieżące odtwarzanie',
'watchTogether.joinCurrentPlayback' => 'Dołącz do bieżącego odtwarzania',
+8 -6
View File
@@ -300,6 +300,8 @@ class _Translations$settings$pt extends Translations$settings$en {
@override String minutesUnit({required Object minutes}) => '${minutes} minutos';
@override String get rememberTrackSelections => 'Lembrar seleção de faixas por série/filme';
@override String get rememberTrackSelectionsDescription => 'Lembrar escolhas de áudio e legendas por título';
@override String get followServerTrackSelections => 'Usar a seleção de faixas do servidor por episódio';
@override String get followServerTrackSelectionsDescription => 'Ao mudar de episódio, aplicar o áudio e as legendas selecionados no servidor em vez de manter a escolha atual';
@override String get showChapterMarkersOnTimeline => 'Mostrar marcadores de capítulos na barra de reprodução';
@override String get showChapterMarkersOnTimelineDescription => 'Segmentar a barra de reprodução nos limites dos capítulos';
@override String get clickVideoTogglesPlayback => 'Clicar no vídeo para alternar reprodução/pausa';
@@ -507,8 +509,8 @@ class _Translations$fileInfo$pt extends Translations$fileInfo$en {
@override String get title => 'Informações do arquivo';
@override String get video => 'Vídeo';
@override String get audio => 'Áudio';
@override String get subtitles => 'Legendas';
@override String get file => 'Arquivo';
@override String get advanced => 'Avançado';
@override String get codec => 'Codec';
@override String get resolution => 'Resolução';
@override String get bitrate => 'Taxa de bits';
@@ -521,7 +523,6 @@ class _Translations$fileInfo$pt extends Translations$fileInfo$en {
@override String get colorPrimaries => 'Primárias de Cor';
@override String get chromaSubsampling => 'Subamostragem de Croma';
@override String get channels => 'Canais';
@override String get subtitles => 'Legendas';
@override String get overallBitrate => 'Taxa de bits total';
@override String get path => 'Caminho';
@override String get size => 'Tamanho';
@@ -2356,6 +2357,8 @@ extension on TranslationsPt {
'settings.minutesUnit' => ({required Object minutes}) => '${minutes} minutos',
'settings.rememberTrackSelections' => 'Lembrar seleção de faixas por série/filme',
'settings.rememberTrackSelectionsDescription' => 'Lembrar escolhas de áudio e legendas por título',
'settings.followServerTrackSelections' => 'Usar a seleção de faixas do servidor por episódio',
'settings.followServerTrackSelectionsDescription' => 'Ao mudar de episódio, aplicar o áudio e as legendas selecionados no servidor em vez de manter a escolha atual',
'settings.showChapterMarkersOnTimeline' => 'Mostrar marcadores de capítulos na barra de reprodução',
'settings.showChapterMarkersOnTimelineDescription' => 'Segmentar a barra de reprodução nos limites dos capítulos',
'settings.clickVideoTogglesPlayback' => 'Clicar no vídeo para alternar reprodução/pausa',
@@ -2560,8 +2563,8 @@ extension on TranslationsPt {
'fileInfo.title' => 'Informações do arquivo',
'fileInfo.video' => 'Vídeo',
'fileInfo.audio' => 'Áudio',
'fileInfo.subtitles' => 'Legendas',
'fileInfo.file' => 'Arquivo',
'fileInfo.advanced' => 'Avançado',
'fileInfo.codec' => 'Codec',
'fileInfo.resolution' => 'Resolução',
'fileInfo.bitrate' => 'Taxa de bits',
@@ -2574,7 +2577,6 @@ extension on TranslationsPt {
'fileInfo.colorPrimaries' => 'Primárias de Cor',
'fileInfo.chromaSubsampling' => 'Subamostragem de Croma',
'fileInfo.channels' => 'Canais',
'fileInfo.subtitles' => 'Legendas',
'fileInfo.overallBitrate' => 'Taxa de bits total',
'fileInfo.path' => 'Caminho',
'fileInfo.size' => 'Tamanho',
@@ -2709,9 +2711,9 @@ extension on TranslationsPt {
'videoControls.searchSubtitles' => 'Pesquisar legendas',
'videoControls.language' => 'Idioma',
'videoControls.noSubtitlesFound' => 'Nenhuma legenda encontrada',
'videoControls.subtitleDownloaded' => 'Legenda baixada',
_ => null,
} ?? switch (path) {
'videoControls.subtitleDownloaded' => 'Legenda baixada',
'videoControls.subtitleDownloadedNotApplied' => 'A legenda foi baixada, mas não foi possível selecioná-la',
'videoControls.subtitleDownloadFailed' => 'Falha ao baixar legenda',
'videoControls.searchLanguages' => 'Pesquisar idiomas...',
@@ -3223,9 +3225,9 @@ extension on TranslationsPt {
'watchTogether.failedToCreate' => 'Falha ao criar sessão',
'watchTogether.failedToJoin' => 'Falha ao entrar na sessão',
'watchTogether.sessionCodeCopied' => 'Código da sessão copiado para a área de transferência',
'watchTogether.relayUnreachable' => 'Servidor de retransmissão inacessível. O bloqueio pelo provedor de internet pode impedir o uso do Assistir Juntos.',
_ => null,
} ?? switch (path) {
'watchTogether.relayUnreachable' => 'Servidor de retransmissão inacessível. O bloqueio pelo provedor de internet pode impedir o uso do Assistir Juntos.',
'watchTogether.reconnectingToHost' => 'Reconectando ao anfitrião...',
'watchTogether.currentPlayback' => 'Reprodução atual',
'watchTogether.joinCurrentPlayback' => 'Entrar na reprodução atual',
+8 -6
View File
@@ -300,6 +300,8 @@ class _Translations$settings$ru extends Translations$settings$en {
@override String minutesUnit({required Object minutes}) => '${minutes} мин';
@override String get rememberTrackSelections => 'Запоминать выбор дорожек для каждого сериала/фильма';
@override String get rememberTrackSelectionsDescription => 'Запоминать выбор аудиодорожки и субтитров для каждого материала';
@override String get followServerTrackSelections => 'Использовать выбор дорожек сервера для каждой серии';
@override String get followServerTrackSelectionsDescription => 'При смене серии применять аудио и субтитры, выбранные на сервере, вместо переноса текущего выбора';
@override String get showChapterMarkersOnTimeline => 'Показывать маркеры глав на шкале перемотки';
@override String get showChapterMarkersOnTimelineDescription => 'Разделять шкалу перемотки по границам глав';
@override String get clickVideoTogglesPlayback => 'Нажатие на видео запускает или приостанавливает воспроизведение';
@@ -507,8 +509,8 @@ class _Translations$fileInfo$ru extends Translations$fileInfo$en {
@override String get title => 'Информация о файле';
@override String get video => 'Видео';
@override String get audio => 'Аудио';
@override String get subtitles => 'Субтитры';
@override String get file => 'Файл';
@override String get advanced => 'Дополнительно';
@override String get codec => 'Кодек';
@override String get resolution => 'Разрешение';
@override String get bitrate => 'Битрейт';
@@ -521,7 +523,6 @@ class _Translations$fileInfo$ru extends Translations$fileInfo$en {
@override String get colorPrimaries => 'Основные цвета';
@override String get chromaSubsampling => 'Субдискретизация цветности';
@override String get channels => 'Каналы';
@override String get subtitles => 'Субтитры';
@override String get overallBitrate => 'Общий битрейт';
@override String get path => 'Путь';
@override String get size => 'Размер';
@@ -2362,6 +2363,8 @@ extension on TranslationsRu {
'settings.minutesUnit' => ({required Object minutes}) => '${minutes} мин',
'settings.rememberTrackSelections' => 'Запоминать выбор дорожек для каждого сериала/фильма',
'settings.rememberTrackSelectionsDescription' => 'Запоминать выбор аудиодорожки и субтитров для каждого материала',
'settings.followServerTrackSelections' => 'Использовать выбор дорожек сервера для каждой серии',
'settings.followServerTrackSelectionsDescription' => 'При смене серии применять аудио и субтитры, выбранные на сервере, вместо переноса текущего выбора',
'settings.showChapterMarkersOnTimeline' => 'Показывать маркеры глав на шкале перемотки',
'settings.showChapterMarkersOnTimelineDescription' => 'Разделять шкалу перемотки по границам глав',
'settings.clickVideoTogglesPlayback' => 'Нажатие на видео запускает или приостанавливает воспроизведение',
@@ -2566,8 +2569,8 @@ extension on TranslationsRu {
'fileInfo.title' => 'Информация о файле',
'fileInfo.video' => 'Видео',
'fileInfo.audio' => 'Аудио',
'fileInfo.subtitles' => 'Субтитры',
'fileInfo.file' => 'Файл',
'fileInfo.advanced' => 'Дополнительно',
'fileInfo.codec' => 'Кодек',
'fileInfo.resolution' => 'Разрешение',
'fileInfo.bitrate' => 'Битрейт',
@@ -2580,7 +2583,6 @@ extension on TranslationsRu {
'fileInfo.colorPrimaries' => 'Основные цвета',
'fileInfo.chromaSubsampling' => 'Субдискретизация цветности',
'fileInfo.channels' => 'Каналы',
'fileInfo.subtitles' => 'Субтитры',
'fileInfo.overallBitrate' => 'Общий битрейт',
'fileInfo.path' => 'Путь',
'fileInfo.size' => 'Размер',
@@ -2715,9 +2717,9 @@ extension on TranslationsRu {
'videoControls.searchSubtitles' => 'Поиск субтитров',
'videoControls.language' => 'Язык',
'videoControls.noSubtitlesFound' => 'Субтитры не найдены',
'videoControls.subtitleDownloaded' => 'Субтитры загружены',
_ => null,
} ?? switch (path) {
'videoControls.subtitleDownloaded' => 'Субтитры загружены',
'videoControls.subtitleDownloadedNotApplied' => 'Субтитры загружены, но их не удалось выбрать',
'videoControls.subtitleDownloadFailed' => 'Не удалось загрузить субтитры',
'videoControls.searchLanguages' => 'Поиск языков...',
@@ -3229,9 +3231,9 @@ extension on TranslationsRu {
'watchTogether.failedToCreate' => 'Не удалось создать сессию',
'watchTogether.failedToJoin' => 'Не удалось присоединиться к сессии',
'watchTogether.sessionCodeCopied' => 'Код сессии скопирован в буфер обмена',
'watchTogether.relayUnreachable' => 'Сервер ретрансляции недоступен. Блокировка интернет-провайдером может помешать совместному просмотру.',
_ => null,
} ?? switch (path) {
'watchTogether.relayUnreachable' => 'Сервер ретрансляции недоступен. Блокировка интернет-провайдером может помешать совместному просмотру.',
'watchTogether.reconnectingToHost' => 'Повторное подключение к организатору...',
'watchTogether.currentPlayback' => 'Текущее воспроизведение',
'watchTogether.joinCurrentPlayback' => 'Присоединиться к текущему воспроизведению',
+8 -6
View File
@@ -300,6 +300,8 @@ class _Translations$settings$sv extends Translations$settings$en {
@override String minutesUnit({required Object minutes}) => '${minutes} minuter';
@override String get rememberTrackSelections => 'Kom ihåg spårval per serie/film';
@override String get rememberTrackSelectionsDescription => 'Kom ihåg ljud- och undertextval per titel';
@override String get followServerTrackSelections => 'Använd serverns spårval per avsnitt';
@override String get followServerTrackSelectionsDescription => 'Vid avsnittsbyte används ljudet och undertexterna som valts på servern i stället för att föra över det aktuella valet';
@override String get showChapterMarkersOnTimeline => 'Visa kapitelmarkörer på tidslinjen';
@override String get showChapterMarkersOnTimelineDescription => 'Dela upp tidslinjen vid kapitelgränser';
@override String get clickVideoTogglesPlayback => 'Klicka på videon för att spela upp eller pausa';
@@ -507,8 +509,8 @@ class _Translations$fileInfo$sv extends Translations$fileInfo$en {
@override String get title => 'Filinformation';
@override String get video => 'Video';
@override String get audio => 'Ljud';
@override String get subtitles => 'Undertexter';
@override String get file => 'Fil';
@override String get advanced => 'Avancerat';
@override String get codec => 'Kodek';
@override String get resolution => 'Upplösning';
@override String get bitrate => 'Bithastighet';
@@ -521,7 +523,6 @@ class _Translations$fileInfo$sv extends Translations$fileInfo$en {
@override String get colorPrimaries => 'Färgprimärer';
@override String get chromaSubsampling => 'Krominansnedsampling';
@override String get channels => 'Kanaler';
@override String get subtitles => 'Undertexter';
@override String get overallBitrate => 'Total bithastighet';
@override String get path => 'Sökväg';
@override String get size => 'Storlek';
@@ -2356,6 +2357,8 @@ extension on TranslationsSv {
'settings.minutesUnit' => ({required Object minutes}) => '${minutes} minuter',
'settings.rememberTrackSelections' => 'Kom ihåg spårval per serie/film',
'settings.rememberTrackSelectionsDescription' => 'Kom ihåg ljud- och undertextval per titel',
'settings.followServerTrackSelections' => 'Använd serverns spårval per avsnitt',
'settings.followServerTrackSelectionsDescription' => 'Vid avsnittsbyte används ljudet och undertexterna som valts på servern i stället för att föra över det aktuella valet',
'settings.showChapterMarkersOnTimeline' => 'Visa kapitelmarkörer på tidslinjen',
'settings.showChapterMarkersOnTimelineDescription' => 'Dela upp tidslinjen vid kapitelgränser',
'settings.clickVideoTogglesPlayback' => 'Klicka på videon för att spela upp eller pausa',
@@ -2560,8 +2563,8 @@ extension on TranslationsSv {
'fileInfo.title' => 'Filinformation',
'fileInfo.video' => 'Video',
'fileInfo.audio' => 'Ljud',
'fileInfo.subtitles' => 'Undertexter',
'fileInfo.file' => 'Fil',
'fileInfo.advanced' => 'Avancerat',
'fileInfo.codec' => 'Kodek',
'fileInfo.resolution' => 'Upplösning',
'fileInfo.bitrate' => 'Bithastighet',
@@ -2574,7 +2577,6 @@ extension on TranslationsSv {
'fileInfo.colorPrimaries' => 'Färgprimärer',
'fileInfo.chromaSubsampling' => 'Krominansnedsampling',
'fileInfo.channels' => 'Kanaler',
'fileInfo.subtitles' => 'Undertexter',
'fileInfo.overallBitrate' => 'Total bithastighet',
'fileInfo.path' => 'Sökväg',
'fileInfo.size' => 'Storlek',
@@ -2709,9 +2711,9 @@ extension on TranslationsSv {
'videoControls.searchSubtitles' => 'Sök undertexter',
'videoControls.language' => 'Språk',
'videoControls.noSubtitlesFound' => 'Inga undertexter hittades',
'videoControls.subtitleDownloaded' => 'Undertexten har laddats ned',
_ => null,
} ?? switch (path) {
'videoControls.subtitleDownloaded' => 'Undertexten har laddats ned',
'videoControls.subtitleDownloadedNotApplied' => 'Undertexten laddades ned men kunde inte väljas',
'videoControls.subtitleDownloadFailed' => 'Det gick inte att ladda ned undertexten',
'videoControls.searchLanguages' => 'Sök språk...',
@@ -3223,9 +3225,9 @@ extension on TranslationsSv {
'watchTogether.failedToCreate' => 'Det gick inte att skapa sessionen',
'watchTogether.failedToJoin' => 'Det gick inte att gå med i sessionen',
'watchTogether.sessionCodeCopied' => 'Sessionskoden har kopierats till urklipp',
'watchTogether.relayUnreachable' => 'Reläservern kan inte nås. Din internetleverantör kan blockera Titta tillsammans.',
_ => null,
} ?? switch (path) {
'watchTogether.relayUnreachable' => 'Reläservern kan inte nås. Din internetleverantör kan blockera Titta tillsammans.',
'watchTogether.reconnectingToHost' => 'Återansluter till värden...',
'watchTogether.currentPlayback' => 'Aktuell uppspelning',
'watchTogether.joinCurrentPlayback' => 'Gå med i aktuell uppspelning',
+8 -6
View File
@@ -300,6 +300,8 @@ class _Translations$settings$tr extends Translations$settings$en {
@override String minutesUnit({required Object minutes}) => '${minutes} dakika';
@override String get rememberTrackSelections => 'Dizi/film başına ses/altyazı seçimlerini hatırla';
@override String get rememberTrackSelectionsDescription => 'İçerik başına ses ve altyazı tercihlerini hatırla';
@override String get followServerTrackSelections => 'Sunucunun bölüm başına parça seçimlerini kullan';
@override String get followServerTrackSelectionsDescription => 'Bölüm değiştiğinde geçerli seçimi taşımak yerine sunucuda seçilen ses ve altyazıyı uygula';
@override String get showChapterMarkersOnTimeline => 'Zaman çubuğunda kısım işaretçilerini göster';
@override String get showChapterMarkersOnTimelineDescription => 'Zaman çubuğunu kısım sınırlarına göre böl';
@override String get clickVideoTogglesPlayback => 'Oynat/duraklat için videoya tıkla';
@@ -510,8 +512,8 @@ class _Translations$fileInfo$tr extends Translations$fileInfo$en {
@override String get title => 'Dosya Bilgisi';
@override String get video => 'Video';
@override String get audio => 'Ses';
@override String get subtitles => 'Altyazılar';
@override String get file => 'Dosya';
@override String get advanced => 'Gelişmiş';
@override String get codec => 'Kodek';
@override String get resolution => 'Çözünürlük';
@override String get bitrate => 'Bit Hızı (Bitrate)';
@@ -524,7 +526,6 @@ class _Translations$fileInfo$tr extends Translations$fileInfo$en {
@override String get colorPrimaries => 'Ana Renkler';
@override String get chromaSubsampling => 'Renk Alt Örneklemesi';
@override String get channels => 'Kanallar';
@override String get subtitles => 'Altyazılar';
@override String get overallBitrate => 'Genel Bit Hızı';
@override String get path => 'Yol';
@override String get size => 'Boyut';
@@ -2367,6 +2368,8 @@ extension on TranslationsTr {
'settings.minutesUnit' => ({required Object minutes}) => '${minutes} dakika',
'settings.rememberTrackSelections' => 'Dizi/film başına ses/altyazı seçimlerini hatırla',
'settings.rememberTrackSelectionsDescription' => 'İçerik başına ses ve altyazı tercihlerini hatırla',
'settings.followServerTrackSelections' => 'Sunucunun bölüm başına parça seçimlerini kullan',
'settings.followServerTrackSelectionsDescription' => 'Bölüm değiştiğinde geçerli seçimi taşımak yerine sunucuda seçilen ses ve altyazıyı uygula',
'settings.showChapterMarkersOnTimeline' => 'Zaman çubuğunda kısım işaretçilerini göster',
'settings.showChapterMarkersOnTimelineDescription' => 'Zaman çubuğunu kısım sınırlarına göre böl',
'settings.clickVideoTogglesPlayback' => 'Oynat/duraklat için videoya tıkla',
@@ -2574,8 +2577,8 @@ extension on TranslationsTr {
'fileInfo.title' => 'Dosya Bilgisi',
'fileInfo.video' => 'Video',
'fileInfo.audio' => 'Ses',
'fileInfo.subtitles' => 'Altyazılar',
'fileInfo.file' => 'Dosya',
'fileInfo.advanced' => 'Gelişmiş',
'fileInfo.codec' => 'Kodek',
'fileInfo.resolution' => 'Çözünürlük',
'fileInfo.bitrate' => 'Bit Hızı (Bitrate)',
@@ -2588,7 +2591,6 @@ extension on TranslationsTr {
'fileInfo.colorPrimaries' => 'Ana Renkler',
'fileInfo.chromaSubsampling' => 'Renk Alt Örneklemesi',
'fileInfo.channels' => 'Kanallar',
'fileInfo.subtitles' => 'Altyazılar',
'fileInfo.overallBitrate' => 'Genel Bit Hızı',
'fileInfo.path' => 'Yol',
'fileInfo.size' => 'Boyut',
@@ -2720,9 +2722,9 @@ extension on TranslationsTr {
'videoControls.noChaptersAvailable' => 'Kısım bulunmuyor',
'videoControls.queue' => 'Kuyruk',
'videoControls.noQueueItems' => 'Kuyrukta öge yok',
'videoControls.searchSubtitles' => 'Altyazı Ara',
_ => null,
} ?? switch (path) {
'videoControls.searchSubtitles' => 'Altyazı Ara',
'videoControls.language' => 'Dil',
'videoControls.noSubtitlesFound' => 'Altyazı bulunamadı',
'videoControls.subtitleDownloaded' => 'Altyazı indirildi',
@@ -3234,9 +3236,9 @@ extension on TranslationsTr {
'watchTogether.enterCodeHint' => '5 karakterlik kodu girin',
'watchTogether.pasteFromClipboard' => 'Panodan yapıştır',
'watchTogether.pleaseEnterCode' => 'Lütfen bir oturum kodu girin',
'watchTogether.codeMustBe5Chars' => 'Oturum kodu 5 karakter olmalıdır',
_ => null,
} ?? switch (path) {
'watchTogether.codeMustBe5Chars' => 'Oturum kodu 5 karakter olmalıdır',
'watchTogether.joinInstructions' => 'Katılmak için kurucunun oturum kodunu girin.',
'watchTogether.failedToCreate' => 'Oturum oluşturulamadı',
'watchTogether.failedToJoin' => 'Oturuma katılınamadı',
+8 -6
View File
@@ -300,6 +300,8 @@ class _Translations$settings$uz extends Translations$settings$en {
@override String minutesUnit({required Object minutes}) => '${minutes} daqiqa';
@override String get rememberTrackSelections => 'Har bir film/serial uchun ovoz/subtitr tanlovini eslab qolish';
@override String get rememberTrackSelectionsDescription => 'Har bir media uchun ovoz va subtitr sozlamalarini saqlash';
@override String get followServerTrackSelections => 'Har bir epizod uchun serverdagi tanlovlardan foydalanish';
@override String get followServerTrackSelectionsDescription => 'Epizod almashganda joriy tanlovni ko\'chirish o\'rniga serverda tanlangan ovoz va subtitrni qo\'llash';
@override String get showChapterMarkersOnTimeline => 'Vaqt shkalasida boʻlim belgilarini koʻrsatish';
@override String get showChapterMarkersOnTimelineDescription => 'Vaqt shkalasini boʻlimlarga boʻlish';
@override String get clickVideoTogglesPlayback => 'Ijro/pauza uchun videoga bosing';
@@ -510,8 +512,8 @@ class _Translations$fileInfo$uz extends Translations$fileInfo$en {
@override String get title => 'Fayl haqida maʼlumot';
@override String get video => 'Video';
@override String get audio => 'Audio';
@override String get subtitles => 'Subtitrlar';
@override String get file => 'Fayl';
@override String get advanced => 'Kengaytirilgan';
@override String get codec => 'Kodek';
@override String get resolution => 'Oʻlchamlari (Resolution)';
@override String get bitrate => 'Bitreyt (Bitrate)';
@@ -524,7 +526,6 @@ class _Translations$fileInfo$uz extends Translations$fileInfo$en {
@override String get colorPrimaries => 'Asosiy ranglar';
@override String get chromaSubsampling => 'Rangli subdiskretlash';
@override String get channels => 'Kanallar';
@override String get subtitles => 'Subtitrlar';
@override String get overallBitrate => 'Umumiy bitreyt';
@override String get path => 'Yoʻl';
@override String get size => 'Hajmi';
@@ -2367,6 +2368,8 @@ extension on TranslationsUz {
'settings.minutesUnit' => ({required Object minutes}) => '${minutes} daqiqa',
'settings.rememberTrackSelections' => 'Har bir film/serial uchun ovoz/subtitr tanlovini eslab qolish',
'settings.rememberTrackSelectionsDescription' => 'Har bir media uchun ovoz va subtitr sozlamalarini saqlash',
'settings.followServerTrackSelections' => 'Har bir epizod uchun serverdagi tanlovlardan foydalanish',
'settings.followServerTrackSelectionsDescription' => 'Epizod almashganda joriy tanlovni ko\'chirish o\'rniga serverda tanlangan ovoz va subtitrni qo\'llash',
'settings.showChapterMarkersOnTimeline' => 'Vaqt shkalasida boʻlim belgilarini koʻrsatish',
'settings.showChapterMarkersOnTimelineDescription' => 'Vaqt shkalasini boʻlimlarga boʻlish',
'settings.clickVideoTogglesPlayback' => 'Ijro/pauza uchun videoga bosing',
@@ -2574,8 +2577,8 @@ extension on TranslationsUz {
'fileInfo.title' => 'Fayl haqida maʼlumot',
'fileInfo.video' => 'Video',
'fileInfo.audio' => 'Audio',
'fileInfo.subtitles' => 'Subtitrlar',
'fileInfo.file' => 'Fayl',
'fileInfo.advanced' => 'Kengaytirilgan',
'fileInfo.codec' => 'Kodek',
'fileInfo.resolution' => 'Oʻlchamlari (Resolution)',
'fileInfo.bitrate' => 'Bitreyt (Bitrate)',
@@ -2588,7 +2591,6 @@ extension on TranslationsUz {
'fileInfo.colorPrimaries' => 'Asosiy ranglar',
'fileInfo.chromaSubsampling' => 'Rangli subdiskretlash',
'fileInfo.channels' => 'Kanallar',
'fileInfo.subtitles' => 'Subtitrlar',
'fileInfo.overallBitrate' => 'Umumiy bitreyt',
'fileInfo.path' => 'Yoʻl',
'fileInfo.size' => 'Hajmi',
@@ -2720,9 +2722,9 @@ extension on TranslationsUz {
'videoControls.noChaptersAvailable' => 'Boʻlimlar mavjud emas',
'videoControls.queue' => 'Navbat',
'videoControls.noQueueItems' => 'Navbatda elementlar yoʻq',
'videoControls.searchSubtitles' => 'Subtitr qidirish',
_ => null,
} ?? switch (path) {
'videoControls.searchSubtitles' => 'Subtitr qidirish',
'videoControls.language' => 'Til',
'videoControls.noSubtitlesFound' => 'Subtitr topilmadi',
'videoControls.subtitleDownloaded' => 'Subtitr yuklab olindi',
@@ -3234,9 +3236,9 @@ extension on TranslationsUz {
'watchTogether.enterCodeHint' => '5 xonali kodni kiriting',
'watchTogether.pasteFromClipboard' => 'Xotiradan joylash',
'watchTogether.pleaseEnterCode' => 'Seans kodini kiriting',
'watchTogether.codeMustBe5Chars' => 'Seans kodi 5 ta belgidan iborat boʻlishi kerak',
_ => null,
} ?? switch (path) {
'watchTogether.codeMustBe5Chars' => 'Seans kodi 5 ta belgidan iborat boʻlishi kerak',
'watchTogether.joinInstructions' => 'Tashkilotchining seans kodini kiriting.',
'watchTogether.failedToCreate' => 'Seansni yaratib boʻlmadi',
'watchTogether.failedToJoin' => 'Seansga qoʻshilib boʻlmadi',
+8 -6
View File
@@ -300,6 +300,8 @@ class Translations$settings$zh extends Translations$settings$en {
@override String minutesUnit({required Object minutes}) => '${minutes} 分钟';
@override String get rememberTrackSelections => '记住每部剧集或电影的音轨选择';
@override String get rememberTrackSelectionsDescription => '分别记住每部内容的音频和字幕选择';
@override String get followServerTrackSelections => '使用服务器为每集选择的轨道';
@override String get followServerTrackSelectionsDescription => '切换剧集时,应用服务器上为该集选择的音频和字幕,而不是沿用当前选择';
@override String get showChapterMarkersOnTimeline => '在进度条上显示章节标记';
@override String get showChapterMarkersOnTimelineDescription => '按章节边界分段显示进度条';
@override String get clickVideoTogglesPlayback => '点击视频可切换播放/暂停';
@@ -507,8 +509,8 @@ class Translations$fileInfo$zh extends Translations$fileInfo$en {
@override String get title => '文件信息';
@override String get video => '视频';
@override String get audio => '音频';
@override String get subtitles => '字幕';
@override String get file => '文件';
@override String get advanced => '高级';
@override String get codec => '编解码器';
@override String get resolution => '分辨率';
@override String get bitrate => '比特率';
@@ -521,7 +523,6 @@ class Translations$fileInfo$zh extends Translations$fileInfo$en {
@override String get colorPrimaries => '色彩基色';
@override String get chromaSubsampling => '色度子采样';
@override String get channels => '声道';
@override String get subtitles => '字幕';
@override String get overallBitrate => '总比特率';
@override String get path => '路径';
@override String get size => '大小';
@@ -2353,6 +2354,8 @@ extension on TranslationsZh {
'settings.minutesUnit' => ({required Object minutes}) => '${minutes} 分钟',
'settings.rememberTrackSelections' => '记住每部剧集或电影的音轨选择',
'settings.rememberTrackSelectionsDescription' => '分别记住每部内容的音频和字幕选择',
'settings.followServerTrackSelections' => '使用服务器为每集选择的轨道',
'settings.followServerTrackSelectionsDescription' => '切换剧集时,应用服务器上为该集选择的音频和字幕,而不是沿用当前选择',
'settings.showChapterMarkersOnTimeline' => '在进度条上显示章节标记',
'settings.showChapterMarkersOnTimelineDescription' => '按章节边界分段显示进度条',
'settings.clickVideoTogglesPlayback' => '点击视频可切换播放/暂停',
@@ -2557,8 +2560,8 @@ extension on TranslationsZh {
'fileInfo.title' => '文件信息',
'fileInfo.video' => '视频',
'fileInfo.audio' => '音频',
'fileInfo.subtitles' => '字幕',
'fileInfo.file' => '文件',
'fileInfo.advanced' => '高级',
'fileInfo.codec' => '编解码器',
'fileInfo.resolution' => '分辨率',
'fileInfo.bitrate' => '比特率',
@@ -2571,7 +2574,6 @@ extension on TranslationsZh {
'fileInfo.colorPrimaries' => '色彩基色',
'fileInfo.chromaSubsampling' => '色度子采样',
'fileInfo.channels' => '声道',
'fileInfo.subtitles' => '字幕',
'fileInfo.overallBitrate' => '总比特率',
'fileInfo.path' => '路径',
'fileInfo.size' => '大小',
@@ -2706,9 +2708,9 @@ extension on TranslationsZh {
'videoControls.searchSubtitles' => '搜索字幕',
'videoControls.language' => '语言',
'videoControls.noSubtitlesFound' => '未找到字幕',
'videoControls.subtitleDownloaded' => '字幕已下载',
_ => null,
} ?? switch (path) {
'videoControls.subtitleDownloaded' => '字幕已下载',
'videoControls.subtitleDownloadedNotApplied' => '字幕已下载,但无法选择',
'videoControls.subtitleDownloadFailed' => '字幕下载失败',
'videoControls.searchLanguages' => '搜索语言…',
@@ -3220,9 +3222,9 @@ extension on TranslationsZh {
'watchTogether.failedToCreate' => '创建会话失败',
'watchTogether.failedToJoin' => '加入会话失败',
'watchTogether.sessionCodeCopied' => '会话代码已复制到剪贴板',
'watchTogether.relayUnreachable' => '无法访问中继服务器。网络运营商的屏蔽可能导致“一起看”不可用。',
_ => null,
} ?? switch (path) {
'watchTogether.relayUnreachable' => '无法访问中继服务器。网络运营商的屏蔽可能导致“一起看”不可用。',
'watchTogether.reconnectingToHost' => '正在重新连接到主持人…',
'watchTogether.currentPlayback' => '当前播放',
'watchTogether.joinCurrentPlayback' => '加入当前播放',
+8 -6
View File
@@ -301,6 +301,8 @@ class _Translations$settings$zh_Hant extends Translations$settings$zh {
@override String minutesUnit({required Object minutes}) => '${minutes} 分鐘';
@override String get rememberTrackSelections => '記住每部影集或電影的音訊與字幕選擇';
@override String get rememberTrackSelectionsDescription => '記住每部影片的音軌與字幕選擇';
@override String get followServerTrackSelections => '使用伺服器為每集選擇的軌道';
@override String get followServerTrackSelectionsDescription => '切換劇集時,套用伺服器上為該集選擇的音訊與字幕,而不是沿用目前選擇';
@override String get showChapterMarkersOnTimeline => '在進度條上顯示章節標記';
@override String get showChapterMarkersOnTimelineDescription => '依章節分段顯示進度條';
@override String get clickVideoTogglesPlayback => '點選影片可切換播放或暫停';
@@ -508,8 +510,8 @@ class _Translations$fileInfo$zh_Hant extends Translations$fileInfo$zh {
@override String get title => '檔案資訊';
@override String get video => '影片';
@override String get audio => '音訊';
@override String get subtitles => '字幕';
@override String get file => '檔案';
@override String get advanced => '進階';
@override String get codec => '編解碼器';
@override String get resolution => '解析度';
@override String get bitrate => '位元率';
@@ -522,7 +524,6 @@ class _Translations$fileInfo$zh_Hant extends Translations$fileInfo$zh {
@override String get colorPrimaries => '色彩基色';
@override String get chromaSubsampling => '色度抽樣';
@override String get channels => '聲道數';
@override String get subtitles => '字幕';
@override String get overallBitrate => '總位元率';
@override String get path => '路徑';
@override String get size => '大小';
@@ -2354,6 +2355,8 @@ extension on TranslationsZhHant {
'settings.minutesUnit' => ({required Object minutes}) => '${minutes} 分鐘',
'settings.rememberTrackSelections' => '記住每部影集或電影的音訊與字幕選擇',
'settings.rememberTrackSelectionsDescription' => '記住每部影片的音軌與字幕選擇',
'settings.followServerTrackSelections' => '使用伺服器為每集選擇的軌道',
'settings.followServerTrackSelectionsDescription' => '切換劇集時,套用伺服器上為該集選擇的音訊與字幕,而不是沿用目前選擇',
'settings.showChapterMarkersOnTimeline' => '在進度條上顯示章節標記',
'settings.showChapterMarkersOnTimelineDescription' => '依章節分段顯示進度條',
'settings.clickVideoTogglesPlayback' => '點選影片可切換播放或暫停',
@@ -2558,8 +2561,8 @@ extension on TranslationsZhHant {
'fileInfo.title' => '檔案資訊',
'fileInfo.video' => '影片',
'fileInfo.audio' => '音訊',
'fileInfo.subtitles' => '字幕',
'fileInfo.file' => '檔案',
'fileInfo.advanced' => '進階',
'fileInfo.codec' => '編解碼器',
'fileInfo.resolution' => '解析度',
'fileInfo.bitrate' => '位元率',
@@ -2572,7 +2575,6 @@ extension on TranslationsZhHant {
'fileInfo.colorPrimaries' => '色彩基色',
'fileInfo.chromaSubsampling' => '色度抽樣',
'fileInfo.channels' => '聲道數',
'fileInfo.subtitles' => '字幕',
'fileInfo.overallBitrate' => '總位元率',
'fileInfo.path' => '路徑',
'fileInfo.size' => '大小',
@@ -2707,9 +2709,9 @@ extension on TranslationsZhHant {
'videoControls.searchSubtitles' => '搜尋字幕',
'videoControls.language' => '語言',
'videoControls.noSubtitlesFound' => '找不到字幕',
'videoControls.subtitleDownloaded' => '字幕下載成功',
_ => null,
} ?? switch (path) {
'videoControls.subtitleDownloaded' => '字幕下載成功',
'videoControls.subtitleDownloadedNotApplied' => '字幕已下載,但無法套用',
'videoControls.subtitleDownloadFailed' => '字幕下載失敗',
'videoControls.searchLanguages' => '搜尋語言…',
@@ -3221,9 +3223,9 @@ extension on TranslationsZhHant {
'watchTogether.failedToCreate' => '建立工作階段失敗',
'watchTogether.failedToJoin' => '加入工作階段失敗',
'watchTogether.sessionCodeCopied' => '工作階段代碼已複製到剪貼簿',
'watchTogether.relayUnreachable' => '無法連線至中繼伺服器。ISP 封鎖可能會導致「一起看」無法使用。',
_ => null,
} ?? switch (path) {
'watchTogether.relayUnreachable' => '無法連線至中繼伺服器。ISP 封鎖可能會導致「一起看」無法使用。',
'watchTogether.reconnectingToHost' => '正在重新連線至主持人…',
'watchTogether.currentPlayback' => '目前播放內容',
'watchTogether.joinCurrentPlayback' => '加入目前播放點',
+275 -5
View File
@@ -64,7 +64,20 @@
"loading": "Laddar...",
"fullscreen": "Helskärm",
"exitFullscreen": "Avsluta helskärm",
"pressBackAgainToExit": "Tryck bakåt igen för att avsluta"
"pressBackAgainToExit": "Tryck bakåt igen för att avsluta",
"ratingSource": {
"critic": "",
"audience": "",
"imdb": "",
"tmdb": "",
"rottenTomatoes": "",
"simkl": "",
"mal": "",
"anilist": "",
"trakt": "",
"rottenTomatoesCritic": "",
"rottenTomatoesAudience": ""
}
},
"screens": {
"licenses": "Licenser",
@@ -168,6 +181,8 @@
"minutesUnit": "${minutes} minuter",
"rememberTrackSelections": "Kom ihåg spårval per serie/film",
"rememberTrackSelectionsDescription": "Kom ihåg ljud- och undertextval per titel",
"followServerTrackSelections": "Använd serverns spårval per avsnitt",
"followServerTrackSelectionsDescription": "Vid avsnittsbyte används ljudet och undertexterna som valts på servern i stället för att föra över det aktuella valet",
"showChapterMarkersOnTimeline": "Visa kapitelmarkörer på tidslinjen",
"showChapterMarkersOnTimelineDescription": "Dela upp tidslinjen vid kapitelgränser",
"clickVideoTogglesPlayback": "Klicka på videon för att spela upp eller pausa",
@@ -381,30 +396,118 @@
},
"fileInfo": {
"title": "Filinformation",
"overview": "",
"video": "Video",
"audio": "Ljud",
"subtitles": "Undertexter",
"images": "",
"dataStreams": "",
"lyrics": "",
"file": "Fil",
"advanced": "Avancerat",
"attachments": "",
"delivery": "",
"versionCounter": "",
"fileCounter": "",
"noStreams": "",
"copyPath": "",
"pathCopied": "",
"codec": "Kodek",
"codecTag": "",
"resolution": "Upplösning",
"codedResolution": "",
"bitrate": "Bithastighet",
"frameRate": "Bildfrekvens",
"rotation": "",
"comment": "",
"audioDescription": "",
"headerCompression": "",
"sidecarFile": "",
"transportTimestamp": "",
"displayOffset": "",
"previewFailureCode": "",
"previewRetries": "",
"aspectRatio": "Bildförhållande",
"pixelAspectRatio": "",
"profile": "Profil",
"level": "",
"bitDepth": "Bitdjup",
"pixelFormat": "",
"colorSpace": "Färgrymd",
"colorRange": "Färgområde",
"colorPrimaries": "Färgprimärer",
"colorTransfer": "",
"chromaSubsampling": "Krominansnedsampling",
"chromaLocation": "",
"scanType": "",
"interlaced": "",
"anamorphic": "",
"referenceFrames": "",
"dynamicRange": "",
"dolbyVision": "",
"dolbyVisionLevel": "",
"dolbyVisionVersion": "",
"dolbyVisionLayers": "",
"baseLayerCompatibility": "",
"avcBitstream": "",
"nalLengthSize": "",
"scalingMatrix": "",
"streamIdentifier": "",
"streamIndex": "",
"streamId": "",
"language": "",
"languageCode": "",
"streamTitle": "",
"channels": "Kanaler",
"subtitles": "Undertexter",
"sampleRate": "",
"spatialAudio": "",
"textBased": "",
"subtitleFormat": "",
"provider": "",
"matchScore": "",
"externalDelivery": "",
"sidecarPath": "",
"sourceStream": "",
"temporary": "",
"timeBase": "",
"overallBitrate": "Total bithastighet",
"path": "Sökväg",
"fileName": "",
"size": "Storlek",
"totalSize": "",
"container": "Container",
"duration": "Varaktighet",
"previewThumbnails": "",
"previewIndex": "",
"packetLength": "",
"filePresent": "",
"fileReadable": "",
"streamPath": "",
"optimizedForStreaming": "Optimerad för streaming",
"has64bitOffsets": "64-bitars offsetvärden"
"has64bitOffsets": "64-bitars offsetvärden",
"protocol": "",
"mediaType": "",
"sourceKind": "",
"optimizedVersion": "",
"optimizationTarget": "",
"deletedAt": "",
"remoteSource": "",
"infiniteStream": "",
"directPlay": "",
"directStream": "",
"transcoding": "",
"etag": "",
"versionId": "",
"fileId": "",
"defaultAudioTrack": "",
"defaultSubtitleTrack": "",
"subtitlesOff": "",
"flagDefault": "",
"flagForced": "",
"flagSelected": "",
"flagExternal": "",
"flagHearingImpaired": "",
"flagDub": "",
"flagOriginal": ""
},
"mediaMenu": {
"markAsWatched": "Markera som sedd",
@@ -493,6 +596,9 @@
"playNext": "Spela nästa",
"playButton": "Spela",
"pauseButton": "Pausa",
"playbackPaused": "",
"playbackResumed": "",
"loadingVideo": "",
"showPlaybackControls": "Visa uppspelningskontroller",
"hidePlaybackControls": "Dölj uppspelningskontroller",
"seekBackwardButton": "Spola bakåt ${seconds} sekunder",
@@ -603,6 +709,8 @@
"switchingToCompatiblePlayer": "Byter till kompatibel spelare...",
"serverLimitTitle": "Uppspelningen misslyckades",
"serverLimitBody": "Serverfel (HTTP 500). En bandbredds-/transkodningsgräns avvisade troligen sessionen. Be ägaren justera den.",
"mediaUnreadableTitle": "",
"mediaUnreadableBody": "",
"logsUploaded": "Loggarna har laddats upp",
"logsUploadFailed": "Det gick inte att ladda upp loggarna",
"logId": "Logg-ID"
@@ -877,6 +985,38 @@
"copyLogs": "Kopiera loggar",
"uploadLogs": "Ladda upp loggar"
},
"startup": {
"failedTitle": "",
"failedBody": "",
"failedBodyRepairable": "",
"phaseLabel": "",
"showDetails": "",
"hideDetails": "",
"copyDetails": "",
"detailsCopied": "",
"uploadDetails": "",
"repairStorage": "",
"repairTitle": "",
"repairBodyCommon": "",
"repairBodyOneCredential": "",
"repairBodySignInsKept": "",
"repairBodySignInsLost": "",
"repairBodySessionsUncertain": "",
"repairConfirm": "",
"repairSucceeded": "",
"repairNeedsRestart": "",
"restartRequiredBody": "",
"quitPlezy": "",
"repairFailed": "",
"repairKeptSignIns": "",
"repairLostSignIns": "",
"repairLostSessions": "",
"backupTitle": "",
"backupWarning": "",
"deleteBackup": "",
"backupDeleted": "",
"previousFailureTitle": ""
},
"licenses": {
"relatedPackages": "Relaterade paket",
"license": "Licens",
@@ -931,7 +1071,137 @@
"searchHint": "Sök i ${source}",
"searchEmpty": "Inga resultat för \"${query}\"",
"searchPrompt": "Sök efter filmer och serier på ${source}.",
"searchFailed": "Sökningen misslyckades. Kontrollera din anslutning och försök igen."
"searchFailed": "Sökningen misslyckades. Kontrollera din anslutning och försök igen.",
"badge": {
"rankPopular": "",
"rankAiring": "",
"rankRated": "",
"rankFavorited": "",
"rankTrending": "",
"rankSeasonal": "",
"watchingNow": "",
"available": "",
"partiallyAvailable": "",
"availableIn4k": "",
"requested": "",
"pendingApproval": "",
"processing": "",
"declined": "",
"requestFailed": "",
"requested4k": "",
"seasonsAvailable": "",
"nextEpisodeIn": "",
"nextAiringIn": "",
"episodesShort": "",
"minutesPerEpisode": "",
"adult": ""
},
"stats": {
"listed": "",
"viewersDay": "",
"viewersWeek": "",
"viewersMonth": "",
"viewersYear": "",
"viewersAllTime": "",
"planning": "",
"favorited": "",
"dropRate": "",
"comments": {
"one": "",
"other": ""
},
"votes": "",
"watching": "",
"completed": "",
"onHold": "",
"dropped": ""
},
"season": {
"winter": "",
"spring": "",
"summer": "",
"fall": "",
"withYear": ""
},
"format": {
"tv": "",
"tvShort": "",
"movie": "",
"special": "",
"ova": "",
"ona": "",
"music": "",
"other": ""
},
"sourceMaterial": {
"original": "",
"manga": "",
"lightNovel": "",
"novel": "",
"visualNovel": "",
"game": "",
"webComic": "",
"musicRelease": "",
"otherMedia": ""
},
"creditRole": {
"director": "",
"writer": "",
"producer": "",
"creator": "",
"composer": ""
},
"relation": {
"prequel": "",
"sequel": "",
"sideStory": "",
"spinOff": "",
"alternativeVersion": "",
"summary": "",
"parentStory": "",
"adaptation": "",
"other": ""
},
"broadcast": "",
"broadcastWithZone": "",
"detail": {
"originalTitle": "",
"alsoKnownAs": "",
"studios": "",
"country": "",
"language": "",
"released": "",
"physicalRelease": "",
"ended": "",
"addedOn": "",
"yourRating": "",
"budget": "",
"revenue": "",
"contentAdvisory": "",
"tags": "",
"revealSpoilerTags": "",
"links": "",
"watchOn": "",
"watchTrailer": "",
"openOn": "",
"crew": "",
"ratings": "",
"schedule": "",
"recommendedByUsers": {
"one": "",
"other": ""
},
"recommendedBy": "",
"favoritedBy": "",
"unairedEpisodes": "",
"recommendedByPercent": "",
"relatedTitles": "",
"background": ""
},
"totalResults": {
"one": "",
"other": ""
}
},
"liveTv": {
"title": "Live-TV",
+275 -5
View File
@@ -64,7 +64,20 @@
"loading": "Yükleniyor...",
"fullscreen": "Tam Ekran",
"exitFullscreen": "Tam Ekrandan Çık",
"pressBackAgainToExit": "Çıkmak için tekrar geri tuşuna basın"
"pressBackAgainToExit": "Çıkmak için tekrar geri tuşuna basın",
"ratingSource": {
"critic": "",
"audience": "",
"imdb": "",
"tmdb": "",
"rottenTomatoes": "",
"simkl": "",
"mal": "",
"anilist": "",
"trakt": "",
"rottenTomatoesCritic": "",
"rottenTomatoesAudience": ""
}
},
"screens": {
"licenses": "Lisanslar",
@@ -168,6 +181,8 @@
"minutesUnit": "${minutes} dakika",
"rememberTrackSelections": "Dizi/film başına ses/altyazı seçimlerini hatırla",
"rememberTrackSelectionsDescription": "İçerik başına ses ve altyazı tercihlerini hatırla",
"followServerTrackSelections": "Sunucunun bölüm başına parça seçimlerini kullan",
"followServerTrackSelectionsDescription": "Bölüm değiştiğinde geçerli seçimi taşımak yerine sunucuda seçilen ses ve altyazıyı uygula",
"showChapterMarkersOnTimeline": "Zaman çubuğunda kısım işaretçilerini göster",
"showChapterMarkersOnTimelineDescription": "Zaman çubuğunu kısım sınırlarına göre böl",
"clickVideoTogglesPlayback": "Oynat/duraklat için videoya tıkla",
@@ -381,30 +396,118 @@
},
"fileInfo": {
"title": "Dosya Bilgisi",
"overview": "",
"video": "Video",
"audio": "Ses",
"subtitles": "Altyazılar",
"images": "",
"dataStreams": "",
"lyrics": "",
"file": "Dosya",
"advanced": "Gelişmiş",
"attachments": "",
"delivery": "",
"versionCounter": "",
"fileCounter": "",
"noStreams": "",
"copyPath": "",
"pathCopied": "",
"codec": "Kodek",
"codecTag": "",
"resolution": "Çözünürlük",
"codedResolution": "",
"bitrate": "Bit Hızı (Bitrate)",
"frameRate": "Kare Hızı",
"rotation": "",
"comment": "",
"audioDescription": "",
"headerCompression": "",
"sidecarFile": "",
"transportTimestamp": "",
"displayOffset": "",
"previewFailureCode": "",
"previewRetries": "",
"aspectRatio": "En Boy Oranı",
"pixelAspectRatio": "",
"profile": "Profil",
"level": "",
"bitDepth": "Bit Derinliği",
"pixelFormat": "",
"colorSpace": "Renk Alanı",
"colorRange": "Renk Aralığı",
"colorPrimaries": "Ana Renkler",
"colorTransfer": "",
"chromaSubsampling": "Renk Alt Örneklemesi",
"chromaLocation": "",
"scanType": "",
"interlaced": "",
"anamorphic": "",
"referenceFrames": "",
"dynamicRange": "",
"dolbyVision": "",
"dolbyVisionLevel": "",
"dolbyVisionVersion": "",
"dolbyVisionLayers": "",
"baseLayerCompatibility": "",
"avcBitstream": "",
"nalLengthSize": "",
"scalingMatrix": "",
"streamIdentifier": "",
"streamIndex": "",
"streamId": "",
"language": "",
"languageCode": "",
"streamTitle": "",
"channels": "Kanallar",
"subtitles": "Altyazılar",
"sampleRate": "",
"spatialAudio": "",
"textBased": "",
"subtitleFormat": "",
"provider": "",
"matchScore": "",
"externalDelivery": "",
"sidecarPath": "",
"sourceStream": "",
"temporary": "",
"timeBase": "",
"overallBitrate": "Genel Bit Hızı",
"path": "Yol",
"fileName": "",
"size": "Boyut",
"totalSize": "",
"container": "Kapsayıcı",
"duration": "Süre",
"previewThumbnails": "",
"previewIndex": "",
"packetLength": "",
"filePresent": "",
"fileReadable": "",
"streamPath": "",
"optimizedForStreaming": "Akış İçin Optimize Edilmiş",
"has64bitOffsets": "64-bit Ofsetler"
"has64bitOffsets": "64-bit Ofsetler",
"protocol": "",
"mediaType": "",
"sourceKind": "",
"optimizedVersion": "",
"optimizationTarget": "",
"deletedAt": "",
"remoteSource": "",
"infiniteStream": "",
"directPlay": "",
"directStream": "",
"transcoding": "",
"etag": "",
"versionId": "",
"fileId": "",
"defaultAudioTrack": "",
"defaultSubtitleTrack": "",
"subtitlesOff": "",
"flagDefault": "",
"flagForced": "",
"flagSelected": "",
"flagExternal": "",
"flagHearingImpaired": "",
"flagDub": "",
"flagOriginal": ""
},
"mediaMenu": {
"markAsWatched": "İzlendi Olarak İşaretle",
@@ -493,6 +596,9 @@
"playNext": "Sonrakini Oynat",
"playButton": "Oynat",
"pauseButton": "Duraklat",
"playbackPaused": "",
"playbackResumed": "",
"loadingVideo": "",
"showPlaybackControls": "Oynatma kontrollerini göster",
"hidePlaybackControls": "Oynatma kontrollerini gizle",
"seekBackwardButton": "${seconds} saniye geri sar",
@@ -603,6 +709,8 @@
"switchingToCompatiblePlayer": "Uyumlu oynatıcıya geçiliyor...",
"serverLimitTitle": "Oynatma başarısız oldu",
"serverLimitBody": "Sunucu hatası (HTTP 500). Muhtemelen bir bant genişliği/kod dönüştürme sınırı bu oturumu reddetti. Sunucu sahibinden bunu ayarlamasını isteyin.",
"mediaUnreadableTitle": "",
"mediaUnreadableBody": "",
"logsUploaded": "Günlükler yüklendi",
"logsUploadFailed": "Günlükler yüklenemedi",
"logId": "Günlük Kimliği (ID)"
@@ -877,6 +985,38 @@
"copyLogs": "Günlükleri Kopyala",
"uploadLogs": "Günlükleri Yükle"
},
"startup": {
"failedTitle": "",
"failedBody": "",
"failedBodyRepairable": "",
"phaseLabel": "",
"showDetails": "",
"hideDetails": "",
"copyDetails": "",
"detailsCopied": "",
"uploadDetails": "",
"repairStorage": "",
"repairTitle": "",
"repairBodyCommon": "",
"repairBodyOneCredential": "",
"repairBodySignInsKept": "",
"repairBodySignInsLost": "",
"repairBodySessionsUncertain": "",
"repairConfirm": "",
"repairSucceeded": "",
"repairNeedsRestart": "",
"restartRequiredBody": "",
"quitPlezy": "",
"repairFailed": "",
"repairKeptSignIns": "",
"repairLostSignIns": "",
"repairLostSessions": "",
"backupTitle": "",
"backupWarning": "",
"deleteBackup": "",
"backupDeleted": "",
"previousFailureTitle": ""
},
"licenses": {
"relatedPackages": "İlgili Paketler",
"license": "Lisans",
@@ -931,7 +1071,137 @@
"searchHint": "${source} üzerinde ara",
"searchEmpty": "\"${query}\" için sonuç bulunamadı",
"searchPrompt": "${source} üzerinde film ve dizileri arayın.",
"searchFailed": "Arama başarısız. Bağlantınızı kontrol edip tekrar deneyin."
"searchFailed": "Arama başarısız. Bağlantınızı kontrol edip tekrar deneyin.",
"badge": {
"rankPopular": "",
"rankAiring": "",
"rankRated": "",
"rankFavorited": "",
"rankTrending": "",
"rankSeasonal": "",
"watchingNow": "",
"available": "",
"partiallyAvailable": "",
"availableIn4k": "",
"requested": "",
"pendingApproval": "",
"processing": "",
"declined": "",
"requestFailed": "",
"requested4k": "",
"seasonsAvailable": "",
"nextEpisodeIn": "",
"nextAiringIn": "",
"episodesShort": "",
"minutesPerEpisode": "",
"adult": ""
},
"stats": {
"listed": "",
"viewersDay": "",
"viewersWeek": "",
"viewersMonth": "",
"viewersYear": "",
"viewersAllTime": "",
"planning": "",
"favorited": "",
"dropRate": "",
"comments": {
"one": "",
"other": ""
},
"votes": "",
"watching": "",
"completed": "",
"onHold": "",
"dropped": ""
},
"season": {
"winter": "",
"spring": "",
"summer": "",
"fall": "",
"withYear": ""
},
"format": {
"tv": "",
"tvShort": "",
"movie": "",
"special": "",
"ova": "",
"ona": "",
"music": "",
"other": ""
},
"sourceMaterial": {
"original": "",
"manga": "",
"lightNovel": "",
"novel": "",
"visualNovel": "",
"game": "",
"webComic": "",
"musicRelease": "",
"otherMedia": ""
},
"creditRole": {
"director": "",
"writer": "",
"producer": "",
"creator": "",
"composer": ""
},
"relation": {
"prequel": "",
"sequel": "",
"sideStory": "",
"spinOff": "",
"alternativeVersion": "",
"summary": "",
"parentStory": "",
"adaptation": "",
"other": ""
},
"broadcast": "",
"broadcastWithZone": "",
"detail": {
"originalTitle": "",
"alsoKnownAs": "",
"studios": "",
"country": "",
"language": "",
"released": "",
"physicalRelease": "",
"ended": "",
"addedOn": "",
"yourRating": "",
"budget": "",
"revenue": "",
"contentAdvisory": "",
"tags": "",
"revealSpoilerTags": "",
"links": "",
"watchOn": "",
"watchTrailer": "",
"openOn": "",
"crew": "",
"ratings": "",
"schedule": "",
"recommendedByUsers": {
"one": "",
"other": ""
},
"recommendedBy": "",
"favoritedBy": "",
"unairedEpisodes": "",
"recommendedByPercent": "",
"relatedTitles": "",
"background": ""
},
"totalResults": {
"one": "",
"other": ""
}
},
"liveTv": {
"title": "Canlı TV",
+275 -5
View File
@@ -64,7 +64,20 @@
"loading": "Yuklanmoqda...",
"fullscreen": "Toʻliq ekran",
"exitFullscreen": "Toʻliq ekrandan chiqish",
"pressBackAgainToExit": "Chiqish uchun orqaga tugmasini yana bir bor bosing"
"pressBackAgainToExit": "Chiqish uchun orqaga tugmasini yana bir bor bosing",
"ratingSource": {
"critic": "",
"audience": "",
"imdb": "",
"tmdb": "",
"rottenTomatoes": "",
"simkl": "",
"mal": "",
"anilist": "",
"trakt": "",
"rottenTomatoesCritic": "",
"rottenTomatoesAudience": ""
}
},
"screens": {
"licenses": "Litsenziyalar",
@@ -168,6 +181,8 @@
"minutesUnit": "${minutes} daqiqa",
"rememberTrackSelections": "Har bir film/serial uchun ovoz/subtitr tanlovini eslab qolish",
"rememberTrackSelectionsDescription": "Har bir media uchun ovoz va subtitr sozlamalarini saqlash",
"followServerTrackSelections": "Har bir epizod uchun serverdagi tanlovlardan foydalanish",
"followServerTrackSelectionsDescription": "Epizod almashganda joriy tanlovni ko'chirish o'rniga serverda tanlangan ovoz va subtitrni qo'llash",
"showChapterMarkersOnTimeline": "Vaqt shkalasida boʻlim belgilarini koʻrsatish",
"showChapterMarkersOnTimelineDescription": "Vaqt shkalasini boʻlimlarga boʻlish",
"clickVideoTogglesPlayback": "Ijro/pauza uchun videoga bosing",
@@ -381,30 +396,118 @@
},
"fileInfo": {
"title": "Fayl haqida maʼlumot",
"overview": "",
"video": "Video",
"audio": "Audio",
"subtitles": "Subtitrlar",
"images": "",
"dataStreams": "",
"lyrics": "",
"file": "Fayl",
"advanced": "Kengaytirilgan",
"attachments": "",
"delivery": "",
"versionCounter": "",
"fileCounter": "",
"noStreams": "",
"copyPath": "",
"pathCopied": "",
"codec": "Kodek",
"codecTag": "",
"resolution": "Oʻlchamlari (Resolution)",
"codedResolution": "",
"bitrate": "Bitreyt (Bitrate)",
"frameRate": "Kadrlar chastotasi",
"rotation": "",
"comment": "",
"audioDescription": "",
"headerCompression": "",
"sidecarFile": "",
"transportTimestamp": "",
"displayOffset": "",
"previewFailureCode": "",
"previewRetries": "",
"aspectRatio": "Tomonlar nisbati",
"pixelAspectRatio": "",
"profile": "Profil",
"level": "",
"bitDepth": "Bit chuqurligi",
"pixelFormat": "",
"colorSpace": "Rang makoni",
"colorRange": "Rang diapazoni",
"colorPrimaries": "Asosiy ranglar",
"colorTransfer": "",
"chromaSubsampling": "Rangli subdiskretlash",
"chromaLocation": "",
"scanType": "",
"interlaced": "",
"anamorphic": "",
"referenceFrames": "",
"dynamicRange": "",
"dolbyVision": "",
"dolbyVisionLevel": "",
"dolbyVisionVersion": "",
"dolbyVisionLayers": "",
"baseLayerCompatibility": "",
"avcBitstream": "",
"nalLengthSize": "",
"scalingMatrix": "",
"streamIdentifier": "",
"streamIndex": "",
"streamId": "",
"language": "",
"languageCode": "",
"streamTitle": "",
"channels": "Kanallar",
"subtitles": "Subtitrlar",
"sampleRate": "",
"spatialAudio": "",
"textBased": "",
"subtitleFormat": "",
"provider": "",
"matchScore": "",
"externalDelivery": "",
"sidecarPath": "",
"sourceStream": "",
"temporary": "",
"timeBase": "",
"overallBitrate": "Umumiy bitreyt",
"path": "Yoʻl",
"fileName": "",
"size": "Hajmi",
"totalSize": "",
"container": "Konteyner",
"duration": "Davomiyligi",
"previewThumbnails": "",
"previewIndex": "",
"packetLength": "",
"filePresent": "",
"fileReadable": "",
"streamPath": "",
"optimizedForStreaming": "Oqimli uzatish uchun optimallashtirilgan",
"has64bitOffsets": "64-bitli siljishlar"
"has64bitOffsets": "64-bitli siljishlar",
"protocol": "",
"mediaType": "",
"sourceKind": "",
"optimizedVersion": "",
"optimizationTarget": "",
"deletedAt": "",
"remoteSource": "",
"infiniteStream": "",
"directPlay": "",
"directStream": "",
"transcoding": "",
"etag": "",
"versionId": "",
"fileId": "",
"defaultAudioTrack": "",
"defaultSubtitleTrack": "",
"subtitlesOff": "",
"flagDefault": "",
"flagForced": "",
"flagSelected": "",
"flagExternal": "",
"flagHearingImpaired": "",
"flagDub": "",
"flagOriginal": ""
},
"mediaMenu": {
"markAsWatched": "Koʻrilgan deb belgilash",
@@ -493,6 +596,9 @@
"playNext": "Keyingisini ijro etish",
"playButton": "Ijro etish",
"pauseButton": "Pauza",
"playbackPaused": "",
"playbackResumed": "",
"loadingVideo": "",
"showPlaybackControls": "Boshqaruv tugmalarini koʻrsatish",
"hidePlaybackControls": "Boshqaruv tugmalarini yashirish",
"seekBackwardButton": "${seconds} soniya orqaga oʻtkazish",
@@ -603,6 +709,8 @@
"switchingToCompatiblePlayer": "Mos keluvchi pleyerga oʻtilmoqda...",
"serverLimitTitle": "Ijro etishda xatolik",
"serverLimitBody": "Server xatoligi (HTTP 500). Cheklov ushbu seansni rad etdi.",
"mediaUnreadableTitle": "",
"mediaUnreadableBody": "",
"logsUploaded": "Jurnallar yuklandi",
"logsUploadFailed": "Jurnallarni yuklab boʻlmadi",
"logId": "Jurnal ID-si"
@@ -877,6 +985,38 @@
"copyLogs": "Jurnallarni nusxalash",
"uploadLogs": "Jurnallarni yuklash"
},
"startup": {
"failedTitle": "",
"failedBody": "",
"failedBodyRepairable": "",
"phaseLabel": "",
"showDetails": "",
"hideDetails": "",
"copyDetails": "",
"detailsCopied": "",
"uploadDetails": "",
"repairStorage": "",
"repairTitle": "",
"repairBodyCommon": "",
"repairBodyOneCredential": "",
"repairBodySignInsKept": "",
"repairBodySignInsLost": "",
"repairBodySessionsUncertain": "",
"repairConfirm": "",
"repairSucceeded": "",
"repairNeedsRestart": "",
"restartRequiredBody": "",
"quitPlezy": "",
"repairFailed": "",
"repairKeptSignIns": "",
"repairLostSignIns": "",
"repairLostSessions": "",
"backupTitle": "",
"backupWarning": "",
"deleteBackup": "",
"backupDeleted": "",
"previousFailureTitle": ""
},
"licenses": {
"relatedPackages": "Bogʻliq paketlar",
"license": "Litsenziya",
@@ -931,7 +1071,137 @@
"searchHint": "${source} ichidan qidirish",
"searchEmpty": "\"${query}\" boʻyicha natija topilmadi",
"searchPrompt": "${source} orqali filmlar va seriallarni qidiring.",
"searchFailed": "Qidiruv xatoligi. Ulanishni tekshiring."
"searchFailed": "Qidiruv xatoligi. Ulanishni tekshiring.",
"badge": {
"rankPopular": "",
"rankAiring": "",
"rankRated": "",
"rankFavorited": "",
"rankTrending": "",
"rankSeasonal": "",
"watchingNow": "",
"available": "",
"partiallyAvailable": "",
"availableIn4k": "",
"requested": "",
"pendingApproval": "",
"processing": "",
"declined": "",
"requestFailed": "",
"requested4k": "",
"seasonsAvailable": "",
"nextEpisodeIn": "",
"nextAiringIn": "",
"episodesShort": "",
"minutesPerEpisode": "",
"adult": ""
},
"stats": {
"listed": "",
"viewersDay": "",
"viewersWeek": "",
"viewersMonth": "",
"viewersYear": "",
"viewersAllTime": "",
"planning": "",
"favorited": "",
"dropRate": "",
"comments": {
"one": "",
"other": ""
},
"votes": "",
"watching": "",
"completed": "",
"onHold": "",
"dropped": ""
},
"season": {
"winter": "",
"spring": "",
"summer": "",
"fall": "",
"withYear": ""
},
"format": {
"tv": "",
"tvShort": "",
"movie": "",
"special": "",
"ova": "",
"ona": "",
"music": "",
"other": ""
},
"sourceMaterial": {
"original": "",
"manga": "",
"lightNovel": "",
"novel": "",
"visualNovel": "",
"game": "",
"webComic": "",
"musicRelease": "",
"otherMedia": ""
},
"creditRole": {
"director": "",
"writer": "",
"producer": "",
"creator": "",
"composer": ""
},
"relation": {
"prequel": "",
"sequel": "",
"sideStory": "",
"spinOff": "",
"alternativeVersion": "",
"summary": "",
"parentStory": "",
"adaptation": "",
"other": ""
},
"broadcast": "",
"broadcastWithZone": "",
"detail": {
"originalTitle": "",
"alsoKnownAs": "",
"studios": "",
"country": "",
"language": "",
"released": "",
"physicalRelease": "",
"ended": "",
"addedOn": "",
"yourRating": "",
"budget": "",
"revenue": "",
"contentAdvisory": "",
"tags": "",
"revealSpoilerTags": "",
"links": "",
"watchOn": "",
"watchTrailer": "",
"openOn": "",
"crew": "",
"ratings": "",
"schedule": "",
"recommendedByUsers": {
"one": "",
"other": ""
},
"recommendedBy": "",
"favoritedBy": "",
"unairedEpisodes": "",
"recommendedByPercent": "",
"relatedTitles": "",
"background": ""
},
"totalResults": {
"one": "",
"other": ""
}
},
"liveTv": {
"title": "Jonli TV",
+272 -5
View File
@@ -64,7 +64,20 @@
"loading": "載入中…",
"fullscreen": "全螢幕",
"exitFullscreen": "退出全螢幕",
"pressBackAgainToExit": "再按一次返回以退出"
"pressBackAgainToExit": "再按一次返回以退出",
"ratingSource": {
"critic": "",
"audience": "",
"imdb": "",
"tmdb": "",
"rottenTomatoes": "",
"simkl": "",
"mal": "",
"anilist": "",
"trakt": "",
"rottenTomatoesCritic": "",
"rottenTomatoesAudience": ""
}
},
"screens": {
"licenses": "授權條款",
@@ -168,6 +181,8 @@
"minutesUnit": "${minutes} 分鐘",
"rememberTrackSelections": "記住每部影集或電影的音訊與字幕選擇",
"rememberTrackSelectionsDescription": "記住每部影片的音軌與字幕選擇",
"followServerTrackSelections": "使用伺服器為每集選擇的軌道",
"followServerTrackSelectionsDescription": "切換劇集時,套用伺服器上為該集選擇的音訊與字幕,而不是沿用目前選擇",
"showChapterMarkersOnTimeline": "在進度條上顯示章節標記",
"showChapterMarkersOnTimelineDescription": "依章節分段顯示進度條",
"clickVideoTogglesPlayback": "點選影片可切換播放或暫停",
@@ -381,30 +396,118 @@
},
"fileInfo": {
"title": "檔案資訊",
"overview": "",
"video": "影片",
"audio": "音訊",
"subtitles": "字幕",
"images": "",
"dataStreams": "",
"lyrics": "",
"file": "檔案",
"advanced": "進階",
"attachments": "",
"delivery": "",
"versionCounter": "",
"fileCounter": "",
"noStreams": "",
"copyPath": "",
"pathCopied": "",
"codec": "編解碼器",
"codecTag": "",
"resolution": "解析度",
"codedResolution": "",
"bitrate": "位元率",
"frameRate": "影格率",
"rotation": "",
"comment": "",
"audioDescription": "",
"headerCompression": "",
"sidecarFile": "",
"transportTimestamp": "",
"displayOffset": "",
"previewFailureCode": "",
"previewRetries": "",
"aspectRatio": "寬高比",
"pixelAspectRatio": "",
"profile": "規格檔(Profile)",
"level": "",
"bitDepth": "位元深度",
"pixelFormat": "",
"colorSpace": "色彩空間",
"colorRange": "色彩範圍",
"colorPrimaries": "色彩基色",
"colorTransfer": "",
"chromaSubsampling": "色度抽樣",
"chromaLocation": "",
"scanType": "",
"interlaced": "",
"anamorphic": "",
"referenceFrames": "",
"dynamicRange": "",
"dolbyVision": "",
"dolbyVisionLevel": "",
"dolbyVisionVersion": "",
"dolbyVisionLayers": "",
"baseLayerCompatibility": "",
"avcBitstream": "",
"nalLengthSize": "",
"scalingMatrix": "",
"streamIdentifier": "",
"streamIndex": "",
"streamId": "",
"language": "",
"languageCode": "",
"streamTitle": "",
"channels": "聲道數",
"subtitles": "字幕",
"sampleRate": "",
"spatialAudio": "",
"textBased": "",
"subtitleFormat": "",
"provider": "",
"matchScore": "",
"externalDelivery": "",
"sidecarPath": "",
"sourceStream": "",
"temporary": "",
"timeBase": "",
"overallBitrate": "總位元率",
"path": "路徑",
"fileName": "",
"size": "大小",
"totalSize": "",
"container": "封裝格式",
"duration": "長度",
"previewThumbnails": "",
"previewIndex": "",
"packetLength": "",
"filePresent": "",
"fileReadable": "",
"streamPath": "",
"optimizedForStreaming": "已最佳化串流播放",
"has64bitOffsets": "具 64 位元偏移量"
"has64bitOffsets": "具 64 位元偏移量",
"protocol": "",
"mediaType": "",
"sourceKind": "",
"optimizedVersion": "",
"optimizationTarget": "",
"deletedAt": "",
"remoteSource": "",
"infiniteStream": "",
"directPlay": "",
"directStream": "",
"transcoding": "",
"etag": "",
"versionId": "",
"fileId": "",
"defaultAudioTrack": "",
"defaultSubtitleTrack": "",
"subtitlesOff": "",
"flagDefault": "",
"flagForced": "",
"flagSelected": "",
"flagExternal": "",
"flagHearingImpaired": "",
"flagDub": "",
"flagOriginal": ""
},
"mediaMenu": {
"markAsWatched": "標記為已觀看",
@@ -493,6 +596,9 @@
"playNext": "播放下一集",
"playButton": "播放",
"pauseButton": "暫停",
"playbackPaused": "",
"playbackResumed": "",
"loadingVideo": "",
"showPlaybackControls": "顯示播放控制項",
"hidePlaybackControls": "隱藏播放控制項",
"seekBackwardButton": "後退 ${seconds} 秒",
@@ -602,6 +708,8 @@
"switchingToCompatiblePlayer": "正在切換至相容的播放器…",
"serverLimitTitle": "播放失敗",
"serverLimitBody": "伺服器錯誤(HTTP 500)。伺服器的頻寬或轉碼限制可能拒絕此播放要求。請聯絡伺服器擁有者調整設定。",
"mediaUnreadableTitle": "",
"mediaUnreadableBody": "",
"logsUploaded": "日誌已上傳",
"logsUploadFailed": "上傳日誌失敗",
"logId": "日誌 ID"
@@ -876,6 +984,38 @@
"copyLogs": "複製日誌",
"uploadLogs": "上傳日誌"
},
"startup": {
"failedTitle": "",
"failedBody": "",
"failedBodyRepairable": "",
"phaseLabel": "",
"showDetails": "",
"hideDetails": "",
"copyDetails": "",
"detailsCopied": "",
"uploadDetails": "",
"repairStorage": "",
"repairTitle": "",
"repairBodyCommon": "",
"repairBodyOneCredential": "",
"repairBodySignInsKept": "",
"repairBodySignInsLost": "",
"repairBodySessionsUncertain": "",
"repairConfirm": "",
"repairSucceeded": "",
"repairNeedsRestart": "",
"restartRequiredBody": "",
"quitPlezy": "",
"repairFailed": "",
"repairKeptSignIns": "",
"repairLostSignIns": "",
"repairLostSessions": "",
"backupTitle": "",
"backupWarning": "",
"deleteBackup": "",
"backupDeleted": "",
"previousFailureTitle": ""
},
"licenses": {
"relatedPackages": "相關套件",
"license": "授權",
@@ -929,7 +1069,134 @@
"searchHint": "搜尋 ${source}",
"searchEmpty": "沒有「${query}」的結果",
"searchPrompt": "在 ${source} 搜尋電影與影集。",
"searchFailed": "搜尋失敗。請檢查網路連線後重試。"
"searchFailed": "搜尋失敗。請檢查網路連線後重試。",
"badge": {
"rankPopular": "",
"rankAiring": "",
"rankRated": "",
"rankFavorited": "",
"rankTrending": "",
"rankSeasonal": "",
"watchingNow": "",
"available": "",
"partiallyAvailable": "",
"availableIn4k": "",
"requested": "",
"pendingApproval": "",
"processing": "",
"declined": "",
"requestFailed": "",
"requested4k": "",
"seasonsAvailable": "",
"nextEpisodeIn": "",
"nextAiringIn": "",
"episodesShort": "",
"minutesPerEpisode": "",
"adult": ""
},
"stats": {
"listed": "",
"viewersDay": "",
"viewersWeek": "",
"viewersMonth": "",
"viewersYear": "",
"viewersAllTime": "",
"planning": "",
"favorited": "",
"dropRate": "",
"comments": {
"other": ""
},
"votes": "",
"watching": "",
"completed": "",
"onHold": "",
"dropped": ""
},
"season": {
"winter": "",
"spring": "",
"summer": "",
"fall": "",
"withYear": ""
},
"format": {
"tv": "",
"tvShort": "",
"movie": "",
"special": "",
"ova": "",
"ona": "",
"music": "",
"other": ""
},
"sourceMaterial": {
"original": "",
"manga": "",
"lightNovel": "",
"novel": "",
"visualNovel": "",
"game": "",
"webComic": "",
"musicRelease": "",
"otherMedia": ""
},
"creditRole": {
"director": "",
"writer": "",
"producer": "",
"creator": "",
"composer": ""
},
"relation": {
"prequel": "",
"sequel": "",
"sideStory": "",
"spinOff": "",
"alternativeVersion": "",
"summary": "",
"parentStory": "",
"adaptation": "",
"other": ""
},
"broadcast": "",
"broadcastWithZone": "",
"detail": {
"originalTitle": "",
"alsoKnownAs": "",
"studios": "",
"country": "",
"language": "",
"released": "",
"physicalRelease": "",
"ended": "",
"addedOn": "",
"yourRating": "",
"budget": "",
"revenue": "",
"contentAdvisory": "",
"tags": "",
"revealSpoilerTags": "",
"links": "",
"watchOn": "",
"watchTrailer": "",
"openOn": "",
"crew": "",
"ratings": "",
"schedule": "",
"recommendedByUsers": {
"other": ""
},
"recommendedBy": "",
"favoritedBy": "",
"unairedEpisodes": "",
"recommendedByPercent": "",
"relatedTitles": "",
"background": ""
},
"totalResults": {
"other": ""
}
},
"liveTv": {
"title": "直播電視",
+272 -5
View File
@@ -64,7 +64,20 @@
"loading": "加载中…",
"fullscreen": "全屏",
"exitFullscreen": "退出全屏",
"pressBackAgainToExit": "再按一次返回键退出"
"pressBackAgainToExit": "再按一次返回键退出",
"ratingSource": {
"critic": "",
"audience": "",
"imdb": "",
"tmdb": "",
"rottenTomatoes": "",
"simkl": "",
"mal": "",
"anilist": "",
"trakt": "",
"rottenTomatoesCritic": "",
"rottenTomatoesAudience": ""
}
},
"screens": {
"licenses": "许可证",
@@ -168,6 +181,8 @@
"minutesUnit": "${minutes} 分钟",
"rememberTrackSelections": "记住每部剧集或电影的音轨选择",
"rememberTrackSelectionsDescription": "分别记住每部内容的音频和字幕选择",
"followServerTrackSelections": "使用服务器为每集选择的轨道",
"followServerTrackSelectionsDescription": "切换剧集时,应用服务器上为该集选择的音频和字幕,而不是沿用当前选择",
"showChapterMarkersOnTimeline": "在进度条上显示章节标记",
"showChapterMarkersOnTimelineDescription": "按章节边界分段显示进度条",
"clickVideoTogglesPlayback": "点击视频可切换播放/暂停",
@@ -381,30 +396,118 @@
},
"fileInfo": {
"title": "文件信息",
"overview": "",
"video": "视频",
"audio": "音频",
"subtitles": "字幕",
"images": "",
"dataStreams": "",
"lyrics": "",
"file": "文件",
"advanced": "高级",
"attachments": "",
"delivery": "",
"versionCounter": "",
"fileCounter": "",
"noStreams": "",
"copyPath": "",
"pathCopied": "",
"codec": "编解码器",
"codecTag": "",
"resolution": "分辨率",
"codedResolution": "",
"bitrate": "比特率",
"frameRate": "帧率",
"rotation": "",
"comment": "",
"audioDescription": "",
"headerCompression": "",
"sidecarFile": "",
"transportTimestamp": "",
"displayOffset": "",
"previewFailureCode": "",
"previewRetries": "",
"aspectRatio": "宽高比",
"pixelAspectRatio": "",
"profile": "编码配置",
"level": "",
"bitDepth": "位深度",
"pixelFormat": "",
"colorSpace": "色彩空间",
"colorRange": "色彩范围",
"colorPrimaries": "色彩基色",
"colorTransfer": "",
"chromaSubsampling": "色度子采样",
"chromaLocation": "",
"scanType": "",
"interlaced": "",
"anamorphic": "",
"referenceFrames": "",
"dynamicRange": "",
"dolbyVision": "",
"dolbyVisionLevel": "",
"dolbyVisionVersion": "",
"dolbyVisionLayers": "",
"baseLayerCompatibility": "",
"avcBitstream": "",
"nalLengthSize": "",
"scalingMatrix": "",
"streamIdentifier": "",
"streamIndex": "",
"streamId": "",
"language": "",
"languageCode": "",
"streamTitle": "",
"channels": "声道",
"subtitles": "字幕",
"sampleRate": "",
"spatialAudio": "",
"textBased": "",
"subtitleFormat": "",
"provider": "",
"matchScore": "",
"externalDelivery": "",
"sidecarPath": "",
"sourceStream": "",
"temporary": "",
"timeBase": "",
"overallBitrate": "总比特率",
"path": "路径",
"fileName": "",
"size": "大小",
"totalSize": "",
"container": "容器",
"duration": "时长",
"previewThumbnails": "",
"previewIndex": "",
"packetLength": "",
"filePresent": "",
"fileReadable": "",
"streamPath": "",
"optimizedForStreaming": "已针对流式传输优化",
"has64bitOffsets": "64 位偏移量"
"has64bitOffsets": "64 位偏移量",
"protocol": "",
"mediaType": "",
"sourceKind": "",
"optimizedVersion": "",
"optimizationTarget": "",
"deletedAt": "",
"remoteSource": "",
"infiniteStream": "",
"directPlay": "",
"directStream": "",
"transcoding": "",
"etag": "",
"versionId": "",
"fileId": "",
"defaultAudioTrack": "",
"defaultSubtitleTrack": "",
"subtitlesOff": "",
"flagDefault": "",
"flagForced": "",
"flagSelected": "",
"flagExternal": "",
"flagHearingImpaired": "",
"flagDub": "",
"flagOriginal": ""
},
"mediaMenu": {
"markAsWatched": "标记为已观看",
@@ -493,6 +596,9 @@
"playNext": "播放下一集",
"playButton": "播放",
"pauseButton": "暂停",
"playbackPaused": "",
"playbackResumed": "",
"loadingVideo": "",
"showPlaybackControls": "显示播放控制项",
"hidePlaybackControls": "隐藏播放控制项",
"seekBackwardButton": "快退 ${seconds} 秒",
@@ -602,6 +708,8 @@
"switchingToCompatiblePlayer": "正在切换到兼容的播放器…",
"serverLimitTitle": "播放失败",
"serverLimitBody": "服务器错误(HTTP 500)。此次会话可能因带宽或转码限制而被拒绝。请联系服务器所有者调整限制。",
"mediaUnreadableTitle": "",
"mediaUnreadableBody": "",
"logsUploaded": "日志已上传",
"logsUploadFailed": "上传日志失败",
"logId": "日志 ID"
@@ -876,6 +984,38 @@
"copyLogs": "复制日志",
"uploadLogs": "上传日志"
},
"startup": {
"failedTitle": "",
"failedBody": "",
"failedBodyRepairable": "",
"phaseLabel": "",
"showDetails": "",
"hideDetails": "",
"copyDetails": "",
"detailsCopied": "",
"uploadDetails": "",
"repairStorage": "",
"repairTitle": "",
"repairBodyCommon": "",
"repairBodyOneCredential": "",
"repairBodySignInsKept": "",
"repairBodySignInsLost": "",
"repairBodySessionsUncertain": "",
"repairConfirm": "",
"repairSucceeded": "",
"repairNeedsRestart": "",
"restartRequiredBody": "",
"quitPlezy": "",
"repairFailed": "",
"repairKeptSignIns": "",
"repairLostSignIns": "",
"repairLostSessions": "",
"backupTitle": "",
"backupWarning": "",
"deleteBackup": "",
"backupDeleted": "",
"previousFailureTitle": ""
},
"licenses": {
"relatedPackages": "相关软件包",
"license": "许可证",
@@ -929,7 +1069,134 @@
"searchHint": "搜索 ${source}",
"searchEmpty": "没有“${query}”的结果",
"searchPrompt": "在 ${source} 上搜索电影和剧集。",
"searchFailed": "搜索失败。请检查网络连接后重试。"
"searchFailed": "搜索失败。请检查网络连接后重试。",
"badge": {
"rankPopular": "",
"rankAiring": "",
"rankRated": "",
"rankFavorited": "",
"rankTrending": "",
"rankSeasonal": "",
"watchingNow": "",
"available": "",
"partiallyAvailable": "",
"availableIn4k": "",
"requested": "",
"pendingApproval": "",
"processing": "",
"declined": "",
"requestFailed": "",
"requested4k": "",
"seasonsAvailable": "",
"nextEpisodeIn": "",
"nextAiringIn": "",
"episodesShort": "",
"minutesPerEpisode": "",
"adult": ""
},
"stats": {
"listed": "",
"viewersDay": "",
"viewersWeek": "",
"viewersMonth": "",
"viewersYear": "",
"viewersAllTime": "",
"planning": "",
"favorited": "",
"dropRate": "",
"comments": {
"other": ""
},
"votes": "",
"watching": "",
"completed": "",
"onHold": "",
"dropped": ""
},
"season": {
"winter": "",
"spring": "",
"summer": "",
"fall": "",
"withYear": ""
},
"format": {
"tv": "",
"tvShort": "",
"movie": "",
"special": "",
"ova": "",
"ona": "",
"music": "",
"other": ""
},
"sourceMaterial": {
"original": "",
"manga": "",
"lightNovel": "",
"novel": "",
"visualNovel": "",
"game": "",
"webComic": "",
"musicRelease": "",
"otherMedia": ""
},
"creditRole": {
"director": "",
"writer": "",
"producer": "",
"creator": "",
"composer": ""
},
"relation": {
"prequel": "",
"sequel": "",
"sideStory": "",
"spinOff": "",
"alternativeVersion": "",
"summary": "",
"parentStory": "",
"adaptation": "",
"other": ""
},
"broadcast": "",
"broadcastWithZone": "",
"detail": {
"originalTitle": "",
"alsoKnownAs": "",
"studios": "",
"country": "",
"language": "",
"released": "",
"physicalRelease": "",
"ended": "",
"addedOn": "",
"yourRating": "",
"budget": "",
"revenue": "",
"contentAdvisory": "",
"tags": "",
"revealSpoilerTags": "",
"links": "",
"watchOn": "",
"watchTrailer": "",
"openOn": "",
"crew": "",
"ratings": "",
"schedule": "",
"recommendedByUsers": {
"other": ""
},
"recommendedBy": "",
"favoritedBy": "",
"unairedEpisodes": "",
"recommendedByPercent": "",
"relatedTitles": "",
"background": ""
},
"totalResults": {
"other": ""
}
},
"liveTv": {
"title": "直播电视",
+541 -97
View File
@@ -25,6 +25,7 @@ import 'profiles/profile_connection_cleanup.dart';
import 'profiles/profile_connection_registry.dart';
import 'profiles/profile_registry.dart';
import 'profiles/profile_selection_policy.dart';
import 'models/external_player_models.dart';
import 'mixins/mounted_set_state_mixin.dart';
import 'theme/mono_theme.dart';
import 'profiles/plex_home_service.dart';
@@ -43,8 +44,6 @@ import 'services/discord_rpc_service.dart';
import 'package:path_provider/path_provider.dart';
import 'services/image_cache_service.dart';
import 'services/gamepad_service.dart';
import 'services/trakt/trakt_scrobble_service.dart';
import 'services/trakt/trakt_sync_service.dart';
import 'services/trackers/tracker_coordinator.dart';
import 'providers/user_profile_provider.dart';
import 'providers/multi_server_provider.dart';
@@ -77,7 +76,6 @@ import 'i18n/app_locale_utils.dart';
import 'i18n/strings.g.dart';
import 'widgets/app_icon.dart';
import 'focus/input_mode_tracker.dart';
import 'focus/focusable_button.dart';
import 'focus/key_event_utils.dart';
import 'package:intl/date_symbol_data_local.dart';
import 'utils/navigation_transitions.dart';
@@ -85,6 +83,13 @@ import 'utils/log_redaction_manager.dart';
import 'package:package_info_plus/package_info_plus.dart';
import 'utils/android_exit_diagnostics.dart';
import 'utils/storage_failure.dart';
import 'services/base_shared_preferences_service.dart';
import 'services/prefs_recovery.dart';
import 'services/sensitive_prefs.dart';
import 'services/startup_diagnostics.dart';
import 'utils/dialogs.dart';
import 'widgets/dialog_action_button.dart';
import 'widgets/startup_failure_view.dart';
const bool _enableSentry = bool.fromEnvironment('ENABLE_SENTRY', defaultValue: false);
const String _sentryDsn = 'https://6a1a6ef8c72140099b2798973c1bfb2f@bugs.plezy.app/1';
@@ -143,6 +148,9 @@ void _bootstrapApp() {
return const ColoredBox(color: Color(0xFF000000));
};
// Off the critical path: the version label only decorates a diagnostic.
unawaited(_primeDiagnosticsVersion());
AndroidExitDiagnostics.markStartupPhase(AndroidStartupPhase.runApp);
runApp(
StartupBootstrap<_StartupDependencies>(
@@ -161,44 +169,397 @@ void _bootstrapApp() {
);
}
/// Wraps [step] so a failure names the gate phase it came from.
///
/// `Future.wait` keeps only the first error and discards the rest, and the old
/// catch-all reported a bare `error.runtimeType`, so a startup failure could
/// not even be attributed to one of four concurrent steps (#1732).
Future<T> _gatePhase<T>(StartupPhase phase, Future<T> Function() step) async {
try {
return await step();
} catch (error, stackTrace) {
Error.throwWithStackTrace(StartupPhaseException(phase, error), stackTrace);
}
}
/// How long a degradable startup step may block the launch before it is
/// abandoned. Generous next to the sub-second these normally take, but bounded:
/// `windowManager.ensureInitialized()` is a platform-channel round trip and the
/// Windows runner puts the UI on its own thread, so a stalled platform thread
/// would otherwise hold the splash forever with no error to report.
const Duration _optionalPhaseTimeout = Duration(seconds: 10);
/// Runs a startup step that the app can survive without.
///
/// Window chrome, locale selection, crash reporting and the artwork cache are
/// all degradable; before #1732 any one of them could veto the whole boot —
/// by throwing, or by never completing.
Future<void> _optionalGatePhase(
StartupPhase phase,
Future<void> Function() step, {
Duration timeout = _optionalPhaseTimeout,
}) async {
// Keep a handler on the original future. `timeout` abandons the work rather
// than cancelling it, so a late failure would otherwise land as an unhandled
// async error long after the gate moved on.
final work = Future<void>.sync(step).catchError((Object error, StackTrace stackTrace) {
appLogger.w('Optional startup phase "${phase.id}" failed', error: error, stackTrace: stackTrace);
});
try {
await work.timeout(timeout);
} on TimeoutException {
appLogger.w('Optional startup phase "${phase.id}" did not finish in ${timeout.inSeconds}s; continuing without it');
}
}
Future<_StartupDependencies> _initializeApplication() async {
final settings = await SettingsService.getInstance();
final settings = await _gatePhase(StartupPhase.preferences, SettingsService.getInstance);
setLoggerLevel(settings.read(SettingsService.enableDebugLogging));
_StartupDependencies? dependencies;
Future<void> initializeStartup() async {
AndroidExitDiagnostics.markTelemetryReady();
dependencies = await _initializeStartup(settings);
if (_enableSentry) {
// Crash reporting is observability: it must never veto the launch it
// exists to report on. `Sentry.init` runs its integrations eagerly, so an
// integration throwing used to fail the gate before any Plezy code ran.
//
// Deliberately no `appRunner`. On every non-web platform `Sentry.init`
// reduces it to `await appRunner()` after the integrations — error capture
// comes from `OnErrorIntegration`/`PlatformDispatcher.onError`, installed
// during init either way. Passing the startup work in would make a startup
// failure indistinguishable from a Sentry failure, and this guard would
// then run the whole gate — migrations, native recovery, database open —
// a second time.
await _optionalGatePhase(StartupPhase.crashReporting, () async {
await SentryFlutter.init((options) {
options.dsn = _sentryDsn;
options.release = _sentryRelease();
if (_sentryEnvironment.isNotEmpty) options.environment = _sentryEnvironment;
if (_sentryDist.isNotEmpty) options.dist = _sentryDist;
options.tracesSampleRate = 0;
options.attachStacktrace = true;
options.enableAutoSessionTracking = false;
options.recordHttpBreadcrumbs = false;
options.captureNativeFailedRequests = false;
options.enableAppHangTracking = !kDebugMode;
options.appHangTimeoutInterval = const Duration(seconds: 3);
options.beforeSend = _beforeSend;
options.beforeBreadcrumb = _beforeBreadcrumb;
});
// Only reached when init really completed; the phase above swallows a
// failure or a timeout and would otherwise leave a no-op hub that
// accepts events and drops them.
_crashReporterReady = true;
});
}
if (_enableSentry) {
final packageInfo = await PackageInfo.fromPlatform();
await SentryFlutter.init((options) {
options.dsn = _sentryDsn;
options.release = gitCommit.isNotEmpty
? 'plezy@${gitCommit.substring(0, 7)}'
: 'plezy@${packageInfo.version}+${packageInfo.buildNumber}';
if (_sentryEnvironment.isNotEmpty) options.environment = _sentryEnvironment;
if (_sentryDist.isNotEmpty) options.dist = _sentryDist;
options.tracesSampleRate = 0;
options.attachStacktrace = true;
options.enableAutoSessionTracking = false;
options.recordHttpBreadcrumbs = false;
options.captureNativeFailedRequests = false;
options.enableAppHangTracking = !kDebugMode;
options.appHangTimeoutInterval = const Duration(seconds: 3);
options.beforeSend = _beforeSend;
options.beforeBreadcrumb = _beforeBreadcrumb;
}, appRunner: initializeStartup);
} else {
await initializeStartup();
}
return dependencies!;
// Registered rather than awaited: sending must not sit on the critical path,
// but it must finish before the success path consumes the record off disk.
// Runs even without Sentry so a build that can never report still resolves
// the record instead of carrying it forever.
StartupDiagnosticsStore.holdForFlush(flushPendingStartupFailure());
AndroidExitDiagnostics.markTelemetryReady();
return _initializeStartup(settings);
}
/// Release identifier for Sentry.
///
/// `PackageInfo.fromPlatform()` reads the executable's Win32 version resource
/// and throws `WindowsException`/`ArgumentError` when that read fails (UNC
/// launch, antivirus interception). Official builds always define
/// `GIT_COMMIT`, so resolve that first and only pay the platform read — inside
/// a guard — when there is no commit to use.
String _sentryRelease() {
if (gitCommit.length >= 7) return 'plezy@${gitCommit.substring(0, 7)}';
if (gitCommit.isNotEmpty) return 'plezy@$gitCommit';
return 'plezy@unknown';
}
const startupBootstrapProgressKey = Key('startup-bootstrap-progress');
const startupBootstrapFailureKey = Key('startup-bootstrap-failure');
const startupBootstrapRetryKey = Key('startup-bootstrap-retry');
/// Human-readable build label for a failure record, primed off the critical
/// path by [_primeDiagnosticsVersion].
String _diagnosticsVersion = gitCommit.isEmpty ? 'unknown' : gitCommit.substring(0, gitCommit.length.clamp(0, 7));
/// Resolves the package version for diagnostics without putting it in the gate.
///
/// `PackageInfo.fromPlatform()` reads the executable's Win32 version resource
/// and throws `WindowsException`/`ArgumentError` when that read fails (a UNC
/// launch, antivirus interception). It used to run inside the startup gate for
/// a value only Sentry consumed; here a failure just leaves the commit label.
Future<void> _primeDiagnosticsVersion() async {
try {
final info = await PackageInfo.fromPlatform();
final commit = gitCommit.isEmpty ? '' : ' (${gitCommit.substring(0, gitCommit.length.clamp(0, 7))})';
_diagnosticsVersion = '${info.version}+${info.buildNumber}$commit';
} catch (error, stackTrace) {
appLogger.d('Could not resolve the package version for diagnostics', error: error, stackTrace: stackTrace);
}
}
/// Platform label for a failure record. Deliberately coarse — enough to
/// triage a report, never enough to identify a machine.
String _diagnosticsPlatform() => '${Platform.operatingSystem} ${Platform.operatingSystemVersion}';
/// Whether an in-app repair can address [error].
///
/// Only preference-store damage qualifies. Everything else — a denied
/// directory, a locked database, a native library that will not load — needs
/// the environment to change, and offering a destructive repair for it would
/// be worse than offering nothing.
bool _isRepairable(Object error) {
final cause = StartupPhaseException.unwrap(error);
return cause is CorruptPreferenceStoreException || cause is UnreadableSensitivePreferenceException;
}
/// Default [StartupBootstrap.describeFailure].
@visibleForTesting
StartupFailureRecord describeStartupFailure(Object error, StackTrace stackTrace) => StartupFailureRecord.fromError(
error: error,
stackTrace: stackTrace,
appVersion: _diagnosticsVersion,
platform: _diagnosticsPlatform(),
repairable: _isRepairable(error),
);
/// Whether `SentryFlutter.init` actually completed this launch.
///
/// The crash-reporting phase is best-effort, so init can fail or time out and
/// leave a no-op hub behind. A no-op hub accepts `captureMessage` and returns
/// an empty id *without throwing*, so "the send did not throw" is not evidence
/// that anything was sent.
var _crashReporterReady = false;
@visibleForTesting
void debugSetCrashReporterReady(bool ready) => _crashReporterReady = ready;
/// Sends a persisted startup failure to the crash reporter, once.
///
/// Reporting cannot happen where the failure is caught. The gate opens
/// preferences — the likeliest thing to fail, and the whole reason #1732 has
/// no telemetry — before crash reporting exists, so a capture there goes to a
/// no-op hub and is silently dropped. Initialising the reporter first is not
/// an option either: `_beforeSend` reads the crash-reporting opt-out from
/// settings, which are not loaded yet, so early events would bypass a user's
/// choice.
///
/// So every failure is persisted first and flushed here, immediately after
/// the reporter comes up with settings loaded. In practice that is the user's
/// own retry, seconds later, in the same process.
///
/// The record is only marked reported on proof of delivery — a non-empty
/// Sentry id — or when the user has opted out, which is a deliberate
/// suppression rather than a failure to retry. Anything else leaves it
/// pending for the next launch.
@visibleForTesting
Future<void> flushPendingStartupFailure({
Future<SentryId> Function(StartupFailureRecord record)? send,
bool? reporterReady,
bool? crashReportingEnabled,
bool? reportingCompiledIn,
}) async {
final record = await StartupDiagnosticsStore.peekPersisted();
if (record == null || record.reported) return;
final optedIn = crashReportingEnabled ?? SettingsService.instanceOrNull?.read(SettingsService.crashReporting) ?? true;
final canEverReport = reportingCompiledIn ?? _enableSentry;
if (!optedIn || !canEverReport) {
// Deliberate suppression, not a delivery failure. Marking it reported is
// what lets `consumePrevious` eventually drop the file; without this a
// fork build with no DSN, or an opted-out user, would carry the record
// forever.
appLogger.d(
optedIn
? 'Startup failure not reported: crash reporting is not available in this build'
: 'Startup failure not reported: crash reporting is disabled',
);
await StartupDiagnosticsStore.markReported(record);
return;
}
if (!(reporterReady ?? _crashReporterReady)) {
// Kept on disk deliberately: `consumePrevious` retains an unreported
// record so the next launch can try again.
appLogger.d('Startup failure kept for the next launch: crash reporting is not initialised');
return;
}
try {
final id = await (send ?? _captureStartupFailure)(record);
if (id == const SentryId.empty()) {
// A no-op hub, a disabled client, or an event dropped in `beforeSend`.
appLogger.d('Startup failure was not accepted by the crash reporter; keeping it for the next launch');
return;
}
await StartupDiagnosticsStore.markReported(record);
} catch (error, stackTrace) {
// Leave it unreported so the next launch tries again.
appLogger.d('Could not report the startup failure', error: error, stackTrace: stackTrace);
}
}
Future<SentryId> _captureStartupFailure(StartupFailureRecord record) {
// The original error object is long gone by now; the record is the
// allowlisted, already-redacted rendering of it.
return Sentry.captureMessage(
'Startup failed: ${record.headline}',
level: SentryLevel.fatal,
withScope: (scope) {
scope.setTag('startup.phase', record.phaseId);
scope.setContexts('startup', {
'phase': record.phaseId,
'errorType': record.errorType,
'repairable': record.repairable,
'when': record.timestamp.toUtc().toIso8601String(),
'stackTrace': ?record.stackTrace,
});
},
);
}
/// Default [StartupBootstrap.repair]: states the cost, runs the repair that
/// matches the failure, then reports what was kept and what was lost.
///
/// The result tells the bootstrap what it may do next; see
/// [StartupRepairResult]. Never returns [StartupRepairResult.retry] for a
/// repair that requires a restart — re-running initialization in that state
/// would destroy the salvage.
@visibleForTesting
Future<StartupRepairResult> repairStartupStorage(
BuildContext context,
StartupFailureRecord record,
Object error,
) async {
final cause = StartupPhaseException.unwrap(error);
final unreadableKey = cause is UnreadableSensitivePreferenceException ? cause.key : null;
final reopenSafe = cause is! CorruptPreferenceStoreException || cause.reopenSafe;
// Name the real cost before touching anything, not the usual one. Servers
// and profiles survive a repair only because their tokens are ciphertext in
// the database and the key that decrypts them lives in the store — so a
// store the key cannot be read out of signs the user out of everything. An
// all-zero file is exactly that case (#1732), and telling them their
// sign-ins are safe would be a promise the outcome dialog then contradicts.
final signInsSurvive = unreadableKey != null
? unreadableKey != credentialVaultKeyPref
: (await PrefsRecovery.previewSalvage()).vaultKey != null;
if (!context.mounted) return StartupRepairResult.none;
final confirmed = await showConfirmDialog(
context,
title: t.startup.repairTitle,
message: repairConsentMessage(oneCredential: unreadableKey != null, signInsSurvive: signInsSurvive),
confirmText: t.startup.repairConfirm,
isDestructive: true,
);
if (!confirmed || !context.mounted) return StartupRepairResult.none;
final outcome = unreadableKey != null
? await BaseSharedPreferencesService.dropUnreadableCredential(unreadableKey)
: await BaseSharedPreferencesService.repairCorruptStore(reopenSafe: reopenSafe);
final result = outcome.requiresRestart ? StartupRepairResult.restart : StartupRepairResult.retry;
if (!context.mounted) return result;
await showRepairOutcomeDialog(context, outcome);
return result;
}
/// The consent dialog's body: what is being repaired, then what it costs.
///
/// Separated from [repairStartupStorage] because the two halves fail
/// differently. Deciding whether the sign-ins survive is I/O against a
/// damaged file; deciding what to *tell* the user about it is a promise, and
/// #1732 is what happens when the promise is written once, optimistically,
/// for a case that does not always hold.
///
/// [signInsSurvive] covers servers and profiles only. Their tokens are
/// ciphertext in the database, so they live or die with the vault key —
/// which is exactly why that one value decides this sentence.
///
/// Tracker and Seerr sessions are plaintext preference entries, salvaged and
/// reseeded one by one and untouched entirely by the single-credential
/// repair. They therefore do not follow the vault key in either direction,
/// and get one cautious sentence in both branches rather than a promise
/// borrowed from a value that does not govern them.
@visibleForTesting
String repairConsentMessage({required bool oneCredential, required bool signInsSurvive}) => [
oneCredential ? t.startup.repairBodyOneCredential : t.startup.repairBodyCommon,
signInsSurvive ? t.startup.repairBodySignInsKept : t.startup.repairBodySignInsLost,
t.startup.repairBodySessionsUncertain,
].join('\n\n');
/// Reports a completed repair, including the retained copy of the damaged
/// store.
///
/// The backup path is shown so the user can find and delete it, never so it
/// can be attached to a report: it can hold the credential-vault key, tracker
/// refresh tokens and Seerr cookies in plaintext. The warning is suppressed
/// only when the quarantined *bytes* prove there is nothing in them — an
/// all-zero file (#1732) — never on the strength of what the salvage managed
/// to recover, which says nothing about what is still in the file. A warning
/// on a file of zeros is the one that teaches users to ignore the warning
/// that matters.
@visibleForTesting
Future<void> showRepairOutcomeDialog(
BuildContext context,
PrefsRepairOutcome outcome, {
// Test seam: the widget-test binding's fake-async zone never completes a
// `dart:io` future, so a real delete cannot be driven from a widget test.
Future<void> Function(String path) deleteBackup = PrefsRecovery.deleteBackup,
}) {
final backupPath = outcome.backupPath;
// Outside the builder: a `StatefulBuilder` re-runs its closure on every
// rebuild, so state declared inside it would reset the moment the rebuild it
// triggered arrives — leaving the sensitive path on screen after deletion.
var deleted = false;
return showScopedDialog<void>(
context: context,
builder: (dialogContext) => StatefulBuilder(
builder: (dialogContext, setDialogState) {
return AlertDialog(
title: Text(outcome.requiresRestart ? t.startup.repairNeedsRestart : t.startup.repairSucceeded),
content: Column(
mainAxisSize: MainAxisSize.min,
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text(outcome.vaultKeySalvaged ? t.startup.repairKeptSignIns : t.startup.repairLostSignIns),
if (outcome.sessionsAffected) ...[const SizedBox(height: 8), Text(t.startup.repairLostSessions)],
if (backupPath != null && !deleted) ...[
const SizedBox(height: 16),
Text(t.startup.backupTitle, style: Theme.of(dialogContext).textTheme.titleSmall),
const SizedBox(height: 4),
SelectableText(backupPath, style: const TextStyle(fontFamily: 'monospace', fontSize: 12)),
if (outcome.backupHoldsCredentials) ...[
const SizedBox(height: 4),
Text(t.startup.backupWarning, style: TextStyle(color: Theme.of(dialogContext).colorScheme.error)),
],
const SizedBox(height: 8),
DialogActionButton(
label: t.startup.deleteBackup,
onPressed: () async {
await deleteBackup(backupPath);
// The barrier can dismiss this dialog while the delete is
// in flight; the file is gone either way.
if (!dialogContext.mounted) return;
setDialogState(() => deleted = true);
},
),
],
if (deleted) ...[const SizedBox(height: 8), Text(t.startup.backupDeleted)],
],
),
actions: [
DialogActionButton(
autofocus: true,
isPrimary: true,
onPressed: () => Navigator.of(dialogContext).pop(),
label: t.common.close,
),
],
);
},
),
);
}
/// Mounts a Flutter-owned startup frame before invoking the asynchronous
/// initialization gate. The generic seam keeps frame ordering, failure, and
@@ -211,6 +572,8 @@ class StartupBootstrap<T> extends StatefulWidget {
required this.buildApp,
this.discard,
this.onCommitted,
this.describeFailure = describeStartupFailure,
this.repair = repairStartupStorage,
this.lightTheme,
this.darkTheme,
this.themeMode = material.ThemeMode.system,
@@ -220,6 +583,17 @@ class StartupBootstrap<T> extends StatefulWidget {
final Widget Function(BuildContext context, T value) buildApp;
final FutureOr<void> Function(T value)? discard;
final FutureOr<void> Function(T value)? onCommitted;
/// Reduces a thrown error to the allowlisted record the failure screen,
/// the persisted diagnostic and the crash report all share.
final StartupFailureRecord Function(Object error, StackTrace stackTrace) describeFailure;
/// Offers the user a consented repair for a recoverable failure and reports
/// what the gate may do next. [StartupRepairResult.retry] re-runs
/// [initialize]; [StartupRepairResult.restart] parks the app on the failure
/// screen, because nothing may touch preferences until the process restarts.
final Future<StartupRepairResult> Function(BuildContext context, StartupFailureRecord record, Object error)? repair;
final ThemeData? lightTheme;
final ThemeData? darkTheme;
final material.ThemeMode themeMode;
@@ -230,9 +604,19 @@ class StartupBootstrap<T> extends StatefulWidget {
class _StartupBootstrapState<T> extends State<StartupBootstrap<T>> {
T? _value;
Object? _error;
StartupFailureRecord? _failure;
/// Retained alongside [_failure] so the repair hook can classify the real
/// cause; the record is a redacted allowlist and deliberately cannot.
Object? _failureError;
bool _completed = false;
bool _initializing = false;
bool _repairing = false;
/// Terminal: the store was repaired but the plugin still holds the bad
/// document, so this process can never open it. Latched, never cleared —
/// re-running the gate from here would flush the stale map over the seed.
bool _restartRequired = false;
int _generation = 0;
@override
@@ -249,7 +633,7 @@ class _StartupBootstrapState<T> extends State<StartupBootstrap<T>> {
final generation = ++_generation;
setState(() {
_error = null;
_failure = null;
_initializing = true;
});
@@ -265,17 +649,55 @@ class _StartupBootstrapState<T> extends State<StartupBootstrap<T>> {
_completed = true;
_initializing = false;
});
// A launch that got through is the first chance to surface a record
// written by one that did not. Consuming it takes the file off disk and
// holds the contents in memory for Settings › Logs, so the user can
// upload the failure that had no other way out (#1732).
unawaited(StartupDiagnosticsStore.consumePrevious());
unawaited(Future.sync(() => widget.onCommitted?.call(value)));
} catch (error, stackTrace) {
final failure = widget.describeFailure(error, stackTrace);
// `headline` is the sanitised rendering; the raw error is deliberately
// not passed, because `FormatException.toString()` embeds an excerpt of
// whatever document failed to parse.
appLogger.e('Startup initialization failed: ${failure.headline}', stackTrace: stackTrace);
// Persist first: this record is the only thing that survives the
// process. On Windows there is no log file and no console for a
// double-clicked release build.
unawaited(StartupDiagnosticsStore.record(failure));
// Not reported from here: the earliest phases run before the crash
// reporter exists, so the record is persisted and flushed by
// `flushPendingStartupFailure` once it is up — on the retry below, or on
// the next launch.
if (!mounted || generation != _generation) return;
appLogger.e('Startup initialization failed (${error.runtimeType})', stackTrace: stackTrace);
setState(() {
_error = error;
_failure = failure;
_failureError = error;
_initializing = false;
});
}
}
Future<void> _repair(StartupFailureRecord failure) async {
final repair = widget.repair;
final error = _failureError;
if (repair == null || error == null || _repairing || _restartRequired) return;
setState(() => _repairing = true);
var result = StartupRepairResult.none;
try {
result = await repair(context, failure, error);
} catch (error, stackTrace) {
appLogger.e('Startup storage repair failed', error: error, stackTrace: stackTrace);
if (mounted) showErrorSnackBar(context, t.startup.repairFailed);
}
if (!mounted) return;
setState(() {
_repairing = false;
if (result == StartupRepairResult.restart) _restartRequired = true;
});
if (result == StartupRepairResult.retry) unawaited(_initialize());
}
Future<void> _discard(T value) async {
try {
await widget.discard?.call(value);
@@ -310,30 +732,17 @@ class _StartupBootstrapState<T> extends State<StartupBootstrap<T>> {
}
Widget _buildBootstrapHome(BuildContext context) {
final failure = _failure;
return Scaffold(
body: Center(
child: _error == null
? const CircularProgressIndicator(key: startupBootstrapProgressKey)
: Column(
key: startupBootstrapFailureKey,
mainAxisSize: MainAxisSize.min,
children: [
const AppIcon(Symbols.error_rounded, size: 48),
const SizedBox(height: 16),
Text(t.common.error, style: Theme.of(context).textTheme.titleLarge),
const SizedBox(height: 16),
FocusableButton(
autofocus: true,
onPressed: _initializing ? null : () => unawaited(_initialize()),
child: FilledButton(
key: startupBootstrapRetryKey,
onPressed: _initializing ? null : () => unawaited(_initialize()),
child: Text(t.common.retry),
),
),
],
),
),
body: failure == null
? const Center(child: CircularProgressIndicator(key: startupBootstrapProgressKey))
: StartupFailureView(
failure: failure,
busy: _initializing || _repairing,
restartRequired: _restartRequired,
onRetry: () => unawaited(_initialize()),
onRepair: failure.repairable && widget.repair != null ? () => _repair(failure) : null,
),
);
}
}
@@ -395,45 +804,58 @@ Future<_StartupDependencies> _initializeStartup(SettingsService settings) async
AppDatabase? openedDatabase;
try {
final savedLocale = settings.read(SettingsService.appLocale);
await LocaleSettings.setLocale(savedLocale);
await initializeDateFormatting(savedLocale.intlLocaleName, null);
// Slang builds the base locale eagerly, so `t` already resolves before
// this runs; a failure here degrades to English rather than no app.
await _optionalGatePhase(StartupPhase.locale, () async {
final savedLocale = settings.read(SettingsService.appLocale);
await LocaleSettings.setLocale(savedLocale);
await initializeDateFormatting(savedLocale.intlLocaleName, null);
});
markStartupPhase('locale');
final futures = <Future<void>>[];
// Window chrome is cosmetic; losing it costs the custom titlebar and the
// remembered size, not the app. It is also the step most exposed to a
// stalled platform thread, so it must not sit in the same combined future
// as the services the first build genuinely needs.
if (PlatformDetector.isDesktopOS()) {
if (Platform.isMacOS) {
futures.add(windowManager.ensureInitialized().then((_) => MacOSWindowService.setupCustomTitlebar()));
} else {
futures.add(windowManager.ensureInitialized());
}
await _optionalGatePhase(StartupPhase.windowManager, () async {
await windowManager.ensureInitialized();
if (Platform.isMacOS) await MacOSWindowService.setupCustomTitlebar();
});
}
// MainApp reads both synchronous facades during its first build.
futures.add(TvDetectionService.getInstance(forceTv: settings.read(SettingsService.forceTvMode)));
futures.add(DevicePerformance.getInstance(override: settings.read(SettingsService.visualEffects)));
// MainApp reads both synchronous facades during its first build, and both
// have a working sync fallback, so a detection failure is not fatal.
await _optionalGatePhase(StartupPhase.deviceCapabilities, () async {
await (
TvDetectionService.getInstance(forceTv: settings.read(SettingsService.forceTvMode)),
DevicePerformance.getInstance(override: settings.read(SettingsService.visualEffects)),
).wait;
});
final storageFuture = StorageService.getInstance();
futures.add(storageFuture);
await Future.wait(futures);
final storage = await storageFuture;
final storage = await _gatePhase(StartupPhase.storage, StorageService.getInstance);
markStartupPhase('platform-services');
AndroidExitDiagnostics.markStartupPhase(AndroidStartupPhase.databaseOpenStarted);
final databaseBootstrap = await openAppDatabaseWithDownloadRecovery(
openDatabase: () => AppDatabase.open(isTvos: PlatformDetector.isAppleTV()),
recoverNativeDownloads: DownloadManagerService.discardInterruptedNativeDownloadsAfterStorageFailure,
storageFullMessage: t.downloads.storageFull,
final databaseBootstrap = await _gatePhase(
StartupPhase.database,
() => openAppDatabaseWithDownloadRecovery(
openDatabase: () => AppDatabase.open(isTvos: PlatformDetector.isAppleTV()),
recoverNativeDownloads: DownloadManagerService.discardInterruptedNativeDownloadsAfterStorageFailure,
storageFullMessage: t.downloads.storageFull,
),
);
openedDatabase = databaseBootstrap.database;
AndroidExitDiagnostics.markStartupPhase(AndroidStartupPhase.databaseReady);
markStartupPhase('database-recovery');
DevicePerformance.applyImageCacheBudget();
await _optionalGatePhase(StartupPhase.imageCache, () async => DevicePerformance.applyImageCacheBudget());
// DownloadManagerService reads this singleton synchronously in MainApp's
// initState, so its recoverable storage check remains in the explicit gate.
await DownloadStorageService.instance.initialize(settings);
// initState, but `getArtworkPathSync` already models "not ready" by
// returning null and the path re-resolves lazily, so offline artwork is
// not a launch requirement.
await _optionalGatePhase(StartupPhase.downloadStorage, () => DownloadStorageService.instance.initialize(settings));
markStartupPhase('download-storage');
return _StartupDependencies(
@@ -487,14 +909,20 @@ void _startNonessentialInitialization(SettingsService settings) {
if (PlatformDetector.isDesktopOS()) {
bestEffort('Discord RPC', DiscordRPCService.instance.initialize);
// Detection forks helper processes; resolve it here so the External Player
// settings page never has to wait on a cold probe.
bestEffort('External player detection', KnownPlayers.getForCurrentPlatform);
}
if (settings.read(SettingsService.crashReporting)) {
unawaited(AndroidExitDiagnostics.logPreviousExit());
}
bestEffort('Trakt scrobble', TraktScrobbleService.instance.initialize);
bestEffort('Shader licenses', _registerShaderLicenses);
// The startup-gate application can precede the engine's first metrics
// report, which reads as a 1.0 display budget; re-derive it now that the
// tree is mounted and the display is known.
bestEffort('Image cache budget', DevicePerformance.applyImageCacheBudget);
bestEffort('Environment diagnostics', _logEnvironmentDiagnostics);
}
@@ -511,6 +939,7 @@ Future<void> _logEnvironmentDiagnostics() async {
'Plezy v${packageInfo.version}+${packageInfo.buildNumber}$commitSuffix$renderer'
' [effects: ${DevicePerformance.describeSync()}]',
);
appLogger.i('Display: ${DevicePerformance.describeDisplay()}');
if (Platform.isAndroid) {
appLogger.i('Startup RSS: ${ProcessInfo.currentRss >> 20}MB');
}
@@ -717,6 +1146,7 @@ class _MainAppState extends State<MainApp> with WidgetsBindingObserver {
final Set<String> _pendingSyncKeys = <String>{};
bool _isAutoDeleteRunning = false;
bool _lastConnectivityWasWifi = false;
bool _lastConnectivityHadNetwork = true;
bool _shutdownStarted = false;
/// Last time server health probes ran from a resume event (cooldown for desktop)
@@ -753,9 +1183,6 @@ class _MainAppState extends State<MainApp> with WidgetsBindingObserver {
_offlineWatchSyncService = OfflineWatchSyncService(database: _appDatabase, serverManager: _serverManager);
// Trakt sync service (subscribes to WatchStateNotifier, requires serverManager
// to resolve PlexClients for GUID lookups).
TraktSyncService.instance.initialize(serverManager: _serverManager);
// Tracker singletons init once per app; per-profile hydration happens in
// the profile-scoped provider subtree's create callbacks.
unawaited(TrackerCoordinator.instance.initialize());
@@ -778,9 +1205,11 @@ class _MainAppState extends State<MainApp> with WidgetsBindingObserver {
_memoryCheckTimer?.cancel();
_downloadManager.dispose();
// Quitting straight from the player is a real stop: the trackers that own
// their own watched semantics need the terminal report before the process
// goes away. Bounded — a hung tracker must not hold the app open.
await TrackerCoordinator.instance.stopPlayback().timeout(const Duration(seconds: 3), onTimeout: () {});
TrackerCoordinator.instance.cancelInFlight();
TraktScrobbleService.instance.cancelInFlight();
await TraktSyncService.instance.dispose();
await _serverManager.disconnectAllGracefully();
await Future.wait([
@@ -860,20 +1289,34 @@ class _MainAppState extends State<MainApp> with WidgetsBindingObserver {
PaintingBinding.instance.imageCache.clearLiveImages();
}
/// Fires [_autoDeleteAndSync] on each WiFi/Ethernet reconnect so rules run
/// as soon as the device is back online. Listens on [OfflineModeProvider],
/// which owns the app's single connectivity subscription and notifies on
/// connection-type changes. Rapid flapping is bounded by the executor's
/// cooldown.
/// Two connectivity-driven triggers, both listening on [OfflineModeProvider],
/// which owns the app's single connectivity subscription:
///
/// * [_autoDeleteAndSync] on each WiFi/Ethernet reconnect, so download rules
/// run as soon as the device is back on an unmetered link. Rapid flapping is
/// bounded by the executor's cooldown.
/// * A tracker write-queue flush whenever the network comes back at all,
/// metered included: tracker history writes are internet calls, so they can
/// land while media servers are still unreachable and the app stays offline.
void _startConnectivitySyncTrigger(DownloadProvider downloadProvider, OfflineModeProvider offlineModeProvider) {
_removeConnectivitySyncListener();
_lastConnectivityWasWifi = offlineModeProvider.hasWifiOrEthernet;
_lastConnectivityHadNetwork = offlineModeProvider.hasNetworkConnection;
_connectivitySyncProvider = offlineModeProvider;
_connectivitySyncListener = () {
final hasWifi = offlineModeProvider.hasWifiOrEthernet;
final transitioned = hasWifi && !_lastConnectivityWasWifi;
final movedOntoWifi = hasWifi && !_lastConnectivityWasWifi;
_lastConnectivityWasWifi = hasWifi;
if (transitioned) {
final hasNetwork = offlineModeProvider.hasNetworkConnection;
final networkRestored = hasNetwork && !_lastConnectivityHadNetwork;
_lastConnectivityHadNetwork = hasNetwork;
if (networkRestored) {
appLogger.d('Network restored — replaying queued tracker writes');
unawaited(TrackerCoordinator.instance.flushWriteQueue());
}
if (movedOntoWifi) {
appLogger.d('Connectivity moved onto WiFi/Ethernet — triggering sync pass');
_autoDeleteAndSync(downloadProvider);
}
@@ -950,7 +1393,7 @@ class _MainAppState extends State<MainApp> with WidgetsBindingObserver {
case AppLifecycleState.resumed:
// App came back to foreground - trigger sync check
_offlineWatchSyncService.onAppResumed();
TraktSyncService.instance.flushQueue();
unawaited(TrackerCoordinator.instance.flushWriteQueue());
// Re-probe servers — mobile OS may have dropped TCP connections during doze/sleep.
// On desktop, resumed fires on every window focus (alt-tab), so apply a cooldown
// to avoid piling up network probes from rapid alt-tabbing.
@@ -1029,6 +1472,7 @@ class _MainAppState extends State<MainApp> with WidgetsBindingObserver {
registry: context.read<ProfileRegistry>(),
plexHome: context.read<PlexHomeService>(),
connections: context.read<ConnectionRegistry>(),
profileConnections: context.read<ProfileConnectionRegistry>(),
storage: context.read<StorageService>(),
);
unawaited(provider.initialize());
+564 -79
View File
@@ -1,121 +1,606 @@
import '../utils/formatters.dart';
import 'media_source_info.dart';
/// Backend-neutral file-info payload rendered by [FileInfoBottomSheet].
/// Backend-neutral file-info payload rendered by `FileInfoBottomSheet`.
///
/// Both Plex and Jellyfin can populate any subset of these fields; rows that
/// don't apply to the active backend are left null and skipped at render
/// time. Plex fills the full set from `/library/metadata/{id}` (Media + Part
/// + Stream); Jellyfin fills the subset that's available on inline
/// `MediaSources`.
/// The shape mirrors what both media servers actually return: an item owns one
/// or more *versions* (Plex `Media`, Jellyfin `MediaSources`), a version owns
/// one or more *parts* (Plex `Part`; Jellyfin folds the file into the source,
/// so it always yields exactly one), and a part owns the demuxed *streams*.
/// Nothing is collapsed to "the first entry" — split/stacked files and
/// multi-version libraries surface every entry.
///
/// Every field either backend exposes about the file itself is modelled here.
/// Deliberately excluded are Jellyfin's ffmpeg-input plumbing flags
/// (`IgnoreDts`, `IgnoreIndex`, `GenPtsInput`, `ReadAtNativeFramerate`,
/// `RequiresOpening`/`Closing`/`Looping`, `SupportsProbing`,
/// `UseMostCompatibleTranscodingProfile`, `TranscodingSubProtocol`,
/// `HasSegments`) and its `Localized*` label helpers: they describe the
/// transcoder contract or duplicate a flag already modelled, not the file.
class MediaFileInfo {
// Media level properties
/// Every version the server reports, in server order.
final List<MediaFileVersion> versions;
const MediaFileInfo({this.versions = const []});
}
/// One playable version of an item: Plex `Media`, Jellyfin `MediaSources[]`.
///
/// The video/audio summary fields are the server's own roll-up of the primary
/// streams. They are kept because Plex derives them independently of the
/// stream table (an item can carry a `Media.videoResolution` label with no
/// probed streams at all), and they are what the version picker shows.
class MediaFileVersion {
final String? id;
/// Server-assigned version label (Plex `Media.title`, Jellyfin
/// `MediaSource.Name`).
final String? title;
final String? container;
final String? videoCodec;
final String? videoResolution;
final String? videoFrameRate;
final String? videoProfile;
/// Overall bitrate in kbps. Jellyfin reports bps and is normalised here.
final int? bitrateKbps;
final int? durationMs;
final int? width;
final int? height;
final double? aspectRatio;
final int? bitrate;
final int? duration;
/// Server resolution label (`1080`, `4k`, `sd`).
final String? videoResolutionLabel;
final String? videoCodec;
final String? videoProfile;
/// Server frame-rate label (Plex `24p`, `NTSC`).
final String? videoFrameRateLabel;
final String? audioCodec;
final String? audioProfile;
final int? audioChannels;
final bool? optimizedForStreaming;
final bool? has64bitOffsets;
// Part level properties (file)
final String? filePath;
final int? fileSize;
/// Jellyfin `Protocol` (`File`, `Http`, …).
final String? protocol;
// Stream level properties (video stream details)
final String? colorSpace;
final String? colorRange;
final String? colorPrimaries;
final String? chromaSubsampling;
final double? frameRate;
final int? bitDepth;
final int? videoBitrate;
final String? audioChannelLayout;
/// Jellyfin `VideoType` (`VideoFile`, `Dvd`, `BluRay`, `Iso`).
final String? videoType;
// Multi-track support
final List<MediaAudioTrack> audioTracks;
final List<MediaSubtitleTrack> subtitleTracks;
final bool? isRemote;
final bool? isInfiniteStream;
final bool? supportsDirectPlay;
final bool? supportsDirectStream;
final bool? supportsTranscoding;
MediaFileInfo({
/// Jellyfin content ETag — the identity the server invalidates caches on.
final String? eTag;
/// Jellyfin default stream selection for this source. `-1` on the subtitle
/// index is an explicit "start with subtitles off".
final int? defaultAudioStreamIndex;
final int? defaultSubtitleStreamIndex;
/// Jellyfin `MediaSource.Type` (`Default`, `Grouping`, `Placeholder`).
final String? sourceType;
/// Plex `proxyType == 42` — this version is a server-generated optimized
/// copy rather than the original file.
final bool? isOptimizedVersion;
/// Plex `target` — the optimization profile that produced this version.
final String? optimizationTarget;
/// Plex `deletedAt` (epoch seconds). Plex keeps listing an optimized
/// version it has already deleted, and that is exactly what a user
/// staring at a missing file needs to see.
final DateTime? deletedAt;
/// Jellyfin `Timestamp` — transport-stream timestamp mode (`None`, `Zero`,
/// `Valid`) for TS containers.
final String? transportStreamTimestamp;
/// Plex `displayOffset` — where this version starts inside a multi-part
/// presentation, as a percentage.
final int? displayOffsetPercent;
final List<MediaFilePart> parts;
/// Embedded non-media files (Jellyfin `MediaAttachments`) — typically the
/// fonts an ASS subtitle track needs.
final List<MediaFileAttachment> attachments;
const MediaFileVersion({
this.id,
this.title,
this.container,
this.videoCodec,
this.videoResolution,
this.videoFrameRate,
this.videoProfile,
this.bitrateKbps,
this.durationMs,
this.width,
this.height,
this.aspectRatio,
this.bitrate,
this.duration,
this.videoResolutionLabel,
this.videoCodec,
this.videoProfile,
this.videoFrameRateLabel,
this.audioCodec,
this.audioProfile,
this.audioChannels,
this.optimizedForStreaming,
this.has64bitOffsets,
this.filePath,
this.fileSize,
this.colorSpace,
this.colorRange,
this.colorPrimaries,
this.chromaSubsampling,
this.frameRate,
this.bitDepth,
this.videoBitrate,
this.audioChannelLayout,
this.audioTracks = const [],
this.subtitleTracks = const [],
this.protocol,
this.videoType,
this.isRemote,
this.isInfiniteStream,
this.supportsDirectPlay,
this.supportsDirectStream,
this.supportsTranscoding,
this.eTag,
this.defaultAudioStreamIndex,
this.defaultSubtitleStreamIndex,
this.sourceType,
this.isOptimizedVersion,
this.optimizationTarget,
this.deletedAt,
this.transportStreamTimestamp,
this.displayOffsetPercent,
this.parts = const [],
this.attachments = const [],
});
String? get fileSizeFormatted {
if (fileSize == null) return null;
return ByteFormatter.formatBytes(fileSize!, decimals: 2);
}
String? get bitrateFormatted => bitrateKbps == null ? null : ByteFormatter.formatBitrate(bitrateKbps!);
String? get durationFormatted {
if (duration == null) return null;
final seconds = duration! ~/ 1000;
final hours = seconds ~/ 3600;
final minutes = (seconds % 3600) ~/ 60;
final secs = seconds % 60;
return hours > 0 ? '${hours}h ${minutes}m ${secs}s' : '${minutes}m ${secs}s';
}
String? get bitrateFormatted {
if (bitrate == null) return null;
return ByteFormatter.formatBitrate(bitrate!);
}
String? get videoBitrateFormatted {
if (videoBitrate == null) return null;
return ByteFormatter.formatBitrate(videoBitrate!);
}
String? get durationFormatted => formatMediaDuration(durationMs);
/// `1920x1080` when the server probed dimensions, otherwise its own label.
String? get resolutionFormatted {
if (width != null && height != null) return '${width}x$height';
if (videoResolution != null) return videoResolution;
return null;
return videoResolutionLabel;
}
String? get aspectRatioFormatted => aspectRatio?.toStringAsFixed(2);
int get totalFileSize => parts.fold(0, (sum, part) => sum + (part.fileSize ?? 0));
String? get totalFileSizeFormatted {
final total = totalFileSize;
return total == 0 ? null : ByteFormatter.formatBytes(total, decimals: 2);
}
}
/// One file backing a version: Plex `Part`, or the Jellyfin source's own file.
class MediaFilePart {
final String? id;
final String? filePath;
final int? fileSize;
final String? container;
final int? durationMs;
final bool? optimizedForStreaming;
final bool? has64bitOffsets;
/// Plex: the server generated BIF/preview thumbnails for this part.
final bool? hasThumbnail;
/// Plex `indexes` — which preview-thumbnail index exists (`sd`).
final String? indexes;
/// Plex `packetLength` for transport-stream containers.
final int? packetLength;
/// Plex `failureBIFResultCode` / `failureBIFRetryCount` — why the server
/// has no preview thumbnails for this file, and how often it has retried.
final int? previewFailureCode;
final int? previewRetryCount;
/// Plex `exists` / `accessible` — whether the file is still on disk and
/// whether the server can read it. Only populated when the metadata was
/// fetched with `checkFiles=1`, which is what the app's Plex client does.
final bool? exists;
final bool? accessible;
/// Plex `Part.key` — the server-relative streaming path for this file.
final String? streamKey;
final List<MediaStreamDetails> streams;
const MediaFilePart({
this.id,
this.filePath,
this.fileSize,
this.container,
this.durationMs,
this.optimizedForStreaming,
this.has64bitOffsets,
this.hasThumbnail,
this.indexes,
this.packetLength,
this.previewFailureCode,
this.previewRetryCount,
this.exists,
this.accessible,
this.streamKey,
this.streams = const [],
});
String? get fileSizeFormatted => fileSize == null ? null : ByteFormatter.formatBytes(fileSize!, decimals: 2);
String? get durationFormatted => formatMediaDuration(durationMs);
/// Trailing path segment — the filename the user recognises.
String? get fileName {
final path = filePath;
if (path == null || path.isEmpty) return null;
final separator = path.contains('\\') ? '\\' : '/';
final segments = path.split(separator).where((segment) => segment.isNotEmpty);
return segments.isEmpty ? path : segments.last;
}
Iterable<MediaStreamDetails> streamsOfKind(MediaStreamKind kind) => streams.where((s) => s.kind == kind);
}
/// Embedded attachment (Jellyfin `MediaAttachments`).
class MediaFileAttachment {
final int? index;
final String? fileName;
final String? mimeType;
final String? codec;
const MediaFileAttachment({this.index, this.fileName, this.mimeType, this.codec});
}
enum MediaStreamKind { video, audio, subtitle, image, data, lyric, unknown }
/// Colour/HDR classification of a video stream, normalised across backends.
///
/// Jellyfin reports it directly (`VideoRangeType`); Plex is derived from the
/// transfer characteristics plus the Dolby Vision block.
enum MediaVideoRange {
sdr,
hdr,
hdr10,
hdr10Plus,
hlg,
dolbyVision,
dolbyVisionHdr10,
dolbyVisionHlg,
unknown;
/// Technical label. Left untranslated on purpose — these are the trade
/// names people match against their display's spec sheet, exactly like the
/// codec strings next to them.
String? get label => switch (this) {
MediaVideoRange.sdr => 'SDR',
MediaVideoRange.hdr => 'HDR',
MediaVideoRange.hdr10 => 'HDR10',
MediaVideoRange.hdr10Plus => 'HDR10+',
MediaVideoRange.hlg => 'HLG',
MediaVideoRange.dolbyVision => 'Dolby Vision',
MediaVideoRange.dolbyVisionHdr10 => 'Dolby Vision (HDR10)',
MediaVideoRange.dolbyVisionHlg => 'Dolby Vision (HLG)',
MediaVideoRange.unknown => null,
};
}
/// Dolby Vision descriptor. Plex exposes it as `DOVI*` keys on the video
/// stream, Jellyfin as `Dv*`/`*PresentFlag`.
class MediaDolbyVisionInfo {
final int? profile;
final int? level;
final String? version;
final int? blCompatibilityId;
final bool? blPresent;
final bool? elPresent;
final bool? rpuPresent;
/// Jellyfin's own summary string (`Dolby Vision Profile 8.1 (HDR10)`).
final String? title;
const MediaDolbyVisionInfo({
this.profile,
this.level,
this.version,
this.blCompatibilityId,
this.blPresent,
this.elPresent,
this.rpuPresent,
this.title,
});
bool get isEmpty =>
profile == null &&
level == null &&
version == null &&
blCompatibilityId == null &&
blPresent == null &&
elPresent == null &&
rpuPresent == null &&
title == null;
/// `Profile 8.1` — the shorthand people actually quote.
String? get profileFormatted {
if (profile == null) return title;
final compatibility = blCompatibilityId;
return compatibility == null || compatibility == 0 ? 'Profile $profile' : 'Profile $profile.$compatibility';
}
}
/// One demuxed stream of a part. A single class covers video/audio/subtitle so
/// the sheet can render any stream the server reports — including the image
/// and data streams both backends occasionally expose — without a per-kind
/// parallel hierarchy. Fields that don't apply to a kind stay null.
class MediaStreamDetails {
final MediaStreamKind kind;
/// Backend stream id (Plex `Stream.id`, Jellyfin has none).
final String? id;
/// Container stream ordinal.
final int? index;
/// 1-based ordinal among streams of the same kind, for display.
final int ordinal;
final String? title;
/// Server-rendered summary (Plex `extendedDisplayTitle`, Jellyfin
/// `DisplayTitle`).
final String? displayTitle;
final String? codec;
/// FourCC / container codec tag (Plex `codecID`, Jellyfin `CodecTag`).
final String? codecTag;
final String? profile;
final int? level;
/// Human-readable language (Plex `language`, Jellyfin `DisplayLanguage`).
final String? language;
/// ISO 639 code as the server reports it.
final String? languageCode;
/// Stream bitrate in kbps. Jellyfin reports bps and is normalised here.
final int? bitrateKbps;
final bool? isDefault;
final bool? isForced;
final bool? isSelected;
final bool? isExternal;
final bool? isHearingImpaired;
/// Plex dubbed/original audio flags.
final bool? isDub;
final bool? isOriginal;
// ---- video ----
final int? width;
final int? height;
final int? codedWidth;
final int? codedHeight;
final double? frameRate;
final String? scanType;
final bool? isInterlaced;
final int? bitDepth;
final int? refFrames;
final String? pixelFormat;
final String? colorSpace;
final String? colorRange;
final String? colorPrimaries;
final String? colorTransfer;
final String? chromaSubsampling;
final String? chromaLocation;
/// Display aspect ratio as the server words it (`16:9`, `2.35:1`).
final String? aspectRatio;
final String? pixelAspectRatio;
final bool? isAnamorphic;
final MediaVideoRange videoRange;
final bool? hasHdr10Plus;
final MediaDolbyVisionInfo? dolbyVision;
/// Jellyfin `IsAVC` — whether an H.264 stream uses the AVC (not Annex B)
/// bitstream layout, with its NAL length prefix size.
final bool? isAvc;
final int? nalLengthSize;
/// Plex `hasScalingMatrix` — H.264 custom scaling matrices, which some
/// hardware decoders reject.
final bool? hasScalingMatrix;
/// Transport-stream PID / program identifier.
final String? streamIdentifier;
/// Free-form ffmpeg stream comment tag (Plex `comment`, Jellyfin
/// `Comment` on embedded cover art).
final String? comment;
/// Clockwise display rotation in degrees (Jellyfin `Rotation`).
final int? rotation;
/// Plex `descriptions` — the track carries audio descriptions for the
/// visually impaired.
final bool? hasDescriptions;
/// Plex `headerCompression` — the Matroska track uses header stripping,
/// which some demuxers reject.
final bool? headerCompression;
/// On-disk path of a sidecar stream (Jellyfin `Path` on external subtitle
/// and lyric streams).
final String? filePath;
/// Jellyfin `TimeBase` — the stream's ffmpeg time base (`1/24000`).
final String? timeBase;
// ---- audio ----
final int? channels;
final String? channelLayout;
final int? sampleRate;
/// Jellyfin `AudioSpatialFormat` (`DolbyAtmos`, `DTSX`).
final String? spatialFormat;
// ---- subtitle ----
final bool? isTextSubtitle;
/// The server can hand this subtitle over as a sidecar file rather than
/// muxed in the stream.
final bool? supportsExternalStream;
/// Sidecar subtitle file format (Plex `format`).
final String? subtitleFormat;
/// Where a downloaded subtitle came from (Plex `providerTitle`).
final String? providerTitle;
/// Match score of a downloaded/auto-selected subtitle.
final int? score;
/// Plex `key` on a sidecar subtitle — the server-relative path the
/// subtitle file is served from, and what marks the track external.
final String? externalKey;
/// Plex `transient` — a subtitle attached to this playback only, not
/// stored on the item.
final bool? isTransient;
/// Plex `sourceKey` — the library stream a downloaded subtitle was
/// copied from.
final String? sourceKey;
const MediaStreamDetails({
required this.kind,
required this.ordinal,
this.timeBase,
this.externalKey,
this.isTransient,
this.sourceKey,
this.comment,
this.rotation,
this.hasDescriptions,
this.headerCompression,
this.filePath,
this.id,
this.index,
this.title,
this.displayTitle,
this.codec,
this.codecTag,
this.profile,
this.level,
this.language,
this.languageCode,
this.bitrateKbps,
this.isDefault,
this.isForced,
this.isSelected,
this.isExternal,
this.isHearingImpaired,
this.isDub,
this.isOriginal,
this.width,
this.height,
this.codedWidth,
this.codedHeight,
this.frameRate,
this.scanType,
this.isInterlaced,
this.bitDepth,
this.refFrames,
this.pixelFormat,
this.colorSpace,
this.colorRange,
this.colorPrimaries,
this.colorTransfer,
this.chromaSubsampling,
this.chromaLocation,
this.aspectRatio,
this.pixelAspectRatio,
this.isAnamorphic,
this.videoRange = MediaVideoRange.unknown,
this.hasHdr10Plus,
this.dolbyVision,
this.isAvc,
this.nalLengthSize,
this.hasScalingMatrix,
this.streamIdentifier,
this.channels,
this.channelLayout,
this.sampleRate,
this.spatialFormat,
this.isTextSubtitle,
this.supportsExternalStream,
this.subtitleFormat,
this.providerTitle,
this.score,
});
String? get bitrateFormatted => bitrateKbps == null ? null : ByteFormatter.formatBitrate(bitrateKbps!);
String? get resolutionFormatted => (width != null && height != null) ? '${width}x$height' : null;
String? get codedResolutionFormatted =>
(codedWidth != null && codedHeight != null) ? '${codedWidth}x$codedHeight' : null;
String? get frameRateFormatted {
if (frameRate != null) return '${frameRate!.toStringAsFixed(3)} fps';
if (videoFrameRate != null) return videoFrameRate;
final rate = frameRate;
if (rate == null) return null;
final rounded = rate.roundToDouble();
final text = (rate - rounded).abs() < 0.0005 ? rounded.toStringAsFixed(0) : rate.toStringAsFixed(3);
return '$text fps';
}
String? get sampleRateFormatted {
final rate = sampleRate;
if (rate == null) return null;
return rate % 1000 == 0 ? '${rate ~/ 1000} kHz' : '${(rate / 1000).toStringAsFixed(1)} kHz';
}
String? get bitDepthFormatted => bitDepth == null ? null : '$bitDepth bit';
/// `5.1 (6 ch)` — layout first, because that is what people scan for.
String? get channelsFormatted {
final layout = channelLayout;
final count = channels;
if (layout != null && layout.isNotEmpty && count != null) return '$layout ($count ch)';
if (layout != null && layout.isNotEmpty) return layout;
if (count != null) return '$count ch';
return null;
}
String? get audioChannelsFormatted {
if (audioChannels == null) return null;
var channelText = '$audioChannels channel${audioChannels! > 1 ? 's' : ''}';
if (audioChannelLayout != null) channelText += ' ($audioChannelLayout)';
return channelText;
bool get isSpatialAudio {
final format = spatialFormat;
return format != null && format.isNotEmpty && format.toLowerCase() != 'none';
}
/// `DolbyAtmos` → `Dolby Atmos`. Jellyfin ships the enum name verbatim.
String? get spatialFormatLabel {
if (!isSpatialAudio) return null;
return spatialFormat!.replaceAllMapped(RegExp(r'(?<=[a-z0-9])(?=[A-Z])'), (_) => ' ');
}
/// Short label for the stream row: the server's own summary when it has one,
/// otherwise title/language/codec in that order.
String get headline {
for (final candidate in [displayTitle, title, language, codec]) {
if (candidate != null && candidate.trim().isNotEmpty) return candidate.trim();
}
return '#$ordinal';
}
}
/// `1h 23m 45s` / `23m 45s` / `45s`. Shared by version and part rows.
String? formatMediaDuration(int? milliseconds) {
if (milliseconds == null) return null;
final totalSeconds = milliseconds ~/ 1000;
final hours = totalSeconds ~/ 3600;
final minutes = (totalSeconds % 3600) ~/ 60;
final seconds = totalSeconds % 60;
if (hours > 0) return '${hours}h ${minutes}m ${seconds}s';
if (minutes > 0) return '${minutes}m ${seconds}s';
return '${seconds}s';
}
+49 -5
View File
@@ -10,10 +10,16 @@ import 'media_backend.dart';
import 'media_kind.dart';
import 'media_role.dart';
import 'media_version.dart';
import 'media_rating.dart';
part 'media_item.freezed.dart';
part 'media_item.g.dart';
/// Container aspect ratio below which a hero prefers square background art.
/// A 16:9 backdrop only cover-fits a taller box by discarding most of the
/// frame, so portrait phone/tablet heroes read better with the square image.
const double _squareHeroAspectRatio = 1.39;
/// Backend-neutral media item shape used by UI, providers, persistence, and
/// playback. Concrete variants retain backend-only fields without forcing the
/// rest of the app to traffic in Plex/Jellyfin DTOs.
@@ -61,6 +67,7 @@ sealed class MediaItem with _$MediaItem {
int? addedAt,
int? updatedAt,
double? rating,
List<MediaRatingSource>? ratings,
double? userRating,
bool? isFavorite,
List<String>? genres,
@@ -123,6 +130,7 @@ sealed class MediaItem with _$MediaItem {
addedAt: addedAt,
updatedAt: updatedAt,
rating: rating,
ratings: ratings,
userRating: userRating,
isFavorite: isFavorite,
genres: genres,
@@ -184,6 +192,7 @@ sealed class MediaItem with _$MediaItem {
addedAt: addedAt,
updatedAt: updatedAt,
rating: rating,
ratings: ratings,
userRating: userRating,
isFavorite: isFavorite,
genres: genres,
@@ -252,11 +261,14 @@ sealed class MediaItem with _$MediaItem {
@JsonKey(fromJson: flexibleInt) int? addedAt,
@JsonKey(fromJson: flexibleInt) int? updatedAt,
@JsonKey(fromJson: flexibleDouble) double? rating,
@JsonKey(fromJson: flexibleDouble) double? audienceRating,
@JsonKey(fromJson: flexibleDouble) double? userRating,
/// Every attributed score the response carried, headline first. Plex
/// listings yield one or two (the `rating`/`audienceRating` pair with
/// their source images); `/library/metadata/{id}` adds the `Rating[]`
/// array, so IMDb and TMDB join Rotten Tomatoes on detail screens.
@JsonKey(fromJson: _mediaItemRatingsFromJson) List<MediaRatingSource>? ratings,
bool? isFavorite,
String? ratingImage,
String? audienceRatingImage,
@JsonKey(fromJson: _mediaItemStringList) List<String>? genres,
@JsonKey(fromJson: _mediaItemStringList) List<String>? directors,
@JsonKey(fromJson: _mediaItemStringList) List<String>? writers,
@@ -330,6 +342,10 @@ sealed class MediaItem with _$MediaItem {
@JsonKey(fromJson: flexibleInt) int? updatedAt,
@JsonKey(fromJson: flexibleDouble) double? rating,
@JsonKey(fromJson: flexibleDouble) double? userRating,
/// `CommunityRating` and the `CriticRating` Tomatometer, in that order.
/// Jellyfin exposes no per-source array, so this is at most two entries.
@JsonKey(fromJson: _mediaItemRatingsFromJson) List<MediaRatingSource>? ratings,
bool? isFavorite,
@JsonKey(fromJson: _mediaItemStringList) List<String>? genres,
@JsonKey(fromJson: _mediaItemStringList) List<String>? directors,
@@ -676,14 +692,33 @@ sealed class MediaItem with _$MediaItem {
return resolvedBackdropPaths;
}
/// The backdrops a hero may rotate through in a container of
/// [containerAspectRatio].
///
/// `CyclingMediaBackdrop` cycles its rotation set indefinitely and reaches a
/// fallback path only once every rotating path has failed to load, so the
/// rotation set must hold whatever [heroArtCandidates] prefers — otherwise
/// one servable wide backdrop hides the square background for good and a
/// near-square hero is stuck with a cropped 16:9 frame. Such containers
/// therefore rotate the square background alone, which is to say they hold
/// still.
List<String> heroRotationPaths({required double containerAspectRatio}) {
if (containerAspectRatio < _squareHeroAspectRatio) {
final square = backgroundSquarePath;
if (square != null && square.isNotEmpty) return [square];
}
return heroBackdropPaths;
}
/// Returns hero art candidates in display-preference order.
List<String> heroArtCandidates({required double containerAspectRatio}) {
final own = resolvedBackdropPaths;
final inherited = resolvedGrandparentBackdropPaths;
final isNearSquare = containerAspectRatio < _squareHeroAspectRatio;
final preferred = switch (kind) {
MediaKind.episode when containerAspectRatio < 1.39 => <String?>[backgroundSquarePath, ...inherited, ...own],
MediaKind.episode when isNearSquare => <String?>[backgroundSquarePath, ...inherited, ...own],
MediaKind.episode => <String?>[...inherited, ...own, backgroundSquarePath],
_ when containerAspectRatio < 1.39 => <String?>[backgroundSquarePath, ...own],
_ when isNearSquare => <String?>[backgroundSquarePath, ...own],
_ => <String?>[...own, backgroundSquarePath],
};
@@ -725,4 +760,13 @@ List<MediaVersion>? _mediaItemVersionsFromJson(Object? raw) {
: null;
}
List<MediaRatingSource>? _mediaItemRatingsFromJson(Object? raw) {
return raw is List
? [
for (final rating in raw)
if (rating is Map<String, Object?>) ?MediaRatingSource.fromJson(rating),
]
: null;
}
Map<String, Object?>? _mediaItemRawFromJson(Object? raw) => raw is Map ? Map<String, Object?>.from(raw) : null;
File diff suppressed because one or more lines are too long
+4 -6
View File
@@ -51,11 +51,9 @@ PlexMediaItem _$PlexMediaItemFromJson(Map<String, dynamic> json) =>
addedAt: flexibleInt(json['addedAt']),
updatedAt: flexibleInt(json['updatedAt']),
rating: flexibleDouble(json['rating']),
audienceRating: flexibleDouble(json['audienceRating']),
userRating: flexibleDouble(json['userRating']),
ratings: _mediaItemRatingsFromJson(json['ratings']),
isFavorite: json['isFavorite'] as bool?,
ratingImage: json['ratingImage'] as String?,
audienceRatingImage: json['audienceRatingImage'] as String?,
genres: _mediaItemStringList(json['genres']),
directors: _mediaItemStringList(json['directors']),
writers: _mediaItemStringList(json['writers']),
@@ -123,11 +121,9 @@ Map<String, dynamic> _$PlexMediaItemToJson(PlexMediaItem instance) =>
'addedAt': ?instance.addedAt,
'updatedAt': ?instance.updatedAt,
'rating': ?instance.rating,
'audienceRating': ?instance.audienceRating,
'userRating': ?instance.userRating,
'ratings': ?instance.ratings?.map((e) => e.toJson()).toList(),
'isFavorite': ?instance.isFavorite,
'ratingImage': ?instance.ratingImage,
'audienceRatingImage': ?instance.audienceRatingImage,
'genres': ?instance.genres,
'directors': ?instance.directors,
'writers': ?instance.writers,
@@ -200,6 +196,7 @@ JellyfinMediaItem _$JellyfinMediaItemFromJson(Map<String, dynamic> json) =>
updatedAt: flexibleInt(json['updatedAt']),
rating: flexibleDouble(json['rating']),
userRating: flexibleDouble(json['userRating']),
ratings: _mediaItemRatingsFromJson(json['ratings']),
isFavorite: json['isFavorite'] as bool?,
genres: _mediaItemStringList(json['genres']),
directors: _mediaItemStringList(json['directors']),
@@ -262,6 +259,7 @@ Map<String, dynamic> _$JellyfinMediaItemToJson(JellyfinMediaItem instance) =>
'updatedAt': ?instance.updatedAt,
'rating': ?instance.rating,
'userRating': ?instance.userRating,
'ratings': ?instance.ratings?.map((e) => e.toJson()).toList(),
'isFavorite': ?instance.isFavorite,
'genres': ?instance.genres,
'directors': ?instance.directors,
+61
View File
@@ -1,5 +1,6 @@
import 'ids.dart';
import 'media_item.dart';
import 'media_version.dart';
/// Merge freshly fetched metadata with identity and library context already
/// known by the caller. The fetched item owns descriptive fields, while
@@ -12,3 +13,63 @@ MediaItem mergeFetchedMediaItem({required MediaItem fetched, required ServerId f
libraryTitle: fetched.libraryTitle ?? existing?.libraryTitle,
);
}
/// Tallest version height an item exposes, or 0 when the backend reported
/// none.
int _bestResolutionHeight(MediaItem item) {
var best = 0;
for (final version in item.mediaVersions ?? const <MediaVersion>[]) {
final height = version.resolutionHeight;
if (height != null && height > best) best = height;
}
return best;
}
/// Order the library copies of one title best-first: highest resolution, then
/// library title, then server name, then global key.
///
/// Total and derived purely from the items, so a chooser can re-sort after
/// merging a later resolution pass without its rows jumping around.
int compareLibraryCopies(MediaItem a, MediaItem b) {
final byResolution = _bestResolutionHeight(b).compareTo(_bestResolutionHeight(a));
if (byResolution != 0) return byResolution;
final byLibrary = (a.libraryTitle ?? '').compareTo(b.libraryTitle ?? '');
if (byLibrary != 0) return byLibrary;
final byServer = (a.serverName ?? '').compareTo(b.serverName ?? '');
if (byServer != 0) return byServer;
return a.globalKey.compareTo(b.globalKey);
}
/// Fold a re-resolved copy into the one already on screen.
///
/// The addition is fresher, but a degraded pass must not erase context. The
/// Jellyfin library stamp is a best-effort `/Items/{id}/Ancestors` call that
/// hands back an unstamped item when it fails, and a copy that lost its
/// library title is indistinguishable from its sibling in the same server's
/// other library — exactly the ambiguity the chooser exists to resolve. The
/// version list behind the resolution hint is treated the same way.
MediaItem _mergeCopy(MediaItem existing, MediaItem addition) {
final versions = addition.mediaVersions;
return addition.copyWith(
libraryId: addition.libraryId ?? existing.libraryId,
libraryTitle: addition.libraryTitle ?? existing.libraryTitle,
serverName: addition.serverName ?? existing.serverName,
mediaVersions: versions == null || versions.isEmpty ? existing.mediaVersions : versions,
);
}
/// Union [additions] into [current] by [MediaItem.globalKey], then re-sort
/// with [compareLibraryCopies]. A key on both sides is folded by [_mergeCopy].
///
/// Never removes a copy, and never downgrades one. The cross-server fan-out
/// behind these lists logs and skips per-server failures, so a later pass can
/// legitimately come back short a server, or short the best-effort library
/// stamp of a copy it did return.
List<MediaItem> mergeLibraryCopies(Iterable<MediaItem> current, Iterable<MediaItem> additions) {
final byKey = <String, MediaItem>{for (final item in current) item.globalKey: item};
for (final item in additions) {
final existing = byKey[item.globalKey];
byKey[item.globalKey] = existing == null ? item : _mergeCopy(existing, item);
}
return byKey.values.toList()..sort(compareLibraryCopies);
}
+9
View File
@@ -30,6 +30,15 @@ enum MediaKind {
bool get isPlayable => isVideo || this == track;
/// Whether this kind maps to one or more files on disk, i.e. the server can
/// answer `MediaServerClient.getFileInfo` for it.
///
/// Deliberately not folded into [isPlayable] even though the member sets
/// coincide today: container kinds (show, season, artist, album, collection,
/// playlist, folder) aggregate leaves and carry no `Media`/`MediaSources` of
/// their own, while a non-playable kind can still be file-backed.
bool get hasFileInfo => this == movie || this == episode || this == track || this == clip;
/// Whether this container kind derives watched state from aggregate leaves.
bool get usesLeafWatchCounts => switch (this) {
show || season || artist || album || collection || playlist || folder => true,
+37
View File
@@ -0,0 +1,37 @@
/// One attributed score for a media item.
///
/// Backends routinely return several: Plex's `/library/metadata/{id}` carries
/// an IMDb score next to both Rotten Tomatoes panels and TMDB, Simkl carries
/// Simkl/IMDb/MAL side by side, Jellyfin carries a community score next to a
/// Tomatometer. `MediaItem.rating` keeps the backend's headline number; this
/// list keeps every score with attribution so the UI can badge and label them.
///
/// Serialization is hand-written rather than `json_serializable` because
/// catalog objects round-trip through `MediaItem.raw` maps rather than a
/// generated codec.
library;
class MediaRatingSource {
/// Stable, lowercase source key: `imdb`, `tmdb`, `rottenTomatoesCritic`,
/// `rottenTomatoesAudience`, `simkl`, `mal`, `anilist`, `trakt`, `critic`,
/// `audience`. Rendered through a label map, never raw.
final String source;
/// Normalized to 0-10 by the mapper, matching `MediaItem.rating`. Percentage
/// sources (Rotten Tomatoes, TMDB) are rendered back as `value * 10`%.
final double value;
/// How many users the score is based on, when the backend says.
final int? votes;
const MediaRatingSource({required this.source, required this.value, this.votes});
Map<String, Object?> toJson() => {'source': source, 'value': value, if (votes != null) 'votes': votes};
static MediaRatingSource? fromJson(Map<String, Object?> json) {
final source = json['source'] as String?;
final value = (json['value'] as num?)?.toDouble();
if (source == null || value == null) return null;
return MediaRatingSource(source: source, value: value, votes: json['votes'] as int?);
}
}

Some files were not shown because too many files have changed in this diff Show More