Compare commits

...
162 Commits
Author SHA1 Message Date
github-actions[bot] 849ef6efe5 chore: bump version to 1.27.0 2026-03-14 00:53:01 +00:00
edde746 e968a20f4c fix(livetv): soften EPG grid program styling 2026-03-13 18:49:40 +01:00
edde746 7a6b866c28 fix(livetv): fetch boundary-spanning programs
close #686
2026-03-13 18:45:00 +01:00
edde746 6ccbaed3fd fix(livetv): always bold EPG program titles in guide grid
close #687
2026-03-13 18:20:47 +01:00
edde746 d01628a262 fix(android): use OkHttp connection pooling to prevent high-bitrate stutter
Replace DefaultHttpDataSource with OkHttpDataSource for TCP connection
reuse on buffer refill. Increase buffer sizes for devices with >=1GB RAM.
2026-03-13 17:23:06 +01:00
edde746 675ac84486 fix: use settings-style bottom sheet for browse grouping picker 2026-03-13 12:05:51 +01:00
edde746 e84dc93910 fix: prevent tab revert and overflow bleed on mobile tab switch
Skip auto-focus in touch mode to prevent ensureVisible() from fighting
TabBarView animations, and clip each tab with ClipRect to stop hub row
overflow bleeding into adjacent tabs during swipe transitions.
2026-03-13 00:09:24 +01:00
edde746 3d30ea1342 fix(macos): reduce idle CPU when video player is paused
- Remove vulkan-swap-mode mailbox (continuous GPU rendering even when paused)
- End playback activity assertion on pause, restore on play
- Fix PerformanceStatsService persistent frame callback leak
2026-03-12 23:22:58 +01:00
edde746 efd28d3ca3 docs: add AUR package to readme 2026-03-12 13:20:16 +01:00
edde746 8a28a2c398 fix: only autofocus bottom sheets in keyboard/dpad mode 2026-03-12 05:02:52 +01:00
edde746 c6fa6afa9b fix: android thread safety
- ExoPlayerPlugin: move all MPV JNI calls off main thread via runOnExecutor
- WatchNextPlugin: run ContentProvider ops on IO executor with error handling
- MpvPlayerCore: guard executor methods against dispose race (RejectedExecutionException)
- MainActivity: fix PiP null engine NPE with safe flutterEngine?.let
2026-03-12 03:34:32 +01:00
edde746 912ebc2f90 fix: cooldown resume health probes, debounce connectivity, coalesce concurrent checks
Add per-platform cooldown on resume health probes (10s mobile, 2min
desktop). Debounce connectivity listener by 2s. Coalesce concurrent
checkServerHealth and reconnectOfflineServers into single in-flight
futures.
2026-03-12 02:52:14 +01:00
edde746 f04b49e260 fix: guard mpv event handler during disposal 2026-03-12 02:44:50 +01:00
edde746 a17458ff9b fix: handle DBusServiceUnknownException on Linux without NetworkManager 2026-03-12 02:24:00 +01:00
edde746 c062dd944e feat: inline season tabs and d-pad focus improvements 2026-03-12 00:57:51 +01:00
edde746 1a4516bdd1 Merge branch 'feature/respect-season-mode' 2026-03-11 23:09:23 +01:00
edde746 5538e0627b refactor: remove SeasonDetailScreen, unify into MediaDetailScreen
Extract EpisodeCard to its own widget file. MediaDetailScreen now handles
isSeason by showing episodes directly, with proper watch state tracking,
deletion handling, and D-pad focus navigation. Hide empty overview sections.
2026-03-11 23:08:39 +01:00
edde746 7febfa9771 fix: deduplicate episode fetching and use lazy list for flattened seasons 2026-03-11 22:35:30 +01:00
Micah Morrison 160be52f02 Fix parsing setting value 2026-03-11 17:13:11 -04:00
edde746 828d57af24 fix: auto-reconnect stream after network loss during playback 2026-03-11 22:08:11 +01:00
edde746 1f7fb2201c fix: handle null ratingKey in folder browsing 2026-03-11 22:08:11 +01:00
Micah Morrison 32ae51142f Respect the Plex server library season view mode 2026-03-11 16:42:49 -04:00
edde746andGitHub 7014df7a0e Merge pull request #680 from micahmo/fix/always-on-top
Fix issue with always on top getting stuck
2026-03-11 20:50:49 +01:00
Micah Morrison cb0ed15c0c Fix issue with always on top getting stuck 2026-03-11 15:00:17 -04:00
edde746 d4e9364d29 fix: handle TogglePlayPauseEvent for macOS media key
close #679
2026-03-11 18:28:07 +01:00
edde746 4681d60850 fix: hide admin actions from non-admin users
close #677
2026-03-11 18:18:27 +01:00
edde746 78052dc07f fix: player stuck on skip credits with no next episode
close #678
2026-03-11 18:02:33 +01:00
edde746 67c66ff0c1 fix: prevent layout shift for image placeholders 2026-03-11 15:02:38 +01:00
edde746 d1bb99635a feat: configurable intro/credits marker regex patterns
Add settings to customize regex patterns for matching intro and credits
markers in chapter titles, with the current hardcoded values as defaults.
Also reclassifies real markers with non-standard type strings against the
configured patterns.
2026-03-11 15:00:24 +01:00
github-actions[bot] 69092e3656 chore: update cask to 1.26.1 2026-03-11 13:32:42 +00:00
github-actions[bot] 98138a4f35 chore: bump version to 1.26.1 2026-03-11 13:09:47 +00:00
edde746 25c7f325b6 feat: use git commit SHA for sentry release version 2026-03-11 14:09:14 +01:00
edde746 5dbaf961b7 fix: ASS subtitles broken when DV mode enabled
close #674
2026-03-11 14:04:21 +01:00
edde746 b4471fab49 fix: add D3D11 fallback for gpu-api on Windows 2026-03-11 13:54:21 +01:00
edde746 307fd354d6 fix: make overlay sheets dismissible when no descendant is focused
close #673
2026-03-11 13:30:07 +01:00
edde746 a3b5557185 fix: use stream-lavf-o instead of stream-lavf-o-append for reconnect
stream-lavf-o-append is an mpv "action" that only works as an
init option, not a runtime property — all calls returned -3.
Using stream-lavf-o as a single property set works correctly.
2026-03-11 09:40:39 +01:00
edde746 3c491be690 fix: handle mpv end-file errors with global snackbar 2026-03-11 09:29:16 +01:00
edde746 580c1d82e5 fix: stuck network check on Linux without NetworkManager
close #670
2026-03-11 08:55:25 +01:00
github-actions[bot] 4cc83006ec chore: update cask to 1.26.0 2026-03-11 04:33:26 +00:00
edde746 4954c9c569 fix: replace tunneling reopen with simple parameter toggle
Removes the full player restart cycle for tunneling changes that was
causing infinite spinning/blank screen on Amlogic devices (Onn 4K Pro).
2026-03-11 05:08:43 +01:00
edde746 8f1b40d143 fix: handle string childCount in collections 2026-03-11 05:08:43 +01:00
github-actions[bot] d72153c25a chore: bump version to 1.26.0 2026-03-11 04:08:09 +00:00
edde746 666b59c293 refactor(native-player): share player helpers 2026-03-11 01:30:11 +01:00
edde746 7543a8c55b refactor: clean up windows code 2026-03-10 22:24:14 +01:00
edde746 bfc7be2b80 fix: default to Vulkan on Windows
close #653
2026-03-10 19:42:43 +01:00
edde746 8b2c68f3ae chore: switch Windows libmpv builds to SourceForge 2026-03-10 19:08:04 +01:00
edde746 9aa019fe6f fix: ANR in detachSurface 2026-03-10 19:07:33 +01:00
edde746 23a100afdc feat: auto-reconnect VOD playback after network loss 2026-03-10 18:47:31 +01:00
edde746 af2ac2c993 fix: suppress ASS GL thread crash, update ass-media to 0.4.0 2026-03-10 06:41:43 +01:00
edde746 166e73cdaa fix: sync button focus nodes with actual action count 2026-03-10 06:08:55 +01:00
edde746 73fe9e054f fix: guard unsafe .first/.last calls to prevent StateError 2026-03-10 03:50:12 +01:00
edde746 42e066288f fix: clickable title event bubbling and movie support 2026-03-10 01:57:28 +01:00
edde746 682a04f047 feat: show per-server connection status on splash screen 2026-03-10 01:50:19 +01:00
edde746 29cb88e6e2 fix: translate remaining strings 2026-03-10 01:21:03 +01:00
edde746 6daf77c890 feat: convert settings dialogs to platform-adaptive menus
Replace AlertDialog-based selection dialogs with popup dropdowns on
desktop/TV and bottom sheets on mobile, matching the context menu
pattern. Fix popup background blending into cards by tinting surface.
2026-03-10 01:18:33 +01:00
edde746 0372840ee1 fix: localize EPG day names and reduce channel column width
close #661
2026-03-10 00:19:16 +01:00
edde746 3c51760203 feat: mouse-only clickable text on media cards 2026-03-09 23:56:24 +01:00
edde746 f3c735e3a1 fix: remove Docker bridge IP filter 2026-03-09 17:35:28 +01:00
edde746 7784cb7511 fix: TMDB icon gradient 2026-03-09 16:24:59 +01:00
edde746 82b0de9223 feat: display movie edition titles across all views 2026-03-09 16:16:37 +01:00
edde746 a6852d716f fix: handle null fields in PlexHome deserialization 2026-03-09 15:42:33 +01:00
edde746 92dfe5b41f fix: lazy Sparkle init to prevent macOS startup hang 2026-03-09 14:39:16 +01:00
edde746 16e96cdde0 fix: handle null fields in folder metadata deserialization 2026-03-09 14:10:37 +01:00
edde746 61e4bda616 fix: content strip text colors in light mode
close #659
2026-03-09 12:53:16 +01:00
edde746 e69fab87d0 fix: handle DVR tune error responses and show to user 2026-03-09 11:33:54 +01:00
edde746 a3e738773b fix: handle Metadata as list in DVR tune response 2026-03-09 10:52:57 +01:00
github-actions[bot] 425957c804 chore: update cask to 1.25.1 2026-03-09 06:39:08 +00:00
github-actions[bot] efa1cc8bd8 chore: bump version to 1.25.1 2026-03-09 06:22:29 +00:00
edde746 0fc64cdf81 fix: catch seek PlatformException at source, remove coordinator
Catch COMMAND_FAILED/NOT_INITIALIZED in PlayerNative.seek() and
PlayerAndroid.seek() directly, preventing unhandled PlatformException
crashes on macOS app resume. Remove the ~200-line
_PendingSeekCoordinator system and revert all callsites to direct
player.seek(clampSeekPosition(...)). Keep seekable property/stream
and media controls gating. Add ExoPlayer seekable emission.
2026-03-09 07:21:36 +01:00
edde746 d08c4c905f fix: gamepad select registering as long press 2026-03-09 07:14:41 +01:00
edde746 43b9bd7038 fix: bump universal_gamepad to 1.5.4 2026-03-09 07:06:22 +01:00
edde746 2dddd00fd3 fix: d-pad navigation on Android 2026-03-09 06:01:15 +01:00
edde746 5be7b43cb8 fix: improve content strip text visibility
close #656
2026-03-09 01:04:14 +01:00
edde746 965d9540fa fix: double sparkle update check 2026-03-09 00:29:58 +01:00
edde746 65bb7bd44e fix: catch wakelock exceptions on Linux 2026-03-08 21:20:51 +01:00
edde746 a5ade78cd6 fix: remove unused variable warning 2026-03-08 19:40:11 +01:00
edde746 57420e51cf fix: lazy client fetch in context menu 2026-03-08 19:03:03 +01:00
edde746 bec8b593be fix: bump auto_updater 2026-03-08 18:50:19 +01:00
edde746 c62e406749 refactor: gate sentry behind build flag 2026-03-08 18:15:19 +01:00
github-actions[bot] d503f6c6ce chore: update cask to 1.25.0 2026-03-08 16:48:29 +00:00
github-actions[bot] ff6e3ee92a chore: bump version to 1.25.0 2026-03-08 16:24:11 +00:00
edde746 16676bca49 perf: watch together CPU overhead 2026-03-08 16:57:15 +01:00
edde746 9e2e1f72ce refactor: remove debug token i18n strings 2026-03-08 15:13:19 +01:00
edde746 f85afbe576 fix: gamepad ANR on Android 2026-03-08 14:15:32 +01:00
edde746 6fa6b34b59 fix: player stuck after show ends with no next episode
close #650
2026-03-08 13:51:25 +01:00
edde746 7a1f677c75 fix: content strip lint warnings 2026-03-07 22:10:45 +01:00
edde746 de28691481 fix: track selection persistence with stale cache 2026-03-07 22:07:29 +01:00
edde746 686a61ac74 fix: hero section bottom fade only applies to image 2026-03-07 20:52:28 +01:00
edde746 0b1f64ef8a refactor: simplify mobile player controls
close #641
2026-03-07 20:48:17 +01:00
edde746 5b910fd3d7 fix: mpv config TextField dpad/back key navigation
Add PopScope to handle Android TV platform-level back, add down arrow
exit on last line, and fix back key trap when save preset is disabled.
2026-03-07 20:32:02 +01:00
edde746 c56e73eefe feat: add content strip for dpad navigation 2026-03-07 20:17:28 +01:00
edde746 7cfa18e1e9 fix: remove redundant thumbnail popup during dpad timeline seeking 2026-03-07 18:29:52 +01:00
edde746 06034bb8e7 feat: scale queue items for tablet screens
close #644
2026-03-07 17:06:13 +01:00
edde746 7b20543fa1 fix: support non-1x playback speed in audio position bypass
Scale raw AudioTrack position by playback speed to convert from real
time to media time. Captures reference points on speed changes for
correct mid-playback transitions.
2026-03-07 16:40:48 +01:00
edde746 d207185130 fix: bypass DefaultAudioSink position clamp for large audio frames
Fixes video stutter on files with 120ms Opus audio frames (e.g. Amlogic
S905X4). DefaultAudioSink clamps getCurrentPositionUs to writtenDuration
which lags between bursts, creating a sawtooth pattern that drops video
frames. PositionFixAudioSink bypasses the clamp using the raw AudioTrack
position when the delegate falls behind.
2026-03-07 16:27:29 +01:00
edde746 66628e1bca feat: add pt, ja, ru, pl, da, nb translations 2026-03-06 22:34:45 +01:00
edde746 beff4f9ca0 feat: add watch together playback rejoin flow
close #639
2026-03-06 20:42:18 +01:00
edde746 1318c54c0c feat: improve performance overlay layout and add decoder details 2026-03-06 19:25:41 +01:00
edde746 b05d69b10f fix: filter hub detail view by library section
close #638
2026-03-06 18:36:45 +01:00
edde746 7825490b0f fix: filter Windows file-lock cache manager errors from Sentry 2026-03-06 18:30:47 +01:00
edde746 c06b0efedc fix: correct linux package license metadata 2026-03-06 15:07:48 +01:00
edde746 43f4736936 fix: reopen ExoPlayer when tunneling mode changes 2026-03-06 13:49:03 +01:00
edde746 cf8f1849aa fix: harden watch together teardown sync 2026-03-06 12:52:28 +01:00
edde746 c9a1bc97c4 fix: remove dead state paths and restore track hotkeys 2026-03-06 11:50:45 +01:00
edde746 581f665f58 fix: restore iOS inline player after PiP closes 2026-03-06 11:35:25 +01:00
edde746 7b3a8ad642 fix: guard missing client in season detail screen 2026-03-06 11:09:42 +01:00
edde746 c1e2bc36ea refactor: share Apple MPV core and media helpers 2026-03-06 10:16:33 +01:00
edde746 72aed76a1c fix: remove unused _applyFilterWithFallback 2026-03-06 07:55:59 +01:00
edde746 7ae293631a fix: trust server-computed subtitle selection flags
The Plex server already applies all preference levels (account,
show/season, per-item) into stream `selected` flags. Remove redundant
client-side subtitleMode/account prefs logic and show/season metadata
fetching (2 fewer API calls per episode).
2026-03-06 04:25:47 +01:00
edde746 f3d24866b7 fix: trust Plex stream selection for subtitle defaults 2026-03-06 03:43:10 +01:00
edde746 985ba5d2c7 fix: toggle PiP button closes PiP when already active 2026-03-06 03:08:28 +01:00
edde746andGitHub f7ca80de77 Merge pull request #637 from micahmo/fix/setting-episode-artwork
Fix an issue setting episode artwork
2026-03-06 03:08:20 +01:00
Micah Morrison a9c7130d55 Fix an issue setting episode artwork 2026-03-05 19:21:30 -05:00
edde746 9730ffd541 fix: coerce subtitleMode string from Plex API to num 2026-03-05 21:53:52 +01:00
edde746 232f018ae7 fix: report JSON deserialization errors 2026-03-05 21:00:52 +01:00
edde746 8571ee74c4 fix: use addedAt for unwatched on-deck sort fallback
close #636
2026-03-05 19:57:36 +01:00
edde746 9566e0b897 perf: parallelize show/season metadata fetches 2026-03-05 18:56:52 +01:00
edde746 863f90f65d fix: respect series-level subtitle mode for episodes 2026-03-05 18:55:44 +01:00
edde746 22a733280a fix: respect view mode in detail screens, disable scale in list mode
close #631
2026-03-05 17:38:38 +01:00
edde746 a4008d3d6b fix: move mpv operations off UI thread 2026-03-05 16:55:44 +01:00
edde746 819d7b0f8f fix: scope library display settings per user profile
close #630
2026-03-05 16:42:13 +01:00
edde746 c785ce1f88 fix: queue sheet image loading priority with itemExtent 2026-03-05 16:11:14 +01:00
edde746 0c3588210a fix: pause hero auto-scroll on desktop background transition 2026-03-05 15:36:35 +01:00
edde746 db57fa73ce feat: add option to hide bottom navigation bar labels 2026-03-05 15:05:48 +01:00
edde746 0269825179 fix: windows single instance mutex 2026-03-05 14:59:40 +01:00
edde746 588b413223 fix: browse tab scrolling after alpha jump libraries 2026-03-05 14:41:21 +01:00
edde746 a2cd3397c9 fix: desktop context menu position and bottom sheet sizing 2026-03-05 14:25:23 +01:00
edde746 268f293704 refactor: deduplicate Dolby Vision conversion code
- Extract shared processNal() for NAL classification/conversion logic
- Share DoviExtractorOutputWrapper between MKV and MP4 paths
- Deduplicate DV profile codec queries via deviceSupportsDvProfile()
- Collapse repeated doviTrackOutput access chain in stats
2026-03-05 12:02:33 +01:00
edde746 317d5dbdd9 feat: DV Profile 7→8.1 RPU conversion via libdovi
Convert Dolby Vision Profile 7 RPU NALUs to Profile 8.1 using libdovi
native bridge, preserving dynamic tone mapping on devices with DV8
decoders. Falls back to HEVC stripping when no DV8 decoder is present.

- Add JNI bridge (dovi_bridge.cpp) wrapping libdovi's RPU converter
- Download prebuilt libdovi from edde746/libdovi-builds releases
- DoviConvertingTrackOutput: DV81 mode converts RPUs, HEVC_STRIP strips
- Retry logic: if native DV7 decoding fails, auto-retry with conversion
- Performance overlay shows active DV conversion mode
2026-03-05 11:11:57 +01:00
edde746 7f2d548d32 fix: item 0 steals focus after sidenav return 2026-03-04 18:39:49 +01:00
edde746 5877673755 fix: reduce UI padding between media items
close #629
2026-03-04 18:36:12 +01:00
edde746 3b351d7634 fix: iOS OOM during PiP playback cycles
Cancel leaked stream subscriptions in video player dispose and flush
sample buffer layer on PiP teardown/cleanup to release video frames.
2026-03-04 17:34:30 +01:00
edde746 e6ee83d9c2 fix: preserve home screen scroll position on back navigation 2026-03-04 16:34:36 +01:00
edde746 8b57e810ab feat: detail screen context menu button 2026-03-04 15:11:46 +01:00
edde746 4121d568c8 fix: sanitize mpv event channel strings for valid UTF-8 2026-03-04 14:59:11 +01:00
edde746 551bd83ffe fix: player disposed race condition 2026-03-04 14:37:51 +01:00
edde746 5f4e4bfdd3 fix: ExoPlayer fallback for unsupported DV formats
- Detect decoder hangs via AnalyticsListener (onVideoDecoderInitialized
  → onRenderedFirstFrame gap, confirmed by DecoderCounters)
- Detect deselected video tracks and trigger immediate MPV fallback
- Use reinhard tone-mapping on GPUs without compute shaders
2026-03-04 13:18:40 +01:00
edde746 8cd48f3af5 fix: firstClient null check race 2026-03-04 10:01:40 +01:00
edde746 13b5d7bae8 feat: secondary subtitle tracks
close #625
2026-03-04 09:35:36 +01:00
edde746 3a76754af9 feat: custom GLSL shader import
close #624
2026-03-04 08:47:40 +01:00
edde746 73eeac35a8 fix: disable async codec queueing 2026-03-04 07:53:13 +01:00
edde746 18abcef8a2 fix: offload large UTF-8 decoding to background isolate
Prevents ANR when Dio's responseDecoder synchronously decodes large API
responses on the main thread. Responses >50KB use compute(). Also caches
MediaCodecList query results in ExoPlayerCore companion object.
2026-03-04 07:42:26 +01:00
edde746 85800abf9f fix: disable tunneling for video codecs without tunneling support 2026-03-04 07:27:02 +01:00
edde746 2b72327013 fix: hide metal layer when window is occluded 2026-03-04 05:06:25 +01:00
edde746 cc86afb31d fix: sparkle update detection and startup hang 2026-03-04 01:09:35 +01:00
edde746 efac1a9f28 fix: watch together stream use after close 2026-03-04 00:20:48 +01:00
edde746 a9e4091500 fix: disable http breadcrumbs for sentry 2026-03-04 00:02:51 +01:00
edde746 891c4f8c32 fix: reduce currently-airing program contrast
close #622
2026-03-03 23:40:07 +01:00
edde746 96f7bd431c fix: ExoPlayer logs never reaching Dart log output
setLogLevel silently no-oped because initialized was false at call time.
emitLog gated all levels behind debugLoggingEnabled which was never set.
2026-03-03 23:23:06 +01:00
edde746 cd2ab9d9cd refactor: deduplicate shared patterns, replace hardcoded colors 2026-03-03 22:43:00 +01:00
edde746 8f3d52142d fix: watch together sync bugs and code quality
- Reset _firstPlayCompleted on detach so episode switches wait for peers
- Remove duplicate host join announcement from sync manager
- Use dedicated isPlaying field in sessionConfig with legacy fallback
- Replace Future.delayed with cancellable Timer to prevent sync indicator flicker
- Make Participant fields final and constructor const
2026-03-03 21:41:32 +01:00
edde746 cb7de47aed fix: guard ScrollController.position access in HorizontalScrollWithArrows
Prevents "Too many elements" StateError on Android TV when the controller
temporarily has multiple positions during widget rebuilds.
2026-03-03 20:45:38 +01:00
edde746 174c78bf67 fix: handle connectivity_plus PlatformException on Windows 2026-03-03 20:13:17 +01:00
edde746 19c36ca340 fix: normalize Sentry release version across platforms 2026-03-03 20:02:07 +01:00
github-actions[bot] b0432ece86 chore: update cask to 1.24.1 2026-03-03 18:39:39 +00:00
github-actions[bot] a009c6db93 chore: bump version to 1.24.1 2026-03-03 18:18:29 +00:00
edde746 e60b8d13b9 fix: improve error reporting data sanitization 2026-03-03 19:16:33 +01:00
edde746 1b673743b2 fix: handle int end-file reason from mpv on Windows/Linux 2026-03-03 19:00:32 +01:00
edde746 34e8c179fe fix: guard PiP calls on unsupported platforms 2026-03-03 19:00:32 +01:00
edde746 33d5760930 fix: uncommend play store release 2026-03-03 19:00:32 +01:00
github-actions[bot] 77ec4cc5c8 chore: update cask to 1.24.0 2026-03-03 17:02:12 +00:00
edde746 c8e6cac00c bump mpv windows to 20260303 2026-03-03 17:18:57 +01:00
217 changed files with 30358 additions and 7056 deletions
+16 -8
View File
@@ -3,6 +3,10 @@ name: Build
on:
workflow_dispatch:
env:
SENTRY_DART_DEFINE: ${{ github.repository == 'edde746/plezy' && '--dart-define=ENABLE_SENTRY=true' || '' }}
GIT_COMMIT_DART_DEFINE: --dart-define=GIT_COMMIT=${{ github.sha }}
jobs:
build-android:
runs-on: ubuntu-latest
@@ -58,7 +62,7 @@ jobs:
EOF
- name: Build APKs
run: flutter build apk --release --split-per-abi --dart-define=ENABLE_UPDATE_CHECK=true
run: flutter build apk --release --split-per-abi --dart-define=ENABLE_UPDATE_CHECK=true ${{ env.SENTRY_DART_DEFINE }} ${{ env.GIT_COMMIT_DART_DEFINE }}
- name: Clean up keystore
if: always()
@@ -126,7 +130,7 @@ jobs:
run: flutter pub get
- name: Build iOS (no codesign)
run: flutter build ios --release --no-codesign --dart-define=ENABLE_UPDATE_CHECK=true
run: flutter build ios --release --no-codesign --dart-define=ENABLE_UPDATE_CHECK=true ${{ env.SENTRY_DART_DEFINE }} ${{ env.GIT_COMMIT_DART_DEFINE }}
- name: Create IPA
run: |
@@ -184,7 +188,7 @@ jobs:
run: flutter pub get
- name: Build macOS
run: flutter build macos --release --dart-define=ENABLE_UPDATE_CHECK=true
run: flutter build macos --release --dart-define=ENABLE_UPDATE_CHECK=true ${{ env.SENTRY_DART_DEFINE }} ${{ env.GIT_COMMIT_DART_DEFINE }}
- name: Import Code Signing Certificate
env:
@@ -335,7 +339,7 @@ jobs:
run: flutter pub get
- name: Build Windows x64
run: flutter build windows --release --dart-define=ENABLE_UPDATE_CHECK=true
run: flutter build windows --release --dart-define=ENABLE_UPDATE_CHECK=true ${{ env.SENTRY_DART_DEFINE }} ${{ env.GIT_COMMIT_DART_DEFINE }}
- name: Upload x64 build
uses: actions/upload-artifact@v4
@@ -372,7 +376,7 @@ jobs:
run: flutter pub get
- name: Build Windows arm64
run: flutter build windows --release --dart-define=ENABLE_UPDATE_CHECK=true
run: flutter build windows --release --dart-define=ENABLE_UPDATE_CHECK=true ${{ env.SENTRY_DART_DEFINE }} ${{ env.GIT_COMMIT_DART_DEFINE }}
- name: Upload arm64 build
uses: actions/upload-artifact@v4
@@ -516,7 +520,7 @@ jobs:
run: flutter pub get
- name: Build Linux x64
run: flutter build linux --release --dart-define=ENABLE_UPDATE_CHECK=true
run: flutter build linux --release --dart-define=ENABLE_UPDATE_CHECK=true ${{ env.SENTRY_DART_DEFINE }} ${{ env.GIT_COMMIT_DART_DEFINE }}
env:
PKG_CONFIG_PATH: ${{ github.workspace }}/libmpv-prefix/lib/pkgconfig:${{ github.workspace }}/libmpv-prefix/lib/x86_64-linux-gnu/pkgconfig
@@ -624,7 +628,7 @@ jobs:
run: flutter pub get
- name: Build Linux arm64
run: flutter build linux --release --dart-define=ENABLE_UPDATE_CHECK=true
run: flutter build linux --release --dart-define=ENABLE_UPDATE_CHECK=true ${{ env.SENTRY_DART_DEFINE }} ${{ env.GIT_COMMIT_DART_DEFINE }}
env:
PKG_CONFIG_PATH: ${{ github.workspace }}/libmpv-prefix/lib/pkgconfig:${{ github.workspace }}/libmpv-prefix/lib/aarch64-linux-gnu/pkgconfig
@@ -712,11 +716,14 @@ jobs:
id: version
run: |
VERSION=$(grep '^version:' pubspec.yaml | sed 's/version: //' | sed 's/+.*//')
BUILD_NUMBER=$(grep '^version:' pubspec.yaml | sed 's/.*+//')
echo "version=$VERSION" >> $GITHUB_OUTPUT
echo "build_number=$BUILD_NUMBER" >> $GITHUB_OUTPUT
- name: Generate appcast.xml
run: |
VERSION="${{ steps.version.outputs.version }}"
BUILD_NUMBER="${{ steps.version.outputs.build_number }}"
# Read macOS signature metadata (may be empty if secrets not configured)
MACOS_ED_SIG=""
@@ -745,7 +752,8 @@ jobs:
<title>Plezy Updates</title>
<item>
<title>Version ${VERSION}</title>
<sparkle:version>${VERSION}</sparkle:version>
<sparkle:version>${BUILD_NUMBER}</sparkle:version>
<sparkle:shortVersionString>${VERSION}</sparkle:shortVersionString>
<sparkle:releaseNotesLink>https://gh-html.edde746.dev/edde746/plezy/${VERSION}</sparkle:releaseNotesLink>
XMLEOF
+2 -2
View File
@@ -1,6 +1,6 @@
cask "plezy" do
version "1.23.0"
sha256 "ea9ea175b704cac6555457ae957d1c71c374cbf083d9a006685df0d1d3274c1f"
version "1.26.1"
sha256 "1474e1fb13689c08f9a25eb426bc84cc95c1127f85c4fb60ee7cb9ec57eb516a"
url "https://github.com/edde746/plezy/releases/download/#{version}/plezy-macos.dmg"
name "Plezy"
+4
View File
@@ -26,6 +26,10 @@ A modern Plex client for desktop and mobile. Built with Flutter for native perfo
brew tap edde746/plezy https://github.com/edde746/plezy
brew install --cask plezy
```
- [AUR](https://aur.archlinux.org/packages/plezy-bin) (Arch Linux) - Community maintained by [@jianglai](https://github.com/jianglai):
```bash
yay -S plezy-bin
```
- **WinGet** (Windows):
```bash
winget install edde746.plezy
+54 -3
View File
@@ -8,6 +8,33 @@ plugins {
id("dev.flutter.flutter-gradle-plugin")
}
val doviVersion = "2.3.1"
val doviDir = layout.buildDirectory.dir("libdovi").get().asFile
val doviAbis = mapOf(
"arm64-v8a" to "aarch64-linux-android",
"armeabi-v7a" to "armv7-linux-androideabi",
"x86" to "i686-linux-android",
"x86_64" to "x86_64-linux-android",
)
val downloadLibdovi by tasks.registering {
val stamp = File(doviDir, ".version")
outputs.upToDateWhen { stamp.exists() && stamp.readText().trim() == doviVersion }
doLast {
doviDir.mkdirs()
val baseUrl = "https://github.com/edde746/libdovi-builds/releases/download/v$doviVersion"
doviAbis.forEach { (abi, triple) ->
val archive = File(doviDir, "$triple.tar.gz")
exec { commandLine("curl", "-sfL", "$baseUrl/libdovi-$triple.tar.gz", "-o", archive.absolutePath) }
val outDir = File(doviDir, "$abi/lib")
outDir.mkdirs()
exec { commandLine("tar", "-xzf", archive.absolutePath, "-C", outDir.absolutePath) }
archive.delete()
}
stamp.writeText(doviVersion)
}
}
android {
namespace = "com.edde746.plezy"
compileSdk = flutter.compileSdkVersion
@@ -31,6 +58,15 @@ android {
versionCode = flutter.versionCode
versionName = flutter.versionName
externalNativeBuild {
cmake {
arguments += listOf(
"-DDOVI_ENABLE_LIBDOVI=ON",
"-DDOVI_LIBDOVI_PREBUILT_ROOT=${doviDir.absolutePath}"
)
}
}
if (System.getenv("AMAZON") != null) {
versionCode = (flutter.versionCode ?: 0) + 3000
ndk {
@@ -39,6 +75,12 @@ android {
}
}
externalNativeBuild {
cmake {
path = file("src/main/cpp/CMakeLists.txt")
}
}
signingConfigs {
create("release") {
val keystorePropertiesFile = rootProject.file("key.properties")
@@ -80,6 +122,11 @@ flutter {
source = "../.."
}
// Download libdovi before any CMake/native build task
tasks.matching { it.name.contains("CMake") || it.name.contains("externalNative") }.configureEach {
dependsOn(downloadLibdovi)
}
dependencies {
implementation("dev.jdtech.mpv:libmpv:0.5.1")
@@ -91,11 +138,15 @@ dependencies {
implementation("androidx.media3:media3-ui:1.9.2")
implementation("androidx.media3:media3-common:1.9.2")
// OkHttp for connection pooling (prevents TCP reconnect stutter at high bitrates)
implementation("com.squareup.okhttp3:okhttp:4.12.0")
implementation("androidx.media3:media3-datasource-okhttp:1.9.2")
// FFmpeg audio decoder for unsupported codecs (ALAC, DTS, TrueHD, etc.)
implementation("org.jellyfin.media3:media3-ffmpeg-decoder:1.9.0+1")
// libass-android for ASS/SSA subtitle rendering (fork with font buffering fix)
implementation(files("libs/ass-media.aar"))
// libass-android for ASS/SSA subtitle rendering
implementation("io.github.peerless2012:ass-media:0.4.0")
// ass-kt core library (needed for AssRender.setFontScale)
implementation("io.github.peerless2012:ass-kt:0.4.0-beta01")
implementation("io.github.peerless2012:ass-kt:0.4.0")
}
Binary file not shown.
+1 -5
View File
@@ -9,11 +9,7 @@
<!-- Camera permission for QR code scanning (companion remote pairing) -->
<uses-permission android:name="android.permission.CAMERA"/>
<!-- PIP Permissions -->
<uses-permission android:name="android.permission.FOREGROUND_SERVICE"/>
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_MEDIA_PLAYBACK"/>
<!-- Media session permissions for OS media controls -->
<!-- PIP and media session foreground service permissions -->
<uses-permission android:name="android.permission.FOREGROUND_SERVICE"/>
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_MEDIA_PLAYBACK"/>
+19
View File
@@ -0,0 +1,19 @@
cmake_minimum_required(VERSION 3.22.1)
project(dovi_bridge)
option(DOVI_ENABLE_LIBDOVI "Link real libdovi" ON)
set(DOVI_LIBDOVI_PREBUILT_ROOT "" CACHE PATH "Path to prebuilt libdovi")
add_library(dovi_bridge SHARED dovi_bridge.cpp)
if(DOVI_ENABLE_LIBDOVI)
add_library(dovi_static STATIC IMPORTED)
set_target_properties(dovi_static PROPERTIES
IMPORTED_LOCATION "${DOVI_LIBDOVI_PREBUILT_ROOT}/${ANDROID_ABI}/lib/libdovi.a")
target_compile_definitions(dovi_bridge PRIVATE DOVI_REAL_LINKED=1)
target_include_directories(dovi_bridge PRIVATE ${CMAKE_SOURCE_DIR}/include)
target_link_libraries(dovi_bridge dovi_static log)
else()
target_compile_definitions(dovi_bridge PRIVATE DOVI_REAL_LINKED=0)
target_link_libraries(dovi_bridge log)
endif()
+105
View File
@@ -0,0 +1,105 @@
#include <jni.h>
#include <android/log.h>
#include <cstring>
#define TAG "DoviBridge"
#define LOGI(...) __android_log_print(ANDROID_LOG_INFO, TAG, __VA_ARGS__)
#define LOGW(...) __android_log_print(ANDROID_LOG_WARN, TAG, __VA_ARGS__)
#if DOVI_REAL_LINKED
#include "include/libdovi/rpu_parser.h"
#endif
static const char* BRIDGE_VERSION = "1.0.0";
extern "C" JNIEXPORT jbyteArray JNICALL
Java_com_edde746_plezy_exoplayer_DoviBridge_nativeConvertDv7RpuToDv81(
JNIEnv *env, jclass, jbyteArray payload, jint mode) {
#if !DOVI_REAL_LINKED
return nullptr;
#else
if (payload == nullptr) return nullptr;
jsize len = env->GetArrayLength(payload);
if (len <= 0) return nullptr;
jbyte *buf = env->GetByteArrayElements(payload, nullptr);
if (buf == nullptr) return nullptr;
// Try dovi_parse_unspec62_nalu first (handles escaped NALs), fallback to dovi_parse_rpu
DoviRpuOpaque *rpu = dovi_parse_unspec62_nalu(
reinterpret_cast<const uint8_t *>(buf), static_cast<size_t>(len));
if (rpu == nullptr) {
env->ReleaseByteArrayElements(payload, buf, JNI_ABORT);
return nullptr;
}
const char *err = dovi_rpu_get_error(rpu);
if (err != nullptr) {
// Fallback: try dovi_parse_rpu (raw RPU without NAL framing)
dovi_rpu_free(rpu);
rpu = dovi_parse_rpu(
reinterpret_cast<const uint8_t *>(buf), static_cast<size_t>(len));
if (rpu == nullptr) {
env->ReleaseByteArrayElements(payload, buf, JNI_ABORT);
return nullptr;
}
err = dovi_rpu_get_error(rpu);
if (err != nullptr) {
LOGW("RPU parse failed: %s", err);
dovi_rpu_free(rpu);
env->ReleaseByteArrayElements(payload, buf, JNI_ABORT);
return nullptr;
}
}
env->ReleaseByteArrayElements(payload, buf, JNI_ABORT);
// Convert to target profile (mode 2 = P8.1 with no-op curves)
int32_t ret = dovi_convert_rpu_with_mode(rpu, static_cast<uint8_t>(mode));
if (ret != 0) {
err = dovi_rpu_get_error(rpu);
LOGW("RPU conversion failed (mode %d): %s", mode, err ? err : "unknown");
dovi_rpu_free(rpu);
return nullptr;
}
// Write back as UNSPEC62 NAL
const DoviData *out = dovi_write_unspec62_nalu(rpu);
if (out == nullptr || out->data == nullptr || out->len == 0) {
err = dovi_rpu_get_error(rpu);
LOGW("RPU write failed: %s", err ? err : "unknown");
if (out != nullptr) dovi_data_free(out);
dovi_rpu_free(rpu);
return nullptr;
}
jbyteArray result = env->NewByteArray(static_cast<jsize>(out->len));
if (result != nullptr) {
env->SetByteArrayRegion(result, 0, static_cast<jsize>(out->len),
reinterpret_cast<const jbyte *>(out->data));
}
dovi_data_free(out);
dovi_rpu_free(rpu);
return result;
#endif
}
extern "C" JNIEXPORT jboolean JNICALL
Java_com_edde746_plezy_exoplayer_DoviBridge_nativeIsConversionPathReady(
JNIEnv *, jclass) {
#if DOVI_REAL_LINKED
return JNI_TRUE;
#else
return JNI_FALSE;
#endif
}
extern "C" JNIEXPORT jstring JNICALL
Java_com_edde746_plezy_exoplayer_DoviBridge_nativeGetBridgeVersion(
JNIEnv *env, jclass) {
return env->NewStringUTF(BRIDGE_VERSION);
}
@@ -0,0 +1,747 @@
// SPDX-License-Identifier: MIT
#ifndef DOVI_H
#define DOVI_H
#define RPU_PARSER_MAJOR 3
#define RPU_PARSER_MINOR 3
#define RPU_PARSER_PATCH 2
#include <stddef.h>
#include <stdint.h>
#include <stdlib.h>
#include <stdbool.h>
#define DoviNUM_COMPONENTS 3
/**
* Opaque Dolby Vision RPU.
*
* Use dovi_rpu_free to free.
* It should be freed regardless of whether or not an error occurred.
*/
typedef struct DoviRpuOpaque DoviRpuOpaque;
/**
* Struct representing a data buffer
*/
typedef struct {
/**
* Pointer to the data buffer
*/
const uint8_t *data;
/**
* Data buffer size
*/
size_t len;
} DoviData;
/**
* C struct for rpu_data_header()
*/
typedef struct {
/**
* Profile guessed from the values in the header
*/
uint8_t guessed_profile;
/**
* Enhancement layer type (FEL or MEL) if the RPU is profile 7
* null pointer if not profile 7
*/
const char *el_type;
/**
* Deprecated since 3.2.0
* The field is not actually part of the RPU header
*/
uint8_t rpu_nal_prefix;
uint8_t rpu_type;
uint16_t rpu_format;
uint8_t vdr_rpu_profile;
uint8_t vdr_rpu_level;
bool vdr_seq_info_present_flag;
bool chroma_resampling_explicit_filter_flag;
uint8_t coefficient_data_type;
uint64_t coefficient_log2_denom;
uint8_t vdr_rpu_normalized_idc;
bool bl_video_full_range_flag;
uint64_t bl_bit_depth_minus8;
uint64_t el_bit_depth_minus8;
uint64_t vdr_bit_depth_minus8;
bool spatial_resampling_filter_flag;
uint8_t reserved_zero_3bits;
bool el_spatial_resampling_filter_flag;
bool disable_residual_flag;
bool vdr_dm_metadata_present_flag;
bool use_prev_vdr_rpu_flag;
uint64_t prev_vdr_rpu_id;
} DoviRpuDataHeader;
/**
* Struct representing a data buffer
*/
typedef struct {
/**
* Pointer to the data buffer. Can be null if length is zero.
*/
const uint16_t *data;
/**
* Data buffer size
*/
size_t len;
} DoviU16Data;
/**
* Struct representing a data buffer
*/
typedef struct {
/**
* Pointer to the data buffer. Can be null if length is zero.
*/
const uint64_t *data;
/**
* Data buffer size
*/
size_t len;
} DoviU64Data;
/**
* Struct representing a data buffer
*/
typedef struct {
/**
* Pointer to the data buffer
*/
const int64_t *data;
/**
* Data buffer size
*/
size_t len;
} DoviI64Data;
/**
* Struct representing a 2D data buffer
*/
typedef struct {
/**
* Pointer to the list of Data structs
*/
const DoviI64Data *const *list;
/**
* List length
*/
size_t len;
} DoviI64Data2D;
/**
* Struct representing a 2D data buffer
*/
typedef struct {
/**
* Pointer to the list of Data structs
*/
const DoviU64Data *const *list;
/**
* List length
*/
size_t len;
} DoviU64Data2D;
typedef struct {
DoviU64Data poly_order_minus1;
DoviData linear_interp_flag;
DoviI64Data2D poly_coef_int;
DoviU64Data2D poly_coef;
} DoviPolynomialCurve;
/**
* Struct representing a 3D data buffer
*/
typedef struct {
/**
* Pointer to the list of I64Data2D structs
*/
const DoviI64Data2D *const *list;
/**
* List length
*/
size_t len;
} DoviI64Data3D;
/**
* Struct representing a 3D data buffer
*/
typedef struct {
/**
* Pointer to the list of U64Data2D structs
*/
const DoviU64Data2D *const *list;
/**
* List length
*/
size_t len;
} DoviU64Data3D;
typedef struct {
DoviData mmr_order_minus1;
DoviI64Data mmr_constant_int;
DoviU64Data mmr_constant;
DoviI64Data3D mmr_coef_int;
DoviU64Data3D mmr_coef;
} DoviMMRCurve;
typedef struct {
/**
* [2, 9]
*/
uint64_t num_pivots_minus2;
DoviU16Data pivots;
/**
* Consistent for a component
* Luma (component 0): Polynomial = 0
* Chroma (components 1 and 2): MMR = 1
*/
uint8_t mapping_idc;
/**
* mapping_idc = 0, null pointer otherwise
*/
const DoviPolynomialCurve *polynomial;
/**
* mapping_idc = 1, null pointer otherwise
*/
const DoviMMRCurve *mmr;
} DoviReshapingCurve;
/**
* C struct for rpu_data_nlq()
*/
typedef struct {
uint16_t nlq_offset[DoviNUM_COMPONENTS];
uint64_t vdr_in_max_int[DoviNUM_COMPONENTS];
uint64_t vdr_in_max[DoviNUM_COMPONENTS];
uint64_t linear_deadzone_slope_int[DoviNUM_COMPONENTS];
uint64_t linear_deadzone_slope[DoviNUM_COMPONENTS];
uint64_t linear_deadzone_threshold_int[DoviNUM_COMPONENTS];
uint64_t linear_deadzone_threshold[DoviNUM_COMPONENTS];
} DoviRpuDataNlq;
/**
* C struct for rpu_data_mapping()
*/
typedef struct {
uint64_t vdr_rpu_id;
uint64_t mapping_color_space;
uint64_t mapping_chroma_format_idc;
uint64_t num_x_partitions_minus1;
uint64_t num_y_partitions_minus1;
DoviReshapingCurve curves[DoviNUM_COMPONENTS];
/**
* Set to -1 to represent Option::None
*/
int32_t nlq_method_idc;
/**
* Set to -1 to represent Option::None
*/
int32_t nlq_num_pivots_minus2;
/**
* Length of zero when not present. Only present in profile 4 and 7.
*/
DoviU16Data nlq_pred_pivot_value;
/**
* Pointer to `RpuDataNlq` struct, null if not dual layer profile
*/
const DoviRpuDataNlq *nlq;
} DoviRpuDataMapping;
/**
* Statistical analysis of the frame: min, max, avg brightness.
*/
typedef struct {
uint16_t min_pq;
uint16_t max_pq;
uint16_t avg_pq;
} DoviExtMetadataBlockLevel1;
/**
* Creative intent trim passes per target display peak brightness
*/
typedef struct {
uint16_t target_max_pq;
uint16_t trim_slope;
uint16_t trim_offset;
uint16_t trim_power;
uint16_t trim_chroma_weight;
uint16_t trim_saturation_gain;
int16_t ms_weight;
} DoviExtMetadataBlockLevel2;
typedef struct {
/**
* Pointer to the list of ExtMetadataBlockLevel2 structs
*/
const DoviExtMetadataBlockLevel2 *const *list;
/**
* List length
*/
size_t len;
} DoviLevel2BlockList;
/**
* Level 1 offsets.
*/
typedef struct {
uint16_t min_pq_offset;
uint16_t max_pq_offset;
uint16_t avg_pq_offset;
} DoviExtMetadataBlockLevel3;
/**
* Something about temporal stability
*/
typedef struct {
uint16_t anchor_pq;
uint16_t anchor_power;
} DoviExtMetadataBlockLevel4;
/**
* Active area of the picture (letterbox, aspect ratio)
*/
typedef struct {
uint16_t active_area_left_offset;
uint16_t active_area_right_offset;
uint16_t active_area_top_offset;
uint16_t active_area_bottom_offset;
} DoviExtMetadataBlockLevel5;
/**
* ST2086/HDR10 metadata fallback
*/
typedef struct {
uint16_t max_display_mastering_luminance;
uint16_t min_display_mastering_luminance;
uint16_t max_content_light_level;
uint16_t max_frame_average_light_level;
} DoviExtMetadataBlockLevel6;
/**
* Creative intent trim passes per target display peak brightness
* For CM v4.0, L8 metadata only is present and used to compute L2
*
* This block can have varying byte lengths: 10, 12, 13, 19, 25
* Depending on the length, the fields parsed default to zero and may not be set.
* Up to (including):
* - 10: ms_weight
* - 12: target_mid_contrast
* - 13: clip_trim
* - 19: saturation_vector_field[0-5]
* - 25: hue_vector_field[0-5]
*/
typedef struct {
uint64_t length;
uint8_t target_display_index;
uint16_t trim_slope;
uint16_t trim_offset;
uint16_t trim_power;
uint16_t trim_chroma_weight;
uint16_t trim_saturation_gain;
uint16_t ms_weight;
uint16_t target_mid_contrast;
uint16_t clip_trim;
uint8_t saturation_vector_field0;
uint8_t saturation_vector_field1;
uint8_t saturation_vector_field2;
uint8_t saturation_vector_field3;
uint8_t saturation_vector_field4;
uint8_t saturation_vector_field5;
uint8_t hue_vector_field0;
uint8_t hue_vector_field1;
uint8_t hue_vector_field2;
uint8_t hue_vector_field3;
uint8_t hue_vector_field4;
uint8_t hue_vector_field5;
} DoviExtMetadataBlockLevel8;
typedef struct {
/**
* Pointer to the list of ExtMetadataBlockLevel8 structs
*/
const DoviExtMetadataBlockLevel8 *const *list;
/**
* List length
*/
size_t len;
} DoviLevel8BlockList;
/**
* Source/mastering display color primaries
*
* This block can have varying byte lengths: 1 or 17
* Depending on the length, the fields parsed default to zero and may not be set.
* Up to (including):
* - 1: source_primary_index
* - 17: source_primary_{red,green,blue,white}_{x,y}
*/
typedef struct {
uint64_t length;
uint8_t source_primary_index;
uint16_t source_primary_red_x;
uint16_t source_primary_red_y;
uint16_t source_primary_green_x;
uint16_t source_primary_green_y;
uint16_t source_primary_blue_x;
uint16_t source_primary_blue_y;
uint16_t source_primary_white_x;
uint16_t source_primary_white_y;
} DoviExtMetadataBlockLevel9;
/**
* Custom target display information
*
* This block can have varying byte lengths: 5 or 21
* Depending on the length, the fields parsed default to zero and may not be set.
* Up to (including):
* - 5: target_primary_index
* - 21: target_primary_{red,green,blue,white}_{x,y}
*/
typedef struct {
uint64_t length;
uint8_t target_display_index;
uint16_t target_max_pq;
uint16_t target_min_pq;
uint8_t target_primary_index;
uint16_t target_primary_red_x;
uint16_t target_primary_red_y;
uint16_t target_primary_green_x;
uint16_t target_primary_green_y;
uint16_t target_primary_blue_x;
uint16_t target_primary_blue_y;
uint16_t target_primary_white_x;
uint16_t target_primary_white_y;
} DoviExtMetadataBlockLevel10;
typedef struct {
/**
* Pointer to the list of ExtMetadataBlockLevel10 structs
*/
const DoviExtMetadataBlockLevel10 *const *list;
/**
* List length
*/
size_t len;
} DoviLevel10BlockList;
/**
* Content type metadata level
*/
typedef struct {
uint8_t content_type;
uint8_t whitepoint;
bool reference_mode_flag;
uint8_t reserved_byte2;
uint8_t reserved_byte3;
} DoviExtMetadataBlockLevel11;
/**
* Metadata level present in CM v4.0
*/
typedef struct {
uint8_t dm_mode;
uint8_t dm_version_index;
} DoviExtMetadataBlockLevel254;
/**
* Metadata level optionally present in CM v2.9.
* Different display modes (calibration/verify/bypass), debugging
*/
typedef struct {
uint8_t dm_run_mode;
uint8_t dm_run_version;
uint8_t dm_debug0;
uint8_t dm_debug1;
uint8_t dm_debug2;
uint8_t dm_debug3;
} DoviExtMetadataBlockLevel255;
/**
* C struct for the list of ext_metadata_block()
*/
typedef struct {
/**
* Number of metadata blocks
*/
uint64_t num_ext_blocks;
const DoviExtMetadataBlockLevel1 *level1;
DoviLevel2BlockList level2;
const DoviExtMetadataBlockLevel3 *level3;
const DoviExtMetadataBlockLevel4 *level4;
const DoviExtMetadataBlockLevel5 *level5;
const DoviExtMetadataBlockLevel6 *level6;
DoviLevel8BlockList level8;
const DoviExtMetadataBlockLevel9 *level9;
DoviLevel10BlockList level10;
const DoviExtMetadataBlockLevel11 *level11;
const DoviExtMetadataBlockLevel254 *level254;
const DoviExtMetadataBlockLevel255 *level255;
} DoviDmData;
/**
* C struct for vdr_dm_data()
*/
typedef struct {
bool compressed;
uint64_t affected_dm_metadata_id;
uint64_t current_dm_metadata_id;
uint64_t scene_refresh_flag;
int16_t ycc_to_rgb_coef0;
int16_t ycc_to_rgb_coef1;
int16_t ycc_to_rgb_coef2;
int16_t ycc_to_rgb_coef3;
int16_t ycc_to_rgb_coef4;
int16_t ycc_to_rgb_coef5;
int16_t ycc_to_rgb_coef6;
int16_t ycc_to_rgb_coef7;
int16_t ycc_to_rgb_coef8;
uint32_t ycc_to_rgb_offset0;
uint32_t ycc_to_rgb_offset1;
uint32_t ycc_to_rgb_offset2;
int16_t rgb_to_lms_coef0;
int16_t rgb_to_lms_coef1;
int16_t rgb_to_lms_coef2;
int16_t rgb_to_lms_coef3;
int16_t rgb_to_lms_coef4;
int16_t rgb_to_lms_coef5;
int16_t rgb_to_lms_coef6;
int16_t rgb_to_lms_coef7;
int16_t rgb_to_lms_coef8;
uint16_t signal_eotf;
uint16_t signal_eotf_param0;
uint16_t signal_eotf_param1;
uint32_t signal_eotf_param2;
uint8_t signal_bit_depth;
uint8_t signal_color_space;
uint8_t signal_chroma_format;
uint8_t signal_full_range_flag;
uint16_t source_min_pq;
uint16_t source_max_pq;
uint16_t source_diagonal;
DoviDmData dm_data;
} DoviVdrDmData;
/**
* Heap allocated list of valid RPU pointers
*/
typedef struct {
DoviRpuOpaque *const *list;
size_t len;
const char *error;
} DoviRpuOpaqueList;
#ifdef __cplusplus
extern "C" {
#endif // __cplusplus
/**
* # Safety
* The pointer to the data must be valid.
*
* Parse a Dolby Vision RPU from unescaped byte buffer.
* Adds an error if the parsing fails.
*/
DoviRpuOpaque *dovi_parse_rpu(const uint8_t *buf, size_t len);
/**
* # Safety
* The pointer to the data must be valid.
*
* Parse a Dolby Vision from a AV1 ITU-T T.35 metadata OBU byte buffer.
* Adds an error if the parsing fails.
*/
DoviRpuOpaque *dovi_parse_itu_t35_dovi_metadata_obu(const uint8_t *buf, size_t len);
/**
* # Safety
* The pointer to the data must be valid.
*
* Parse a Dolby Vision from a (possibly) escaped HEVC UNSPEC 62 NAL unit byte buffer.
* Adds an error if the parsing fails.
*/
DoviRpuOpaque *dovi_parse_unspec62_nalu(const uint8_t *buf, size_t len);
/**
* # Safety
* The pointer to the opaque struct must be valid.
* Avoid using on opaque pointers obtained through `dovi_parse_rpu_bin_file`.
*
* Free the RpuOpaque
*/
void dovi_rpu_free(DoviRpuOpaque *ptr);
/**
* # Safety
* The pointer to the opaque struct must be valid.
*
* Get the last logged error for the RpuOpaque operations.
*
* On invalid parsing, an error is added.
* The user should manually verify if there is an error, as the parsing does not return an error code.
*/
const char *dovi_rpu_get_error(const DoviRpuOpaque *ptr);
/**
* # Safety
* The data pointer should exist, and be allocated by Rust.
*
* Free a Data buffer
*/
void dovi_data_free(const DoviData *data);
/**
* # Safety
* The struct pointer must be valid.
*
* Writes the encoded RPU as a byte buffer.
* If an error occurs in the writing, it is logged to RpuOpaque.error
*/
const DoviData *dovi_write_rpu(DoviRpuOpaque *ptr);
/**
* # Safety
* The struct pointer must be valid.
*
* Writes the encoded RPU, escapes the bytes for HEVC and prepends the buffer with 0x7C01.
* If an error occurs in the writing, it is logged to RpuOpaque.error
*/
const DoviData *dovi_write_unspec62_nalu(DoviRpuOpaque *ptr);
/**
* # Safety
* The struct pointer must be valid.
* The mode must be between 0 and 4.
*
* Converts the RPU to be compatible with a different Dolby Vision profile.
* Possible modes:
* - 0: Don't modify the RPU
* - 1: Converts the RPU to be MEL compatible
* - 2: Converts the RPU to be profile 8.1 compatible. Both luma and chroma mapping curves are set to no-op.
* This mode handles source profiles 5, 7 and 8.
* - 3: Converts to static profile 8.4
* - 4: Converts to profile 8.1 preserving luma and chroma mapping. Old mode 2 behaviour.
*
* If an error occurs, it is logged to RpuOpaque.error.
* Returns 0 if successful, -1 otherwise.
*/
int32_t dovi_convert_rpu_with_mode(DoviRpuOpaque *ptr,
uint8_t mode);
/**
* # Safety
* The pointer to the opaque struct must be valid.
*
* Get the DoVi RPU header struct.
*/
const DoviRpuDataHeader *dovi_rpu_get_header(const DoviRpuOpaque *ptr);
/**
* # Safety
* The pointer to the struct must be valid.
*
* Frees the memory used by the RPU header.
*/
void dovi_rpu_free_header(const DoviRpuDataHeader *ptr);
/**
* # Safety
* The pointer to the opaque struct must be valid.
*
* Get the DoVi RpuDataMapping struct.
*/
const DoviRpuDataMapping *dovi_rpu_get_data_mapping(const DoviRpuOpaque *ptr);
/**
* # Safety
* The pointer to the struct must be valid.
*
* Frees the memory used by the RpuDataMapping.
*/
void dovi_rpu_free_data_mapping(const DoviRpuDataMapping *ptr);
/**
* # Safety
* The pointer to the opaque struct must be valid.
*
* Get the DoVi VdrDmData struct.
*/
const DoviVdrDmData *dovi_rpu_get_vdr_dm_data(const DoviRpuOpaque *ptr);
/**
* # Safety
* The pointer to the struct must be valid.
*
* Frees the memory used by the VdrDmData struct.
*/
void dovi_rpu_free_vdr_dm_data(const DoviVdrDmData *ptr);
/**
* # Safety
* The pointer to the file path must be valid.
*
* Parses an existing RPU binary file.
*
* Returns the heap allocated `DoviRpuList` as a pointer.
* The returned pointer may be null, or the list could be empty if an error occurred.
*/
const DoviRpuOpaqueList *dovi_parse_rpu_bin_file(const char *path);
/**
* # Safety
* The pointer to the struct must be valid.
*
* Frees the memory used by the DoviRpuOpaqueList struct.
*/
void dovi_rpu_list_free(const DoviRpuOpaqueList *ptr);
/**
* # Safety
* The struct pointer must be valid.
*
* Sets the L5 metadata active area offsets.
* If there is no L5 block present, it is created with the offsets.
*/
int32_t dovi_rpu_set_active_area_offsets(DoviRpuOpaque *ptr,
uint16_t left,
uint16_t right,
uint16_t top,
uint16_t bottom);
/**
* # Safety
* The struct pointer must be valid.
*
* Converts the existing reshaping/mapping to become no-op.
*/
int32_t dovi_rpu_remove_mapping(DoviRpuOpaque *ptr);
/**
* # Safety
* The struct pointer must be valid.
*
* Writes the encoded RPU as `itu_t_t35_payload_bytes` for AV1 ITU-T T.35 metadata OBU
* If an error occurs in the writing, it is logged to RpuOpaque.error
*/
const DoviData *dovi_write_av1_rpu_metadata_obu_t35_payload(DoviRpuOpaque *ptr);
/**
* # Safety
* The struct pointer must be valid.
*
* Writes the encoded RPU a complete AV1 `metadata_itut_t35()` OBU
* If an error occurs in the writing, it is logged to RpuOpaque.error
*/
const DoviData *dovi_write_av1_rpu_metadata_obu_t35_complete(DoviRpuOpaque *ptr);
#ifdef __cplusplus
} // extern "C"
#endif // __cplusplus
#endif /* DOVI_H */
@@ -27,9 +27,9 @@ import java.io.File
class MainActivity : FlutterActivity() {
private val PIP_CHANNEL = "app.plezy/pip"
private val EXTERNAL_PLAYER_CHANNEL = "app.plezy/external_player"
private val THEME_CHANNEL = "app.plezy/theme"
private val PIP_CHANNEL = "com.plezy/pip"
private val EXTERNAL_PLAYER_CHANNEL = "com.plezy/external_player"
private val THEME_CHANNEL = "com.plezy/theme"
private var watchNextPlugin: WatchNextPlugin? = null
// Auto PiP state
@@ -265,11 +265,11 @@ class MainActivity : FlutterActivity() {
override fun onPictureInPictureModeChanged(isInPictureInPictureMode: Boolean,newConfig: Configuration) {
super.onPictureInPictureModeChanged(isInPictureInPictureMode, newConfig)
MethodChannel( flutterEngine!!.dartExecutor.binaryMessenger, PIP_CHANNEL ).invokeMethod( "onPipChanged" , isInPictureInPictureMode)
// Notify ExoPlayer plugin to resize video surface for PiP
flutterEngine?.plugins?.get(ExoPlayerPlugin::class.java)?.let { plugin ->
(plugin as? ExoPlayerPlugin)?.onPipModeChanged(isInPictureInPictureMode)
flutterEngine?.let { engine ->
MethodChannel(engine.dartExecutor.binaryMessenger, PIP_CHANNEL).invokeMethod("onPipChanged", isInPictureInPictureMode)
engine.plugins.get(ExoPlayerPlugin::class.java)?.let { plugin ->
(plugin as? ExoPlayerPlugin)?.onPipModeChanged(isInPictureInPictureMode)
}
}
}
@@ -0,0 +1,85 @@
package com.edde746.plezy.exoplayer
import android.media.MediaCodecInfo
import android.media.MediaCodecList
import android.os.Build
import android.util.Log
enum class DvConversionMode { DISABLED, DV81, HEVC_STRIP }
object DoviBridge {
private const val TAG = "DoviBridge"
private val nativeLoaded: Boolean by lazy {
try {
System.loadLibrary("dovi_bridge")
true
} catch (_: UnsatisfiedLinkError) {
Log.w(TAG, "Native lib not found")
false
}
}
fun isAvailable(): Boolean = nativeLoaded &&
runCatching { nativeIsConversionPathReady() }.getOrDefault(false)
private fun deviceSupportsDvProfile(profile: Int, minApi: Int = 0): Boolean {
try {
if (Build.VERSION.SDK_INT < minApi) return false
val codecList = MediaCodecList(MediaCodecList.REGULAR_CODECS)
return codecList.codecInfos.any { info ->
!info.isEncoder && info.supportedTypes.any { type ->
type.equals("video/dolby-vision", ignoreCase = true) &&
info.getCapabilitiesForType(type).profileLevels.any { it.profile == profile }
}
}
} catch (e: Exception) {
Log.w(TAG, "Failed to query DV profile $profile support", e)
return false
}
}
val deviceSupportsDvProfile7: Boolean by lazy {
deviceSupportsDvProfile(MediaCodecInfo.CodecProfileLevel.DolbyVisionProfileDvheDtr)
.also { Log.i(TAG, "Device DV Profile 7 support: $it") }
}
val deviceSupportsDvProfile8: Boolean by lazy {
deviceSupportsDvProfile(MediaCodecInfo.CodecProfileLevel.DolbyVisionProfileDvheSt, minApi = 27)
.also { Log.i(TAG, "Device DV Profile 8 support: $it") }
}
fun getConversionMode(): DvConversionMode = when {
!isAvailable() -> DvConversionMode.DISABLED
deviceSupportsDvProfile7 -> DvConversionMode.DISABLED // try native first; ExoPlayerCore retries with conversion on failure
deviceSupportsDvProfile8 -> DvConversionMode.DV81
else -> DvConversionMode.HEVC_STRIP
}
/** Get the fallback mode when native DV7 decoding fails. */
fun getDv7FallbackMode(): DvConversionMode = when {
deviceSupportsDvProfile8 -> DvConversionMode.DV81
else -> DvConversionMode.HEVC_STRIP
}
fun convertRpuNalu(payload: ByteArray, mode: Int = 2): ByteArray? {
if (!isAvailable() || payload.isEmpty()) return null
return runCatching { nativeConvertDv7RpuToDv81(payload, mode) }
.onFailure { Log.w(TAG, "RPU conversion failed: ${it.message}") }
.getOrNull()
}
fun getVersion(): String? {
if (!nativeLoaded) return null
return runCatching { nativeGetBridgeVersion() }.getOrNull()
}
@JvmStatic
private external fun nativeConvertDv7RpuToDv81(payload: ByteArray, mode: Int): ByteArray?
@JvmStatic
private external fun nativeIsConversionPathReady(): Boolean
@JvmStatic
private external fun nativeGetBridgeVersion(): String
}
@@ -0,0 +1,362 @@
package com.edde746.plezy.exoplayer
import android.util.Log
import androidx.media3.common.DataReader
import androidx.media3.common.Format
import androidx.media3.common.MimeTypes
import androidx.media3.common.util.ParsableByteArray
import androidx.media3.extractor.TrackOutput
import java.io.ByteArrayOutputStream
/**
* TrackOutput wrapper that processes DV Profile 7 HEVC samples based on conversion mode:
*
* - DV81: Convert RPU NALs via libdovi to Profile 8.1, present as video/dolby-vision
* with dvhe.08.XX codec string. Preserves dynamic tone mapping metadata.
* - HEVC_STRIP: Strip all DV enhancement layers, present as plain video/hevc.
*
* Two modes of NAL framing (auto-detected):
* - Annex B (MKV path): MatroskaExtractor outputs 00 00 00 01 start codes
* - Length-prefixed (MP4 path): Mp4Extractor outputs 4-byte big-endian lengths
*
* NAL processing:
* - Type 62 (UNSPEC62): DV RPU → convert (DV81) or strip (HEVC_STRIP)
* - Type 63 (UNSPEC63): DV Enhancement Layer → strip
* - nuh_layer_id > 0: Enhancement layer NAL → strip
* - All retained NALs: normalize nuh_layer_id to 0
*/
class DoviConvertingTrackOutput(
private val delegate: TrackOutput,
private val dvMode: DvConversionMode = DvConversionMode.HEVC_STRIP,
) : TrackOutput {
companion object {
private const val TAG = "DoviConvertTrack"
private const val NAL_TYPE_UNSPEC62 = 62
private const val NAL_TYPE_UNSPEC63 = 63
private const val LIBDOVI_MODE_TO_81 = 2
private val ANNEX_B_START_CODE = byteArrayOf(0, 0, 0, 1)
}
var conversionActive = false
private set
var strippedNalCount = 0L
private set
var convertedRpuCount = 0L
private set
// Sample buffering between sampleData() and sampleMetadata()
private val sampleBuffer = ByteArrayOutputStream(256 * 1024)
private var buffering = false
override fun format(format: Format) {
if (!conversionActive) {
val codecs = format.codecs
if (codecs != null && codecs.startsWith("dvhe.07")) {
conversionActive = true
Log.i(TAG, "DV Profile 7 detected ($codecs), mode=$dvMode")
Log.i(TAG, "Original format: mime=${format.sampleMimeType}, codecs=$codecs, " +
"initData=${format.initializationData.size} entries " +
"(${format.initializationData.mapIndexed { i, d -> "$i:${d.size}B" }.joinToString()})")
val newFormat = when (dvMode) {
DvConversionMode.DV81 -> {
// Parse DV level from codec string: "dvhe.07.06" → 6
val level = codecs.split('.').getOrNull(2)?.toIntOrNull() ?: 6
val newCodecs = "dvhe.08.%02d".format(level)
val dvConfigRecord = buildDv81ConfigRecord(level)
Log.i(TAG, "DV81: rewriting to $newCodecs, config=${dvConfigRecord.size}B")
format.buildUpon()
.setSampleMimeType(MimeTypes.VIDEO_DOLBY_VISION)
.setCodecs(newCodecs)
.setInitializationData(
if (format.initializationData.isNotEmpty())
listOf(format.initializationData[0], dvConfigRecord)
else
listOf(ByteArray(0), dvConfigRecord)
)
.build()
}
else -> {
// HEVC_STRIP: present as plain HEVC
Log.i(TAG, "HEVC_STRIP: rewriting to video/hevc")
format.buildUpon()
.setSampleMimeType(MimeTypes.VIDEO_H265)
.setCodecs(null)
.setInitializationData(
if (format.initializationData.isNotEmpty())
listOf(format.initializationData[0])
else
emptyList()
)
.build()
}
}
Log.i(TAG, "Rewritten format: mime=${newFormat.sampleMimeType}, " +
"codecs=${newFormat.codecs}, initData=${newFormat.initializationData.size} entries")
delegate.format(newFormat)
return
}
}
delegate.format(format)
}
override fun sampleData(
input: DataReader, length: Int, allowEndOfInput: Boolean, sampleDataPart: Int
): Int {
if (!conversionActive) {
return delegate.sampleData(input, length, allowEndOfInput, sampleDataPart)
}
// Buffer sample data for processing at sampleMetadata() time
buffering = true
val buf = ByteArray(length)
val bytesRead = input.read(buf, 0, length)
if (bytesRead > 0) {
sampleBuffer.write(buf, 0, bytesRead)
}
return bytesRead
}
override fun sampleData(data: ParsableByteArray, length: Int, sampleDataPart: Int) {
if (!conversionActive) {
delegate.sampleData(data, length, sampleDataPart)
return
}
// Buffer sample data for processing at sampleMetadata() time
buffering = true
val bytes = ByteArray(length)
data.readBytes(bytes, 0, length)
sampleBuffer.write(bytes, 0, length)
}
override fun sampleMetadata(
timeUs: Long, flags: Int, size: Int, offset: Int, cryptoData: TrackOutput.CryptoData?
) {
if (!conversionActive || !buffering) {
delegate.sampleMetadata(timeUs, flags, size, offset, cryptoData)
return
}
buffering = false
val rawSample = sampleBuffer.toByteArray()
sampleBuffer.reset()
val processed = try {
processNalUnits(rawSample)
} catch (e: Exception) {
Log.e(TAG, "NAL processing failed, passing raw sample", e)
rawSample
}
// Skip empty samples (all NALs were DV layers) — don't confuse the decoder
if (processed.isEmpty()) return
// Write processed data to delegate. Offset must be 0 since we write exactly
// the processed amount (no trailing data from next sample in the buffer).
val parsable = ParsableByteArray(processed, processed.size)
delegate.sampleData(parsable, processed.size, TrackOutput.SAMPLE_DATA_PART_MAIN)
delegate.sampleMetadata(timeUs, flags, processed.size, 0, cryptoData)
}
// Sample counter for periodic logging
private var sampleCount = 0L
/**
* Process a single NAL: convert RPU (DV81), strip DV layers, or keep.
* Returns processed NAL data to write, or null if stripped.
*/
private fun processNal(nalData: ByteArray): ByteArray? {
if (nalData.size < 2) return nalData
val nalType = (nalData[0].toInt() ushr 1) and 0x3F
val nuhLayerId = ((nalData[0].toInt() and 1) shl 5) or
((nalData[1].toInt() ushr 3) and 0x1F)
return when {
nalType == NAL_TYPE_UNSPEC62 && dvMode == DvConversionMode.DV81 -> {
val converted = DoviBridge.convertRpuNalu(nalData, LIBDOVI_MODE_TO_81)
if (converted != null) {
normalizeLayerId(converted)
convertedRpuCount++
converted
} else {
strippedNalCount++
null
}
}
nalType == NAL_TYPE_UNSPEC62 || nalType == NAL_TYPE_UNSPEC63 || nuhLayerId > 0 -> {
strippedNalCount++
null
}
else -> {
normalizeLayerId(nalData)
nalData
}
}
}
/**
* Process NAL units in the sample data. Auto-detects format:
* - Annex B (00 00 00 01 / 00 00 01 start codes) — used by MatroskaExtractor
* - Length-prefixed (4-byte big-endian length) — used by Mp4Extractor
*/
private fun processNalUnits(data: ByteArray): ByteArray {
if (data.size < 4) return data
// Auto-detect: Annex B starts with 00 00 00 01 or 00 00 01
val isAnnexB = (data.size >= 4 && data[0] == 0.toByte() && data[1] == 0.toByte() &&
data[2] == 0.toByte() && data[3] == 1.toByte()) ||
(data.size >= 3 && data[0] == 0.toByte() && data[1] == 0.toByte() &&
data[2] == 1.toByte())
if (sampleCount == 0L) {
Log.d(TAG, "NAL format detected: ${if (isAnnexB) "Annex B" else "length-prefixed"}, " +
"first bytes: ${data.take(8).joinToString(" ") { "%02X".format(it) }}")
}
return if (isAnnexB) processAnnexBNals(data) else processLengthPrefixedNals(data)
}
/**
* Find all Annex B start code positions (00 00 01 or 00 00 00 01) in the data.
* Returns list of pairs: (startCodeEnd, startCodeLen) where startCodeEnd is the
* byte index right after the start code, and startCodeLen is 3 or 4.
*/
private fun findAnnexBStartCodes(data: ByteArray): List<Pair<Int, Int>> {
val positions = mutableListOf<Pair<Int, Int>>()
var i = 0
while (i < data.size - 2) {
if (data[i] == 0.toByte() && data[i + 1] == 0.toByte()) {
if (i + 3 < data.size && data[i + 2] == 0.toByte() && data[i + 3] == 1.toByte()) {
positions.add(Pair(i + 4, 4))
i += 4
continue
} else if (data[i + 2] == 1.toByte()) {
positions.add(Pair(i + 3, 3))
i += 3
continue
}
}
i++
}
return positions
}
/** Process Annex B formatted NAL units (MKV path). */
private fun processAnnexBNals(data: ByteArray): ByteArray {
val output = ByteArrayOutputStream(data.size)
var kept = 0
var stripped = 0
val startCodes = findAnnexBStartCodes(data)
if (startCodes.isEmpty()) {
sampleCount++
return data
}
for (idx in startCodes.indices) {
val nalStart = startCodes[idx].first
val nalEnd = if (idx + 1 < startCodes.size) {
startCodes[idx + 1].first - startCodes[idx + 1].second
} else {
data.size
}
if (nalEnd <= nalStart) continue
val result = processNal(data.copyOfRange(nalStart, nalEnd))
if (result != null) {
output.write(ANNEX_B_START_CODE)
output.write(result)
kept++
} else {
stripped++
}
}
sampleCount++
if (sampleCount <= 3 || (sampleCount % 500 == 0L)) {
Log.d(TAG, "Sample #$sampleCount (AnnexB): ${data.size}B -> ${output.size()}B, " +
"kept=$kept stripped=$stripped NALs")
}
return output.toByteArray()
}
/** Process length-prefixed NAL units (MP4 path). */
private fun processLengthPrefixedNals(data: ByteArray): ByteArray {
val output = ByteArrayOutputStream(data.size)
var pos = 0
var kept = 0
var stripped = 0
while (pos + 4 <= data.size) {
val nalLen = ((data[pos].toInt() and 0xFF) shl 24) or
((data[pos + 1].toInt() and 0xFF) shl 16) or
((data[pos + 2].toInt() and 0xFF) shl 8) or
(data[pos + 3].toInt() and 0xFF)
if (nalLen <= 0 || pos + 4 + nalLen > data.size) {
if (sampleCount < 5) {
Log.w(TAG, "Bad NAL length $nalLen at pos $pos (data.size=${data.size})")
}
break
}
val result = processNal(data.copyOfRange(pos + 4, pos + 4 + nalLen))
if (result != null) {
writeLengthPrefixedNal(output, result)
kept++
} else {
stripped++
}
pos += 4 + nalLen
}
sampleCount++
if (sampleCount <= 3 || (sampleCount % 500 == 0L)) {
Log.d(TAG, "Sample #$sampleCount (LenPrefix): ${data.size}B -> ${output.size()}B, " +
"kept=$kept stripped=$stripped NALs")
}
return output.toByteArray()
}
private fun normalizeLayerId(nalData: ByteArray) {
if (nalData.size >= 2) {
nalData[0] = (nalData[0].toInt() and 0xFE).toByte() // Clear bit 0 of byte 0
nalData[1] = (nalData[1].toInt() and 0x07).toByte() // Clear bits 7-3 of byte 1
}
}
private fun writeLengthPrefixedNal(output: ByteArrayOutputStream, nalData: ByteArray) {
val len = nalData.size
output.write((len ushr 24) and 0xFF)
output.write((len ushr 16) and 0xFF)
output.write((len ushr 8) and 0xFF)
output.write(len and 0xFF)
output.write(nalData)
}
/**
* Build a 24-byte DOVIDecoderConfigurationRecord for DV Profile 8.1.
*
* Binary layout (from Dolby Vision spec):
* byte[0]: dv_version_major = 1
* byte[1]: dv_version_minor = 0
* byte[2]: dv_profile (7 bits) | dv_level MSB (1 bit)
* byte[3]: dv_level low 5 bits (5 bits) | rpu_present (1) | el_present (1) | bl_present (1)
* byte[4]: bl_compatibility_id (4 bits) | md_compression (2 bits) | reserved (2 bits)
* byte[5-23]: reserved (zeros)
*/
private fun buildDv81ConfigRecord(level: Int): ByteArray {
val record = ByteArray(24)
record[0] = 0x01 // dv_version_major = 1
record[1] = 0x00 // dv_version_minor = 0
record[2] = ((8 shl 1) or ((level ushr 5) and 0x01)).toByte() // profile=8 | level MSB
record[3] = (((level and 0x1F) shl 3) or 0x05).toByte() // level low 5 | rpu=1 el=0 bl=1
record[4] = (1 shl 4).toByte() // bl_compatibility_id=1 (HDR10)
// bytes 5-23 remain 0 (reserved)
return record
}
}
@@ -0,0 +1,60 @@
package com.edde746.plezy.exoplayer
import androidx.media3.common.C
import androidx.media3.extractor.Extractor
import androidx.media3.extractor.ExtractorInput
import androidx.media3.extractor.ExtractorOutput
import androidx.media3.extractor.PositionHolder
import androidx.media3.extractor.SeekMap
import androidx.media3.extractor.TrackOutput
/**
* ExtractorOutput wrapper that intercepts video track creation
* to insert DoviConvertingTrackOutput for DV processing.
* Shared by DoviExtractorWrapper for both MP4 and MKV containers.
*/
class DoviExtractorOutputWrapper(
private val delegate: ExtractorOutput,
private val dvMode: DvConversionMode,
private val onVideoTrackWrapped: (DoviConvertingTrackOutput) -> Unit,
) : ExtractorOutput {
override fun track(id: Int, type: Int): TrackOutput {
val original = delegate.track(id, type)
if (type == C.TRACK_TYPE_VIDEO) {
val wrapper = DoviConvertingTrackOutput(original, dvMode)
onVideoTrackWrapped(wrapper)
return wrapper
}
return original
}
override fun endTracks() = delegate.endTracks()
override fun seekMap(seekMap: SeekMap) = delegate.seekMap(seekMap)
}
/**
* Extractor decorator for Mp4/FragmentedMp4 containers.
* Wraps the video TrackOutput with DoviConvertingTrackOutput to perform
* DV Profile 7 → 8.1 conversion via inline NAL processing.
*/
class DoviExtractorWrapper(
private val delegate: Extractor,
private val dvMode: DvConversionMode = DvConversionMode.HEVC_STRIP,
) : Extractor {
@Volatile var doviTrackOutput: DoviConvertingTrackOutput? = null
private set
override fun sniff(input: ExtractorInput): Boolean = delegate.sniff(input)
override fun init(output: ExtractorOutput) {
delegate.init(DoviExtractorOutputWrapper(output, dvMode) { doviTrackOutput = it })
}
override fun read(input: ExtractorInput, seekPosition: PositionHolder): Int =
delegate.read(input, seekPosition)
override fun seek(position: Long, timeUs: Long) = delegate.seek(position, timeUs)
override fun release() = delegate.release()
}
@@ -29,7 +29,11 @@ import androidx.media3.common.TrackSelectionOverride
import androidx.media3.common.Tracks
import androidx.media3.common.VideoSize
import androidx.media3.common.util.UnstableApi
import androidx.media3.exoplayer.analytics.AnalyticsListener
import androidx.media3.datasource.DefaultDataSource
import androidx.media3.datasource.okhttp.OkHttpDataSource
import okhttp3.OkHttpClient
import java.util.concurrent.TimeUnit
import androidx.media3.exoplayer.DefaultLoadControl
import androidx.media3.exoplayer.DefaultRenderersFactory
import androidx.media3.exoplayer.mediacodec.MediaCodecSelector
@@ -38,6 +42,8 @@ import androidx.media3.exoplayer.source.DefaultMediaSourceFactory
import androidx.media3.exoplayer.source.ProgressiveMediaSource
import androidx.media3.exoplayer.trackselection.DefaultTrackSelector
import androidx.media3.extractor.DefaultExtractorsFactory
import androidx.media3.extractor.mp4.FragmentedMp4Extractor
import androidx.media3.extractor.mp4.Mp4Extractor
import androidx.media3.extractor.mkv.MatroskaExtractor
import androidx.media3.ui.CaptionStyleCompat
import androidx.media3.ui.SubtitleView
@@ -51,9 +57,7 @@ import io.github.peerless2012.ass.media.parser.AssSubtitleParserFactory
import io.github.peerless2012.ass.media.type.AssRenderType
import io.github.peerless2012.ass.media.widget.AssSubtitleView
interface ExoPlayerDelegate {
fun onPropertyChange(name: String, value: Any?)
fun onEvent(name: String, data: Map<String, Any>?)
interface ExoPlayerDelegate : com.edde746.plezy.shared.PlayerDelegate {
/**
* Called when ExoPlayer encounters a format it cannot play.
@@ -76,6 +80,23 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
private const val WATCHDOG_CHECK_INTERVAL_MS = 1000L
private const val WATCHDOG_TIMEOUT_MS = 8000L
private const val DECODER_HANG_TIMEOUT_MS = 5000L
// Codec capability caches — codec support doesn't change at runtime
private val hwAudioDecoderCache = HashMap<String, Boolean>()
private val tunneledPlaybackCache = HashMap<String, Boolean>()
private var assGlCrashHandlerInstalled = false
// Process-wide OkHttp client with connection pooling — reuses TCP connections
// on buffer refill to prevent reconnect-induced frame drops at high bitrates
private val okHttpClient: OkHttpClient by lazy {
OkHttpClient.Builder()
.connectTimeout(15, TimeUnit.SECONDS)
.readTimeout(30, TimeUnit.SECONDS)
.writeTimeout(15, TimeUnit.SECONDS)
.build()
}
}
private var surfaceView: SurfaceView? = null
@@ -85,15 +106,27 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
private var overlayLayoutListener: ViewTreeObserver.OnGlobalLayoutListener? = null
private var lastVideoSize: VideoSize? = null
private var exoPlayer: ExoPlayer? = null
private var httpDataSourceFactory: OkHttpDataSource.Factory? = null
private var dataSourceFactory: DefaultDataSource.Factory? = null
private var trackSelector: DefaultTrackSelector? = null
private var tunnelingUserEnabled: Boolean = true
private var tunnelingDisabledForCodec: Boolean = false
private var tunnelingDisabledForAudioCodec: Boolean = false
private var tunnelingDisabledForVideoCodec: Boolean = false
private val tunnelingDisabledForCodec: Boolean
get() = tunnelingDisabledForAudioCodec || tunnelingDisabledForVideoCodec
private var currentTunneledPlayback: Boolean = false
private var lastSeekable: Boolean? = null
@Volatile private var disposing: Boolean = false
private var pendingStartPositionMs: Long = 0L
// Frame watchdog: detects black screen (audio plays but 0 video frames rendered)
private var frameWatchdogRunnable: Runnable? = null
private var frameWatchdogStartTime: Long = 0L
// Decoder hang detection: tracks gap between decoder init and first rendered frame
private var decoderHangRunnable: Runnable? = null
private var decoderInitName: String? = null
private var audioDecoderInitName: String? = null
private var firstFrameRendered: Boolean = false
var delegate: ExoPlayerDelegate? = null
var debugLoggingEnabled: Boolean = false
var isInitialized: Boolean = false
@@ -116,6 +149,11 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
private val externalSubtitles = mutableListOf<MediaItem.SubtitleConfiguration>()
private var currentMediaUri: String? = null
private var currentHeaders: Map<String, String>? = null
private var currentMediaIsLive: Boolean = false
private var currentVisible: Boolean = false
private var selectedAudioTrackId: String? = null
private var selectedSubtitleTrackId: String? = null
private var selectedExternalSubtitleIndex: Int? = null
private fun emitLog(level: String, prefix: String, message: String) {
when (level) {
@@ -124,7 +162,7 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
"info" -> Log.i(TAG, "[$prefix] $message")
else -> Log.d(TAG, "[$prefix] $message")
}
if (debugLoggingEnabled) {
if (debugLoggingEnabled || level == "error" || level == "warn") {
delegate?.onEvent("log-message", mapOf(
"prefix" to prefix, "level" to level, "text" to message
))
@@ -178,6 +216,12 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
}
}
// DV conversion state
private var dvMode: DvConversionMode = DvConversionMode.DISABLED
private var dv7RetryAttempted = false
@Volatile private var activeDoviMkvWrapper: DoviExtractorWrapper? = null
@Volatile private var activeDoviMp4Wrapper: DoviExtractorWrapper? = null
fun initialize(bufferSizeBytes: Int? = null, tunnelingEnabled: Boolean = true): Boolean {
if (isInitialized) {
Log.d(TAG, "Already initialized")
@@ -185,6 +229,9 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
}
tunnelingUserEnabled = tunnelingEnabled
this.dvMode = DoviBridge.getConversionMode()
Log.i(TAG, "DV conversion: mode=$dvMode, bridge=${DoviBridge.isAvailable()}, " +
"deviceDV7=${DoviBridge.deviceSupportsDvProfile7}, deviceDV8=${DoviBridge.deviceSupportsDvProfile8}")
disposing = false
try {
@@ -286,7 +333,7 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
.build()
// Use DefaultRenderersFactory with FFmpeg fallback for unsupported audio codecs
val renderersFactory = DefaultRenderersFactory(activity).apply {
val renderersFactory = PlezyRenderersFactory(activity).apply {
setEnableDecoderFallback(true)
setExtensionRendererMode(DefaultRenderersFactory.EXTENSION_RENDERER_MODE_ON)
// Force FFmpeg for FLAC — hardware FLAC decoders (e.g. Samsung c2.sec.flac.decoder)
@@ -302,8 +349,9 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
}
}
// Create factories for buildWithAssSupport (like AndroidTV-FireTV)
val dataSourceFactory = DefaultDataSource.Factory(activity)
// OkHttp DataSource for TCP connection pooling — prevents reconnect stutter at high bitrates
httpDataSourceFactory = OkHttpDataSource.Factory(okHttpClient)
dataSourceFactory = DefaultDataSource.Factory(activity, httpDataSourceFactory!!)
val extractorsFactory = DefaultExtractorsFactory()
// Inline buildWithAssSupport to retain AssHandler reference for font scale control.
@@ -317,18 +365,36 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
val assParserFactory = AssSubtitleParserFactory(handler)
// Wrap extractors to replace MatroskaExtractor with ASS-aware variant
// Wrap extractors: replace MatroskaExtractor with ASS+DV variant,
// wrap MP4 extractors with DV converter when enabled.
// Reads this.dvMode each time (not captured) so DV7→8.1 retry can
// change mode and reload without reinitializing the player.
val wrappedExtractorsFactory = androidx.media3.extractor.ExtractorsFactory {
val currentDvMode = this.dvMode
val doviEnabled = currentDvMode != DvConversionMode.DISABLED
extractorsFactory.createExtractors().map { extractor ->
if (extractor is androidx.media3.extractor.mkv.MatroskaExtractor) {
AssMatroskaExtractor(assParserFactory, handler)
} else {
extractor
when {
extractor is MatroskaExtractor -> {
val assExtractor = AssMatroskaExtractor(assParserFactory, handler)
if (doviEnabled) {
DoviExtractorWrapper(assExtractor, currentDvMode).also {
activeDoviMkvWrapper = it
}
} else {
assExtractor
}
}
doviEnabled && (extractor is Mp4Extractor || extractor is FragmentedMp4Extractor) -> {
DoviExtractorWrapper(extractor, currentDvMode).also {
activeDoviMp4Wrapper = it
}
}
else -> extractor
}
}.toTypedArray()
}
val mediaSourceFactory = DefaultMediaSourceFactory(dataSourceFactory, wrappedExtractorsFactory)
val mediaSourceFactory = DefaultMediaSourceFactory(dataSourceFactory!!, wrappedExtractorsFactory)
.setSubtitleParserFactory(assParserFactory)
val wrappedRenderersFactory = AssRenderersFactory(handler, renderersFactory)
@@ -342,12 +408,13 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
val targetBufferBytes = if (bufferSizeBytes != null && bufferSizeBytes > 0) {
bufferSizeBytes
} else {
// Scale buffer to available memory to reduce hardware decoder pressure
// 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 -> 50 * 1024 * 1024
availableMB <= 2048 -> 60 * 1024 * 1024
else -> 130 * 1024 * 1024
availableMB <= 1024 -> 80 * 1024 * 1024
availableMB <= 2048 -> 120 * 1024 * 1024
else -> 200 * 1024 * 1024
}
}
@@ -360,7 +427,7 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
setBufferDurationsMs(30_000, 60_000, 2_500, 5_000)
}
}.build()
emitLog("info", "init", "Buffer: ${targetBufferBytes / 1024 / 1024}MB limit, available=${availableMB}MB, tunneling=${tunnelingUserEnabled}")
emitLog("info", "init", "Buffer: ${targetBufferBytes / 1024 / 1024}MB limit, available=${availableMB}MB, tunneling=${tunnelingUserEnabled}, dataSource=OkHttp")
exoPlayer = ExoPlayer.Builder(activity)
.setTrackSelector(trackSelector!!)
@@ -379,7 +446,25 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
// Initialize handler (registers as Player.Listener, creates Handler)
handler.init(exoPlayer!!)
// Suppress ass-media GL thread crash when EGL init partially fails (e.g. Tegra).
// AssRender.onSurfaceDestroyed() accesses uninitialized glProgram lateinit property
// during error cleanup, which is a bug in the library. The render thread dying only
// affects ASS subtitle GPU rendering; non-ASS subtitles are unaffected.
if (!assGlCrashHandlerInstalled) {
assGlCrashHandlerInstalled = true
val previousHandler = Thread.getDefaultUncaughtExceptionHandler()
Thread.setDefaultUncaughtExceptionHandler { thread, throwable ->
if (thread.name.contains("AssTexRenderThread") &&
throwable is UninitializedPropertyAccessException) {
Log.e(TAG, "ASS GL thread crash suppressed (EGL init failure)", throwable)
} else {
previousHandler?.uncaughtException(thread, throwable)
}
}
}
exoPlayer!!.addListener(this)
exoPlayer!!.addAnalyticsListener(decoderHangListener)
surfaceView?.let { exoPlayer!!.setVideoSurfaceView(it) }
Log.d(TAG, "SubtitleView childCount after ASS setup: ${subtitleView?.childCount}")
@@ -461,6 +546,18 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
positionUpdateRunnable = null
}
private fun emitSeekable(seekable: Boolean, force: Boolean = false) {
if (!force && lastSeekable == seekable) return
lastSeekable = seekable
delegate?.onPropertyChange("seekable", seekable)
}
private fun emitCurrentSeekable(force: Boolean = false) {
val player = exoPlayer
val seekable = player?.isCurrentMediaItemSeekable == true && !currentMediaIsLive
emitSeekable(seekable, force)
}
// Player.Listener
override fun onCues(cueGroup: CueGroup) {
@@ -486,6 +583,7 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
else -> "unknown"
}
emitLog("debug", "state", stateStr)
emitCurrentSeekable()
when (state) {
Player.STATE_BUFFERING -> {
@@ -534,13 +632,36 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
val af = audioGroup.mediaTrackGroup.getFormat(0)
emitLog("info", "tracks", "Audio: ${af.codecs} ${af.channelCount}ch ${af.sampleRate}Hz")
}
// Detect video track present but deselected (unsupported codec — plays audio only)
val hasAnyVideoGroup = tracks.groups.any { it.type == C.TRACK_TYPE_VIDEO }
val hasSelectedVideo = tracks.groups.any { it.type == C.TRACK_TYPE_VIDEO && it.isSelected }
if (hasAnyVideoGroup && !hasSelectedVideo && currentMediaUri != null) {
// Try DV conversion before falling to MPV
if (retryWithDvConversion("video track not selected")) return
emitLog("warn", "fallback", "Video track present but not selected (unsupported codec)")
delegate?.onFormatUnsupported(
uri = currentMediaUri!!,
headers = currentHeaders,
positionMs = lastPosition,
errorMessage = "Video track present but no decoder available"
)
return
}
evaluateAudioCodecForTunneling()
evaluateVideoCodecForTunneling()
updateTunnelingState("tracks changed")
emitTrackList()
}
override fun onPlayerError(error: PlaybackException) {
emitLog("error", "player", "Error code=${error.errorCode}: ${error.message}, cause=${error.cause?.javaClass?.simpleName}")
stopFrameWatchdog()
cancelDecoderHangCheck()
emitSeekable(false, force = true)
// If native DV7 failed, retry with conversion before falling to MPV
if (error.errorCode in 4001..4005 && retryWithDvConversion("decoder error ${error.errorCode}")) return
if (currentMediaUri != null) {
Log.w(TAG, "ExoPlayer error (code ${error.errorCode}) - attempting fallback to MPV")
@@ -560,10 +681,37 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
))
}
/**
* When native DV7 decoding fails (device falsely advertises DV7 support),
* upgrade to DV7→8.1 conversion or HEVC strip and reload the media.
* Returns true if retry was initiated.
*/
private fun retryWithDvConversion(reason: String): Boolean {
if (dv7RetryAttempted) return false
if (dvMode != DvConversionMode.DISABLED) return false
if (!DoviBridge.isAvailable()) return false
val uri = currentMediaUri ?: return false
dv7RetryAttempted = true
val newMode = DoviBridge.getDv7FallbackMode()
dvMode = newMode
Log.i(TAG, "Native DV7 playback failed ($reason), retrying with $newMode")
emitLog("info", "dv-fallback", "DV7 native failed ($reason), retrying as $newMode")
open(
uri = uri,
headers = currentHeaders,
startPositionMs = lastPosition,
autoPlay = true,
)
return true
}
override fun onMediaItemTransition(mediaItem: MediaItem?, reason: Int) {
Log.d(TAG, "onMediaItemTransition: ${mediaItem?.mediaId}, reason: $reason")
delegate?.onEvent("file-loaded", null)
delegate?.onPropertyChange("eof-reached", false)
emitCurrentSeekable(force = true)
}
override fun onVideoSizeChanged(videoSize: VideoSize) {
@@ -696,12 +844,20 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
}
// Emit selected track IDs
selectedAudioId?.let { delegate?.onPropertyChange("aid", it) }
if (selectedSubId != null) {
delegate?.onPropertyChange("sid", selectedSubId)
} else if (textGroups.isNotEmpty()) {
// No subtitle selected
delegate?.onPropertyChange("sid", "no")
if (selectedAudioId != null) {
selectedAudioTrackId = selectedAudioId
delegate?.onPropertyChange("aid", selectedAudioId)
}
val effectiveSubtitleId = when {
selectedExternalSubtitleIndex != null -> "ext_sub_$selectedExternalSubtitleIndex"
selectedSubId != null -> selectedSubId
textGroups.isNotEmpty() || externalSubtitles.isNotEmpty() -> "no"
else -> null
}
if (effectiveSubtitleId != null) {
selectedSubtitleTrackId = effectiveSubtitleId
delegate?.onPropertyChange("sid", effectiveSubtitleId)
}
// Add external subtitles to track list
@@ -714,6 +870,7 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
"lang" to subtitle.language,
"codec" to subtitle.mimeType,
"default" to false,
"selected" to (selectedExternalSubtitleIndex == index),
"external" to true,
"external-filename" to subtitle.uri.toString()
))
@@ -728,8 +885,10 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
// FLAC hardware decoders are excluded via MediaCodecSelector (Samsung c2.sec.flac.decoder
// has buggy 32KB input buffer limits), so report no hardware decoder for tunneling purposes.
if (mimeType == MimeTypes.AUDIO_FLAC) return false
try {
hwAudioDecoderCache[mimeType]?.let { return it }
val result = try {
val codecList = android.media.MediaCodecList(android.media.MediaCodecList.REGULAR_CODECS)
var found = false
for (info in codecList.codecInfos) {
if (info.isEncoder) continue
for (type in info.supportedTypes) {
@@ -740,35 +899,86 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
!name.contains(".sw.") &&
!name.startsWith("c2.ffmpeg.")) {
Log.d(TAG, "Found hardware audio decoder for $mimeType: $name")
return true
found = true
break
}
}
}
if (found) break
}
if (!found) Log.d(TAG, "No hardware audio decoder for $mimeType — FFmpeg will handle it")
found
} catch (e: Exception) {
Log.w(TAG, "Failed to query audio decoders for $mimeType: ${e.message}")
false
}
Log.d(TAG, "No hardware audio decoder for $mimeType — FFmpeg will handle it")
return false
hwAudioDecoderCache[mimeType] = result
return result
}
private fun updateTunnelingState() {
private fun videoCodecSupportsTunneledPlayback(mimeType: String): Boolean {
tunneledPlaybackCache[mimeType]?.let { return it }
val result = try {
val codecList = android.media.MediaCodecList(android.media.MediaCodecList.REGULAR_CODECS)
var supported = false
for (info in codecList.codecInfos) {
if (info.isEncoder) continue
for (type in info.supportedTypes) {
if (type.equals(mimeType, ignoreCase = true)) {
val name = info.name
if (name.startsWith("OMX.google.") ||
name.startsWith("c2.android.") ||
name.contains(".sw.") ||
name.startsWith("c2.ffmpeg.")) {
continue // Skip software decoders
}
val caps = info.getCapabilitiesForType(type)
if (caps.isFeatureSupported(android.media.MediaCodecInfo.CodecCapabilities.FEATURE_TunneledPlayback)) {
Log.d(TAG, "Hardware video decoder $name supports tunneled playback for $mimeType")
supported = true
break
} else {
Log.d(TAG, "Hardware video decoder $name does NOT support tunneled playback for $mimeType")
}
}
}
if (supported) break
}
supported
} catch (e: Exception) {
Log.w(TAG, "Failed to query video decoders for tunneling support ($mimeType): ${e.message}")
false
}
tunneledPlaybackCache[mimeType] = result
return result
}
private fun evaluateVideoCodecForTunneling() {
val player = exoPlayer ?: return
val selectedVideoGroup = player.currentTracks.groups.firstOrNull {
it.type == C.TRACK_TYPE_VIDEO && it.isSelected
} ?: return
val format = selectedVideoGroup.mediaTrackGroup.getFormat(0)
val mimeType = format.sampleMimeType ?: return
val newDisabled = !videoCodecSupportsTunneledPlayback(mimeType)
if (newDisabled != tunnelingDisabledForVideoCodec) {
tunnelingDisabledForVideoCodec = newDisabled
emitLog("info", "tunneling", "Video codec ${format.codecs} ($mimeType): tunneling ${if (newDisabled) "DISABLED (no tunneling support)" else "enabled"}")
}
}
private fun updateTunnelingState(reason: String) {
val selector = trackSelector ?: return
val player = exoPlayer ?: return
val currentSpeed = player.playbackParameters.speed
val shouldTunnel = tunnelingUserEnabled && (currentSpeed == 1f) && !tunnelingDisabledForCodec
val currentTunneling = selector.parameters.tunnelingEnabled
if (shouldTunnel == currentTunneling) return // No change needed
emitLog("info", "tunneling", "tunneling $currentTunneling -> $shouldTunnel (user=$tunnelingUserEnabled, speed=$currentSpeed, codecDisabled=$tunnelingDisabledForCodec)")
val shouldTunnel = tunnelingUserEnabled && (player.playbackParameters.speed == 1f) && !tunnelingDisabledForCodec
if (shouldTunnel == currentTunneledPlayback) return
currentTunneledPlayback = shouldTunnel
emitLog("info", "tunneling", "Toggling tunneling=$shouldTunnel (reason=$reason, user=$tunnelingUserEnabled, speed=${player.playbackParameters.speed}, audioCodecDisabled=$tunnelingDisabledForAudioCodec, videoCodecDisabled=$tunnelingDisabledForVideoCodec)")
selector.setParameters(
selector.buildUponParameters()
.setTunnelingEnabled(shouldTunnel)
selector.buildUponParameters().setTunnelingEnabled(shouldTunnel)
)
// Track reselection from setParameters() can reset position during initial load.
// Restore the pending start position if it hasn't been consumed yet.
if (pendingStartPositionMs > 0L) {
player.seekTo(pendingStartPositionMs)
}
}
private fun evaluateAudioCodecForTunneling() {
@@ -781,13 +991,94 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
val mimeType = format.sampleMimeType ?: return
val newDisabled = !hasHardwareAudioDecoder(mimeType)
if (newDisabled != tunnelingDisabledForCodec) {
tunnelingDisabledForCodec = newDisabled
if (newDisabled != tunnelingDisabledForAudioCodec) {
tunnelingDisabledForAudioCodec = newDisabled
emitLog("info", "tunneling", "Audio codec ${format.codecs} ($mimeType): tunneling ${if (newDisabled) "DISABLED (no hw decoder)" else "enabled"}")
updateTunnelingState()
}
}
private fun buildMediaItem(uri: String): MediaItem {
val mediaItemBuilder = MediaItem.Builder()
.setUri(uri)
selectedExternalSubtitleIndex?.takeIf { it in externalSubtitles.indices }?.let { subtitleIndex ->
mediaItemBuilder.setSubtitleConfigurations(listOf(externalSubtitles[subtitleIndex]))
}
return mediaItemBuilder.build()
}
// Decoder hang detection via AnalyticsListener:
// Tracks the gap between onVideoDecoderInitialized and onRenderedFirstFrame.
// If the decoder is initialized and fed input but never produces output, it's hung
// (e.g. DV profile 7 on PowerVR GPUs that accept the format but never decode).
private val decoderHangListener = object : AnalyticsListener {
override fun onVideoDecoderInitialized(
eventTime: AnalyticsListener.EventTime,
decoderName: String,
initializationDurationMs: Long
) {
decoderInitName = decoderName
firstFrameRendered = false
emitLog("debug", "decoder-hang", "Decoder initialized: $decoderName (${initializationDurationMs}ms)")
startDecoderHangCheck(decoderName)
}
override fun onAudioDecoderInitialized(
eventTime: AnalyticsListener.EventTime,
decoderName: String,
initializationDurationMs: Long
) {
audioDecoderInitName = decoderName
}
override fun onRenderedFirstFrame(
eventTime: AnalyticsListener.EventTime,
output: Any,
renderTimeMs: Long
) {
firstFrameRendered = true
cancelDecoderHangCheck()
emitLog("debug", "decoder-hang", "First frame rendered — decoder OK")
}
}
private fun startDecoderHangCheck(decoderName: String) {
cancelDecoderHangCheck()
if (currentMediaUri == null) return
decoderHangRunnable = Runnable {
if (firstFrameRendered) return@Runnable
val uri = currentMediaUri ?: return@Runnable
val player = exoPlayer ?: return@Runnable
// Confirm via DecoderCounters: input queued but no output produced
val counters = player.videoDecoderCounters
val inputQueued = counters?.queuedInputBufferCount ?: 0
val outputTotal = (counters?.renderedOutputBufferCount ?: 0) +
(counters?.skippedOutputBufferCount ?: 0) +
(counters?.droppedBufferCount ?: 0)
if (inputQueued > 0 && outputTotal == 0) {
emitLog("warn", "fallback", "Decoder hang: $decoderName queued $inputQueued buffers, 0 output after ${DECODER_HANG_TIMEOUT_MS}ms")
stopFrameWatchdog()
cancelDecoderHangCheck()
delegate?.onFormatUnsupported(
uri = uri,
headers = currentHeaders,
positionMs = lastPosition,
errorMessage = "Decoder hang: $decoderName accepted input but produced no output"
)
}
}
handler.postDelayed(decoderHangRunnable!!, DECODER_HANG_TIMEOUT_MS)
}
private fun cancelDecoderHangCheck() {
decoderHangRunnable?.let { handler.removeCallbacks(it) }
decoderHangRunnable = null
}
// Frame watchdog: detects when ExoPlayer plays audio but renders 0 video frames
// (common with HDR tunneling on unsupported devices — black screen, no error)
@@ -812,6 +1103,23 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
val hasVideoTrack = player.currentTracks.groups.any {
it.type == C.TRACK_TYPE_VIDEO && it.isSelected
}
val hasAnyVideoGroup = player.currentTracks.groups.any {
it.type == C.TRACK_TYPE_VIDEO
}
// Secondary safety net: video track exists but was deselected (unsupported codec)
if (hasAnyVideoGroup && !hasVideoTrack) {
emitLog("warn", "watchdog", "Video track deselected — triggering fallback")
stopFrameWatchdog()
val uri = currentMediaUri ?: return
delegate?.onFormatUnsupported(
uri = uri,
headers = currentHeaders,
positionMs = player.currentPosition,
errorMessage = "Video track present but no decoder available"
)
return
}
if (elapsed >= WATCHDOG_TIMEOUT_MS && player.isPlaying && hasVideoTrack) {
emitLog("warn", "watchdog", "0 frames rendered after ${elapsed}ms — triggering fallback")
@@ -843,29 +1151,48 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
fun open(uri: String, headers: Map<String, String>?, startPositionMs: Long, autoPlay: Boolean, isLive: Boolean = false) {
if (!isInitialized) return
stopFrameWatchdog()
cancelDecoderHangCheck()
// Reset DV7 retry flag when opening a different file
if (uri != currentMediaUri) {
dv7RetryAttempted = false
}
decoderInitName = null
audioDecoderInitName = null
currentMediaUri = uri
currentHeaders = headers
currentMediaIsLive = isLive
// Apply auth/custom headers to the OkHttp DataSource for this session
httpDataSourceFactory?.setDefaultRequestProperties(
if (!headers.isNullOrEmpty()) headers else emptyMap()
)
externalSubtitles.clear()
tunnelingDisabledForCodec = false
selectedExternalSubtitleIndex = null
selectedAudioTrackId = null
selectedSubtitleTrackId = null
tunnelingDisabledForAudioCodec = false
tunnelingDisabledForVideoCodec = false
currentTunneledPlayback = tunnelingUserEnabled
pendingStartPositionMs = startPositionMs
trackSelector?.setParameters(
trackSelector!!.buildUponParameters().setTunnelingEnabled(tunnelingUserEnabled)
)
emitSeekable(false, force = true)
if (isLive) {
// Live MKV streams lack Cues (seek index). FLAG_DISABLE_SEEK_FOR_CUES tells
// MatroskaExtractor to not seek for them, treating the stream as unseekable
// so data flows immediately without hanging.
val dataSourceFactory = if (!headers.isNullOrEmpty()) {
DefaultDataSource.Factory(activity,
androidx.media3.datasource.DefaultHttpDataSource.Factory()
.setDefaultRequestProperties(headers))
} else {
DefaultDataSource.Factory(activity)
}
// Headers already applied to httpDataSourceFactory above.
val extractorsFactory = androidx.media3.extractor.ExtractorsFactory {
arrayOf(MatroskaExtractor(MatroskaExtractor.FLAG_DISABLE_SEEK_FOR_CUES))
}
val mediaSource = ProgressiveMediaSource.Factory(dataSourceFactory, extractorsFactory)
val mediaSource = ProgressiveMediaSource.Factory(dataSourceFactory!!, extractorsFactory)
.createMediaSource(MediaItem.fromUri(uri))
exoPlayer?.apply {
@@ -874,22 +1201,11 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
playWhenReady = autoPlay
}
emitLog("info", "media", "Opened live: ${redactUri(uri)}, startPosition: ${startPositionMs}ms, autoPlay: $autoPlay")
emitLog("info", "media", "Opened live: ${redactUri(uri)}, startPosition: ${startPositionMs}ms, autoPlay: $autoPlay, sessionTunneling=$currentTunneledPlayback")
return
}
val mediaItemBuilder = MediaItem.Builder()
.setUri(uri)
// Add headers if provided
if (!headers.isNullOrEmpty()) {
val dataSourceFactory = androidx.media3.datasource.DefaultHttpDataSource.Factory()
.setDefaultRequestProperties(headers)
// Note: For proper header support, we'd need to configure this at player level
// For now, headers are handled via URL parameters if needed
}
val mediaItem = mediaItemBuilder.build()
val mediaItem = buildMediaItem(uri)
exoPlayer?.apply {
setMediaItem(mediaItem, startPositionMs)
@@ -897,7 +1213,7 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
playWhenReady = autoPlay
}
emitLog("info", "media", "Opened: ${redactUri(uri)}, startPosition: ${startPositionMs}ms, autoPlay: $autoPlay, tunneling=$tunnelingUserEnabled")
emitLog("info", "media", "Opened: ${redactUri(uri)}, startPosition: ${startPositionMs}ms, autoPlay: $autoPlay, sessionTunneling=$currentTunneledPlayback, userTunneling=$tunnelingUserEnabled")
}
fun play() {
@@ -910,7 +1226,9 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
fun stop() {
stopFrameWatchdog()
cancelDecoderHangCheck()
exoPlayer?.stop()
emitSeekable(false, force = true)
setVisible(false)
}
@@ -926,7 +1244,7 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
fun setPlaybackSpeed(speed: Float) {
val clampedSpeed = speed.coerceIn(0.25f, 4f)
exoPlayer?.setPlaybackSpeed(clampedSpeed)
updateTunnelingState()
updateTunnelingState("speed changed")
delegate?.onPropertyChange("speed", speed.toDouble())
}
@@ -943,25 +1261,12 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
val audioGroups = player.currentTracks.groups.filter { it.type == C.TRACK_TYPE_AUDIO }
if (trackIndex >= 0 && trackIndex < audioGroups.size) {
val group = audioGroups[trackIndex]
// Pre-evaluate the new track's codec for tunneling before applying the override,
// so tunneling state is set correctly in the same parameter update.
val format = group.mediaTrackGroup.getFormat(0)
val mimeType = format.sampleMimeType
if (mimeType != null) {
tunnelingDisabledForCodec = !hasHardwareAudioDecoder(mimeType)
Log.i(TAG, "Audio track switch to ${format.codecs} ($mimeType): tunneling ${if (tunnelingDisabledForCodec) "DISABLED" else "enabled"}")
}
val currentSpeed = player.playbackParameters.speed
val shouldTunnel = tunnelingUserEnabled && (currentSpeed == 1f) && !tunnelingDisabledForCodec
selector.parameters = selector.buildUponParameters()
.setOverrideForType(TrackSelectionOverride(group.mediaTrackGroup, 0))
.setTrackTypeDisabled(C.TRACK_TYPE_AUDIO, false)
.setTunnelingEnabled(shouldTunnel)
.build()
selectedAudioTrackId = trackId
delegate?.onPropertyChange("aid", trackId)
}
}
@@ -972,6 +1277,8 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
if (trackId == null || trackId == "no") {
// Disable subtitles
selectedExternalSubtitleIndex = null
selectedSubtitleTrackId = "no"
selector.parameters = selector.buildUponParameters()
.setTrackTypeDisabled(C.TRACK_TYPE_TEXT, true)
.build()
@@ -984,6 +1291,8 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
val index = trackId.removePrefix("ext_sub_").toIntOrNull() ?: return
if (index >= 0 && index < externalSubtitles.size) {
// Reload media with selected external subtitle
selectedExternalSubtitleIndex = index
selectedSubtitleTrackId = trackId
reloadWithExternalSubtitle(index)
return
}
@@ -998,6 +1307,8 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
val textGroups = player.currentTracks.groups.filter { it.type == C.TRACK_TYPE_TEXT }
if (trackIndex >= 0 && trackIndex < textGroups.size) {
val group = textGroups[trackIndex]
selectedExternalSubtitleIndex = null
selectedSubtitleTrackId = trackId
selector.parameters = selector.buildUponParameters()
.setOverrideForType(TrackSelectionOverride(group.mediaTrackGroup, 0))
.setTrackTypeDisabled(C.TRACK_TYPE_TEXT, false)
@@ -1012,22 +1323,14 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
val player = exoPlayer ?: return
val currentPosition = player.currentPosition
val wasPlaying = player.isPlaying
val mediaItemBuilder = MediaItem.Builder()
.setUri(uri)
// Add the selected external subtitle
if (subtitleIndex >= 0 && subtitleIndex < externalSubtitles.size) {
val subtitle = externalSubtitles[subtitleIndex]
mediaItemBuilder.setSubtitleConfigurations(listOf(subtitle))
}
val mediaItem = mediaItemBuilder.build()
val shouldResume = player.playWhenReady
selectedExternalSubtitleIndex = subtitleIndex
selectedSubtitleTrackId = "ext_sub_$subtitleIndex"
val mediaItem = buildMediaItem(uri)
player.setMediaItem(mediaItem, currentPosition)
player.prepare()
player.playWhenReady = wasPlaying
player.playWhenReady = shouldResume
delegate?.onPropertyChange("sid", "ext_sub_$subtitleIndex")
}
@@ -1063,6 +1366,7 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
fun setVisible(visible: Boolean) {
if (disposing) return
currentVisible = visible
activity.runOnUiThread {
if (disposing) return@runOnUiThread
surfaceContainer?.visibility = if (visible) View.VISIBLE else View.INVISIBLE
@@ -1188,7 +1492,7 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
"videoHeight" to videoFormat?.height,
"videoFps" to videoFormat?.frameRate,
"videoBitrate" to videoFormat?.bitrate,
"videoDecoderName" to videoDecoderInfo,
"videoDecoderName" to (decoderInitName ?: videoDecoderInfo),
"videoDroppedFrames" to player.videoDecoderCounters?.droppedBufferCount,
"videoRenderedFrames" to player.videoDecoderCounters?.renderedOutputBufferCount,
// Color info
@@ -1202,6 +1506,10 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
"audioSampleRate" to audioFormat?.sampleRate,
"audioChannels" to audioFormat?.channelCount,
"audioBitrate" to audioFormat?.bitrate,
"audioDecoderName" to audioDecoderInitName,
// Tunneling
"tunneledPlayback" to currentTunneledPlayback,
"tunnelingStatus" to getTunnelingStatus(player),
// Buffer metrics
"bufferedPositionMs" to player.bufferedPosition,
"currentPositionMs" to player.currentPosition,
@@ -1210,6 +1518,16 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
"playbackSpeed" to player.playbackParameters.speed,
"isPlaying" to player.isPlaying,
"playbackState" to player.playbackState,
// DV conversion (query extractor's track output, which is set during extraction)
*(activeDoviMkvWrapper?.doviTrackOutput
?: activeDoviMp4Wrapper?.doviTrackOutput).let { dovi ->
arrayOf(
"dvConversionActive" to (dovi?.conversionActive == true),
"dvConversionMode" to dvMode.name,
"dvStrippedNals" to (dovi?.strippedNalCount ?: 0L),
"dvConvertedRpus" to (dovi?.convertedRpuCount ?: 0L),
)
},
)
}
@@ -1239,6 +1557,15 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
}
}
private fun getTunnelingStatus(player: ExoPlayer): String {
if (currentTunneledPlayback) return "Active"
if (!tunnelingUserEnabled) return "Disabled by user"
if (player.playbackParameters.speed != 1f) return "Off (speed ≠ 1×)"
if (tunnelingDisabledForVideoCodec) return "Off (video codec unsupported)"
if (tunnelingDisabledForAudioCodec) return "Off (no HW audio decoder)"
return "Off"
}
// Cleanup
fun dispose() {
@@ -1247,6 +1574,7 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
Log.d(TAG, "Disposing")
stopFrameWatchdog()
cancelDecoderHangCheck()
stopPositionUpdates()
handler.removeCallbacksAndMessages(null)
frameRateManager?.clearVideoFrameRate()
@@ -1254,13 +1582,25 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
audioFocusManager?.release()
audioFocusManager = null
tunnelingDisabledForCodec = false
decoderInitName = null
audioDecoderInitName = null
tunnelingDisabledForAudioCodec = false
tunnelingDisabledForVideoCodec = false
currentTunneledPlayback = false
pendingStartPositionMs = 0L
currentMediaIsLive = false
currentVisible = false
emitSeekable(false, force = true)
selectedAudioTrackId = null
selectedSubtitleTrackId = null
selectedExternalSubtitleIndex = null
exoPlayer?.clearVideoSurface()
exoPlayer?.removeListener(this)
exoPlayer?.release()
exoPlayer = null
trackSelector = null
httpDataSourceFactory = null
dataSourceFactory = null
assHandler = null
val cb = surfaceCallback
@@ -6,7 +6,6 @@ import android.content.Context
import android.net.Uri
import android.util.Log
import com.edde746.plezy.mpv.MpvPlayerCore
import com.edde746.plezy.mpv.MpvPlayerDelegate
import io.flutter.embedding.engine.plugins.FlutterPlugin
import io.flutter.embedding.engine.plugins.activity.ActivityAware
import io.flutter.embedding.engine.plugins.activity.ActivityPluginBinding
@@ -15,7 +14,7 @@ import io.flutter.plugin.common.MethodCall
import io.flutter.plugin.common.MethodChannel
class ExoPlayerPlugin : FlutterPlugin, MethodChannel.MethodCallHandler,
EventChannel.StreamHandler, ActivityAware, ExoPlayerDelegate, MpvPlayerDelegate {
EventChannel.StreamHandler, ActivityAware, ExoPlayerDelegate {
companion object {
private const val TAG = "ExoPlayerPlugin"
@@ -34,8 +33,9 @@ class ExoPlayerPlugin : FlutterPlugin, MethodChannel.MethodCallHandler,
private var activityBinding: ActivityPluginBinding? = null
private val nameToId = mutableMapOf<String, Int>()
private var configuredBufferSizeBytes: Int? = null
private var configuredTunnelingEnabled: Boolean = true
private var debugLoggingEnabled: Boolean = false
private val pendingMpvProperties = mutableListOf<Pair<String, String>>()
// FlutterPlugin
@@ -132,6 +132,7 @@ class ExoPlayerPlugin : FlutterPlugin, MethodChannel.MethodCallHandler,
}
"setSubtitleStyle" -> handleSetSubtitleStyle(call, result)
"observeProperty" -> handleObserveProperty(call, result)
"setMpvProperty" -> handleSetMpvProperty(call, result)
"setLogLevel" -> {
val level = call.argument<String>("level") ?: "warn"
debugLoggingEnabled = (level == "v" || level == "debug" || level == "trace")
@@ -158,7 +159,6 @@ class ExoPlayerPlugin : FlutterPlugin, MethodChannel.MethodCallHandler,
val bufferSizeBytes = call.argument<Int>("bufferSizeBytes")
val tunnelingEnabled = call.argument<Boolean>("tunnelingEnabled") ?: true
configuredBufferSizeBytes = bufferSizeBytes
configuredTunnelingEnabled = tunnelingEnabled
currentActivity.runOnUiThread {
try {
@@ -208,6 +208,9 @@ class ExoPlayerPlugin : FlutterPlugin, MethodChannel.MethodCallHandler,
return
}
// New media = fresh slate for pending MPV properties
pendingMpvProperties.clear()
activity?.runOnUiThread {
if (usingMpvFallback) {
// MPV: Build loadfile command with options
@@ -221,7 +224,9 @@ class ExoPlayerPlugin : FlutterPlugin, MethodChannel.MethodCallHandler,
val optionsStr = options.joinToString(",")
// Convert content:// URIs to fdclose:// for MPV (SAF SD card downloads)
val mpvUri = openContentFd(uri)?.let { "fdclose://$it" } ?: uri
mpvCore?.command(arrayOf("loadfile", mpvUri, "replace", "-1", optionsStr))
mpvCore?.runOnExecutor {
mpvCore?.command(arrayOf("loadfile", mpvUri, "replace", "-1", optionsStr))
}
} else {
playerCore?.open(uri, headers, startPositionMs, autoPlay, isLive)
}
@@ -232,7 +237,7 @@ class ExoPlayerPlugin : FlutterPlugin, MethodChannel.MethodCallHandler,
private fun handlePlay(result: MethodChannel.Result) {
activity?.runOnUiThread {
if (usingMpvFallback) {
mpvCore?.setProperty("pause", "no")
mpvCore?.runOnExecutor { mpvCore?.setProperty("pause", "no") }
} else {
playerCore?.play()
}
@@ -243,7 +248,7 @@ class ExoPlayerPlugin : FlutterPlugin, MethodChannel.MethodCallHandler,
private fun handlePause(result: MethodChannel.Result) {
activity?.runOnUiThread {
if (usingMpvFallback) {
mpvCore?.setProperty("pause", "yes")
mpvCore?.runOnExecutor { mpvCore?.setProperty("pause", "yes") }
} else {
playerCore?.pause()
}
@@ -254,8 +259,10 @@ class ExoPlayerPlugin : FlutterPlugin, MethodChannel.MethodCallHandler,
private fun handleStop(result: MethodChannel.Result) {
activity?.runOnUiThread {
if (usingMpvFallback) {
mpvCore?.command(arrayOf("stop"))
mpvCore?.setVisible(false)
mpvCore?.runOnExecutor {
mpvCore?.command(arrayOf("stop"))
mpvCore?.setVisible(false)
}
} else {
playerCore?.stop()
}
@@ -274,7 +281,9 @@ class ExoPlayerPlugin : FlutterPlugin, MethodChannel.MethodCallHandler,
activity?.runOnUiThread {
if (usingMpvFallback) {
val positionSeconds = positionMs / 1000.0
mpvCore?.command(arrayOf("seek", positionSeconds.toString(), "absolute"))
mpvCore?.runOnExecutor {
mpvCore?.command(arrayOf("seek", positionSeconds.toString(), "absolute"))
}
} else {
playerCore?.seekTo(positionMs)
}
@@ -292,7 +301,7 @@ class ExoPlayerPlugin : FlutterPlugin, MethodChannel.MethodCallHandler,
activity?.runOnUiThread {
if (usingMpvFallback) {
mpvCore?.setProperty("volume", volume.toString())
mpvCore?.runOnExecutor { mpvCore?.setProperty("volume", volume.toString()) }
} else {
playerCore?.setVolume(volume / 100f) // Convert 0-100 to 0-1
}
@@ -310,7 +319,7 @@ class ExoPlayerPlugin : FlutterPlugin, MethodChannel.MethodCallHandler,
activity?.runOnUiThread {
if (usingMpvFallback) {
mpvCore?.setProperty("speed", rate.toString())
mpvCore?.runOnExecutor { mpvCore?.setProperty("speed", rate.toString()) }
} else {
playerCore?.setPlaybackSpeed(rate)
}
@@ -330,7 +339,7 @@ class ExoPlayerPlugin : FlutterPlugin, MethodChannel.MethodCallHandler,
if (usingMpvFallback) {
// MPV uses numeric track IDs - extract from string format
val numericId = trackId.split("_").lastOrNull()?.toIntOrNull() ?: 1
mpvCore?.setProperty("aid", numericId.toString())
mpvCore?.runOnExecutor { mpvCore?.setProperty("aid", numericId.toString()) }
} else {
playerCore?.selectAudioTrack(trackId)
}
@@ -344,11 +353,13 @@ class ExoPlayerPlugin : FlutterPlugin, MethodChannel.MethodCallHandler,
// trackId can be null or "no" to disable subtitles
activity?.runOnUiThread {
if (usingMpvFallback) {
if (trackId == null || trackId == "no") {
mpvCore?.setProperty("sid", "no")
} else {
val numericId = trackId.split("_").lastOrNull()?.toIntOrNull() ?: 1
mpvCore?.setProperty("sid", numericId.toString())
mpvCore?.runOnExecutor {
if (trackId == null || trackId == "no") {
mpvCore?.setProperty("sid", "no")
} else {
val numericId = trackId.split("_").lastOrNull()?.toIntOrNull() ?: 1
mpvCore?.setProperty("sid", numericId.toString())
}
}
} else {
playerCore?.selectSubtitleTrack(trackId)
@@ -372,7 +383,9 @@ class ExoPlayerPlugin : FlutterPlugin, MethodChannel.MethodCallHandler,
activity?.runOnUiThread {
if (usingMpvFallback) {
val selectFlag = if (select) "select" else "auto"
mpvCore?.command(arrayOf("sub-add", uri, selectFlag, title ?: "External"))
mpvCore?.runOnExecutor {
mpvCore?.command(arrayOf("sub-add", uri, selectFlag, title ?: "External"))
}
} else {
playerCore?.addSubtitleTrack(uri, title, language, mimeType, select)
}
@@ -471,17 +484,36 @@ class ExoPlayerPlugin : FlutterPlugin, MethodChannel.MethodCallHandler,
result.success(null)
}
private fun handleSetMpvProperty(call: MethodCall, result: MethodChannel.Result) {
val name = call.argument<String>("name")
val value = call.argument<String>("value")
if (name == null || value == null) {
result.error("INVALID_ARGS", "Missing 'name' or 'value'", null)
return
}
if (usingMpvFallback) {
mpvCore?.runOnExecutor { mpvCore?.setProperty(name, value) }
} else {
// Store for later application if ExoPlayer falls back to MPV
pendingMpvProperties.add(Pair(name, value))
}
result.success(null)
}
private fun handleGetStats(result: MethodChannel.Result) {
activity?.runOnUiThread {
val stats = if (usingMpvFallback) {
// For MPV fallback, query MPV properties directly
getMpvStats()
} else {
if (usingMpvFallback) {
mpvCore?.runOnExecutor {
val stats = getMpvStats()
activity?.runOnUiThread { result.success(stats) }
} ?: result.success(mapOf("playerType" to "mpv"))
} else {
activity?.runOnUiThread {
val coreStats = playerCore?.getStats() ?: emptyMap()
coreStats + mapOf("playerType" to "exoplayer")
}
result.success(stats)
} ?: result.success(mapOf("playerType" to "unknown"))
result.success(coreStats + mapOf("playerType" to "exoplayer"))
} ?: result.success(mapOf("playerType" to "unknown"))
}
}
/**
@@ -631,53 +663,80 @@ class ExoPlayerPlugin : FlutterPlugin, MethodChannel.MethodCallHandler,
usingMpvFallback = true
fallbackInProgress = false
// Configure basic MPV properties for Plex playback
mpvCore?.setProperty("hwdec", "mediacodec,mediacodec-copy")
mpvCore?.setProperty("vo", "gpu")
mpvCore?.setProperty("ao", "audiotrack")
// Snapshot pending properties on main thread before clearing
val pendingProps = pendingMpvProperties.toList()
pendingMpvProperties.clear()
// Forward user's buffer config to MPV fallback
configuredBufferSizeBytes?.let { bytes ->
if (bytes > 0) {
mpvCore?.setProperty("demuxer-max-bytes", bytes.toString())
}
}
// Setup property observers
mpvCore?.observeProperty("time-pos", "double")
mpvCore?.observeProperty("duration", "double")
mpvCore?.observeProperty("pause", "flag")
mpvCore?.observeProperty("paused-for-cache", "flag")
mpvCore?.observeProperty("demuxer-cache-time", "double")
mpvCore?.observeProperty("eof-reached", "flag")
mpvCore?.observeProperty("track-list", "string")
mpvCore?.observeProperty("aid", "string")
mpvCore?.observeProperty("sid", "string")
mpvCore?.observeProperty("volume", "double")
mpvCore?.observeProperty("speed", "double")
// Show the MPV surface
mpvCore?.setVisible(true)
// Load media at the same position
val startSeconds = positionMs / 1000.0
val options = mutableListOf<String>()
options.add("start=$startSeconds")
headers?.forEach { (key, value) ->
options.add("http-header-fields-append=$key: $value")
}
val optionsStr = options.joinToString(",")
// Convert content:// URIs to fdclose:// for MPV (SAF SD card downloads)
// Compute content FD on main thread (needs contentResolver)
val mpvUri = openContentFd(uri)?.let { "fdclose://$it" } ?: uri
mpvCore?.command(arrayOf("loadfile", mpvUri, "replace", "-1", optionsStr))
// Request audio focus
mpvCore?.requestAudioFocus()
// Buffer size for closure
val bufferSize = configuredBufferSizeBytes
// Emit backend-switched event so Flutter can show notification
onEvent("backend-switched", null)
mpvCore?.runOnExecutor {
// Configure basic MPV properties for Plex playback
mpvCore?.setProperty("hwdec", "mediacodec,mediacodec-copy")
mpvCore?.setProperty("vo", "gpu")
mpvCore?.setProperty("ao", "audiotrack")
Log.i(TAG, "Successfully switched to MPV fallback")
// Forward user's buffer config to MPV fallback
if (bufferSize != null && bufferSize > 0) {
mpvCore?.setProperty("demuxer-max-bytes", bufferSize.toString())
}
// Apply pending MPV properties from Dart
for ((propName, propValue) in pendingProps) {
mpvCore?.setProperty(propName, propValue)
}
// Setup property observers
mpvCore?.observeProperty("time-pos", "double")
mpvCore?.observeProperty("duration", "double")
mpvCore?.observeProperty("seekable", "flag")
mpvCore?.observeProperty("pause", "flag")
mpvCore?.observeProperty("paused-for-cache", "flag")
mpvCore?.observeProperty("demuxer-cache-time", "double")
mpvCore?.observeProperty("eof-reached", "flag")
mpvCore?.observeProperty("track-list", "string")
mpvCore?.observeProperty("aid", "string")
mpvCore?.observeProperty("sid", "string")
mpvCore?.observeProperty("volume", "double")
mpvCore?.observeProperty("speed", "double")
// Show the MPV surface (internally posts to UI)
mpvCore?.setVisible(true)
// Load media at the same position
val startSeconds = positionMs / 1000.0
val options = mutableListOf<String>()
options.add("start=$startSeconds")
headers?.forEach { (key, value) ->
options.add("http-header-fields-append=$key: $value")
}
val optionsStr = options.joinToString(",")
mpvCore?.command(arrayOf("loadfile", mpvUri, "replace", "-1", optionsStr))
// On GPUs without compute shaders, MPV can't do dynamic peak detection
// and spline tone-mapping produces dim/washed-out results with extreme
// static HDR peak metadata. Use reinhard which handles this better.
val peakDetection = mpvCore?.getProperty("hdr-compute-peak")
if (peakDetection == "no") {
Log.i(TAG, "No compute shaders — overriding tone-mapping to reinhard")
mpvCore?.setProperty("tone-mapping", "reinhard")
mpvCore?.setProperty("tone-mapping-param", "0.7")
mpvCore?.setProperty("tone-mapping-mode", "luma")
}
// Request audio focus
mpvCore?.requestAudioFocus()
// Emit backend-switched event on main thread
activity?.runOnUiThread {
onEvent("backend-switched", null)
}
Log.i(TAG, "Successfully switched to MPV fallback")
}
}
} catch (e: Exception) {
fallbackInProgress = false
@@ -0,0 +1,260 @@
package com.edde746.plezy.exoplayer
import android.content.Context
import android.media.AudioDeviceInfo
import androidx.annotation.OptIn
import androidx.media3.common.PlaybackParameters
import androidx.media3.common.util.Clock
import androidx.media3.common.util.UnstableApi
import androidx.media3.exoplayer.DefaultRenderersFactory
import androidx.media3.exoplayer.analytics.PlayerId
import androidx.media3.exoplayer.audio.AudioOutput
import androidx.media3.exoplayer.audio.AudioOutputProvider
import androidx.media3.exoplayer.audio.AudioSink
import androidx.media3.exoplayer.audio.AudioTrackAudioOutputProvider
import androidx.media3.exoplayer.audio.DefaultAudioSink
import androidx.media3.exoplayer.audio.DefaultAudioTrackBufferSizeProvider
import androidx.media3.exoplayer.audio.ForwardingAudioSink
import java.nio.ByteBuffer
import java.util.concurrent.atomic.AtomicLong
@OptIn(UnstableApi::class)
class PlezyRenderersFactory(context: Context) : DefaultRenderersFactory(context) {
override fun buildAudioSink(
context: Context,
enableFloatOutput: Boolean,
enableAudioOutputPlaybackParams: Boolean
): AudioSink {
AudioTrackAudioOutputProvider.failOnSpuriousAudioTimestamp = false
val bufferSizeProvider = DefaultAudioTrackBufferSizeProvider.Builder()
.setMinPcmBufferDurationUs(500_000)
.setMaxPcmBufferDurationUs(1_500_000)
.setPcmBufferMultiplicationFactor(8)
.build()
val realProvider = AudioTrackAudioOutputProvider.Builder(context)
.setAudioTrackBufferSizeProvider(bufferSizeProvider)
.build()
// Shared position: RawPositionAudioOutput writes the raw AudioTrack position,
// PositionFixAudioSink reads it to bypass DefaultAudioSink's writtenDuration clamp.
val rawPositionUs = AtomicLong(Long.MIN_VALUE)
val defaultSink = DefaultAudioSink.Builder(context)
.setEnableFloatOutput(enableFloatOutput)
.setEnableAudioOutputPlaybackParameters(enableAudioOutputPlaybackParams)
.setAudioOutputProvider(RawPositionOutputProvider(realProvider, rawPositionUs))
.build()
return PositionFixAudioSink(defaultSink, rawPositionUs)
}
}
/**
* Fixes video stutter with large audio frames (e.g. 120ms Opus).
*
* DefaultAudioSink.getCurrentPositionUs() clamps the playback position to
* writtenDuration via Math.min(positionUs, framesToDurationUs(writtenFrames)).
* With large audio frames, data arrives in bursts and writtenDuration lags behind
* the real AudioTrack playback position between bursts, creating a sawtooth
* position pattern (plateau → jump) that makes the video renderer drop frames.
*
* Fix: when DefaultAudioSink's position falls behind the raw AudioTrack position,
* return startMediaTimeUs + rawPosition instead, giving the video renderer a
* smooth clock to sync against.
*
* Also suppresses Amlogic AudioTrack timestamp discontinuity errors.
*
* The raw AudioTrack position advances at real-time rate regardless of speed
* (AudioTrackPositionTracker reports post-time-stretch output frames). The
* bypass multiplies by speed to convert to media time, matching what
* DefaultAudioSink.applyMediaPositionParameters() does internally. Reference
* points are captured on speed changes for correct mid-playback transitions.
*/
@OptIn(UnstableApi::class)
private class PositionFixAudioSink(
sink: AudioSink,
private val rawPositionUs: AtomicLong
) : ForwardingAudioSink(sink) {
private var startMediaTimeUs = Long.MIN_VALUE
private var suppressedErrorCount = 0
// Speed tracking for position bypass
private var currentSpeed = 1.0f
private var refMediaTimeUs = Long.MIN_VALUE
private var refRawPositionUs = 0L
override fun handleBuffer(
buffer: ByteBuffer,
presentationTimeUs: Long,
encodedAccessUnitCount: Int
): Boolean {
if (startMediaTimeUs == Long.MIN_VALUE) {
startMediaTimeUs = presentationTimeUs
refMediaTimeUs = presentationTimeUs
refRawPositionUs = 0
}
return super.handleBuffer(buffer, presentationTimeUs, encodedAccessUnitCount)
}
override fun setPlaybackParameters(playbackParameters: PlaybackParameters) {
// Capture reference point before speed changes
val rawPos = rawPositionUs.get()
if (rawPos > 0 && refMediaTimeUs != Long.MIN_VALUE) {
refMediaTimeUs = refMediaTimeUs + ((rawPos - refRawPositionUs) * currentSpeed).toLong()
refRawPositionUs = rawPos
}
currentSpeed = playbackParameters.speed
super.setPlaybackParameters(playbackParameters)
}
override fun getCurrentPositionUs(sourceEnded: Boolean): Long {
val delegatePos = super.getCurrentPositionUs(sourceEnded)
if (delegatePos == Long.MIN_VALUE || refMediaTimeUs == Long.MIN_VALUE) {
return delegatePos
}
val rawPos = rawPositionUs.get()
if (rawPos <= 0) return delegatePos
val expectedPos = refMediaTimeUs + ((rawPos - refRawPositionUs) * currentSpeed).toLong()
return if (expectedPos > delegatePos + 30_000) expectedPos else delegatePos
}
// --- Suppress timestamp discontinuity errors ---
override fun setListener(listener: AudioSink.Listener) {
super.setListener(@OptIn(UnstableApi::class) object : AudioSink.Listener {
override fun onPositionDiscontinuity() = listener.onPositionDiscontinuity()
override fun onPositionAdvancing(playoutStartSystemTimeUs: Long) = listener.onPositionAdvancing(playoutStartSystemTimeUs)
override fun onUnderrun(bufferSize: Int, bufferSizeMs: Long, elapsedSinceLastFeedMs: Long) = listener.onUnderrun(bufferSize, bufferSizeMs, elapsedSinceLastFeedMs)
override fun onSkipSilenceEnabledChanged(skipSilenceEnabled: Boolean) = listener.onSkipSilenceEnabledChanged(skipSilenceEnabled)
override fun onOffloadBufferEmptying() = listener.onOffloadBufferEmptying()
override fun onOffloadBufferFull() = listener.onOffloadBufferFull()
override fun onAudioCapabilitiesChanged() = listener.onAudioCapabilitiesChanged()
override fun onAudioTrackInitialized(audioTrackConfig: AudioSink.AudioTrackConfig) = listener.onAudioTrackInitialized(audioTrackConfig)
override fun onAudioTrackReleased(audioTrackConfig: AudioSink.AudioTrackConfig) = listener.onAudioTrackReleased(audioTrackConfig)
override fun onSilenceSkipped() = listener.onSilenceSkipped()
override fun onAudioSessionIdChanged(audioSessionId: Int) = listener.onAudioSessionIdChanged(audioSessionId)
override fun onAudioSinkError(audioSinkError: Exception) {
if (isTimestampDiscontinuity(audioSinkError)) {
suppressedErrorCount++
return
}
listener.onAudioSinkError(audioSinkError)
}
})
}
override fun flush() {
startMediaTimeUs = Long.MIN_VALUE
refMediaTimeUs = Long.MIN_VALUE
refRawPositionUs = 0
rawPositionUs.set(Long.MIN_VALUE)
super.flush()
}
override fun reset() {
startMediaTimeUs = Long.MIN_VALUE
refMediaTimeUs = Long.MIN_VALUE
refRawPositionUs = 0
currentSpeed = 1.0f
rawPositionUs.set(Long.MIN_VALUE)
suppressedErrorCount = 0
super.reset()
}
private fun isTimestampDiscontinuity(e: Exception): Boolean {
val name = e.javaClass.simpleName
val msg = e.message ?: ""
return name == "InvalidAudioTrackTimestampException" ||
name == "UnexpectedDiscontinuityException" ||
msg.contains("timestamp discontinuity", ignoreCase = true)
}
}
// --- AudioOutput wrapping: shares raw position with PositionFixAudioSink ---
@OptIn(UnstableApi::class)
private class RawPositionOutputProvider(
private val delegate: AudioOutputProvider,
private val rawPositionUs: AtomicLong
) : AudioOutputProvider {
override fun getFormatSupport(config: AudioOutputProvider.FormatConfig) =
delegate.getFormatSupport(config)
override fun getOutputConfig(config: AudioOutputProvider.FormatConfig) =
delegate.getOutputConfig(config)
override fun getAudioOutput(config: AudioOutputProvider.OutputConfig): AudioOutput {
val realOutput = delegate.getAudioOutput(config)
return RawPositionAudioOutput(realOutput, rawPositionUs)
}
override fun addListener(listener: AudioOutputProvider.Listener) =
delegate.addListener(listener)
override fun removeListener(listener: AudioOutputProvider.Listener) =
delegate.removeListener(listener)
override fun setClock(clock: Clock) = delegate.setClock(clock)
override fun release() = delegate.release()
}
@OptIn(UnstableApi::class)
private class RawPositionAudioOutput(
private val delegate: AudioOutput,
private val rawPositionUs: AtomicLong
) : AudioOutput {
override fun getPositionUs(): Long {
val pos = delegate.getPositionUs()
rawPositionUs.set(pos)
return pos
}
override fun play() = delegate.play()
override fun pause() = delegate.pause()
@Throws(AudioOutput.WriteException::class)
override fun write(buffer: ByteBuffer, size: Int, presentationTimeUs: Long) =
delegate.write(buffer, size, presentationTimeUs)
override fun flush() {
rawPositionUs.set(Long.MIN_VALUE)
delegate.flush()
}
override fun stop() = delegate.stop()
override fun release() {
rawPositionUs.set(Long.MIN_VALUE)
delegate.release()
}
override fun setVolume(volume: Float) = delegate.setVolume(volume)
override fun isOffloadedPlayback() = delegate.isOffloadedPlayback()
override fun getAudioSessionId() = delegate.getAudioSessionId()
override fun getSampleRate() = delegate.getSampleRate()
override fun getBufferSizeInFrames() = delegate.getBufferSizeInFrames()
override fun getPlaybackParameters() = delegate.getPlaybackParameters()
override fun isStalled() = delegate.isStalled()
override fun addListener(listener: AudioOutput.Listener) = delegate.addListener(listener)
override fun removeListener(listener: AudioOutput.Listener) = delegate.removeListener(listener)
override fun setPlaybackParameters(playbackParameters: PlaybackParameters) =
delegate.setPlaybackParameters(playbackParameters)
override fun setOffloadDelayPadding(delayInFrames: Int, paddingInFrames: Int) =
delegate.setOffloadDelayPadding(delayInFrames, paddingInFrames)
override fun setOffloadEndOfStream() = delegate.setOffloadEndOfStream()
override fun setPlayerId(playerId: PlayerId) = delegate.setPlayerId(playerId)
override fun attachAuxEffect(effectId: Int) = delegate.attachAuxEffect(effectId)
override fun setAuxEffectSendLevel(level: Float) = delegate.setAuxEffectSendLevel(level)
override fun setPreferredDevice(preferredDevice: AudioDeviceInfo?) =
delegate.setPreferredDevice(preferredDevice)
}
@@ -16,15 +16,11 @@ import android.view.ViewTreeObserver
import com.edde746.plezy.shared.AudioFocusManager
import com.edde746.plezy.shared.FlutterOverlayHelper
import com.edde746.plezy.shared.FrameRateManager
import com.edde746.plezy.shared.PlayerDelegate
import dev.jdtech.mpv.MPVLib
import io.flutter.plugin.common.MethodChannel
import java.util.concurrent.Executors
interface MpvPlayerDelegate {
fun onPropertyChange(name: String, value: Any?)
fun onEvent(name: String, data: Map<String, Any>?)
}
class MpvPlayerCore(private val activity: Activity) :
SurfaceHolder.Callback,
MPVLib.EventObserver,
@@ -35,6 +31,20 @@ class MpvPlayerCore(private val activity: Activity) :
// Guards MPVLib.create/destroy which share global native state
private val mpvLock = Object()
// JNI's NewStringUTF may produce Java Strings with lone surrogates when
// mpv passes invalid UTF-8 (log messages, system-encoded paths, etc.).
// Lone surrogates cause FormatException in Flutter's StandardMessageCodec
// when it encodes them as UTF-8. Re-encoding strips these invalid chars.
private fun safeString(s: String): String {
for (c in s) {
if (c.isSurrogate()) {
// Slow path: re-encode through UTF-8 to replace lone surrogates with U+FFFD
return s.encodeToByteArray().decodeToString()
}
}
return s // Fast path: no surrogates, string is safe
}
}
private var surfaceView: SurfaceView? = null
@@ -45,7 +55,7 @@ class MpvPlayerCore(private val activity: Activity) :
@Volatile private var disposing: Boolean = false
private var pendingSurface: Surface? = null
private var lastSurfaceSize: String? = null
var delegate: MpvPlayerDelegate? = null
var delegate: PlayerDelegate? = null
var isInitialized: Boolean = false
private set
@@ -344,21 +354,29 @@ class MpvPlayerCore(private val activity: Activity) :
}
override fun eventProperty(property: String, value: String) {
val safe = safeString(value)
activity.runOnUiThread {
delegate?.onPropertyChange(property, value)
delegate?.onPropertyChange(property, safe)
}
}
override fun event(eventId: Int) {
val eventName = when (eventId) {
MPVLib.MPV_EVENT_FILE_LOADED -> "file-loaded"
MPVLib.MPV_EVENT_END_FILE -> "end-file"
MPVLib.MPV_EVENT_PLAYBACK_RESTART -> "playback-restart"
else -> null
}
eventName?.let { name ->
activity.runOnUiThread {
delegate?.onEvent(name, null)
if (disposing) return
when (eventId) {
MPVLib.MPV_EVENT_END_FILE -> {
val eofReached = try { MPVLib.getPropertyBoolean("eof-reached") } catch (_: Exception) { false }
val data: Map<String, Any>? = if (eofReached) {
mapOf("reason" to 0) // EOF
} else {
null // Could be stop, quit, or error — no way to distinguish from JNI
}
activity.runOnUiThread { delegate?.onEvent("end-file", data) }
}
MPVLib.MPV_EVENT_FILE_LOADED -> {
activity.runOnUiThread { delegate?.onEvent("file-loaded", null) }
}
MPVLib.MPV_EVENT_PLAYBACK_RESTART -> {
activity.runOnUiThread { delegate?.onEvent("playback-restart", null) }
}
}
}
@@ -376,11 +394,13 @@ class MpvPlayerCore(private val activity: Activity) :
MPVLib.MPV_LOG_LEVEL_TRACE -> "trace"
else -> "info"
}
val safePrefix = safeString(prefix)
val safeText = safeString(text)
activity.runOnUiThread {
delegate?.onEvent("log-message", mapOf(
"prefix" to prefix,
"prefix" to safePrefix,
"level" to levelStr,
"text" to text
"text" to safeText
))
}
}
@@ -414,6 +434,100 @@ class MpvPlayerCore(private val activity: Activity) :
MPVLib.observeProperty(name, mpvFormat)
}
/**
* Get an MPV property asynchronously off the UI thread.
* This prevents ANR when mpv_get_property blocks waiting for internal locks.
*/
fun getPropertyAsync(name: String, result: MethodChannel.Result) {
if (!isInitialized || disposing) {
result.success(null)
return
}
try {
commandExecutor.execute {
try {
val value = MPVLib.getPropertyString(name)
activity.runOnUiThread { result.success(value) }
} catch (e: Exception) {
activity.runOnUiThread { result.success(null) }
}
}
} catch (e: java.util.concurrent.RejectedExecutionException) {
Log.w(TAG, "getPropertyAsync rejected (executor shut down)")
result.success(null)
}
}
/**
* Set an MPV property asynchronously off the UI thread.
* This prevents ANR when mpv_set_property blocks waiting for internal locks.
*/
fun setPropertyAsync(name: String, value: String, result: MethodChannel.Result) {
if (!isInitialized || disposing) {
result.success(null)
return
}
try {
commandExecutor.execute {
try {
MPVLib.setPropertyString(name, value)
activity.runOnUiThread { result.success(null) }
} catch (e: Exception) {
Log.e(TAG, "Async setProperty failed: ${e.message}", e)
activity.runOnUiThread { result.success(null) }
}
}
} catch (e: java.util.concurrent.RejectedExecutionException) {
Log.w(TAG, "setPropertyAsync rejected (executor shut down)")
result.success(null)
}
}
/**
* Observe an MPV property asynchronously off the UI thread.
* This prevents ANR when mpv_observe_property blocks waiting for internal locks.
*/
fun observePropertyAsync(name: String, format: String, result: MethodChannel.Result) {
if (!isInitialized || disposing) {
result.success(null)
return
}
val mpvFormat = when (format) {
"double" -> MPVLib.MPV_FORMAT_DOUBLE
"flag" -> MPVLib.MPV_FORMAT_FLAG
"string" -> MPVLib.MPV_FORMAT_STRING
"node" -> MPVLib.MPV_FORMAT_NODE
else -> MPVLib.MPV_FORMAT_NONE
}
try {
commandExecutor.execute {
try {
MPVLib.observeProperty(name, mpvFormat)
activity.runOnUiThread { result.success(null) }
} catch (e: Exception) {
Log.e(TAG, "Async observeProperty failed: ${e.message}", e)
activity.runOnUiThread { result.success(null) }
}
}
} catch (e: java.util.concurrent.RejectedExecutionException) {
Log.w(TAG, "observePropertyAsync rejected (executor shut down)")
result.success(null)
}
}
/**
* Run a block on the command executor (background thread).
* Used by the plugin for I/O operations that shouldn't block the main thread.
*/
fun runOnExecutor(block: () -> Unit) {
if (disposing) return
try {
commandExecutor.execute(block)
} catch (e: java.util.concurrent.RejectedExecutionException) {
Log.w(TAG, "runOnExecutor rejected (executor shut down)")
}
}
fun command(args: Array<String>) {
if (!isInitialized || args.isEmpty()) return
MPVLib.command(args)
@@ -425,23 +539,28 @@ class MpvPlayerCore(private val activity: Activity) :
* The result is called back on the UI thread when the command completes.
*/
fun commandAsync(args: Array<String>, result: MethodChannel.Result) {
if (!isInitialized || args.isEmpty()) {
if (!isInitialized || disposing || args.isEmpty()) {
result.success(null)
return
}
commandExecutor.execute {
try {
MPVLib.command(args)
activity.runOnUiThread {
result.success(null)
}
} catch (e: Exception) {
Log.e(TAG, "Async command failed: ${e.message}", e)
activity.runOnUiThread {
result.error("COMMAND_FAILED", e.message, null)
try {
commandExecutor.execute {
try {
MPVLib.command(args)
activity.runOnUiThread {
result.success(null)
}
} catch (e: Exception) {
Log.e(TAG, "Async command failed: ${e.message}", e)
activity.runOnUiThread {
result.error("COMMAND_FAILED", e.message, null)
}
}
}
} catch (e: java.util.concurrent.RejectedExecutionException) {
Log.w(TAG, "commandAsync rejected (executor shut down)")
result.success(null)
}
}
@@ -495,7 +614,6 @@ class MpvPlayerCore(private val activity: Activity) :
} catch (e: Exception) {
Log.w(TAG, "Failed to remove MPV observers during dispose", e)
}
detachSurfaceInternal()
}
overlayLayoutListener?.let { listener ->
@@ -530,6 +648,7 @@ class MpvPlayerCore(private val activity: Activity) :
Thread {
synchronized(mpvLock) {
try {
detachSurfaceInternal()
MPVLib.destroy()
} catch (e: Exception) {
Log.w(TAG, "MPV destroy failed", e)
@@ -11,7 +11,7 @@ import io.flutter.plugin.common.MethodCall
import io.flutter.plugin.common.MethodChannel
class MpvPlayerPlugin : FlutterPlugin, MethodChannel.MethodCallHandler,
EventChannel.StreamHandler, ActivityAware, MpvPlayerDelegate {
EventChannel.StreamHandler, ActivityAware, com.edde746.plezy.shared.PlayerDelegate {
companion object {
private const val TAG = "MpvPlayerPlugin"
@@ -162,8 +162,8 @@ class MpvPlayerPlugin : FlutterPlugin, MethodChannel.MethodCallHandler,
return
}
playerCore?.setProperty(name, value)
result.success(null)
playerCore?.setPropertyAsync(name, value, result)
?: result.success(null)
}
private fun handleGetProperty(call: MethodCall, result: MethodChannel.Result) {
@@ -174,8 +174,8 @@ class MpvPlayerPlugin : FlutterPlugin, MethodChannel.MethodCallHandler,
return
}
val value = playerCore?.getProperty(name)
result.success(value)
playerCore?.getPropertyAsync(name, result)
?: result.success(null)
}
private fun handleObserveProperty(call: MethodCall, result: MethodChannel.Result) {
@@ -189,8 +189,8 @@ class MpvPlayerPlugin : FlutterPlugin, MethodChannel.MethodCallHandler,
}
nameToId[name] = id
playerCore?.observeProperty(name, format)
result.success(null)
playerCore?.observePropertyAsync(name, format, result)
?: result.success(null)
}
private fun handleCommand(call: MethodCall, result: MethodChannel.Result) {
@@ -253,31 +253,35 @@ class MpvPlayerPlugin : FlutterPlugin, MethodChannel.MethodCallHandler,
return
}
try {
val uri = Uri.parse(uriString)
val contentResolver = activity?.contentResolver
if (contentResolver == null) {
result.error("NO_ACTIVITY", "Activity not available", null)
return
}
val pfd = contentResolver.openFileDescriptor(uri, "r")
if (pfd == null) {
result.error("OPEN_FAILED", "Failed to open file descriptor for $uriString", null)
return
}
// detachFd() transfers ownership of the FD to the caller (MPV via fdclose://)
val fd = pfd.detachFd()
Log.d(TAG, "Opened content FD $fd for $uriString")
result.success(fd)
} catch (e: Exception) {
Log.e(TAG, "Failed to open content FD: ${e.message}", e)
result.error("OPEN_FAILED", e.message, null)
val contentResolver = activity?.contentResolver
if (contentResolver == null) {
result.error("NO_ACTIVITY", "Activity not available", null)
return
}
// Open file descriptor off UI thread to prevent ANR on slow storage
playerCore?.runOnExecutor {
try {
val uri = Uri.parse(uriString)
val pfd = contentResolver.openFileDescriptor(uri, "r")
if (pfd == null) {
activity?.runOnUiThread {
result.error("OPEN_FAILED", "Failed to open file descriptor for $uriString", null)
}
return@runOnExecutor
}
val fd = pfd.detachFd()
Log.d(TAG, "Opened content FD $fd for $uriString")
activity?.runOnUiThread { result.success(fd) }
} catch (e: Exception) {
Log.e(TAG, "Failed to open content FD: ${e.message}", e)
activity?.runOnUiThread { result.error("OPEN_FAILED", e.message, null) }
}
} ?: result.error("NO_PLAYER", "Player not initialized", null)
}
// MpvPlayerDelegate
// PlayerDelegate
override fun onPropertyChange(name: String, value: Any?) {
val propId = nameToId[name] ?: return
@@ -0,0 +1,6 @@
package com.edde746.plezy.shared
interface PlayerDelegate {
fun onPropertyChange(name: String, value: Any?)
fun onEvent(name: String, data: Map<String, Any>?)
}
@@ -3,11 +3,14 @@ package com.edde746.plezy.watchnext
import android.content.Context
import android.content.Intent
import android.content.pm.PackageManager
import android.os.Handler
import android.os.Looper
import android.util.Log
import androidx.tvprovider.media.tv.TvContractCompat
import io.flutter.embedding.engine.plugins.FlutterPlugin
import io.flutter.plugin.common.MethodCall
import io.flutter.plugin.common.MethodChannel
import java.util.concurrent.Executors
/**
* Flutter plugin for Android TV Watch Next integration.
@@ -17,7 +20,7 @@ class WatchNextPlugin : FlutterPlugin, MethodChannel.MethodCallHandler {
companion object {
private const val TAG = "WatchNextPlugin"
private const val METHOD_CHANNEL = "app.plezy/watch_next"
private const val METHOD_CHANNEL = "com.plezy/watch_next"
private var pendingDeepLink: String? = null
@@ -37,6 +40,8 @@ class WatchNextPlugin : FlutterPlugin, MethodChannel.MethodCallHandler {
private lateinit var methodChannel: MethodChannel
private var applicationContext: Context? = null
private var watchNextProvider: WatchNextProvider? = null
private val ioExecutor by lazy { Executors.newSingleThreadExecutor() }
private val mainHandler = Handler(Looper.getMainLooper())
override fun onAttachedToEngine(binding: FlutterPlugin.FlutterPluginBinding) {
applicationContext = binding.applicationContext
@@ -49,6 +54,7 @@ class WatchNextPlugin : FlutterPlugin, MethodChannel.MethodCallHandler {
methodChannel.setMethodCallHandler(null)
applicationContext = null
watchNextProvider = null
ioExecutor.shutdown()
}
override fun onMethodCall(call: MethodCall, result: MethodChannel.Result) {
@@ -85,7 +91,7 @@ class WatchNextPlugin : FlutterPlugin, MethodChannel.MethodCallHandler {
}
val items = itemsData.mapNotNull { parseWatchNextItem(it) }
result.success(provider.syncWatchNextPrograms(items))
executeOnIo(result) { provider.syncWatchNextPrograms(items) }
}
private fun handleClear(result: MethodChannel.Result) {
@@ -94,7 +100,7 @@ class WatchNextPlugin : FlutterPlugin, MethodChannel.MethodCallHandler {
result.error("NOT_INITIALIZED", "WatchNextProvider not initialized", null)
return
}
result.success(provider.clearAll())
executeOnIo(result) { provider.clearAll() }
}
private fun handleRemove(call: MethodCall, result: MethodChannel.Result) {
@@ -109,7 +115,23 @@ class WatchNextPlugin : FlutterPlugin, MethodChannel.MethodCallHandler {
result.error("INVALID_ARGS", "Missing 'contentId' argument", null)
return
}
result.success(provider.removeItem(contentId))
executeOnIo(result) { provider.removeItem(contentId) }
}
private fun executeOnIo(result: MethodChannel.Result, block: () -> Any?) {
try {
ioExecutor.execute {
try {
val value = block()
mainHandler.post { result.success(value) }
} catch (e: Exception) {
Log.e(TAG, "IO operation failed: ${e.message}", e)
mainHandler.post { result.error("IO_ERROR", e.message, null) }
}
}
} catch (e: java.util.concurrent.RejectedExecutionException) {
result.error("SHUTDOWN", "Plugin is shutting down", null)
}
}
private fun handleGetInitialDeepLink(result: MethodChannel.Result) {
+9 -8
View File
@@ -20,19 +20,20 @@ platform :android do
end
debug_info_dir = "./debug-info/#{version_name}+#{version_code}"
git_commit = `git rev-parse --short HEAD`.strip
# Build the Flutter app
# sh("cd #{ENV['PWD']}/.. && flutter build appbundle --dart-define=ENABLE_IN_APP_REVIEW=true --obfuscate --split-debug-info=#{debug_info_dir}/aab")
sh("cd #{ENV['PWD']}/.. && flutter build appbundle --dart-define=ENABLE_IN_APP_REVIEW=true --dart-define=ENABLE_SENTRY=true --dart-define=GIT_COMMIT=#{git_commit} --obfuscate --split-debug-info=#{debug_info_dir}/aab")
# upload_to_play_store(
# track: "production",
# release_status: "completed",
# version_code: version_code,
# aab: "../build/app/outputs/bundle/release/app-release.aab"
# )
upload_to_play_store(
track: "production",
release_status: "completed",
version_code: version_code,
aab: "../build/app/outputs/bundle/release/app-release.aab"
)
# Build universal APK for Amazon Appstore (doesn't accept AABs, excludes x86 via env var)
sh("cd #{ENV['PWD']}/.. && AMAZON=1 flutter build apk --release --obfuscate --split-debug-info=#{debug_info_dir}/apk")
sh("cd #{ENV['PWD']}/.. && AMAZON=1 flutter build apk --release --dart-define=ENABLE_SENTRY=true --dart-define=GIT_COMMIT=#{git_commit} --obfuscate --split-debug-info=#{debug_info_dir}/apk")
upload_to_amazon_appstore(
apk_paths: [
+1 -1
View File
@@ -1 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 185.04 133.4"><defs><style>.cls-1{fill:url(#linear-gradient);}</style><linearGradient id="linear-gradient" y1="66.7" x2="185.04" y2="66.7" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#90cea1"/><stop offset="0.56" stop-color="#3cbec9"/><stop offset="1" stop-color="#00b3e5"/></linearGradient></defs><title>Asset 4</title><g id="Layer_2" data-name="Layer 2"><g id="Layer_1-2" data-name="Layer 1"><path class="cls-1" d="M51.06,66.7h0A17.67,17.67,0,0,1,68.73,49h-.1A17.67,17.67,0,0,1,86.3,66.7h0A17.67,17.67,0,0,1,68.63,84.37h.1A17.67,17.67,0,0,1,51.06,66.7Zm82.67-31.33h32.9A17.67,17.67,0,0,0,184.3,17.7h0A17.67,17.67,0,0,0,166.63,0h-32.9A17.67,17.67,0,0,0,116.06,17.7h0A17.67,17.67,0,0,0,133.73,35.37Zm-113,98h63.9A17.67,17.67,0,0,0,102.3,115.7h0A17.67,17.67,0,0,0,84.63,98H20.73A17.67,17.67,0,0,0,3.06,115.7h0A17.67,17.67,0,0,0,20.73,133.37Zm83.92-49h6.25L125.5,49h-8.35l-8.9,23.2h-.1L99.4,49H90.5Zm32.45,0h7.8V49h-7.8Zm22.2,0h24.95V77.2H167.1V70h15.35V62.8H167.1V56.2h16.25V49h-24ZM10.1,35.4h7.8V6.9H28V0H0V6.9H10.1ZM39,35.4h7.8V20.1H61.9V35.4h7.8V0H61.9V13.2H46.75V0H39Zm41.25,0h25V28.2H88V21h15.35V13.8H88V7.2h16.25V0h-24Zm-79,49H9V57.25h.1l9,27.15H24l9.3-27.15h.1V84.4h7.8V49H29.45l-8.2,23.1h-.1L13,49H1.2Zm112.09,49H126a24.59,24.59,0,0,0,7.56-1.15,19.52,19.52,0,0,0,6.35-3.37,16.37,16.37,0,0,0,4.37-5.5A16.91,16.91,0,0,0,146,115.8a18.5,18.5,0,0,0-1.68-8.25,15.1,15.1,0,0,0-4.52-5.53A18.55,18.55,0,0,0,133.07,99,33.54,33.54,0,0,0,125,98H113.29Zm7.81-28.2h4.6a17.43,17.43,0,0,1,4.67.62,11.68,11.68,0,0,1,3.88,1.88,9,9,0,0,1,2.62,3.18,9.87,9.87,0,0,1,1,4.52,11.92,11.92,0,0,1-1,5.08,8.69,8.69,0,0,1-2.67,3.34,10.87,10.87,0,0,1-4,1.83,21.57,21.57,0,0,1-5,.55H121.1Zm36.14,28.2h14.5a23.11,23.11,0,0,0,4.73-.5,13.38,13.38,0,0,0,4.27-1.65,9.42,9.42,0,0,0,3.1-3,8.52,8.52,0,0,0,1.2-4.68,9.16,9.16,0,0,0-.55-3.2,7.79,7.79,0,0,0-1.57-2.62,8.38,8.38,0,0,0-2.45-1.85,10,10,0,0,0-3.18-1v-.1a9.28,9.28,0,0,0,4.43-2.82,7.42,7.42,0,0,0,1.67-5,8.34,8.34,0,0,0-1.15-4.65,7.88,7.88,0,0,0-3-2.73,12.9,12.9,0,0,0-4.17-1.3,34.42,34.42,0,0,0-4.63-.32h-13.2Zm7.8-28.8h5.3a10.79,10.79,0,0,1,1.85.17,5.77,5.77,0,0,1,1.7.58,3.33,3.33,0,0,1,1.23,1.13,3.22,3.22,0,0,1,.47,1.82,3.63,3.63,0,0,1-.42,1.8,3.34,3.34,0,0,1-1.13,1.2,4.78,4.78,0,0,1-1.57.65,8.16,8.16,0,0,1-1.78.2H165Zm0,14.15h5.9a15.12,15.12,0,0,1,2.05.15,7.83,7.83,0,0,1,2,.55,4,4,0,0,1,1.58,1.17,3.13,3.13,0,0,1,.62,2,3.71,3.71,0,0,1-.47,1.95,4,4,0,0,1-1.23,1.3,4.78,4.78,0,0,1-1.67.7,8.91,8.91,0,0,1-1.83.2h-7Z"/></g></g></svg>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 185.04 133.4"><defs><linearGradient id="linear-gradient" y1="66.7" x2="185.04" y2="66.7" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#90cea1"/><stop offset="0.56" stop-color="#3cbec9"/><stop offset="1" stop-color="#00b3e5"/></linearGradient></defs><title>Asset 4</title><g id="Layer_2" data-name="Layer 2"><g id="Layer_1-2" data-name="Layer 1"><path fill="url(#linear-gradient)" d="M51.06,66.7h0A17.67,17.67,0,0,1,68.73,49h-.1A17.67,17.67,0,0,1,86.3,66.7h0A17.67,17.67,0,0,1,68.63,84.37h.1A17.67,17.67,0,0,1,51.06,66.7Zm82.67-31.33h32.9A17.67,17.67,0,0,0,184.3,17.7h0A17.67,17.67,0,0,0,166.63,0h-32.9A17.67,17.67,0,0,0,116.06,17.7h0A17.67,17.67,0,0,0,133.73,35.37Zm-113,98h63.9A17.67,17.67,0,0,0,102.3,115.7h0A17.67,17.67,0,0,0,84.63,98H20.73A17.67,17.67,0,0,0,3.06,115.7h0A17.67,17.67,0,0,0,20.73,133.37Zm83.92-49h6.25L125.5,49h-8.35l-8.9,23.2h-.1L99.4,49H90.5Zm32.45,0h7.8V49h-7.8Zm22.2,0h24.95V77.2H167.1V70h15.35V62.8H167.1V56.2h16.25V49h-24ZM10.1,35.4h7.8V6.9H28V0H0V6.9H10.1ZM39,35.4h7.8V20.1H61.9V35.4h7.8V0H61.9V13.2H46.75V0H39Zm41.25,0h25V28.2H88V21h15.35V13.8H88V7.2h16.25V0h-24Zm-79,49H9V57.25h.1l9,27.15H24l9.3-27.15h.1V84.4h7.8V49H29.45l-8.2,23.1h-.1L13,49H1.2Zm112.09,49H126a24.59,24.59,0,0,0,7.56-1.15,19.52,19.52,0,0,0,6.35-3.37,16.37,16.37,0,0,0,4.37-5.5A16.91,16.91,0,0,0,146,115.8a18.5,18.5,0,0,0-1.68-8.25,15.1,15.1,0,0,0-4.52-5.53A18.55,18.55,0,0,0,133.07,99,33.54,33.54,0,0,0,125,98H113.29Zm7.81-28.2h4.6a17.43,17.43,0,0,1,4.67.62,11.68,11.68,0,0,1,3.88,1.88,9,9,0,0,1,2.62,3.18,9.87,9.87,0,0,1,1,4.52,11.92,11.92,0,0,1-1,5.08,8.69,8.69,0,0,1-2.67,3.34,10.87,10.87,0,0,1-4,1.83,21.57,21.57,0,0,1-5,.55H121.1Zm36.14,28.2h14.5a23.11,23.11,0,0,0,4.73-.5,13.38,13.38,0,0,0,4.27-1.65,9.42,9.42,0,0,0,3.1-3,8.52,8.52,0,0,0,1.2-4.68,9.16,9.16,0,0,0-.55-3.2,7.79,7.79,0,0,0-1.57-2.62,8.38,8.38,0,0,0-2.45-1.85,10,10,0,0,0-3.18-1v-.1a9.28,9.28,0,0,0,4.43-2.82,7.42,7.42,0,0,0,1.67-5,8.34,8.34,0,0,0-1.15-4.65,7.88,7.88,0,0,0-3-2.73,12.9,12.9,0,0,0-4.17-1.3,34.42,34.42,0,0,0-4.63-.32h-13.2Zm7.8-28.8h5.3a10.79,10.79,0,0,1,1.85.17,5.77,5.77,0,0,1,1.7.58,3.33,3.33,0,0,1,1.23,1.13,3.22,3.22,0,0,1,.47,1.82,3.63,3.63,0,0,1-.42,1.8,3.34,3.34,0,0,1-1.13,1.2,4.78,4.78,0,0,1-1.57.65,8.16,8.16,0,0,1-1.78.2H165Zm0,14.15h5.9a15.12,15.12,0,0,1,2.05.15,7.83,7.83,0,0,1,2,.55,4,4,0,0,1,1.58,1.17,3.13,3.13,0,0,1,.62,2,3.71,3.71,0,0,1-.47,1.95,4,4,0,0,1-1.23,1.3,4.78,4.78,0,0,1-1.67.7,8.91,8.91,0,0,1-1.83.2h-7Z"/></g></g></svg>

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

+8
View File
@@ -15,6 +15,8 @@
6A8A46212EDB320D0057B88C /* MPVKit in Frameworks */ = {isa = PBXBuildFile; productRef = 6A8A46202EDB320D0057B88C /* MPVKit */; };
6A8A46252EDB370C0057B88C /* MpvPlayerPlugin.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6A8A46232EDB370C0057B88C /* MpvPlayerPlugin.swift */; };
6A8A46262EDB370C0057B88C /* MpvPlayerCore.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6A8A46222EDB370C0057B88C /* MpvPlayerCore.swift */; };
B1D51A6A2F00110000000001 /* MpvPlayerCoreBase.swift in Sources */ = {isa = PBXBuildFile; fileRef = B1D51A6A2F00110000000002 /* MpvPlayerCoreBase.swift */; };
B1D51A6A2F00110000000005 /* MpvPlayerPluginShared.swift in Sources */ = {isa = PBXBuildFile; fileRef = B1D51A6A2F00110000000006 /* MpvPlayerPluginShared.swift */; };
92F969587D0E464D999910F5 /* MpvPipController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 92F969587D0E464D999910F4 /* MpvPipController.swift */; };
74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; };
97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; };
@@ -58,6 +60,8 @@
6A48DFAF2EA70C7100C1F7CD /* plezy.icon */ = {isa = PBXFileReference; lastKnownFileType = folder.iconcomposer.icon; path = plezy.icon; sourceTree = "<group>"; };
6A8A46222EDB370C0057B88C /* MpvPlayerCore.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MpvPlayerCore.swift; sourceTree = "<group>"; };
6A8A46232EDB370C0057B88C /* MpvPlayerPlugin.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MpvPlayerPlugin.swift; sourceTree = "<group>"; };
B1D51A6A2F00110000000002 /* MpvPlayerCoreBase.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = MpvPlayerCoreBase.swift; path = ../shared/apple/MpvPlayer/MpvPlayerCoreBase.swift; sourceTree = SOURCE_ROOT; };
B1D51A6A2F00110000000006 /* MpvPlayerPluginShared.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = MpvPlayerPluginShared.swift; path = ../shared/apple/MpvPlayer/MpvPlayerPluginShared.swift; sourceTree = SOURCE_ROOT; };
92F969587D0E464D999910F4 /* MpvPipController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MpvPipController.swift; sourceTree = "<group>"; };
74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = "<group>"; };
74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
@@ -115,6 +119,8 @@
6A8A46242EDB370C0057B88C /* MpvPlayer */ = {
isa = PBXGroup;
children = (
B1D51A6A2F00110000000002 /* MpvPlayerCoreBase.swift */,
B1D51A6A2F00110000000006 /* MpvPlayerPluginShared.swift */,
6A8A46222EDB370C0057B88C /* MpvPlayerCore.swift */,
6A8A46232EDB370C0057B88C /* MpvPlayerPlugin.swift */,
92F969587D0E464D999910F4 /* MpvPipController.swift */,
@@ -416,6 +422,8 @@
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
B1D51A6A2F00110000000001 /* MpvPlayerCoreBase.swift in Sources */,
B1D51A6A2F00110000000005 /* MpvPlayerPluginShared.swift in Sources */,
6A8A46252EDB370C0057B88C /* MpvPlayerPlugin.swift in Sources */,
6A8A46262EDB370C0057B88C /* MpvPlayerCore.swift in Sources */,
92F969587D0E464D999910F5 /* MpvPipController.swift in Sources */,
@@ -245,10 +245,17 @@ class MpvPipController: NSObject {
}
pipController = nil
delegateHelper = nil
sampleBufferLayer.flushAndRemoveImage()
sampleBufferLayer.controlTimebase = nil
sampleBufferLayer.removeFromSuperlayer()
containerView?.removeFromSuperview()
containerView = nil
}
/// Flush enqueued sample buffers from the layer to free video frame memory
func flushLayer() {
sampleBufferLayer.flushAndRemoveImage()
}
}
// MARK: - PiP Delegate Helper (iOS 15+)
+103 -607
View File
@@ -1,70 +1,13 @@
import Libmpv
import UIKit
/// Protocol for receiving player events
protocol MpvPlayerDelegate: AnyObject {
func onPropertyChange(name: String, value: Any?)
func onEvent(name: String, data: [String: Any]?)
}
/// Core MPV player using Metal rendering for iOS.
class MpvPlayerCore: MpvPlayerCoreBase {
// Workaround for MoltenVK problems that cause flicker
// https://github.com/mpv-player/mpv/pull/13651
private class MetalLayer: CAMetalLayer {
override var drawableSize: CGSize {
get { return super.drawableSize }
set {
if Int(newValue.width) > 1 && Int(newValue.height) > 1 {
super.drawableSize = newValue
}
}
}
// Fix for target-colorspace-hint - needs main thread for EDR
@available(iOS 16.0, *)
override var wantsExtendedDynamicRangeContent: Bool {
get { return super.wantsExtendedDynamicRangeContent }
set {
if Thread.isMainThread {
super.wantsExtendedDynamicRangeContent = newValue
} else {
DispatchQueue.main.sync {
super.wantsExtendedDynamicRangeContent = newValue
}
}
}
}
}
/// Core MPV player using Metal rendering for iOS
class MpvPlayerCore: NSObject {
// MARK: - Properties
private var metalLayer: MetalLayer?
private var containerView: UIView? // Container for proper EDR activation
private var mpv: OpaquePointer?
private var containerView: UIView?
private weak var window: UIWindow?
private lazy var queue = DispatchQueue(label: "mpv", qos: .userInitiated)
weak var delegate: MpvPlayerDelegate?
private(set) var isInitialized = false
private var isDisposing = false // Flag to prevent race conditions during disposal
// PiP state
var isPipActive = false
var isPipStarting = false // VO switched for PiP, waiting for first frame
// HDR settings
private var hdrEnabled = true // User preference for HDR
private var lastSigPeak: Double = 0.0 // Last known sig-peak for re-evaluation
// Async command tracking to prevent UI blocking
private var pendingCommands: [UInt64: (Result<Void, Error>) -> Void] = [:]
private var pendingCommandsLock = NSLock()
private var nextRequestId: UInt64 = 1
// MARK: - Initialization
var isPipStarting = false
func initialize(in window: UIWindow) -> Bool {
guard !isInitialized else {
@@ -74,14 +17,11 @@ class MpvPlayerCore: NSObject {
self.window = window
// Create container view for proper EDR activation
// EDR requires the CAMetalLayer to be in a UIView hierarchy, not just window.layer
let container = UIView(frame: window.bounds)
container.backgroundColor = .clear
container.isUserInteractionEnabled = false
// Create Metal layer for video rendering
let layer = MetalLayer()
let layer = MpvMetalLayer()
layer.frame = container.bounds
layer.contentsScale = UIScreen.main.nativeScale
layer.framebufferOnly = true
@@ -91,10 +31,8 @@ class MpvPlayerCore: NSObject {
containerView = container
metalLayer = layer
// Add container view to window (behind Flutter's root view controller)
window.insertSubview(container, at: 0)
// Initialize MPV with this Metal layer
guard setupMpv() else {
print("[MpvPlayerCore] Failed to setup MPV")
layer.removeFromSuperlayer()
@@ -104,7 +42,6 @@ class MpvPlayerCore: NSObject {
return false
}
// Setup background/foreground notifications
setupNotifications()
isInitialized = true
@@ -112,60 +49,111 @@ class MpvPlayerCore: NSObject {
return true
}
private func setupMpv() -> Bool {
guard let metalLayer = metalLayer else { return false }
func switchToPipVO(layerPtr: UnsafeMutableRawPointer) -> Bool {
guard let mpv else { return false }
mpv = mpv_create()
guard mpv != nil else {
print("[MpvPlayerCore] Failed to create MPV context")
return false
}
print("[MpvPlayerCore] Switching to pip VO for PiP")
// Logging
#if DEBUG
checkError(mpv_request_log_messages(mpv, "info"))
#else
checkError(mpv_request_log_messages(mpv, "warn"))
#endif
metalLayer?.removeFromSuperlayer()
// Set the Metal layer as the render target (must use local var for &)
var layer = metalLayer
checkError(mpv_set_option(mpv, "wid", MPV_FORMAT_INT64, &layer))
mpv_set_property_string(mpv, "vid", "no")
// Video output settings for Metal/Vulkan
checkError(mpv_set_option_string(mpv, "vo", "gpu-next"))
checkError(mpv_set_option_string(mpv, "gpu-api", "vulkan"))
checkError(mpv_set_option_string(mpv, "gpu-context", "moltenvk"))
checkError(mpv_set_option_string(mpv, "hwdec", "videotoolbox"))
checkError(mpv_set_option_string(mpv, "target-colorspace-hint", "yes"))
var pointer = Int64(Int(bitPattern: layerPtr))
mpv_set_property(mpv, "wid", MPV_FORMAT_INT64, &pointer)
// Initialize MPV
let initResult = mpv_initialize(mpv)
if initResult < 0 {
print(
"[MpvPlayerCore] mpv_initialize failed: \(String(cString: mpv_error_string(initResult)))"
)
mpv_terminate_destroy(mpv)
mpv = nil
return false
}
// Set up wakeup callback for event handling
mpv_set_wakeup_callback(
mpv,
{ ctx in
guard let ctx = ctx else { return } // Safe guard instead of force unwrap
let core = Unmanaged<MpvPlayerCore>.fromOpaque(ctx).takeUnretainedValue()
core.readEvents()
}, UnsafeMutableRawPointer(Unmanaged.passUnretained(self).toOpaque()))
// Observe video-params/sig-peak for HDR detection
mpv_observe_property(mpv, 0, "video-params/sig-peak", MPV_FORMAT_DOUBLE)
mpv_set_property_string(mpv, "vo", "pip")
mpv_set_property_string(mpv, "vid", "auto")
print("[MpvPlayerCore] Switched to pip VO successfully")
return true
}
// MARK: - Background/Foreground Handling
func switchToGpuNextVO() -> Bool {
guard let mpv, let metalLayer else { return false }
print("[MpvPlayerCore] Switching back to gpu-next VO")
mpv_set_property_string(mpv, "vid", "no")
var layer = metalLayer
mpv_set_property(mpv, "wid", MPV_FORMAT_INT64, &layer)
applyGpuNextOptions()
mpv_set_property_string(mpv, "vid", "auto")
if metalLayer.superlayer == nil, let containerView {
containerView.layer.addSublayer(metalLayer)
}
print("[MpvPlayerCore] Switched back to gpu-next VO successfully")
return true
}
func setVisible(_ visible: Bool) {
guard let containerView else { return }
if visible {
containerView.removeFromSuperview()
window?.insertSubview(containerView, at: 0)
}
containerView.isHidden = !visible
}
func updateFrame(_ frame: CGRect? = nil) {
guard let metalLayer, let containerView else { return }
if let frame {
containerView.frame = frame
metalLayer.frame = containerView.bounds
} else if let window {
containerView.frame = window.bounds
metalLayer.frame = containerView.bounds
}
let scale = UIScreen.main.nativeScale
metalLayer.drawableSize = CGSize(
width: metalLayer.frame.width * scale,
height: metalLayer.frame.height * scale
)
}
/// Nudge mpv to present the current paused frame after switching back from PiP.
func forceDraw() {
command(["seek", "0", "relative+exact"])
}
override func updateEDRMode(sigPeak: Double) {
guard let metalLayer else { return }
var edrHeadroom: CGFloat = 1.0
if #available(iOS 16.0, *) {
edrHeadroom = containerView?.window?.screen.potentialEDRHeadroom ?? 1.0
metalLayer.wantsExtendedDynamicRangeContent =
hdrEnabled && sigPeak > 1.0 && edrHeadroom > 1.0
}
let shouldEnableEDR = hdrEnabled && sigPeak > 1.0 && edrHeadroom > 1.0
print(
"[MpvPlayerCore] EDR mode: \(shouldEnableEDR) (hdrEnabled: \(hdrEnabled), sigPeak: \(sigPeak), headroom: \(edrHeadroom))"
)
}
func dispose() {
NotificationCenter.default.removeObserver(self)
disposeSharedState(destroySynchronously: false)
metalLayer?.removeFromSuperlayer()
metalLayer = nil
containerView?.removeFromSuperview()
containerView = nil
isInitialized = false
print("[MpvPlayerCore] Disposed")
}
deinit {
dispose()
}
private func setupNotifications() {
NotificationCenter.default.addObserver(
@@ -187,7 +175,7 @@ class MpvPlayerCore: NSObject {
print("[MpvPlayerCore] Entering background - PiP active/starting, keeping video")
return
}
// Disable video output to fix black screen when returning from background
print("[MpvPlayerCore] Entering background - disabling video")
if mpv != nil {
mpv_set_option_string(mpv, "vid", "no")
@@ -195,506 +183,14 @@ class MpvPlayerCore: NSObject {
}
@objc private func enterForeground() {
// Skip if PiP is active - video is already enabled
if isPipActive {
print("[MpvPlayerCore] Entering foreground - PiP active, skipping vid restore")
return
}
// Re-enable video output
print("[MpvPlayerCore] Entering foreground - enabling video")
if mpv != nil {
mpv_set_option_string(mpv, "vid", "auto")
}
}
// MARK: - MPV Properties and Commands
func setProperty(_ name: String, value: String) {
guard mpv != nil else { return }
// Handle custom HDR toggle property
if name == "hdr-enabled" {
let enabled = value == "yes" || value == "true" || value == "1"
setHDREnabled(enabled)
return
}
mpv_set_property_string(mpv, name, value)
}
/// Enable or disable HDR mode
func setHDREnabled(_ enabled: Bool) {
hdrEnabled = enabled
print("[MpvPlayerCore] HDR enabled: \(enabled)")
// Update MPV's target-colorspace-hint
if mpv != nil {
mpv_set_property_string(mpv, "target-colorspace-hint", enabled ? "yes" : "no")
}
// Re-evaluate EDR mode with current sig-peak
DispatchQueue.main.async {
self.updateEDRMode(sigPeak: self.lastSigPeak)
}
}
func getProperty(_ name: String) -> String? {
guard mpv != nil else { return nil }
let cstr = mpv_get_property_string(mpv, name)
defer { mpv_free(cstr) }
return cstr.map { String(cString: $0) }
}
func setLogLevel(_ level: String) {
guard let mpv = mpv else { return }
mpv_request_log_messages(mpv, level)
}
func observeProperty(_ name: String, format: String) {
guard mpv != nil else { return }
let mpvFormat: mpv_format
switch format {
case "double": mpvFormat = MPV_FORMAT_DOUBLE
case "flag": mpvFormat = MPV_FORMAT_FLAG
case "node": mpvFormat = MPV_FORMAT_NODE
case "string": mpvFormat = MPV_FORMAT_STRING
default: return
}
mpv_observe_property(mpv, 0, name, mpvFormat)
}
func command(_ args: [String]) {
guard mpv != nil, !args.isEmpty else { return }
command(args[0], args: Array(args.dropFirst()))
}
/// Execute an MPV command asynchronously to prevent UI blocking.
/// Uses mpv_command_async which returns immediately; the completion is called
/// when MPV_EVENT_COMMAND_REPLY is received.
func commandAsync(_ args: [String], completion: @escaping (Result<Void, Error>) -> Void) {
guard let mpv = mpv, !args.isEmpty else {
completion(.success(()))
return
}
// Generate unique request ID
pendingCommandsLock.lock()
let requestId = nextRequestId
nextRequestId += 1
pendingCommands[requestId] = completion
pendingCommandsLock.unlock()
// Build array of C strings for mpv_command_async
var cargs: [UnsafeMutablePointer<CChar>?] = args.map { strdup($0) }
cargs.append(nil) // null-terminate
// mpv_command_async returns immediately
cargs.withUnsafeBufferPointer { buffer in
var constPtrs = buffer.map { UnsafePointer($0) }
let result = mpv_command_async(mpv, requestId, &constPtrs)
if result < 0 {
// Command submission failed, complete immediately with error
pendingCommandsLock.lock()
if let pending = pendingCommands.removeValue(forKey: requestId) {
pendingCommandsLock.unlock()
let error = NSError(domain: "mpv", code: Int(result),
userInfo: [NSLocalizedDescriptionKey: String(cString: mpv_error_string(result))])
DispatchQueue.main.async { pending(.failure(error)) }
} else {
pendingCommandsLock.unlock()
}
}
}
// Free the C strings
for ptr in cargs {
free(ptr)
}
}
// MARK: - PiP VO Switching
/// Switch from gpu-next to vo_pip for PiP rendering.
/// vo_pip feeds VideoToolbox CVPixelBuffers to an AVSampleBufferDisplayLayer
/// which is required by AVPictureInPictureController.
///
/// Strategy: disable the video track (`vid=no`) to tear down the active VO,
/// then set `wid` and `vo` while no VO is running, then re-enable video.
/// This avoids the crash where gpu-next calls `drawableSize` on an
/// AVSampleBufferDisplayLayer, and ensures the new VO reads `wid` at init.
func switchToPipVO(layerPtr: UnsafeMutableRawPointer) -> Bool {
guard let mpv = mpv else { return false }
print("[MpvPlayerCore] Switching to pip VO for PiP")
// Detach the Metal layer from the view hierarchy on the main thread BEFORE
// vid=no, so the 'vo' thread VO uninit has no UIKit work to do (avoids
// "layout engine from background thread" crash).
metalLayer?.removeFromSuperlayer()
// 1. Disable video track — tears down the current VO completely
mpv_set_property_string(mpv, "vid", "no")
// 2. Point wid at the PiP sample-buffer layer (safe — no active VO)
var ptr = Int64(Int(bitPattern: layerPtr))
mpv_set_property(mpv, "wid", MPV_FORMAT_INT64, &ptr)
// 3. Set VO to pip (stored, not yet created)
mpv_set_property_string(mpv, "vo", "pip")
// 4. Re-enable video — creates pip VO with our layer as wid
mpv_set_property_string(mpv, "vid", "auto")
print("[MpvPlayerCore] Switched to pip VO successfully")
return true
}
/// Switch back from vo_pip to gpu-next VO for normal rendering.
/// Same strategy: vid=no → reconfigure → vid=auto.
func switchToGpuNextVO() -> Bool {
guard let mpv = mpv, let metalLayer = metalLayer else { return false }
print("[MpvPlayerCore] Switching back to gpu-next VO")
// 1. Disable video track — tears down pip VO
mpv_set_property_string(mpv, "vid", "no")
// 2. Point wid back at the Metal layer (safe — no active VO)
var layer = metalLayer
mpv_set_property(mpv, "wid", MPV_FORMAT_INT64, &layer)
// 3. Restore gpu-next + Vulkan/MoltenVK settings (read at VO creation)
mpv_set_property_string(mpv, "gpu-api", "vulkan")
mpv_set_property_string(mpv, "gpu-context", "moltenvk")
mpv_set_property_string(mpv, "vo", "gpu-next")
// 4. Re-enable video — creates gpu-next VO with Metal layer as wid
mpv_set_property_string(mpv, "vid", "auto")
// Re-attach the Metal layer to the view hierarchy (was detached in switchToPipVO)
if metalLayer.superlayer == nil, let container = containerView {
container.layer.addSublayer(metalLayer)
}
print("[MpvPlayerCore] Switched back to gpu-next VO successfully")
return true
}
/// Whether mpv is currently paused
var isPaused: Bool {
guard let mpv = mpv else { return true }
var flag: Int32 = 0
mpv_get_property(mpv, "pause", MPV_FORMAT_FLAG, &flag)
return flag != 0
}
/// Current playback duration in seconds
var duration: Double {
guard let mpv = mpv else { return 0 }
var value: Double = 0
mpv_get_property(mpv, "duration", MPV_FORMAT_DOUBLE, &value)
return value
}
/// Current playback time in seconds
var timePos: Double {
guard let mpv = mpv else { return 0 }
var value: Double = 0
mpv_get_property(mpv, "time-pos", MPV_FORMAT_DOUBLE, &value)
return value
}
// MARK: - Visibility
func setVisible(_ visible: Bool) {
guard let container = containerView else { return }
if visible {
// Re-insert at the bottom of the window view stack
container.removeFromSuperview()
window?.insertSubview(container, at: 0)
}
container.isHidden = !visible
}
func updateFrame(_ frame: CGRect? = nil) {
guard let metalLayer = metalLayer, let container = containerView else { return }
if let frame = frame {
container.frame = frame
metalLayer.frame = container.bounds
} else if let window = window {
container.frame = window.bounds
metalLayer.frame = container.bounds
}
// Update drawable size for proper scaling
let scale = UIScreen.main.nativeScale
metalLayer.drawableSize = CGSize(
width: metalLayer.frame.width * scale,
height: metalLayer.frame.height * scale
)
}
// MARK: - Private Helpers
private func command(_ cmd: String, args: [String] = []) {
guard mpv != nil else { return }
// Build array of C strings for mpv_command
var cargs: [UnsafeMutablePointer<CChar>?] = ([cmd] + args).map { strdup($0) }
cargs.append(nil) // null-terminate
defer {
for ptr in cargs {
free(ptr)
}
}
// mpv_command expects UnsafePointer, use withUnsafeBufferPointer for the conversion
cargs.withUnsafeBufferPointer { buffer in
var constPtrs = buffer.map { UnsafePointer($0) }
_ = mpv_command(mpv, &constPtrs)
}
}
private func readEvents() {
queue.async { [weak self] in
guard let self = self, !self.isDisposing, let mpv = self.mpv else { return }
while true {
let event = mpv_wait_event(mpv, 0)
guard let eventPtr = event else { break }
if eventPtr.pointee.event_id == MPV_EVENT_NONE {
break
}
self.handleEvent(eventPtr.pointee)
}
}
}
private func handleEvent(_ event: mpv_event) {
switch event.event_id {
case MPV_EVENT_PROPERTY_CHANGE:
guard let data = event.data else { break }
let property = data.assumingMemoryBound(to: mpv_event_property.self).pointee
let name = String(cString: property.name)
handlePropertyChange(name: name, property: property)
case MPV_EVENT_COMMAND_REPLY:
// Handle async command completion
let requestId = event.reply_userdata
pendingCommandsLock.lock()
let completion = pendingCommands.removeValue(forKey: requestId)
pendingCommandsLock.unlock()
if let completion = completion {
if event.error < 0 {
let error = NSError(domain: "mpv", code: Int(event.error),
userInfo: [NSLocalizedDescriptionKey: String(cString: mpv_error_string(event.error))])
DispatchQueue.main.async { completion(.failure(error)) }
} else {
DispatchQueue.main.async { completion(.success(())) }
}
}
case MPV_EVENT_FILE_LOADED:
DispatchQueue.main.async {
self.delegate?.onEvent(name: "file-loaded", data: nil)
}
case MPV_EVENT_END_FILE:
DispatchQueue.main.async {
self.delegate?.onEvent(name: "end-file", data: nil)
}
case MPV_EVENT_SHUTDOWN:
print("[MpvPlayerCore] MPV shutdown event")
case MPV_EVENT_PLAYBACK_RESTART:
DispatchQueue.main.async {
self.delegate?.onEvent(name: "playback-restart", data: nil)
}
case MPV_EVENT_LOG_MESSAGE:
if let msgPtr = event.data?.assumingMemoryBound(to: mpv_event_log_message.self) {
let msg = msgPtr.pointee
let prefix = msg.prefix.map { String(cString: $0) } ?? ""
let level = msg.level.map { String(cString: $0) } ?? ""
let text = msg.text.map { String(cString: $0) } ?? ""
DispatchQueue.main.async {
self.delegate?.onEvent(name: "log-message", data: [
"prefix": prefix,
"level": level,
"text": text
])
}
}
default:
break
}
}
private func handlePropertyChange(name: String, property: mpv_event_property) {
var value: Any?
switch property.format {
case MPV_FORMAT_DOUBLE:
if let ptr = property.data {
value = ptr.assumingMemoryBound(to: Double.self).pointee
}
case MPV_FORMAT_FLAG:
if let ptr = property.data {
value = ptr.assumingMemoryBound(to: Int32.self).pointee != 0
}
case MPV_FORMAT_NODE:
if let ptr = property.data {
let node = ptr.assumingMemoryBound(to: mpv_node.self).pointee
value = convertNode(node)
}
case MPV_FORMAT_STRING:
if let ptr = property.data {
let cstr = ptr.assumingMemoryBound(to: UnsafePointer<CChar>?.self).pointee
value = cstr.map { String(cString: $0) }
}
default:
break
}
// Handle sig-peak for HDR/EDR activation
if name == "video-params/sig-peak", let sigPeak = value as? Double {
lastSigPeak = sigPeak
DispatchQueue.main.async {
self.updateEDRMode(sigPeak: sigPeak)
}
}
DispatchQueue.main.async {
self.delegate?.onPropertyChange(name: name, value: value)
}
}
// MARK: - HDR/EDR Support
private func updateEDRMode(sigPeak: Double) {
guard let layer = metalLayer else { return }
// Check if screen supports EDR (iOS 16+)
var edrHeadroom: CGFloat = 1.0
if #available(iOS 16.0, *) {
edrHeadroom = containerView?.window?.screen.potentialEDRHeadroom ?? 1.0
}
let isHDRContent = sigPeak > 1.0
let screenSupportsEDR = edrHeadroom > 1.0
let shouldEnableEDR = hdrEnabled && isHDRContent && screenSupportsEDR
if #available(iOS 16.0, *) {
layer.wantsExtendedDynamicRangeContent = shouldEnableEDR
}
print(
"[MpvPlayerCore] EDR mode: \(shouldEnableEDR) (hdrEnabled: \(hdrEnabled), sigPeak: \(sigPeak), headroom: \(edrHeadroom))"
)
}
private func convertNode(_ node: mpv_node) -> Any? {
switch node.format {
case MPV_FORMAT_STRING:
return node.u.string.map { String(cString: $0) }
case MPV_FORMAT_FLAG:
return node.u.flag != 0
case MPV_FORMAT_INT64:
return node.u.int64
case MPV_FORMAT_DOUBLE:
return node.u.double_
case MPV_FORMAT_NODE_ARRAY:
guard let list = node.u.list?.pointee else { return nil }
var array = [Any]()
for i in 0..<Int(list.num) {
if let item = convertNode(list.values[i]) {
array.append(item)
}
}
return array
case MPV_FORMAT_NODE_MAP:
guard let list = node.u.list?.pointee else { return nil }
var dict = [String: Any]()
for i in 0..<Int(list.num) {
if let key = list.keys?[i].map({ String(cString: $0) }),
let val = convertNode(list.values[i])
{
dict[key] = val
}
}
return dict
default:
return nil
}
}
private func checkError(_ status: CInt) {
if status < 0 {
print("[MpvPlayerCore] MPV error: \(String(cString: mpv_error_string(status)))")
}
}
// MARK: - Cleanup
func dispose() {
// Set disposing flag first to prevent race conditions with event callbacks
isDisposing = true
NotificationCenter.default.removeObserver(self)
// Cancel any pending async commands
pendingCommandsLock.lock()
let pending = pendingCommands
pendingCommands.removeAll()
pendingCommandsLock.unlock()
// Complete pending commands with cancellation error
let cancelError = NSError(domain: "mpv", code: -1,
userInfo: [NSLocalizedDescriptionKey: "Player disposed"])
for (_, completion) in pending {
DispatchQueue.main.async { completion(.failure(cancelError)) }
}
let mpvHandle = mpv
mpv = nil
// Use async to avoid blocking the main thread (prevents deadlock)
queue.async {
if let handle = mpvHandle {
mpv_set_wakeup_callback(handle, nil, nil)
mpv_terminate_destroy(handle)
}
}
metalLayer?.removeFromSuperlayer()
metalLayer = nil
containerView?.removeFromSuperview()
containerView = nil
isInitialized = false
print("[MpvPlayerCore] Disposed")
}
deinit {
dispose()
}
}
+67 -96
View File
@@ -3,14 +3,19 @@ import Flutter
import AVKit
/// Flutter plugin that bridges MPV player to Dart via method and event channels
class MpvPlayerPlugin: NSObject, FlutterPlugin, FlutterStreamHandler, MpvPlayerDelegate {
class MpvPlayerPlugin: NSObject, FlutterPlugin, FlutterStreamHandler, MpvPluginShared {
// MARK: - Properties
private var playerCore: MpvPlayerCore?
private var eventSink: FlutterEventSink?
var eventSink: FlutterEventSink?
private weak var registrar: FlutterPluginRegistrar?
private var nameToId: [String: Int] = [:]
var nameToId: [String: Int] = [:]
// MpvPluginShared conformance
var coreBase: MpvPlayerCoreBase? { playerCore }
func setPlayerVisible(_ visible: Bool) { playerCore?.setVisible(visible) }
func updatePlayerFrame() { playerCore?.updateFrame() }
// PiP
private var pipController: MpvPipController?
@@ -18,6 +23,8 @@ class MpvPlayerPlugin: NSObject, FlutterPlugin, FlutterStreamHandler, MpvPlayerD
private var autoPipEnabled = false
private var isManualPipRequest = false
private var pipTimebaseSyncTimer: Timer?
private var pendingInlineRestoreAfterPip = false
private var sceneActivationObserverRegistered = false
// MARK: - FlutterPlugin Registration
@@ -31,7 +38,7 @@ class MpvPlayerPlugin: NSObject, FlutterPlugin, FlutterStreamHandler, MpvPlayerD
binaryMessenger: registrar.messenger()
)
let pipChannel = FlutterMethodChannel(
name: "app.plezy/pip",
name: "com.plezy/pip",
binaryMessenger: registrar.messenger()
)
@@ -95,6 +102,42 @@ class MpvPlayerPlugin: NSObject, FlutterPlugin, FlutterStreamHandler, MpvPlayerD
return controller
}
private func registerSceneActivationObserver() {
guard !sceneActivationObserverRegistered else { return }
NotificationCenter.default.addObserver(
self,
selector: #selector(sceneDidActivate),
name: UIScene.didActivateNotification,
object: nil
)
sceneActivationObserverRegistered = true
}
private func unregisterSceneActivationObserver() {
guard sceneActivationObserverRegistered else { return }
NotificationCenter.default.removeObserver(self, name: UIScene.didActivateNotification, object: nil)
sceneActivationObserverRegistered = false
}
private var isSceneActive: Bool {
UIApplication.shared.connectedScenes.contains { $0.activationState == .foregroundActive }
}
private func restoreInlinePlayerAfterPip() {
guard pendingInlineRestoreAfterPip,
let playerCore = playerCore,
!playerCore.isPipActive,
!playerCore.isPipStarting else { return }
print("[MpvPlayerPlugin] Restoring inline player after PiP")
playerCore.setVisible(true)
playerCore.updateFrame()
if playerCore.isPaused {
playerCore.forceDraw()
}
pendingInlineRestoreAfterPip = false
}
private func handlePipCall(_ call: FlutterMethodCall, result: @escaping FlutterResult) {
switch call.method {
case "isSupported":
@@ -111,11 +154,8 @@ class MpvPlayerPlugin: NSObject, FlutterPlugin, FlutterStreamHandler, MpvPlayerD
if let pc = playerCore {
pip.warmLayer(currentTime: pc.timePos, isPlaying: !pc.isPaused)
}
NotificationCenter.default.removeObserver(self, name: UIScene.didActivateNotification, object: nil)
NotificationCenter.default.addObserver(self, selector: #selector(sceneDidActivate), name: UIScene.didActivateNotification, object: nil)
} else {
pipController?.setAutoStart(false)
NotificationCenter.default.removeObserver(self, name: UIScene.didActivateNotification, object: nil)
}
}
result(nil)
@@ -131,6 +171,7 @@ class MpvPlayerPlugin: NSObject, FlutterPlugin, FlutterStreamHandler, MpvPlayerD
guard let playerCore = playerCore else { return nil }
let pip = ensurePipController()
guard playerCore.switchToPipVO(layerPtr: pip.layerPointer) else { return nil }
pendingInlineRestoreAfterPip = false
playerCore.isPipStarting = true
pip.pushBlankFrame()
pip.syncTimebase(currentTime: playerCore.timePos, isPlaying: !playerCore.isPaused)
@@ -171,13 +212,24 @@ class MpvPlayerPlugin: NSObject, FlutterPlugin, FlutterStreamHandler, MpvPlayerD
playerCore?.isPipActive = false
isManualPipRequest = false
stopPipTimebaseSync()
_ = playerCore?.switchToGpuNextVO()
pipController?.flushLayer()
let restoredInlineVO = playerCore?.switchToGpuNextVO() ?? false
if pause { playerCore?.setProperty("pause", value: "yes") }
pendingInlineRestoreAfterPip = restoredInlineVO
if pendingInlineRestoreAfterPip {
if isSceneActive {
restoreInlinePlayerAfterPip()
} else {
print("[MpvPlayerPlugin] Deferring inline restore until scene activation")
}
}
if notify { pipChannel?.invokeMethod("onPipChanged", arguments: false) }
}
/// Scene became active — re-warm the layer so auto-PiP stays possible
/// Scene became active — restore inline playback if needed and re-warm the
/// sample-buffer layer so future auto-PiP remains possible.
@objc private func sceneDidActivate() {
restoreInlinePlayerAfterPip()
if autoPipEnabled, let pip = pipController, let pc = playerCore, !pc.isPipActive {
pip.warmLayer(currentTime: pc.timePos, isPlaying: !pc.isPaused)
}
@@ -205,7 +257,7 @@ class MpvPlayerPlugin: NSObject, FlutterPlugin, FlutterStreamHandler, MpvPlayerD
pipTimebaseSyncTimer = nil
}
// MARK: - Method Handlers
// MARK: - Platform-Specific Method Handlers
private func handleInitialize(result: @escaping FlutterResult) {
DispatchQueue.main.async { [weak self] in
@@ -215,6 +267,7 @@ class MpvPlayerPlugin: NSObject, FlutterPlugin, FlutterStreamHandler, MpvPlayerD
}
if self.playerCore?.isInitialized == true {
self.registerSceneActivationObserver()
result(true)
return
}
@@ -233,6 +286,7 @@ class MpvPlayerPlugin: NSObject, FlutterPlugin, FlutterStreamHandler, MpvPlayerD
}
self.playerCore = core
self.registerSceneActivationObserver()
core.setVisible(false)
result(true)
}
@@ -244,7 +298,8 @@ class MpvPlayerPlugin: NSObject, FlutterPlugin, FlutterStreamHandler, MpvPlayerD
self.pipController?.teardown()
self.pipController = nil
self.autoPipEnabled = false
NotificationCenter.default.removeObserver(self, name: UIScene.didActivateNotification, object: nil)
self.pendingInlineRestoreAfterPip = false
self.unregisterSceneActivationObserver()
self.stopPipTimebaseSync()
self.playerCore?.dispose()
self.playerCore = nil
@@ -270,91 +325,6 @@ class MpvPlayerPlugin: NSObject, FlutterPlugin, FlutterStreamHandler, MpvPlayerD
result(nil)
}
private func handleGetProperty(call: FlutterMethodCall, result: @escaping FlutterResult) {
guard let args = call.arguments as? [String: Any],
let name = args["name"] as? String else {
result(FlutterError(code: "INVALID_ARGS", message: "Missing 'name' argument", details: nil))
return
}
result(playerCore?.getProperty(name))
}
private func handleObserveProperty(call: FlutterMethodCall, result: @escaping FlutterResult) {
guard let args = call.arguments as? [String: Any],
let name = args["name"] as? String,
let format = args["format"] as? String,
let id = args["id"] as? Int else {
result(FlutterError(code: "INVALID_ARGS", message: "Missing 'name', 'format', or 'id' argument", details: nil))
return
}
nameToId[name] = id
playerCore?.observeProperty(name, format: format)
result(nil)
}
private func handleCommand(call: FlutterMethodCall, result: @escaping FlutterResult) {
guard let args = call.arguments as? [String: Any],
let commandArgs = args["args"] as? [String] else {
result(FlutterError(code: "INVALID_ARGS", message: "Missing 'args' argument", details: nil))
return
}
playerCore?.commandAsync(commandArgs) { commandResult in
switch commandResult {
case .success:
result(nil)
case .failure(let error):
result(FlutterError(code: "COMMAND_FAILED", message: error.localizedDescription, details: nil))
}
} ?? result(nil)
}
private func handleSetVisible(call: FlutterMethodCall, result: @escaping FlutterResult) {
guard let args = call.arguments as? [String: Any],
let visible = args["visible"] as? Bool else {
result(FlutterError(code: "INVALID_ARGS", message: "Missing 'visible' argument", details: nil))
return
}
DispatchQueue.main.async { [weak self] in
self?.playerCore?.setVisible(visible)
if visible { self?.playerCore?.updateFrame() }
result(nil)
}
}
private func handleUpdateFrame(result: @escaping FlutterResult) {
DispatchQueue.main.async { [weak self] in
self?.playerCore?.updateFrame()
result(nil)
}
}
private func handleSetLogLevel(call: FlutterMethodCall, result: @escaping FlutterResult) {
guard let args = call.arguments as? [String: Any],
let level = args["level"] as? String else {
result(FlutterError(code: "INVALID_ARGS", message: "Missing 'level'", details: nil))
return
}
playerCore?.setLogLevel(level)
result(nil)
}
// MARK: - MpvPlayerDelegate
func onPropertyChange(name: String, value: Any?) {
guard let eventSink = eventSink, let propId = nameToId[name] else { return }
eventSink([propId, value as Any])
}
func onEvent(name: String, data: [String: Any]?) {
guard let eventSink = eventSink else { return }
var event: [String: Any] = ["type": "event", "name": name]
if let data = data { event["data"] = data }
eventSink(event)
}
// MARK: - Helpers
private func findKeyWindow() -> UIWindow? {
@@ -383,6 +353,7 @@ extension MpvPlayerPlugin: MpvPipDelegate {
func pipDidStart() {
playerCore?.isPipStarting = false
playerCore?.isPipActive = true
pendingInlineRestoreAfterPip = false
pipChannel?.invokeMethod("onPipChanged", arguments: true)
syncPipTimebase()
startPipTimebaseSync()
+3 -1
View File
@@ -6,8 +6,10 @@ default_platform(:ios)
platform :ios do
desc "Build and deploy to App Store"
lane :deploy_appstore do
git_commit = `git rev-parse --short HEAD`.strip
# Build the Flutter app
sh("cd #{ENV['PWD']}/.. && flutter build ipa --dart-define=ENABLE_IN_APP_REVIEW=true")
sh("cd #{ENV['PWD']}/.. && flutter build ipa --dart-define=ENABLE_IN_APP_REVIEW=true --dart-define=ENABLE_SENTRY=true --dart-define=GIT_COMMIT=#{git_commit}")
# Upload to App Store
upload_to_app_store(
File diff suppressed because it is too large Load Diff
+167
View File
@@ -0,0 +1,167 @@
import 'package:drift/drift.dart';
import 'app_database.dart';
import '../models/download_models.dart';
/// Extension methods on AppDatabase for download operations
extension DownloadDatabaseOperations on AppDatabase {
/// Insert a new download into the database
Future<void> insertDownload({
required String serverId,
required String ratingKey,
required String globalKey,
required String type,
String? parentRatingKey,
String? grandparentRatingKey,
required int status,
}) async {
await into(downloadedMedia).insert(
DownloadedMediaCompanion.insert(
serverId: serverId,
ratingKey: ratingKey,
globalKey: globalKey,
type: type,
parentRatingKey: Value(parentRatingKey),
grandparentRatingKey: Value(grandparentRatingKey),
status: status,
),
mode: InsertMode.insertOrReplace,
);
}
/// Add item to download queue
Future<void> addToQueue({
required String mediaGlobalKey,
int priority = 0,
bool downloadSubtitles = true,
bool downloadArtwork = true,
}) async {
await into(downloadQueue).insert(
DownloadQueueCompanion.insert(
mediaGlobalKey: mediaGlobalKey,
priority: Value(priority),
addedAt: DateTime.now().millisecondsSinceEpoch,
downloadSubtitles: Value(downloadSubtitles),
downloadArtwork: Value(downloadArtwork),
),
mode: InsertMode.insertOrReplace,
);
}
/// Get next item from queue (highest priority, oldest first)
/// Only returns items that are not paused
Future<DownloadQueueItem?> getNextQueueItem() async {
// Join with downloadedMedia to check status and filter out paused items
final query = select(
downloadQueue,
).join([innerJoin(downloadedMedia, downloadedMedia.globalKey.equalsExp(downloadQueue.mediaGlobalKey))]);
query
..where(downloadedMedia.status.equals(DownloadStatus.queued.index))
..orderBy([
OrderingTerm(expression: downloadQueue.priority, mode: OrderingMode.desc),
OrderingTerm(expression: downloadQueue.addedAt),
])
..limit(1);
final result = await query.getSingleOrNull();
return result?.readTable(downloadQueue);
}
/// Update download status
Future<void> updateDownloadStatus(String globalKey, int status) async {
await (update(
downloadedMedia,
)..where((t) => t.globalKey.equals(globalKey))).write(DownloadedMediaCompanion(status: Value(status)));
}
/// Update download progress
Future<void> updateDownloadProgress(String globalKey, int progress, int downloadedBytes, int totalBytes) async {
await (update(downloadedMedia)..where((t) => t.globalKey.equals(globalKey))).write(
DownloadedMediaCompanion(
progress: Value(progress),
downloadedBytes: Value(downloadedBytes),
totalBytes: Value(totalBytes),
),
);
}
/// Update video file path
Future<void> updateVideoFilePath(String globalKey, String filePath) async {
await (update(downloadedMedia)..where((t) => t.globalKey.equals(globalKey))).write(
DownloadedMediaCompanion(
videoFilePath: Value(filePath),
downloadedAt: Value(DateTime.now().millisecondsSinceEpoch),
),
);
}
/// Update artwork paths
Future<void> updateArtworkPaths({required String globalKey, String? thumbPath}) async {
await (update(
downloadedMedia,
)..where((t) => t.globalKey.equals(globalKey))).write(DownloadedMediaCompanion(thumbPath: Value(thumbPath)));
}
/// Update download error and increment retry count
Future<void> updateDownloadError(String globalKey, String errorMessage) async {
// Get current retry count to increment it
final existing = await getDownloadedMedia(globalKey);
final currentCount = existing?.retryCount ?? 0;
await (update(downloadedMedia)..where((t) => t.globalKey.equals(globalKey))).write(
DownloadedMediaCompanion(errorMessage: Value(errorMessage), retryCount: Value(currentCount + 1)),
);
}
/// Clear download error and reset retry count (for retry)
Future<void> clearDownloadError(String globalKey) async {
await (update(downloadedMedia)..where((t) => t.globalKey.equals(globalKey))).write(
const DownloadedMediaCompanion(errorMessage: Value(null), retryCount: Value(0)),
);
}
/// Remove item from queue
Future<void> removeFromQueue(String mediaGlobalKey) async {
await (delete(downloadQueue)..where((t) => t.mediaGlobalKey.equals(mediaGlobalKey))).go();
}
/// Get downloaded media item
Future<DownloadedMediaItem?> getDownloadedMedia(String globalKey) {
return (select(downloadedMedia)..where((t) => t.globalKey.equals(globalKey))).getSingleOrNull();
}
/// Delete a download
Future<void> deleteDownload(String globalKey) async {
await (delete(downloadedMedia)..where((t) => t.globalKey.equals(globalKey))).go();
await (delete(downloadQueue)..where((t) => t.mediaGlobalKey.equals(globalKey))).go();
}
/// Get all downloaded episodes for a season
Future<List<DownloadedMediaItem>> getEpisodesBySeason(String seasonKey) {
return (select(downloadedMedia)..where((t) => t.parentRatingKey.equals(seasonKey))).get();
}
/// Get all downloaded episodes for a show
Future<List<DownloadedMediaItem>> getEpisodesByShow(String showKey) {
return (select(downloadedMedia)..where((t) => t.grandparentRatingKey.equals(showKey))).get();
}
/// Get all downloaded items for a specific server
Future<List<DownloadedMediaItem>> getDownloadsByServerId(String serverId) {
return (select(downloadedMedia)..where((t) => t.serverId.equals(serverId))).get();
}
/// Update the background_downloader task ID for a download
Future<void> updateBgTaskId(String globalKey, String? taskId) async {
await (update(
downloadedMedia,
)..where((t) => t.globalKey.equals(globalKey))).write(DownloadedMediaCompanion(bgTaskId: Value(taskId)));
}
/// Get the background_downloader task ID for a download
Future<String?> getBgTaskId(String globalKey) async {
final item = await getDownloadedMedia(globalKey);
return item?.bgTaskId;
}
}
+30 -28
View File
@@ -63,36 +63,47 @@ extension DpadKeyExtension on LogicalKeyboardKey {
bool get isDownKey => this == LogicalKeyboardKey.arrowDown;
}
/// Global helper to suppress the next SELECT key-up event.
class SelectKeyUpSuppressor {
static bool _suppressSelectUntilKeyUp = false;
/// Base class for suppressing key-up events after a key category triggers an
/// action (e.g. opening a sheet). While suppressed, all events for the matched
/// key category are consumed; suppression auto-clears on [KeyUpEvent].
class _KeyUpSuppressor {
final bool Function(LogicalKeyboardKey) _keyMatcher;
static void suppressSelectUntilKeyUp() {
_suppressSelectUntilKeyUp = true;
}
_KeyUpSuppressor(this._keyMatcher);
static void clearSuppression() {
_suppressSelectUntilKeyUp = false;
}
bool _suppressed = false;
static bool consumeIfSuppressed(KeyEvent event) {
if (!_suppressSelectUntilKeyUp) return false;
if (event.logicalKey.isSelectKey) {
if (event is KeyUpEvent) {
_suppressSelectUntilKeyUp = false;
}
void suppress() => _suppressed = true;
void clearSuppression() => _suppressed = false;
/// Returns `true` (consumed) when the event belongs to the matched key
/// category and suppression is active. Clears suppression on [KeyUpEvent].
bool consumeIfSuppressed(KeyEvent event) {
if (!_suppressed) return false;
if (_keyMatcher(event.logicalKey)) {
if (event is KeyUpEvent) _suppressed = false;
return true;
}
return false;
}
}
/// Global helper to suppress the next SELECT key-up event.
class SelectKeyUpSuppressor {
static final _instance = _KeyUpSuppressor((k) => k.isSelectKey);
static void suppressSelectUntilKeyUp() => _instance.suppress();
static void clearSuppression() => _instance.clearSuppression();
static bool consumeIfSuppressed(KeyEvent event) => _instance.consumeIfSuppressed(event);
}
/// Global helper to suppress the next BACK key-up event.
///
/// Use this when a modal (bottom sheet, dialog) closes to prevent
/// the BACK key-up from propagating to the underlying screen.
class BackKeyUpSuppressor {
static bool _suppressBackUntilKeyUp = false;
static final _instance = _KeyUpSuppressor((k) => k.isBackKey);
static bool _closedViaBackKey = false;
/// Mark that a modal is being closed via back key press.
@@ -109,26 +120,17 @@ class BackKeyUpSuppressor {
_closedViaBackKey = false;
return;
}
_suppressBackUntilKeyUp = true;
_instance.suppress();
}
/// Clear any pending suppression. Call when opening a new modal
/// to ensure stale suppression from previous closes doesn't affect it.
static void clearSuppression() {
_suppressBackUntilKeyUp = false;
_instance.clearSuppression();
_closedViaBackKey = false;
}
static bool consumeIfSuppressed(KeyEvent event) {
if (!_suppressBackUntilKeyUp) return false;
if (event.logicalKey.isBackKey) {
if (event is KeyUpEvent) {
_suppressBackUntilKeyUp = false;
}
return true;
}
return false;
}
static bool consumeIfSuppressed(KeyEvent event) => _instance.consumeIfSuppressed(event);
}
/// Tracks whether a back key is currently physically pressed.
+54 -7
View File
@@ -1,13 +1,19 @@
import 'dart:async';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'dpad_navigator.dart';
import 'key_event_utils.dart';
/// Callbacks for chip key event handling.
class ChipKeyCallbacks {
/// Called when SELECT key is pressed.
/// Called when SELECT key is pressed (short press when [onLongPress] is set).
final VoidCallback? onSelect;
/// Called when SELECT key is held for 500ms.
final VoidCallback? onLongPress;
/// Called when DOWN arrow is pressed.
final VoidCallback? onNavigateDown;
@@ -25,6 +31,7 @@ class ChipKeyCallbacks {
const ChipKeyCallbacks({
this.onSelect,
this.onLongPress,
this.onNavigateDown,
this.onNavigateUp,
this.onNavigateLeft,
@@ -53,6 +60,8 @@ class ChipKeyCallbacks {
mixin FocusableChipStateMixin<T extends StatefulWidget> on State<T> {
FocusNode? _internalFocusNode;
bool _isFocused = false;
Timer? _longPressTimer;
bool _isSelectKeyDown = false;
/// Override to return the widget's optional external focus node.
FocusNode? get widgetFocusNode;
@@ -85,6 +94,7 @@ mixin FocusableChipStateMixin<T extends StatefulWidget> on State<T> {
void disposeFocusNode() {
focusNode.removeListener(_onFocusChange);
_internalFocusNode?.dispose();
_longPressTimer?.cancel();
}
void _onFocusChange() {
@@ -96,7 +106,7 @@ mixin FocusableChipStateMixin<T extends StatefulWidget> on State<T> {
/// Shared key event handler for chip widgets.
///
/// Handles common key patterns:
/// - SELECT key -> onSelect
/// - SELECT key -> onSelect (short press) / onLongPress (hold 500ms)
/// - Arrow keys -> navigation callbacks
/// - BACK key -> onBack
///
@@ -112,16 +122,53 @@ mixin FocusableChipStateMixin<T extends StatefulWidget> on State<T> {
}
}
if (!event.isActionable) {
return KeyEventResult.ignored;
if (SelectKeyUpSuppressor.consumeIfSuppressed(event)) {
return KeyEventResult.handled;
}
// SELECT key activates the chip
if (key.isSelectKey && callbacks.onSelect != null) {
callbacks.onSelect!();
// SELECT key with long press support
if (key.isSelectKey) {
if (callbacks.onLongPress != null) {
if (event is KeyDownEvent) {
if (!_isSelectKeyDown) {
_isSelectKeyDown = true;
_longPressTimer?.cancel();
_longPressTimer = Timer(const Duration(milliseconds: 500), () {
if (mounted) {
SelectKeyUpSuppressor.suppressSelectUntilKeyUp();
callbacks.onLongPress?.call();
}
});
}
return KeyEventResult.handled;
} else if (event is KeyRepeatEvent) {
return KeyEventResult.handled;
} else if (event is KeyUpEvent) {
final timerWasActive = _longPressTimer?.isActive ?? false;
_longPressTimer?.cancel();
if (timerWasActive && _isSelectKeyDown) {
callbacks.onSelect?.call();
}
_isSelectKeyDown = false;
return KeyEventResult.handled;
}
} else if (event.isActionable && callbacks.onSelect != null) {
callbacks.onSelect!();
return KeyEventResult.handled;
}
}
// Context menu key triggers long press directly
if (event.isActionable && key.isContextMenuKey && callbacks.onLongPress != null) {
SelectKeyUpSuppressor.suppressSelectUntilKeyUp();
callbacks.onLongPress!();
return KeyEventResult.handled;
}
if (!event.isActionable) {
return KeyEventResult.ignored;
}
// LEFT arrow - call callback if provided, otherwise propagate to parent
if (key.isLeftKey) {
if (callbacks.onNavigateLeft != null) {
+9 -1
View File
@@ -240,7 +240,15 @@ class _FocusableWrapperState extends State<FocusableWrapper> with SingleTickerPr
final renderObject = context.findRenderObject();
if (renderObject == null) return;
final scrollable = Scrollable.maybeOf(context);
// Find the nearest scrollable that actually has scroll range.
// Skip inner scrollables with no extent (e.g. shrinkWrap ListView
// with NeverScrollableScrollPhysics inside an outer scroll view).
var scrollable = Scrollable.maybeOf(context);
while (scrollable != null) {
final pos = scrollable.position;
if (pos.maxScrollExtent > pos.minScrollExtent) break;
scrollable = Scrollable.maybeOf(scrollable.context);
}
if (scrollable == null) return;
final viewport = scrollable.context.findRenderObject() as RenderBox?;
+502
View File
@@ -0,0 +1,502 @@
{
"app": { "title": "Plezy" },
"auth": {
"signInWithPlex": "Log ind med Plex",
"showQRCode": "Vis QR-kode",
"authenticate": "Godkend",
"authenticationTimeout": "Godkendelse fik timeout. Prøv igen.",
"scanQRToSignIn": "Scan denne QR-kode for at logge ind",
"waitingForAuth": "Venter på godkendelse...\nFærdiggør login i din browser.",
"useBrowser": "Brug browser"
},
"common": {
"cancel": "Annuller", "save": "Gem", "close": "Luk", "clear": "Ryd", "reset": "Nulstil",
"later": "Senere", "submit": "Indsend", "confirm": "Bekræft", "retry": "Prøv igen",
"logout": "Log ud", "unknown": "Ukendt", "refresh": "Opdater", "yes": "Ja", "no": "Nej",
"delete": "Slet", "shuffle": "Bland", "addTo": "Tilføj til...", "createNew": "Opret ny",
"remove": "Fjern", "paste": "Indsæt", "connect": "Forbind", "disconnect": "Afbryd",
"play": "Afspil", "pause": "Pause", "resume": "Genoptag", "error": "Fejl",
"search": "Søg", "home": "Hjem", "back": "Tilbage", "settings": "Indstillinger",
"mute": "Lydløs", "ok": "OK", "loading": "Indlæser...", "reconnect": "Genopret forbindelse",
"exitConfirmTitle": "Luk app?", "exitConfirmMessage": "Er du sikker på, at du vil afslutte?",
"dontAskAgain": "Spørg ikke igen", "exit": "Afslut", "viewAll": "Vis alle",
"checkingNetwork": "Tjekker netværk...", "refreshingServers": "Opdaterer servere...",
"loadingServers": "Indlæser servere...", "connectingToServers": "Forbinder til servere...",
"startingOfflineMode": "Starter offlinetilstand..."
},
"screens": { "licenses": "Licenser", "switchProfile": "Skift profil", "subtitleStyling": "Undertekststil", "mpvConfig": "mpv.conf", "logs": "Logs" },
"update": {
"available": "Opdatering tilgængelig", "versionAvailable": "Version ${version} er tilgængelig",
"currentVersion": "Nuværende: ${version}", "skipVersion": "Spring denne version over",
"viewRelease": "Vis udgivelse", "latestVersion": "Du har den nyeste version",
"checkFailed": "Kunne ikke søge efter opdateringer"
},
"settings": {
"title": "Indstillinger", "language": "Sprog", "theme": "Tema", "appearance": "Udseende",
"videoPlayback": "Videoafspilning", "advanced": "Avanceret",
"episodePosterMode": "Episodeplakatstil", "seriesPoster": "Serieplakat",
"seriesPosterDescription": "Vis seriens plakat for alle episoder",
"seasonPoster": "Sæsonplakat", "seasonPosterDescription": "Vis sæsonspecifik plakat for episoder",
"episodeThumbnail": "Episodeminiature", "episodeThumbnailDescription": "Vis 16:9 episodeskærmbilledeminiaturer",
"showHeroSectionDescription": "Vis karrusel med udvalgt indhold på startskærmen",
"secondsLabel": "Sekunder", "minutesLabel": "Minutter", "secondsShort": "s", "minutesShort": "m",
"durationHint": "Indtast varighed (${min}-${max})",
"systemTheme": "System", "systemThemeDescription": "Følg systemindstillinger",
"lightTheme": "Lys", "darkTheme": "Mørk", "oledTheme": "OLED", "oledThemeDescription": "Ren sort for OLED-skærme",
"libraryDensity": "Bibliotekstæthed", "compact": "Kompakt", "compactDescription": "Mindre kort, flere synlige elementer",
"normal": "Normal", "normalDescription": "Standardstørrelse",
"comfortable": "Komfortabel", "comfortableDescription": "Større kort, færre synlige elementer",
"viewMode": "Visningstilstand", "gridView": "Gitter", "gridViewDescription": "Vis elementer i gitterlayout",
"listView": "Liste", "listViewDescription": "Vis elementer i listelayout",
"showHeroSection": "Vis hero-sektion", "useGlobalHubs": "Brug Plex Home-layout",
"useGlobalHubsDescription": "Vis startsidehubbe som den officielle Plex-klient. Når slået fra, vises anbefalinger per bibliotek.",
"showServerNameOnHubs": "Vis servernavn på hubbe",
"showServerNameOnHubsDescription": "Vis altid servernavnet i hubtitler. Når slået fra, vises kun ved duplikerede navne.",
"alwaysKeepSidebarOpen": "Hold altid sidepanelet åbent",
"alwaysKeepSidebarOpenDescription": "Sidepanelet forbliver udvidet, og indholdsområdet tilpasser sig",
"showUnwatchedCount": "Vis antal usete",
"showUnwatchedCountDescription": "Vis antal usete episoder på serier og sæsoner",
"hideSpoilers": "Skjul spoilere for usete episoder",
"hideSpoilersDescription": "Slør miniaturebilleder og skjul beskrivelser for episoder, du ikke har set endnu",
"playerBackend": "Afspillerbackend", "exoPlayer": "ExoPlayer (Anbefalet)",
"exoPlayerDescription": "Android-native afspiller med bedre hardwareunderstøttelse",
"mpv": "mpv", "mpvDescription": "Avanceret afspiller med flere funktioner og ASS-undertekstunderstøttelse",
"hardwareDecoding": "Hardwaredekodning", "hardwareDecodingDescription": "Brug hardwareacceleration når tilgængelig",
"bufferSize": "Bufferstørrelse", "bufferSizeMB": "${size}MB", "bufferSizeAuto": "Auto (Anbefalet)",
"bufferSizeWarning": "Din enhed har ${heap}MB hukommelse. En buffer på ${size}MB kan forårsage afspilningsproblemer.",
"subtitleStyling": "Undertekststil", "subtitleStylingDescription": "Tilpas underteksters udseende",
"smallSkipDuration": "Kort spring-varighed", "largeSkipDuration": "Lang spring-varighed",
"secondsUnit": "${seconds} sekunder", "defaultSleepTimer": "Standard sove-timer",
"minutesUnit": "${minutes} minutter",
"rememberTrackSelections": "Husk sporvalg per serie/film",
"rememberTrackSelectionsDescription": "Gem automatisk lyd- og undertekstsprogpræferencer når du skifter spor under afspilning",
"clickVideoTogglesPlayback": "Klik på video skifter afspil/pause",
"clickVideoTogglesPlaybackDescription": "Når aktiveret, afspiller/pauser klik på videoen. Ellers vises/skjules betjeningselementer.",
"videoPlayerControls": "Videoafspillerkontroller", "keyboardShortcuts": "Tastaturgenveje",
"keyboardShortcutsDescription": "Tilpas tastaturgenveje",
"videoPlayerNavigation": "Videoafspillernavigation",
"videoPlayerNavigationDescription": "Brug piletaster til at navigere videoafspillerkontroller",
"crashReporting": "Fejlrapportering", "crashReportingDescription": "Send fejlrapporter for at hjælpe med at forbedre appen",
"debugLogging": "Fejlfindingslogning", "debugLoggingDescription": "Aktiver detaljeret logning til fejlfinding",
"viewLogs": "Vis logs", "viewLogsDescription": "Vis applikationslogs",
"clearCache": "Ryd cache",
"clearCacheDescription": "Dette rydder alle cachelagrede billeder og data. Appen kan tage længere tid om at indlæse indhold efter rydning.",
"clearCacheSuccess": "Cache ryddet", "resetSettings": "Nulstil indstillinger",
"resetSettingsDescription": "Alle indstillinger nulstilles til standardværdier. Denne handling kan ikke fortrydes.",
"resetSettingsSuccess": "Indstillinger nulstillet", "shortcutsReset": "Genveje nulstillet til standard",
"about": "Om", "aboutDescription": "App-information og licenser",
"updates": "Opdateringer", "updateAvailable": "Opdatering tilgængelig",
"checkForUpdates": "Søg efter opdateringer",
"validationErrorEnterNumber": "Indtast et gyldigt tal",
"validationErrorDuration": "Varighed skal være mellem ${min} og ${max} ${unit}",
"shortcutAlreadyAssigned": "Genvej allerede tildelt til ${action}",
"shortcutUpdated": "Genvej opdateret for ${action}",
"autoSkip": "Auto-spring", "autoSkipIntro": "Auto-spring intro",
"autoSkipIntroDescription": "Spring automatisk intromarkører over efter få sekunder",
"autoSkipCredits": "Auto-spring rulletekster",
"autoSkipCreditsDescription": "Spring automatisk rulletekster over og afspil næste episode",
"autoSkipDelay": "Auto-spring forsinkelse",
"autoSkipDelayDescription": "Vent ${seconds} sekunder før automatisk spring",
"introPattern": "Intromarkørmønster",
"introPatternDescription": "Regulært udtryk til at genkende intromarkører i kapiteltitler",
"creditsPattern": "Rulletekstmarkørmønster",
"creditsPatternDescription": "Regulært udtryk til at genkende rulletekstmarkører i kapiteltitler",
"invalidRegex": "Ugyldigt regulært udtryk",
"downloads": "Downloads", "downloadLocationDescription": "Vælg hvor downloadet indhold skal gemmes",
"downloadLocationDefault": "Standard (App-lagring)", "downloadLocationCustom": "Brugerdefineret placering",
"selectFolder": "Vælg mappe", "resetToDefault": "Nulstil til standard",
"currentPath": "Nuværende: ${path}", "downloadLocationChanged": "Downloadplacering ændret",
"downloadLocationReset": "Downloadplacering nulstillet",
"downloadLocationInvalid": "Valgt mappe er ikke skrivbar",
"downloadLocationSelectError": "Kunne ikke vælge mappe",
"downloadOnWifiOnly": "Download kun på WiFi",
"downloadOnWifiOnlyDescription": "Forhindre downloads på mobildata",
"cellularDownloadBlocked": "Downloads er deaktiveret på mobildata. Opret forbindelse til WiFi eller ændr indstillingen.",
"maxVolume": "Maksimal lydstyrke",
"maxVolumeDescription": "Tillad lydstyrkeforstærkning over 100% for stille medier",
"maxVolumePercent": "${percent}%",
"discordRichPresence": "Discord Rich Presence",
"discordRichPresenceDescription": "Vis hvad du ser på Discord",
"autoPip": "Auto billede-i-billede",
"autoPipDescription": "Gå automatisk til billede-i-billede når du forlader appen under afspilning",
"matchContentFrameRate": "Match indholdets billedhastighed",
"matchContentFrameRateDescription": "Juster skærmens opdateringshastighed til videoindhold for at reducere hakken og spare batteri",
"tunneledPlayback": "Tunneleret afspilning",
"tunneledPlaybackDescription": "Brug hardwareaccelereret videotunneling. Deaktiver hvis du ser sort skærm med lyd på HDR-indhold",
"requireProfileSelectionOnOpen": "Spørg om profil ved åbning",
"requireProfileSelectionOnOpenDescription": "Vis profilvalg hver gang appen åbnes",
"confirmExitOnBack": "Bekræft før lukning",
"confirmExitOnBackDescription": "Vis bekræftelsesdialog ved tryk på tilbage for at lukke appen",
"showNavBarLabels": "Vis navigationsbarlabels",
"showNavBarLabelsDescription": "Vis tekstlabels under navigationsbarikoner"
},
"search": {
"hint": "Søg film, serier, musik...", "tryDifferentTerm": "Prøv en anden søgning",
"searchYourMedia": "Søg i dine medier", "enterTitleActorOrKeyword": "Indtast titel, skuespiller eller nøgleord"
},
"hotkeys": {
"setShortcutFor": "Indstil genvej for ${actionName}", "clearShortcut": "Ryd genvej",
"actions": {
"playPause": "Afspil/Pause", "volumeUp": "Lydstyrke op", "volumeDown": "Lydstyrke ned",
"seekForward": "Spol frem (${seconds}s)", "seekBackward": "Spol tilbage (${seconds}s)",
"fullscreenToggle": "Skift fuldskærm", "muteToggle": "Skift lydløs",
"subtitleToggle": "Skift undertekster", "audioTrackNext": "Næste lydspor",
"subtitleTrackNext": "Næste undertekstspor", "chapterNext": "Næste kapitel",
"chapterPrevious": "Forrige kapitel", "speedIncrease": "Øg hastighed",
"speedDecrease": "Sænk hastighed", "speedReset": "Nulstil hastighed",
"subSeekNext": "Søg til næste undertekst", "subSeekPrev": "Søg til forrige undertekst",
"shaderToggle": "Skift shadere", "skipMarker": "Spring intro/rulletekster over"
}
},
"pinEntry": { "enterPin": "Indtast PIN", "showPin": "Vis PIN", "hidePin": "Skjul PIN" },
"fileInfo": {
"title": "Filinfo", "video": "Video", "audio": "Lyd", "file": "Fil", "advanced": "Avanceret",
"codec": "Codec", "resolution": "Opløsning", "bitrate": "Bitrate", "frameRate": "Billedhastighed",
"aspectRatio": "Billedformat", "profile": "Profil", "bitDepth": "Bitdybde",
"colorSpace": "Farverum", "colorRange": "Farveområde", "colorPrimaries": "Farveprimærer",
"chromaSubsampling": "Chroma-subsampling", "channels": "Kanaler", "path": "Sti",
"size": "Størrelse", "container": "Container", "duration": "Varighed",
"optimizedForStreaming": "Optimeret til streaming", "has64bitOffsets": "64-bit offsets"
},
"mediaMenu": {
"markAsWatched": "Markér som set", "markAsUnwatched": "Markér som uset",
"removeFromContinueWatching": "Fjern fra Fortsæt med at se",
"goToSeries": "Gå til serie", "goToSeason": "Gå til sæson",
"shufflePlay": "Afspil tilfældigt", "fileInfo": "Filinfo",
"deleteFromServer": "Slet fra server",
"confirmDelete": "Dette sletter permanent disse medier og filer fra din server. Dette kan ikke fortrydes.",
"deleteMultipleWarning": "Dette inkluderer alle episoder og deres filer.",
"mediaDeletedSuccessfully": "Medieelement slettet", "mediaFailedToDelete": "Kunne ikke slette medieelement",
"rate": "Bedøm"
},
"accessibility": {
"mediaCardMovie": "${title}, film", "mediaCardShow": "${title}, TV-serie",
"mediaCardEpisode": "${title}, ${episodeInfo}", "mediaCardSeason": "${title}, ${seasonInfo}",
"mediaCardWatched": "set", "mediaCardPartiallyWatched": "${percent} procent set",
"mediaCardUnwatched": "uset", "tapToPlay": "Tryk for at afspille"
},
"tooltips": {
"shufflePlay": "Afspil tilfældigt", "playTrailer": "Afspil trailer",
"markAsWatched": "Markér som set", "markAsUnwatched": "Markér som uset"
},
"videoControls": {
"audioLabel": "Lyd", "subtitlesLabel": "Undertekster", "resetToZero": "Nulstil til 0ms",
"addTime": "+${amount}${unit}", "minusTime": "-${amount}${unit}",
"playsLater": "${label} afspilles senere", "playsEarlier": "${label} afspilles tidligere",
"noOffset": "Ingen forskydning", "letterbox": "Letterbox", "fillScreen": "Fyld skærm",
"stretch": "Stræk", "lockRotation": "Lås rotation", "unlockRotation": "Lås rotation op",
"timerActive": "Timer aktiv", "playbackWillPauseIn": "Afspilning pauses om ${duration}",
"sleepTimerCompleted": "Sove-timer fuldført — afspilning sat på pause",
"stillWatching": "Ser du stadig?", "pausingIn": "Pauser om ${seconds}s",
"continueWatching": "Fortsæt", "autoPlayNext": "Auto-afspil næste", "playNext": "Afspil næste",
"playButton": "Afspil", "pauseButton": "Pause",
"seekBackwardButton": "Spol ${seconds} sekunder tilbage",
"seekForwardButton": "Spol ${seconds} sekunder frem",
"previousButton": "Forrige episode", "nextButton": "Næste episode",
"previousChapterButton": "Forrige kapitel", "nextChapterButton": "Næste kapitel",
"muteButton": "Lydløs", "unmuteButton": "Slå lyd til", "settingsButton": "Videoindstillinger",
"audioTrackButton": "Lydspor", "subtitlesButton": "Undertekster",
"tracksButton": "Lyd og undertekster", "chaptersButton": "Kapitler",
"versionsButton": "Videoversioner", "pipButton": "Billede-i-billede-tilstand",
"aspectRatioButton": "Billedformat", "ambientLighting": "Omgivelsesbelysning",
"ambientLightingOn": "Aktivér omgivelsesbelysning", "ambientLightingOff": "Deaktivér omgivelsesbelysning",
"fullscreenButton": "Fuldskærm", "exitFullscreenButton": "Forlad fuldskærm",
"alwaysOnTopButton": "Altid øverst", "rotationLockButton": "Rotationslås",
"timelineSlider": "Videotidslinje", "volumeSlider": "Lydstyrkeniveau",
"endsAt": "Slutter kl. ${time}", "pipActive": "Afspiller i billede-i-billede",
"pipFailed": "Billede-i-billede kunne ikke starte",
"pipErrors": {
"androidVersion": "Kræver Android 8.0 eller nyere", "iosVersion": "Kræver iOS 15.0 eller nyere",
"permissionDisabled": "Billede-i-billede-tilladelse er deaktiveret. Aktivér i Indstillinger > Apps > Plezy > Billede-i-billede",
"notSupported": "Enheden understøtter ikke billede-i-billede",
"voSwitchFailed": "Kunne ikke skifte videooutput til billede-i-billede",
"failed": "Billede-i-billede kunne ikke starte", "unknown": "Der opstod en fejl: ${error}"
},
"chapters": "Kapitler", "noChaptersAvailable": "Ingen kapitler tilgængelige",
"queue": "Kø", "noQueueItems": "Ingen elementer i køen"
},
"userStatus": { "admin": "Administrator", "restricted": "Begrænset", "protected": "Beskyttet", "current": "NUVÆRENDE" },
"messages": {
"markedAsWatched": "Markeret som set", "markedAsUnwatched": "Markeret som uset",
"markedAsWatchedOffline": "Markeret som set (synkroniseres online)",
"markedAsUnwatchedOffline": "Markeret som uset (synkroniseres online)",
"removedFromContinueWatching": "Fjernet fra Fortsæt med at se",
"errorLoading": "Fejl: ${error}", "fileInfoNotAvailable": "Filinfo ikke tilgængelig",
"errorLoadingFileInfo": "Fejl ved indlæsning af filinfo: ${error}",
"errorLoadingSeries": "Fejl ved indlæsning af serie", "errorLoadingSeason": "Fejl ved indlæsning af sæson",
"musicNotSupported": "Musikafspilning understøttes endnu ikke",
"logsCleared": "Logs ryddet", "logsCopied": "Logs kopieret til udklipsholder",
"noLogsAvailable": "Ingen logs tilgængelige",
"libraryScanning": "Scanner \"${title}\"...",
"libraryScanStarted": "Biblioteksscanning startet for \"${title}\"",
"libraryScanFailed": "Kunne ikke scanne bibliotek: ${error}",
"metadataRefreshing": "Opdaterer metadata for \"${title}\"...",
"metadataRefreshStarted": "Metadataopdatering startet for \"${title}\"",
"metadataRefreshFailed": "Kunne ikke opdatere metadata: ${error}",
"logoutConfirm": "Er du sikker på, at du vil logge ud?",
"noSeasonsFound": "Ingen sæsoner fundet", "noEpisodesFound": "Ingen episoder fundet i første sæson",
"noEpisodesFoundGeneral": "Ingen episoder fundet", "noResultsFound": "Ingen resultater fundet",
"sleepTimerSet": "Sove-timer indstillet til ${label}", "noItemsAvailable": "Ingen elementer tilgængelige",
"failedToCreatePlayQueueNoItems": "Kunne ikke oprette afspilningskø — ingen elementer",
"failedPlayback": "Kunne ikke ${action}: ${error}",
"switchingToCompatiblePlayer": "Skifter til kompatibel afspiller...",
"logsUploaded": "Logs uploadet", "logsUploadFailed": "Kunne ikke uploade logs", "logId": "Log-ID"
},
"subtitlingStyling": {
"stylingOptions": "Stilindstillinger", "fontSize": "Skriftstørrelse", "textColor": "Tekstfarve",
"borderSize": "Kantstørrelse", "borderColor": "Kantfarve",
"backgroundOpacity": "Baggrundsgennemsigtighed", "backgroundColor": "Baggrundsfarve", "position": "Position"
},
"mpvConfig": {
"title": "mpv.conf", "description": "Avancerede videoafspillerindstillinger",
"presets": "Forudindstillinger", "noPresets": "Ingen gemte forudindstillinger",
"saveAsPreset": "Gem som forudindstilling...", "presetName": "Forudindstillingsnavn",
"presetNameHint": "Indtast et navn for denne forudindstilling",
"loadPreset": "Indlæs", "deletePreset": "Slet",
"presetSaved": "Forudindstilling gemt", "presetLoaded": "Forudindstilling indlæst",
"presetDeleted": "Forudindstilling slettet",
"confirmDeletePreset": "Er du sikker på, at du vil slette denne forudindstilling?",
"configPlaceholder": "gpu-api=vulkan\nhwdec=auto\n# comment"
},
"dialog": { "confirmAction": "Bekræft handling" },
"discover": {
"title": "Opdag", "switchProfile": "Skift profil", "noContentAvailable": "Intet indhold tilgængeligt",
"addMediaToLibraries": "Tilføj medier til dine biblioteker", "continueWatching": "Fortsæt med at se",
"playEpisode": "S${season}E${episode}", "overview": "Oversigt", "cast": "Rollebesætning",
"extras": "Trailere og ekstra", "seasons": "Sæsoner", "studio": "Studie", "rating": "Bedømmelse",
"episodeCount": "${count} episoder", "watchedProgress": "${watched}/${total} set",
"movie": "Film", "tvShow": "TV-serie", "minutesLeft": "${minutes} min tilbage"
},
"errors": {
"searchFailed": "Søgning mislykkedes: ${error}",
"connectionTimeout": "Forbindelsestimeout ved indlæsning af ${context}",
"connectionFailed": "Kunne ikke forbinde til Plex-server",
"failedToLoad": "Kunne ikke indlæse ${context}: ${error}", "noClientAvailable": "Ingen klient tilgængelig",
"authenticationFailed": "Godkendelse mislykkedes: ${error}",
"couldNotLaunchUrl": "Kunne ikke åbne godkendelses-URL", "pleaseEnterToken": "Indtast et token",
"invalidToken": "Ugyldigt token", "failedToVerifyToken": "Kunne ikke verificere token: ${error}",
"failedToSwitchProfile": "Kunne ikke skifte til ${displayName}"
},
"libraries": {
"title": "Biblioteker", "scanLibraryFiles": "Scan biblioteksfiler", "scanLibrary": "Scan bibliotek",
"analyze": "Analysér", "analyzeLibrary": "Analysér bibliotek", "refreshMetadata": "Opdater metadata",
"emptyTrash": "Tøm papirkurv", "emptyingTrash": "Tømmer papirkurv for \"${title}\"...",
"trashEmptied": "Papirkurv tømt for \"${title}\"",
"failedToEmptyTrash": "Kunne ikke tømme papirkurv: ${error}",
"analyzing": "Analyserer \"${title}\"...", "analysisStarted": "Analyse startet for \"${title}\"",
"failedToAnalyze": "Kunne ikke analysere bibliotek: ${error}",
"noLibrariesFound": "Ingen biblioteker fundet", "thisLibraryIsEmpty": "Dette bibliotek er tomt",
"all": "Alle", "clearAll": "Ryd alle",
"scanLibraryConfirm": "Er du sikker på, at du vil scanne \"${title}\"?",
"analyzeLibraryConfirm": "Er du sikker på, at du vil analysere \"${title}\"?",
"refreshMetadataConfirm": "Er du sikker på, at du vil opdatere metadata for \"${title}\"?",
"emptyTrashConfirm": "Er du sikker på, at du vil tømme papirkurven for \"${title}\"?",
"manageLibraries": "Administrer biblioteker", "sort": "Sortér", "sortBy": "Sortér efter",
"filters": "Filtre", "confirmActionMessage": "Er du sikker på, at du vil udføre denne handling?",
"showLibrary": "Vis bibliotek", "hideLibrary": "Skjul bibliotek",
"libraryOptions": "Biblioteksindstillinger", "content": "biblioteksindhold",
"selectLibrary": "Vælg bibliotek", "filtersWithCount": "Filtre (${count})",
"noRecommendations": "Ingen anbefalinger tilgængelige",
"noCollections": "Ingen samlinger i dette bibliotek",
"noFoldersFound": "Ingen mapper fundet", "folders": "mapper",
"tabs": { "recommended": "Anbefalet", "browse": "Gennemse", "collections": "Samlinger", "playlists": "Playlister" },
"groupings": { "title": "Gruppering", "all": "Alle", "movies": "Film", "shows": "TV-serier", "seasons": "Sæsoner", "episodes": "Episoder", "folders": "Mapper" }
},
"about": {
"title": "Om", "openSourceLicenses": "Open source-licenser", "versionLabel": "Version ${version}",
"appDescription": "En smuk Plex-klient til Flutter",
"viewLicensesDescription": "Se licenser for tredjepartsbiblioteker"
},
"serverSelection": {
"allServerConnectionsFailed": "Kunne ikke forbinde til nogen servere. Tjek dit netværk og prøv igen.",
"noServersFoundForAccount": "Ingen servere fundet for ${username} (${email})",
"failedToLoadServers": "Kunne ikke indlæse servere: ${error}"
},
"hubDetail": { "title": "Titel", "releaseYear": "Udgivelsesår", "dateAdded": "Tilføjelsesdato", "rating": "Bedømmelse", "noItemsFound": "Ingen elementer fundet" },
"logs": { "clearLogs": "Ryd logs", "copyLogs": "Kopiér logs", "uploadLogs": "Upload logs", "error": "Fejl:", "stackTrace": "Staksporing:" },
"licenses": { "relatedPackages": "Relaterede pakker", "license": "Licens", "licenseNumber": "Licens ${number}", "licensesCount": "${count} licenser" },
"navigation": { "libraries": "Biblioteker", "downloads": "Downloads", "liveTv": "Live TV" },
"liveTv": {
"title": "Live TV", "channels": "Kanaler", "guide": "Guide", "noChannels": "Ingen kanaler tilgængelige",
"noDvr": "Ingen DVR konfigureret på nogen server", "tuneFailed": "Kunne ikke tune kanal",
"loading": "Indlæser kanaler...", "nowPlaying": "Afspiller nu", "noPrograms": "Ingen programdata tilgængelig",
"channelNumber": "Kn. ${number}", "live": "LIVE", "hd": "HD", "premiere": "NY",
"reloadGuide": "Genindlæs guide", "allChannels": "Alle kanaler", "now": "Nu", "today": "I dag",
"midnight": "Midnat", "overnight": "Nat", "morning": "Morgen", "daytime": "Dagtid",
"evening": "Aften", "lateNight": "Sen aften", "whatsOn": "Hvad der kører", "watchChannel": "Se kanal"
},
"collections": {
"title": "Samlinger", "collection": "Samling", "empty": "Samlingen er tom",
"unknownLibrarySection": "Kan ikke slette: Ukendt bibliotekssektion",
"deleteCollection": "Slet samling",
"deleteConfirm": "Er du sikker på, at du vil slette \"${title}\"? Denne handling kan ikke fortrydes.",
"deleted": "Samling slettet", "deleteFailed": "Kunne ikke slette samling",
"deleteFailedWithError": "Kunne ikke slette samling: ${error}",
"failedToLoadItems": "Kunne ikke indlæse samlingselementer: ${error}",
"selectCollection": "Vælg samling", "collectionName": "Samlingsnavn",
"enterCollectionName": "Indtast samlingsnavn", "addedToCollection": "Tilføjet til samling",
"errorAddingToCollection": "Kunne ikke tilføje til samling", "created": "Samling oprettet",
"removeFromCollection": "Fjern fra samling",
"removeFromCollectionConfirm": "Fjern \"${title}\" fra denne samling?",
"removedFromCollection": "Fjernet fra samling",
"removeFromCollectionFailed": "Kunne ikke fjerne fra samling",
"removeFromCollectionError": "Fejl ved fjernelse fra samling: ${error}"
},
"playlists": {
"title": "Playlister", "playlist": "Playliste", "noPlaylists": "Ingen playlister fundet",
"create": "Opret playliste", "playlistName": "Playlistenavn", "enterPlaylistName": "Indtast playlistenavn",
"delete": "Slet playliste", "removeItem": "Fjern fra playliste", "smartPlaylist": "Smart playliste",
"itemCount": "${count} elementer", "oneItem": "1 element", "emptyPlaylist": "Denne playliste er tom",
"deleteConfirm": "Slet playliste?", "deleteMessage": "Er du sikker på, at du vil slette \"${name}\"?",
"created": "Playliste oprettet", "deleted": "Playliste slettet",
"itemAdded": "Tilføjet til playliste", "itemRemoved": "Fjernet fra playliste",
"selectPlaylist": "Vælg playliste", "errorCreating": "Kunne ikke oprette playliste",
"errorDeleting": "Kunne ikke slette playliste", "errorLoading": "Kunne ikke indlæse playlister",
"errorAdding": "Kunne ikke tilføje til playliste",
"errorReordering": "Kunne ikke ændre rækkefølge på playlisteelement",
"errorRemoving": "Kunne ikke fjerne fra playliste"
},
"watchTogether": {
"title": "Se sammen", "description": "Se indhold synkroniseret med venner og familie",
"createSession": "Opret session", "creating": "Opretter...",
"joinSession": "Deltag i session", "joining": "Deltager...",
"controlMode": "Kontroltilstand", "controlModeQuestion": "Hvem kan styre afspilning?",
"hostOnly": "Kun vært", "anyone": "Alle", "hostingSession": "Vært for session",
"inSession": "I session", "sessionCode": "Sessionskode",
"hostControlsPlayback": "Vært styrer afspilning", "anyoneCanControl": "Alle kan styre afspilning",
"hostControls": "Værtskontrol", "anyoneControls": "Alle styrer",
"participants": "Deltagere", "host": "Vært", "hostBadge": "HOST",
"youAreHost": "Du er vært", "watchingWithOthers": "Ser med andre",
"endSession": "Afslut session", "leaveSession": "Forlad session",
"endSessionQuestion": "Afslut session?", "leaveSessionQuestion": "Forlad session?",
"endSessionConfirm": "Dette afslutter sessionen for alle deltagere.",
"leaveSessionConfirm": "Du vil blive fjernet fra sessionen.",
"endSessionConfirmOverlay": "Dette afslutter se-sessionen for alle deltagere.",
"leaveSessionConfirmOverlay": "Du vil blive afbrudt fra se-sessionen.",
"end": "Afslut", "leave": "Forlad", "syncing": "Synkroniserer...",
"joinWatchSession": "Deltag i se-session", "enterCodeHint": "Indtast 8-tegns kode",
"pasteFromClipboard": "Indsæt fra udklipsholder", "pleaseEnterCode": "Indtast en sessionskode",
"codeMustBe8Chars": "Sessionskode skal være 8 tegn",
"joinInstructions": "Indtast sessionskoden delt af værten for at deltage i se-sessionen.",
"failedToCreate": "Kunne ikke oprette session", "failedToJoin": "Kunne ikke deltage i session",
"sessionCodeCopied": "Sessionskode kopieret til udklipsholder",
"relayUnreachable": "Relay-serveren kan ikke nås. Dette kan skyldes, at din udbyder blokerer forbindelsen. Du kan stadig prøve, men Se sammen virker muligvis ikke.",
"reconnectingToHost": "Genopretter forbindelse til vært...",
"currentPlayback": "Nuværende afspilning", "joinCurrentPlayback": "Deltag i nuværende afspilning",
"joinCurrentPlaybackDescription": "Hop tilbage til det værten ser nu",
"failedToOpenCurrentPlayback": "Kunne ikke åbne nuværende afspilning",
"participantJoined": "${name} deltog", "participantLeft": "${name} forlod"
},
"downloads": {
"title": "Downloads", "manage": "Administrer", "tvShows": "TV-serier", "movies": "Film",
"noDownloads": "Ingen downloads endnu",
"noDownloadsDescription": "Downloadet indhold vises her til offlinevisning",
"downloadNow": "Download", "deleteDownload": "Slet download", "retryDownload": "Prøv download igen",
"downloadQueued": "Download i kø", "episodesQueued": "${count} episoder i downloadkø",
"downloadDeleted": "Download slettet",
"deleteConfirm": "Er du sikker på, at du vil slette \"${title}\"? Den downloadede fil fjernes fra din enhed.",
"deletingWithProgress": "Sletter ${title}... (${current} af ${total})",
"noDownloadsTree": "Ingen downloads", "pauseAll": "Pause alle", "resumeAll": "Genoptag alle", "deleteAll": "Slet alle"
},
"shaders": {
"title": "Shadere", "noShaderDescription": "Ingen videoforbedring",
"nvscalerDescription": "NVIDIA-billedskalering for skarpere video",
"qualityFast": "Hurtig", "qualityHQ": "Høj kvalitet", "mode": "Tilstand",
"importShader": "Importér shader", "customShaderDescription": "Brugerdefineret GLSL-shader",
"shaderImported": "Shader importeret", "shaderImportFailed": "Kunne ikke importere shader",
"deleteShader": "Slet shader", "deleteShaderConfirm": "Slet \"${name}\"?"
},
"companionRemote": {
"title": "Fjernbetjening", "connectToDevice": "Forbind til enhed",
"hostRemoteSession": "Vært for fjernsession",
"controlThisDevice": "Styr denne enhed med din telefon",
"remoteControl": "Fjernbetjening", "controlDesktop": "Styr en desktopenhed",
"connectedTo": "Forbundet til ${name}",
"session": {
"creatingSession": "Opretter fjernsession...", "failedToCreate": "Kunne ikke oprette fjernsession:",
"noSession": "Ingen session tilgængelig", "scanQrCode": "Scan QR-kode",
"orEnterManually": "Eller indtast manuelt", "hostAddress": "Værtadresse",
"sessionId": "Sessions-ID", "pin": "PIN", "connected": "Forbundet",
"waitingForConnection": "Venter på forbindelse...",
"usePhoneToControl": "Brug din mobilenhed til at styre denne app",
"copiedToClipboard": "${label} kopieret til udklipsholder",
"copyToClipboard": "Kopiér til udklipsholder", "newSession": "Ny session", "minimize": "Minimér"
},
"pairing": {
"scan": "Scan", "manual": "Manuel", "pairWithDesktop": "Par med desktop",
"enterSessionDetails": "Indtast sessionsdetaljerne vist på din desktopenhed",
"hostAddressHint": "192.168.1.100:48632", "sessionIdHint": "Indtast 8-tegns sessions-ID",
"pinHint": "Indtast 6-cifret PIN", "connecting": "Forbinder...", "tips": "Tips",
"tipDesktop": "Åbn Plezy på din desktop og aktivér fjernbetjening fra indstillinger eller menu",
"tipScan": "Brug fanen Scan til hurtigt at parre ved at scanne QR-koden på din desktop",
"tipWifi": "Sørg for, at begge enheder er på det samme WiFi-netværk",
"cameraPermissionRequired": "Kameratilladelse er påkrævet for at scanne QR-koder.\nGiv kameraadgang i enhedsindstillinger.",
"cameraError": "Kunne ikke starte kamera: ${error}",
"scanInstruction": "Ret kameraet mod QR-koden vist på din desktop",
"invalidQrCode": "Ugyldigt QR-kodeformat", "validationHostRequired": "Indtast værtadresse",
"validationHostFormat": "Format skal være IP:port (f.eks. 192.168.1.100:48632)",
"validationSessionIdRequired": "Indtast et sessions-ID",
"validationSessionIdLength": "Sessions-ID skal være 8 tegn",
"validationPinRequired": "Indtast en PIN", "validationPinLength": "PIN skal være 6 cifre",
"connectionTimedOut": "Forbindelsen fik timeout. Tjek sessions-ID og PIN.",
"sessionNotFound": "Kunne ikke finde sessionen. Tjek dine oplysninger.",
"failedToConnect": "Kunne ikke forbinde: ${error}"
},
"remote": {
"disconnectConfirm": "Vil du afbryde fra fjernsessionen?", "reconnecting": "Genopretter forbindelse...",
"attemptOf": "Forsøg ${current} af 5", "retryNow": "Prøv igen nu",
"connectionError": "Forbindelsesfejl", "notConnected": "Ikke forbundet",
"tabRemote": "Fjernbetjening", "tabPlay": "Afspil", "tabMore": "Mere", "menu": "Menu",
"tabNavigation": "Fanenavigation", "tabDiscover": "Opdag", "tabLibraries": "Biblioteker",
"tabSearch": "Søg", "tabDownloads": "Downloads", "tabSettings": "Indstillinger",
"previous": "Forrige", "playPause": "Afspil/Pause", "next": "Næste", "seekBack": "Spol tilbage",
"stop": "Stop", "seekForward": "Spol frem", "volume": "Lydstyrke", "volumeDown": "Ned",
"volumeUp": "Op", "fullscreen": "Fuldskærm", "subtitles": "Undertekster", "audio": "Lyd",
"searchHint": "Søg på desktop..."
}
},
"videoSettings": {
"playbackSettings": "Afspilningsindstillinger", "playbackSpeed": "Afspilningshastighed",
"sleepTimer": "Sove-timer", "audioSync": "Lydsynkronisering",
"subtitleSync": "Undertekstsynkronisering", "hdr": "HDR", "audioOutput": "Lydoutput",
"performanceOverlay": "Ydelsesoverlay", "audioPassthrough": "Lyd-passthrough",
"audioNormalization": "Lydnormalisering"
},
"externalPlayer": {
"title": "Ekstern afspiller", "useExternalPlayer": "Brug ekstern afspiller",
"useExternalPlayerDescription": "Åbn videoer i en ekstern app i stedet for den indbyggede afspiller",
"selectPlayer": "Vælg afspiller", "systemDefault": "Systemstandard",
"addCustomPlayer": "Tilføj brugerdefineret afspiller", "playerName": "Afspillernavn",
"playerCommand": "Kommando", "playerPackage": "Pakkenavn", "playerUrlScheme": "URL-skema",
"customPlayer": "Brugerdefineret afspiller", "off": "Fra",
"launchFailed": "Kunne ikke åbne ekstern afspiller",
"appNotInstalled": "${name} er ikke installeret", "playInExternalPlayer": "Afspil i ekstern afspiller"
},
"metadataEdit": {
"editMetadata": "Redigér...", "screenTitle": "Redigér metadata", "basicInfo": "Grundlæggende info",
"artwork": "Grafik", "advancedSettings": "Avancerede indstillinger", "title": "Titel",
"sortTitle": "Sorteringstitel", "originalTitle": "Originaltitel", "releaseDate": "Udgivelsesdato",
"contentRating": "Aldersgrænse", "studio": "Studie", "tagline": "Tagline", "summary": "Resumé",
"poster": "Plakat", "background": "Baggrund", "selectPoster": "Vælg plakat",
"selectBackground": "Vælg baggrund", "fromUrl": "Fra URL", "uploadFile": "Upload fil",
"enterImageUrl": "Indtast billed-URL", "imageUrl": "Billed-URL",
"metadataUpdated": "Metadata opdateret", "metadataUpdateFailed": "Kunne ikke opdatere metadata",
"artworkUpdated": "Grafik opdateret", "artworkUpdateFailed": "Kunne ikke opdatere grafik",
"noArtworkAvailable": "Ingen grafik tilgængelig", "notSet": "Ikke indstillet",
"libraryDefault": "Biblioteksstandard", "accountDefault": "Kontostandard",
"seriesDefault": "Seriestandard", "episodeSorting": "Episodesortering",
"oldestFirst": "Ældste først", "newestFirst": "Nyeste først", "keep": "Behold",
"allEpisodes": "Alle episoder", "latestEpisodes": "${count} seneste episoder",
"latestEpisode": "Seneste episode",
"episodesAddedPastDays": "Episoder tilføjet de seneste ${count} dage",
"deleteAfterPlaying": "Slet episoder efter afspilning", "never": "Aldrig",
"afterADay": "Efter en dag", "afterAWeek": "Efter en uge", "afterAMonth": "Efter en måned",
"onNextRefresh": "Ved næste opdatering", "seasons": "Sæsoner", "show": "Vis", "hide": "Skjul",
"episodeOrdering": "Episoderækkefølge", "tmdbAiring": "The Movie Database (Sendt)",
"tvdbAiring": "TheTVDB (Sendt)", "tvdbAbsolute": "TheTVDB (Absolut)",
"metadataLanguage": "Metadatasprog", "useOriginalTitle": "Brug originaltitel",
"preferredAudioLanguage": "Foretrukket lydsprog", "preferredSubtitleLanguage": "Foretrukket undertekstsprog",
"subtitleMode": "Auto-vælg underteksttilstand", "manuallySelected": "Manuelt valgt",
"shownWithForeignAudio": "Vist med fremmedsproget lyd", "alwaysEnabled": "Altid aktiveret"
}
}
+29 -14
View File
@@ -6,9 +6,6 @@
"signInWithPlex": "Mit Plex anmelden",
"showQRCode": "QR-Code anzeigen",
"authenticate": "Authentifizieren",
"debugEnterToken": "Debug: Plex-Token eingeben",
"plexTokenLabel": "Plex-Auth-Token",
"plexTokenHint": "Plex.tv-Token eingeben",
"authenticationTimeout": "Authentifizierung abgelaufen. Bitte erneut versuchen.",
"scanQRToSignIn": "QR-Code scannen zum Anmelden",
"waitingForAuth": "Warte auf Authentifizierung...\nBitte Anmeldung im Browser abschließen.",
@@ -181,6 +178,11 @@
"autoSkipCreditsDescription": "Abspann automatisch überspringen und nächste Episode abspielen",
"autoSkipDelay": "Verzögerung für automatisches Überspringen",
"autoSkipDelayDescription": "${seconds} Sekunden vor dem automatischen Überspringen warten",
"introPattern": "Intro-Markierungsmuster",
"introPatternDescription": "Regulärer Ausdruck zum Erkennen von Intro-Markierungen in Kapiteltiteln",
"creditsPattern": "Abspann-Markierungsmuster",
"creditsPatternDescription": "Regulärer Ausdruck zum Erkennen von Abspann-Markierungen in Kapiteltiteln",
"invalidRegex": "Ungültiger regulärer Ausdruck",
"downloads": "Downloads",
"downloadLocationDescription": "Speicherort für heruntergeladene Inhalte wählen",
"downloadLocationDefault": "Standard (App-Speicher)",
@@ -204,12 +206,14 @@
"autoPipDescription": "Automatisch Bild-in-Bild aktivieren, wenn die App während der Wiedergabe verlassen wird",
"matchContentFrameRate": "Inhalts-Bildrate anpassen",
"matchContentFrameRateDescription": "Bildwiederholfrequenz des Displays an den Videoinhalt anpassen, reduziert Ruckeln und spart Akku",
"tunneledPlayback": "Tunneled Playback",
"tunneledPlaybackDescription": "Use hardware-accelerated video tunneling. Disable if you see a black screen with audio on HDR content",
"tunneledPlayback": "Tunnelwiedergabe",
"tunneledPlaybackDescription": "Hardware-beschleunigte Video-Tunnelierung verwenden. Deaktivieren, wenn bei HDR-Inhalten ein schwarzer Bildschirm mit Ton erscheint",
"requireProfileSelectionOnOpen": "Profil beim Öffnen abfragen",
"requireProfileSelectionOnOpenDescription": "Profilauswahl bei jedem Öffnen der App anzeigen",
"confirmExitOnBack": "Vor dem Beenden bestätigen",
"confirmExitOnBackDescription": "Bestätigungsdialog anzeigen, wenn Zurück zum Beenden der App gedrückt wird"
"confirmExitOnBackDescription": "Bestätigungsdialog anzeigen, wenn Zurück zum Beenden der App gedrückt wird",
"showNavBarLabels": "Navigationsleisten-Beschriftungen anzeigen",
"showNavBarLabelsDescription": "Textbeschriftungen unter den Symbolen der Navigationsleiste anzeigen"
},
"search": {
"hint": "Filme, Serien, Musik suchen...",
@@ -366,8 +370,8 @@
},
"chapters": "Kapitel",
"noChaptersAvailable": "Keine Kapitel verfügbar",
"queue": "Queue",
"noQueueItems": "No items in queue"
"queue": "Warteschlange",
"noQueueItems": "Keine Elemente in der Warteschlange"
},
"userStatus": {
"admin": "Eigentümer",
@@ -406,9 +410,9 @@
"failedToCreatePlayQueueNoItems": "Wiedergabewarteschlange konnte nicht erstellt werden – keine Elemente",
"failedPlayback": "Wiedergabe für ${action} fehlgeschlagen: ${error}",
"switchingToCompatiblePlayer": "Wechsle zu kompatiblem Player...",
"logsUploaded": "Logs uploaded",
"logsUploadFailed": "Failed to upload logs",
"logId": "Log ID"
"logsUploaded": "Protokolle hochgeladen",
"logsUploadFailed": "Protokolle konnten nicht hochgeladen werden",
"logId": "Protokoll-ID"
},
"subtitlingStyling": {
"stylingOptions": "Stiloptionen",
@@ -515,6 +519,7 @@
"playlists": "Wiedergabelisten"
},
"groupings": {
"title": "Gruppierung",
"all": "Alle",
"movies": "Filme",
"shows": "Serien",
@@ -545,7 +550,7 @@
"logs": {
"clearLogs": "Protokolle löschen",
"copyLogs": "Protokolle kopieren",
"uploadLogs": "Upload Logs",
"uploadLogs": "Protokolle hochladen",
"error": "Fehler:",
"stackTrace": "Stacktrace:"
},
@@ -702,6 +707,10 @@
"sessionCodeCopied": "Sitzungscode in Zwischenablage kopiert",
"relayUnreachable": "Der Relay-Server ist nicht erreichbar. Möglicherweise blockiert dein Internetanbieter die Verbindung. Du kannst es trotzdem versuchen, aber Watch Together funktioniert eventuell nicht.",
"reconnectingToHost": "Verbindung zum Host wird wiederhergestellt...",
"currentPlayback": "Aktuelle Wiedergabe",
"joinCurrentPlayback": "Aktuelle Wiedergabe beitreten",
"joinCurrentPlaybackDescription": "Springe zurück zu dem, was der Host gerade ansieht",
"failedToOpenCurrentPlayback": "Aktuelle Wiedergabe konnte nicht geöffnet werden",
"participantJoined": "${name} ist beigetreten",
"participantLeft": "${name} hat die Sitzung verlassen"
},
@@ -711,10 +720,16 @@
"nvscalerDescription": "NVIDIA-Bildskalierung für schärferes Video",
"qualityFast": "Schnell",
"qualityHQ": "Hohe Qualität",
"mode": "Modus"
"mode": "Modus",
"importShader": "Shader importieren",
"customShaderDescription": "Benutzerdefinierter GLSL-Shader",
"shaderImported": "Shader importiert",
"shaderImportFailed": "Shader konnte nicht importiert werden",
"deleteShader": "Shader löschen",
"deleteShaderConfirm": "\"${name}\" löschen?"
},
"companionRemote": {
"title": "Companion Remote",
"title": "Companion-Fernbedienung",
"connectToDevice": "Mit Gerät verbinden",
"hostRemoteSession": "Fernsteuerungssitzung starten",
"controlThisDevice": "Dieses Gerät mit dem Handy steuern",
+20 -5
View File
@@ -6,9 +6,6 @@
"signInWithPlex": "Sign in with Plex",
"showQRCode": "Show QR Code",
"authenticate": "Authenticate",
"debugEnterToken": "Debug: Enter Plex Token",
"plexTokenLabel": "Plex Auth Token",
"plexTokenHint": "Enter your Plex.tv token",
"authenticationTimeout": "Authentication timed out. Please try again.",
"scanQRToSignIn": "Scan this QR code to sign in",
"waitingForAuth": "Waiting for authentication...\nPlease complete sign-in in your browser.",
@@ -181,6 +178,11 @@
"autoSkipCreditsDescription": "Automatically skip credits and play next episode",
"autoSkipDelay": "Auto Skip Delay",
"autoSkipDelayDescription": "Wait ${seconds} seconds before auto-skipping",
"introPattern": "Intro Marker Pattern",
"introPatternDescription": "Regex pattern to match intro markers in chapter titles",
"creditsPattern": "Credits Marker Pattern",
"creditsPatternDescription": "Regex pattern to match credits markers in chapter titles",
"invalidRegex": "Invalid regular expression",
"downloads": "Downloads",
"downloadLocationDescription": "Choose where to store downloaded content",
"downloadLocationDefault": "Default (App Storage)",
@@ -209,7 +211,9 @@
"requireProfileSelectionOnOpen": "Ask for profile on app open",
"requireProfileSelectionOnOpenDescription": "Show profile selection every time the app is opened",
"confirmExitOnBack": "Confirm before exiting",
"confirmExitOnBackDescription": "Show a confirmation dialog when pressing back to exit the app"
"confirmExitOnBackDescription": "Show a confirmation dialog when pressing back to exit the app",
"showNavBarLabels": "Show Navigation Bar Labels",
"showNavBarLabelsDescription": "Display text labels under navigation bar icons"
},
"search": {
"hint": "Search movies, shows, music...",
@@ -515,6 +519,7 @@
"playlists": "Playlists"
},
"groupings": {
"title": "Grouping",
"all": "All",
"movies": "Movies",
"shows": "TV Shows",
@@ -682,6 +687,10 @@
"sessionCodeCopied": "Session code copied to clipboard",
"relayUnreachable": "The relay server is unreachable. This may be caused by your ISP blocking the connection. You can still try, but Watch Together may not work.",
"reconnectingToHost": "Reconnecting to host...",
"currentPlayback": "Current Playback",
"joinCurrentPlayback": "Join Current Playback",
"joinCurrentPlaybackDescription": "Jump back into what the host is currently watching",
"failedToOpenCurrentPlayback": "Failed to open current playback",
"participantJoined": "${name} joined",
"participantLeft": "${name} left"
},
@@ -711,7 +720,13 @@
"nvscalerDescription": "NVIDIA image scaling for sharper video",
"qualityFast": "Fast",
"qualityHQ": "High Quality",
"mode": "Mode"
"mode": "Mode",
"importShader": "Import Shader",
"customShaderDescription": "Custom GLSL shader",
"shaderImported": "Shader imported",
"shaderImportFailed": "Failed to import shader",
"deleteShader": "Delete Shader",
"deleteShaderConfirm": "Delete \"${name}\"?"
},
"companionRemote": {
"title": "Companion Remote",
+30 -15
View File
@@ -6,9 +6,6 @@
"signInWithPlex": "Inicia sesión con Plex",
"showQRCode": "Mostrar código QR",
"authenticate": "Autenticar",
"debugEnterToken": "Debug: Ingresar Token de Plex",
"plexTokenLabel": "Token de Autenticación de Plex",
"plexTokenHint": "Ingresa tu token de Plex.tv",
"authenticationTimeout": "Tiempo de autenticación agotado. Por favor, intenta de nuevo.",
"scanQRToSignIn": "Escanea este código QR para iniciar sesión",
"waitingForAuth": "Esperando autenticación...\nPor favor completa el inicio de sesión en tu navegador.",
@@ -181,6 +178,11 @@
"autoSkipCreditsDescription": "Saltar automáticamente los créditos y reproducir el siguiente episodio",
"autoSkipDelay": "Retraso de Salto automático",
"autoSkipDelayDescription": "Esperar ${seconds} segundos antes de saltar automáticamente",
"introPattern": "Patrón de marcador de intro",
"introPatternDescription": "Expresión regular para reconocer marcadores de intro en los títulos de capítulos",
"creditsPattern": "Patrón de marcador de créditos",
"creditsPatternDescription": "Expresión regular para reconocer marcadores de créditos en los títulos de capítulos",
"invalidRegex": "Expresión regular no válida",
"downloads": "Descargas",
"downloadLocationDescription": "Elegir dónde almacenar el contenido descargado",
"downloadLocationDefault": "Predeterminado (Almacenamiento de la App)",
@@ -204,12 +206,14 @@
"autoPipDescription": "Activar automáticamente imagen en imagen al salir de la app durante la reproducción",
"matchContentFrameRate": "Ajustar frecuencia de actualización",
"matchContentFrameRateDescription": "Ajustar la frecuencia de actualización de la pantalla para que coincida con el video, reduciendo tirones y ahorrando batería",
"tunneledPlayback": "Tunneled Playback",
"tunneledPlaybackDescription": "Use hardware-accelerated video tunneling. Disable if you see a black screen with audio on HDR content",
"tunneledPlayback": "Reproducción tunelizada",
"tunneledPlaybackDescription": "Usar tunelización de video acelerada por hardware. Desactivar si ves una pantalla negra con audio en contenido HDR",
"requireProfileSelectionOnOpen": "Pedir perfil al abrir la app",
"requireProfileSelectionOnOpenDescription": "Mostrar selección de perfil cada vez que se abre la aplicación",
"confirmExitOnBack": "Confirmar antes de salir",
"confirmExitOnBackDescription": "Mostrar un diálogo de confirmación al presionar atrás para salir de la app"
"confirmExitOnBackDescription": "Mostrar un diálogo de confirmación al presionar atrás para salir de la app",
"showNavBarLabels": "Mostrar etiquetas de la barra de navegación",
"showNavBarLabelsDescription": "Mostrar etiquetas de texto bajo los iconos de la barra de navegación"
},
"search": {
"hint": "Buscar películas, series, música...",
@@ -366,8 +370,8 @@
},
"chapters": "Capítulos",
"noChaptersAvailable": "No hay capítulos disponibles",
"queue": "Queue",
"noQueueItems": "No items in queue"
"queue": "Cola",
"noQueueItems": "No hay elementos en la cola"
},
"userStatus": {
"admin": "Administrador",
@@ -406,9 +410,9 @@
"failedToCreatePlayQueueNoItems": "Error al crear la cola de reproducción - no hay elementos",
"failedPlayback": "Error al ${action}: ${error}",
"switchingToCompatiblePlayer": "Cambiando a reproductor compatible...",
"logsUploaded": "Logs uploaded",
"logsUploadFailed": "Failed to upload logs",
"logId": "Log ID"
"logsUploaded": "Registros subidos",
"logsUploadFailed": "Error al subir registros",
"logId": "ID de registro"
},
"subtitlingStyling": {
"stylingOptions": "Opciones de Estilo",
@@ -418,7 +422,7 @@
"borderColor": "Color de Borde",
"backgroundOpacity": "Opacidad de Fondo",
"backgroundColor": "Color de Fondo",
"position": "Position"
"position": "Posición"
},
"mpvConfig": {
"title": "Configuración de mpv",
@@ -515,6 +519,7 @@
"playlists": "Listas"
},
"groupings": {
"title": "Agrupación",
"all": "Todo",
"movies": "Películas",
"shows": "Series",
@@ -545,7 +550,7 @@
"logs": {
"clearLogs": "Borrar Logs",
"copyLogs": "Copiar Logs",
"uploadLogs": "Upload Logs",
"uploadLogs": "Subir registros",
"error": "Error:",
"stackTrace": "Traza de la pila (Stack Trace):"
},
@@ -682,6 +687,10 @@
"sessionCodeCopied": "Código de sesión copiado al portapapeles",
"relayUnreachable": "El servidor de retransmisión no está disponible. Esto puede deberse a que tu proveedor de internet bloquea la conexión. Puedes intentarlo de todos modos, pero Watch Together podría no funcionar.",
"reconnectingToHost": "Reconectando con el anfitrión...",
"currentPlayback": "Reproducción actual",
"joinCurrentPlayback": "Unirse a la reproducción actual",
"joinCurrentPlaybackDescription": "Vuelve a lo que el anfitrión está viendo ahora mismo",
"failedToOpenCurrentPlayback": "No se pudo abrir la reproducción actual",
"participantJoined": "${name} se unió",
"participantLeft": "${name} se fue"
},
@@ -711,10 +720,16 @@
"nvscalerDescription": "Escalado de imagen NVIDIA para un video más nítido",
"qualityFast": "Rápido",
"qualityHQ": "Alta Calidad",
"mode": "Modo"
"mode": "Modo",
"importShader": "Importar shader",
"customShaderDescription": "Shader GLSL personalizado",
"shaderImported": "Shader importado",
"shaderImportFailed": "Error al importar shader",
"deleteShader": "Eliminar shader",
"deleteShaderConfirm": "¿Eliminar \"${name}\"?"
},
"companionRemote": {
"title": "Companion Remote",
"title": "Control remoto",
"connectToDevice": "Conectar a dispositivo",
"hostRemoteSession": "Iniciar sesión remota",
"controlThisDevice": "Controla este dispositivo con tu teléfono",
+36 -21
View File
@@ -6,9 +6,6 @@
"signInWithPlex": "S'inscrire avec Plex",
"showQRCode": "Afficher le QR Code",
"authenticate": "S'authentifier",
"debugEnterToken": "Debug: Entrez votre token Plex",
"plexTokenLabel": "Token d'authentification Plex",
"plexTokenHint": "Entrez votre token Plex.tv",
"authenticationTimeout": "Délai d'authentification expiré. Veuillez réessayer.",
"scanQRToSignIn": "Scannez ce QR code pour vous connecter",
"waitingForAuth": "En attente d'authentification...\nVeuillez vous connecter dans votre navigateur.",
@@ -98,8 +95,8 @@
"durationHint": "Entrez la durée (${min}-${max})",
"systemTheme": "Système",
"systemThemeDescription": "Suivre les paramètres système",
"lightTheme": "Light",
"darkTheme": "Dark",
"lightTheme": "Clair",
"darkTheme": "Sombre",
"oledTheme": "OLED",
"oledThemeDescription": "Noir pur pour les écrans OLED",
"libraryDensity": "Densité des bibliothèques",
@@ -138,8 +135,8 @@
"bufferSizeWarning": "Votre appareil dispose de ${heap}MB de mémoire. Un tampon de ${size}MB peut causer des problèmes de lecture.",
"subtitleStyling": "Stylisation des sous-titres",
"subtitleStylingDescription": "Personnaliser l'apparence des sous-titres",
"smallSkipDuration": "Small Skip Duration",
"largeSkipDuration": "Large Skip Duration",
"smallSkipDuration": "Durée du petit saut",
"largeSkipDuration": "Durée du grand saut",
"secondsUnit": "${seconds} secondes",
"defaultSleepTimer": "Minuterie de mise en veille par défaut",
"minutesUnit": "${minutes} minutes",
@@ -181,6 +178,11 @@
"autoSkipCreditsDescription": "Passer les crédits et passer à l'épisode suivant automatiquement",
"autoSkipDelay": "Délai avant skip automatique",
"autoSkipDelayDescription": "Attendre ${seconds} secondes avant l'auto-skip",
"introPattern": "Modèle de marqueur d'intro",
"introPatternDescription": "Expression régulière pour reconnaître les marqueurs d'intro dans les titres de chapitres",
"creditsPattern": "Modèle de marqueur de générique",
"creditsPatternDescription": "Expression régulière pour reconnaître les marqueurs de générique dans les titres de chapitres",
"invalidRegex": "Expression régulière invalide",
"downloads": "Téléchargement",
"downloadLocationDescription": "Choisissez où stocker le contenu téléchargé",
"downloadLocationDefault": "Par défaut (stockage de l'application)",
@@ -204,12 +206,14 @@
"autoPipDescription": "Activer automatiquement l'image dans l'image en quittant l'application pendant la lecture",
"matchContentFrameRate": "Fréquence d'images du contenu correspondant",
"matchContentFrameRateDescription": "Ajustez la fréquence de rafraîchissement de l'écran en fonction du contenu vidéo, ce qui réduit les saccades et économise la batterie",
"tunneledPlayback": "Tunneled Playback",
"tunneledPlaybackDescription": "Use hardware-accelerated video tunneling. Disable if you see a black screen with audio on HDR content",
"tunneledPlayback": "Lecture tunnelée",
"tunneledPlaybackDescription": "Utiliser le tunnelage vidéo accéléré par matériel. Désactiver si vous voyez un écran noir avec du son sur du contenu HDR",
"requireProfileSelectionOnOpen": "Demander le profil à l'ouverture",
"requireProfileSelectionOnOpenDescription": "Afficher la sélection de profil à chaque ouverture de l'application",
"confirmExitOnBack": "Confirmer avant de quitter",
"confirmExitOnBackDescription": "Afficher une boîte de dialogue de confirmation en appuyant sur retour pour quitter"
"confirmExitOnBackDescription": "Afficher une boîte de dialogue de confirmation en appuyant sur retour pour quitter",
"showNavBarLabels": "Afficher les libellés de la barre de navigation",
"showNavBarLabelsDescription": "Afficher les libellés sous les icônes de la barre de navigation"
},
"search": {
"hint": "Rechercher des films, des séries, de la musique...",
@@ -264,7 +268,7 @@
"colorRange": "Gamme de couleurs",
"colorPrimaries": "Couleurs primaires",
"chromaSubsampling": "Sous-échantillonnage chromatique",
"channels": "Channels",
"channels": "Canaux",
"path": "Chemin",
"size": "Taille",
"container": "Conteneur",
@@ -348,7 +352,7 @@
"ambientLightingOff": "Désactiver l'éclairage ambiant",
"fullscreenButton": "Passer en mode plein écran",
"exitFullscreenButton": "Quitter le mode plein écran",
"alwaysOnTopButton": "Always on top",
"alwaysOnTopButton": "Toujours au premier plan",
"rotationLockButton": "Verrouillage de rotation",
"timelineSlider": "Timeline vidéo",
"volumeSlider": "Niveau sonore",
@@ -366,8 +370,8 @@
},
"chapters": "Chapitres",
"noChaptersAvailable": "Aucun chapitre disponible",
"queue": "Queue",
"noQueueItems": "No items in queue"
"queue": "File d'attente",
"noQueueItems": "Aucun élément dans la file d'attente"
},
"userStatus": {
"admin": "Admin",
@@ -406,9 +410,9 @@
"failedToCreatePlayQueueNoItems": "Échec de la création de la file d'attente de lecture - aucun élément",
"failedPlayback": "Echec de ${action}: ${error}",
"switchingToCompatiblePlayer": "Passage au lecteur compatible...",
"logsUploaded": "Logs uploaded",
"logsUploadFailed": "Failed to upload logs",
"logId": "Log ID"
"logsUploaded": "Logs envoyés",
"logsUploadFailed": "Échec de l'envoi des logs",
"logId": "ID du log"
},
"subtitlingStyling": {
"stylingOptions": "Options de style",
@@ -515,6 +519,7 @@
"playlists": "Playlists"
},
"groupings": {
"title": "Regroupement",
"all": "Tous",
"movies": "Films",
"shows": "Show TV",
@@ -545,7 +550,7 @@
"logs": {
"clearLogs": "Effacer les logs",
"copyLogs": "Copier les logs",
"uploadLogs": "Upload Logs",
"uploadLogs": "Envoyer les logs",
"error": "Erreur:",
"stackTrace": "Liste des appels:"
},
@@ -629,7 +634,7 @@
"deleted": "Playlist supprimée",
"itemAdded": "Ajouté à la playlist",
"itemRemoved": "Retiré de la playlist",
"selectPlaylist": "Select Playlist",
"selectPlaylist": "Sélectionner une playlist",
"errorCreating": "Échec de la création de playlist",
"errorDeleting": "Échec de suppression de playlist",
"errorLoading": "Échec de chargement de playlists",
@@ -682,6 +687,10 @@
"sessionCodeCopied": "Code de session copié dans le presse-papiers",
"relayUnreachable": "Le serveur relais est inaccessible. Cela peut être dû au blocage de la connexion par votre fournisseur d'accès. Vous pouvez quand même essayer, mais Watch Together pourrait ne pas fonctionner.",
"reconnectingToHost": "Reconnexion à l'hôte...",
"currentPlayback": "Lecture en cours",
"joinCurrentPlayback": "Rejoindre la lecture en cours",
"joinCurrentPlaybackDescription": "Revenez à ce que l'hôte regarde actuellement",
"failedToOpenCurrentPlayback": "Impossible d'ouvrir la lecture en cours",
"participantJoined": "${name} a rejoint",
"participantLeft": "${name} est parti"
},
@@ -711,10 +720,16 @@
"nvscalerDescription": "Mise à l'échelle NVIDIA pour une vidéo plus nette",
"qualityFast": "Rapide",
"qualityHQ": "Haute qualité",
"mode": "Mode"
"mode": "Mode",
"importShader": "Importer un shader",
"customShaderDescription": "Shader GLSL personnalisé",
"shaderImported": "Shader importé",
"shaderImportFailed": "Échec de l'importation du shader",
"deleteShader": "Supprimer le shader",
"deleteShaderConfirm": "Supprimer \"${name}\" ?"
},
"companionRemote": {
"title": "Companion Remote",
"title": "Télécommande compagnon",
"connectToDevice": "Se connecter à un appareil",
"hostRemoteSession": "Héberger une session distante",
"controlThisDevice": "Contrôlez cet appareil avec votre téléphone",
+30 -15
View File
@@ -6,9 +6,6 @@
"signInWithPlex": "Accedi con Plex",
"showQRCode": "Mostra QR Code",
"authenticate": "Autenticazione",
"debugEnterToken": "Debug: Inserisci Token Plex",
"plexTokenLabel": "Token Auth Plex",
"plexTokenHint": "Inserisci il tuo token di Plex.tv",
"authenticationTimeout": "Autenticazione scaduta. Riprova.",
"scanQRToSignIn": "Scansiona il QR code per accedere",
"waitingForAuth": "In attesa di autenticazione...\nCompleta l'accesso dal tuo browser.",
@@ -181,6 +178,11 @@
"autoSkipCreditsDescription": "Salta automaticamente i crediti e riproduci l'episodio successivo",
"autoSkipDelay": "Ritardo Salto Automatico",
"autoSkipDelayDescription": "Aspetta ${seconds} secondi prima del salto automatico",
"introPattern": "Pattern marcatore intro",
"introPatternDescription": "Espressione regolare per riconoscere i marcatori intro nei titoli dei capitoli",
"creditsPattern": "Pattern marcatore titoli di coda",
"creditsPatternDescription": "Espressione regolare per riconoscere i marcatori dei titoli di coda nei capitoli",
"invalidRegex": "Espressione regolare non valida",
"downloads": "Download",
"downloadLocationDescription": "Scegli dove salvare i contenuti scaricati",
"downloadLocationDefault": "Predefinita (Archiviazione App)",
@@ -204,12 +206,14 @@
"autoPipDescription": "Attiva automaticamente il picture-in-picture quando si esce dall'app durante la riproduzione",
"matchContentFrameRate": "Adatta frequenza fotogrammi",
"matchContentFrameRateDescription": "Regola la frequenza di aggiornamento del display in base al contenuto video, riducendo i tremolii e risparmiando batteria",
"tunneledPlayback": "Tunneled Playback",
"tunneledPlaybackDescription": "Use hardware-accelerated video tunneling. Disable if you see a black screen with audio on HDR content",
"tunneledPlayback": "Riproduzione tunnelizzata",
"tunneledPlaybackDescription": "Usa il tunneling video accelerato dall'hardware. Disattiva se vedi uno schermo nero con audio su contenuti HDR",
"requireProfileSelectionOnOpen": "Chiedi profilo all'apertura",
"requireProfileSelectionOnOpenDescription": "Mostra la selezione del profilo ogni volta che l'app viene aperta",
"confirmExitOnBack": "Conferma prima di uscire",
"confirmExitOnBackDescription": "Mostra una finestra di conferma quando si preme indietro per uscire dall'app"
"confirmExitOnBackDescription": "Mostra una finestra di conferma quando si preme indietro per uscire dall'app",
"showNavBarLabels": "Mostra etichette barra di navigazione",
"showNavBarLabelsDescription": "Mostra le etichette sotto le icone della barra di navigazione"
},
"search": {
"hint": "Cerca film. spettacoli, musica...",
@@ -366,8 +370,8 @@
},
"chapters": "Capitoli",
"noChaptersAvailable": "Nessun capitolo disponibile",
"queue": "Queue",
"noQueueItems": "No items in queue"
"queue": "Coda",
"noQueueItems": "Nessun elemento in coda"
},
"userStatus": {
"admin": "Admin",
@@ -406,9 +410,9 @@
"failedToCreatePlayQueueNoItems": "Impossibile creare la coda di riproduzione - nessun elemento",
"failedPlayback": "Impossibile ${action}: ${error}",
"switchingToCompatiblePlayer": "Passaggio al lettore compatibile...",
"logsUploaded": "Logs uploaded",
"logsUploadFailed": "Failed to upload logs",
"logId": "Log ID"
"logsUploaded": "Log caricati",
"logsUploadFailed": "Caricamento log fallito",
"logId": "ID log"
},
"subtitlingStyling": {
"stylingOptions": "Opzioni stile",
@@ -418,7 +422,7 @@
"borderColor": "Colore bordo",
"backgroundOpacity": "Opacità sfondo",
"backgroundColor": "Colore sfondo",
"position": "Position"
"position": "Posizione"
},
"mpvConfig": {
"title": "Configurazione mpv",
@@ -515,6 +519,7 @@
"playlists": "Playlist"
},
"groupings": {
"title": "Raggruppamento",
"all": "Tutti",
"movies": "Film",
"shows": "Serie TV",
@@ -545,7 +550,7 @@
"logs": {
"clearLogs": "Cancella log",
"copyLogs": "Copia log",
"uploadLogs": "Upload Logs",
"uploadLogs": "Carica log",
"error": "Errore:",
"stackTrace": "Traccia dello stack:"
},
@@ -702,6 +707,10 @@
"sessionCodeCopied": "Codice sessione copiato negli appunti",
"relayUnreachable": "Il server di inoltro non è raggiungibile. Questo potrebbe essere causato dal blocco della connessione da parte del tuo provider. Puoi comunque provare, ma Watch Together potrebbe non funzionare.",
"reconnectingToHost": "Riconnessione all'host...",
"currentPlayback": "Riproduzione corrente",
"joinCurrentPlayback": "Unisciti alla riproduzione corrente",
"joinCurrentPlaybackDescription": "Torna a ciò che l'host sta guardando in questo momento",
"failedToOpenCurrentPlayback": "Impossibile aprire la riproduzione corrente",
"participantJoined": "${name} si è unito",
"participantLeft": "${name} se ne è andato"
},
@@ -711,10 +720,16 @@
"nvscalerDescription": "Ridimensionamento NVIDIA per video più nitido",
"qualityFast": "Veloce",
"qualityHQ": "Alta qualità",
"mode": "Modalità"
"mode": "Modalità",
"importShader": "Importa shader",
"customShaderDescription": "Shader GLSL personalizzato",
"shaderImported": "Shader importato",
"shaderImportFailed": "Importazione shader fallita",
"deleteShader": "Elimina shader",
"deleteShaderConfirm": "Eliminare \"${name}\"?"
},
"companionRemote": {
"title": "Companion Remote",
"title": "Telecomando",
"connectToDevice": "Connetti a un dispositivo",
"hostRemoteSession": "Ospita sessione remota",
"controlThisDevice": "Controlla questo dispositivo con il tuo telefono",
+905
View File
@@ -0,0 +1,905 @@
{
"app": {
"title": "Plezy"
},
"auth": {
"signInWithPlex": "Plexでサインイン",
"showQRCode": "QRコードを表示",
"authenticate": "認証",
"authenticationTimeout": "認証がタイムアウトしました。もう一度お試しください。",
"scanQRToSignIn": "このQRコードをスキャンしてサインイン",
"waitingForAuth": "認証を待機中...\nブラウザでサインインを完了してください。",
"useBrowser": "ブラウザを使用"
},
"common": {
"cancel": "キャンセル",
"save": "保存",
"close": "閉じる",
"clear": "クリア",
"reset": "リセット",
"later": "後で",
"submit": "送信",
"confirm": "確認",
"retry": "再試行",
"logout": "ログアウト",
"unknown": "不明",
"refresh": "更新",
"yes": "はい",
"no": "いいえ",
"delete": "削除",
"shuffle": "シャッフル",
"addTo": "追加...",
"createNew": "新規作成",
"remove": "削除",
"paste": "貼り付け",
"connect": "接続",
"disconnect": "切断",
"play": "再生",
"pause": "一時停止",
"resume": "再開",
"error": "エラー",
"search": "検索",
"home": "ホーム",
"back": "戻る",
"settings": "設定",
"mute": "ミュート",
"ok": "OK",
"loading": "読み込み中...",
"reconnect": "再接続",
"exitConfirmTitle": "アプリを終了しますか?",
"exitConfirmMessage": "終了してもよろしいですか?",
"dontAskAgain": "次回から表示しない",
"exit": "終了",
"viewAll": "すべて表示",
"checkingNetwork": "ネットワークを確認中...",
"refreshingServers": "サーバーを更新中...",
"loadingServers": "サーバーを読み込み中...",
"connectingToServers": "サーバーに接続中...",
"startingOfflineMode": "オフラインモードを開始中..."
},
"screens": {
"licenses": "ライセンス",
"switchProfile": "プロフィール切替",
"subtitleStyling": "字幕スタイル",
"mpvConfig": "mpv.conf",
"logs": "ログ"
},
"update": {
"available": "アップデート利用可能",
"versionAvailable": "バージョン ${version} が利用可能です",
"currentVersion": "現在: ${version}",
"skipVersion": "このバージョンをスキップ",
"viewRelease": "リリースを表示",
"latestVersion": "最新バージョンです",
"checkFailed": "アップデートの確認に失敗しました"
},
"settings": {
"title": "設定",
"language": "言語",
"theme": "テーマ",
"appearance": "外観",
"videoPlayback": "動画再生",
"advanced": "詳細",
"episodePosterMode": "エピソードポスタースタイル",
"seriesPoster": "シリーズポスター",
"seriesPosterDescription": "すべてのエピソードにシリーズポスターを表示",
"seasonPoster": "シーズンポスター",
"seasonPosterDescription": "エピソードにシーズン固有のポスターを表示",
"episodeThumbnail": "エピソードサムネイル",
"episodeThumbnailDescription": "16:9のエピソードスクリーンショットサムネイルを表示",
"showHeroSectionDescription": "ホーム画面に注目コンテンツのカルーセルを表示",
"secondsLabel": "秒",
"minutesLabel": "分",
"secondsShort": "秒",
"minutesShort": "分",
"durationHint": "時間を入力 (${min}-${max})",
"systemTheme": "システム",
"systemThemeDescription": "システム設定に従う",
"lightTheme": "ライト",
"darkTheme": "ダーク",
"oledTheme": "OLED",
"oledThemeDescription": "OLED画面向けの純粋な黒",
"libraryDensity": "ライブラリの密度",
"compact": "コンパクト",
"compactDescription": "小さいカード、より多くのアイテムを表示",
"normal": "標準",
"normalDescription": "デフォルトサイズ",
"comfortable": "ゆったり",
"comfortableDescription": "大きいカード、表示アイテム数を減少",
"viewMode": "表示モード",
"gridView": "グリッド",
"gridViewDescription": "グリッドレイアウトでアイテムを表示",
"listView": "リスト",
"listViewDescription": "リストレイアウトでアイテムを表示",
"showHeroSection": "ヒーローセクションを表示",
"useGlobalHubs": "Plex Homeレイアウトを使用",
"useGlobalHubsDescription": "公式Plexクライアントのようにホームページのハブを表示。オフにすると、ライブラリごとのおすすめを表示。",
"showServerNameOnHubs": "ハブにサーバー名を表示",
"showServerNameOnHubsDescription": "ハブタイトルに常にサーバー名を表示。オフにすると、重複名のみ表示。",
"alwaysKeepSidebarOpen": "サイドバーを常に開いておく",
"alwaysKeepSidebarOpenDescription": "サイドバーを展開したまま、コンテンツ領域が調整される",
"showUnwatchedCount": "未視聴数を表示",
"showUnwatchedCountDescription": "番組とシーズンに未視聴エピソード数を表示",
"hideSpoilers": "未視聴エピソードのネタバレを非表示",
"hideSpoilersDescription": "まだ視聴していないエピソードのサムネイルをぼかし、説明を非表示",
"playerBackend": "プレーヤーバックエンド",
"exoPlayer": "ExoPlayer(推奨)",
"exoPlayerDescription": "より良いハードウェアサポートのAndroidネイティブプレーヤー",
"mpv": "mpv",
"mpvDescription": "より多くの機能とASS字幕サポートの高度なプレーヤー",
"hardwareDecoding": "ハードウェアデコード",
"hardwareDecodingDescription": "利用可能な場合にハードウェアアクセラレーションを使用",
"bufferSize": "バッファサイズ",
"bufferSizeMB": "${size}MB",
"bufferSizeAuto": "自動(推奨)",
"bufferSizeWarning": "デバイスのメモリは${heap}MBです。${size}MBのバッファは再生の問題を引き起こす可能性があります。",
"subtitleStyling": "字幕スタイル",
"subtitleStylingDescription": "字幕の外観をカスタマイズ",
"smallSkipDuration": "短いスキップ時間",
"largeSkipDuration": "長いスキップ時間",
"secondsUnit": "${seconds}秒",
"defaultSleepTimer": "デフォルトスリープタイマー",
"minutesUnit": "${minutes}分",
"rememberTrackSelections": "番組/映画ごとにトラック選択を記憶",
"rememberTrackSelectionsDescription": "再生中にトラックを変更すると、音声と字幕の言語設定を自動保存",
"clickVideoTogglesPlayback": "動画クリックで再生/一時停止を切替",
"clickVideoTogglesPlaybackDescription": "有効にすると、動画プレーヤーをクリックで再生/一時停止。それ以外は再生コントロールの表示/非表示。",
"videoPlayerControls": "動画プレーヤーコントロール",
"keyboardShortcuts": "キーボードショートカット",
"keyboardShortcutsDescription": "キーボードショートカットをカスタマイズ",
"videoPlayerNavigation": "動画プレーヤーナビゲーション",
"videoPlayerNavigationDescription": "矢印キーで動画プレーヤーコントロールを操作",
"crashReporting": "クラッシュレポート",
"crashReportingDescription": "アプリの改善に役立つクラッシュレポートを送信",
"debugLogging": "デバッグログ",
"debugLoggingDescription": "トラブルシューティング用の詳細なログを有効化",
"viewLogs": "ログを表示",
"viewLogsDescription": "アプリケーションログを表示",
"clearCache": "キャッシュをクリア",
"clearCacheDescription": "キャッシュされたすべての画像とデータをクリアします。クリア後、コンテンツの読み込みに時間がかかる場合があります。",
"clearCacheSuccess": "キャッシュを正常にクリアしました",
"resetSettings": "設定をリセット",
"resetSettingsDescription": "すべての設定をデフォルト値にリセットします。この操作は元に戻せません。",
"resetSettingsSuccess": "設定を正常にリセットしました",
"shortcutsReset": "ショートカットをデフォルトにリセットしました",
"about": "アプリについて",
"aboutDescription": "アプリ情報とライセンス",
"updates": "アップデート",
"updateAvailable": "アップデート利用可能",
"checkForUpdates": "アップデートを確認",
"validationErrorEnterNumber": "有効な数値を入力してください",
"validationErrorDuration": "時間は${min}から${max} ${unit}の間である必要があります",
"shortcutAlreadyAssigned": "ショートカットは既に${action}に割り当てられています",
"shortcutUpdated": "${action}のショートカットを更新しました",
"autoSkip": "自動スキップ",
"autoSkipIntro": "イントロを自動スキップ",
"autoSkipIntroDescription": "数秒後にイントロマーカーを自動的にスキップ",
"autoSkipCredits": "クレジットを自動スキップ",
"autoSkipCreditsDescription": "クレジットを自動的にスキップして次のエピソードを再生",
"autoSkipDelay": "自動スキップの遅延",
"autoSkipDelayDescription": "自動スキップまで${seconds}秒待機",
"introPattern": "イントロマーカーパターン",
"introPatternDescription": "チャプタータイトルのイントロマーカーに一致する正規表現パターン",
"creditsPattern": "クレジットマーカーパターン",
"creditsPatternDescription": "チャプタータイトルのクレジットマーカーに一致する正規表現パターン",
"invalidRegex": "無効な正規表現",
"downloads": "ダウンロード",
"downloadLocationDescription": "ダウンロードコンテンツの保存場所を選択",
"downloadLocationDefault": "デフォルト(アプリストレージ)",
"downloadLocationCustom": "カスタムの場所",
"selectFolder": "フォルダを選択",
"resetToDefault": "デフォルトに戻す",
"currentPath": "現在: ${path}",
"downloadLocationChanged": "ダウンロード場所を変更しました",
"downloadLocationReset": "ダウンロード場所をデフォルトにリセットしました",
"downloadLocationInvalid": "選択したフォルダは書き込みできません",
"downloadLocationSelectError": "フォルダの選択に失敗しました",
"downloadOnWifiOnly": "WiFiのみでダウンロード",
"downloadOnWifiOnlyDescription": "モバイルデータ通信時のダウンロードを防止",
"cellularDownloadBlocked": "モバイルデータ通信ではダウンロードが無効です。WiFiに接続するか設定を変更してください。",
"maxVolume": "最大音量",
"maxVolumeDescription": "静かなメディアに対して100%以上の音量ブーストを許可",
"maxVolumePercent": "${percent}%",
"discordRichPresence": "Discord Rich Presence",
"discordRichPresenceDescription": "Discordで視聴中の内容を表示",
"autoPip": "自動ピクチャーインピクチャー",
"autoPipDescription": "再生中にアプリを離れると自動的にピクチャーインピクチャーに移行",
"matchContentFrameRate": "コンテンツのフレームレートに合わせる",
"matchContentFrameRateDescription": "動画コンテンツに合わせてディスプレイのリフレッシュレートを調整し、ジャダーを低減しバッテリーを節約",
"tunneledPlayback": "トンネル再生",
"tunneledPlaybackDescription": "ハードウェアアクセラレーションされたビデオトンネリングを使用。HDRコンテンツで音声のみで画面が黒くなる場合は無効にしてください",
"requireProfileSelectionOnOpen": "アプリ起動時にプロフィールを確認",
"requireProfileSelectionOnOpenDescription": "アプリを開くたびにプロフィール選択を表示",
"confirmExitOnBack": "終了前に確認",
"confirmExitOnBackDescription": "戻るボタンでアプリを終了する際に確認ダイアログを表示",
"showNavBarLabels": "ナビゲーションバーラベルを表示",
"showNavBarLabelsDescription": "ナビゲーションバーアイコンの下にテキストラベルを表示"
},
"search": {
"hint": "映画、番組、音楽を検索...",
"tryDifferentTerm": "別の検索語をお試しください",
"searchYourMedia": "メディアを検索",
"enterTitleActorOrKeyword": "タイトル、俳優、またはキーワードを入力"
},
"hotkeys": {
"setShortcutFor": "${actionName}のショートカットを設定",
"clearShortcut": "ショートカットをクリア",
"actions": {
"playPause": "再生/一時停止",
"volumeUp": "音量を上げる",
"volumeDown": "音量を下げる",
"seekForward": "前方にシーク (${seconds}秒)",
"seekBackward": "後方にシーク (${seconds}秒)",
"fullscreenToggle": "フルスクリーン切替",
"muteToggle": "ミュート切替",
"subtitleToggle": "字幕切替",
"audioTrackNext": "次の音声トラック",
"subtitleTrackNext": "次の字幕トラック",
"chapterNext": "次のチャプター",
"chapterPrevious": "前のチャプター",
"speedIncrease": "速度を上げる",
"speedDecrease": "速度を下げる",
"speedReset": "速度をリセット",
"subSeekNext": "次の字幕にシーク",
"subSeekPrev": "前の字幕にシーク",
"shaderToggle": "シェーダー切替",
"skipMarker": "イントロ/クレジットをスキップ"
}
},
"pinEntry": {
"enterPin": "PINを入力",
"showPin": "PINを表示",
"hidePin": "PINを非表示"
},
"fileInfo": {
"title": "ファイル情報",
"video": "映像",
"audio": "音声",
"file": "ファイル",
"advanced": "詳細",
"codec": "コーデック",
"resolution": "解像度",
"bitrate": "ビットレート",
"frameRate": "フレームレート",
"aspectRatio": "アスペクト比",
"profile": "プロファイル",
"bitDepth": "ビット深度",
"colorSpace": "色空間",
"colorRange": "色範囲",
"colorPrimaries": "色原色",
"chromaSubsampling": "クロマサブサンプリング",
"channels": "チャンネル",
"path": "パス",
"size": "サイズ",
"container": "コンテナ",
"duration": "長さ",
"optimizedForStreaming": "ストリーミング最適化",
"has64bitOffsets": "64ビットオフセット"
},
"mediaMenu": {
"markAsWatched": "視聴済みにする",
"markAsUnwatched": "未視聴にする",
"removeFromContinueWatching": "視聴中から削除",
"goToSeries": "シリーズへ移動",
"goToSeason": "シーズンへ移動",
"shufflePlay": "シャッフル再生",
"fileInfo": "ファイル情報",
"deleteFromServer": "サーバーから削除",
"confirmDelete": "このメディアとそのファイルがサーバーから完全に削除されます。この操作は元に戻せません。",
"deleteMultipleWarning": "すべてのエピソードとそのファイルが含まれます。",
"mediaDeletedSuccessfully": "メディアアイテムを正常に削除しました",
"mediaFailedToDelete": "メディアアイテムの削除に失敗しました",
"rate": "評価"
},
"accessibility": {
"mediaCardMovie": "${title}、映画",
"mediaCardShow": "${title}、テレビ番組",
"mediaCardEpisode": "${title}、${episodeInfo}",
"mediaCardSeason": "${title}、${seasonInfo}",
"mediaCardWatched": "視聴済み",
"mediaCardPartiallyWatched": "${percent}パーセント視聴済み",
"mediaCardUnwatched": "未視聴",
"tapToPlay": "タップして再生"
},
"tooltips": {
"shufflePlay": "シャッフル再生",
"playTrailer": "予告編を再生",
"markAsWatched": "視聴済みにする",
"markAsUnwatched": "未視聴にする"
},
"videoControls": {
"audioLabel": "音声",
"subtitlesLabel": "字幕",
"resetToZero": "0msにリセット",
"addTime": "+${amount}${unit}",
"minusTime": "-${amount}${unit}",
"playsLater": "${label}遅く再生",
"playsEarlier": "${label}早く再生",
"noOffset": "オフセットなし",
"letterbox": "レターボックス",
"fillScreen": "画面を埋める",
"stretch": "引き延ばす",
"lockRotation": "回転をロック",
"unlockRotation": "回転のロックを解除",
"timerActive": "タイマー動作中",
"playbackWillPauseIn": "再生は${duration}後に一時停止します",
"sleepTimerCompleted": "スリープタイマー完了 - 再生を一時停止しました",
"stillWatching": "まだ視聴中ですか?",
"pausingIn": "${seconds}秒後に一時停止",
"continueWatching": "続ける",
"autoPlayNext": "次を自動再生",
"playNext": "次を再生",
"playButton": "再生",
"pauseButton": "一時停止",
"seekBackwardButton": "${seconds}秒戻る",
"seekForwardButton": "${seconds}秒進む",
"previousButton": "前のエピソード",
"nextButton": "次のエピソード",
"previousChapterButton": "前のチャプター",
"nextChapterButton": "次のチャプター",
"muteButton": "ミュート",
"unmuteButton": "ミュート解除",
"settingsButton": "動画設定",
"audioTrackButton": "音声トラック",
"subtitlesButton": "字幕",
"tracksButton": "音声と字幕",
"chaptersButton": "チャプター",
"versionsButton": "動画バージョン",
"pipButton": "ピクチャーインピクチャーモード",
"aspectRatioButton": "アスペクト比",
"ambientLighting": "アンビエントライティング",
"ambientLightingOn": "アンビエントライティングを有効化",
"ambientLightingOff": "アンビエントライティングを無効化",
"fullscreenButton": "フルスクリーンに入る",
"exitFullscreenButton": "フルスクリーンを終了",
"alwaysOnTopButton": "常に前面に表示",
"rotationLockButton": "回転ロック",
"timelineSlider": "動画タイムライン",
"volumeSlider": "音量レベル",
"endsAt": "${time}に終了",
"pipActive": "ピクチャーインピクチャーで再生中",
"pipFailed": "ピクチャーインピクチャーの開始に失敗しました",
"pipErrors": {
"androidVersion": "Android 8.0以降が必要です",
"iosVersion": "iOS 15.0以降が必要です",
"permissionDisabled": "ピクチャーインピクチャーの権限が無効です。設定 > アプリ > Plezy > ピクチャーインピクチャーで有効にしてください",
"notSupported": "デバイスはピクチャーインピクチャーモードをサポートしていません",
"voSwitchFailed": "ピクチャーインピクチャーの映像出力切替に失敗しました",
"failed": "ピクチャーインピクチャーの開始に失敗しました",
"unknown": "エラーが発生しました: ${error}"
},
"chapters": "チャプター",
"noChaptersAvailable": "チャプターがありません",
"queue": "キュー",
"noQueueItems": "キューにアイテムがありません"
},
"userStatus": {
"admin": "管理者",
"restricted": "制限付き",
"protected": "保護済み",
"current": "現在"
},
"messages": {
"markedAsWatched": "視聴済みにしました",
"markedAsUnwatched": "未視聴にしました",
"markedAsWatchedOffline": "視聴済みにしました(オンライン時に同期)",
"markedAsUnwatchedOffline": "未視聴にしました(オンライン時に同期)",
"removedFromContinueWatching": "視聴中から削除しました",
"errorLoading": "エラー: ${error}",
"fileInfoNotAvailable": "ファイル情報が利用できません",
"errorLoadingFileInfo": "ファイル情報の読み込みエラー: ${error}",
"errorLoadingSeries": "シリーズの読み込みエラー",
"errorLoadingSeason": "シーズンの読み込みエラー",
"musicNotSupported": "音楽の再生はまだサポートされていません",
"logsCleared": "ログをクリアしました",
"logsCopied": "ログをクリップボードにコピーしました",
"noLogsAvailable": "ログがありません",
"libraryScanning": "\"${title}\"をスキャン中...",
"libraryScanStarted": "\"${title}\"のライブラリスキャンを開始しました",
"libraryScanFailed": "ライブラリのスキャンに失敗しました: ${error}",
"metadataRefreshing": "\"${title}\"のメタデータを更新中...",
"metadataRefreshStarted": "\"${title}\"のメタデータ更新を開始しました",
"metadataRefreshFailed": "メタデータの更新に失敗しました: ${error}",
"logoutConfirm": "ログアウトしてもよろしいですか?",
"noSeasonsFound": "シーズンが見つかりません",
"noEpisodesFound": "最初のシーズンにエピソードが見つかりません",
"noEpisodesFoundGeneral": "エピソードが見つかりません",
"noResultsFound": "結果が見つかりません",
"sleepTimerSet": "スリープタイマーを${label}に設定しました",
"noItemsAvailable": "アイテムがありません",
"failedToCreatePlayQueueNoItems": "再生キューの作成に失敗しました - アイテムがありません",
"failedPlayback": "${action}に失敗しました: ${error}",
"switchingToCompatiblePlayer": "互換プレーヤーに切替中...",
"logsUploaded": "ログをアップロードしました",
"logsUploadFailed": "ログのアップロードに失敗しました",
"logId": "ログID"
},
"subtitlingStyling": {
"stylingOptions": "スタイルオプション",
"fontSize": "フォントサイズ",
"textColor": "テキストの色",
"borderSize": "枠線サイズ",
"borderColor": "枠線の色",
"backgroundOpacity": "背景の不透明度",
"backgroundColor": "背景色",
"position": "位置"
},
"mpvConfig": {
"title": "mpv.conf",
"description": "高度な動画プレーヤー設定",
"presets": "プリセット",
"noPresets": "保存済みプリセットがありません",
"saveAsPreset": "プリセットとして保存...",
"presetName": "プリセット名",
"presetNameHint": "プリセットの名前を入力",
"loadPreset": "読み込み",
"deletePreset": "削除",
"presetSaved": "プリセットを保存しました",
"presetLoaded": "プリセットを読み込みました",
"presetDeleted": "プリセットを削除しました",
"confirmDeletePreset": "このプリセットを削除してもよろしいですか?",
"configPlaceholder": "gpu-api=vulkan\nhwdec=auto\n# comment"
},
"dialog": {
"confirmAction": "操作の確認"
},
"discover": {
"title": "探す",
"switchProfile": "プロフィール切替",
"noContentAvailable": "コンテンツがありません",
"addMediaToLibraries": "ライブラリにメディアを追加してください",
"continueWatching": "視聴を続ける",
"playEpisode": "S${season}E${episode}",
"overview": "あらすじ",
"cast": "キャスト",
"extras": "予告編とエクストラ",
"seasons": "シーズン",
"studio": "スタジオ",
"rating": "評価",
"episodeCount": "${count}エピソード",
"watchedProgress": "${watched}/${total}視聴済み",
"movie": "映画",
"tvShow": "テレビ番組",
"minutesLeft": "残り${minutes}分"
},
"errors": {
"searchFailed": "検索に失敗しました: ${error}",
"connectionTimeout": "${context}の読み込み中に接続がタイムアウトしました",
"connectionFailed": "Plexサーバーに接続できません",
"failedToLoad": "${context}の読み込みに失敗しました: ${error}",
"noClientAvailable": "クライアントが利用できません",
"authenticationFailed": "認証に失敗しました: ${error}",
"couldNotLaunchUrl": "認証URLを開けませんでした",
"pleaseEnterToken": "トークンを入力してください",
"invalidToken": "無効なトークン",
"failedToVerifyToken": "トークンの検証に失敗しました: ${error}",
"failedToSwitchProfile": "${displayName}への切替に失敗しました"
},
"libraries": {
"title": "ライブラリ",
"scanLibraryFiles": "ライブラリファイルをスキャン",
"scanLibrary": "ライブラリをスキャン",
"analyze": "解析",
"analyzeLibrary": "ライブラリを解析",
"refreshMetadata": "メタデータを更新",
"emptyTrash": "ゴミ箱を空にする",
"emptyingTrash": "\"${title}\"のゴミ箱を空にしています...",
"trashEmptied": "\"${title}\"のゴミ箱を空にしました",
"failedToEmptyTrash": "ゴミ箱を空にできませんでした: ${error}",
"analyzing": "\"${title}\"を解析中...",
"analysisStarted": "\"${title}\"の解析を開始しました",
"failedToAnalyze": "ライブラリの解析に失敗しました: ${error}",
"noLibrariesFound": "ライブラリが見つかりません",
"thisLibraryIsEmpty": "このライブラリは空です",
"all": "すべて",
"clearAll": "すべてクリア",
"scanLibraryConfirm": "\"${title}\"をスキャンしてもよろしいですか?",
"analyzeLibraryConfirm": "\"${title}\"を解析してもよろしいですか?",
"refreshMetadataConfirm": "\"${title}\"のメタデータを更新してもよろしいですか?",
"emptyTrashConfirm": "\"${title}\"のゴミ箱を空にしてもよろしいですか?",
"manageLibraries": "ライブラリを管理",
"sort": "並べ替え",
"sortBy": "並べ替え順",
"filters": "フィルター",
"confirmActionMessage": "この操作を実行してもよろしいですか?",
"showLibrary": "ライブラリを表示",
"hideLibrary": "ライブラリを非表示",
"libraryOptions": "ライブラリオプション",
"content": "ライブラリコンテンツ",
"selectLibrary": "ライブラリを選択",
"filtersWithCount": "フィルター (${count})",
"noRecommendations": "おすすめがありません",
"noCollections": "このライブラリにコレクションがありません",
"noFoldersFound": "フォルダが見つかりません",
"folders": "フォルダ",
"tabs": {
"recommended": "おすすめ",
"browse": "ブラウズ",
"collections": "コレクション",
"playlists": "プレイリスト"
},
"groupings": {
"title": "グループ",
"all": "すべて",
"movies": "映画",
"shows": "テレビ番組",
"seasons": "シーズン",
"episodes": "エピソード",
"folders": "フォルダ"
}
},
"about": {
"title": "アプリについて",
"openSourceLicenses": "オープンソースライセンス",
"versionLabel": "バージョン ${version}",
"appDescription": "Flutter製の美しいPlexクライアント",
"viewLicensesDescription": "サードパーティライブラリのライセンスを表示"
},
"serverSelection": {
"allServerConnectionsFailed": "どのサーバーにも接続できませんでした。ネットワークを確認してもう一度お試しください。",
"noServersFoundForAccount": "${username} (${email})のサーバーが見つかりません",
"failedToLoadServers": "サーバーの読み込みに失敗しました: ${error}"
},
"hubDetail": {
"title": "タイトル",
"releaseYear": "公開年",
"dateAdded": "追加日",
"rating": "評価",
"noItemsFound": "アイテムが見つかりません"
},
"logs": {
"clearLogs": "ログをクリア",
"copyLogs": "ログをコピー",
"uploadLogs": "ログをアップロード",
"error": "エラー:",
"stackTrace": "スタックトレース:"
},
"licenses": {
"relatedPackages": "関連パッケージ",
"license": "ライセンス",
"licenseNumber": "ライセンス ${number}",
"licensesCount": "${count}件のライセンス"
},
"navigation": {
"libraries": "ライブラリ",
"downloads": "ダウンロード",
"liveTv": "ライブTV"
},
"liveTv": {
"title": "ライブTV",
"channels": "チャンネル",
"guide": "番組表",
"noChannels": "チャンネルがありません",
"noDvr": "どのサーバーにもDVRが設定されていません",
"tuneFailed": "チャンネルのチューニングに失敗しました",
"loading": "チャンネルを読み込み中...",
"nowPlaying": "現在放送中",
"noPrograms": "番組データがありません",
"channelNumber": "Ch. ${number}",
"live": "ライブ",
"hd": "HD",
"premiere": "新着",
"reloadGuide": "番組表を再読込",
"allChannels": "すべてのチャンネル",
"now": "現在",
"today": "今日",
"midnight": "深夜",
"overnight": "深夜",
"morning": "朝",
"daytime": "昼",
"evening": "夕方",
"lateNight": "深夜",
"whatsOn": "放送中",
"watchChannel": "チャンネルを視聴"
},
"collections": {
"title": "コレクション",
"collection": "コレクション",
"empty": "コレクションは空です",
"unknownLibrarySection": "削除できません:不明なライブラリセクション",
"deleteCollection": "コレクションを削除",
"deleteConfirm": "\"${title}\"を削除してもよろしいですか?この操作は元に戻せません。",
"deleted": "コレクションを削除しました",
"deleteFailed": "コレクションの削除に失敗しました",
"deleteFailedWithError": "コレクションの削除に失敗しました: ${error}",
"failedToLoadItems": "コレクションアイテムの読み込みに失敗しました: ${error}",
"selectCollection": "コレクションを選択",
"collectionName": "コレクション名",
"enterCollectionName": "コレクション名を入力",
"addedToCollection": "コレクションに追加しました",
"errorAddingToCollection": "コレクションへの追加に失敗しました",
"created": "コレクションを作成しました",
"removeFromCollection": "コレクションから削除",
"removeFromCollectionConfirm": "\"${title}\"をこのコレクションから削除しますか?",
"removedFromCollection": "コレクションから削除しました",
"removeFromCollectionFailed": "コレクションからの削除に失敗しました",
"removeFromCollectionError": "コレクションからの削除エラー: ${error}"
},
"playlists": {
"title": "プレイリスト",
"playlist": "プレイリスト",
"noPlaylists": "プレイリストが見つかりません",
"create": "プレイリストを作成",
"playlistName": "プレイリスト名",
"enterPlaylistName": "プレイリスト名を入力",
"delete": "プレイリストを削除",
"removeItem": "プレイリストから削除",
"smartPlaylist": "スマートプレイリスト",
"itemCount": "${count}アイテム",
"oneItem": "1アイテム",
"emptyPlaylist": "このプレイリストは空です",
"deleteConfirm": "プレイリストを削除しますか?",
"deleteMessage": "\"${name}\"を削除してもよろしいですか?",
"created": "プレイリストを作成しました",
"deleted": "プレイリストを削除しました",
"itemAdded": "プレイリストに追加しました",
"itemRemoved": "プレイリストから削除しました",
"selectPlaylist": "プレイリストを選択",
"errorCreating": "プレイリストの作成に失敗しました",
"errorDeleting": "プレイリストの削除に失敗しました",
"errorLoading": "プレイリストの読み込みに失敗しました",
"errorAdding": "プレイリストへの追加に失敗しました",
"errorReordering": "プレイリストアイテムの並べ替えに失敗しました",
"errorRemoving": "プレイリストからの削除に失敗しました"
},
"watchTogether": {
"title": "一緒に見る",
"description": "友達や家族と同期してコンテンツを視聴",
"createSession": "セッションを作成",
"creating": "作成中...",
"joinSession": "セッションに参加",
"joining": "参加中...",
"controlMode": "コントロールモード",
"controlModeQuestion": "誰が再生を制御できますか?",
"hostOnly": "ホストのみ",
"anyone": "全員",
"hostingSession": "セッションをホスト中",
"inSession": "セッション中",
"sessionCode": "セッションコード",
"hostControlsPlayback": "ホストが再生を制御",
"anyoneCanControl": "全員が再生を制御可能",
"hostControls": "ホストが制御",
"anyoneControls": "全員が制御",
"participants": "参加者",
"host": "ホスト",
"hostBadge": "HOST",
"youAreHost": "あなたはホストです",
"watchingWithOthers": "他の人と視聴中",
"endSession": "セッションを終了",
"leaveSession": "セッションを退出",
"endSessionQuestion": "セッションを終了しますか?",
"leaveSessionQuestion": "セッションを退出しますか?",
"endSessionConfirm": "すべての参加者のセッションが終了します。",
"leaveSessionConfirm": "セッションから退出されます。",
"endSessionConfirmOverlay": "すべての参加者の視聴セッションが終了します。",
"leaveSessionConfirmOverlay": "視聴セッションから切断されます。",
"end": "終了",
"leave": "退出",
"syncing": "同期中...",
"joinWatchSession": "視聴セッションに参加",
"enterCodeHint": "8文字のコードを入力",
"pasteFromClipboard": "クリップボードから貼り付け",
"pleaseEnterCode": "セッションコードを入力してください",
"codeMustBe8Chars": "セッションコードは8文字である必要があります",
"joinInstructions": "ホストが共有したセッションコードを入力して視聴セッションに参加してください。",
"failedToCreate": "セッションの作成に失敗しました",
"failedToJoin": "セッションへの参加に失敗しました",
"sessionCodeCopied": "セッションコードをクリップボードにコピーしました",
"relayUnreachable": "リレーサーバーに到達できません。ISPが接続をブロックしている可能性があります。試すことはできますが、一緒に見る機能が動作しない場合があります。",
"reconnectingToHost": "ホストに再接続中...",
"currentPlayback": "現在の再生",
"joinCurrentPlayback": "現在の再生に参加",
"joinCurrentPlaybackDescription": "ホストが現在視聴中のコンテンツに戻る",
"failedToOpenCurrentPlayback": "現在の再生を開けませんでした",
"participantJoined": "${name}が参加しました",
"participantLeft": "${name}が退出しました"
},
"downloads": {
"title": "ダウンロード",
"manage": "管理",
"tvShows": "テレビ番組",
"movies": "映画",
"noDownloads": "ダウンロードなし",
"noDownloadsDescription": "ダウンロードしたコンテンツはここに表示され、オフラインで視聴できます",
"downloadNow": "ダウンロード",
"deleteDownload": "ダウンロードを削除",
"retryDownload": "ダウンロードを再試行",
"downloadQueued": "ダウンロードをキューに追加しました",
"episodesQueued": "${count}エピソードをダウンロードキューに追加しました",
"downloadDeleted": "ダウンロードを削除しました",
"deleteConfirm": "\"${title}\"を削除してもよろしいですか?ダウンロードしたファイルがデバイスから削除されます。",
"deletingWithProgress": "${title}を削除中... (${current}/${total})",
"noDownloadsTree": "ダウンロードなし",
"pauseAll": "すべて一時停止",
"resumeAll": "すべて再開",
"deleteAll": "すべて削除"
},
"shaders": {
"title": "シェーダー",
"noShaderDescription": "映像補正なし",
"nvscalerDescription": "よりシャープな映像のためのNVIDIA画像スケーリング",
"qualityFast": "高速",
"qualityHQ": "高品質",
"mode": "モード",
"importShader": "シェーダーをインポート",
"customShaderDescription": "カスタムGLSLシェーダー",
"shaderImported": "シェーダーをインポートしました",
"shaderImportFailed": "シェーダーのインポートに失敗しました",
"deleteShader": "シェーダーを削除",
"deleteShaderConfirm": "\"${name}\"を削除しますか?"
},
"companionRemote": {
"title": "コンパニオンリモート",
"connectToDevice": "デバイスに接続",
"hostRemoteSession": "リモートセッションをホスト",
"controlThisDevice": "スマートフォンでこのデバイスを操作",
"remoteControl": "リモコン",
"controlDesktop": "デスクトップデバイスを操作",
"connectedTo": "${name}に接続中",
"session": {
"creatingSession": "リモートセッションを作成中...",
"failedToCreate": "リモートセッションの作成に失敗しました:",
"noSession": "利用可能なセッションがありません",
"scanQrCode": "QRコードをスキャン",
"orEnterManually": "または手動で入力",
"hostAddress": "ホストアドレス",
"sessionId": "セッションID",
"pin": "PIN",
"connected": "接続済み",
"waitingForConnection": "接続を待機中...",
"usePhoneToControl": "モバイルデバイスでこのアプリを操作",
"copiedToClipboard": "${label}をクリップボードにコピーしました",
"copyToClipboard": "クリップボードにコピー",
"newSession": "新しいセッション",
"minimize": "最小化"
},
"pairing": {
"scan": "スキャン",
"manual": "手動",
"pairWithDesktop": "デスクトップとペアリング",
"enterSessionDetails": "デスクトップデバイスに表示されたセッション情報を入力",
"hostAddressHint": "192.168.1.100:48632",
"sessionIdHint": "8文字のセッションIDを入力",
"pinHint": "6桁のPINを入力",
"connecting": "接続中...",
"tips": "ヒント",
"tipDesktop": "デスクトップでPlezyを開き、設定またはメニューからコンパニオンリモートを有効にしてください",
"tipScan": "スキャンタブを使用して、デスクトップのQRコードをスキャンして素早くペアリング",
"tipWifi": "両方のデバイスが同じWiFiネットワークに接続されていることを確認",
"cameraPermissionRequired": "QRコードをスキャンするにはカメラの権限が必要です。\nデバイスの設定でカメラへのアクセスを許可してください。",
"cameraError": "カメラを起動できませんでした: ${error}",
"scanInstruction": "デスクトップに表示されたQRコードにカメラを向けてください",
"invalidQrCode": "無効なQRコード形式",
"validationHostRequired": "ホストアドレスを入力してください",
"validationHostFormat": "形式はIP:ポートである必要があります(例: 192.168.1.100:48632)",
"validationSessionIdRequired": "セッションIDを入力してください",
"validationSessionIdLength": "セッションIDは8文字である必要があります",
"validationPinRequired": "PINを入力してください",
"validationPinLength": "PINは6桁である必要があります",
"connectionTimedOut": "接続がタイムアウトしました。セッションIDとPINを確認してください。",
"sessionNotFound": "セッションが見つかりませんでした。認証情報を確認してください。",
"failedToConnect": "接続に失敗しました: ${error}"
},
"remote": {
"disconnectConfirm": "リモートセッションから切断しますか?",
"reconnecting": "再接続中...",
"attemptOf": "試行 ${current}/5",
"retryNow": "今すぐ再試行",
"connectionError": "接続エラー",
"notConnected": "未接続",
"tabRemote": "リモート",
"tabPlay": "再生",
"tabMore": "その他",
"menu": "メニュー",
"tabNavigation": "タブナビゲーション",
"tabDiscover": "探す",
"tabLibraries": "ライブラリ",
"tabSearch": "検索",
"tabDownloads": "ダウンロード",
"tabSettings": "設定",
"previous": "前へ",
"playPause": "再生/一時停止",
"next": "次へ",
"seekBack": "巻き戻し",
"stop": "停止",
"seekForward": "早送り",
"volume": "音量",
"volumeDown": "下げる",
"volumeUp": "上げる",
"fullscreen": "フルスクリーン",
"subtitles": "字幕",
"audio": "音声",
"searchHint": "デスクトップで検索..."
}
},
"videoSettings": {
"playbackSettings": "再生設定",
"playbackSpeed": "再生速度",
"sleepTimer": "スリープタイマー",
"audioSync": "音声同期",
"subtitleSync": "字幕同期",
"hdr": "HDR",
"audioOutput": "音声出力",
"performanceOverlay": "パフォーマンスオーバーレイ",
"audioPassthrough": "オーディオパススルー",
"audioNormalization": "音声正規化"
},
"externalPlayer": {
"title": "外部プレーヤー",
"useExternalPlayer": "外部プレーヤーを使用",
"useExternalPlayerDescription": "内蔵プレーヤーの代わりに外部アプリで動画を開く",
"selectPlayer": "プレーヤーを選択",
"systemDefault": "システムデフォルト",
"addCustomPlayer": "カスタムプレーヤーを追加",
"playerName": "プレーヤー名",
"playerCommand": "コマンド",
"playerPackage": "パッケージ名",
"playerUrlScheme": "URLスキーム",
"customPlayer": "カスタムプレーヤー",
"off": "オフ",
"launchFailed": "外部プレーヤーの起動に失敗しました",
"appNotInstalled": "${name}がインストールされていません",
"playInExternalPlayer": "外部プレーヤーで再生"
},
"metadataEdit": {
"editMetadata": "編集...",
"screenTitle": "メタデータを編集",
"basicInfo": "基本情報",
"artwork": "アートワーク",
"advancedSettings": "詳細設定",
"title": "タイトル",
"sortTitle": "ソートタイトル",
"originalTitle": "原題",
"releaseDate": "公開日",
"contentRating": "コンテンツレーティング",
"studio": "スタジオ",
"tagline": "タグライン",
"summary": "あらすじ",
"poster": "ポスター",
"background": "背景",
"selectPoster": "ポスターを選択",
"selectBackground": "背景を選択",
"fromUrl": "URLから",
"uploadFile": "ファイルをアップロード",
"enterImageUrl": "画像URLを入力",
"imageUrl": "画像URL",
"metadataUpdated": "メタデータを更新しました",
"metadataUpdateFailed": "メタデータの更新に失敗しました",
"artworkUpdated": "アートワークを更新しました",
"artworkUpdateFailed": "アートワークの更新に失敗しました",
"noArtworkAvailable": "アートワークがありません",
"notSet": "未設定",
"libraryDefault": "ライブラリのデフォルト",
"accountDefault": "アカウントのデフォルト",
"seriesDefault": "シリーズのデフォルト",
"episodeSorting": "エピソードの並べ替え",
"oldestFirst": "古い順",
"newestFirst": "新しい順",
"keep": "保持",
"allEpisodes": "すべてのエピソード",
"latestEpisodes": "最新${count}エピソード",
"latestEpisode": "最新エピソード",
"episodesAddedPastDays": "過去${count}日間に追加されたエピソード",
"deleteAfterPlaying": "再生後にエピソードを削除",
"never": "しない",
"afterADay": "1日後",
"afterAWeek": "1週間後",
"afterAMonth": "1ヶ月後",
"onNextRefresh": "次回更新時",
"seasons": "シーズン",
"show": "表示",
"hide": "非表示",
"episodeOrdering": "エピソードの順序",
"tmdbAiring": "The Movie Database(放送順)",
"tvdbAiring": "TheTVDB(放送順)",
"tvdbAbsolute": "TheTVDB(絶対順)",
"metadataLanguage": "メタデータの言語",
"useOriginalTitle": "原題を使用",
"preferredAudioLanguage": "優先音声言語",
"preferredSubtitleLanguage": "優先字幕言語",
"subtitleMode": "字幕自動選択モード",
"manuallySelected": "手動選択",
"shownWithForeignAudio": "外国語音声時に表示",
"alwaysEnabled": "常に有効"
}
}
+30 -15
View File
@@ -6,9 +6,6 @@
"signInWithPlex": "Plex 계정으로 로그인",
"showQRCode": "QR 코드",
"authenticate": "인증",
"debugEnterToken": "디버깅을 위해 Plex 토큰을 입력하세요.",
"plexTokenLabel": "Plex 인증 토큰",
"plexTokenHint": "Plex.tv 토큰을 입력하세요",
"authenticationTimeout": "인증 시간이 초과되었습니다. 다시 시도해 주세요.",
"scanQRToSignIn": "QR 코드를 스캔하여 로그인",
"waitingForAuth": "인증 대기 중... 브라우저에서 로그인을 완료해 주세요.",
@@ -181,6 +178,11 @@
"autoSkipCreditsDescription": "엔딩 크레딧 자동 건너뛰기 후 다음 에피소드 재생",
"autoSkipDelay": "자동 건너뛰기 지연",
"autoSkipDelayDescription": "자동 건너뛰기 전 ${seconds} 초 대기",
"introPattern": "인트로 마커 패턴",
"introPatternDescription": "챕터 제목에서 인트로 마커를 인식하는 정규식 패턴",
"creditsPattern": "크레딧 마커 패턴",
"creditsPatternDescription": "챕터 제목에서 크레딧 마커를 인식하는 정규식 패턴",
"invalidRegex": "잘못된 정규식",
"downloads": "다운로드",
"downloadLocationDescription": "다운로드 콘텐츠 저장 위치 선택",
"downloadLocationDefault": "기본값 (앱 저장소)",
@@ -204,12 +206,14 @@
"autoPipDescription": "재생 중 앱을 나갈 때 자동으로 PIP 모드로 전환",
"matchContentFrameRate": "콘텐츠 프레임 레이트 맞춤",
"matchContentFrameRateDescription": "비디오 콘텐츠에 맞게 디스플레이 주사율을 조정하여 떨림을 줄이고 배터리를 절약합니다",
"tunneledPlayback": "Tunneled Playback",
"tunneledPlaybackDescription": "Use hardware-accelerated video tunneling. Disable if you see a black screen with audio on HDR content",
"tunneledPlayback": "터널 재생",
"tunneledPlaybackDescription": "하드웨어 가속 비디오 터널링을 사용합니다. HDR 콘텐츠에서 소리만 나고 검은 화면이 보이면 비활성화하세요",
"requireProfileSelectionOnOpen": "앱 실행 시 프로필 선택",
"requireProfileSelectionOnOpenDescription": "앱을 열 때마다 프로필 선택 화면을 표시합니다",
"confirmExitOnBack": "종료 전 확인",
"confirmExitOnBackDescription": "뒤로 버튼을 눌러 앱을 종료할 때 확인 대화상자를 표시합니다"
"confirmExitOnBackDescription": "뒤로 버튼을 눌러 앱을 종료할 때 확인 대화상자를 표시합니다",
"showNavBarLabels": "내비게이션 바 라벨 표시",
"showNavBarLabelsDescription": "내비게이션 바 아이콘 아래에 텍스트 라벨을 표시합니다"
},
"search": {
"hint": "영화, 시리즈, 음악 등을 검색하세요...",
@@ -366,8 +370,8 @@
},
"chapters": "챕터",
"noChaptersAvailable": "사용 가능한 챕터가 없습니다",
"queue": "Queue",
"noQueueItems": "No items in queue"
"queue": "재생 대기열",
"noQueueItems": "대기열에 항목이 없습니다"
},
"userStatus": {
"admin": "관리자",
@@ -406,9 +410,9 @@
"failedToCreatePlayQueueNoItems": "재생 대기열 생성 실패 - 항목 없음",
"failedPlayback": "${action}을(를) 수행할 수 없습니다: ${error}",
"switchingToCompatiblePlayer": "호환되는 플레이어로 전환 중...",
"logsUploaded": "Logs uploaded",
"logsUploadFailed": "Failed to upload logs",
"logId": "Log ID"
"logsUploaded": "로그 업로드 완료",
"logsUploadFailed": "로그 업로드 실패",
"logId": "로그 ID"
},
"subtitlingStyling": {
"stylingOptions": "스타일 옵션",
@@ -418,7 +422,7 @@
"borderColor": "테두리 색상",
"backgroundOpacity": "배경 불투명도",
"backgroundColor": "배경색",
"position": "Position"
"position": "위치"
},
"mpvConfig": {
"title": "mpv 설정",
@@ -515,6 +519,7 @@
"playlists": "재생 목록"
},
"groupings": {
"title": "그룹",
"all": "전체",
"movies": "영화",
"shows": "TV 프로그램",
@@ -545,7 +550,7 @@
"logs": {
"clearLogs": "로그 지우기",
"copyLogs": "로그 복사",
"uploadLogs": "Upload Logs",
"uploadLogs": "로그 업로드",
"error": "오류:",
"stackTrace": "스택 추적 (Stack Trace):"
},
@@ -682,6 +687,10 @@
"sessionCodeCopied": "세션 코드가 클립보드에 복사되었습니다",
"relayUnreachable": "릴레이 서버에 연결할 수 없습니다. 인터넷 제공업체가 연결을 차단하고 있을 수 있습니다. 시도해 볼 수 있지만 함께 보기가 작동하지 않을 수 있습니다.",
"reconnectingToHost": "호스트에 재연결 중...",
"currentPlayback": "현재 재생",
"joinCurrentPlayback": "현재 재생 참여",
"joinCurrentPlaybackDescription": "호스트가 현재 보고 있는 항목으로 돌아갑니다",
"failedToOpenCurrentPlayback": "현재 재생을 열 수 없습니다",
"participantJoined": "${name}님이 참여했습니다",
"participantLeft": "${name}님이 나갔습니다"
},
@@ -711,10 +720,16 @@
"nvscalerDescription": "더 선명한 비디오를 위한 NVIDIA 이미지 스케일링",
"qualityFast": "빠름",
"qualityHQ": "고품질",
"mode": "모드"
"mode": "모드",
"importShader": "셰이더 가져오기",
"customShaderDescription": "사용자 정의 GLSL 셰이더",
"shaderImported": "셰이더를 가져왔습니다",
"shaderImportFailed": "셰이더 가져오기 실패",
"deleteShader": "셰이더 삭제",
"deleteShaderConfirm": "\"${name}\"을(를) 삭제하시겠습니까?"
},
"companionRemote": {
"title": "Companion Remote",
"title": "컴패니언 리모컨",
"connectToDevice": "기기에 연결",
"hostRemoteSession": "원격 세션 호스트",
"controlThisDevice": "휴대폰으로 이 기기를 제어하세요",
+905
View File
@@ -0,0 +1,905 @@
{
"app": {
"title": "Plezy"
},
"auth": {
"signInWithPlex": "Logg inn med Plex",
"showQRCode": "Vis QR-kode",
"authenticate": "Autentiser",
"authenticationTimeout": "Autentiseringen ble tidsavbrutt. Prøv igjen.",
"scanQRToSignIn": "Skann denne QR-koden for å logge inn",
"waitingForAuth": "Venter på autentisering...\nFullfør innloggingen i nettleseren din.",
"useBrowser": "Bruk nettleser"
},
"common": {
"cancel": "Avbryt",
"save": "Lagre",
"close": "Lukk",
"clear": "Tøm",
"reset": "Tilbakestill",
"later": "Senere",
"submit": "Send inn",
"confirm": "Bekreft",
"retry": "Prøv igjen",
"logout": "Logg ut",
"unknown": "Ukjent",
"refresh": "Oppdater",
"yes": "Ja",
"no": "Nei",
"delete": "Slett",
"shuffle": "Tilfeldig",
"addTo": "Legg til i...",
"createNew": "Opprett ny",
"remove": "Fjern",
"paste": "Lim inn",
"connect": "Koble til",
"disconnect": "Koble fra",
"play": "Spill av",
"pause": "Pause",
"resume": "Gjenoppta",
"error": "Feil",
"search": "Søk",
"home": "Hjem",
"back": "Tilbake",
"settings": "Innstillinger",
"mute": "Demp",
"ok": "OK",
"loading": "Laster...",
"reconnect": "Koble til på nytt",
"exitConfirmTitle": "Avslutte appen?",
"exitConfirmMessage": "Er du sikker på at du vil avslutte?",
"dontAskAgain": "Ikke spør igjen",
"exit": "Avslutt",
"viewAll": "Vis alle",
"checkingNetwork": "Sjekker nettverk...",
"refreshingServers": "Oppdaterer servere...",
"loadingServers": "Laster servere...",
"connectingToServers": "Kobler til servere...",
"startingOfflineMode": "Starter frakoblet modus..."
},
"screens": {
"licenses": "Lisenser",
"switchProfile": "Bytt profil",
"subtitleStyling": "Undertekststil",
"mpvConfig": "mpv.conf",
"logs": "Logger"
},
"update": {
"available": "Oppdatering tilgjengelig",
"versionAvailable": "Versjon ${version} er tilgjengelig",
"currentVersion": "Gjeldende: ${version}",
"skipVersion": "Hopp over denne versjonen",
"viewRelease": "Vis utgivelse",
"latestVersion": "Du har den nyeste versjonen",
"checkFailed": "Kunne ikke se etter oppdateringer"
},
"settings": {
"title": "Innstillinger",
"language": "Språk",
"theme": "Tema",
"appearance": "Utseende",
"videoPlayback": "Videoavspilling",
"advanced": "Avansert",
"episodePosterMode": "Episodeplakatstil",
"seriesPoster": "Serieplakat",
"seriesPosterDescription": "Vis serieplakaten for alle episoder",
"seasonPoster": "Sesongplakat",
"seasonPosterDescription": "Vis den sesongspesifikke plakaten for episoder",
"episodeThumbnail": "Episodeminiatyrbilde",
"episodeThumbnailDescription": "Vis 16:9 episodeskjermbilder som miniatyrbilder",
"showHeroSectionDescription": "Vis fremhevet innholdskarusell på hjemmeskjermen",
"secondsLabel": "Sekunder",
"minutesLabel": "Minutter",
"secondsShort": "s",
"minutesShort": "m",
"durationHint": "Angi varighet (${min}-${max})",
"systemTheme": "System",
"systemThemeDescription": "Følg systeminnstillinger",
"lightTheme": "Lyst",
"darkTheme": "Mørkt",
"oledTheme": "OLED",
"oledThemeDescription": "Helsvart for OLED-skjermer",
"libraryDensity": "Bibliotekets tetthet",
"compact": "Kompakt",
"compactDescription": "Mindre kort, flere elementer synlige",
"normal": "Normal",
"normalDescription": "Standard størrelse",
"comfortable": "Komfortabel",
"comfortableDescription": "Større kort, færre elementer synlige",
"viewMode": "Visningsmodus",
"gridView": "Rutenett",
"gridViewDescription": "Vis elementer i rutenettoppsett",
"listView": "Liste",
"listViewDescription": "Vis elementer i listeoppsett",
"showHeroSection": "Vis fremhevet seksjon",
"useGlobalHubs": "Bruk Plex Home-layout",
"useGlobalHubsDescription": "Vis hjemmeside-huber som den offisielle Plex-klienten. Når av, vises per-bibliotek-anbefalinger i stedet.",
"showServerNameOnHubs": "Vis servernavn på huber",
"showServerNameOnHubsDescription": "Vis alltid servernavnet i hubtitler. Når av, vises kun for dupliserte hubnavn.",
"alwaysKeepSidebarOpen": "Hold sidefeltet alltid åpent",
"alwaysKeepSidebarOpenDescription": "Sidefeltet forblir utvidet og innholdsområdet tilpasser seg",
"showUnwatchedCount": "Vis antall usette",
"showUnwatchedCountDescription": "Vis antall usette episoder på serier og sesonger",
"hideSpoilers": "Skjul spoilere for usette episoder",
"hideSpoilersDescription": "Slør miniatyrbilder og skjul beskrivelser for episoder du ikke har sett ennå",
"playerBackend": "Spillermotor",
"exoPlayer": "ExoPlayer (Anbefalt)",
"exoPlayerDescription": "Android-innebygd spiller med bedre maskinvarestøtte",
"mpv": "mpv",
"mpvDescription": "Avansert spiller med flere funksjoner og ASS-undertekststøtte",
"hardwareDecoding": "Maskinvaredekoding",
"hardwareDecodingDescription": "Bruk maskinvareakselerasjon når tilgjengelig",
"bufferSize": "Bufferstørrelse",
"bufferSizeMB": "${size}MB",
"bufferSizeAuto": "Auto (Anbefalt)",
"bufferSizeWarning": "Enheten din har ${heap}MB minne. En ${size}MB buffer kan forårsake avspillingsproblemer.",
"subtitleStyling": "Undertekststil",
"subtitleStylingDescription": "Tilpass utseendet på undertekster",
"smallSkipDuration": "Kort hoppvarighet",
"largeSkipDuration": "Lang hoppvarighet",
"secondsUnit": "${seconds} sekunder",
"defaultSleepTimer": "Standard søvntimer",
"minutesUnit": "${minutes} minutter",
"rememberTrackSelections": "Husk sporvalg per serie/film",
"rememberTrackSelectionsDescription": "Lagre automatisk lyd- og undertekstspråkpreferanser når du bytter spor under avspilling",
"clickVideoTogglesPlayback": "Klikk på video for å veksle avspilling",
"clickVideoTogglesPlaybackDescription": "Hvis aktivert, vil klikk på videospilleren spille av/pause videoen. Ellers vil klikk vise/skjule avspillingskontrollene.",
"videoPlayerControls": "Videospillerkontroller",
"keyboardShortcuts": "Tastatursnarveier",
"keyboardShortcutsDescription": "Tilpass tastatursnarveier",
"videoPlayerNavigation": "Videospillernavigering",
"videoPlayerNavigationDescription": "Bruk piltaster for å navigere videospillerkontroller",
"crashReporting": "Krasjrapportering",
"crashReportingDescription": "Send krasjrapporter for å hjelpe med å forbedre appen",
"debugLogging": "Feilsøkingslogging",
"debugLoggingDescription": "Aktiver detaljert logging for feilsøking",
"viewLogs": "Vis logger",
"viewLogsDescription": "Vis applikasjonslogger",
"clearCache": "Tøm hurtigbuffer",
"clearCacheDescription": "Dette vil tømme alle hurtigbufrede bilder og data. Appen kan bruke lengre tid på å laste innhold etter tømming.",
"clearCacheSuccess": "Hurtigbuffer tømt",
"resetSettings": "Tilbakestill innstillinger",
"resetSettingsDescription": "Dette vil tilbakestille alle innstillinger til standardverdier. Denne handlingen kan ikke angres.",
"resetSettingsSuccess": "Innstillinger tilbakestilt",
"shortcutsReset": "Snarveier tilbakestilt til standard",
"about": "Om",
"aboutDescription": "Appinformasjon og lisenser",
"updates": "Oppdateringer",
"updateAvailable": "Oppdatering tilgjengelig",
"checkForUpdates": "Se etter oppdateringer",
"validationErrorEnterNumber": "Vennligst skriv inn et gyldig tall",
"validationErrorDuration": "Varigheten må være mellom ${min} og ${max} ${unit}",
"shortcutAlreadyAssigned": "Snarvei allerede tilordnet til ${action}",
"shortcutUpdated": "Snarvei oppdatert for ${action}",
"autoSkip": "Automatisk hopp",
"autoSkipIntro": "Hopp over intro automatisk",
"autoSkipIntroDescription": "Hopp automatisk over intromarkører etter noen sekunder",
"autoSkipCredits": "Hopp over rulletekst automatisk",
"autoSkipCreditsDescription": "Hopp automatisk over rulletekst og spill neste episode",
"autoSkipDelay": "Forsinkelse for automatisk hopp",
"autoSkipDelayDescription": "Vent ${seconds} sekunder før automatisk hopping",
"introPattern": "Intromarkørmønster",
"introPatternDescription": "Regulært uttrykk for å gjenkjenne intromarkører i kapitteltitler",
"creditsPattern": "Rulletekstmarkørmønster",
"creditsPatternDescription": "Regulært uttrykk for å gjenkjenne rulletekstmarkører i kapitteltitler",
"invalidRegex": "Ugyldig regulært uttrykk",
"downloads": "Nedlastinger",
"downloadLocationDescription": "Velg hvor nedlastet innhold skal lagres",
"downloadLocationDefault": "Standard (App-lagring)",
"downloadLocationCustom": "Egendefinert plassering",
"selectFolder": "Velg mappe",
"resetToDefault": "Tilbakestill til standard",
"currentPath": "Gjeldende: ${path}",
"downloadLocationChanged": "Nedlastingsplassering endret",
"downloadLocationReset": "Nedlastingsplassering tilbakestilt til standard",
"downloadLocationInvalid": "Valgt mappe er ikke skrivbar",
"downloadLocationSelectError": "Kunne ikke velge mappe",
"downloadOnWifiOnly": "Last ned kun på WiFi",
"downloadOnWifiOnlyDescription": "Forhindre nedlastinger på mobildata",
"cellularDownloadBlocked": "Nedlastinger er deaktivert på mobildata. Koble til WiFi eller endre innstillingen.",
"maxVolume": "Maks volum",
"maxVolumeDescription": "Tillat volumforsterkning over 100% for stille media",
"maxVolumePercent": "${percent}%",
"discordRichPresence": "Discord Rich Presence",
"discordRichPresenceDescription": "Vis hva du ser på Discord",
"autoPip": "Auto bilde-i-bilde",
"autoPipDescription": "Gå automatisk til bilde-i-bilde når du forlater appen under avspilling",
"matchContentFrameRate": "Tilpass innholdets bildefrekvens",
"matchContentFrameRateDescription": "Juster skjermens oppdateringsfrekvens for å matche videoinnhold, reduserer hakking og sparer batteri",
"tunneledPlayback": "Tunnelert avspilling",
"tunneledPlaybackDescription": "Bruk maskinvareakselerert videotunnelering. Deaktiver hvis du ser svart skjerm med lyd på HDR-innhold",
"requireProfileSelectionOnOpen": "Spør om profil ved appåpning",
"requireProfileSelectionOnOpenDescription": "Vis profilvalg hver gang appen åpnes",
"confirmExitOnBack": "Bekreft før avslutning",
"confirmExitOnBackDescription": "Vis en bekreftelsesdialog når du trykker tilbake for å avslutte appen",
"showNavBarLabels": "Vis navigasjonsfeltlabeler",
"showNavBarLabelsDescription": "Vis tekstlabeler under navigasjonsfeltikoner"
},
"search": {
"hint": "Søk i filmer, serier, musikk...",
"tryDifferentTerm": "Prøv et annet søkeord",
"searchYourMedia": "Søk i mediene dine",
"enterTitleActorOrKeyword": "Skriv inn tittel, skuespiller eller nøkkelord"
},
"hotkeys": {
"setShortcutFor": "Angi snarvei for ${actionName}",
"clearShortcut": "Fjern snarvei",
"actions": {
"playPause": "Spill av/Pause",
"volumeUp": "Volum opp",
"volumeDown": "Volum ned",
"seekForward": "Spol fremover (${seconds}s)",
"seekBackward": "Spol bakover (${seconds}s)",
"fullscreenToggle": "Veksle fullskjerm",
"muteToggle": "Veksle demping",
"subtitleToggle": "Veksle undertekster",
"audioTrackNext": "Neste lydspor",
"subtitleTrackNext": "Neste undertekstspor",
"chapterNext": "Neste kapittel",
"chapterPrevious": "Forrige kapittel",
"speedIncrease": "Øk hastighet",
"speedDecrease": "Reduser hastighet",
"speedReset": "Tilbakestill hastighet",
"subSeekNext": "Spol til neste undertekst",
"subSeekPrev": "Spol til forrige undertekst",
"shaderToggle": "Veksle shadere",
"skipMarker": "Hopp over intro/rulletekst"
}
},
"pinEntry": {
"enterPin": "Skriv inn PIN",
"showPin": "Vis PIN",
"hidePin": "Skjul PIN"
},
"fileInfo": {
"title": "Filinformasjon",
"video": "Video",
"audio": "Lyd",
"file": "Fil",
"advanced": "Avansert",
"codec": "Kodek",
"resolution": "Oppløsning",
"bitrate": "Bitrate",
"frameRate": "Bildefrekvens",
"aspectRatio": "Sideforhold",
"profile": "Profil",
"bitDepth": "Bitdybde",
"colorSpace": "Fargerom",
"colorRange": "Fargeområde",
"colorPrimaries": "Fargeprimærer",
"chromaSubsampling": "Krominansnedsampling",
"channels": "Kanaler",
"path": "Sti",
"size": "Størrelse",
"container": "Beholder",
"duration": "Varighet",
"optimizedForStreaming": "Optimalisert for strømming",
"has64bitOffsets": "64-biters forskyvninger"
},
"mediaMenu": {
"markAsWatched": "Merk som sett",
"markAsUnwatched": "Merk som usett",
"removeFromContinueWatching": "Fjern fra Fortsett å se",
"goToSeries": "Gå til serie",
"goToSeason": "Gå til sesong",
"shufflePlay": "Tilfeldig avspilling",
"fileInfo": "Filinformasjon",
"deleteFromServer": "Slett fra server",
"confirmDelete": "Dette vil permanent slette dette mediet og filene fra serveren din. Dette kan ikke angres.",
"deleteMultipleWarning": "Dette inkluderer alle episoder og deres filer.",
"mediaDeletedSuccessfully": "Medieelement slettet",
"mediaFailedToDelete": "Kunne ikke slette medieelement",
"rate": "Vurder"
},
"accessibility": {
"mediaCardMovie": "${title}, film",
"mediaCardShow": "${title}, TV-serie",
"mediaCardEpisode": "${title}, ${episodeInfo}",
"mediaCardSeason": "${title}, ${seasonInfo}",
"mediaCardWatched": "sett",
"mediaCardPartiallyWatched": "${percent} prosent sett",
"mediaCardUnwatched": "usett",
"tapToPlay": "Trykk for å spille"
},
"tooltips": {
"shufflePlay": "Tilfeldig avspilling",
"playTrailer": "Spill trailer",
"markAsWatched": "Merk som sett",
"markAsUnwatched": "Merk som usett"
},
"videoControls": {
"audioLabel": "Lyd",
"subtitlesLabel": "Undertekster",
"resetToZero": "Tilbakestill til 0ms",
"addTime": "+${amount}${unit}",
"minusTime": "-${amount}${unit}",
"playsLater": "${label} spilles senere",
"playsEarlier": "${label} spilles tidligere",
"noOffset": "Ingen forskyvning",
"letterbox": "Letterbox",
"fillScreen": "Fyll skjerm",
"stretch": "Strekk",
"lockRotation": "Lås rotasjon",
"unlockRotation": "Lås opp rotasjon",
"timerActive": "Timer aktiv",
"playbackWillPauseIn": "Avspilling vil pause om ${duration}",
"sleepTimerCompleted": "Søvntimer fullført – avspilling satt på pause",
"stillWatching": "Ser du fortsatt?",
"pausingIn": "Pauser om ${seconds}s",
"continueWatching": "Fortsett",
"autoPlayNext": "Spill neste automatisk",
"playNext": "Spill neste",
"playButton": "Spill av",
"pauseButton": "Pause",
"seekBackwardButton": "Spol tilbake ${seconds} sekunder",
"seekForwardButton": "Spol fremover ${seconds} sekunder",
"previousButton": "Forrige episode",
"nextButton": "Neste episode",
"previousChapterButton": "Forrige kapittel",
"nextChapterButton": "Neste kapittel",
"muteButton": "Demp",
"unmuteButton": "Opphev demping",
"settingsButton": "Videoinnstillinger",
"audioTrackButton": "Lydspor",
"subtitlesButton": "Undertekster",
"tracksButton": "Lyd og undertekster",
"chaptersButton": "Kapitler",
"versionsButton": "Videoversjoner",
"pipButton": "Bilde-i-bilde-modus",
"aspectRatioButton": "Sideforhold",
"ambientLighting": "Omgivelseslys",
"ambientLightingOn": "Aktiver omgivelseslys",
"ambientLightingOff": "Deaktiver omgivelseslys",
"fullscreenButton": "Gå til fullskjerm",
"exitFullscreenButton": "Avslutt fullskjerm",
"alwaysOnTopButton": "Alltid øverst",
"rotationLockButton": "Rotasjonslås",
"timelineSlider": "Videotidslinje",
"volumeSlider": "Volumnivå",
"endsAt": "Slutter kl. ${time}",
"pipActive": "Spiller i bilde-i-bilde",
"pipFailed": "Bilde-i-bilde kunne ikke starte",
"pipErrors": {
"androidVersion": "Krever Android 8.0 eller nyere",
"iosVersion": "Krever iOS 15.0 eller nyere",
"permissionDisabled": "Bilde-i-bilde-tillatelse er deaktivert. Aktiver den i Innstillinger > Apper > Plezy > Bilde-i-bilde",
"notSupported": "Enheten støtter ikke bilde-i-bilde-modus",
"voSwitchFailed": "Kunne ikke bytte videoutgang for bilde-i-bilde",
"failed": "Bilde-i-bilde kunne ikke starte",
"unknown": "En feil oppstod: ${error}"
},
"chapters": "Kapitler",
"noChaptersAvailable": "Ingen kapitler tilgjengelig",
"queue": "Kø",
"noQueueItems": "Ingen elementer i kø"
},
"userStatus": {
"admin": "Administrator",
"restricted": "Begrenset",
"protected": "Beskyttet",
"current": "GJELDENDE"
},
"messages": {
"markedAsWatched": "Merket som sett",
"markedAsUnwatched": "Merket som usett",
"markedAsWatchedOffline": "Merket som sett (synkroniseres når tilkoblet)",
"markedAsUnwatchedOffline": "Merket som usett (synkroniseres når tilkoblet)",
"removedFromContinueWatching": "Fjernet fra Fortsett å se",
"errorLoading": "Feil: ${error}",
"fileInfoNotAvailable": "Filinformasjon ikke tilgjengelig",
"errorLoadingFileInfo": "Feil ved lasting av filinformasjon: ${error}",
"errorLoadingSeries": "Feil ved lasting av serie",
"errorLoadingSeason": "Feil ved lasting av sesong",
"musicNotSupported": "Musikkavspilling støttes ikke ennå",
"logsCleared": "Logger tømt",
"logsCopied": "Logger kopiert til utklippstavle",
"noLogsAvailable": "Ingen logger tilgjengelig",
"libraryScanning": "Skanner \"${title}\"...",
"libraryScanStarted": "Bibliotekkanning startet for \"${title}\"",
"libraryScanFailed": "Kunne ikke skanne bibliotek: ${error}",
"metadataRefreshing": "Oppdaterer metadata for \"${title}\"...",
"metadataRefreshStarted": "Metadataoppdatering startet for \"${title}\"",
"metadataRefreshFailed": "Kunne ikke oppdatere metadata: ${error}",
"logoutConfirm": "Er du sikker på at du vil logge ut?",
"noSeasonsFound": "Ingen sesonger funnet",
"noEpisodesFound": "Ingen episoder funnet i første sesong",
"noEpisodesFoundGeneral": "Ingen episoder funnet",
"noResultsFound": "Ingen resultater funnet",
"sleepTimerSet": "Søvntimer satt til ${label}",
"noItemsAvailable": "Ingen elementer tilgjengelig",
"failedToCreatePlayQueueNoItems": "Kunne ikke opprette avspillingskø – ingen elementer",
"failedPlayback": "Kunne ikke ${action}: ${error}",
"switchingToCompatiblePlayer": "Bytter til kompatibel spiller...",
"logsUploaded": "Logger lastet opp",
"logsUploadFailed": "Kunne ikke laste opp logger",
"logId": "Logg-ID"
},
"subtitlingStyling": {
"stylingOptions": "Stilalternativer",
"fontSize": "Skriftstørrelse",
"textColor": "Tekstfarge",
"borderSize": "Kantstørrelse",
"borderColor": "Kantfarge",
"backgroundOpacity": "Bakgrunnsopasitet",
"backgroundColor": "Bakgrunnsfarge",
"position": "Posisjon"
},
"mpvConfig": {
"title": "mpv.conf",
"description": "Avanserte videospillerinnstillinger",
"presets": "Forhåndsinnstillinger",
"noPresets": "Ingen lagrede forhåndsinnstillinger",
"saveAsPreset": "Lagre som forhåndsinnstilling...",
"presetName": "Forhåndsinnstillingsnavn",
"presetNameHint": "Skriv inn et navn for denne forhåndsinnstillingen",
"loadPreset": "Last inn",
"deletePreset": "Slett",
"presetSaved": "Forhåndsinnstilling lagret",
"presetLoaded": "Forhåndsinnstilling lastet inn",
"presetDeleted": "Forhåndsinnstilling slettet",
"confirmDeletePreset": "Er du sikker på at du vil slette denne forhåndsinnstillingen?",
"configPlaceholder": "gpu-api=vulkan\nhwdec=auto\n# kommentar"
},
"dialog": {
"confirmAction": "Bekreft handling"
},
"discover": {
"title": "Oppdag",
"switchProfile": "Bytt profil",
"noContentAvailable": "Ingen innhold tilgjengelig",
"addMediaToLibraries": "Legg til medier i bibliotekene dine",
"continueWatching": "Fortsett å se",
"playEpisode": "S${season}E${episode}",
"overview": "Oversikt",
"cast": "Skuespillere",
"extras": "Trailere og ekstra",
"seasons": "Sesonger",
"studio": "Studio",
"rating": "Vurdering",
"episodeCount": "${count} episoder",
"watchedProgress": "${watched}/${total} sett",
"movie": "Film",
"tvShow": "TV-serie",
"minutesLeft": "${minutes} min igjen"
},
"errors": {
"searchFailed": "Søk mislyktes: ${error}",
"connectionTimeout": "Tidsavbrudd ved lasting av ${context}",
"connectionFailed": "Kunne ikke koble til Plex-server",
"failedToLoad": "Kunne ikke laste ${context}: ${error}",
"noClientAvailable": "Ingen klient tilgjengelig",
"authenticationFailed": "Autentisering mislyktes: ${error}",
"couldNotLaunchUrl": "Kunne ikke åpne autentiserings-URL",
"pleaseEnterToken": "Vennligst skriv inn et token",
"invalidToken": "Ugyldig token",
"failedToVerifyToken": "Kunne ikke verifisere token: ${error}",
"failedToSwitchProfile": "Kunne ikke bytte til ${displayName}"
},
"libraries": {
"title": "Biblioteker",
"scanLibraryFiles": "Skann bibliotekfiler",
"scanLibrary": "Skann bibliotek",
"analyze": "Analyser",
"analyzeLibrary": "Analyser bibliotek",
"refreshMetadata": "Oppdater metadata",
"emptyTrash": "Tøm papirkurv",
"emptyingTrash": "Tømmer papirkurv for \"${title}\"...",
"trashEmptied": "Papirkurv tømt for \"${title}\"",
"failedToEmptyTrash": "Kunne ikke tømme papirkurv: ${error}",
"analyzing": "Analyserer \"${title}\"...",
"analysisStarted": "Analyse startet for \"${title}\"",
"failedToAnalyze": "Kunne ikke analysere bibliotek: ${error}",
"noLibrariesFound": "Ingen biblioteker funnet",
"thisLibraryIsEmpty": "Dette biblioteket er tomt",
"all": "Alle",
"clearAll": "Tøm alle",
"scanLibraryConfirm": "Er du sikker på at du vil skanne \"${title}\"?",
"analyzeLibraryConfirm": "Er du sikker på at du vil analysere \"${title}\"?",
"refreshMetadataConfirm": "Er du sikker på at du vil oppdatere metadata for \"${title}\"?",
"emptyTrashConfirm": "Er du sikker på at du vil tømme papirkurven for \"${title}\"?",
"manageLibraries": "Administrer biblioteker",
"sort": "Sorter",
"sortBy": "Sorter etter",
"filters": "Filtre",
"confirmActionMessage": "Er du sikker på at du vil utføre denne handlingen?",
"showLibrary": "Vis bibliotek",
"hideLibrary": "Skjul bibliotek",
"libraryOptions": "Bibliotekalternativer",
"content": "bibliotekinnhold",
"selectLibrary": "Velg bibliotek",
"filtersWithCount": "Filtre (${count})",
"noRecommendations": "Ingen anbefalinger tilgjengelig",
"noCollections": "Ingen samlinger i dette biblioteket",
"noFoldersFound": "Ingen mapper funnet",
"folders": "mapper",
"tabs": {
"recommended": "Anbefalt",
"browse": "Bla gjennom",
"collections": "Samlinger",
"playlists": "Spillelister"
},
"groupings": {
"title": "Gruppering",
"all": "Alle",
"movies": "Filmer",
"shows": "TV-serier",
"seasons": "Sesonger",
"episodes": "Episoder",
"folders": "Mapper"
}
},
"about": {
"title": "Om",
"openSourceLicenses": "Åpen kildekode-lisenser",
"versionLabel": "Versjon ${version}",
"appDescription": "En vakker Plex-klient for Flutter",
"viewLicensesDescription": "Vis lisenser for tredjepartsbiblioteker"
},
"serverSelection": {
"allServerConnectionsFailed": "Kunne ikke koble til noen servere. Sjekk nettverket ditt og prøv igjen.",
"noServersFoundForAccount": "Ingen servere funnet for ${username} (${email})",
"failedToLoadServers": "Kunne ikke laste servere: ${error}"
},
"hubDetail": {
"title": "Tittel",
"releaseYear": "Utgivelsesår",
"dateAdded": "Dato lagt til",
"rating": "Vurdering",
"noItemsFound": "Ingen elementer funnet"
},
"logs": {
"clearLogs": "Tøm logger",
"copyLogs": "Kopier logger",
"uploadLogs": "Last opp logger",
"error": "Feil:",
"stackTrace": "Stabelsporing:"
},
"licenses": {
"relatedPackages": "Relaterte pakker",
"license": "Lisens",
"licenseNumber": "Lisens ${number}",
"licensesCount": "${count} lisenser"
},
"navigation": {
"libraries": "Biblioteker",
"downloads": "Nedlastinger",
"liveTv": "Direkte-TV"
},
"liveTv": {
"title": "Direkte-TV",
"channels": "Kanaler",
"guide": "Programguide",
"noChannels": "Ingen kanaler tilgjengelig",
"noDvr": "Ingen DVR konfigurert på noen server",
"tuneFailed": "Kunne ikke stille inn kanal",
"loading": "Laster kanaler...",
"nowPlaying": "Spilles nå",
"noPrograms": "Ingen programdata tilgjengelig",
"channelNumber": "Kanal ${number}",
"live": "DIREKTE",
"hd": "HD",
"premiere": "NY",
"reloadGuide": "Last inn programguide på nytt",
"allChannels": "Alle kanaler",
"now": "Nå",
"today": "I dag",
"midnight": "Midnatt",
"overnight": "Natt",
"morning": "Morgen",
"daytime": "Dagtid",
"evening": "Kveld",
"lateNight": "Sen kveld",
"whatsOn": "Hva går nå",
"watchChannel": "Se kanal"
},
"collections": {
"title": "Samlinger",
"collection": "Samling",
"empty": "Samlingen er tom",
"unknownLibrarySection": "Kan ikke slette: Ukjent bibliotekseksjon",
"deleteCollection": "Slett samling",
"deleteConfirm": "Er du sikker på at du vil slette \"${title}\"? Denne handlingen kan ikke angres.",
"deleted": "Samling slettet",
"deleteFailed": "Kunne ikke slette samling",
"deleteFailedWithError": "Kunne ikke slette samling: ${error}",
"failedToLoadItems": "Kunne ikke laste samlingselementer: ${error}",
"selectCollection": "Velg samling",
"collectionName": "Samlingsnavn",
"enterCollectionName": "Skriv inn samlingsnavn",
"addedToCollection": "Lagt til i samling",
"errorAddingToCollection": "Kunne ikke legge til i samling",
"created": "Samling opprettet",
"removeFromCollection": "Fjern fra samling",
"removeFromCollectionConfirm": "Fjerne \"${title}\" fra denne samlingen?",
"removedFromCollection": "Fjernet fra samling",
"removeFromCollectionFailed": "Kunne ikke fjerne fra samling",
"removeFromCollectionError": "Feil ved fjerning fra samling: ${error}"
},
"playlists": {
"title": "Spillelister",
"playlist": "Spilleliste",
"noPlaylists": "Ingen spillelister funnet",
"create": "Opprett spilleliste",
"playlistName": "Spillelistenavn",
"enterPlaylistName": "Skriv inn spillelistenavn",
"delete": "Slett spilleliste",
"removeItem": "Fjern fra spilleliste",
"smartPlaylist": "Smart spilleliste",
"itemCount": "${count} elementer",
"oneItem": "1 element",
"emptyPlaylist": "Denne spillelisten er tom",
"deleteConfirm": "Slett spilleliste?",
"deleteMessage": "Er du sikker på at du vil slette \"${name}\"?",
"created": "Spilleliste opprettet",
"deleted": "Spilleliste slettet",
"itemAdded": "Lagt til i spilleliste",
"itemRemoved": "Fjernet fra spilleliste",
"selectPlaylist": "Velg spilleliste",
"errorCreating": "Kunne ikke opprette spilleliste",
"errorDeleting": "Kunne ikke slette spilleliste",
"errorLoading": "Kunne ikke laste spillelister",
"errorAdding": "Kunne ikke legge til i spilleliste",
"errorReordering": "Kunne ikke omorganisere spillelisteelement",
"errorRemoving": "Kunne ikke fjerne fra spilleliste"
},
"watchTogether": {
"title": "Se sammen",
"description": "Se innhold synkronisert med venner og familie",
"createSession": "Opprett økt",
"creating": "Oppretter...",
"joinSession": "Bli med i økt",
"joining": "Blir med...",
"controlMode": "Kontrollmodus",
"controlModeQuestion": "Hvem kan kontrollere avspilling?",
"hostOnly": "Kun vert",
"anyone": "Alle",
"hostingSession": "Er vert for økt",
"inSession": "I økt",
"sessionCode": "Øktkode",
"hostControlsPlayback": "Verten kontrollerer avspilling",
"anyoneCanControl": "Alle kan kontrollere avspilling",
"hostControls": "Vertskontroll",
"anyoneControls": "Alle kontrollerer",
"participants": "Deltakere",
"host": "Vert",
"hostBadge": "VERT",
"youAreHost": "Du er verten",
"watchingWithOthers": "Ser med andre",
"endSession": "Avslutt økt",
"leaveSession": "Forlat økt",
"endSessionQuestion": "Avslutte økt?",
"leaveSessionQuestion": "Forlate økt?",
"endSessionConfirm": "Dette vil avslutte økten for alle deltakere.",
"leaveSessionConfirm": "Du vil bli fjernet fra økten.",
"endSessionConfirmOverlay": "Dette vil avslutte se sammen-økten for alle deltakere.",
"leaveSessionConfirmOverlay": "Du vil bli frakoblet fra se sammen-økten.",
"end": "Avslutt",
"leave": "Forlat",
"syncing": "Synkroniserer...",
"joinWatchSession": "Bli med i se sammen-økt",
"enterCodeHint": "Skriv inn 8-tegns kode",
"pasteFromClipboard": "Lim inn fra utklippstavle",
"pleaseEnterCode": "Vennligst skriv inn en øktkode",
"codeMustBe8Chars": "Øktkoden må være 8 tegn",
"joinInstructions": "Skriv inn øktkoden delt av verten for å bli med i se sammen-økten.",
"failedToCreate": "Kunne ikke opprette økt",
"failedToJoin": "Kunne ikke bli med i økt",
"sessionCodeCopied": "Øktkode kopiert til utklippstavle",
"relayUnreachable": "Reléserveren er utilgjengelig. Dette kan skyldes at internettleverandøren din blokkerer tilkoblingen. Du kan fortsatt prøve, men Se sammen fungerer kanskje ikke.",
"reconnectingToHost": "Kobler til verten på nytt...",
"currentPlayback": "Gjeldende avspilling",
"joinCurrentPlayback": "Bli med i gjeldende avspilling",
"joinCurrentPlaybackDescription": "Hopp tilbake til det verten ser på nå",
"failedToOpenCurrentPlayback": "Kunne ikke åpne gjeldende avspilling",
"participantJoined": "${name} ble med",
"participantLeft": "${name} forlot"
},
"downloads": {
"title": "Nedlastinger",
"manage": "Administrer",
"tvShows": "TV-serier",
"movies": "Filmer",
"noDownloads": "Ingen nedlastinger ennå",
"noDownloadsDescription": "Nedlastet innhold vil vises her for frakoblet visning",
"downloadNow": "Last ned",
"deleteDownload": "Slett nedlasting",
"retryDownload": "Prøv nedlasting på nytt",
"downloadQueued": "Nedlasting i kø",
"episodesQueued": "${count} episoder i nedlastingskø",
"downloadDeleted": "Nedlasting slettet",
"deleteConfirm": "Er du sikker på at du vil slette \"${title}\"? Dette vil fjerne den nedlastede filen fra enheten din.",
"deletingWithProgress": "Sletter ${title}... (${current} av ${total})",
"noDownloadsTree": "Ingen nedlastinger",
"pauseAll": "Pause alle",
"resumeAll": "Gjenoppta alle",
"deleteAll": "Slett alle"
},
"shaders": {
"title": "Shadere",
"noShaderDescription": "Ingen videoforbedring",
"nvscalerDescription": "NVIDIA bildeskalering for skarpere video",
"qualityFast": "Rask",
"qualityHQ": "Høy kvalitet",
"mode": "Modus",
"importShader": "Importer shader",
"customShaderDescription": "Egendefinert GLSL-shader",
"shaderImported": "Shader importert",
"shaderImportFailed": "Kunne ikke importere shader",
"deleteShader": "Slett shader",
"deleteShaderConfirm": "Slette \"${name}\"?"
},
"companionRemote": {
"title": "Følgesvenn-fjernkontroll",
"connectToDevice": "Koble til enhet",
"hostRemoteSession": "Vær vert for fjernøkt",
"controlThisDevice": "Kontroller denne enheten med telefonen din",
"remoteControl": "Fjernkontroll",
"controlDesktop": "Kontroller en stasjonær enhet",
"connectedTo": "Tilkoblet ${name}",
"session": {
"creatingSession": "Oppretter fjernøkt...",
"failedToCreate": "Kunne ikke opprette fjernøkt:",
"noSession": "Ingen økt tilgjengelig",
"scanQrCode": "Skann QR-kode",
"orEnterManually": "Eller skriv inn manuelt",
"hostAddress": "Vertsadresse",
"sessionId": "Økt-ID",
"pin": "PIN",
"connected": "Tilkoblet",
"waitingForConnection": "Venter på tilkobling...",
"usePhoneToControl": "Bruk mobilenheten din til å kontrollere denne appen",
"copiedToClipboard": "${label} kopiert til utklippstavle",
"copyToClipboard": "Kopier til utklippstavle",
"newSession": "Ny økt",
"minimize": "Minimer"
},
"pairing": {
"scan": "Skann",
"manual": "Manuell",
"pairWithDesktop": "Koble til stasjonær",
"enterSessionDetails": "Skriv inn øktdetaljene som vises på den stasjonære enheten din",
"hostAddressHint": "192.168.1.100:48632",
"sessionIdHint": "Skriv inn 8-tegns økt-ID",
"pinHint": "Skriv inn 6-sifret PIN",
"connecting": "Kobler til...",
"tips": "Tips",
"tipDesktop": "Åpne Plezy på datamaskinen din og aktiver Følgesvenn-fjernkontroll fra innstillinger eller meny",
"tipScan": "Bruk Skann-fanen for å raskt koble til ved å skanne QR-koden på datamaskinen din",
"tipWifi": "Sørg for at begge enhetene er på samme WiFi-nettverk",
"cameraPermissionRequired": "Kameratillatelse kreves for å skanne QR-koder.\nVennligst gi kameratilgang i enhetsinnstillingene.",
"cameraError": "Kunne ikke starte kamera: ${error}",
"scanInstruction": "Pek kameraet mot QR-koden som vises på datamaskinen din",
"invalidQrCode": "Ugyldig QR-kodeformat",
"validationHostRequired": "Vennligst skriv inn vertsadresse",
"validationHostFormat": "Formatet må være IP:port (f.eks. 192.168.1.100:48632)",
"validationSessionIdRequired": "Vennligst skriv inn en økt-ID",
"validationSessionIdLength": "Økt-ID må være 8 tegn",
"validationPinRequired": "Vennligst skriv inn en PIN",
"validationPinLength": "PIN må være 6 sifre",
"connectionTimedOut": "Tilkoblingen ble tidsavbrutt. Sjekk økt-ID og PIN.",
"sessionNotFound": "Kunne ikke finne økten. Sjekk legitimasjonen din.",
"failedToConnect": "Kunne ikke koble til: ${error}"
},
"remote": {
"disconnectConfirm": "Vil du koble fra fjernøkten?",
"reconnecting": "Kobler til på nytt...",
"attemptOf": "Forsøk ${current} av 5",
"retryNow": "Prøv nå",
"connectionError": "Tilkoblingsfeil",
"notConnected": "Ikke tilkoblet",
"tabRemote": "Fjernkontroll",
"tabPlay": "Spill av",
"tabMore": "Mer",
"menu": "Meny",
"tabNavigation": "Fanenavigering",
"tabDiscover": "Oppdag",
"tabLibraries": "Biblioteker",
"tabSearch": "Søk",
"tabDownloads": "Nedlastinger",
"tabSettings": "Innstillinger",
"previous": "Forrige",
"playPause": "Spill av/Pause",
"next": "Neste",
"seekBack": "Spol tilbake",
"stop": "Stopp",
"seekForward": "Spol fremover",
"volume": "Volum",
"volumeDown": "Ned",
"volumeUp": "Opp",
"fullscreen": "Fullskjerm",
"subtitles": "Undertekster",
"audio": "Lyd",
"searchHint": "Søk på stasjonær..."
}
},
"videoSettings": {
"playbackSettings": "Avspillingsinnstillinger",
"playbackSpeed": "Avspillingshastighet",
"sleepTimer": "Søvntimer",
"audioSync": "Lydsynkronisering",
"subtitleSync": "Undertekstsynkronisering",
"hdr": "HDR",
"audioOutput": "Lydutgang",
"performanceOverlay": "Ytelsesoverlegg",
"audioPassthrough": "Lydgjennomgang",
"audioNormalization": "Lydnormalisering"
},
"externalPlayer": {
"title": "Ekstern spiller",
"useExternalPlayer": "Bruk ekstern spiller",
"useExternalPlayerDescription": "Åpne videoer i en ekstern app i stedet for den innebygde spilleren",
"selectPlayer": "Velg spiller",
"systemDefault": "Systemstandard",
"addCustomPlayer": "Legg til egendefinert spiller",
"playerName": "Spillernavn",
"playerCommand": "Kommando",
"playerPackage": "Pakkenavn",
"playerUrlScheme": "URL-skjema",
"customPlayer": "Egendefinert spiller",
"off": "Av",
"launchFailed": "Kunne ikke åpne ekstern spiller",
"appNotInstalled": "${name} er ikke installert",
"playInExternalPlayer": "Spill av i ekstern spiller"
},
"metadataEdit": {
"editMetadata": "Rediger...",
"screenTitle": "Rediger metadata",
"basicInfo": "Grunnleggende info",
"artwork": "Kunstverk",
"advancedSettings": "Avanserte innstillinger",
"title": "Tittel",
"sortTitle": "Sorteringsstittel",
"originalTitle": "Originaltittel",
"releaseDate": "Utgivelsesdato",
"contentRating": "Innholdsvurdering",
"studio": "Studio",
"tagline": "Slagord",
"summary": "Sammendrag",
"poster": "Plakat",
"background": "Bakgrunn",
"selectPoster": "Velg plakat",
"selectBackground": "Velg bakgrunn",
"fromUrl": "Fra URL",
"uploadFile": "Last opp fil",
"enterImageUrl": "Skriv inn bilde-URL",
"imageUrl": "Bilde-URL",
"metadataUpdated": "Metadata oppdatert",
"metadataUpdateFailed": "Kunne ikke oppdatere metadata",
"artworkUpdated": "Kunstverk oppdatert",
"artworkUpdateFailed": "Kunne ikke oppdatere kunstverk",
"noArtworkAvailable": "Ingen kunstverk tilgjengelig",
"notSet": "Ikke angitt",
"libraryDefault": "Bibliotekstandard",
"accountDefault": "Kontostandard",
"seriesDefault": "Seriestandard",
"episodeSorting": "Episodesortering",
"oldestFirst": "Eldste først",
"newestFirst": "Nyeste først",
"keep": "Behold",
"allEpisodes": "Alle episoder",
"latestEpisodes": "${count} nyeste episoder",
"latestEpisode": "Nyeste episode",
"episodesAddedPastDays": "Episoder lagt til de siste ${count} dagene",
"deleteAfterPlaying": "Slett episoder etter avspilling",
"never": "Aldri",
"afterADay": "Etter en dag",
"afterAWeek": "Etter en uke",
"afterAMonth": "Etter en måned",
"onNextRefresh": "Ved neste oppdatering",
"seasons": "Sesonger",
"show": "Vis",
"hide": "Skjul",
"episodeOrdering": "Episoderekkefølge",
"tmdbAiring": "The Movie Database (Sendt)",
"tvdbAiring": "TheTVDB (Sendt)",
"tvdbAbsolute": "TheTVDB (Absolutt)",
"metadataLanguage": "Metadataspråk",
"useOriginalTitle": "Bruk originaltittel",
"preferredAudioLanguage": "Foretrukket lydspråk",
"preferredSubtitleLanguage": "Foretrukket undertekstspråk",
"subtitleMode": "Automatisk valg av undertekstmodus",
"manuallySelected": "Manuelt valgt",
"shownWithForeignAudio": "Vist med fremmedspråklig lyd",
"alwaysEnabled": "Alltid aktivert"
}
}
+30 -15
View File
@@ -6,9 +6,6 @@
"signInWithPlex": "Inloggen met Plex",
"showQRCode": "Toon QR-code",
"authenticate": "Authenticeren",
"debugEnterToken": "Debug: Voer Plex Token in",
"plexTokenLabel": "Plex Authenticatietoken",
"plexTokenHint": "Voer je Plex.tv token in",
"authenticationTimeout": "Authenticatie verlopen. Probeer opnieuw.",
"scanQRToSignIn": "Scan deze QR-code om in te loggen",
"waitingForAuth": "Wachten op authenticatie...\nVoltooi het inloggen in je browser.",
@@ -181,6 +178,11 @@
"autoSkipCreditsDescription": "Credits automatisch overslaan en volgende aflevering afspelen",
"autoSkipDelay": "Vertraging Automatisch Overslaan",
"autoSkipDelayDescription": "${seconds} seconden wachten voor automatisch overslaan",
"introPattern": "Intromarkeringspatroon",
"introPatternDescription": "Reguliere expressie om intromarkeringen in hoofdstuktitels te herkennen",
"creditsPattern": "Aftitelingmarkeringspatroon",
"creditsPatternDescription": "Reguliere expressie om aftitelingmarkeringen in hoofdstuktitels te herkennen",
"invalidRegex": "Ongeldige reguliere expressie",
"downloads": "Downloads",
"downloadLocationDescription": "Kies waar gedownloade content wordt opgeslagen",
"downloadLocationDefault": "Standaard (App-opslag)",
@@ -204,12 +206,14 @@
"autoPipDescription": "Automatisch beeld-in-beeld activeren bij het verlaten van de app tijdens afspelen",
"matchContentFrameRate": "Inhoudsframesnelheid afstemmen",
"matchContentFrameRateDescription": "Pas de schermverversingssnelheid aan op de video-inhoud, vermindert haperingen en bespaart batterij",
"tunneledPlayback": "Tunneled Playback",
"tunneledPlaybackDescription": "Use hardware-accelerated video tunneling. Disable if you see a black screen with audio on HDR content",
"tunneledPlayback": "Getunnelde weergave",
"tunneledPlaybackDescription": "Gebruik hardwareversnelde videotunneling. Schakel uit als je een zwart scherm met geluid ziet bij HDR-content",
"requireProfileSelectionOnOpen": "Vraag om profiel bij openen",
"requireProfileSelectionOnOpenDescription": "Toon profielselectie telkens wanneer de app wordt geopend",
"confirmExitOnBack": "Bevestigen voor afsluiten",
"confirmExitOnBackDescription": "Toon een bevestigingsvenster bij het drukken op terug om de app af te sluiten"
"confirmExitOnBackDescription": "Toon een bevestigingsvenster bij het drukken op terug om de app af te sluiten",
"showNavBarLabels": "Navigatiebalk labels tonen",
"showNavBarLabelsDescription": "Tekstlabels onder de pictogrammen van de navigatiebalk weergeven"
},
"search": {
"hint": "Zoek films, series, muziek...",
@@ -366,8 +370,8 @@
},
"chapters": "Hoofdstukken",
"noChaptersAvailable": "Geen hoofdstukken beschikbaar",
"queue": "Queue",
"noQueueItems": "No items in queue"
"queue": "Wachtrij",
"noQueueItems": "Geen items in de wachtrij"
},
"userStatus": {
"admin": "Beheerder",
@@ -406,9 +410,9 @@
"failedToCreatePlayQueueNoItems": "Kan afspeelwachtrij niet maken - geen items",
"failedPlayback": "Afspelen van ${action} mislukt: ${error}",
"switchingToCompatiblePlayer": "Overschakelen naar compatibele speler...",
"logsUploaded": "Logs uploaded",
"logsUploadFailed": "Failed to upload logs",
"logId": "Log ID"
"logsUploaded": "Logs geüpload",
"logsUploadFailed": "Uploaden van logs mislukt",
"logId": "Log-ID"
},
"subtitlingStyling": {
"stylingOptions": "Opmaak opties",
@@ -418,7 +422,7 @@
"borderColor": "Randkleur",
"backgroundOpacity": "Achtergrond transparantie",
"backgroundColor": "Achtergrondkleur",
"position": "Position"
"position": "Positie"
},
"mpvConfig": {
"title": "mpv-configuratie",
@@ -515,6 +519,7 @@
"playlists": "Afspeellijsten"
},
"groupings": {
"title": "Groepering",
"all": "Alles",
"movies": "Films",
"shows": "Series",
@@ -545,7 +550,7 @@
"logs": {
"clearLogs": "Wis logs",
"copyLogs": "Kopieer logs",
"uploadLogs": "Upload Logs",
"uploadLogs": "Logs uploaden",
"error": "Fout:",
"stackTrace": "Stacktracering:"
},
@@ -702,6 +707,10 @@
"sessionCodeCopied": "Sessiecode gekopieerd naar klembord",
"relayUnreachable": "De relayserver is niet bereikbaar. Dit kan worden veroorzaakt doordat je internetprovider de verbinding blokkeert. Je kunt het toch proberen, maar Watch Together werkt mogelijk niet.",
"reconnectingToHost": "Opnieuw verbinden met host...",
"currentPlayback": "Huidige weergave",
"joinCurrentPlayback": "Deelnemen aan huidige weergave",
"joinCurrentPlaybackDescription": "Ga terug naar wat de host nu kijkt",
"failedToOpenCurrentPlayback": "Huidige weergave kon niet worden geopend",
"participantJoined": "${name} is toegetreden",
"participantLeft": "${name} heeft de sessie verlaten"
},
@@ -711,10 +720,16 @@
"nvscalerDescription": "NVIDIA-beeldschaling voor scherpere video",
"qualityFast": "Snel",
"qualityHQ": "Hoge kwaliteit",
"mode": "Modus"
"mode": "Modus",
"importShader": "Shader importeren",
"customShaderDescription": "Aangepaste GLSL-shader",
"shaderImported": "Shader geïmporteerd",
"shaderImportFailed": "Shader importeren mislukt",
"deleteShader": "Shader verwijderen",
"deleteShaderConfirm": "\"${name}\" verwijderen?"
},
"companionRemote": {
"title": "Companion Remote",
"title": "Afstandsbediening",
"connectToDevice": "Verbinden met apparaat",
"hostRemoteSession": "Externe sessie hosten",
"controlThisDevice": "Bedien dit apparaat met je telefoon",
+905
View File
@@ -0,0 +1,905 @@
{
"app": {
"title": "Plezy"
},
"auth": {
"signInWithPlex": "Zaloguj się przez Plex",
"showQRCode": "Pokaż kod QR",
"authenticate": "Uwierzytelnienie",
"authenticationTimeout": "Upłynął czas uwierzytelniania. Spróbuj ponownie.",
"scanQRToSignIn": "Zeskanuj ten kod QR, aby się zalogować",
"waitingForAuth": "Oczekiwanie na uwierzytelnienie...\nDokończ logowanie w przeglądarce.",
"useBrowser": "Użyj przeglądarki"
},
"common": {
"cancel": "Anuluj",
"save": "Zapisz",
"close": "Zamknij",
"clear": "Wyczyść",
"reset": "Resetuj",
"later": "Później",
"submit": "Wyślij",
"confirm": "Potwierdź",
"retry": "Ponów",
"logout": "Wyloguj",
"unknown": "Nieznane",
"refresh": "Odśwież",
"yes": "Tak",
"no": "Nie",
"delete": "Usuń",
"shuffle": "Losowo",
"addTo": "Dodaj do...",
"createNew": "Utwórz nowy",
"remove": "Usuń",
"paste": "Wklej",
"connect": "Połącz",
"disconnect": "Rozłącz",
"play": "Odtwórz",
"pause": "Pauza",
"resume": "Wznów",
"error": "Błąd",
"search": "Szukaj",
"home": "Strona główna",
"back": "Wstecz",
"settings": "Ustawienia",
"mute": "Wycisz",
"ok": "OK",
"loading": "Ładowanie...",
"reconnect": "Połącz ponownie",
"exitConfirmTitle": "Zamknąć aplikację?",
"exitConfirmMessage": "Czy na pewno chcesz wyjść?",
"dontAskAgain": "Nie pytaj ponownie",
"exit": "Wyjdź",
"viewAll": "Pokaż wszystko",
"checkingNetwork": "Sprawdzanie sieci...",
"refreshingServers": "Odświeżanie serwerów...",
"loadingServers": "Ładowanie serwerów...",
"connectingToServers": "Łączenie z serwerami...",
"startingOfflineMode": "Uruchamianie trybu offline..."
},
"screens": {
"licenses": "Licencje",
"switchProfile": "Zmień profil",
"subtitleStyling": "Styl napisów",
"mpvConfig": "mpv.conf",
"logs": "Logi"
},
"update": {
"available": "Dostępna aktualizacja",
"versionAvailable": "Dostępna wersja ${version}",
"currentVersion": "Bieżąca: ${version}",
"skipVersion": "Pomiń tę wersję",
"viewRelease": "Zobacz wydanie",
"latestVersion": "Masz najnowszą wersję",
"checkFailed": "Nie udało się sprawdzić aktualizacji"
},
"settings": {
"title": "Ustawienia",
"language": "Język",
"theme": "Motyw",
"appearance": "Wygląd",
"videoPlayback": "Odtwarzanie wideo",
"advanced": "Zaawansowane",
"episodePosterMode": "Styl plakatu odcinka",
"seriesPoster": "Plakat serialu",
"seriesPosterDescription": "Pokaż plakat serialu dla wszystkich odcinków",
"seasonPoster": "Plakat sezonu",
"seasonPosterDescription": "Pokaż plakat odpowiedniego sezonu dla odcinków",
"episodeThumbnail": "Miniatura odcinka",
"episodeThumbnailDescription": "Pokaż miniatury zrzutów ekranu odcinków w formacie 16:9",
"showHeroSectionDescription": "Wyświetl karuzelę wyróżnionych treści na ekranie głównym",
"secondsLabel": "Sekundy",
"minutesLabel": "Minuty",
"secondsShort": "s",
"minutesShort": "m",
"durationHint": "Wprowadź czas (${min}-${max})",
"systemTheme": "Systemowy",
"systemThemeDescription": "Podążaj za ustawieniami systemu",
"lightTheme": "Jasny",
"darkTheme": "Ciemny",
"oledTheme": "OLED",
"oledThemeDescription": "Czysta czerń dla ekranów OLED",
"libraryDensity": "Gęstość biblioteki",
"compact": "Kompaktowy",
"compactDescription": "Mniejsze karty, więcej widocznych elementów",
"normal": "Normalny",
"normalDescription": "Domyślny rozmiar",
"comfortable": "Wygodny",
"comfortableDescription": "Większe karty, mniej widocznych elementów",
"viewMode": "Tryb widoku",
"gridView": "Siatka",
"gridViewDescription": "Wyświetl elementy w układzie siatki",
"listView": "Lista",
"listViewDescription": "Wyświetl elementy w układzie listy",
"showHeroSection": "Pokaż sekcję wyróżnioną",
"useGlobalHubs": "Użyj układu Plex Home",
"useGlobalHubsDescription": "Pokaż huby strony głównej jak w oficjalnym kliencie Plex. Gdy wyłączone, pokazuje rekomendacje per biblioteka.",
"showServerNameOnHubs": "Pokaż nazwę serwera w hubach",
"showServerNameOnHubsDescription": "Zawsze wyświetlaj nazwę serwera w tytułach hubów. Gdy wyłączone, pokazuje tylko dla zduplikowanych nazw.",
"alwaysKeepSidebarOpen": "Zawsze utrzymuj panel boczny otwarty",
"alwaysKeepSidebarOpenDescription": "Panel boczny jest rozwinięty, a obszar treści dostosowuje się",
"showUnwatchedCount": "Pokaż liczbę nieobejrzanych",
"showUnwatchedCountDescription": "Wyświetl liczbę nieobejrzanych odcinków w serialach i sezonach",
"hideSpoilers": "Ukryj spoilery nieobejrzanych odcinków",
"hideSpoilersDescription": "Rozmyj miniatury i ukryj opisy odcinków, których jeszcze nie obejrzałeś",
"playerBackend": "Backend odtwarzacza",
"exoPlayer": "ExoPlayer (Zalecany)",
"exoPlayerDescription": "Natywny odtwarzacz Android z lepszą obsługą sprzętową",
"mpv": "mpv",
"mpvDescription": "Zaawansowany odtwarzacz z większą liczbą funkcji i obsługą napisów ASS",
"hardwareDecoding": "Dekodowanie sprzętowe",
"hardwareDecodingDescription": "Użyj akceleracji sprzętowej, gdy dostępna",
"bufferSize": "Rozmiar bufora",
"bufferSizeMB": "${size}MB",
"bufferSizeAuto": "Automatyczny (Zalecany)",
"bufferSizeWarning": "Twoje urządzenie ma ${heap}MB pamięci. Bufor ${size}MB może powodować problemy z odtwarzaniem.",
"subtitleStyling": "Styl napisów",
"subtitleStylingDescription": "Dostosuj wygląd napisów",
"smallSkipDuration": "Krótki skok",
"largeSkipDuration": "Długi skok",
"secondsUnit": "${seconds} sekund",
"defaultSleepTimer": "Domyślny wyłącznik czasowy",
"minutesUnit": "${minutes} minut",
"rememberTrackSelections": "Zapamiętaj wybór ścieżek per serial/film",
"rememberTrackSelectionsDescription": "Automatycznie zapisuj preferencje języka audio i napisów przy zmianie ścieżek podczas odtwarzania",
"clickVideoTogglesPlayback": "Kliknięcie wideo przełącza odtwarzanie/pauzę",
"clickVideoTogglesPlaybackDescription": "Gdy włączone, kliknięcie na odtwarzacz wideo odtwarza/wstrzymuje. W przeciwnym razie pokazuje/ukrywa kontrolki.",
"videoPlayerControls": "Kontrolki odtwarzacza wideo",
"keyboardShortcuts": "Skróty klawiszowe",
"keyboardShortcutsDescription": "Dostosuj skróty klawiszowe",
"videoPlayerNavigation": "Nawigacja odtwarzacza wideo",
"videoPlayerNavigationDescription": "Użyj klawiszy strzałek do nawigacji kontrolkami odtwarzacza",
"crashReporting": "Raportowanie błędów",
"crashReportingDescription": "Wysyłaj raporty o błędach, aby pomóc ulepszyć aplikację",
"debugLogging": "Logowanie debugowania",
"debugLoggingDescription": "Włącz szczegółowe logowanie do rozwiązywania problemów",
"viewLogs": "Pokaż logi",
"viewLogsDescription": "Pokaż logi aplikacji",
"clearCache": "Wyczyść pamięć podręczną",
"clearCacheDescription": "Spowoduje to wyczyszczenie wszystkich zapisanych obrazów i danych. Po wyczyszczeniu aplikacja może ładować treści wolniej.",
"clearCacheSuccess": "Pamięć podręczna wyczyszczona",
"resetSettings": "Zresetuj ustawienia",
"resetSettingsDescription": "Wszystkie ustawienia zostaną przywrócone do wartości domyślnych. Tej operacji nie można cofnąć.",
"resetSettingsSuccess": "Ustawienia zresetowane pomyślnie",
"shortcutsReset": "Skróty przywrócone do domyślnych",
"about": "O aplikacji",
"aboutDescription": "Informacje o aplikacji i licencje",
"updates": "Aktualizacje",
"updateAvailable": "Dostępna aktualizacja",
"checkForUpdates": "Sprawdź aktualizacje",
"validationErrorEnterNumber": "Wprowadź prawidłową liczbę",
"validationErrorDuration": "Czas musi być między ${min} a ${max} ${unit}",
"shortcutAlreadyAssigned": "Skrót jest już przypisany do ${action}",
"shortcutUpdated": "Skrót zaktualizowany dla ${action}",
"autoSkip": "Automatyczne pomijanie",
"autoSkipIntro": "Automatyczne pomijanie intro",
"autoSkipIntroDescription": "Automatycznie pomijaj znaczniki intro po kilku sekundach",
"autoSkipCredits": "Automatyczne pomijanie napisów końcowych",
"autoSkipCreditsDescription": "Automatycznie pomijaj napisy końcowe i odtwórz następny odcinek",
"autoSkipDelay": "Opóźnienie automatycznego pomijania",
"autoSkipDelayDescription": "Czekaj ${seconds} sekund przed automatycznym pominięciem",
"introPattern": "Wzorzec znacznika intro",
"introPatternDescription": "Wyrażenie regularne do rozpoznawania znaczników intro w tytułach rozdziałów",
"creditsPattern": "Wzorzec znacznika napisów końcowych",
"creditsPatternDescription": "Wyrażenie regularne do rozpoznawania znaczników napisów końcowych w tytułach rozdziałów",
"invalidRegex": "Nieprawidłowe wyrażenie regularne",
"downloads": "Pobrania",
"downloadLocationDescription": "Wybierz miejsce przechowywania pobranych treści",
"downloadLocationDefault": "Domyślne (Pamięć aplikacji)",
"downloadLocationCustom": "Niestandardowa lokalizacja",
"selectFolder": "Wybierz folder",
"resetToDefault": "Przywróć domyślne",
"currentPath": "Bieżąca: ${path}",
"downloadLocationChanged": "Lokalizacja pobierania zmieniona",
"downloadLocationReset": "Lokalizacja pobierania przywrócona do domyślnej",
"downloadLocationInvalid": "Wybrany folder nie jest zapisywalny",
"downloadLocationSelectError": "Nie udało się wybrać folderu",
"downloadOnWifiOnly": "Pobieraj tylko przez WiFi",
"downloadOnWifiOnlyDescription": "Blokuj pobieranie na danych komórkowych",
"cellularDownloadBlocked": "Pobieranie na danych komórkowych jest wyłączone. Połącz się z WiFi lub zmień ustawienie.",
"maxVolume": "Maksymalna głośność",
"maxVolumeDescription": "Pozwól na wzmocnienie głośności powyżej 100% dla cichych multimediów",
"maxVolumePercent": "${percent}%",
"discordRichPresence": "Discord Rich Presence",
"discordRichPresenceDescription": "Pokaż, co oglądasz na Discordzie",
"autoPip": "Automatyczny obraz w obrazie",
"autoPipDescription": "Automatycznie przejdź do trybu obraz w obrazie przy wyjściu z aplikacji podczas odtwarzania",
"matchContentFrameRate": "Dopasuj częstotliwość klatek do treści",
"matchContentFrameRateDescription": "Dostosuj częstotliwość odświeżania ekranu do treści wideo, zmniejszając drgania i oszczędzając baterię",
"tunneledPlayback": "Tunelowane odtwarzanie",
"tunneledPlaybackDescription": "Użyj sprzętowo przyspieszonego tunelowania wideo. Wyłącz, jeśli widzisz czarny ekran z dźwiękiem przy treściach HDR",
"requireProfileSelectionOnOpen": "Pytaj o profil przy otwarciu aplikacji",
"requireProfileSelectionOnOpenDescription": "Pokaż wybór profilu za każdym razem, gdy aplikacja jest otwierana",
"confirmExitOnBack": "Potwierdź przed wyjściem",
"confirmExitOnBackDescription": "Pokaż dialog potwierdzenia przy naciśnięciu wstecz, aby wyjść z aplikacji",
"showNavBarLabels": "Pokaż etykiety paska nawigacji",
"showNavBarLabelsDescription": "Wyświetl tekstowe etykiety pod ikonami paska nawigacji"
},
"search": {
"hint": "Szukaj filmów, seriali, muzyki...",
"tryDifferentTerm": "Spróbuj innego wyszukiwania",
"searchYourMedia": "Przeszukaj swoje media",
"enterTitleActorOrKeyword": "Wprowadź tytuł, aktora lub słowo kluczowe"
},
"hotkeys": {
"setShortcutFor": "Ustaw skrót dla ${actionName}",
"clearShortcut": "Wyczyść skrót",
"actions": {
"playPause": "Odtwórz/Pauza",
"volumeUp": "Głośniej",
"volumeDown": "Ciszej",
"seekForward": "Przewiń do przodu (${seconds}s)",
"seekBackward": "Przewiń do tyłu (${seconds}s)",
"fullscreenToggle": "Pełny ekran",
"muteToggle": "Wyciszenie",
"subtitleToggle": "Napisy",
"audioTrackNext": "Następna ścieżka audio",
"subtitleTrackNext": "Następna ścieżka napisów",
"chapterNext": "Następny rozdział",
"chapterPrevious": "Poprzedni rozdział",
"speedIncrease": "Zwiększ prędkość",
"speedDecrease": "Zmniejsz prędkość",
"speedReset": "Zresetuj prędkość",
"subSeekNext": "Przewiń do następnego napisu",
"subSeekPrev": "Przewiń do poprzedniego napisu",
"shaderToggle": "Przełącz shadery",
"skipMarker": "Pomiń intro/napisy końcowe"
}
},
"pinEntry": {
"enterPin": "Wprowadź PIN",
"showPin": "Pokaż PIN",
"hidePin": "Ukryj PIN"
},
"fileInfo": {
"title": "Informacje o pliku",
"video": "Wideo",
"audio": "Audio",
"file": "Plik",
"advanced": "Zaawansowane",
"codec": "Kodek",
"resolution": "Rozdzielczość",
"bitrate": "Bitrate",
"frameRate": "Klatki na sekundę",
"aspectRatio": "Proporcje",
"profile": "Profil",
"bitDepth": "Głębia bitowa",
"colorSpace": "Przestrzeń kolorów",
"colorRange": "Zakres kolorów",
"colorPrimaries": "Kolory podstawowe",
"chromaSubsampling": "Subsampling chrominancji",
"channels": "Kanały",
"path": "Ścieżka",
"size": "Rozmiar",
"container": "Kontener",
"duration": "Czas trwania",
"optimizedForStreaming": "Zoptymalizowane do strumieniowania",
"has64bitOffsets": "64-bitowe offsety"
},
"mediaMenu": {
"markAsWatched": "Oznacz jako obejrzane",
"markAsUnwatched": "Oznacz jako nieobejrzane",
"removeFromContinueWatching": "Usuń z kontynuowania oglądania",
"goToSeries": "Przejdź do serialu",
"goToSeason": "Przejdź do sezonu",
"shufflePlay": "Odtwarzanie losowe",
"fileInfo": "Informacje o pliku",
"deleteFromServer": "Usuń z serwera",
"confirmDelete": "To trwale usunie te multimedia i ich pliki z twojego serwera. Tej operacji nie można cofnąć.",
"deleteMultipleWarning": "Obejmuje to wszystkie odcinki i ich pliki.",
"mediaDeletedSuccessfully": "Element multimedialny usunięty pomyślnie",
"mediaFailedToDelete": "Nie udało się usunąć elementu multimedialnego",
"rate": "Oceń"
},
"accessibility": {
"mediaCardMovie": "${title}, film",
"mediaCardShow": "${title}, serial TV",
"mediaCardEpisode": "${title}, ${episodeInfo}",
"mediaCardSeason": "${title}, ${seasonInfo}",
"mediaCardWatched": "obejrzane",
"mediaCardPartiallyWatched": "${percent} procent obejrzane",
"mediaCardUnwatched": "nieobejrzane",
"tapToPlay": "Dotknij, aby odtworzyć"
},
"tooltips": {
"shufflePlay": "Odtwarzanie losowe",
"playTrailer": "Odtwórz zwiastun",
"markAsWatched": "Oznacz jako obejrzane",
"markAsUnwatched": "Oznacz jako nieobejrzane"
},
"videoControls": {
"audioLabel": "Audio",
"subtitlesLabel": "Napisy",
"resetToZero": "Zresetuj do 0ms",
"addTime": "+${amount}${unit}",
"minusTime": "-${amount}${unit}",
"playsLater": "${label} odtwarza później",
"playsEarlier": "${label} odtwarza wcześniej",
"noOffset": "Bez przesunięcia",
"letterbox": "Letterbox",
"fillScreen": "Wypełnij ekran",
"stretch": "Rozciągnij",
"lockRotation": "Zablokuj obrót",
"unlockRotation": "Odblokuj obrót",
"timerActive": "Wyłącznik aktywny",
"playbackWillPauseIn": "Odtwarzanie zatrzyma się za ${duration}",
"sleepTimerCompleted": "Wyłącznik czasowy zakończony — odtwarzanie wstrzymane",
"stillWatching": "Nadal oglądasz?",
"pausingIn": "Pauza za ${seconds}s",
"continueWatching": "Kontynuuj",
"autoPlayNext": "Automatycznie odtwórz następny",
"playNext": "Odtwórz następny",
"playButton": "Odtwórz",
"pauseButton": "Pauza",
"seekBackwardButton": "Przewiń do tyłu o ${seconds} sekund",
"seekForwardButton": "Przewiń do przodu o ${seconds} sekund",
"previousButton": "Poprzedni odcinek",
"nextButton": "Następny odcinek",
"previousChapterButton": "Poprzedni rozdział",
"nextChapterButton": "Następny rozdział",
"muteButton": "Wycisz",
"unmuteButton": "Wyłącz wyciszenie",
"settingsButton": "Ustawienia wideo",
"audioTrackButton": "Ścieżki audio",
"subtitlesButton": "Napisy",
"tracksButton": "Audio i napisy",
"chaptersButton": "Rozdziały",
"versionsButton": "Wersje wideo",
"pipButton": "Tryb obraz w obrazie",
"aspectRatioButton": "Proporcje",
"ambientLighting": "Oświetlenie otoczenia",
"ambientLightingOn": "Włącz oświetlenie otoczenia",
"ambientLightingOff": "Wyłącz oświetlenie otoczenia",
"fullscreenButton": "Wejdź w pełny ekran",
"exitFullscreenButton": "Wyjdź z pełnego ekranu",
"alwaysOnTopButton": "Zawsze na wierzchu",
"rotationLockButton": "Blokada obrotu",
"timelineSlider": "Oś czasu wideo",
"volumeSlider": "Poziom głośności",
"endsAt": "Kończy się o ${time}",
"pipActive": "Odtwarzanie w trybie obraz w obrazie",
"pipFailed": "Nie udało się uruchomić trybu obraz w obrazie",
"pipErrors": {
"androidVersion": "Wymaga Androida 8.0 lub nowszego",
"iosVersion": "Wymaga iOS 15.0 lub nowszego",
"permissionDisabled": "Uprawnienie obraz w obrazie jest wyłączone. Włącz w Ustawienia > Aplikacje > Plezy > Obraz w obrazie",
"notSupported": "Urządzenie nie obsługuje trybu obraz w obrazie",
"voSwitchFailed": "Nie udało się przełączyć wyjścia wideo dla trybu obraz w obrazie",
"failed": "Nie udało się uruchomić trybu obraz w obrazie",
"unknown": "Wystąpił błąd: ${error}"
},
"chapters": "Rozdziały",
"noChaptersAvailable": "Brak dostępnych rozdziałów",
"queue": "Kolejka",
"noQueueItems": "Brak elementów w kolejce"
},
"userStatus": {
"admin": "Administrator",
"restricted": "Ograniczony",
"protected": "Chroniony",
"current": "BIEŻĄCY"
},
"messages": {
"markedAsWatched": "Oznaczono jako obejrzane",
"markedAsUnwatched": "Oznaczono jako nieobejrzane",
"markedAsWatchedOffline": "Oznaczono jako obejrzane (zsynchronizuje się po połączeniu)",
"markedAsUnwatchedOffline": "Oznaczono jako nieobejrzane (zsynchronizuje się po połączeniu)",
"removedFromContinueWatching": "Usunięto z kontynuowania oglądania",
"errorLoading": "Błąd: ${error}",
"fileInfoNotAvailable": "Informacje o pliku niedostępne",
"errorLoadingFileInfo": "Błąd ładowania informacji o pliku: ${error}",
"errorLoadingSeries": "Błąd ładowania serialu",
"errorLoadingSeason": "Błąd ładowania sezonu",
"musicNotSupported": "Odtwarzanie muzyki nie jest jeszcze obsługiwane",
"logsCleared": "Logi wyczyszczone",
"logsCopied": "Logi skopiowane do schowka",
"noLogsAvailable": "Brak dostępnych logów",
"libraryScanning": "Skanowanie \"${title}\"...",
"libraryScanStarted": "Rozpoczęto skanowanie biblioteki \"${title}\"",
"libraryScanFailed": "Nie udało się zeskanować biblioteki: ${error}",
"metadataRefreshing": "Odświeżanie metadanych \"${title}\"...",
"metadataRefreshStarted": "Rozpoczęto odświeżanie metadanych \"${title}\"",
"metadataRefreshFailed": "Nie udało się odświeżyć metadanych: ${error}",
"logoutConfirm": "Czy na pewno chcesz się wylogować?",
"noSeasonsFound": "Nie znaleziono sezonów",
"noEpisodesFound": "Nie znaleziono odcinków w pierwszym sezonie",
"noEpisodesFoundGeneral": "Nie znaleziono odcinków",
"noResultsFound": "Nie znaleziono wyników",
"sleepTimerSet": "Wyłącznik czasowy ustawiony na ${label}",
"noItemsAvailable": "Brak dostępnych elementów",
"failedToCreatePlayQueueNoItems": "Nie udało się utworzyć kolejki odtwarzania — brak elementów",
"failedPlayback": "Nie udało się ${action}: ${error}",
"switchingToCompatiblePlayer": "Przełączanie na kompatybilny odtwarzacz...",
"logsUploaded": "Logi przesłane",
"logsUploadFailed": "Nie udało się przesłać logów",
"logId": "ID logu"
},
"subtitlingStyling": {
"stylingOptions": "Opcje stylu",
"fontSize": "Rozmiar czcionki",
"textColor": "Kolor tekstu",
"borderSize": "Rozmiar obramowania",
"borderColor": "Kolor obramowania",
"backgroundOpacity": "Przezroczystość tła",
"backgroundColor": "Kolor tła",
"position": "Pozycja"
},
"mpvConfig": {
"title": "mpv.conf",
"description": "Zaawansowane ustawienia odtwarzacza wideo",
"presets": "Presety",
"noPresets": "Brak zapisanych presetów",
"saveAsPreset": "Zapisz jako preset...",
"presetName": "Nazwa presetu",
"presetNameHint": "Wprowadź nazwę dla tego presetu",
"loadPreset": "Załaduj",
"deletePreset": "Usuń",
"presetSaved": "Preset zapisany",
"presetLoaded": "Preset załadowany",
"presetDeleted": "Preset usunięty",
"confirmDeletePreset": "Czy na pewno chcesz usunąć ten preset?",
"configPlaceholder": "gpu-api=vulkan\nhwdec=auto\n# comment"
},
"dialog": {
"confirmAction": "Potwierdź działanie"
},
"discover": {
"title": "Odkryj",
"switchProfile": "Zmień profil",
"noContentAvailable": "Brak dostępnych treści",
"addMediaToLibraries": "Dodaj multimedia do swoich bibliotek",
"continueWatching": "Kontynuuj oglądanie",
"playEpisode": "S${season}E${episode}",
"overview": "Opis",
"cast": "Obsada",
"extras": "Zwiastuny i dodatki",
"seasons": "Sezony",
"studio": "Studio",
"rating": "Ocena",
"episodeCount": "${count} odcinków",
"watchedProgress": "${watched}/${total} obejrzanych",
"movie": "Film",
"tvShow": "Serial TV",
"minutesLeft": "${minutes} min pozostało"
},
"errors": {
"searchFailed": "Wyszukiwanie nie powiodło się: ${error}",
"connectionTimeout": "Limit czasu połączenia przy ładowaniu ${context}",
"connectionFailed": "Nie można połączyć z serwerem Plex",
"failedToLoad": "Nie udało się załadować ${context}: ${error}",
"noClientAvailable": "Brak dostępnego klienta",
"authenticationFailed": "Uwierzytelnienie nie powiodło się: ${error}",
"couldNotLaunchUrl": "Nie można otworzyć URL uwierzytelniania",
"pleaseEnterToken": "Wprowadź token",
"invalidToken": "Nieprawidłowy token",
"failedToVerifyToken": "Nie udało się zweryfikować tokena: ${error}",
"failedToSwitchProfile": "Nie udało się przełączyć na ${displayName}"
},
"libraries": {
"title": "Biblioteki",
"scanLibraryFiles": "Skanuj pliki biblioteki",
"scanLibrary": "Skanuj bibliotekę",
"analyze": "Analizuj",
"analyzeLibrary": "Analizuj bibliotekę",
"refreshMetadata": "Odśwież metadane",
"emptyTrash": "Opróżnij kosz",
"emptyingTrash": "Opróżnianie kosza dla \"${title}\"...",
"trashEmptied": "Kosz opróżniony dla \"${title}\"",
"failedToEmptyTrash": "Nie udało się opróżnić kosza: ${error}",
"analyzing": "Analizowanie \"${title}\"...",
"analysisStarted": "Analiza rozpoczęta dla \"${title}\"",
"failedToAnalyze": "Nie udało się przeanalizować biblioteki: ${error}",
"noLibrariesFound": "Nie znaleziono bibliotek",
"thisLibraryIsEmpty": "Ta biblioteka jest pusta",
"all": "Wszystkie",
"clearAll": "Wyczyść wszystko",
"scanLibraryConfirm": "Czy na pewno chcesz zeskanować \"${title}\"?",
"analyzeLibraryConfirm": "Czy na pewno chcesz przeanalizować \"${title}\"?",
"refreshMetadataConfirm": "Czy na pewno chcesz odświeżyć metadane dla \"${title}\"?",
"emptyTrashConfirm": "Czy na pewno chcesz opróżnić kosz dla \"${title}\"?",
"manageLibraries": "Zarządzaj bibliotekami",
"sort": "Sortuj",
"sortBy": "Sortuj wg",
"filters": "Filtry",
"confirmActionMessage": "Czy na pewno chcesz wykonać tę operację?",
"showLibrary": "Pokaż bibliotekę",
"hideLibrary": "Ukryj bibliotekę",
"libraryOptions": "Opcje biblioteki",
"content": "zawartość biblioteki",
"selectLibrary": "Wybierz bibliotekę",
"filtersWithCount": "Filtry (${count})",
"noRecommendations": "Brak dostępnych rekomendacji",
"noCollections": "Brak kolekcji w tej bibliotece",
"noFoldersFound": "Nie znaleziono folderów",
"folders": "foldery",
"tabs": {
"recommended": "Rekomendowane",
"browse": "Przeglądaj",
"collections": "Kolekcje",
"playlists": "Playlisty"
},
"groupings": {
"title": "Grupowanie",
"all": "Wszystkie",
"movies": "Filmy",
"shows": "Seriale TV",
"seasons": "Sezony",
"episodes": "Odcinki",
"folders": "Foldery"
}
},
"about": {
"title": "O aplikacji",
"openSourceLicenses": "Licencje open source",
"versionLabel": "Wersja ${version}",
"appDescription": "Piękny klient Plex na Flutter",
"viewLicensesDescription": "Zobacz licencje bibliotek zewnętrznych"
},
"serverSelection": {
"allServerConnectionsFailed": "Nie udało się połączyć z żadnym serwerem. Sprawdź sieć i spróbuj ponownie.",
"noServersFoundForAccount": "Nie znaleziono serwerów dla ${username} (${email})",
"failedToLoadServers": "Nie udało się załadować serwerów: ${error}"
},
"hubDetail": {
"title": "Tytuł",
"releaseYear": "Rok premiery",
"dateAdded": "Data dodania",
"rating": "Ocena",
"noItemsFound": "Nie znaleziono elementów"
},
"logs": {
"clearLogs": "Wyczyść logi",
"copyLogs": "Kopiuj logi",
"uploadLogs": "Prześlij logi",
"error": "Błąd:",
"stackTrace": "Ślad stosu:"
},
"licenses": {
"relatedPackages": "Powiązane pakiety",
"license": "Licencja",
"licenseNumber": "Licencja ${number}",
"licensesCount": "${count} licencji"
},
"navigation": {
"libraries": "Biblioteki",
"downloads": "Pobrania",
"liveTv": "TV na żywo"
},
"liveTv": {
"title": "TV na żywo",
"channels": "Kanały",
"guide": "Przewodnik",
"noChannels": "Brak dostępnych kanałów",
"noDvr": "Brak skonfigurowanego DVR na żadnym serwerze",
"tuneFailed": "Nie udało się dostroić kanału",
"loading": "Ładowanie kanałów...",
"nowPlaying": "Teraz odtwarzane",
"noPrograms": "Brak danych o programach",
"channelNumber": "Kn. ${number}",
"live": "NA ŻYWO",
"hd": "HD",
"premiere": "NOWE",
"reloadGuide": "Odśwież przewodnik",
"allChannels": "Wszystkie kanały",
"now": "Teraz",
"today": "Dzisiaj",
"midnight": "Północ",
"overnight": "Nocą",
"morning": "Rano",
"daytime": "W ciągu dnia",
"evening": "Wieczorem",
"lateNight": "Późna noc",
"whatsOn": "Co leci",
"watchChannel": "Oglądaj kanał"
},
"collections": {
"title": "Kolekcje",
"collection": "Kolekcja",
"empty": "Kolekcja jest pusta",
"unknownLibrarySection": "Nie można usunąć: Nieznana sekcja biblioteki",
"deleteCollection": "Usuń kolekcję",
"deleteConfirm": "Czy na pewno chcesz usunąć \"${title}\"? Tej operacji nie można cofnąć.",
"deleted": "Kolekcja usunięta",
"deleteFailed": "Nie udało się usunąć kolekcji",
"deleteFailedWithError": "Nie udało się usunąć kolekcji: ${error}",
"failedToLoadItems": "Nie udało się załadować elementów kolekcji: ${error}",
"selectCollection": "Wybierz kolekcję",
"collectionName": "Nazwa kolekcji",
"enterCollectionName": "Wprowadź nazwę kolekcji",
"addedToCollection": "Dodano do kolekcji",
"errorAddingToCollection": "Nie udało się dodać do kolekcji",
"created": "Kolekcja utworzona",
"removeFromCollection": "Usuń z kolekcji",
"removeFromCollectionConfirm": "Usunąć \"${title}\" z tej kolekcji?",
"removedFromCollection": "Usunięto z kolekcji",
"removeFromCollectionFailed": "Nie udało się usunąć z kolekcji",
"removeFromCollectionError": "Błąd usuwania z kolekcji: ${error}"
},
"playlists": {
"title": "Playlisty",
"playlist": "Playlista",
"noPlaylists": "Nie znaleziono playlist",
"create": "Utwórz playlistę",
"playlistName": "Nazwa playlisty",
"enterPlaylistName": "Wprowadź nazwę playlisty",
"delete": "Usuń playlistę",
"removeItem": "Usuń z playlisty",
"smartPlaylist": "Inteligentna playlista",
"itemCount": "${count} elementów",
"oneItem": "1 element",
"emptyPlaylist": "Ta playlista jest pusta",
"deleteConfirm": "Usunąć playlistę?",
"deleteMessage": "Czy na pewno chcesz usunąć \"${name}\"?",
"created": "Playlista utworzona",
"deleted": "Playlista usunięta",
"itemAdded": "Dodano do playlisty",
"itemRemoved": "Usunięto z playlisty",
"selectPlaylist": "Wybierz playlistę",
"errorCreating": "Nie udało się utworzyć playlisty",
"errorDeleting": "Nie udało się usunąć playlisty",
"errorLoading": "Nie udało się załadować playlist",
"errorAdding": "Nie udało się dodać do playlisty",
"errorReordering": "Nie udało się zmienić kolejności elementu playlisty",
"errorRemoving": "Nie udało się usunąć z playlisty"
},
"watchTogether": {
"title": "Oglądaj razem",
"description": "Oglądaj treści zsynchronizowane z przyjaciółmi i rodziną",
"createSession": "Utwórz sesję",
"creating": "Tworzenie...",
"joinSession": "Dołącz do sesji",
"joining": "Dołączanie...",
"controlMode": "Tryb kontroli",
"controlModeQuestion": "Kto może kontrolować odtwarzanie?",
"hostOnly": "Tylko host",
"anyone": "Każdy",
"hostingSession": "Hostowanie sesji",
"inSession": "W sesji",
"sessionCode": "Kod sesji",
"hostControlsPlayback": "Host kontroluje odtwarzanie",
"anyoneCanControl": "Każdy może kontrolować odtwarzanie",
"hostControls": "Kontrola hosta",
"anyoneControls": "Kontrola każdego",
"participants": "Uczestnicy",
"host": "Host",
"hostBadge": "HOST",
"youAreHost": "Jesteś hostem",
"watchingWithOthers": "Oglądasz z innymi",
"endSession": "Zakończ sesję",
"leaveSession": "Opuść sesję",
"endSessionQuestion": "Zakończyć sesję?",
"leaveSessionQuestion": "Opuścić sesję?",
"endSessionConfirm": "To zakończy sesję dla wszystkich uczestników.",
"leaveSessionConfirm": "Zostaniesz usunięty z sesji.",
"endSessionConfirmOverlay": "To zakończy sesję oglądania dla wszystkich uczestników.",
"leaveSessionConfirmOverlay": "Zostaniesz odłączony od sesji oglądania.",
"end": "Zakończ",
"leave": "Opuść",
"syncing": "Synchronizacja...",
"joinWatchSession": "Dołącz do sesji oglądania",
"enterCodeHint": "Wprowadź 8-znakowy kod",
"pasteFromClipboard": "Wklej ze schowka",
"pleaseEnterCode": "Wprowadź kod sesji",
"codeMustBe8Chars": "Kod sesji musi mieć 8 znaków",
"joinInstructions": "Wprowadź kod sesji udostępniony przez hosta, aby dołączyć do sesji oglądania.",
"failedToCreate": "Nie udało się utworzyć sesji",
"failedToJoin": "Nie udało się dołączyć do sesji",
"sessionCodeCopied": "Kod sesji skopiowany do schowka",
"relayUnreachable": "Serwer przekaźnika jest nieosiągalny. Może to być spowodowane blokadą przez twojego dostawcę internetu. Możesz spróbować, ale Oglądaj razem może nie działać.",
"reconnectingToHost": "Ponowne łączenie z hostem...",
"currentPlayback": "Bieżące odtwarzanie",
"joinCurrentPlayback": "Dołącz do bieżącego odtwarzania",
"joinCurrentPlaybackDescription": "Wróć do tego, co host aktualnie ogląda",
"failedToOpenCurrentPlayback": "Nie udało się otworzyć bieżącego odtwarzania",
"participantJoined": "${name} dołączył",
"participantLeft": "${name} opuścił"
},
"downloads": {
"title": "Pobrania",
"manage": "Zarządzaj",
"tvShows": "Seriale TV",
"movies": "Filmy",
"noDownloads": "Brak pobrań",
"noDownloadsDescription": "Pobrane treści pojawią się tutaj do oglądania offline",
"downloadNow": "Pobierz",
"deleteDownload": "Usuń pobranie",
"retryDownload": "Ponów pobieranie",
"downloadQueued": "Pobranie w kolejce",
"episodesQueued": "${count} odcinków w kolejce pobierania",
"downloadDeleted": "Pobranie usunięte",
"deleteConfirm": "Czy na pewno chcesz usunąć \"${title}\"? Spowoduje to usunięcie pobranego pliku z urządzenia.",
"deletingWithProgress": "Usuwanie ${title}... (${current} z ${total})",
"noDownloadsTree": "Brak pobrań",
"pauseAll": "Wstrzymaj wszystko",
"resumeAll": "Wznów wszystko",
"deleteAll": "Usuń wszystko"
},
"shaders": {
"title": "Shadery",
"noShaderDescription": "Bez ulepszenia wideo",
"nvscalerDescription": "Skalowanie obrazu NVIDIA dla ostrzejszego wideo",
"qualityFast": "Szybki",
"qualityHQ": "Wysoka jakość",
"mode": "Tryb",
"importShader": "Importuj shader",
"customShaderDescription": "Niestandardowy shader GLSL",
"shaderImported": "Shader zaimportowany",
"shaderImportFailed": "Nie udało się zaimportować shadera",
"deleteShader": "Usuń shader",
"deleteShaderConfirm": "Usunąć \"${name}\"?"
},
"companionRemote": {
"title": "Pilot zdalny",
"connectToDevice": "Połącz z urządzeniem",
"hostRemoteSession": "Hostuj sesję zdalną",
"controlThisDevice": "Steruj tym urządzeniem ze swojego telefonu",
"remoteControl": "Pilot zdalny",
"controlDesktop": "Steruj urządzeniem desktop",
"connectedTo": "Połączono z ${name}",
"session": {
"creatingSession": "Tworzenie sesji zdalnej...",
"failedToCreate": "Nie udało się utworzyć sesji zdalnej:",
"noSession": "Brak dostępnej sesji",
"scanQrCode": "Zeskanuj kod QR",
"orEnterManually": "Lub wprowadź ręcznie",
"hostAddress": "Adres hosta",
"sessionId": "ID sesji",
"pin": "PIN",
"connected": "Połączono",
"waitingForConnection": "Oczekiwanie na połączenie...",
"usePhoneToControl": "Użyj urządzenia mobilnego do sterowania tą aplikacją",
"copiedToClipboard": "${label} skopiowane do schowka",
"copyToClipboard": "Kopiuj do schowka",
"newSession": "Nowa sesja",
"minimize": "Minimalizuj"
},
"pairing": {
"scan": "Skanuj",
"manual": "Ręcznie",
"pairWithDesktop": "Sparuj z komputerem",
"enterSessionDetails": "Wprowadź dane sesji wyświetlone na urządzeniu desktop",
"hostAddressHint": "192.168.1.100:48632",
"sessionIdHint": "Wprowadź 8-znakowe ID sesji",
"pinHint": "Wprowadź 6-cyfrowy PIN",
"connecting": "Łączenie...",
"tips": "Wskazówki",
"tipDesktop": "Otwórz Plezy na komputerze i włącz Pilota zdalnego w ustawieniach lub menu",
"tipScan": "Użyj zakładki Skanuj, aby szybko sparować skanując kod QR na komputerze",
"tipWifi": "Upewnij się, że oba urządzenia są w tej samej sieci WiFi",
"cameraPermissionRequired": "Uprawnienie do kamery jest wymagane do skanowania kodów QR.\nPrzyznaj dostęp do kamery w ustawieniach urządzenia.",
"cameraError": "Nie udało się uruchomić kamery: ${error}",
"scanInstruction": "Skieruj kamerę na kod QR wyświetlony na komputerze",
"invalidQrCode": "Nieprawidłowy format kodu QR",
"validationHostRequired": "Wprowadź adres hosta",
"validationHostFormat": "Format musi być IP:port (np. 192.168.1.100:48632)",
"validationSessionIdRequired": "Wprowadź ID sesji",
"validationSessionIdLength": "ID sesji musi mieć 8 znaków",
"validationPinRequired": "Wprowadź PIN",
"validationPinLength": "PIN musi mieć 6 cyfr",
"connectionTimedOut": "Upłynął czas połączenia. Sprawdź ID sesji i PIN.",
"sessionNotFound": "Nie znaleziono sesji. Sprawdź swoje dane.",
"failedToConnect": "Nie udało się połączyć: ${error}"
},
"remote": {
"disconnectConfirm": "Czy chcesz się rozłączyć od sesji zdalnej?",
"reconnecting": "Ponowne łączenie...",
"attemptOf": "Próba ${current} z 5",
"retryNow": "Ponów teraz",
"connectionError": "Błąd połączenia",
"notConnected": "Niepołączono",
"tabRemote": "Pilot",
"tabPlay": "Odtwórz",
"tabMore": "Więcej",
"menu": "Menu",
"tabNavigation": "Nawigacja",
"tabDiscover": "Odkryj",
"tabLibraries": "Biblioteki",
"tabSearch": "Szukaj",
"tabDownloads": "Pobrania",
"tabSettings": "Ustawienia",
"previous": "Poprzedni",
"playPause": "Odtwórz/Pauza",
"next": "Następny",
"seekBack": "Przewiń wstecz",
"stop": "Stop",
"seekForward": "Przewiń w przód",
"volume": "Głośność",
"volumeDown": "Ciszej",
"volumeUp": "Głośniej",
"fullscreen": "Pełny ekran",
"subtitles": "Napisy",
"audio": "Audio",
"searchHint": "Szukaj na komputerze..."
}
},
"videoSettings": {
"playbackSettings": "Ustawienia odtwarzania",
"playbackSpeed": "Prędkość odtwarzania",
"sleepTimer": "Wyłącznik czasowy",
"audioSync": "Synchronizacja audio",
"subtitleSync": "Synchronizacja napisów",
"hdr": "HDR",
"audioOutput": "Wyjście audio",
"performanceOverlay": "Nakładka wydajności",
"audioPassthrough": "Bezpośrednie audio",
"audioNormalization": "Normalizacja audio"
},
"externalPlayer": {
"title": "Zewnętrzny odtwarzacz",
"useExternalPlayer": "Użyj zewnętrznego odtwarzacza",
"useExternalPlayerDescription": "Otwieraj wideo w zewnętrznej aplikacji zamiast wbudowanego odtwarzacza",
"selectPlayer": "Wybierz odtwarzacz",
"systemDefault": "Domyślny systemowy",
"addCustomPlayer": "Dodaj niestandardowy odtwarzacz",
"playerName": "Nazwa odtwarzacza",
"playerCommand": "Polecenie",
"playerPackage": "Nazwa pakietu",
"playerUrlScheme": "Schemat URL",
"customPlayer": "Niestandardowy odtwarzacz",
"off": "Wyłączony",
"launchFailed": "Nie udało się otworzyć zewnętrznego odtwarzacza",
"appNotInstalled": "${name} nie jest zainstalowany",
"playInExternalPlayer": "Odtwórz w zewnętrznym odtwarzaczu"
},
"metadataEdit": {
"editMetadata": "Edytuj...",
"screenTitle": "Edytuj metadane",
"basicInfo": "Podstawowe informacje",
"artwork": "Grafika",
"advancedSettings": "Ustawienia zaawansowane",
"title": "Tytuł",
"sortTitle": "Tytuł do sortowania",
"originalTitle": "Tytuł oryginalny",
"releaseDate": "Data premiery",
"contentRating": "Klasyfikacja wiekowa",
"studio": "Studio",
"tagline": "Tagline",
"summary": "Opis",
"poster": "Plakat",
"background": "Tło",
"selectPoster": "Wybierz plakat",
"selectBackground": "Wybierz tło",
"fromUrl": "Z URL",
"uploadFile": "Prześlij plik",
"enterImageUrl": "Wprowadź URL obrazu",
"imageUrl": "URL obrazu",
"metadataUpdated": "Metadane zaktualizowane",
"metadataUpdateFailed": "Nie udało się zaktualizować metadanych",
"artworkUpdated": "Grafika zaktualizowana",
"artworkUpdateFailed": "Nie udało się zaktualizować grafiki",
"noArtworkAvailable": "Brak dostępnej grafiki",
"notSet": "Nie ustawiono",
"libraryDefault": "Domyślne biblioteki",
"accountDefault": "Domyślne konta",
"seriesDefault": "Domyślne serialu",
"episodeSorting": "Sortowanie odcinków",
"oldestFirst": "Najstarsze najpierw",
"newestFirst": "Najnowsze najpierw",
"keep": "Zachowaj",
"allEpisodes": "Wszystkie odcinki",
"latestEpisodes": "${count} najnowszych odcinków",
"latestEpisode": "Najnowszy odcinek",
"episodesAddedPastDays": "Odcinki dodane w ciągu ostatnich ${count} dni",
"deleteAfterPlaying": "Usuń odcinki po odtworzeniu",
"never": "Nigdy",
"afterADay": "Po jednym dniu",
"afterAWeek": "Po tygodniu",
"afterAMonth": "Po miesiącu",
"onNextRefresh": "Przy następnym odświeżeniu",
"seasons": "Sezony",
"show": "Pokaż",
"hide": "Ukryj",
"episodeOrdering": "Kolejność odcinków",
"tmdbAiring": "The Movie Database (Emisja)",
"tvdbAiring": "TheTVDB (Emisja)",
"tvdbAbsolute": "TheTVDB (Absolutna)",
"metadataLanguage": "Język metadanych",
"useOriginalTitle": "Użyj oryginalnego tytułu",
"preferredAudioLanguage": "Preferowany język audio",
"preferredSubtitleLanguage": "Preferowany język napisów",
"subtitleMode": "Tryb automatycznego wyboru napisów",
"manuallySelected": "Wybrany ręcznie",
"shownWithForeignAudio": "Wyświetlane przy obcojęzycznym audio",
"alwaysEnabled": "Zawsze włączone"
}
}
+905
View File
@@ -0,0 +1,905 @@
{
"app": {
"title": "Plezy"
},
"auth": {
"signInWithPlex": "Entrar com Plex",
"showQRCode": "Mostrar QR Code",
"authenticate": "Autenticar",
"authenticationTimeout": "A autenticação expirou. Tente novamente.",
"scanQRToSignIn": "Escaneie este QR code para entrar",
"waitingForAuth": "Aguardando autenticação...\nConclua o login no seu navegador.",
"useBrowser": "Usar navegador"
},
"common": {
"cancel": "Cancelar",
"save": "Salvar",
"close": "Fechar",
"clear": "Limpar",
"reset": "Redefinir",
"later": "Depois",
"submit": "Enviar",
"confirm": "Confirmar",
"retry": "Tentar novamente",
"logout": "Sair",
"unknown": "Desconhecido",
"refresh": "Atualizar",
"yes": "Sim",
"no": "Não",
"delete": "Excluir",
"shuffle": "Aleatório",
"addTo": "Adicionar a...",
"createNew": "Criar novo",
"remove": "Remover",
"paste": "Colar",
"connect": "Conectar",
"disconnect": "Desconectar",
"play": "Reproduzir",
"pause": "Pausar",
"resume": "Retomar",
"error": "Erro",
"search": "Buscar",
"home": "Início",
"back": "Voltar",
"settings": "Configurações",
"mute": "Silenciar",
"ok": "OK",
"loading": "Carregando...",
"reconnect": "Reconectar",
"exitConfirmTitle": "Sair do app?",
"exitConfirmMessage": "Tem certeza que deseja sair?",
"dontAskAgain": "Não perguntar novamente",
"exit": "Sair",
"viewAll": "Ver Tudo",
"checkingNetwork": "Verificando rede...",
"refreshingServers": "Atualizando servidores...",
"loadingServers": "Carregando servidores...",
"connectingToServers": "Conectando aos servidores...",
"startingOfflineMode": "Iniciando modo offline..."
},
"screens": {
"licenses": "Licenças",
"switchProfile": "Trocar Perfil",
"subtitleStyling": "Estilo de Legendas",
"mpvConfig": "mpv.conf",
"logs": "Logs"
},
"update": {
"available": "Atualização Disponível",
"versionAvailable": "Versão ${version} está disponível",
"currentVersion": "Atual: ${version}",
"skipVersion": "Pular Esta Versão",
"viewRelease": "Ver Lançamento",
"latestVersion": "Você está na versão mais recente",
"checkFailed": "Falha ao verificar atualizações"
},
"settings": {
"title": "Configurações",
"language": "Idioma",
"theme": "Tema",
"appearance": "Aparência",
"videoPlayback": "Reprodução de Vídeo",
"advanced": "Avançado",
"episodePosterMode": "Estilo do Poster de Episódio",
"seriesPoster": "Poster da Série",
"seriesPosterDescription": "Mostrar o poster da série para todos os episódios",
"seasonPoster": "Poster da Temporada",
"seasonPosterDescription": "Mostrar o poster específico da temporada para episódios",
"episodeThumbnail": "Miniatura do Episódio",
"episodeThumbnailDescription": "Mostrar miniaturas 16:9 de captura de tela do episódio",
"showHeroSectionDescription": "Exibir carrossel de conteúdo em destaque na tela inicial",
"secondsLabel": "Segundos",
"minutesLabel": "Minutos",
"secondsShort": "s",
"minutesShort": "m",
"durationHint": "Insira a duração (${min}-${max})",
"systemTheme": "Sistema",
"systemThemeDescription": "Seguir configurações do sistema",
"lightTheme": "Claro",
"darkTheme": "Escuro",
"oledTheme": "OLED",
"oledThemeDescription": "Preto puro para telas OLED",
"libraryDensity": "Densidade da Biblioteca",
"compact": "Compacto",
"compactDescription": "Cards menores, mais itens visíveis",
"normal": "Normal",
"normalDescription": "Tamanho padrão",
"comfortable": "Confortável",
"comfortableDescription": "Cards maiores, menos itens visíveis",
"viewMode": "Modo de Visualização",
"gridView": "Grade",
"gridViewDescription": "Exibir itens em layout de grade",
"listView": "Lista",
"listViewDescription": "Exibir itens em layout de lista",
"showHeroSection": "Mostrar Seção de Destaque",
"useGlobalHubs": "Usar Layout Plex Home",
"useGlobalHubsDescription": "Mostrar hubs da página inicial como o cliente oficial Plex. Quando desativado, mostra recomendações por biblioteca.",
"showServerNameOnHubs": "Mostrar Nome do Servidor nos Hubs",
"showServerNameOnHubsDescription": "Sempre exibir o nome do servidor nos títulos dos hubs. Quando desativado, mostra apenas para nomes duplicados.",
"alwaysKeepSidebarOpen": "Manter Barra Lateral Sempre Aberta",
"alwaysKeepSidebarOpenDescription": "A barra lateral fica expandida e a área de conteúdo se ajusta",
"showUnwatchedCount": "Mostrar Contagem de Não Assistidos",
"showUnwatchedCountDescription": "Exibir contagem de episódios não assistidos em séries e temporadas",
"hideSpoilers": "Ocultar Spoilers de Episódios Não Assistidos",
"hideSpoilersDescription": "Desfocar miniaturas e ocultar descrições de episódios que você ainda não assistiu",
"playerBackend": "Backend do Player",
"exoPlayer": "ExoPlayer (Recomendado)",
"exoPlayerDescription": "Player nativo Android com melhor suporte a hardware",
"mpv": "mpv",
"mpvDescription": "Player avançado com mais recursos e suporte a legendas ASS",
"hardwareDecoding": "Decodificação por Hardware",
"hardwareDecodingDescription": "Usar aceleração por hardware quando disponível",
"bufferSize": "Tamanho do Buffer",
"bufferSizeMB": "${size}MB",
"bufferSizeAuto": "Automático (Recomendado)",
"bufferSizeWarning": "Seu dispositivo tem ${heap}MB de memória. Um buffer de ${size}MB pode causar problemas de reprodução.",
"subtitleStyling": "Estilo de Legendas",
"subtitleStylingDescription": "Personalizar aparência das legendas",
"smallSkipDuration": "Duração do Avanço Curto",
"largeSkipDuration": "Duração do Avanço Longo",
"secondsUnit": "${seconds} segundos",
"defaultSleepTimer": "Timer de Sono Padrão",
"minutesUnit": "${minutes} minutos",
"rememberTrackSelections": "Lembrar seleção de faixas por série/filme",
"rememberTrackSelectionsDescription": "Salvar automaticamente preferências de idioma de áudio e legenda ao trocar faixas durante a reprodução",
"clickVideoTogglesPlayback": "Clicar no vídeo para alternar reprodução/pausa",
"clickVideoTogglesPlaybackDescription": "Se ativado, clicar no player reproduz/pausa o vídeo. Caso contrário, clicar mostra/oculta os controles.",
"videoPlayerControls": "Controles do Player de Vídeo",
"keyboardShortcuts": "Atalhos de Teclado",
"keyboardShortcutsDescription": "Personalizar atalhos de teclado",
"videoPlayerNavigation": "Navegação do Player de Vídeo",
"videoPlayerNavigationDescription": "Usar teclas de seta para navegar nos controles do player",
"crashReporting": "Relatório de Erros",
"crashReportingDescription": "Enviar relatórios de erros para ajudar a melhorar o app",
"debugLogging": "Log de Depuração",
"debugLoggingDescription": "Ativar log detalhado para solução de problemas",
"viewLogs": "Ver Logs",
"viewLogsDescription": "Ver logs do aplicativo",
"clearCache": "Limpar Cache",
"clearCacheDescription": "Isso limpará todas as imagens e dados em cache. O app pode demorar mais para carregar conteúdo após limpar o cache.",
"clearCacheSuccess": "Cache limpo com sucesso",
"resetSettings": "Redefinir Configurações",
"resetSettingsDescription": "Isso redefinirá todas as configurações para os valores padrão. Esta ação não pode ser desfeita.",
"resetSettingsSuccess": "Configurações redefinidas com sucesso",
"shortcutsReset": "Atalhos redefinidos para o padrão",
"about": "Sobre",
"aboutDescription": "Informações do app e licenças",
"updates": "Atualizações",
"updateAvailable": "Atualização Disponível",
"checkForUpdates": "Verificar Atualizações",
"validationErrorEnterNumber": "Insira um número válido",
"validationErrorDuration": "A duração deve ser entre ${min} e ${max} ${unit}",
"shortcutAlreadyAssigned": "Atalho já atribuído a ${action}",
"shortcutUpdated": "Atalho atualizado para ${action}",
"autoSkip": "Pular Automaticamente",
"autoSkipIntro": "Pular Intro Automaticamente",
"autoSkipIntroDescription": "Pular marcadores de intro automaticamente após alguns segundos",
"autoSkipCredits": "Pular Créditos Automaticamente",
"autoSkipCreditsDescription": "Pular créditos automaticamente e reproduzir próximo episódio",
"autoSkipDelay": "Atraso do Pulo Automático",
"autoSkipDelayDescription": "Aguardar ${seconds} segundos antes de pular automaticamente",
"introPattern": "Padrão de marcador de intro",
"introPatternDescription": "Expressão regular para corresponder marcadores de intro nos títulos dos capítulos",
"creditsPattern": "Padrão de marcador de créditos",
"creditsPatternDescription": "Expressão regular para corresponder marcadores de créditos nos títulos dos capítulos",
"invalidRegex": "Expressão regular inválida",
"downloads": "Downloads",
"downloadLocationDescription": "Escolha onde armazenar conteúdo baixado",
"downloadLocationDefault": "Padrão (Armazenamento do App)",
"downloadLocationCustom": "Local Personalizado",
"selectFolder": "Selecionar Pasta",
"resetToDefault": "Redefinir para Padrão",
"currentPath": "Atual: ${path}",
"downloadLocationChanged": "Local de download alterado",
"downloadLocationReset": "Local de download redefinido para padrão",
"downloadLocationInvalid": "A pasta selecionada não permite gravação",
"downloadLocationSelectError": "Falha ao selecionar pasta",
"downloadOnWifiOnly": "Baixar apenas no WiFi",
"downloadOnWifiOnlyDescription": "Impedir downloads quando em dados móveis",
"cellularDownloadBlocked": "Downloads estão desativados em dados móveis. Conecte ao WiFi ou altere a configuração.",
"maxVolume": "Volume Máximo",
"maxVolumeDescription": "Permitir aumento de volume acima de 100% para mídias silenciosas",
"maxVolumePercent": "${percent}%",
"discordRichPresence": "Discord Rich Presence",
"discordRichPresenceDescription": "Mostrar o que você está assistindo no Discord",
"autoPip": "Picture-in-Picture Automático",
"autoPipDescription": "Entrar automaticamente em picture-in-picture ao sair do app durante a reprodução",
"matchContentFrameRate": "Corresponder Taxa de Quadros do Conteúdo",
"matchContentFrameRateDescription": "Ajustar a taxa de atualização da tela para corresponder ao conteúdo de vídeo, reduzindo tremulação e economizando bateria",
"tunneledPlayback": "Reprodução Tunelizada",
"tunneledPlaybackDescription": "Usar tunelamento de vídeo acelerado por hardware. Desative se você vir uma tela preta com áudio em conteúdo HDR",
"requireProfileSelectionOnOpen": "Pedir perfil ao abrir o app",
"requireProfileSelectionOnOpenDescription": "Mostrar seleção de perfil toda vez que o app for aberto",
"confirmExitOnBack": "Confirmar antes de sair",
"confirmExitOnBackDescription": "Mostrar diálogo de confirmação ao pressionar voltar para sair do app",
"showNavBarLabels": "Mostrar Rótulos da Barra de Navegação",
"showNavBarLabelsDescription": "Exibir rótulos de texto sob os ícones da barra de navegação"
},
"search": {
"hint": "Buscar filmes, séries, músicas...",
"tryDifferentTerm": "Tente um termo de busca diferente",
"searchYourMedia": "Buscar suas mídias",
"enterTitleActorOrKeyword": "Insira um título, ator ou palavra-chave"
},
"hotkeys": {
"setShortcutFor": "Definir Atalho para ${actionName}",
"clearShortcut": "Limpar atalho",
"actions": {
"playPause": "Reproduzir/Pausar",
"volumeUp": "Aumentar Volume",
"volumeDown": "Diminuir Volume",
"seekForward": "Avançar (${seconds}s)",
"seekBackward": "Retroceder (${seconds}s)",
"fullscreenToggle": "Alternar Tela Cheia",
"muteToggle": "Alternar Silêncio",
"subtitleToggle": "Alternar Legendas",
"audioTrackNext": "Próxima Faixa de Áudio",
"subtitleTrackNext": "Próxima Faixa de Legenda",
"chapterNext": "Próximo Capítulo",
"chapterPrevious": "Capítulo Anterior",
"speedIncrease": "Aumentar Velocidade",
"speedDecrease": "Diminuir Velocidade",
"speedReset": "Redefinir Velocidade",
"subSeekNext": "Ir para Próxima Legenda",
"subSeekPrev": "Ir para Legenda Anterior",
"shaderToggle": "Alternar Shaders",
"skipMarker": "Pular Intro/Créditos"
}
},
"pinEntry": {
"enterPin": "Inserir PIN",
"showPin": "Mostrar PIN",
"hidePin": "Ocultar PIN"
},
"fileInfo": {
"title": "Info do Arquivo",
"video": "Vídeo",
"audio": "Áudio",
"file": "Arquivo",
"advanced": "Avançado",
"codec": "Codec",
"resolution": "Resolução",
"bitrate": "Taxa de Bits",
"frameRate": "Taxa de Quadros",
"aspectRatio": "Proporção",
"profile": "Perfil",
"bitDepth": "Profundidade de Bits",
"colorSpace": "Espaço de Cor",
"colorRange": "Faixa de Cor",
"colorPrimaries": "Primárias de Cor",
"chromaSubsampling": "Subamostragem de Croma",
"channels": "Canais",
"path": "Caminho",
"size": "Tamanho",
"container": "Container",
"duration": "Duração",
"optimizedForStreaming": "Otimizado para Streaming",
"has64bitOffsets": "Offsets de 64 bits"
},
"mediaMenu": {
"markAsWatched": "Marcar como Assistido",
"markAsUnwatched": "Marcar como Não Assistido",
"removeFromContinueWatching": "Remover de Continuar Assistindo",
"goToSeries": "Ir para a série",
"goToSeason": "Ir para a temporada",
"shufflePlay": "Reprodução Aleatória",
"fileInfo": "Info do Arquivo",
"deleteFromServer": "Excluir do servidor",
"confirmDelete": "Isso excluirá permanentemente esta mídia e seus arquivos do seu servidor. Esta ação não pode ser desfeita.",
"deleteMultipleWarning": "Isso inclui todos os episódios e seus arquivos.",
"mediaDeletedSuccessfully": "Item de mídia excluído com sucesso",
"mediaFailedToDelete": "Falha ao excluir item de mídia",
"rate": "Avaliar"
},
"accessibility": {
"mediaCardMovie": "${title}, filme",
"mediaCardShow": "${title}, série de TV",
"mediaCardEpisode": "${title}, ${episodeInfo}",
"mediaCardSeason": "${title}, ${seasonInfo}",
"mediaCardWatched": "assistido",
"mediaCardPartiallyWatched": "${percent} por cento assistido",
"mediaCardUnwatched": "não assistido",
"tapToPlay": "Toque para reproduzir"
},
"tooltips": {
"shufflePlay": "Reprodução aleatória",
"playTrailer": "Reproduzir trailer",
"markAsWatched": "Marcar como assistido",
"markAsUnwatched": "Marcar como não assistido"
},
"videoControls": {
"audioLabel": "Áudio",
"subtitlesLabel": "Legendas",
"resetToZero": "Redefinir para 0ms",
"addTime": "+${amount}${unit}",
"minusTime": "-${amount}${unit}",
"playsLater": "${label} reproduz depois",
"playsEarlier": "${label} reproduz antes",
"noOffset": "Sem deslocamento",
"letterbox": "Letterbox",
"fillScreen": "Preencher tela",
"stretch": "Esticar",
"lockRotation": "Travar rotação",
"unlockRotation": "Destravar rotação",
"timerActive": "Timer Ativo",
"playbackWillPauseIn": "A reprodução pausará em ${duration}",
"sleepTimerCompleted": "Timer de sono concluído - reprodução pausada",
"stillWatching": "Ainda assistindo?",
"pausingIn": "Pausando em ${seconds}s",
"continueWatching": "Continuar",
"autoPlayNext": "Reproduzir Próximo Automaticamente",
"playNext": "Reproduzir Próximo",
"playButton": "Reproduzir",
"pauseButton": "Pausar",
"seekBackwardButton": "Retroceder ${seconds} segundos",
"seekForwardButton": "Avançar ${seconds} segundos",
"previousButton": "Episódio anterior",
"nextButton": "Próximo episódio",
"previousChapterButton": "Capítulo anterior",
"nextChapterButton": "Próximo capítulo",
"muteButton": "Silenciar",
"unmuteButton": "Ativar som",
"settingsButton": "Configurações de vídeo",
"audioTrackButton": "Faixas de áudio",
"subtitlesButton": "Legendas",
"tracksButton": "Áudio e Legendas",
"chaptersButton": "Capítulos",
"versionsButton": "Versões do vídeo",
"pipButton": "Modo Picture-in-Picture",
"aspectRatioButton": "Proporção",
"ambientLighting": "Iluminação ambiente",
"ambientLightingOn": "Ativar iluminação ambiente",
"ambientLightingOff": "Desativar iluminação ambiente",
"fullscreenButton": "Entrar em tela cheia",
"exitFullscreenButton": "Sair da tela cheia",
"alwaysOnTopButton": "Sempre no topo",
"rotationLockButton": "Travar rotação",
"timelineSlider": "Linha do tempo do vídeo",
"volumeSlider": "Nível de volume",
"endsAt": "Termina às ${time}",
"pipActive": "Reproduzindo em Picture-in-Picture",
"pipFailed": "Falha ao iniciar picture-in-picture",
"pipErrors": {
"androidVersion": "Requer Android 8.0 ou superior",
"iosVersion": "Requer iOS 15.0 ou superior",
"permissionDisabled": "A permissão de picture-in-picture está desativada. Ative em Configurações > Apps > Plezy > Picture-in-picture",
"notSupported": "O dispositivo não suporta modo picture-in-picture",
"voSwitchFailed": "Falha ao trocar saída de vídeo para picture-in-picture",
"failed": "Falha ao iniciar picture-in-picture",
"unknown": "Ocorreu um erro: ${error}"
},
"chapters": "Capítulos",
"noChaptersAvailable": "Nenhum capítulo disponível",
"queue": "Fila",
"noQueueItems": "Nenhum item na fila"
},
"userStatus": {
"admin": "Admin",
"restricted": "Restrito",
"protected": "Protegido",
"current": "ATUAL"
},
"messages": {
"markedAsWatched": "Marcado como assistido",
"markedAsUnwatched": "Marcado como não assistido",
"markedAsWatchedOffline": "Marcado como assistido (será sincronizado quando online)",
"markedAsUnwatchedOffline": "Marcado como não assistido (será sincronizado quando online)",
"removedFromContinueWatching": "Removido de Continuar Assistindo",
"errorLoading": "Erro: ${error}",
"fileInfoNotAvailable": "Informações do arquivo não disponíveis",
"errorLoadingFileInfo": "Erro ao carregar info do arquivo: ${error}",
"errorLoadingSeries": "Erro ao carregar série",
"errorLoadingSeason": "Erro ao carregar temporada",
"musicNotSupported": "Reprodução de música ainda não é suportada",
"logsCleared": "Logs limpos",
"logsCopied": "Logs copiados para a área de transferência",
"noLogsAvailable": "Nenhum log disponível",
"libraryScanning": "Escaneando \"${title}\"...",
"libraryScanStarted": "Escaneamento da biblioteca iniciado para \"${title}\"",
"libraryScanFailed": "Falha ao escanear biblioteca: ${error}",
"metadataRefreshing": "Atualizando metadados de \"${title}\"...",
"metadataRefreshStarted": "Atualização de metadados iniciada para \"${title}\"",
"metadataRefreshFailed": "Falha ao atualizar metadados: ${error}",
"logoutConfirm": "Tem certeza que deseja sair?",
"noSeasonsFound": "Nenhuma temporada encontrada",
"noEpisodesFound": "Nenhum episódio encontrado na primeira temporada",
"noEpisodesFoundGeneral": "Nenhum episódio encontrado",
"noResultsFound": "Nenhum resultado encontrado",
"sleepTimerSet": "Timer de sono definido para ${label}",
"noItemsAvailable": "Nenhum item disponível",
"failedToCreatePlayQueueNoItems": "Falha ao criar fila de reprodução - sem itens",
"failedPlayback": "Falha ao ${action}: ${error}",
"switchingToCompatiblePlayer": "Alternando para player compatível...",
"logsUploaded": "Logs enviados",
"logsUploadFailed": "Falha ao enviar logs",
"logId": "ID do Log"
},
"subtitlingStyling": {
"stylingOptions": "Opções de Estilo",
"fontSize": "Tamanho da Fonte",
"textColor": "Cor do Texto",
"borderSize": "Tamanho da Borda",
"borderColor": "Cor da Borda",
"backgroundOpacity": "Opacidade do Fundo",
"backgroundColor": "Cor de Fundo",
"position": "Posição"
},
"mpvConfig": {
"title": "mpv.conf",
"description": "Configurações avançadas do player de vídeo",
"presets": "Predefinições",
"noPresets": "Nenhuma predefinição salva",
"saveAsPreset": "Salvar como Predefinição...",
"presetName": "Nome da Predefinição",
"presetNameHint": "Insira um nome para esta predefinição",
"loadPreset": "Carregar",
"deletePreset": "Excluir",
"presetSaved": "Predefinição salva",
"presetLoaded": "Predefinição carregada",
"presetDeleted": "Predefinição excluída",
"confirmDeletePreset": "Tem certeza que deseja excluir esta predefinição?",
"configPlaceholder": "gpu-api=vulkan\nhwdec=auto\n# comment"
},
"dialog": {
"confirmAction": "Confirmar Ação"
},
"discover": {
"title": "Descobrir",
"switchProfile": "Trocar Perfil",
"noContentAvailable": "Nenhum conteúdo disponível",
"addMediaToLibraries": "Adicione mídias às suas bibliotecas",
"continueWatching": "Continuar Assistindo",
"playEpisode": "S${season}E${episode}",
"overview": "Sinopse",
"cast": "Elenco",
"extras": "Trailers e Extras",
"seasons": "Temporadas",
"studio": "Estúdio",
"rating": "Avaliação",
"episodeCount": "${count} episódios",
"watchedProgress": "${watched}/${total} assistidos",
"movie": "Filme",
"tvShow": "Série de TV",
"minutesLeft": "${minutes} min restantes"
},
"errors": {
"searchFailed": "Falha na busca: ${error}",
"connectionTimeout": "Tempo de conexão esgotado ao carregar ${context}",
"connectionFailed": "Não foi possível conectar ao servidor Plex",
"failedToLoad": "Falha ao carregar ${context}: ${error}",
"noClientAvailable": "Nenhum cliente disponível",
"authenticationFailed": "Falha na autenticação: ${error}",
"couldNotLaunchUrl": "Não foi possível abrir a URL de autenticação",
"pleaseEnterToken": "Insira um token",
"invalidToken": "Token inválido",
"failedToVerifyToken": "Falha ao verificar token: ${error}",
"failedToSwitchProfile": "Falha ao trocar para ${displayName}"
},
"libraries": {
"title": "Bibliotecas",
"scanLibraryFiles": "Escanear Arquivos da Biblioteca",
"scanLibrary": "Escanear Biblioteca",
"analyze": "Analisar",
"analyzeLibrary": "Analisar Biblioteca",
"refreshMetadata": "Atualizar Metadados",
"emptyTrash": "Esvaziar Lixeira",
"emptyingTrash": "Esvaziando lixeira de \"${title}\"...",
"trashEmptied": "Lixeira esvaziada de \"${title}\"",
"failedToEmptyTrash": "Falha ao esvaziar lixeira: ${error}",
"analyzing": "Analisando \"${title}\"...",
"analysisStarted": "Análise iniciada para \"${title}\"",
"failedToAnalyze": "Falha ao analisar biblioteca: ${error}",
"noLibrariesFound": "Nenhuma biblioteca encontrada",
"thisLibraryIsEmpty": "Esta biblioteca está vazia",
"all": "Todos",
"clearAll": "Limpar Tudo",
"scanLibraryConfirm": "Tem certeza que deseja escanear \"${title}\"?",
"analyzeLibraryConfirm": "Tem certeza que deseja analisar \"${title}\"?",
"refreshMetadataConfirm": "Tem certeza que deseja atualizar os metadados de \"${title}\"?",
"emptyTrashConfirm": "Tem certeza que deseja esvaziar a lixeira de \"${title}\"?",
"manageLibraries": "Gerenciar Bibliotecas",
"sort": "Ordenar",
"sortBy": "Ordenar Por",
"filters": "Filtros",
"confirmActionMessage": "Tem certeza que deseja realizar esta ação?",
"showLibrary": "Mostrar biblioteca",
"hideLibrary": "Ocultar biblioteca",
"libraryOptions": "Opções da biblioteca",
"content": "conteúdo da biblioteca",
"selectLibrary": "Selecionar biblioteca",
"filtersWithCount": "Filtros (${count})",
"noRecommendations": "Nenhuma recomendação disponível",
"noCollections": "Nenhuma coleção nesta biblioteca",
"noFoldersFound": "Nenhuma pasta encontrada",
"folders": "pastas",
"tabs": {
"recommended": "Recomendados",
"browse": "Navegar",
"collections": "Coleções",
"playlists": "Playlists"
},
"groupings": {
"title": "Agrupamento",
"all": "Todos",
"movies": "Filmes",
"shows": "Séries de TV",
"seasons": "Temporadas",
"episodes": "Episódios",
"folders": "Pastas"
}
},
"about": {
"title": "Sobre",
"openSourceLicenses": "Licenças Open Source",
"versionLabel": "Versão ${version}",
"appDescription": "Um belo cliente Plex para Flutter",
"viewLicensesDescription": "Ver licenças de bibliotecas de terceiros"
},
"serverSelection": {
"allServerConnectionsFailed": "Falha ao conectar a qualquer servidor. Verifique sua rede e tente novamente.",
"noServersFoundForAccount": "Nenhum servidor encontrado para ${username} (${email})",
"failedToLoadServers": "Falha ao carregar servidores: ${error}"
},
"hubDetail": {
"title": "Título",
"releaseYear": "Ano de Lançamento",
"dateAdded": "Data de Adição",
"rating": "Avaliação",
"noItemsFound": "Nenhum item encontrado"
},
"logs": {
"clearLogs": "Limpar Logs",
"copyLogs": "Copiar Logs",
"uploadLogs": "Enviar Logs",
"error": "Erro:",
"stackTrace": "Stack Trace:"
},
"licenses": {
"relatedPackages": "Pacotes Relacionados",
"license": "Licença",
"licenseNumber": "Licença ${number}",
"licensesCount": "${count} licenças"
},
"navigation": {
"libraries": "Bibliotecas",
"downloads": "Downloads",
"liveTv": "TV ao Vivo"
},
"liveTv": {
"title": "TV ao Vivo",
"channels": "Canais",
"guide": "Guia",
"noChannels": "Nenhum canal disponível",
"noDvr": "Nenhum DVR configurado em nenhum servidor",
"tuneFailed": "Falha ao sintonizar canal",
"loading": "Carregando canais...",
"nowPlaying": "Reproduzindo Agora",
"noPrograms": "Nenhum dado de programação disponível",
"channelNumber": "Ch. ${number}",
"live": "AO VIVO",
"hd": "HD",
"premiere": "NOVO",
"reloadGuide": "Recarregar Guia",
"allChannels": "Todos os Canais",
"now": "Agora",
"today": "Hoje",
"midnight": "Meia-noite",
"overnight": "Madrugada",
"morning": "Manhã",
"daytime": "Dia",
"evening": "Noite",
"lateNight": "Madrugada",
"whatsOn": "O que Está Passando",
"watchChannel": "Assistir Canal"
},
"collections": {
"title": "Coleções",
"collection": "Coleção",
"empty": "A coleção está vazia",
"unknownLibrarySection": "Não é possível excluir: Seção de biblioteca desconhecida",
"deleteCollection": "Excluir Coleção",
"deleteConfirm": "Tem certeza que deseja excluir \"${title}\"? Esta ação não pode ser desfeita.",
"deleted": "Coleção excluída",
"deleteFailed": "Falha ao excluir coleção",
"deleteFailedWithError": "Falha ao excluir coleção: ${error}",
"failedToLoadItems": "Falha ao carregar itens da coleção: ${error}",
"selectCollection": "Selecionar Coleção",
"collectionName": "Nome da Coleção",
"enterCollectionName": "Insira o nome da coleção",
"addedToCollection": "Adicionado à coleção",
"errorAddingToCollection": "Falha ao adicionar à coleção",
"created": "Coleção criada",
"removeFromCollection": "Remover da coleção",
"removeFromCollectionConfirm": "Remover \"${title}\" desta coleção?",
"removedFromCollection": "Removido da coleção",
"removeFromCollectionFailed": "Falha ao remover da coleção",
"removeFromCollectionError": "Erro ao remover da coleção: ${error}"
},
"playlists": {
"title": "Playlists",
"playlist": "Playlist",
"noPlaylists": "Nenhuma playlist encontrada",
"create": "Criar Playlist",
"playlistName": "Nome da Playlist",
"enterPlaylistName": "Insira o nome da playlist",
"delete": "Excluir Playlist",
"removeItem": "Remover da Playlist",
"smartPlaylist": "Playlist Inteligente",
"itemCount": "${count} itens",
"oneItem": "1 item",
"emptyPlaylist": "Esta playlist está vazia",
"deleteConfirm": "Excluir Playlist?",
"deleteMessage": "Tem certeza que deseja excluir \"${name}\"?",
"created": "Playlist criada",
"deleted": "Playlist excluída",
"itemAdded": "Adicionado à playlist",
"itemRemoved": "Removido da playlist",
"selectPlaylist": "Selecionar Playlist",
"errorCreating": "Falha ao criar playlist",
"errorDeleting": "Falha ao excluir playlist",
"errorLoading": "Falha ao carregar playlists",
"errorAdding": "Falha ao adicionar à playlist",
"errorReordering": "Falha ao reordenar item da playlist",
"errorRemoving": "Falha ao remover da playlist"
},
"watchTogether": {
"title": "Assistir Juntos",
"description": "Assista conteúdo sincronizado com amigos e família",
"createSession": "Criar Sessão",
"creating": "Criando...",
"joinSession": "Entrar na Sessão",
"joining": "Entrando...",
"controlMode": "Modo de Controle",
"controlModeQuestion": "Quem pode controlar a reprodução?",
"hostOnly": "Apenas o Anfitrião",
"anyone": "Qualquer pessoa",
"hostingSession": "Hospedando Sessão",
"inSession": "Em Sessão",
"sessionCode": "Código da Sessão",
"hostControlsPlayback": "Anfitrião controla a reprodução",
"anyoneCanControl": "Qualquer pessoa pode controlar a reprodução",
"hostControls": "Controle do anfitrião",
"anyoneControls": "Controle de todos",
"participants": "Participantes",
"host": "Anfitrião",
"hostBadge": "HOST",
"youAreHost": "Você é o anfitrião",
"watchingWithOthers": "Assistindo com outros",
"endSession": "Encerrar Sessão",
"leaveSession": "Sair da Sessão",
"endSessionQuestion": "Encerrar Sessão?",
"leaveSessionQuestion": "Sair da Sessão?",
"endSessionConfirm": "Isso encerrará a sessão para todos os participantes.",
"leaveSessionConfirm": "Você será removido da sessão.",
"endSessionConfirmOverlay": "Isso encerrará a sessão de visualização para todos os participantes.",
"leaveSessionConfirmOverlay": "Você será desconectado da sessão de visualização.",
"end": "Encerrar",
"leave": "Sair",
"syncing": "Sincronizando...",
"joinWatchSession": "Entrar na Sessão",
"enterCodeHint": "Insira o código de 8 caracteres",
"pasteFromClipboard": "Colar da área de transferência",
"pleaseEnterCode": "Insira um código de sessão",
"codeMustBe8Chars": "O código da sessão deve ter 8 caracteres",
"joinInstructions": "Insira o código da sessão compartilhado pelo anfitrião para entrar na sessão.",
"failedToCreate": "Falha ao criar sessão",
"failedToJoin": "Falha ao entrar na sessão",
"sessionCodeCopied": "Código da sessão copiado para a área de transferência",
"relayUnreachable": "O servidor de retransmissão está inacessível. Isso pode ser causado pelo seu provedor bloqueando a conexão. Você ainda pode tentar, mas o Assistir Juntos pode não funcionar.",
"reconnectingToHost": "Reconectando ao anfitrião...",
"currentPlayback": "Reprodução Atual",
"joinCurrentPlayback": "Entrar na Reprodução Atual",
"joinCurrentPlaybackDescription": "Voltar ao que o anfitrião está assistindo agora",
"failedToOpenCurrentPlayback": "Falha ao abrir reprodução atual",
"participantJoined": "${name} entrou",
"participantLeft": "${name} saiu"
},
"downloads": {
"title": "Downloads",
"manage": "Gerenciar",
"tvShows": "Séries de TV",
"movies": "Filmes",
"noDownloads": "Nenhum download ainda",
"noDownloadsDescription": "Conteúdo baixado aparecerá aqui para visualização offline",
"downloadNow": "Baixar",
"deleteDownload": "Excluir download",
"retryDownload": "Tentar download novamente",
"downloadQueued": "Download na fila",
"episodesQueued": "${count} episódios na fila de download",
"downloadDeleted": "Download excluído",
"deleteConfirm": "Tem certeza que deseja excluir \"${title}\"? Isso removerá o arquivo baixado do seu dispositivo.",
"deletingWithProgress": "Excluindo ${title}... (${current} de ${total})",
"noDownloadsTree": "Nenhum download",
"pauseAll": "Pausar todos",
"resumeAll": "Retomar todos",
"deleteAll": "Excluir todos"
},
"shaders": {
"title": "Shaders",
"noShaderDescription": "Sem aprimoramento de vídeo",
"nvscalerDescription": "Escalonamento de imagem NVIDIA para vídeo mais nítido",
"qualityFast": "Rápido",
"qualityHQ": "Alta Qualidade",
"mode": "Modo",
"importShader": "Importar Shader",
"customShaderDescription": "Shader GLSL personalizado",
"shaderImported": "Shader importado",
"shaderImportFailed": "Falha ao importar shader",
"deleteShader": "Excluir Shader",
"deleteShaderConfirm": "Excluir \"${name}\"?"
},
"companionRemote": {
"title": "Controle Remoto",
"connectToDevice": "Conectar ao Dispositivo",
"hostRemoteSession": "Hospedar Sessão Remota",
"controlThisDevice": "Controle este dispositivo com seu celular",
"remoteControl": "Controle Remoto",
"controlDesktop": "Controlar um dispositivo desktop",
"connectedTo": "Conectado a ${name}",
"session": {
"creatingSession": "Criando sessão remota...",
"failedToCreate": "Falha ao criar sessão remota:",
"noSession": "Nenhuma sessão disponível",
"scanQrCode": "Escanear QR Code",
"orEnterManually": "Ou insira manualmente",
"hostAddress": "Endereço do Host",
"sessionId": "ID da Sessão",
"pin": "PIN",
"connected": "Conectado",
"waitingForConnection": "Aguardando conexão...",
"usePhoneToControl": "Use seu dispositivo móvel para controlar este app",
"copiedToClipboard": "${label} copiado para a área de transferência",
"copyToClipboard": "Copiar para área de transferência",
"newSession": "Nova Sessão",
"minimize": "Minimizar"
},
"pairing": {
"scan": "Escanear",
"manual": "Manual",
"pairWithDesktop": "Parear com Desktop",
"enterSessionDetails": "Insira os detalhes da sessão exibidos no seu dispositivo desktop",
"hostAddressHint": "192.168.1.100:48632",
"sessionIdHint": "Insira o ID da sessão de 8 caracteres",
"pinHint": "Insira o PIN de 6 dígitos",
"connecting": "Conectando...",
"tips": "Dicas",
"tipDesktop": "Abra o Plezy no desktop e ative o Controle Remoto nas configurações ou menu",
"tipScan": "Use a aba Escanear para parear rapidamente escaneando o QR code no seu desktop",
"tipWifi": "Certifique-se de que ambos os dispositivos estão na mesma rede WiFi",
"cameraPermissionRequired": "A permissão da câmera é necessária para escanear QR codes.\nConceda acesso à câmera nas configurações do dispositivo.",
"cameraError": "Não foi possível iniciar a câmera: ${error}",
"scanInstruction": "Aponte sua câmera para o QR code exibido no seu desktop",
"invalidQrCode": "Formato de QR code inválido",
"validationHostRequired": "Insira o endereço do host",
"validationHostFormat": "O formato deve ser IP:porta (ex: 192.168.1.100:48632)",
"validationSessionIdRequired": "Insira um ID de sessão",
"validationSessionIdLength": "O ID da sessão deve ter 8 caracteres",
"validationPinRequired": "Insira um PIN",
"validationPinLength": "O PIN deve ter 6 dígitos",
"connectionTimedOut": "Tempo de conexão esgotado. Verifique o ID da sessão e o PIN.",
"sessionNotFound": "Sessão não encontrada. Verifique suas credenciais.",
"failedToConnect": "Falha ao conectar: ${error}"
},
"remote": {
"disconnectConfirm": "Deseja desconectar da sessão remota?",
"reconnecting": "Reconectando...",
"attemptOf": "Tentativa ${current} de 5",
"retryNow": "Tentar Agora",
"connectionError": "Erro de conexão",
"notConnected": "Não conectado",
"tabRemote": "Remoto",
"tabPlay": "Reproduzir",
"tabMore": "Mais",
"menu": "Menu",
"tabNavigation": "Navegação",
"tabDiscover": "Descobrir",
"tabLibraries": "Bibliotecas",
"tabSearch": "Buscar",
"tabDownloads": "Downloads",
"tabSettings": "Configurações",
"previous": "Anterior",
"playPause": "Reproduzir/Pausar",
"next": "Próximo",
"seekBack": "Retroceder",
"stop": "Parar",
"seekForward": "Avançar",
"volume": "Volume",
"volumeDown": "Diminuir",
"volumeUp": "Aumentar",
"fullscreen": "Tela Cheia",
"subtitles": "Legendas",
"audio": "Áudio",
"searchHint": "Buscar no desktop..."
}
},
"videoSettings": {
"playbackSettings": "Configurações de Reprodução",
"playbackSpeed": "Velocidade de Reprodução",
"sleepTimer": "Timer de Sono",
"audioSync": "Sincronia de Áudio",
"subtitleSync": "Sincronia de Legendas",
"hdr": "HDR",
"audioOutput": "Saída de Áudio",
"performanceOverlay": "Overlay de Desempenho",
"audioPassthrough": "Passagem de Áudio",
"audioNormalization": "Normalização de Áudio"
},
"externalPlayer": {
"title": "Player Externo",
"useExternalPlayer": "Usar Player Externo",
"useExternalPlayerDescription": "Abrir vídeos em um app externo em vez do player integrado",
"selectPlayer": "Selecionar Player",
"systemDefault": "Padrão do Sistema",
"addCustomPlayer": "Adicionar Player Personalizado",
"playerName": "Nome do Player",
"playerCommand": "Comando",
"playerPackage": "Nome do Pacote",
"playerUrlScheme": "Esquema de URL",
"customPlayer": "Player Personalizado",
"off": "Desativado",
"launchFailed": "Falha ao abrir player externo",
"appNotInstalled": "${name} não está instalado",
"playInExternalPlayer": "Reproduzir no Player Externo"
},
"metadataEdit": {
"editMetadata": "Editar...",
"screenTitle": "Editar Metadados",
"basicInfo": "Informações Básicas",
"artwork": "Arte",
"advancedSettings": "Configurações Avançadas",
"title": "Título",
"sortTitle": "Título para Ordenação",
"originalTitle": "Título Original",
"releaseDate": "Data de Lançamento",
"contentRating": "Classificação Indicativa",
"studio": "Estúdio",
"tagline": "Tagline",
"summary": "Sinopse",
"poster": "Poster",
"background": "Plano de Fundo",
"selectPoster": "Selecionar Poster",
"selectBackground": "Selecionar Plano de Fundo",
"fromUrl": "Da URL",
"uploadFile": "Enviar Arquivo",
"enterImageUrl": "Insira a URL da imagem",
"imageUrl": "URL da Imagem",
"metadataUpdated": "Metadados atualizados",
"metadataUpdateFailed": "Falha ao atualizar metadados",
"artworkUpdated": "Arte atualizada",
"artworkUpdateFailed": "Falha ao atualizar arte",
"noArtworkAvailable": "Nenhuma arte disponível",
"notSet": "Não definido",
"libraryDefault": "Padrão da biblioteca",
"accountDefault": "Padrão da conta",
"seriesDefault": "Padrão da série",
"episodeSorting": "Ordenação de Episódios",
"oldestFirst": "Mais antigos primeiro",
"newestFirst": "Mais recentes primeiro",
"keep": "Manter",
"allEpisodes": "Todos os episódios",
"latestEpisodes": "${count} episódios mais recentes",
"latestEpisode": "Episódio mais recente",
"episodesAddedPastDays": "Episódios adicionados nos últimos ${count} dias",
"deleteAfterPlaying": "Excluir Episódios Após Reproduzir",
"never": "Nunca",
"afterADay": "Após um dia",
"afterAWeek": "Após uma semana",
"afterAMonth": "Após um mês",
"onNextRefresh": "Na próxima atualização",
"seasons": "Temporadas",
"show": "Mostrar",
"hide": "Ocultar",
"episodeOrdering": "Ordenação de Episódios",
"tmdbAiring": "The Movie Database (Exibição)",
"tvdbAiring": "TheTVDB (Exibição)",
"tvdbAbsolute": "TheTVDB (Absoluto)",
"metadataLanguage": "Idioma dos Metadados",
"useOriginalTitle": "Usar Título Original",
"preferredAudioLanguage": "Idioma de Áudio Preferido",
"preferredSubtitleLanguage": "Idioma de Legenda Preferido",
"subtitleMode": "Modo de Seleção Automática de Legendas",
"manuallySelected": "Seleção manual",
"shownWithForeignAudio": "Exibir com áudio estrangeiro",
"alwaysEnabled": "Sempre ativado"
}
}
+905
View File
@@ -0,0 +1,905 @@
{
"app": {
"title": "Plezy"
},
"auth": {
"signInWithPlex": "Войти через Plex",
"showQRCode": "Показать QR-код",
"authenticate": "Аутентификация",
"authenticationTimeout": "Время аутентификации истекло. Попробуйте снова.",
"scanQRToSignIn": "Отсканируйте QR-код для входа",
"waitingForAuth": "Ожидание аутентификации...\nЗавершите вход в браузере.",
"useBrowser": "Использовать браузер"
},
"common": {
"cancel": "Отмена",
"save": "Сохранить",
"close": "Закрыть",
"clear": "Очистить",
"reset": "Сбросить",
"later": "Позже",
"submit": "Отправить",
"confirm": "Подтвердить",
"retry": "Повторить",
"logout": "Выйти",
"unknown": "Неизвестно",
"refresh": "Обновить",
"yes": "Да",
"no": "Нет",
"delete": "Удалить",
"shuffle": "Перемешать",
"addTo": "Добавить в...",
"createNew": "Создать новый",
"remove": "Удалить",
"paste": "Вставить",
"connect": "Подключить",
"disconnect": "Отключить",
"play": "Воспроизвести",
"pause": "Пауза",
"resume": "Продолжить",
"error": "Ошибка",
"search": "Поиск",
"home": "Главная",
"back": "Назад",
"settings": "Настройки",
"mute": "Без звука",
"ok": "OK",
"loading": "Загрузка...",
"reconnect": "Переподключить",
"exitConfirmTitle": "Выйти из приложения?",
"exitConfirmMessage": "Вы уверены, что хотите выйти?",
"dontAskAgain": "Больше не спрашивать",
"exit": "Выход",
"viewAll": "Показать все",
"checkingNetwork": "Проверка сети...",
"refreshingServers": "Обновление серверов...",
"loadingServers": "Загрузка серверов...",
"connectingToServers": "Подключение к серверам...",
"startingOfflineMode": "Запуск автономного режима..."
},
"screens": {
"licenses": "Лицензии",
"switchProfile": "Сменить профиль",
"subtitleStyling": "Стиль субтитров",
"mpvConfig": "mpv.conf",
"logs": "Логи"
},
"update": {
"available": "Доступно обновление",
"versionAvailable": "Доступна версия ${version}",
"currentVersion": "Текущая: ${version}",
"skipVersion": "Пропустить эту версию",
"viewRelease": "Посмотреть релиз",
"latestVersion": "У вас последняя версия",
"checkFailed": "Не удалось проверить обновления"
},
"settings": {
"title": "Настройки",
"language": "Язык",
"theme": "Тема",
"appearance": "Внешний вид",
"videoPlayback": "Воспроизведение видео",
"advanced": "Дополнительно",
"episodePosterMode": "Стиль постера эпизода",
"seriesPoster": "Постер сериала",
"seriesPosterDescription": "Показывать постер сериала для всех эпизодов",
"seasonPoster": "Постер сезона",
"seasonPosterDescription": "Показывать постер конкретного сезона для эпизодов",
"episodeThumbnail": "Миниатюра эпизода",
"episodeThumbnailDescription": "Показывать миниатюры скриншотов эпизодов 16:9",
"showHeroSectionDescription": "Показывать карусель избранного контента на главном экране",
"secondsLabel": "Секунды",
"minutesLabel": "Минуты",
"secondsShort": "с",
"minutesShort": "м",
"durationHint": "Введите длительность (${min}-${max})",
"systemTheme": "Системная",
"systemThemeDescription": "Следовать настройкам системы",
"lightTheme": "Светлая",
"darkTheme": "Тёмная",
"oledTheme": "OLED",
"oledThemeDescription": "Чистый чёрный для OLED-экранов",
"libraryDensity": "Плотность библиотеки",
"compact": "Компактный",
"compactDescription": "Меньшие карточки, больше элементов видно",
"normal": "Обычный",
"normalDescription": "Размер по умолчанию",
"comfortable": "Комфортный",
"comfortableDescription": "Большие карточки, меньше элементов видно",
"viewMode": "Режим просмотра",
"gridView": "Сетка",
"gridViewDescription": "Отображать элементы в виде сетки",
"listView": "Список",
"listViewDescription": "Отображать элементы в виде списка",
"showHeroSection": "Показать раздел избранного",
"useGlobalHubs": "Использовать макет Plex Home",
"useGlobalHubsDescription": "Показывать хабы главной страницы как в официальном клиенте Plex. При выключении показывает рекомендации по библиотекам.",
"showServerNameOnHubs": "Показывать имя сервера в хабах",
"showServerNameOnHubsDescription": "Всегда показывать имя сервера в заголовках хабов. При выключении показывает только для дублирующихся имён.",
"alwaysKeepSidebarOpen": "Всегда держать боковую панель открытой",
"alwaysKeepSidebarOpenDescription": "Боковая панель остаётся развёрнутой, область контента подстраивается",
"showUnwatchedCount": "Показывать количество непросмотренных",
"showUnwatchedCountDescription": "Отображать количество непросмотренных эпизодов для сериалов и сезонов",
"hideSpoilers": "Скрыть спойлеры непросмотренных эпизодов",
"hideSpoilersDescription": "Размывать миниатюры и скрывать описания эпизодов, которые вы ещё не смотрели",
"playerBackend": "Бэкенд плеера",
"exoPlayer": "ExoPlayer (Рекомендуется)",
"exoPlayerDescription": "Нативный Android-плеер с лучшей аппаратной поддержкой",
"mpv": "mpv",
"mpvDescription": "Продвинутый плеер с большим количеством функций и поддержкой субтитров ASS",
"hardwareDecoding": "Аппаратное декодирование",
"hardwareDecodingDescription": "Использовать аппаратное ускорение, когда доступно",
"bufferSize": "Размер буфера",
"bufferSizeMB": "${size}МБ",
"bufferSizeAuto": "Авто (Рекомендуется)",
"bufferSizeWarning": "У вашего устройства ${heap}МБ памяти. Буфер ${size}МБ может вызвать проблемы с воспроизведением.",
"subtitleStyling": "Стиль субтитров",
"subtitleStylingDescription": "Настроить внешний вид субтитров",
"smallSkipDuration": "Малая перемотка",
"largeSkipDuration": "Большая перемотка",
"secondsUnit": "${seconds} секунд",
"defaultSleepTimer": "Таймер сна по умолчанию",
"minutesUnit": "${minutes} минут",
"rememberTrackSelections": "Запоминать выбор дорожек для каждого сериала/фильма",
"rememberTrackSelectionsDescription": "Автоматически сохранять предпочтения языка аудио и субтитров при переключении дорожек во время воспроизведения",
"clickVideoTogglesPlayback": "Клик по видео для переключения воспроизведения/паузы",
"clickVideoTogglesPlaybackDescription": "Если включено, клик по видеоплееру воспроизводит/ставит на паузу. В противном случае показывает/скрывает элементы управления.",
"videoPlayerControls": "Элементы управления плеером",
"keyboardShortcuts": "Горячие клавиши",
"keyboardShortcutsDescription": "Настроить горячие клавиши",
"videoPlayerNavigation": "Навигация видеоплеера",
"videoPlayerNavigationDescription": "Использовать клавиши стрелок для навигации по элементам управления плеером",
"crashReporting": "Отчёты об ошибках",
"crashReportingDescription": "Отправлять отчёты об ошибках для улучшения приложения",
"debugLogging": "Журнал отладки",
"debugLoggingDescription": "Включить подробное журналирование для устранения неполадок",
"viewLogs": "Просмотр логов",
"viewLogsDescription": "Просмотр логов приложения",
"clearCache": "Очистить кэш",
"clearCacheDescription": "Это удалит все кэшированные изображения и данные. После очистки кэша приложение может загружать контент дольше.",
"clearCacheSuccess": "Кэш успешно очищен",
"resetSettings": "Сбросить настройки",
"resetSettingsDescription": "Все настройки будут сброшены до значений по умолчанию. Это действие нельзя отменить.",
"resetSettingsSuccess": "Настройки успешно сброшены",
"shortcutsReset": "Горячие клавиши сброшены по умолчанию",
"about": "О приложении",
"aboutDescription": "Информация о приложении и лицензии",
"updates": "Обновления",
"updateAvailable": "Доступно обновление",
"checkForUpdates": "Проверить обновления",
"validationErrorEnterNumber": "Введите корректное число",
"validationErrorDuration": "Длительность должна быть от ${min} до ${max} ${unit}",
"shortcutAlreadyAssigned": "Клавиша уже назначена для ${action}",
"shortcutUpdated": "Клавиша обновлена для ${action}",
"autoSkip": "Автопропуск",
"autoSkipIntro": "Автопропуск вступления",
"autoSkipIntroDescription": "Автоматически пропускать маркеры вступления через несколько секунд",
"autoSkipCredits": "Автопропуск титров",
"autoSkipCreditsDescription": "Автоматически пропускать титры и воспроизводить следующий эпизод",
"autoSkipDelay": "Задержка автопропуска",
"autoSkipDelayDescription": "Подождать ${seconds} секунд перед автопропуском",
"introPattern": "Шаблон маркера вступления",
"introPatternDescription": "Регулярное выражение для распознавания маркеров вступления в заголовках глав",
"creditsPattern": "Шаблон маркера титров",
"creditsPatternDescription": "Регулярное выражение для распознавания маркеров титров в заголовках глав",
"invalidRegex": "Недопустимое регулярное выражение",
"downloads": "Загрузки",
"downloadLocationDescription": "Выберите место для хранения загруженного контента",
"downloadLocationDefault": "По умолчанию (Хранилище приложения)",
"downloadLocationCustom": "Другое расположение",
"selectFolder": "Выбрать папку",
"resetToDefault": "Сбросить по умолчанию",
"currentPath": "Текущий: ${path}",
"downloadLocationChanged": "Место загрузки изменено",
"downloadLocationReset": "Место загрузки сброшено по умолчанию",
"downloadLocationInvalid": "Выбранная папка недоступна для записи",
"downloadLocationSelectError": "Не удалось выбрать папку",
"downloadOnWifiOnly": "Загружать только по WiFi",
"downloadOnWifiOnlyDescription": "Запретить загрузку по мобильным данным",
"cellularDownloadBlocked": "Загрузка по мобильным данным отключена. Подключитесь к WiFi или измените настройку.",
"maxVolume": "Максимальная громкость",
"maxVolumeDescription": "Разрешить усиление громкости выше 100% для тихих медиа",
"maxVolumePercent": "${percent}%",
"discordRichPresence": "Discord Rich Presence",
"discordRichPresenceDescription": "Показывать, что вы смотрите, в Discord",
"autoPip": "Автоматический «картинка в картинке»",
"autoPipDescription": "Автоматически переходить в режим «картинка в картинке» при выходе из приложения во время воспроизведения",
"matchContentFrameRate": "Соответствие частоты кадров контента",
"matchContentFrameRateDescription": "Настроить частоту обновления дисплея под видеоконтент, уменьшая дрожание и экономя батарею",
"tunneledPlayback": "Туннельное воспроизведение",
"tunneledPlaybackDescription": "Использовать аппаратный видеотуннелинг. Отключите, если видите чёрный экран со звуком при HDR-контенте",
"requireProfileSelectionOnOpen": "Запрашивать профиль при запуске",
"requireProfileSelectionOnOpenDescription": "Показывать выбор профиля при каждом открытии приложения",
"confirmExitOnBack": "Подтверждать выход",
"confirmExitOnBackDescription": "Показывать диалог подтверждения при нажатии «назад» для выхода из приложения",
"showNavBarLabels": "Показывать подписи панели навигации",
"showNavBarLabelsDescription": "Отображать текстовые подписи под иконками панели навигации"
},
"search": {
"hint": "Поиск фильмов, сериалов, музыки...",
"tryDifferentTerm": "Попробуйте другой запрос",
"searchYourMedia": "Поиск в вашей медиатеке",
"enterTitleActorOrKeyword": "Введите название, актёра или ключевое слово"
},
"hotkeys": {
"setShortcutFor": "Назначить клавишу для ${actionName}",
"clearShortcut": "Очистить клавишу",
"actions": {
"playPause": "Воспроизведение/Пауза",
"volumeUp": "Громкость выше",
"volumeDown": "Громкость ниже",
"seekForward": "Перемотка вперёд (${seconds}с)",
"seekBackward": "Перемотка назад (${seconds}с)",
"fullscreenToggle": "Полноэкранный режим",
"muteToggle": "Вкл./выкл. звук",
"subtitleToggle": "Вкл./выкл. субтитры",
"audioTrackNext": "Следующая аудиодорожка",
"subtitleTrackNext": "Следующая дорожка субтитров",
"chapterNext": "Следующая глава",
"chapterPrevious": "Предыдущая глава",
"speedIncrease": "Увеличить скорость",
"speedDecrease": "Уменьшить скорость",
"speedReset": "Сбросить скорость",
"subSeekNext": "К следующему субтитру",
"subSeekPrev": "К предыдущему субтитру",
"shaderToggle": "Вкл./выкл. шейдеры",
"skipMarker": "Пропустить вступление/титры"
}
},
"pinEntry": {
"enterPin": "Введите PIN",
"showPin": "Показать PIN",
"hidePin": "Скрыть PIN"
},
"fileInfo": {
"title": "Информация о файле",
"video": "Видео",
"audio": "Аудио",
"file": "Файл",
"advanced": "Дополнительно",
"codec": "Кодек",
"resolution": "Разрешение",
"bitrate": "Битрейт",
"frameRate": "Частота кадров",
"aspectRatio": "Соотношение сторон",
"profile": "Профиль",
"bitDepth": "Глубина цвета",
"colorSpace": "Цветовое пространство",
"colorRange": "Цветовой диапазон",
"colorPrimaries": "Цветовые первичные",
"chromaSubsampling": "Субдискретизация цветности",
"channels": "Каналы",
"path": "Путь",
"size": "Размер",
"container": "Контейнер",
"duration": "Длительность",
"optimizedForStreaming": "Оптимизировано для стриминга",
"has64bitOffsets": "64-битные смещения"
},
"mediaMenu": {
"markAsWatched": "Отметить как просмотренное",
"markAsUnwatched": "Отметить как непросмотренное",
"removeFromContinueWatching": "Удалить из «Продолжить просмотр»",
"goToSeries": "Перейти к сериалу",
"goToSeason": "Перейти к сезону",
"shufflePlay": "Случайное воспроизведение",
"fileInfo": "Информация о файле",
"deleteFromServer": "Удалить с сервера",
"confirmDelete": "Это навсегда удалит этот медиафайл и его файлы с вашего сервера. Это действие нельзя отменить.",
"deleteMultipleWarning": "Это включает все эпизоды и их файлы.",
"mediaDeletedSuccessfully": "Медиаэлемент успешно удалён",
"mediaFailedToDelete": "Не удалось удалить медиаэлемент",
"rate": "Оценить"
},
"accessibility": {
"mediaCardMovie": "${title}, фильм",
"mediaCardShow": "${title}, сериал",
"mediaCardEpisode": "${title}, ${episodeInfo}",
"mediaCardSeason": "${title}, ${seasonInfo}",
"mediaCardWatched": "просмотрено",
"mediaCardPartiallyWatched": "просмотрено ${percent} процентов",
"mediaCardUnwatched": "не просмотрено",
"tapToPlay": "Нажмите для воспроизведения"
},
"tooltips": {
"shufflePlay": "Случайное воспроизведение",
"playTrailer": "Воспроизвести трейлер",
"markAsWatched": "Отметить как просмотренное",
"markAsUnwatched": "Отметить как непросмотренное"
},
"videoControls": {
"audioLabel": "Аудио",
"subtitlesLabel": "Субтитры",
"resetToZero": "Сбросить до 0мс",
"addTime": "+${amount}${unit}",
"minusTime": "-${amount}${unit}",
"playsLater": "${label} воспроизводится позже",
"playsEarlier": "${label} воспроизводится раньше",
"noOffset": "Без смещения",
"letterbox": "Letterbox",
"fillScreen": "Заполнить экран",
"stretch": "Растянуть",
"lockRotation": "Заблокировать поворот",
"unlockRotation": "Разблокировать поворот",
"timerActive": "Таймер активен",
"playbackWillPauseIn": "Воспроизведение будет приостановлено через ${duration}",
"sleepTimerCompleted": "Таймер сна завершён — воспроизведение приостановлено",
"stillWatching": "Всё ещё смотрите?",
"pausingIn": "Пауза через ${seconds}с",
"continueWatching": "Продолжить",
"autoPlayNext": "Автовоспроизведение следующего",
"playNext": "Следующее",
"playButton": "Воспроизвести",
"pauseButton": "Пауза",
"seekBackwardButton": "Перемотка назад на ${seconds} секунд",
"seekForwardButton": "Перемотка вперёд на ${seconds} секунд",
"previousButton": "Предыдущий эпизод",
"nextButton": "Следующий эпизод",
"previousChapterButton": "Предыдущая глава",
"nextChapterButton": "Следующая глава",
"muteButton": "Без звука",
"unmuteButton": "Включить звук",
"settingsButton": "Настройки видео",
"audioTrackButton": "Аудиодорожки",
"subtitlesButton": "Субтитры",
"tracksButton": "Аудио и субтитры",
"chaptersButton": "Главы",
"versionsButton": "Версии видео",
"pipButton": "Режим «картинка в картинке»",
"aspectRatioButton": "Соотношение сторон",
"ambientLighting": "Фоновая подсветка",
"ambientLightingOn": "Включить фоновую подсветку",
"ambientLightingOff": "Выключить фоновую подсветку",
"fullscreenButton": "Полноэкранный режим",
"exitFullscreenButton": "Выйти из полноэкранного режима",
"alwaysOnTopButton": "Всегда поверх",
"rotationLockButton": "Блокировка поворота",
"timelineSlider": "Временная шкала",
"volumeSlider": "Уровень громкости",
"endsAt": "Закончится в ${time}",
"pipActive": "Воспроизводится в режиме «картинка в картинке»",
"pipFailed": "Не удалось запустить режим «картинка в картинке»",
"pipErrors": {
"androidVersion": "Требуется Android 8.0 или новее",
"iosVersion": "Требуется iOS 15.0 или новее",
"permissionDisabled": "Разрешение «картинка в картинке» отключено. Включите в Настройки > Приложения > Plezy > Картинка в картинке",
"notSupported": "Устройство не поддерживает режим «картинка в картинке»",
"voSwitchFailed": "Не удалось переключить видеовыход для «картинки в картинке»",
"failed": "Не удалось запустить режим «картинка в картинке»",
"unknown": "Произошла ошибка: ${error}"
},
"chapters": "Главы",
"noChaptersAvailable": "Главы недоступны",
"queue": "Очередь",
"noQueueItems": "В очереди нет элементов"
},
"userStatus": {
"admin": "Администратор",
"restricted": "Ограниченный",
"protected": "Защищённый",
"current": "ТЕКУЩИЙ"
},
"messages": {
"markedAsWatched": "Отмечено как просмотренное",
"markedAsUnwatched": "Отмечено как непросмотренное",
"markedAsWatchedOffline": "Отмечено как просмотренное (синхронизируется при подключении)",
"markedAsUnwatchedOffline": "Отмечено как непросмотренное (синхронизируется при подключении)",
"removedFromContinueWatching": "Удалено из «Продолжить просмотр»",
"errorLoading": "Ошибка: ${error}",
"fileInfoNotAvailable": "Информация о файле недоступна",
"errorLoadingFileInfo": "Ошибка загрузки информации о файле: ${error}",
"errorLoadingSeries": "Ошибка загрузки сериала",
"errorLoadingSeason": "Ошибка загрузки сезона",
"musicNotSupported": "Воспроизведение музыки пока не поддерживается",
"logsCleared": "Логи очищены",
"logsCopied": "Логи скопированы в буфер обмена",
"noLogsAvailable": "Логи отсутствуют",
"libraryScanning": "Сканирование \"${title}\"...",
"libraryScanStarted": "Сканирование библиотеки начато для \"${title}\"",
"libraryScanFailed": "Не удалось отсканировать библиотеку: ${error}",
"metadataRefreshing": "Обновление метаданных \"${title}\"...",
"metadataRefreshStarted": "Обновление метаданных начато для \"${title}\"",
"metadataRefreshFailed": "Не удалось обновить метаданные: ${error}",
"logoutConfirm": "Вы уверены, что хотите выйти?",
"noSeasonsFound": "Сезоны не найдены",
"noEpisodesFound": "Эпизоды в первом сезоне не найдены",
"noEpisodesFoundGeneral": "Эпизоды не найдены",
"noResultsFound": "Результаты не найдены",
"sleepTimerSet": "Таймер сна установлен на ${label}",
"noItemsAvailable": "Нет доступных элементов",
"failedToCreatePlayQueueNoItems": "Не удалось создать очередь воспроизведения — нет элементов",
"failedPlayback": "Не удалось ${action}: ${error}",
"switchingToCompatiblePlayer": "Переключение на совместимый плеер...",
"logsUploaded": "Логи загружены",
"logsUploadFailed": "Не удалось загрузить логи",
"logId": "ID лога"
},
"subtitlingStyling": {
"stylingOptions": "Параметры стиля",
"fontSize": "Размер шрифта",
"textColor": "Цвет текста",
"borderSize": "Размер обводки",
"borderColor": "Цвет обводки",
"backgroundOpacity": "Прозрачность фона",
"backgroundColor": "Цвет фона",
"position": "Позиция"
},
"mpvConfig": {
"title": "mpv.conf",
"description": "Расширенные настройки видеоплеера",
"presets": "Пресеты",
"noPresets": "Нет сохранённых пресетов",
"saveAsPreset": "Сохранить как пресет...",
"presetName": "Название пресета",
"presetNameHint": "Введите название для пресета",
"loadPreset": "Загрузить",
"deletePreset": "Удалить",
"presetSaved": "Пресет сохранён",
"presetLoaded": "Пресет загружен",
"presetDeleted": "Пресет удалён",
"confirmDeletePreset": "Вы уверены, что хотите удалить этот пресет?",
"configPlaceholder": "gpu-api=vulkan\nhwdec=auto\n# comment"
},
"dialog": {
"confirmAction": "Подтвердить действие"
},
"discover": {
"title": "Обзор",
"switchProfile": "Сменить профиль",
"noContentAvailable": "Контент недоступен",
"addMediaToLibraries": "Добавьте медиафайлы в ваши библиотеки",
"continueWatching": "Продолжить просмотр",
"playEpisode": "S${season}E${episode}",
"overview": "Обзор",
"cast": "В ролях",
"extras": "Трейлеры и доп. материалы",
"seasons": "Сезоны",
"studio": "Студия",
"rating": "Рейтинг",
"episodeCount": "${count} эпизодов",
"watchedProgress": "${watched}/${total} просмотрено",
"movie": "Фильм",
"tvShow": "Сериал",
"minutesLeft": "Осталось ${minutes} мин"
},
"errors": {
"searchFailed": "Ошибка поиска: ${error}",
"connectionTimeout": "Таймаут подключения при загрузке ${context}",
"connectionFailed": "Не удаётся подключиться к серверу Plex",
"failedToLoad": "Не удалось загрузить ${context}: ${error}",
"noClientAvailable": "Клиент недоступен",
"authenticationFailed": "Ошибка аутентификации: ${error}",
"couldNotLaunchUrl": "Не удалось открыть URL аутентификации",
"pleaseEnterToken": "Введите токен",
"invalidToken": "Недействительный токен",
"failedToVerifyToken": "Не удалось проверить токен: ${error}",
"failedToSwitchProfile": "Не удалось переключиться на ${displayName}"
},
"libraries": {
"title": "Библиотеки",
"scanLibraryFiles": "Сканировать файлы библиотеки",
"scanLibrary": "Сканировать библиотеку",
"analyze": "Анализировать",
"analyzeLibrary": "Анализировать библиотеку",
"refreshMetadata": "Обновить метаданные",
"emptyTrash": "Очистить корзину",
"emptyingTrash": "Очистка корзины для \"${title}\"...",
"trashEmptied": "Корзина очищена для \"${title}\"",
"failedToEmptyTrash": "Не удалось очистить корзину: ${error}",
"analyzing": "Анализ \"${title}\"...",
"analysisStarted": "Анализ начат для \"${title}\"",
"failedToAnalyze": "Не удалось проанализировать библиотеку: ${error}",
"noLibrariesFound": "Библиотеки не найдены",
"thisLibraryIsEmpty": "Эта библиотека пуста",
"all": "Все",
"clearAll": "Очистить все",
"scanLibraryConfirm": "Вы уверены, что хотите сканировать \"${title}\"?",
"analyzeLibraryConfirm": "Вы уверены, что хотите проанализировать \"${title}\"?",
"refreshMetadataConfirm": "Вы уверены, что хотите обновить метаданные для \"${title}\"?",
"emptyTrashConfirm": "Вы уверены, что хотите очистить корзину для \"${title}\"?",
"manageLibraries": "Управление библиотеками",
"sort": "Сортировка",
"sortBy": "Сортировать по",
"filters": "Фильтры",
"confirmActionMessage": "Вы уверены, что хотите выполнить это действие?",
"showLibrary": "Показать библиотеку",
"hideLibrary": "Скрыть библиотеку",
"libraryOptions": "Параметры библиотеки",
"content": "содержимое библиотеки",
"selectLibrary": "Выбрать библиотеку",
"filtersWithCount": "Фильтры (${count})",
"noRecommendations": "Рекомендации недоступны",
"noCollections": "В этой библиотеке нет коллекций",
"noFoldersFound": "Папки не найдены",
"folders": "папки",
"tabs": {
"recommended": "Рекомендуемые",
"browse": "Обзор",
"collections": "Коллекции",
"playlists": "Плейлисты"
},
"groupings": {
"title": "Группировка",
"all": "Все",
"movies": "Фильмы",
"shows": "Сериалы",
"seasons": "Сезоны",
"episodes": "Эпизоды",
"folders": "Папки"
}
},
"about": {
"title": "О приложении",
"openSourceLicenses": "Лицензии открытого ПО",
"versionLabel": "Версия ${version}",
"appDescription": "Красивый клиент Plex на Flutter",
"viewLicensesDescription": "Просмотр лицензий сторонних библиотек"
},
"serverSelection": {
"allServerConnectionsFailed": "Не удалось подключиться ни к одному серверу. Проверьте сеть и попробуйте снова.",
"noServersFoundForAccount": "Серверы не найдены для ${username} (${email})",
"failedToLoadServers": "Не удалось загрузить серверы: ${error}"
},
"hubDetail": {
"title": "Название",
"releaseYear": "Год выпуска",
"dateAdded": "Дата добавления",
"rating": "Рейтинг",
"noItemsFound": "Элементы не найдены"
},
"logs": {
"clearLogs": "Очистить логи",
"copyLogs": "Скопировать логи",
"uploadLogs": "Загрузить логи",
"error": "Ошибка:",
"stackTrace": "Стек вызовов:"
},
"licenses": {
"relatedPackages": "Связанные пакеты",
"license": "Лицензия",
"licenseNumber": "Лицензия ${number}",
"licensesCount": "${count} лицензий"
},
"navigation": {
"libraries": "Библиотеки",
"downloads": "Загрузки",
"liveTv": "ТВ в прямом эфире"
},
"liveTv": {
"title": "ТВ в прямом эфире",
"channels": "Каналы",
"guide": "Программа",
"noChannels": "Нет доступных каналов",
"noDvr": "DVR не настроен ни на одном сервере",
"tuneFailed": "Не удалось настроить канал",
"loading": "Загрузка каналов...",
"nowPlaying": "Сейчас воспроизводится",
"noPrograms": "Нет данных о программах",
"channelNumber": "Кн. ${number}",
"live": "ЭФИР",
"hd": "HD",
"premiere": "НОВОЕ",
"reloadGuide": "Перезагрузить программу",
"allChannels": "Все каналы",
"now": "Сейчас",
"today": "Сегодня",
"midnight": "Полночь",
"overnight": "Ночь",
"morning": "Утро",
"daytime": "День",
"evening": "Вечер",
"lateNight": "Поздний вечер",
"whatsOn": "Что идёт",
"watchChannel": "Смотреть канал"
},
"collections": {
"title": "Коллекции",
"collection": "Коллекция",
"empty": "Коллекция пуста",
"unknownLibrarySection": "Невозможно удалить: неизвестный раздел библиотеки",
"deleteCollection": "Удалить коллекцию",
"deleteConfirm": "Вы уверены, что хотите удалить \"${title}\"? Это действие нельзя отменить.",
"deleted": "Коллекция удалена",
"deleteFailed": "Не удалось удалить коллекцию",
"deleteFailedWithError": "Не удалось удалить коллекцию: ${error}",
"failedToLoadItems": "Не удалось загрузить элементы коллекции: ${error}",
"selectCollection": "Выбрать коллекцию",
"collectionName": "Название коллекции",
"enterCollectionName": "Введите название коллекции",
"addedToCollection": "Добавлено в коллекцию",
"errorAddingToCollection": "Не удалось добавить в коллекцию",
"created": "Коллекция создана",
"removeFromCollection": "Удалить из коллекции",
"removeFromCollectionConfirm": "Удалить \"${title}\" из этой коллекции?",
"removedFromCollection": "Удалено из коллекции",
"removeFromCollectionFailed": "Не удалось удалить из коллекции",
"removeFromCollectionError": "Ошибка удаления из коллекции: ${error}"
},
"playlists": {
"title": "Плейлисты",
"playlist": "Плейлист",
"noPlaylists": "Плейлисты не найдены",
"create": "Создать плейлист",
"playlistName": "Название плейлиста",
"enterPlaylistName": "Введите название плейлиста",
"delete": "Удалить плейлист",
"removeItem": "Удалить из плейлиста",
"smartPlaylist": "Умный плейлист",
"itemCount": "${count} элементов",
"oneItem": "1 элемент",
"emptyPlaylist": "Этот плейлист пуст",
"deleteConfirm": "Удалить плейлист?",
"deleteMessage": "Вы уверены, что хотите удалить \"${name}\"?",
"created": "Плейлист создан",
"deleted": "Плейлист удалён",
"itemAdded": "Добавлено в плейлист",
"itemRemoved": "Удалено из плейлиста",
"selectPlaylist": "Выбрать плейлист",
"errorCreating": "Не удалось создать плейлист",
"errorDeleting": "Не удалось удалить плейлист",
"errorLoading": "Не удалось загрузить плейлисты",
"errorAdding": "Не удалось добавить в плейлист",
"errorReordering": "Не удалось переупорядочить элемент плейлиста",
"errorRemoving": "Не удалось удалить из плейлиста"
},
"watchTogether": {
"title": "Смотреть вместе",
"description": "Смотрите контент синхронно с друзьями и семьёй",
"createSession": "Создать сессию",
"creating": "Создание...",
"joinSession": "Присоединиться к сессии",
"joining": "Подключение...",
"controlMode": "Режим управления",
"controlModeQuestion": "Кто может управлять воспроизведением?",
"hostOnly": "Только хост",
"anyone": "Все",
"hostingSession": "Хостинг сессии",
"inSession": "В сессии",
"sessionCode": "Код сессии",
"hostControlsPlayback": "Хост управляет воспроизведением",
"anyoneCanControl": "Любой может управлять воспроизведением",
"hostControls": "Управление хоста",
"anyoneControls": "Управление для всех",
"participants": "Участники",
"host": "Хост",
"hostBadge": "HOST",
"youAreHost": "Вы — хост",
"watchingWithOthers": "Смотрите с другими",
"endSession": "Завершить сессию",
"leaveSession": "Покинуть сессию",
"endSessionQuestion": "Завершить сессию?",
"leaveSessionQuestion": "Покинуть сессию?",
"endSessionConfirm": "Это завершит сессию для всех участников.",
"leaveSessionConfirm": "Вы будете удалены из сессии.",
"endSessionConfirmOverlay": "Это завершит сеанс просмотра для всех участников.",
"leaveSessionConfirmOverlay": "Вы будете отключены от сеанса просмотра.",
"end": "Завершить",
"leave": "Покинуть",
"syncing": "Синхронизация...",
"joinWatchSession": "Присоединиться к просмотру",
"enterCodeHint": "Введите 8-символьный код",
"pasteFromClipboard": "Вставить из буфера обмена",
"pleaseEnterCode": "Введите код сессии",
"codeMustBe8Chars": "Код сессии должен содержать 8 символов",
"joinInstructions": "Введите код сессии, предоставленный хостом, чтобы присоединиться к просмотру.",
"failedToCreate": "Не удалось создать сессию",
"failedToJoin": "Не удалось присоединиться к сессии",
"sessionCodeCopied": "Код сессии скопирован в буфер обмена",
"relayUnreachable": "Ретранслятор недоступен. Возможно, ваш провайдер блокирует подключение. Вы можете попробовать, но «Смотреть вместе» может не работать.",
"reconnectingToHost": "Переподключение к хосту...",
"currentPlayback": "Текущее воспроизведение",
"joinCurrentPlayback": "Присоединиться к текущему воспроизведению",
"joinCurrentPlaybackDescription": "Вернуться к тому, что сейчас смотрит хост",
"failedToOpenCurrentPlayback": "Не удалось открыть текущее воспроизведение",
"participantJoined": "${name} присоединился",
"participantLeft": "${name} вышел"
},
"downloads": {
"title": "Загрузки",
"manage": "Управление",
"tvShows": "Сериалы",
"movies": "Фильмы",
"noDownloads": "Загрузок пока нет",
"noDownloadsDescription": "Загруженный контент появится здесь для просмотра офлайн",
"downloadNow": "Загрузить",
"deleteDownload": "Удалить загрузку",
"retryDownload": "Повторить загрузку",
"downloadQueued": "Загрузка поставлена в очередь",
"episodesQueued": "${count} эпизодов поставлено в очередь загрузки",
"downloadDeleted": "Загрузка удалена",
"deleteConfirm": "Вы уверены, что хотите удалить \"${title}\"? Загруженный файл будет удалён с устройства.",
"deletingWithProgress": "Удаление ${title}... (${current} из ${total})",
"noDownloadsTree": "Нет загрузок",
"pauseAll": "Приостановить все",
"resumeAll": "Возобновить все",
"deleteAll": "Удалить все"
},
"shaders": {
"title": "Шейдеры",
"noShaderDescription": "Без улучшения видео",
"nvscalerDescription": "Масштабирование NVIDIA для более чёткого видео",
"qualityFast": "Быстрый",
"qualityHQ": "Высокое качество",
"mode": "Режим",
"importShader": "Импортировать шейдер",
"customShaderDescription": "Пользовательский GLSL шейдер",
"shaderImported": "Шейдер импортирован",
"shaderImportFailed": "Не удалось импортировать шейдер",
"deleteShader": "Удалить шейдер",
"deleteShaderConfirm": "Удалить \"${name}\"?"
},
"companionRemote": {
"title": "Пульт управления",
"connectToDevice": "Подключиться к устройству",
"hostRemoteSession": "Создать удалённую сессию",
"controlThisDevice": "Управляйте этим устройством с телефона",
"remoteControl": "Пульт управления",
"controlDesktop": "Управлять десктопным устройством",
"connectedTo": "Подключено к ${name}",
"session": {
"creatingSession": "Создание удалённой сессии...",
"failedToCreate": "Не удалось создать удалённую сессию:",
"noSession": "Нет доступных сессий",
"scanQrCode": "Сканировать QR-код",
"orEnterManually": "Или введите вручную",
"hostAddress": "Адрес хоста",
"sessionId": "ID сессии",
"pin": "PIN",
"connected": "Подключено",
"waitingForConnection": "Ожидание подключения...",
"usePhoneToControl": "Используйте мобильное устройство для управления этим приложением",
"copiedToClipboard": "${label} скопировано в буфер обмена",
"copyToClipboard": "Скопировать в буфер обмена",
"newSession": "Новая сессия",
"minimize": "Свернуть"
},
"pairing": {
"scan": "Сканировать",
"manual": "Вручную",
"pairWithDesktop": "Сопряжение с ПК",
"enterSessionDetails": "Введите данные сессии, показанные на десктопном устройстве",
"hostAddressHint": "192.168.1.100:48632",
"sessionIdHint": "Введите 8-символьный ID сессии",
"pinHint": "Введите 6-значный PIN",
"connecting": "Подключение...",
"tips": "Советы",
"tipDesktop": "Откройте Plezy на десктопе и включите пульт управления в настройках или меню",
"tipScan": "Используйте вкладку «Сканировать» для быстрого сопряжения через QR-код на десктопе",
"tipWifi": "Убедитесь, что оба устройства находятся в одной WiFi-сети",
"cameraPermissionRequired": "Для сканирования QR-кодов требуется разрешение на камеру.\nПредоставьте доступ к камере в настройках устройства.",
"cameraError": "Не удалось запустить камеру: ${error}",
"scanInstruction": "Наведите камеру на QR-код, показанный на десктопе",
"invalidQrCode": "Недопустимый формат QR-кода",
"validationHostRequired": "Введите адрес хоста",
"validationHostFormat": "Формат должен быть IP:порт (например, 192.168.1.100:48632)",
"validationSessionIdRequired": "Введите ID сессии",
"validationSessionIdLength": "ID сессии должен содержать 8 символов",
"validationPinRequired": "Введите PIN",
"validationPinLength": "PIN должен содержать 6 цифр",
"connectionTimedOut": "Время подключения истекло. Проверьте ID сессии и PIN.",
"sessionNotFound": "Сессия не найдена. Проверьте ваши учётные данные.",
"failedToConnect": "Не удалось подключиться: ${error}"
},
"remote": {
"disconnectConfirm": "Отключиться от удалённой сессии?",
"reconnecting": "Переподключение...",
"attemptOf": "Попытка ${current} из 5",
"retryNow": "Повторить сейчас",
"connectionError": "Ошибка подключения",
"notConnected": "Не подключено",
"tabRemote": "Пульт",
"tabPlay": "Воспроизведение",
"tabMore": "Ещё",
"menu": "Меню",
"tabNavigation": "Навигация",
"tabDiscover": "Обзор",
"tabLibraries": "Библиотеки",
"tabSearch": "Поиск",
"tabDownloads": "Загрузки",
"tabSettings": "Настройки",
"previous": "Предыдущий",
"playPause": "Воспроизведение/Пауза",
"next": "Следующий",
"seekBack": "Назад",
"stop": "Стоп",
"seekForward": "Вперёд",
"volume": "Громкость",
"volumeDown": "Тише",
"volumeUp": "Громче",
"fullscreen": "Полноэкранный",
"subtitles": "Субтитры",
"audio": "Аудио",
"searchHint": "Поиск на десктопе..."
}
},
"videoSettings": {
"playbackSettings": "Настройки воспроизведения",
"playbackSpeed": "Скорость воспроизведения",
"sleepTimer": "Таймер сна",
"audioSync": "Синхронизация аудио",
"subtitleSync": "Синхронизация субтитров",
"hdr": "HDR",
"audioOutput": "Аудиовыход",
"performanceOverlay": "Оверлей производительности",
"audioPassthrough": "Сквозной вывод аудио",
"audioNormalization": "Нормализация аудио"
},
"externalPlayer": {
"title": "Внешний плеер",
"useExternalPlayer": "Использовать внешний плеер",
"useExternalPlayerDescription": "Открывать видео во внешнем приложении вместо встроенного плеера",
"selectPlayer": "Выбрать плеер",
"systemDefault": "Системный по умолчанию",
"addCustomPlayer": "Добавить свой плеер",
"playerName": "Название плеера",
"playerCommand": "Команда",
"playerPackage": "Имя пакета",
"playerUrlScheme": "URL-схема",
"customPlayer": "Свой плеер",
"off": "Выкл.",
"launchFailed": "Не удалось открыть внешний плеер",
"appNotInstalled": "${name} не установлен",
"playInExternalPlayer": "Воспроизвести во внешнем плеере"
},
"metadataEdit": {
"editMetadata": "Редактировать...",
"screenTitle": "Редактировать метаданные",
"basicInfo": "Основная информация",
"artwork": "Обложка",
"advancedSettings": "Дополнительные настройки",
"title": "Название",
"sortTitle": "Название для сортировки",
"originalTitle": "Оригинальное название",
"releaseDate": "Дата выпуска",
"contentRating": "Возрастной рейтинг",
"studio": "Студия",
"tagline": "Слоган",
"summary": "Описание",
"poster": "Постер",
"background": "Фон",
"selectPoster": "Выбрать постер",
"selectBackground": "Выбрать фон",
"fromUrl": "По URL",
"uploadFile": "Загрузить файл",
"enterImageUrl": "Введите URL изображения",
"imageUrl": "URL изображения",
"metadataUpdated": "Метаданные обновлены",
"metadataUpdateFailed": "Не удалось обновить метаданные",
"artworkUpdated": "Обложка обновлена",
"artworkUpdateFailed": "Не удалось обновить обложку",
"noArtworkAvailable": "Обложки недоступны",
"notSet": "Не задано",
"libraryDefault": "По умолчанию библиотеки",
"accountDefault": "По умолчанию аккаунта",
"seriesDefault": "По умолчанию сериала",
"episodeSorting": "Сортировка эпизодов",
"oldestFirst": "Сначала старые",
"newestFirst": "Сначала новые",
"keep": "Сохранять",
"allEpisodes": "Все эпизоды",
"latestEpisodes": "${count} последних эпизодов",
"latestEpisode": "Последний эпизод",
"episodesAddedPastDays": "Эпизоды, добавленные за последние ${count} дней",
"deleteAfterPlaying": "Удалять эпизоды после просмотра",
"never": "Никогда",
"afterADay": "Через день",
"afterAWeek": "Через неделю",
"afterAMonth": "Через месяц",
"onNextRefresh": "При следующем обновлении",
"seasons": "Сезоны",
"show": "Показать",
"hide": "Скрыть",
"episodeOrdering": "Порядок эпизодов",
"tmdbAiring": "The Movie Database (Эфирный)",
"tvdbAiring": "TheTVDB (Эфирный)",
"tvdbAbsolute": "TheTVDB (Абсолютный)",
"metadataLanguage": "Язык метаданных",
"useOriginalTitle": "Использовать оригинальное название",
"preferredAudioLanguage": "Предпочитаемый язык аудио",
"preferredSubtitleLanguage": "Предпочитаемый язык субтитров",
"subtitleMode": "Автовыбор субтитров",
"manuallySelected": "Выбор вручную",
"shownWithForeignAudio": "Показывать при иноязычном аудио",
"alwaysEnabled": "Всегда включены"
}
}
+93 -3
View File
@@ -3,10 +3,10 @@
/// Source: lib/i18n
/// To regenerate, run: `dart run slang`
///
/// Locales: 9
/// Strings: 7182 (798 per locale)
/// Locales: 15
/// Strings: 12195 (813 per locale)
///
/// Built on 2026-03-03 at 11:11 UTC
/// Built on 2026-03-13 at 05:11 UTC
// coverage:ignore-file
// ignore_for_file: type=lint, unused_import
@@ -18,12 +18,18 @@ import 'package:slang/generated.dart';
import 'package:slang_flutter/slang_flutter.dart';
export 'package:slang_flutter/slang_flutter.dart';
import 'strings_da.g.dart' deferred as l_da;
import 'strings_de.g.dart' deferred as l_de;
import 'strings_es.g.dart' deferred as l_es;
import 'strings_fr.g.dart' deferred as l_fr;
import 'strings_it.g.dart' deferred as l_it;
import 'strings_ja.g.dart' deferred as l_ja;
import 'strings_ko.g.dart' deferred as l_ko;
import 'strings_nb.g.dart' deferred as l_nb;
import 'strings_nl.g.dart' deferred as l_nl;
import 'strings_pl.g.dart' deferred as l_pl;
import 'strings_pt.g.dart' deferred as l_pt;
import 'strings_ru.g.dart' deferred as l_ru;
import 'strings_sv.g.dart' deferred as l_sv;
import 'strings_zh.g.dart' deferred as l_zh;
part 'strings_en.g.dart';
@@ -36,12 +42,18 @@ part 'strings_en.g.dart';
/// - if (LocaleSettings.currentLocale == AppLocale.en) // locale check
enum AppLocale with BaseAppLocale<AppLocale, Translations> {
en(languageCode: 'en'),
da(languageCode: 'da'),
de(languageCode: 'de'),
es(languageCode: 'es'),
fr(languageCode: 'fr'),
it(languageCode: 'it'),
ja(languageCode: 'ja'),
ko(languageCode: 'ko'),
nb(languageCode: 'nb'),
nl(languageCode: 'nl'),
pl(languageCode: 'pl'),
pt(languageCode: 'pt'),
ru(languageCode: 'ru'),
sv(languageCode: 'sv'),
zh(languageCode: 'zh');
@@ -68,6 +80,13 @@ enum AppLocale with BaseAppLocale<AppLocale, Translations> {
cardinalResolver: cardinalResolver,
ordinalResolver: ordinalResolver,
);
case AppLocale.da:
await l_da.loadLibrary();
return l_da.TranslationsDa(
overrides: overrides,
cardinalResolver: cardinalResolver,
ordinalResolver: ordinalResolver,
);
case AppLocale.de:
await l_de.loadLibrary();
return l_de.TranslationsDe(
@@ -96,6 +115,13 @@ enum AppLocale with BaseAppLocale<AppLocale, Translations> {
cardinalResolver: cardinalResolver,
ordinalResolver: ordinalResolver,
);
case AppLocale.ja:
await l_ja.loadLibrary();
return l_ja.TranslationsJa(
overrides: overrides,
cardinalResolver: cardinalResolver,
ordinalResolver: ordinalResolver,
);
case AppLocale.ko:
await l_ko.loadLibrary();
return l_ko.TranslationsKo(
@@ -103,6 +129,13 @@ enum AppLocale with BaseAppLocale<AppLocale, Translations> {
cardinalResolver: cardinalResolver,
ordinalResolver: ordinalResolver,
);
case AppLocale.nb:
await l_nb.loadLibrary();
return l_nb.TranslationsNb(
overrides: overrides,
cardinalResolver: cardinalResolver,
ordinalResolver: ordinalResolver,
);
case AppLocale.nl:
await l_nl.loadLibrary();
return l_nl.TranslationsNl(
@@ -110,6 +143,27 @@ enum AppLocale with BaseAppLocale<AppLocale, Translations> {
cardinalResolver: cardinalResolver,
ordinalResolver: ordinalResolver,
);
case AppLocale.pl:
await l_pl.loadLibrary();
return l_pl.TranslationsPl(
overrides: overrides,
cardinalResolver: cardinalResolver,
ordinalResolver: ordinalResolver,
);
case AppLocale.pt:
await l_pt.loadLibrary();
return l_pt.TranslationsPt(
overrides: overrides,
cardinalResolver: cardinalResolver,
ordinalResolver: ordinalResolver,
);
case AppLocale.ru:
await l_ru.loadLibrary();
return l_ru.TranslationsRu(
overrides: overrides,
cardinalResolver: cardinalResolver,
ordinalResolver: ordinalResolver,
);
case AppLocale.sv:
await l_sv.loadLibrary();
return l_sv.TranslationsSv(
@@ -140,6 +194,12 @@ enum AppLocale with BaseAppLocale<AppLocale, Translations> {
cardinalResolver: cardinalResolver,
ordinalResolver: ordinalResolver,
);
case AppLocale.da:
return l_da.TranslationsDa(
overrides: overrides,
cardinalResolver: cardinalResolver,
ordinalResolver: ordinalResolver,
);
case AppLocale.de:
return l_de.TranslationsDe(
overrides: overrides,
@@ -164,18 +224,48 @@ enum AppLocale with BaseAppLocale<AppLocale, Translations> {
cardinalResolver: cardinalResolver,
ordinalResolver: ordinalResolver,
);
case AppLocale.ja:
return l_ja.TranslationsJa(
overrides: overrides,
cardinalResolver: cardinalResolver,
ordinalResolver: ordinalResolver,
);
case AppLocale.ko:
return l_ko.TranslationsKo(
overrides: overrides,
cardinalResolver: cardinalResolver,
ordinalResolver: ordinalResolver,
);
case AppLocale.nb:
return l_nb.TranslationsNb(
overrides: overrides,
cardinalResolver: cardinalResolver,
ordinalResolver: ordinalResolver,
);
case AppLocale.nl:
return l_nl.TranslationsNl(
overrides: overrides,
cardinalResolver: cardinalResolver,
ordinalResolver: ordinalResolver,
);
case AppLocale.pl:
return l_pl.TranslationsPl(
overrides: overrides,
cardinalResolver: cardinalResolver,
ordinalResolver: ordinalResolver,
);
case AppLocale.pt:
return l_pt.TranslationsPt(
overrides: overrides,
cardinalResolver: cardinalResolver,
ordinalResolver: ordinalResolver,
);
case AppLocale.ru:
return l_ru.TranslationsRu(
overrides: overrides,
cardinalResolver: cardinalResolver,
ordinalResolver: ordinalResolver,
);
case AppLocale.sv:
return l_sv.TranslationsSv(
overrides: overrides,
File diff suppressed because it is too large Load Diff
+56 -26
View File
@@ -97,9 +97,6 @@ class _TranslationsAuthDe implements TranslationsAuthEn {
@override String get signInWithPlex => 'Mit Plex anmelden';
@override String get showQRCode => 'QR-Code anzeigen';
@override String get authenticate => 'Authentifizieren';
@override String get debugEnterToken => 'Debug: Plex-Token eingeben';
@override String get plexTokenLabel => 'Plex-Auth-Token';
@override String get plexTokenHint => 'Plex.tv-Token eingeben';
@override String get authenticationTimeout => 'Authentifizierung abgelaufen. Bitte erneut versuchen.';
@override String get scanQRToSignIn => 'QR-Code scannen zum Anmelden';
@override String get waitingForAuth => 'Warte auf Authentifizierung...\nBitte Anmeldung im Browser abschließen.';
@@ -300,6 +297,11 @@ class _TranslationsSettingsDe implements TranslationsSettingsEn {
@override String get autoSkipCreditsDescription => 'Abspann automatisch überspringen und nächste Episode abspielen';
@override String get autoSkipDelay => 'Verzögerung für automatisches Überspringen';
@override String autoSkipDelayDescription({required Object seconds}) => '${seconds} Sekunden vor dem automatischen Überspringen warten';
@override String get introPattern => 'Intro-Markierungsmuster';
@override String get introPatternDescription => 'Regulärer Ausdruck zum Erkennen von Intro-Markierungen in Kapiteltiteln';
@override String get creditsPattern => 'Abspann-Markierungsmuster';
@override String get creditsPatternDescription => 'Regulärer Ausdruck zum Erkennen von Abspann-Markierungen in Kapiteltiteln';
@override String get invalidRegex => 'Ungültiger regulärer Ausdruck';
@override String get downloads => 'Downloads';
@override String get downloadLocationDescription => 'Speicherort für heruntergeladene Inhalte wählen';
@override String get downloadLocationDefault => 'Standard (App-Speicher)';
@@ -323,12 +325,14 @@ class _TranslationsSettingsDe implements TranslationsSettingsEn {
@override String get autoPipDescription => 'Automatisch Bild-in-Bild aktivieren, wenn die App während der Wiedergabe verlassen wird';
@override String get matchContentFrameRate => 'Inhalts-Bildrate anpassen';
@override String get matchContentFrameRateDescription => 'Bildwiederholfrequenz des Displays an den Videoinhalt anpassen, reduziert Ruckeln und spart Akku';
@override String get tunneledPlayback => 'Tunneled Playback';
@override String get tunneledPlaybackDescription => 'Use hardware-accelerated video tunneling. Disable if you see a black screen with audio on HDR content';
@override String get tunneledPlayback => 'Tunnelwiedergabe';
@override String get tunneledPlaybackDescription => 'Hardware-beschleunigte Video-Tunnelierung verwenden. Deaktivieren, wenn bei HDR-Inhalten ein schwarzer Bildschirm mit Ton erscheint';
@override String get requireProfileSelectionOnOpen => 'Profil beim Öffnen abfragen';
@override String get requireProfileSelectionOnOpenDescription => 'Profilauswahl bei jedem Öffnen der App anzeigen';
@override String get confirmExitOnBack => 'Vor dem Beenden bestätigen';
@override String get confirmExitOnBackDescription => 'Bestätigungsdialog anzeigen, wenn Zurück zum Beenden der App gedrückt wird';
@override String get showNavBarLabels => 'Navigationsleisten-Beschriftungen anzeigen';
@override String get showNavBarLabelsDescription => 'Textbeschriftungen unter den Symbolen der Navigationsleiste anzeigen';
}
// Path: search
@@ -513,8 +517,8 @@ class _TranslationsVideoControlsDe implements TranslationsVideoControlsEn {
@override late final _TranslationsVideoControlsPipErrorsDe pipErrors = _TranslationsVideoControlsPipErrorsDe._(_root);
@override String get chapters => 'Kapitel';
@override String get noChaptersAvailable => 'Keine Kapitel verfügbar';
@override String get queue => 'Queue';
@override String get noQueueItems => 'No items in queue';
@override String get queue => 'Warteschlange';
@override String get noQueueItems => 'Keine Elemente in der Warteschlange';
}
// Path: userStatus
@@ -567,9 +571,9 @@ class _TranslationsMessagesDe implements TranslationsMessagesEn {
@override String get failedToCreatePlayQueueNoItems => 'Wiedergabewarteschlange konnte nicht erstellt werden – keine Elemente';
@override String failedPlayback({required Object action, required Object error}) => 'Wiedergabe für ${action} fehlgeschlagen: ${error}';
@override String get switchingToCompatiblePlayer => 'Wechsle zu kompatiblem Player...';
@override String get logsUploaded => 'Logs uploaded';
@override String get logsUploadFailed => 'Failed to upload logs';
@override String get logId => 'Log ID';
@override String get logsUploaded => 'Protokolle hochgeladen';
@override String get logsUploadFailed => 'Protokolle konnten nicht hochgeladen werden';
@override String get logId => 'Protokoll-ID';
}
// Path: subtitlingStyling
@@ -764,7 +768,7 @@ class _TranslationsLogsDe implements TranslationsLogsEn {
// Translations
@override String get clearLogs => 'Protokolle löschen';
@override String get copyLogs => 'Protokolle kopieren';
@override String get uploadLogs => 'Upload Logs';
@override String get uploadLogs => 'Protokolle hochladen';
@override String get error => 'Fehler:';
@override String get stackTrace => 'Stacktrace:';
}
@@ -970,6 +974,10 @@ class _TranslationsWatchTogetherDe implements TranslationsWatchTogetherEn {
@override String get sessionCodeCopied => 'Sitzungscode in Zwischenablage kopiert';
@override String get relayUnreachable => 'Der Relay-Server ist nicht erreichbar. Möglicherweise blockiert dein Internetanbieter die Verbindung. Du kannst es trotzdem versuchen, aber Watch Together funktioniert eventuell nicht.';
@override String get reconnectingToHost => 'Verbindung zum Host wird wiederhergestellt...';
@override String get currentPlayback => 'Aktuelle Wiedergabe';
@override String get joinCurrentPlayback => 'Aktuelle Wiedergabe beitreten';
@override String get joinCurrentPlaybackDescription => 'Springe zurück zu dem, was der Host gerade ansieht';
@override String get failedToOpenCurrentPlayback => 'Aktuelle Wiedergabe konnte nicht geöffnet werden';
@override String participantJoined({required Object name}) => '${name} ist beigetreten';
@override String participantLeft({required Object name}) => '${name} hat die Sitzung verlassen';
}
@@ -987,6 +995,12 @@ class _TranslationsShadersDe implements TranslationsShadersEn {
@override String get qualityFast => 'Schnell';
@override String get qualityHQ => 'Hohe Qualität';
@override String get mode => 'Modus';
@override String get importShader => 'Shader importieren';
@override String get customShaderDescription => 'Benutzerdefinierter GLSL-Shader';
@override String get shaderImported => 'Shader importiert';
@override String get shaderImportFailed => 'Shader konnte nicht importiert werden';
@override String get deleteShader => 'Shader löschen';
@override String deleteShaderConfirm({required Object name}) => '"${name}" löschen?';
}
// Path: companionRemote
@@ -996,7 +1010,7 @@ class _TranslationsCompanionRemoteDe implements TranslationsCompanionRemoteEn {
final TranslationsDe _root; // ignore: unused_field
// Translations
@override String get title => 'Companion Remote';
@override String get title => 'Companion-Fernbedienung';
@override String get connectToDevice => 'Mit Gerät verbinden';
@override String get hostRemoteSession => 'Fernsteuerungssitzung starten';
@override String get controlThisDevice => 'Dieses Gerät mit dem Handy steuern';
@@ -1183,6 +1197,7 @@ class _TranslationsLibrariesGroupingsDe implements TranslationsLibrariesGrouping
final TranslationsDe _root; // ignore: unused_field
// Translations
@override String get title => 'Gruppierung';
@override String get all => 'Alle';
@override String get movies => 'Filme';
@override String get shows => 'Serien';
@@ -1299,9 +1314,6 @@ extension on TranslationsDe {
'auth.signInWithPlex' => 'Mit Plex anmelden',
'auth.showQRCode' => 'QR-Code anzeigen',
'auth.authenticate' => 'Authentifizieren',
'auth.debugEnterToken' => 'Debug: Plex-Token eingeben',
'auth.plexTokenLabel' => 'Plex-Auth-Token',
'auth.plexTokenHint' => 'Plex.tv-Token eingeben',
'auth.authenticationTimeout' => 'Authentifizierung abgelaufen. Bitte erneut versuchen.',
'auth.scanQRToSignIn' => 'QR-Code scannen zum Anmelden',
'auth.waitingForAuth' => 'Warte auf Authentifizierung...\nBitte Anmeldung im Browser abschließen.',
@@ -1466,6 +1478,11 @@ extension on TranslationsDe {
'settings.autoSkipCreditsDescription' => 'Abspann automatisch überspringen und nächste Episode abspielen',
'settings.autoSkipDelay' => 'Verzögerung für automatisches Überspringen',
'settings.autoSkipDelayDescription' => ({required Object seconds}) => '${seconds} Sekunden vor dem automatischen Überspringen warten',
'settings.introPattern' => 'Intro-Markierungsmuster',
'settings.introPatternDescription' => 'Regulärer Ausdruck zum Erkennen von Intro-Markierungen in Kapiteltiteln',
'settings.creditsPattern' => 'Abspann-Markierungsmuster',
'settings.creditsPatternDescription' => 'Regulärer Ausdruck zum Erkennen von Abspann-Markierungen in Kapiteltiteln',
'settings.invalidRegex' => 'Ungültiger regulärer Ausdruck',
'settings.downloads' => 'Downloads',
'settings.downloadLocationDescription' => 'Speicherort für heruntergeladene Inhalte wählen',
'settings.downloadLocationDefault' => 'Standard (App-Speicher)',
@@ -1489,12 +1506,14 @@ extension on TranslationsDe {
'settings.autoPipDescription' => 'Automatisch Bild-in-Bild aktivieren, wenn die App während der Wiedergabe verlassen wird',
'settings.matchContentFrameRate' => 'Inhalts-Bildrate anpassen',
'settings.matchContentFrameRateDescription' => 'Bildwiederholfrequenz des Displays an den Videoinhalt anpassen, reduziert Ruckeln und spart Akku',
'settings.tunneledPlayback' => 'Tunneled Playback',
'settings.tunneledPlaybackDescription' => 'Use hardware-accelerated video tunneling. Disable if you see a black screen with audio on HDR content',
'settings.tunneledPlayback' => 'Tunnelwiedergabe',
'settings.tunneledPlaybackDescription' => 'Hardware-beschleunigte Video-Tunnelierung verwenden. Deaktivieren, wenn bei HDR-Inhalten ein schwarzer Bildschirm mit Ton erscheint',
'settings.requireProfileSelectionOnOpen' => 'Profil beim Öffnen abfragen',
'settings.requireProfileSelectionOnOpenDescription' => 'Profilauswahl bei jedem Öffnen der App anzeigen',
'settings.confirmExitOnBack' => 'Vor dem Beenden bestätigen',
'settings.confirmExitOnBackDescription' => 'Bestätigungsdialog anzeigen, wenn Zurück zum Beenden der App gedrückt wird',
'settings.showNavBarLabels' => 'Navigationsleisten-Beschriftungen anzeigen',
'settings.showNavBarLabelsDescription' => 'Textbeschriftungen unter den Symbolen der Navigationsleiste anzeigen',
'search.hint' => 'Filme, Serien, Musik suchen...',
'search.tryDifferentTerm' => 'Anderen Suchbegriff versuchen',
'search.searchYourMedia' => 'In den eigenen Medien suchen',
@@ -1631,8 +1650,8 @@ extension on TranslationsDe {
'videoControls.pipErrors.unknown' => ({required Object error}) => 'Ein Fehler ist aufgetreten: ${error}',
'videoControls.chapters' => 'Kapitel',
'videoControls.noChaptersAvailable' => 'Keine Kapitel verfügbar',
'videoControls.queue' => 'Queue',
'videoControls.noQueueItems' => 'No items in queue',
'videoControls.queue' => 'Warteschlange',
'videoControls.noQueueItems' => 'Keine Elemente in der Warteschlange',
'userStatus.admin' => 'Eigentümer',
'userStatus.restricted' => 'Eingeschränkt',
'userStatus.protected' => 'Geschützt',
@@ -1667,9 +1686,9 @@ extension on TranslationsDe {
'messages.failedToCreatePlayQueueNoItems' => 'Wiedergabewarteschlange konnte nicht erstellt werden – keine Elemente',
'messages.failedPlayback' => ({required Object action, required Object error}) => 'Wiedergabe für ${action} fehlgeschlagen: ${error}',
'messages.switchingToCompatiblePlayer' => 'Wechsle zu kompatiblem Player...',
'messages.logsUploaded' => 'Logs uploaded',
'messages.logsUploadFailed' => 'Failed to upload logs',
'messages.logId' => 'Log ID',
'messages.logsUploaded' => 'Protokolle hochgeladen',
'messages.logsUploadFailed' => 'Protokolle konnten nicht hochgeladen werden',
'messages.logId' => 'Protokoll-ID',
'subtitlingStyling.stylingOptions' => 'Stiloptionen',
'subtitlingStyling.fontSize' => 'Schriftgröße',
'subtitlingStyling.textColor' => 'Textfarbe',
@@ -1761,6 +1780,7 @@ extension on TranslationsDe {
'libraries.tabs.browse' => 'Durchsuchen',
'libraries.tabs.collections' => 'Sammlungen',
'libraries.tabs.playlists' => 'Wiedergabelisten',
'libraries.groupings.title' => 'Gruppierung',
'libraries.groupings.all' => 'Alle',
'libraries.groupings.movies' => 'Filme',
'libraries.groupings.shows' => 'Serien',
@@ -1782,7 +1802,7 @@ extension on TranslationsDe {
'hubDetail.noItemsFound' => 'Keine Elemente gefunden',
'logs.clearLogs' => 'Protokolle löschen',
'logs.copyLogs' => 'Protokolle kopieren',
'logs.uploadLogs' => 'Upload Logs',
'logs.uploadLogs' => 'Protokolle hochladen',
'logs.error' => 'Fehler:',
'logs.stackTrace' => 'Stacktrace:',
'licenses.relatedPackages' => 'Verwandte Pakete',
@@ -1802,13 +1822,13 @@ extension on TranslationsDe {
'liveTv.nowPlaying' => 'Läuft gerade',
'liveTv.noPrograms' => 'Keine Programmdaten verfügbar',
'liveTv.channelNumber' => ({required Object number}) => 'Kanal ${number}',
_ => null,
} ?? switch (path) {
'liveTv.live' => 'LIVE',
'liveTv.hd' => 'HD',
'liveTv.premiere' => 'NEU',
'liveTv.reloadGuide' => 'Programmführer neu laden',
'liveTv.allChannels' => 'Alle Kanäle',
_ => null,
} ?? switch (path) {
'liveTv.now' => 'Jetzt',
'liveTv.today' => 'Heute',
'liveTv.midnight' => 'Mitternacht',
@@ -1927,6 +1947,10 @@ extension on TranslationsDe {
'watchTogether.sessionCodeCopied' => 'Sitzungscode in Zwischenablage kopiert',
'watchTogether.relayUnreachable' => 'Der Relay-Server ist nicht erreichbar. Möglicherweise blockiert dein Internetanbieter die Verbindung. Du kannst es trotzdem versuchen, aber Watch Together funktioniert eventuell nicht.',
'watchTogether.reconnectingToHost' => 'Verbindung zum Host wird wiederhergestellt...',
'watchTogether.currentPlayback' => 'Aktuelle Wiedergabe',
'watchTogether.joinCurrentPlayback' => 'Aktuelle Wiedergabe beitreten',
'watchTogether.joinCurrentPlaybackDescription' => 'Springe zurück zu dem, was der Host gerade ansieht',
'watchTogether.failedToOpenCurrentPlayback' => 'Aktuelle Wiedergabe konnte nicht geöffnet werden',
'watchTogether.participantJoined' => ({required Object name}) => '${name} ist beigetreten',
'watchTogether.participantLeft' => ({required Object name}) => '${name} hat die Sitzung verlassen',
'shaders.title' => 'Shader',
@@ -1935,7 +1959,13 @@ extension on TranslationsDe {
'shaders.qualityFast' => 'Schnell',
'shaders.qualityHQ' => 'Hohe Qualität',
'shaders.mode' => 'Modus',
'companionRemote.title' => 'Companion Remote',
'shaders.importShader' => 'Shader importieren',
'shaders.customShaderDescription' => 'Benutzerdefinierter GLSL-Shader',
'shaders.shaderImported' => 'Shader importiert',
'shaders.shaderImportFailed' => 'Shader konnte nicht importiert werden',
'shaders.deleteShader' => 'Shader löschen',
'shaders.deleteShaderConfirm' => ({required Object name}) => '"${name}" löschen?',
'companionRemote.title' => 'Companion-Fernbedienung',
'companionRemote.connectToDevice' => 'Mit Gerät verbinden',
'companionRemote.hostRemoteSession' => 'Fernsteuerungssitzung starten',
'companionRemote.controlThisDevice' => 'Dieses Gerät mit dem Handy steuern',
+74 -14
View File
@@ -109,15 +109,6 @@ class TranslationsAuthEn {
/// en: 'Authenticate'
String get authenticate => 'Authenticate';
/// en: 'Debug: Enter Plex Token'
String get debugEnterToken => 'Debug: Enter Plex Token';
/// en: 'Plex Auth Token'
String get plexTokenLabel => 'Plex Auth Token';
/// en: 'Enter your Plex.tv token'
String get plexTokenHint => 'Enter your Plex.tv token';
/// en: 'Authentication timed out. Please try again.'
String get authenticationTimeout => 'Authentication timed out. Please try again.';
@@ -646,6 +637,21 @@ class TranslationsSettingsEn {
/// en: 'Wait ${seconds} seconds before auto-skipping'
String autoSkipDelayDescription({required Object seconds}) => 'Wait ${seconds} seconds before auto-skipping';
/// en: 'Intro Marker Pattern'
String get introPattern => 'Intro Marker Pattern';
/// en: 'Regex pattern to match intro markers in chapter titles'
String get introPatternDescription => 'Regex pattern to match intro markers in chapter titles';
/// en: 'Credits Marker Pattern'
String get creditsPattern => 'Credits Marker Pattern';
/// en: 'Regex pattern to match credits markers in chapter titles'
String get creditsPatternDescription => 'Regex pattern to match credits markers in chapter titles';
/// en: 'Invalid regular expression'
String get invalidRegex => 'Invalid regular expression';
/// en: 'Downloads'
String get downloads => 'Downloads';
@@ -732,6 +738,12 @@ class TranslationsSettingsEn {
/// en: 'Show a confirmation dialog when pressing back to exit the app'
String get confirmExitOnBackDescription => 'Show a confirmation dialog when pressing back to exit the app';
/// en: 'Show Navigation Bar Labels'
String get showNavBarLabels => 'Show Navigation Bar Labels';
/// en: 'Display text labels under navigation bar icons'
String get showNavBarLabelsDescription => 'Display text labels under navigation bar icons';
}
// Path: search
@@ -2102,6 +2114,18 @@ class TranslationsWatchTogetherEn {
/// en: 'Reconnecting to host...'
String get reconnectingToHost => 'Reconnecting to host...';
/// en: 'Current Playback'
String get currentPlayback => 'Current Playback';
/// en: 'Join Current Playback'
String get joinCurrentPlayback => 'Join Current Playback';
/// en: 'Jump back into what the host is currently watching'
String get joinCurrentPlaybackDescription => 'Jump back into what the host is currently watching';
/// en: 'Failed to open current playback'
String get failedToOpenCurrentPlayback => 'Failed to open current playback';
/// en: '${name} joined'
String participantJoined({required Object name}) => '${name} joined';
@@ -2197,6 +2221,24 @@ class TranslationsShadersEn {
/// en: 'Mode'
String get mode => 'Mode';
/// en: 'Import Shader'
String get importShader => 'Import Shader';
/// en: 'Custom GLSL shader'
String get customShaderDescription => 'Custom GLSL shader';
/// en: 'Shader imported'
String get shaderImported => 'Shader imported';
/// en: 'Failed to import shader'
String get shaderImportFailed => 'Failed to import shader';
/// en: 'Delete Shader'
String get deleteShader => 'Delete Shader';
/// en: 'Delete "${name}"?'
String deleteShaderConfirm({required Object name}) => 'Delete "${name}"?';
}
// Path: companionRemote
@@ -2637,6 +2679,9 @@ class TranslationsLibrariesGroupingsEn {
// Translations
/// en: 'Grouping'
String get title => 'Grouping';
/// en: 'All'
String get all => 'All';
@@ -2902,9 +2947,6 @@ extension on Translations {
'auth.signInWithPlex' => 'Sign in with Plex',
'auth.showQRCode' => 'Show QR Code',
'auth.authenticate' => 'Authenticate',
'auth.debugEnterToken' => 'Debug: Enter Plex Token',
'auth.plexTokenLabel' => 'Plex Auth Token',
'auth.plexTokenHint' => 'Enter your Plex.tv token',
'auth.authenticationTimeout' => 'Authentication timed out. Please try again.',
'auth.scanQRToSignIn' => 'Scan this QR code to sign in',
'auth.waitingForAuth' => 'Waiting for authentication...\nPlease complete sign-in in your browser.',
@@ -3069,6 +3111,11 @@ extension on Translations {
'settings.autoSkipCreditsDescription' => 'Automatically skip credits and play next episode',
'settings.autoSkipDelay' => 'Auto Skip Delay',
'settings.autoSkipDelayDescription' => ({required Object seconds}) => 'Wait ${seconds} seconds before auto-skipping',
'settings.introPattern' => 'Intro Marker Pattern',
'settings.introPatternDescription' => 'Regex pattern to match intro markers in chapter titles',
'settings.creditsPattern' => 'Credits Marker Pattern',
'settings.creditsPatternDescription' => 'Regex pattern to match credits markers in chapter titles',
'settings.invalidRegex' => 'Invalid regular expression',
'settings.downloads' => 'Downloads',
'settings.downloadLocationDescription' => 'Choose where to store downloaded content',
'settings.downloadLocationDefault' => 'Default (App Storage)',
@@ -3098,6 +3145,8 @@ extension on Translations {
'settings.requireProfileSelectionOnOpenDescription' => 'Show profile selection every time the app is opened',
'settings.confirmExitOnBack' => 'Confirm before exiting',
'settings.confirmExitOnBackDescription' => 'Show a confirmation dialog when pressing back to exit the app',
'settings.showNavBarLabels' => 'Show Navigation Bar Labels',
'settings.showNavBarLabelsDescription' => 'Display text labels under navigation bar icons',
'search.hint' => 'Search movies, shows, music...',
'search.tryDifferentTerm' => 'Try a different search term',
'search.searchYourMedia' => 'Search your media',
@@ -3364,6 +3413,7 @@ extension on Translations {
'libraries.tabs.browse' => 'Browse',
'libraries.tabs.collections' => 'Collections',
'libraries.tabs.playlists' => 'Playlists',
'libraries.groupings.title' => 'Grouping',
'libraries.groupings.all' => 'All',
'libraries.groupings.movies' => 'Movies',
'libraries.groupings.shows' => 'TV Shows',
@@ -3405,13 +3455,13 @@ extension on Translations {
'liveTv.nowPlaying' => 'Now Playing',
'liveTv.noPrograms' => 'No program data available',
'liveTv.channelNumber' => ({required Object number}) => 'Ch. ${number}',
_ => null,
} ?? switch (path) {
'liveTv.live' => 'LIVE',
'liveTv.hd' => 'HD',
'liveTv.premiere' => 'NEW',
'liveTv.reloadGuide' => 'Reload Guide',
'liveTv.allChannels' => 'All Channels',
_ => null,
} ?? switch (path) {
'liveTv.now' => 'Now',
'liveTv.today' => 'Today',
'liveTv.midnight' => 'Midnight',
@@ -3512,6 +3562,10 @@ extension on Translations {
'watchTogether.sessionCodeCopied' => 'Session code copied to clipboard',
'watchTogether.relayUnreachable' => 'The relay server is unreachable. This may be caused by your ISP blocking the connection. You can still try, but Watch Together may not work.',
'watchTogether.reconnectingToHost' => 'Reconnecting to host...',
'watchTogether.currentPlayback' => 'Current Playback',
'watchTogether.joinCurrentPlayback' => 'Join Current Playback',
'watchTogether.joinCurrentPlaybackDescription' => 'Jump back into what the host is currently watching',
'watchTogether.failedToOpenCurrentPlayback' => 'Failed to open current playback',
'watchTogether.participantJoined' => ({required Object name}) => '${name} joined',
'watchTogether.participantLeft' => ({required Object name}) => '${name} left',
'downloads.title' => 'Downloads',
@@ -3538,6 +3592,12 @@ extension on Translations {
'shaders.qualityFast' => 'Fast',
'shaders.qualityHQ' => 'High Quality',
'shaders.mode' => 'Mode',
'shaders.importShader' => 'Import Shader',
'shaders.customShaderDescription' => 'Custom GLSL shader',
'shaders.shaderImported' => 'Shader imported',
'shaders.shaderImportFailed' => 'Failed to import shader',
'shaders.deleteShader' => 'Delete Shader',
'shaders.deleteShaderConfirm' => ({required Object name}) => 'Delete "${name}"?',
'companionRemote.title' => 'Companion Remote',
'companionRemote.connectToDevice' => 'Connect to Device',
'companionRemote.hostRemoteSession' => 'Host Remote Session',
+58 -28
View File
@@ -97,9 +97,6 @@ class _TranslationsAuthEs implements TranslationsAuthEn {
@override String get signInWithPlex => 'Inicia sesión con Plex';
@override String get showQRCode => 'Mostrar código QR';
@override String get authenticate => 'Autenticar';
@override String get debugEnterToken => 'Debug: Ingresar Token de Plex';
@override String get plexTokenLabel => 'Token de Autenticación de Plex';
@override String get plexTokenHint => 'Ingresa tu token de Plex.tv';
@override String get authenticationTimeout => 'Tiempo de autenticación agotado. Por favor, intenta de nuevo.';
@override String get scanQRToSignIn => 'Escanea este código QR para iniciar sesión';
@override String get waitingForAuth => 'Esperando autenticación...\nPor favor completa el inicio de sesión en tu navegador.';
@@ -300,6 +297,11 @@ class _TranslationsSettingsEs implements TranslationsSettingsEn {
@override String get autoSkipCreditsDescription => 'Saltar automáticamente los créditos y reproducir el siguiente episodio';
@override String get autoSkipDelay => 'Retraso de Salto automático';
@override String autoSkipDelayDescription({required Object seconds}) => 'Esperar ${seconds} segundos antes de saltar automáticamente';
@override String get introPattern => 'Patrón de marcador de intro';
@override String get introPatternDescription => 'Expresión regular para reconocer marcadores de intro en los títulos de capítulos';
@override String get creditsPattern => 'Patrón de marcador de créditos';
@override String get creditsPatternDescription => 'Expresión regular para reconocer marcadores de créditos en los títulos de capítulos';
@override String get invalidRegex => 'Expresión regular no válida';
@override String get downloads => 'Descargas';
@override String get downloadLocationDescription => 'Elegir dónde almacenar el contenido descargado';
@override String get downloadLocationDefault => 'Predeterminado (Almacenamiento de la App)';
@@ -323,12 +325,14 @@ class _TranslationsSettingsEs implements TranslationsSettingsEn {
@override String get autoPipDescription => 'Activar automáticamente imagen en imagen al salir de la app durante la reproducción';
@override String get matchContentFrameRate => 'Ajustar frecuencia de actualización';
@override String get matchContentFrameRateDescription => 'Ajustar la frecuencia de actualización de la pantalla para que coincida con el video, reduciendo tirones y ahorrando batería';
@override String get tunneledPlayback => 'Tunneled Playback';
@override String get tunneledPlaybackDescription => 'Use hardware-accelerated video tunneling. Disable if you see a black screen with audio on HDR content';
@override String get tunneledPlayback => 'Reproducción tunelizada';
@override String get tunneledPlaybackDescription => 'Usar tunelización de video acelerada por hardware. Desactivar si ves una pantalla negra con audio en contenido HDR';
@override String get requireProfileSelectionOnOpen => 'Pedir perfil al abrir la app';
@override String get requireProfileSelectionOnOpenDescription => 'Mostrar selección de perfil cada vez que se abre la aplicación';
@override String get confirmExitOnBack => 'Confirmar antes de salir';
@override String get confirmExitOnBackDescription => 'Mostrar un diálogo de confirmación al presionar atrás para salir de la app';
@override String get showNavBarLabels => 'Mostrar etiquetas de la barra de navegación';
@override String get showNavBarLabelsDescription => 'Mostrar etiquetas de texto bajo los iconos de la barra de navegación';
}
// Path: search
@@ -513,8 +517,8 @@ class _TranslationsVideoControlsEs implements TranslationsVideoControlsEn {
@override late final _TranslationsVideoControlsPipErrorsEs pipErrors = _TranslationsVideoControlsPipErrorsEs._(_root);
@override String get chapters => 'Capítulos';
@override String get noChaptersAvailable => 'No hay capítulos disponibles';
@override String get queue => 'Queue';
@override String get noQueueItems => 'No items in queue';
@override String get queue => 'Cola';
@override String get noQueueItems => 'No hay elementos en la cola';
}
// Path: userStatus
@@ -567,9 +571,9 @@ class _TranslationsMessagesEs implements TranslationsMessagesEn {
@override String get failedToCreatePlayQueueNoItems => 'Error al crear la cola de reproducción - no hay elementos';
@override String failedPlayback({required Object action, required Object error}) => 'Error al ${action}: ${error}';
@override String get switchingToCompatiblePlayer => 'Cambiando a reproductor compatible...';
@override String get logsUploaded => 'Logs uploaded';
@override String get logsUploadFailed => 'Failed to upload logs';
@override String get logId => 'Log ID';
@override String get logsUploaded => 'Registros subidos';
@override String get logsUploadFailed => 'Error al subir registros';
@override String get logId => 'ID de registro';
}
// Path: subtitlingStyling
@@ -586,7 +590,7 @@ class _TranslationsSubtitlingStylingEs implements TranslationsSubtitlingStylingE
@override String get borderColor => 'Color de Borde';
@override String get backgroundOpacity => 'Opacidad de Fondo';
@override String get backgroundColor => 'Color de Fondo';
@override String get position => 'Position';
@override String get position => 'Posición';
}
// Path: mpvConfig
@@ -764,7 +768,7 @@ class _TranslationsLogsEs implements TranslationsLogsEn {
// Translations
@override String get clearLogs => 'Borrar Logs';
@override String get copyLogs => 'Copiar Logs';
@override String get uploadLogs => 'Upload Logs';
@override String get uploadLogs => 'Subir registros';
@override String get error => 'Error:';
@override String get stackTrace => 'Traza de la pila (Stack Trace):';
}
@@ -943,6 +947,10 @@ class _TranslationsWatchTogetherEs implements TranslationsWatchTogetherEn {
@override String get sessionCodeCopied => 'Código de sesión copiado al portapapeles';
@override String get relayUnreachable => 'El servidor de retransmisión no está disponible. Esto puede deberse a que tu proveedor de internet bloquea la conexión. Puedes intentarlo de todos modos, pero Watch Together podría no funcionar.';
@override String get reconnectingToHost => 'Reconectando con el anfitrión...';
@override String get currentPlayback => 'Reproducción actual';
@override String get joinCurrentPlayback => 'Unirse a la reproducción actual';
@override String get joinCurrentPlaybackDescription => 'Vuelve a lo que el anfitrión está viendo ahora mismo';
@override String get failedToOpenCurrentPlayback => 'No se pudo abrir la reproducción actual';
@override String participantJoined({required Object name}) => '${name} se unió';
@override String participantLeft({required Object name}) => '${name} se fue';
}
@@ -987,6 +995,12 @@ class _TranslationsShadersEs implements TranslationsShadersEn {
@override String get qualityFast => 'Rápido';
@override String get qualityHQ => 'Alta Calidad';
@override String get mode => 'Modo';
@override String get importShader => 'Importar shader';
@override String get customShaderDescription => 'Shader GLSL personalizado';
@override String get shaderImported => 'Shader importado';
@override String get shaderImportFailed => 'Error al importar shader';
@override String get deleteShader => 'Eliminar shader';
@override String deleteShaderConfirm({required Object name}) => '¿Eliminar "${name}"?';
}
// Path: companionRemote
@@ -996,7 +1010,7 @@ class _TranslationsCompanionRemoteEs implements TranslationsCompanionRemoteEn {
final TranslationsEs _root; // ignore: unused_field
// Translations
@override String get title => 'Companion Remote';
@override String get title => 'Control remoto';
@override String get connectToDevice => 'Conectar a dispositivo';
@override String get hostRemoteSession => 'Iniciar sesión remota';
@override String get controlThisDevice => 'Controla este dispositivo con tu teléfono';
@@ -1183,6 +1197,7 @@ class _TranslationsLibrariesGroupingsEs implements TranslationsLibrariesGrouping
final TranslationsEs _root; // ignore: unused_field
// Translations
@override String get title => 'Agrupación';
@override String get all => 'Todo';
@override String get movies => 'Películas';
@override String get shows => 'Series';
@@ -1299,9 +1314,6 @@ extension on TranslationsEs {
'auth.signInWithPlex' => 'Inicia sesión con Plex',
'auth.showQRCode' => 'Mostrar código QR',
'auth.authenticate' => 'Autenticar',
'auth.debugEnterToken' => 'Debug: Ingresar Token de Plex',
'auth.plexTokenLabel' => 'Token de Autenticación de Plex',
'auth.plexTokenHint' => 'Ingresa tu token de Plex.tv',
'auth.authenticationTimeout' => 'Tiempo de autenticación agotado. Por favor, intenta de nuevo.',
'auth.scanQRToSignIn' => 'Escanea este código QR para iniciar sesión',
'auth.waitingForAuth' => 'Esperando autenticación...\nPor favor completa el inicio de sesión en tu navegador.',
@@ -1466,6 +1478,11 @@ extension on TranslationsEs {
'settings.autoSkipCreditsDescription' => 'Saltar automáticamente los créditos y reproducir el siguiente episodio',
'settings.autoSkipDelay' => 'Retraso de Salto automático',
'settings.autoSkipDelayDescription' => ({required Object seconds}) => 'Esperar ${seconds} segundos antes de saltar automáticamente',
'settings.introPattern' => 'Patrón de marcador de intro',
'settings.introPatternDescription' => 'Expresión regular para reconocer marcadores de intro en los títulos de capítulos',
'settings.creditsPattern' => 'Patrón de marcador de créditos',
'settings.creditsPatternDescription' => 'Expresión regular para reconocer marcadores de créditos en los títulos de capítulos',
'settings.invalidRegex' => 'Expresión regular no válida',
'settings.downloads' => 'Descargas',
'settings.downloadLocationDescription' => 'Elegir dónde almacenar el contenido descargado',
'settings.downloadLocationDefault' => 'Predeterminado (Almacenamiento de la App)',
@@ -1489,12 +1506,14 @@ extension on TranslationsEs {
'settings.autoPipDescription' => 'Activar automáticamente imagen en imagen al salir de la app durante la reproducción',
'settings.matchContentFrameRate' => 'Ajustar frecuencia de actualización',
'settings.matchContentFrameRateDescription' => 'Ajustar la frecuencia de actualización de la pantalla para que coincida con el video, reduciendo tirones y ahorrando batería',
'settings.tunneledPlayback' => 'Tunneled Playback',
'settings.tunneledPlaybackDescription' => 'Use hardware-accelerated video tunneling. Disable if you see a black screen with audio on HDR content',
'settings.tunneledPlayback' => 'Reproducción tunelizada',
'settings.tunneledPlaybackDescription' => 'Usar tunelización de video acelerada por hardware. Desactivar si ves una pantalla negra con audio en contenido HDR',
'settings.requireProfileSelectionOnOpen' => 'Pedir perfil al abrir la app',
'settings.requireProfileSelectionOnOpenDescription' => 'Mostrar selección de perfil cada vez que se abre la aplicación',
'settings.confirmExitOnBack' => 'Confirmar antes de salir',
'settings.confirmExitOnBackDescription' => 'Mostrar un diálogo de confirmación al presionar atrás para salir de la app',
'settings.showNavBarLabels' => 'Mostrar etiquetas de la barra de navegación',
'settings.showNavBarLabelsDescription' => 'Mostrar etiquetas de texto bajo los iconos de la barra de navegación',
'search.hint' => 'Buscar películas, series, música...',
'search.tryDifferentTerm' => 'Prueba con un término de búsqueda diferente',
'search.searchYourMedia' => 'Busca en tu contenido',
@@ -1631,8 +1650,8 @@ extension on TranslationsEs {
'videoControls.pipErrors.unknown' => ({required Object error}) => 'Ocurrió un error: ${error}',
'videoControls.chapters' => 'Capítulos',
'videoControls.noChaptersAvailable' => 'No hay capítulos disponibles',
'videoControls.queue' => 'Queue',
'videoControls.noQueueItems' => 'No items in queue',
'videoControls.queue' => 'Cola',
'videoControls.noQueueItems' => 'No hay elementos en la cola',
'userStatus.admin' => 'Administrador',
'userStatus.restricted' => 'Restringido',
'userStatus.protected' => 'Protegido',
@@ -1667,9 +1686,9 @@ extension on TranslationsEs {
'messages.failedToCreatePlayQueueNoItems' => 'Error al crear la cola de reproducción - no hay elementos',
'messages.failedPlayback' => ({required Object action, required Object error}) => 'Error al ${action}: ${error}',
'messages.switchingToCompatiblePlayer' => 'Cambiando a reproductor compatible...',
'messages.logsUploaded' => 'Logs uploaded',
'messages.logsUploadFailed' => 'Failed to upload logs',
'messages.logId' => 'Log ID',
'messages.logsUploaded' => 'Registros subidos',
'messages.logsUploadFailed' => 'Error al subir registros',
'messages.logId' => 'ID de registro',
'subtitlingStyling.stylingOptions' => 'Opciones de Estilo',
'subtitlingStyling.fontSize' => 'Tamaño de Fuente',
'subtitlingStyling.textColor' => 'Color de Texto',
@@ -1677,7 +1696,7 @@ extension on TranslationsEs {
'subtitlingStyling.borderColor' => 'Color de Borde',
'subtitlingStyling.backgroundOpacity' => 'Opacidad de Fondo',
'subtitlingStyling.backgroundColor' => 'Color de Fondo',
'subtitlingStyling.position' => 'Position',
'subtitlingStyling.position' => 'Posición',
'mpvConfig.title' => 'Configuración de mpv',
'mpvConfig.description' => 'Ajustes avanzados del reproductor de video',
'mpvConfig.presets' => 'Ajustes preestablecidos',
@@ -1761,6 +1780,7 @@ extension on TranslationsEs {
'libraries.tabs.browse' => 'Explorar',
'libraries.tabs.collections' => 'Colecciones',
'libraries.tabs.playlists' => 'Listas',
'libraries.groupings.title' => 'Agrupación',
'libraries.groupings.all' => 'Todo',
'libraries.groupings.movies' => 'Películas',
'libraries.groupings.shows' => 'Series',
@@ -1782,7 +1802,7 @@ extension on TranslationsEs {
'hubDetail.noItemsFound' => 'No se encontraron elementos',
'logs.clearLogs' => 'Borrar Logs',
'logs.copyLogs' => 'Copiar Logs',
'logs.uploadLogs' => 'Upload Logs',
'logs.uploadLogs' => 'Subir registros',
'logs.error' => 'Error:',
'logs.stackTrace' => 'Traza de la pila (Stack Trace):',
'licenses.relatedPackages' => 'Paquetes relacionados',
@@ -1802,13 +1822,13 @@ extension on TranslationsEs {
'liveTv.nowPlaying' => 'Reproduciendo ahora',
'liveTv.noPrograms' => 'No hay datos de programación disponibles',
'liveTv.channelNumber' => ({required Object number}) => 'Canal ${number}',
_ => null,
} ?? switch (path) {
'liveTv.live' => 'EN VIVO',
'liveTv.hd' => 'HD',
'liveTv.premiere' => 'NUEVO',
'liveTv.reloadGuide' => 'Recargar guía',
'liveTv.allChannels' => 'Todos los canales',
_ => null,
} ?? switch (path) {
'liveTv.now' => 'Ahora',
'liveTv.today' => 'Hoy',
'liveTv.midnight' => 'Medianoche',
@@ -1909,6 +1929,10 @@ extension on TranslationsEs {
'watchTogether.sessionCodeCopied' => 'Código de sesión copiado al portapapeles',
'watchTogether.relayUnreachable' => 'El servidor de retransmisión no está disponible. Esto puede deberse a que tu proveedor de internet bloquea la conexión. Puedes intentarlo de todos modos, pero Watch Together podría no funcionar.',
'watchTogether.reconnectingToHost' => 'Reconectando con el anfitrión...',
'watchTogether.currentPlayback' => 'Reproducción actual',
'watchTogether.joinCurrentPlayback' => 'Unirse a la reproducción actual',
'watchTogether.joinCurrentPlaybackDescription' => 'Vuelve a lo que el anfitrión está viendo ahora mismo',
'watchTogether.failedToOpenCurrentPlayback' => 'No se pudo abrir la reproducción actual',
'watchTogether.participantJoined' => ({required Object name}) => '${name} se unió',
'watchTogether.participantLeft' => ({required Object name}) => '${name} se fue',
'downloads.title' => 'Descargas',
@@ -1935,7 +1959,13 @@ extension on TranslationsEs {
'shaders.qualityFast' => 'Rápido',
'shaders.qualityHQ' => 'Alta Calidad',
'shaders.mode' => 'Modo',
'companionRemote.title' => 'Companion Remote',
'shaders.importShader' => 'Importar shader',
'shaders.customShaderDescription' => 'Shader GLSL personalizado',
'shaders.shaderImported' => 'Shader importado',
'shaders.shaderImportFailed' => 'Error al importar shader',
'shaders.deleteShader' => 'Eliminar shader',
'shaders.deleteShaderConfirm' => ({required Object name}) => '¿Eliminar "${name}"?',
'companionRemote.title' => 'Control remoto',
'companionRemote.connectToDevice' => 'Conectar a dispositivo',
'companionRemote.hostRemoteSession' => 'Iniciar sesión remota',
'companionRemote.controlThisDevice' => 'Controla este dispositivo con tu teléfono',
+70 -40
View File
@@ -97,9 +97,6 @@ class _TranslationsAuthFr implements TranslationsAuthEn {
@override String get signInWithPlex => 'S\'inscrire avec Plex';
@override String get showQRCode => 'Afficher le QR Code';
@override String get authenticate => 'S\'authentifier';
@override String get debugEnterToken => 'Debug: Entrez votre token Plex';
@override String get plexTokenLabel => 'Token d\'authentification Plex';
@override String get plexTokenHint => 'Entrez votre token Plex.tv';
@override String get authenticationTimeout => 'Délai d\'authentification expiré. Veuillez réessayer.';
@override String get scanQRToSignIn => 'Scannez ce QR code pour vous connecter';
@override String get waitingForAuth => 'En attente d\'authentification...\nVeuillez vous connecter dans votre navigateur.';
@@ -217,8 +214,8 @@ class _TranslationsSettingsFr implements TranslationsSettingsEn {
@override String durationHint({required Object min, required Object max}) => 'Entrez la durée (${min}-${max})';
@override String get systemTheme => 'Système';
@override String get systemThemeDescription => 'Suivre les paramètres système';
@override String get lightTheme => 'Light';
@override String get darkTheme => 'Dark';
@override String get lightTheme => 'Clair';
@override String get darkTheme => 'Sombre';
@override String get oledTheme => 'OLED';
@override String get oledThemeDescription => 'Noir pur pour les écrans OLED';
@override String get libraryDensity => 'Densité des bibliothèques';
@@ -257,8 +254,8 @@ class _TranslationsSettingsFr implements TranslationsSettingsEn {
@override String bufferSizeWarning({required Object heap, required Object size}) => 'Votre appareil dispose de ${heap}MB de mémoire. Un tampon de ${size}MB peut causer des problèmes de lecture.';
@override String get subtitleStyling => 'Stylisation des sous-titres';
@override String get subtitleStylingDescription => 'Personnaliser l\'apparence des sous-titres';
@override String get smallSkipDuration => 'Small Skip Duration';
@override String get largeSkipDuration => 'Large Skip Duration';
@override String get smallSkipDuration => 'Durée du petit saut';
@override String get largeSkipDuration => 'Durée du grand saut';
@override String secondsUnit({required Object seconds}) => '${seconds} secondes';
@override String get defaultSleepTimer => 'Minuterie de mise en veille par défaut';
@override String minutesUnit({required Object minutes}) => '${minutes} minutes';
@@ -300,6 +297,11 @@ class _TranslationsSettingsFr implements TranslationsSettingsEn {
@override String get autoSkipCreditsDescription => 'Passer les crédits et passer à l\'épisode suivant automatiquement';
@override String get autoSkipDelay => 'Délai avant skip automatique';
@override String autoSkipDelayDescription({required Object seconds}) => 'Attendre ${seconds} secondes avant l\'auto-skip';
@override String get introPattern => 'Modèle de marqueur d\'intro';
@override String get introPatternDescription => 'Expression régulière pour reconnaître les marqueurs d\'intro dans les titres de chapitres';
@override String get creditsPattern => 'Modèle de marqueur de générique';
@override String get creditsPatternDescription => 'Expression régulière pour reconnaître les marqueurs de générique dans les titres de chapitres';
@override String get invalidRegex => 'Expression régulière invalide';
@override String get downloads => 'Téléchargement';
@override String get downloadLocationDescription => 'Choisissez où stocker le contenu téléchargé';
@override String get downloadLocationDefault => 'Par défaut (stockage de l\'application)';
@@ -323,12 +325,14 @@ class _TranslationsSettingsFr implements TranslationsSettingsEn {
@override String get autoPipDescription => 'Activer automatiquement l\'image dans l\'image en quittant l\'application pendant la lecture';
@override String get matchContentFrameRate => 'Fréquence d\'images du contenu correspondant';
@override String get matchContentFrameRateDescription => 'Ajustez la fréquence de rafraîchissement de l\'écran en fonction du contenu vidéo, ce qui réduit les saccades et économise la batterie';
@override String get tunneledPlayback => 'Tunneled Playback';
@override String get tunneledPlaybackDescription => 'Use hardware-accelerated video tunneling. Disable if you see a black screen with audio on HDR content';
@override String get tunneledPlayback => 'Lecture tunnelée';
@override String get tunneledPlaybackDescription => 'Utiliser le tunnelage vidéo accéléré par matériel. Désactiver si vous voyez un écran noir avec du son sur du contenu HDR';
@override String get requireProfileSelectionOnOpen => 'Demander le profil à l\'ouverture';
@override String get requireProfileSelectionOnOpenDescription => 'Afficher la sélection de profil à chaque ouverture de l\'application';
@override String get confirmExitOnBack => 'Confirmer avant de quitter';
@override String get confirmExitOnBackDescription => 'Afficher une boîte de dialogue de confirmation en appuyant sur retour pour quitter';
@override String get showNavBarLabels => 'Afficher les libellés de la barre de navigation';
@override String get showNavBarLabelsDescription => 'Afficher les libellés sous les icônes de la barre de navigation';
}
// Path: search
@@ -391,7 +395,7 @@ class _TranslationsFileInfoFr implements TranslationsFileInfoEn {
@override String get colorRange => 'Gamme de couleurs';
@override String get colorPrimaries => 'Couleurs primaires';
@override String get chromaSubsampling => 'Sous-échantillonnage chromatique';
@override String get channels => 'Channels';
@override String get channels => 'Canaux';
@override String get path => 'Chemin';
@override String get size => 'Taille';
@override String get container => 'Conteneur';
@@ -503,7 +507,7 @@ class _TranslationsVideoControlsFr implements TranslationsVideoControlsEn {
@override String get ambientLightingOff => 'Désactiver l\'éclairage ambiant';
@override String get fullscreenButton => 'Passer en mode plein écran';
@override String get exitFullscreenButton => 'Quitter le mode plein écran';
@override String get alwaysOnTopButton => 'Always on top';
@override String get alwaysOnTopButton => 'Toujours au premier plan';
@override String get rotationLockButton => 'Verrouillage de rotation';
@override String get timelineSlider => 'Timeline vidéo';
@override String get volumeSlider => 'Niveau sonore';
@@ -513,8 +517,8 @@ class _TranslationsVideoControlsFr implements TranslationsVideoControlsEn {
@override late final _TranslationsVideoControlsPipErrorsFr pipErrors = _TranslationsVideoControlsPipErrorsFr._(_root);
@override String get chapters => 'Chapitres';
@override String get noChaptersAvailable => 'Aucun chapitre disponible';
@override String get queue => 'Queue';
@override String get noQueueItems => 'No items in queue';
@override String get queue => 'File d\'attente';
@override String get noQueueItems => 'Aucun élément dans la file d\'attente';
}
// Path: userStatus
@@ -567,9 +571,9 @@ class _TranslationsMessagesFr implements TranslationsMessagesEn {
@override String get failedToCreatePlayQueueNoItems => 'Échec de la création de la file d\'attente de lecture - aucun élément';
@override String failedPlayback({required Object action, required Object error}) => 'Echec de ${action}: ${error}';
@override String get switchingToCompatiblePlayer => 'Passage au lecteur compatible...';
@override String get logsUploaded => 'Logs uploaded';
@override String get logsUploadFailed => 'Failed to upload logs';
@override String get logId => 'Log ID';
@override String get logsUploaded => 'Logs envoyés';
@override String get logsUploadFailed => 'Échec de l\'envoi des logs';
@override String get logId => 'ID du log';
}
// Path: subtitlingStyling
@@ -764,7 +768,7 @@ class _TranslationsLogsFr implements TranslationsLogsEn {
// Translations
@override String get clearLogs => 'Effacer les logs';
@override String get copyLogs => 'Copier les logs';
@override String get uploadLogs => 'Upload Logs';
@override String get uploadLogs => 'Envoyer les logs';
@override String get error => 'Erreur:';
@override String get stackTrace => 'Liste des appels:';
}
@@ -883,7 +887,7 @@ class _TranslationsPlaylistsFr implements TranslationsPlaylistsEn {
@override String get deleted => 'Playlist supprimée';
@override String get itemAdded => 'Ajouté à la playlist';
@override String get itemRemoved => 'Retiré de la playlist';
@override String get selectPlaylist => 'Select Playlist';
@override String get selectPlaylist => 'Sélectionner une playlist';
@override String get errorCreating => 'Échec de la création de playlist';
@override String get errorDeleting => 'Échec de suppression de playlist';
@override String get errorLoading => 'Échec de chargement de playlists';
@@ -943,6 +947,10 @@ class _TranslationsWatchTogetherFr implements TranslationsWatchTogetherEn {
@override String get sessionCodeCopied => 'Code de session copié dans le presse-papiers';
@override String get relayUnreachable => 'Le serveur relais est inaccessible. Cela peut être dû au blocage de la connexion par votre fournisseur d\'accès. Vous pouvez quand même essayer, mais Watch Together pourrait ne pas fonctionner.';
@override String get reconnectingToHost => 'Reconnexion à l\'hôte...';
@override String get currentPlayback => 'Lecture en cours';
@override String get joinCurrentPlayback => 'Rejoindre la lecture en cours';
@override String get joinCurrentPlaybackDescription => 'Revenez à ce que l\'hôte regarde actuellement';
@override String get failedToOpenCurrentPlayback => 'Impossible d\'ouvrir la lecture en cours';
@override String participantJoined({required Object name}) => '${name} a rejoint';
@override String participantLeft({required Object name}) => '${name} est parti';
}
@@ -987,6 +995,12 @@ class _TranslationsShadersFr implements TranslationsShadersEn {
@override String get qualityFast => 'Rapide';
@override String get qualityHQ => 'Haute qualité';
@override String get mode => 'Mode';
@override String get importShader => 'Importer un shader';
@override String get customShaderDescription => 'Shader GLSL personnalisé';
@override String get shaderImported => 'Shader importé';
@override String get shaderImportFailed => 'Échec de l\'importation du shader';
@override String get deleteShader => 'Supprimer le shader';
@override String deleteShaderConfirm({required Object name}) => 'Supprimer "${name}" ?';
}
// Path: companionRemote
@@ -996,7 +1010,7 @@ class _TranslationsCompanionRemoteFr implements TranslationsCompanionRemoteEn {
final TranslationsFr _root; // ignore: unused_field
// Translations
@override String get title => 'Companion Remote';
@override String get title => 'Télécommande compagnon';
@override String get connectToDevice => 'Se connecter à un appareil';
@override String get hostRemoteSession => 'Héberger une session distante';
@override String get controlThisDevice => 'Contrôlez cet appareil avec votre téléphone';
@@ -1183,6 +1197,7 @@ class _TranslationsLibrariesGroupingsFr implements TranslationsLibrariesGrouping
final TranslationsFr _root; // ignore: unused_field
// Translations
@override String get title => 'Regroupement';
@override String get all => 'Tous';
@override String get movies => 'Films';
@override String get shows => 'Show TV';
@@ -1299,9 +1314,6 @@ extension on TranslationsFr {
'auth.signInWithPlex' => 'S\'inscrire avec Plex',
'auth.showQRCode' => 'Afficher le QR Code',
'auth.authenticate' => 'S\'authentifier',
'auth.debugEnterToken' => 'Debug: Entrez votre token Plex',
'auth.plexTokenLabel' => 'Token d\'authentification Plex',
'auth.plexTokenHint' => 'Entrez votre token Plex.tv',
'auth.authenticationTimeout' => 'Délai d\'authentification expiré. Veuillez réessayer.',
'auth.scanQRToSignIn' => 'Scannez ce QR code pour vous connecter',
'auth.waitingForAuth' => 'En attente d\'authentification...\nVeuillez vous connecter dans votre navigateur.',
@@ -1383,8 +1395,8 @@ extension on TranslationsFr {
'settings.durationHint' => ({required Object min, required Object max}) => 'Entrez la durée (${min}-${max})',
'settings.systemTheme' => 'Système',
'settings.systemThemeDescription' => 'Suivre les paramètres système',
'settings.lightTheme' => 'Light',
'settings.darkTheme' => 'Dark',
'settings.lightTheme' => 'Clair',
'settings.darkTheme' => 'Sombre',
'settings.oledTheme' => 'OLED',
'settings.oledThemeDescription' => 'Noir pur pour les écrans OLED',
'settings.libraryDensity' => 'Densité des bibliothèques',
@@ -1423,8 +1435,8 @@ extension on TranslationsFr {
'settings.bufferSizeWarning' => ({required Object heap, required Object size}) => 'Votre appareil dispose de ${heap}MB de mémoire. Un tampon de ${size}MB peut causer des problèmes de lecture.',
'settings.subtitleStyling' => 'Stylisation des sous-titres',
'settings.subtitleStylingDescription' => 'Personnaliser l\'apparence des sous-titres',
'settings.smallSkipDuration' => 'Small Skip Duration',
'settings.largeSkipDuration' => 'Large Skip Duration',
'settings.smallSkipDuration' => 'Durée du petit saut',
'settings.largeSkipDuration' => 'Durée du grand saut',
'settings.secondsUnit' => ({required Object seconds}) => '${seconds} secondes',
'settings.defaultSleepTimer' => 'Minuterie de mise en veille par défaut',
'settings.minutesUnit' => ({required Object minutes}) => '${minutes} minutes',
@@ -1466,6 +1478,11 @@ extension on TranslationsFr {
'settings.autoSkipCreditsDescription' => 'Passer les crédits et passer à l\'épisode suivant automatiquement',
'settings.autoSkipDelay' => 'Délai avant skip automatique',
'settings.autoSkipDelayDescription' => ({required Object seconds}) => 'Attendre ${seconds} secondes avant l\'auto-skip',
'settings.introPattern' => 'Modèle de marqueur d\'intro',
'settings.introPatternDescription' => 'Expression régulière pour reconnaître les marqueurs d\'intro dans les titres de chapitres',
'settings.creditsPattern' => 'Modèle de marqueur de générique',
'settings.creditsPatternDescription' => 'Expression régulière pour reconnaître les marqueurs de générique dans les titres de chapitres',
'settings.invalidRegex' => 'Expression régulière invalide',
'settings.downloads' => 'Téléchargement',
'settings.downloadLocationDescription' => 'Choisissez où stocker le contenu téléchargé',
'settings.downloadLocationDefault' => 'Par défaut (stockage de l\'application)',
@@ -1489,12 +1506,14 @@ extension on TranslationsFr {
'settings.autoPipDescription' => 'Activer automatiquement l\'image dans l\'image en quittant l\'application pendant la lecture',
'settings.matchContentFrameRate' => 'Fréquence d\'images du contenu correspondant',
'settings.matchContentFrameRateDescription' => 'Ajustez la fréquence de rafraîchissement de l\'écran en fonction du contenu vidéo, ce qui réduit les saccades et économise la batterie',
'settings.tunneledPlayback' => 'Tunneled Playback',
'settings.tunneledPlaybackDescription' => 'Use hardware-accelerated video tunneling. Disable if you see a black screen with audio on HDR content',
'settings.tunneledPlayback' => 'Lecture tunnelée',
'settings.tunneledPlaybackDescription' => 'Utiliser le tunnelage vidéo accéléré par matériel. Désactiver si vous voyez un écran noir avec du son sur du contenu HDR',
'settings.requireProfileSelectionOnOpen' => 'Demander le profil à l\'ouverture',
'settings.requireProfileSelectionOnOpenDescription' => 'Afficher la sélection de profil à chaque ouverture de l\'application',
'settings.confirmExitOnBack' => 'Confirmer avant de quitter',
'settings.confirmExitOnBackDescription' => 'Afficher une boîte de dialogue de confirmation en appuyant sur retour pour quitter',
'settings.showNavBarLabels' => 'Afficher les libellés de la barre de navigation',
'settings.showNavBarLabelsDescription' => 'Afficher les libellés sous les icônes de la barre de navigation',
'search.hint' => 'Rechercher des films, des séries, de la musique...',
'search.tryDifferentTerm' => 'Essayez un autre terme de recherche',
'search.searchYourMedia' => 'Rechercher dans vos médias',
@@ -1539,7 +1558,7 @@ extension on TranslationsFr {
'fileInfo.colorRange' => 'Gamme de couleurs',
'fileInfo.colorPrimaries' => 'Couleurs primaires',
'fileInfo.chromaSubsampling' => 'Sous-échantillonnage chromatique',
'fileInfo.channels' => 'Channels',
'fileInfo.channels' => 'Canaux',
'fileInfo.path' => 'Chemin',
'fileInfo.size' => 'Taille',
'fileInfo.container' => 'Conteneur',
@@ -1615,7 +1634,7 @@ extension on TranslationsFr {
'videoControls.ambientLightingOff' => 'Désactiver l\'éclairage ambiant',
'videoControls.fullscreenButton' => 'Passer en mode plein écran',
'videoControls.exitFullscreenButton' => 'Quitter le mode plein écran',
'videoControls.alwaysOnTopButton' => 'Always on top',
'videoControls.alwaysOnTopButton' => 'Toujours au premier plan',
'videoControls.rotationLockButton' => 'Verrouillage de rotation',
'videoControls.timelineSlider' => 'Timeline vidéo',
'videoControls.volumeSlider' => 'Niveau sonore',
@@ -1631,8 +1650,8 @@ extension on TranslationsFr {
'videoControls.pipErrors.unknown' => ({required Object error}) => 'Une erreur s\'est produite : ${error}',
'videoControls.chapters' => 'Chapitres',
'videoControls.noChaptersAvailable' => 'Aucun chapitre disponible',
'videoControls.queue' => 'Queue',
'videoControls.noQueueItems' => 'No items in queue',
'videoControls.queue' => 'File d\'attente',
'videoControls.noQueueItems' => 'Aucun élément dans la file d\'attente',
'userStatus.admin' => 'Admin',
'userStatus.restricted' => 'Restreint',
'userStatus.protected' => 'Protégé',
@@ -1667,9 +1686,9 @@ extension on TranslationsFr {
'messages.failedToCreatePlayQueueNoItems' => 'Échec de la création de la file d\'attente de lecture - aucun élément',
'messages.failedPlayback' => ({required Object action, required Object error}) => 'Echec de ${action}: ${error}',
'messages.switchingToCompatiblePlayer' => 'Passage au lecteur compatible...',
'messages.logsUploaded' => 'Logs uploaded',
'messages.logsUploadFailed' => 'Failed to upload logs',
'messages.logId' => 'Log ID',
'messages.logsUploaded' => 'Logs envoyés',
'messages.logsUploadFailed' => 'Échec de l\'envoi des logs',
'messages.logId' => 'ID du log',
'subtitlingStyling.stylingOptions' => 'Options de style',
'subtitlingStyling.fontSize' => 'Taille de la police',
'subtitlingStyling.textColor' => 'Couleur du texte',
@@ -1761,6 +1780,7 @@ extension on TranslationsFr {
'libraries.tabs.browse' => 'Parcourir',
'libraries.tabs.collections' => 'Collections',
'libraries.tabs.playlists' => 'Playlists',
'libraries.groupings.title' => 'Regroupement',
'libraries.groupings.all' => 'Tous',
'libraries.groupings.movies' => 'Films',
'libraries.groupings.shows' => 'Show TV',
@@ -1782,7 +1802,7 @@ extension on TranslationsFr {
'hubDetail.noItemsFound' => 'Aucun élément trouvé',
'logs.clearLogs' => 'Effacer les logs',
'logs.copyLogs' => 'Copier les logs',
'logs.uploadLogs' => 'Upload Logs',
'logs.uploadLogs' => 'Envoyer les logs',
'logs.error' => 'Erreur:',
'logs.stackTrace' => 'Liste des appels:',
'licenses.relatedPackages' => 'Package associés',
@@ -1802,13 +1822,13 @@ extension on TranslationsFr {
'liveTv.nowPlaying' => 'En cours de lecture',
'liveTv.noPrograms' => 'Aucune donnée de programme disponible',
'liveTv.channelNumber' => ({required Object number}) => 'Ch. ${number}',
_ => null,
} ?? switch (path) {
'liveTv.live' => 'EN DIRECT',
'liveTv.hd' => 'HD',
'liveTv.premiere' => 'NOUVEAU',
'liveTv.reloadGuide' => 'Recharger le guide',
'liveTv.allChannels' => 'Toutes les chaînes',
_ => null,
} ?? switch (path) {
'liveTv.now' => 'Maintenant',
'liveTv.today' => 'Aujourd\'hui',
'liveTv.midnight' => 'Minuit',
@@ -1858,7 +1878,7 @@ extension on TranslationsFr {
'playlists.deleted' => 'Playlist supprimée',
'playlists.itemAdded' => 'Ajouté à la playlist',
'playlists.itemRemoved' => 'Retiré de la playlist',
'playlists.selectPlaylist' => 'Select Playlist',
'playlists.selectPlaylist' => 'Sélectionner une playlist',
'playlists.errorCreating' => 'Échec de la création de playlist',
'playlists.errorDeleting' => 'Échec de suppression de playlist',
'playlists.errorLoading' => 'Échec de chargement de playlists',
@@ -1909,6 +1929,10 @@ extension on TranslationsFr {
'watchTogether.sessionCodeCopied' => 'Code de session copié dans le presse-papiers',
'watchTogether.relayUnreachable' => 'Le serveur relais est inaccessible. Cela peut être dû au blocage de la connexion par votre fournisseur d\'accès. Vous pouvez quand même essayer, mais Watch Together pourrait ne pas fonctionner.',
'watchTogether.reconnectingToHost' => 'Reconnexion à l\'hôte...',
'watchTogether.currentPlayback' => 'Lecture en cours',
'watchTogether.joinCurrentPlayback' => 'Rejoindre la lecture en cours',
'watchTogether.joinCurrentPlaybackDescription' => 'Revenez à ce que l\'hôte regarde actuellement',
'watchTogether.failedToOpenCurrentPlayback' => 'Impossible d\'ouvrir la lecture en cours',
'watchTogether.participantJoined' => ({required Object name}) => '${name} a rejoint',
'watchTogether.participantLeft' => ({required Object name}) => '${name} est parti',
'downloads.title' => 'Téléchargements',
@@ -1935,7 +1959,13 @@ extension on TranslationsFr {
'shaders.qualityFast' => 'Rapide',
'shaders.qualityHQ' => 'Haute qualité',
'shaders.mode' => 'Mode',
'companionRemote.title' => 'Companion Remote',
'shaders.importShader' => 'Importer un shader',
'shaders.customShaderDescription' => 'Shader GLSL personnalisé',
'shaders.shaderImported' => 'Shader importé',
'shaders.shaderImportFailed' => 'Échec de l\'importation du shader',
'shaders.deleteShader' => 'Supprimer le shader',
'shaders.deleteShaderConfirm' => ({required Object name}) => 'Supprimer "${name}" ?',
'companionRemote.title' => 'Télécommande compagnon',
'companionRemote.connectToDevice' => 'Se connecter à un appareil',
'companionRemote.hostRemoteSession' => 'Héberger une session distante',
'companionRemote.controlThisDevice' => 'Contrôlez cet appareil avec votre téléphone',
+58 -28
View File
@@ -97,9 +97,6 @@ class _TranslationsAuthIt implements TranslationsAuthEn {
@override String get signInWithPlex => 'Accedi con Plex';
@override String get showQRCode => 'Mostra QR Code';
@override String get authenticate => 'Autenticazione';
@override String get debugEnterToken => 'Debug: Inserisci Token Plex';
@override String get plexTokenLabel => 'Token Auth Plex';
@override String get plexTokenHint => 'Inserisci il tuo token di Plex.tv';
@override String get authenticationTimeout => 'Autenticazione scaduta. Riprova.';
@override String get scanQRToSignIn => 'Scansiona il QR code per accedere';
@override String get waitingForAuth => 'In attesa di autenticazione...\nCompleta l\'accesso dal tuo browser.';
@@ -300,6 +297,11 @@ class _TranslationsSettingsIt implements TranslationsSettingsEn {
@override String get autoSkipCreditsDescription => 'Salta automaticamente i crediti e riproduci l\'episodio successivo';
@override String get autoSkipDelay => 'Ritardo Salto Automatico';
@override String autoSkipDelayDescription({required Object seconds}) => 'Aspetta ${seconds} secondi prima del salto automatico';
@override String get introPattern => 'Pattern marcatore intro';
@override String get introPatternDescription => 'Espressione regolare per riconoscere i marcatori intro nei titoli dei capitoli';
@override String get creditsPattern => 'Pattern marcatore titoli di coda';
@override String get creditsPatternDescription => 'Espressione regolare per riconoscere i marcatori dei titoli di coda nei capitoli';
@override String get invalidRegex => 'Espressione regolare non valida';
@override String get downloads => 'Download';
@override String get downloadLocationDescription => 'Scegli dove salvare i contenuti scaricati';
@override String get downloadLocationDefault => 'Predefinita (Archiviazione App)';
@@ -323,12 +325,14 @@ class _TranslationsSettingsIt implements TranslationsSettingsEn {
@override String get autoPipDescription => 'Attiva automaticamente il picture-in-picture quando si esce dall\'app durante la riproduzione';
@override String get matchContentFrameRate => 'Adatta frequenza fotogrammi';
@override String get matchContentFrameRateDescription => 'Regola la frequenza di aggiornamento del display in base al contenuto video, riducendo i tremolii e risparmiando batteria';
@override String get tunneledPlayback => 'Tunneled Playback';
@override String get tunneledPlaybackDescription => 'Use hardware-accelerated video tunneling. Disable if you see a black screen with audio on HDR content';
@override String get tunneledPlayback => 'Riproduzione tunnelizzata';
@override String get tunneledPlaybackDescription => 'Usa il tunneling video accelerato dall\'hardware. Disattiva se vedi uno schermo nero con audio su contenuti HDR';
@override String get requireProfileSelectionOnOpen => 'Chiedi profilo all\'apertura';
@override String get requireProfileSelectionOnOpenDescription => 'Mostra la selezione del profilo ogni volta che l\'app viene aperta';
@override String get confirmExitOnBack => 'Conferma prima di uscire';
@override String get confirmExitOnBackDescription => 'Mostra una finestra di conferma quando si preme indietro per uscire dall\'app';
@override String get showNavBarLabels => 'Mostra etichette barra di navigazione';
@override String get showNavBarLabelsDescription => 'Mostra le etichette sotto le icone della barra di navigazione';
}
// Path: search
@@ -513,8 +517,8 @@ class _TranslationsVideoControlsIt implements TranslationsVideoControlsEn {
@override late final _TranslationsVideoControlsPipErrorsIt pipErrors = _TranslationsVideoControlsPipErrorsIt._(_root);
@override String get chapters => 'Capitoli';
@override String get noChaptersAvailable => 'Nessun capitolo disponibile';
@override String get queue => 'Queue';
@override String get noQueueItems => 'No items in queue';
@override String get queue => 'Coda';
@override String get noQueueItems => 'Nessun elemento in coda';
}
// Path: userStatus
@@ -567,9 +571,9 @@ class _TranslationsMessagesIt implements TranslationsMessagesEn {
@override String get failedToCreatePlayQueueNoItems => 'Impossibile creare la coda di riproduzione - nessun elemento';
@override String failedPlayback({required Object action, required Object error}) => 'Impossibile ${action}: ${error}';
@override String get switchingToCompatiblePlayer => 'Passaggio al lettore compatibile...';
@override String get logsUploaded => 'Logs uploaded';
@override String get logsUploadFailed => 'Failed to upload logs';
@override String get logId => 'Log ID';
@override String get logsUploaded => 'Log caricati';
@override String get logsUploadFailed => 'Caricamento log fallito';
@override String get logId => 'ID log';
}
// Path: subtitlingStyling
@@ -586,7 +590,7 @@ class _TranslationsSubtitlingStylingIt implements TranslationsSubtitlingStylingE
@override String get borderColor => 'Colore bordo';
@override String get backgroundOpacity => 'Opacità sfondo';
@override String get backgroundColor => 'Colore sfondo';
@override String get position => 'Position';
@override String get position => 'Posizione';
}
// Path: mpvConfig
@@ -764,7 +768,7 @@ class _TranslationsLogsIt implements TranslationsLogsEn {
// Translations
@override String get clearLogs => 'Cancella log';
@override String get copyLogs => 'Copia log';
@override String get uploadLogs => 'Upload Logs';
@override String get uploadLogs => 'Carica log';
@override String get error => 'Errore:';
@override String get stackTrace => 'Traccia dello stack:';
}
@@ -970,6 +974,10 @@ class _TranslationsWatchTogetherIt implements TranslationsWatchTogetherEn {
@override String get sessionCodeCopied => 'Codice sessione copiato negli appunti';
@override String get relayUnreachable => 'Il server di inoltro non è raggiungibile. Questo potrebbe essere causato dal blocco della connessione da parte del tuo provider. Puoi comunque provare, ma Watch Together potrebbe non funzionare.';
@override String get reconnectingToHost => 'Riconnessione all\'host...';
@override String get currentPlayback => 'Riproduzione corrente';
@override String get joinCurrentPlayback => 'Unisciti alla riproduzione corrente';
@override String get joinCurrentPlaybackDescription => 'Torna a ciò che l\'host sta guardando in questo momento';
@override String get failedToOpenCurrentPlayback => 'Impossibile aprire la riproduzione corrente';
@override String participantJoined({required Object name}) => '${name} si è unito';
@override String participantLeft({required Object name}) => '${name} se ne è andato';
}
@@ -987,6 +995,12 @@ class _TranslationsShadersIt implements TranslationsShadersEn {
@override String get qualityFast => 'Veloce';
@override String get qualityHQ => 'Alta qualità';
@override String get mode => 'Modalità';
@override String get importShader => 'Importa shader';
@override String get customShaderDescription => 'Shader GLSL personalizzato';
@override String get shaderImported => 'Shader importato';
@override String get shaderImportFailed => 'Importazione shader fallita';
@override String get deleteShader => 'Elimina shader';
@override String deleteShaderConfirm({required Object name}) => 'Eliminare "${name}"?';
}
// Path: companionRemote
@@ -996,7 +1010,7 @@ class _TranslationsCompanionRemoteIt implements TranslationsCompanionRemoteEn {
final TranslationsIt _root; // ignore: unused_field
// Translations
@override String get title => 'Companion Remote';
@override String get title => 'Telecomando';
@override String get connectToDevice => 'Connetti a un dispositivo';
@override String get hostRemoteSession => 'Ospita sessione remota';
@override String get controlThisDevice => 'Controlla questo dispositivo con il tuo telefono';
@@ -1183,6 +1197,7 @@ class _TranslationsLibrariesGroupingsIt implements TranslationsLibrariesGrouping
final TranslationsIt _root; // ignore: unused_field
// Translations
@override String get title => 'Raggruppamento';
@override String get all => 'Tutti';
@override String get movies => 'Film';
@override String get shows => 'Serie TV';
@@ -1299,9 +1314,6 @@ extension on TranslationsIt {
'auth.signInWithPlex' => 'Accedi con Plex',
'auth.showQRCode' => 'Mostra QR Code',
'auth.authenticate' => 'Autenticazione',
'auth.debugEnterToken' => 'Debug: Inserisci Token Plex',
'auth.plexTokenLabel' => 'Token Auth Plex',
'auth.plexTokenHint' => 'Inserisci il tuo token di Plex.tv',
'auth.authenticationTimeout' => 'Autenticazione scaduta. Riprova.',
'auth.scanQRToSignIn' => 'Scansiona il QR code per accedere',
'auth.waitingForAuth' => 'In attesa di autenticazione...\nCompleta l\'accesso dal tuo browser.',
@@ -1466,6 +1478,11 @@ extension on TranslationsIt {
'settings.autoSkipCreditsDescription' => 'Salta automaticamente i crediti e riproduci l\'episodio successivo',
'settings.autoSkipDelay' => 'Ritardo Salto Automatico',
'settings.autoSkipDelayDescription' => ({required Object seconds}) => 'Aspetta ${seconds} secondi prima del salto automatico',
'settings.introPattern' => 'Pattern marcatore intro',
'settings.introPatternDescription' => 'Espressione regolare per riconoscere i marcatori intro nei titoli dei capitoli',
'settings.creditsPattern' => 'Pattern marcatore titoli di coda',
'settings.creditsPatternDescription' => 'Espressione regolare per riconoscere i marcatori dei titoli di coda nei capitoli',
'settings.invalidRegex' => 'Espressione regolare non valida',
'settings.downloads' => 'Download',
'settings.downloadLocationDescription' => 'Scegli dove salvare i contenuti scaricati',
'settings.downloadLocationDefault' => 'Predefinita (Archiviazione App)',
@@ -1489,12 +1506,14 @@ extension on TranslationsIt {
'settings.autoPipDescription' => 'Attiva automaticamente il picture-in-picture quando si esce dall\'app durante la riproduzione',
'settings.matchContentFrameRate' => 'Adatta frequenza fotogrammi',
'settings.matchContentFrameRateDescription' => 'Regola la frequenza di aggiornamento del display in base al contenuto video, riducendo i tremolii e risparmiando batteria',
'settings.tunneledPlayback' => 'Tunneled Playback',
'settings.tunneledPlaybackDescription' => 'Use hardware-accelerated video tunneling. Disable if you see a black screen with audio on HDR content',
'settings.tunneledPlayback' => 'Riproduzione tunnelizzata',
'settings.tunneledPlaybackDescription' => 'Usa il tunneling video accelerato dall\'hardware. Disattiva se vedi uno schermo nero con audio su contenuti HDR',
'settings.requireProfileSelectionOnOpen' => 'Chiedi profilo all\'apertura',
'settings.requireProfileSelectionOnOpenDescription' => 'Mostra la selezione del profilo ogni volta che l\'app viene aperta',
'settings.confirmExitOnBack' => 'Conferma prima di uscire',
'settings.confirmExitOnBackDescription' => 'Mostra una finestra di conferma quando si preme indietro per uscire dall\'app',
'settings.showNavBarLabels' => 'Mostra etichette barra di navigazione',
'settings.showNavBarLabelsDescription' => 'Mostra le etichette sotto le icone della barra di navigazione',
'search.hint' => 'Cerca film. spettacoli, musica...',
'search.tryDifferentTerm' => 'Prova altri termini di ricerca',
'search.searchYourMedia' => 'Cerca nei tuoi media',
@@ -1631,8 +1650,8 @@ extension on TranslationsIt {
'videoControls.pipErrors.unknown' => ({required Object error}) => 'Si è verificato un errore: ${error}',
'videoControls.chapters' => 'Capitoli',
'videoControls.noChaptersAvailable' => 'Nessun capitolo disponibile',
'videoControls.queue' => 'Queue',
'videoControls.noQueueItems' => 'No items in queue',
'videoControls.queue' => 'Coda',
'videoControls.noQueueItems' => 'Nessun elemento in coda',
'userStatus.admin' => 'Admin',
'userStatus.restricted' => 'Limitato',
'userStatus.protected' => 'Protetto',
@@ -1667,9 +1686,9 @@ extension on TranslationsIt {
'messages.failedToCreatePlayQueueNoItems' => 'Impossibile creare la coda di riproduzione - nessun elemento',
'messages.failedPlayback' => ({required Object action, required Object error}) => 'Impossibile ${action}: ${error}',
'messages.switchingToCompatiblePlayer' => 'Passaggio al lettore compatibile...',
'messages.logsUploaded' => 'Logs uploaded',
'messages.logsUploadFailed' => 'Failed to upload logs',
'messages.logId' => 'Log ID',
'messages.logsUploaded' => 'Log caricati',
'messages.logsUploadFailed' => 'Caricamento log fallito',
'messages.logId' => 'ID log',
'subtitlingStyling.stylingOptions' => 'Opzioni stile',
'subtitlingStyling.fontSize' => 'Dimensione',
'subtitlingStyling.textColor' => 'Colore testo',
@@ -1677,7 +1696,7 @@ extension on TranslationsIt {
'subtitlingStyling.borderColor' => 'Colore bordo',
'subtitlingStyling.backgroundOpacity' => 'Opacità sfondo',
'subtitlingStyling.backgroundColor' => 'Colore sfondo',
'subtitlingStyling.position' => 'Position',
'subtitlingStyling.position' => 'Posizione',
'mpvConfig.title' => 'Configurazione mpv',
'mpvConfig.description' => 'Impostazioni avanzate del lettore video',
'mpvConfig.presets' => 'Preset',
@@ -1761,6 +1780,7 @@ extension on TranslationsIt {
'libraries.tabs.browse' => 'Esplora',
'libraries.tabs.collections' => 'Raccolte',
'libraries.tabs.playlists' => 'Playlist',
'libraries.groupings.title' => 'Raggruppamento',
'libraries.groupings.all' => 'Tutti',
'libraries.groupings.movies' => 'Film',
'libraries.groupings.shows' => 'Serie TV',
@@ -1782,7 +1802,7 @@ extension on TranslationsIt {
'hubDetail.noItemsFound' => 'Nessun elemento trovato',
'logs.clearLogs' => 'Cancella log',
'logs.copyLogs' => 'Copia log',
'logs.uploadLogs' => 'Upload Logs',
'logs.uploadLogs' => 'Carica log',
'logs.error' => 'Errore:',
'logs.stackTrace' => 'Traccia dello stack:',
'licenses.relatedPackages' => 'Pacchetti correlati',
@@ -1802,13 +1822,13 @@ extension on TranslationsIt {
'liveTv.nowPlaying' => 'In riproduzione',
'liveTv.noPrograms' => 'Nessun dato di programma disponibile',
'liveTv.channelNumber' => ({required Object number}) => 'Canale ${number}',
_ => null,
} ?? switch (path) {
'liveTv.live' => 'IN DIRETTA',
'liveTv.hd' => 'HD',
'liveTv.premiere' => 'NUOVO',
'liveTv.reloadGuide' => 'Ricarica guida',
'liveTv.allChannels' => 'Tutti i canali',
_ => null,
} ?? switch (path) {
'liveTv.now' => 'Ora',
'liveTv.today' => 'Oggi',
'liveTv.midnight' => 'Mezzanotte',
@@ -1927,6 +1947,10 @@ extension on TranslationsIt {
'watchTogether.sessionCodeCopied' => 'Codice sessione copiato negli appunti',
'watchTogether.relayUnreachable' => 'Il server di inoltro non è raggiungibile. Questo potrebbe essere causato dal blocco della connessione da parte del tuo provider. Puoi comunque provare, ma Watch Together potrebbe non funzionare.',
'watchTogether.reconnectingToHost' => 'Riconnessione all\'host...',
'watchTogether.currentPlayback' => 'Riproduzione corrente',
'watchTogether.joinCurrentPlayback' => 'Unisciti alla riproduzione corrente',
'watchTogether.joinCurrentPlaybackDescription' => 'Torna a ciò che l\'host sta guardando in questo momento',
'watchTogether.failedToOpenCurrentPlayback' => 'Impossibile aprire la riproduzione corrente',
'watchTogether.participantJoined' => ({required Object name}) => '${name} si è unito',
'watchTogether.participantLeft' => ({required Object name}) => '${name} se ne è andato',
'shaders.title' => 'Shader',
@@ -1935,7 +1959,13 @@ extension on TranslationsIt {
'shaders.qualityFast' => 'Veloce',
'shaders.qualityHQ' => 'Alta qualità',
'shaders.mode' => 'Modalità',
'companionRemote.title' => 'Companion Remote',
'shaders.importShader' => 'Importa shader',
'shaders.customShaderDescription' => 'Shader GLSL personalizzato',
'shaders.shaderImported' => 'Shader importato',
'shaders.shaderImportFailed' => 'Importazione shader fallita',
'shaders.deleteShader' => 'Elimina shader',
'shaders.deleteShaderConfirm' => ({required Object name}) => 'Eliminare "${name}"?',
'companionRemote.title' => 'Telecomando',
'companionRemote.connectToDevice' => 'Connetti a un dispositivo',
'companionRemote.hostRemoteSession' => 'Ospita sessione remota',
'companionRemote.controlThisDevice' => 'Controlla questo dispositivo con il tuo telefono',
File diff suppressed because it is too large Load Diff
+58 -28
View File
@@ -97,9 +97,6 @@ class _TranslationsAuthKo implements TranslationsAuthEn {
@override String get signInWithPlex => 'Plex 계정으로 로그인';
@override String get showQRCode => 'QR 코드';
@override String get authenticate => '인증';
@override String get debugEnterToken => '디버깅을 위해 Plex 토큰을 입력하세요.';
@override String get plexTokenLabel => 'Plex 인증 토큰';
@override String get plexTokenHint => 'Plex.tv 토큰을 입력하세요';
@override String get authenticationTimeout => '인증 시간이 초과되었습니다. 다시 시도해 주세요.';
@override String get scanQRToSignIn => 'QR 코드를 스캔하여 로그인';
@override String get waitingForAuth => '인증 대기 중... 브라우저에서 로그인을 완료해 주세요.';
@@ -300,6 +297,11 @@ class _TranslationsSettingsKo implements TranslationsSettingsEn {
@override String get autoSkipCreditsDescription => '엔딩 크레딧 자동 건너뛰기 후 다음 에피소드 재생';
@override String get autoSkipDelay => '자동 건너뛰기 지연';
@override String autoSkipDelayDescription({required Object seconds}) => '자동 건너뛰기 전 ${seconds} 초 대기';
@override String get introPattern => '인트로 마커 패턴';
@override String get introPatternDescription => '챕터 제목에서 인트로 마커를 인식하는 정규식 패턴';
@override String get creditsPattern => '크레딧 마커 패턴';
@override String get creditsPatternDescription => '챕터 제목에서 크레딧 마커를 인식하는 정규식 패턴';
@override String get invalidRegex => '잘못된 정규식';
@override String get downloads => '다운로드';
@override String get downloadLocationDescription => '다운로드 콘텐츠 저장 위치 선택';
@override String get downloadLocationDefault => '기본값 (앱 저장소)';
@@ -323,12 +325,14 @@ class _TranslationsSettingsKo implements TranslationsSettingsEn {
@override String get autoPipDescription => '재생 중 앱을 나갈 때 자동으로 PIP 모드로 전환';
@override String get matchContentFrameRate => '콘텐츠 프레임 레이트 맞춤';
@override String get matchContentFrameRateDescription => '비디오 콘텐츠에 맞게 디스플레이 주사율을 조정하여 떨림을 줄이고 배터리를 절약합니다';
@override String get tunneledPlayback => 'Tunneled Playback';
@override String get tunneledPlaybackDescription => 'Use hardware-accelerated video tunneling. Disable if you see a black screen with audio on HDR content';
@override String get tunneledPlayback => '터널 재생';
@override String get tunneledPlaybackDescription => '하드웨어 가속 비디오 터널링을 사용합니다. HDR 콘텐츠에서 소리만 나고 검은 화면이 보이면 비활성화하세요';
@override String get requireProfileSelectionOnOpen => '앱 실행 시 프로필 선택';
@override String get requireProfileSelectionOnOpenDescription => '앱을 열 때마다 프로필 선택 화면을 표시합니다';
@override String get confirmExitOnBack => '종료 전 확인';
@override String get confirmExitOnBackDescription => '뒤로 버튼을 눌러 앱을 종료할 때 확인 대화상자를 표시합니다';
@override String get showNavBarLabels => '내비게이션 바 라벨 표시';
@override String get showNavBarLabelsDescription => '내비게이션 바 아이콘 아래에 텍스트 라벨을 표시합니다';
}
// Path: search
@@ -513,8 +517,8 @@ class _TranslationsVideoControlsKo implements TranslationsVideoControlsEn {
@override late final _TranslationsVideoControlsPipErrorsKo pipErrors = _TranslationsVideoControlsPipErrorsKo._(_root);
@override String get chapters => '챕터';
@override String get noChaptersAvailable => '사용 가능한 챕터가 없습니다';
@override String get queue => 'Queue';
@override String get noQueueItems => 'No items in queue';
@override String get queue => '재생 대기열';
@override String get noQueueItems => '대기열에 항목이 없습니다';
}
// Path: userStatus
@@ -567,9 +571,9 @@ class _TranslationsMessagesKo implements TranslationsMessagesEn {
@override String get failedToCreatePlayQueueNoItems => '재생 대기열 생성 실패 - 항목 없음';
@override String failedPlayback({required Object action, required Object error}) => '${action}을(를) 수행할 수 없습니다: ${error}';
@override String get switchingToCompatiblePlayer => '호환되는 플레이어로 전환 중...';
@override String get logsUploaded => 'Logs uploaded';
@override String get logsUploadFailed => 'Failed to upload logs';
@override String get logId => 'Log ID';
@override String get logsUploaded => '로그 업로드 완료';
@override String get logsUploadFailed => '로그 업로드 실패';
@override String get logId => '로그 ID';
}
// Path: subtitlingStyling
@@ -586,7 +590,7 @@ class _TranslationsSubtitlingStylingKo implements TranslationsSubtitlingStylingE
@override String get borderColor => '테두리 색상';
@override String get backgroundOpacity => '배경 불투명도';
@override String get backgroundColor => '배경색';
@override String get position => 'Position';
@override String get position => '위치';
}
// Path: mpvConfig
@@ -764,7 +768,7 @@ class _TranslationsLogsKo implements TranslationsLogsEn {
// Translations
@override String get clearLogs => '로그 지우기';
@override String get copyLogs => '로그 복사';
@override String get uploadLogs => 'Upload Logs';
@override String get uploadLogs => '로그 업로드';
@override String get error => '오류:';
@override String get stackTrace => '스택 추적 (Stack Trace):';
}
@@ -943,6 +947,10 @@ class _TranslationsWatchTogetherKo implements TranslationsWatchTogetherEn {
@override String get sessionCodeCopied => '세션 코드가 클립보드에 복사되었습니다';
@override String get relayUnreachable => '릴레이 서버에 연결할 수 없습니다. 인터넷 제공업체가 연결을 차단하고 있을 수 있습니다. 시도해 볼 수 있지만 함께 보기가 작동하지 않을 수 있습니다.';
@override String get reconnectingToHost => '호스트에 재연결 중...';
@override String get currentPlayback => '현재 재생';
@override String get joinCurrentPlayback => '현재 재생 참여';
@override String get joinCurrentPlaybackDescription => '호스트가 현재 보고 있는 항목으로 돌아갑니다';
@override String get failedToOpenCurrentPlayback => '현재 재생을 열 수 없습니다';
@override String participantJoined({required Object name}) => '${name}님이 참여했습니다';
@override String participantLeft({required Object name}) => '${name}님이 나갔습니다';
}
@@ -987,6 +995,12 @@ class _TranslationsShadersKo implements TranslationsShadersEn {
@override String get qualityFast => '빠름';
@override String get qualityHQ => '고품질';
@override String get mode => '모드';
@override String get importShader => '셰이더 가져오기';
@override String get customShaderDescription => '사용자 정의 GLSL 셰이더';
@override String get shaderImported => '셰이더를 가져왔습니다';
@override String get shaderImportFailed => '셰이더 가져오기 실패';
@override String get deleteShader => '셰이더 삭제';
@override String deleteShaderConfirm({required Object name}) => '"${name}"을(를) 삭제하시겠습니까?';
}
// Path: companionRemote
@@ -996,7 +1010,7 @@ class _TranslationsCompanionRemoteKo implements TranslationsCompanionRemoteEn {
final TranslationsKo _root; // ignore: unused_field
// Translations
@override String get title => 'Companion Remote';
@override String get title => '컴패니언 리모컨';
@override String get connectToDevice => '기기에 연결';
@override String get hostRemoteSession => '원격 세션 호스트';
@override String get controlThisDevice => '휴대폰으로 이 기기를 제어하세요';
@@ -1183,6 +1197,7 @@ class _TranslationsLibrariesGroupingsKo implements TranslationsLibrariesGrouping
final TranslationsKo _root; // ignore: unused_field
// Translations
@override String get title => '그룹';
@override String get all => '전체';
@override String get movies => '영화';
@override String get shows => 'TV 프로그램';
@@ -1299,9 +1314,6 @@ extension on TranslationsKo {
'auth.signInWithPlex' => 'Plex 계정으로 로그인',
'auth.showQRCode' => 'QR 코드',
'auth.authenticate' => '인증',
'auth.debugEnterToken' => '디버깅을 위해 Plex 토큰을 입력하세요.',
'auth.plexTokenLabel' => 'Plex 인증 토큰',
'auth.plexTokenHint' => 'Plex.tv 토큰을 입력하세요',
'auth.authenticationTimeout' => '인증 시간이 초과되었습니다. 다시 시도해 주세요.',
'auth.scanQRToSignIn' => 'QR 코드를 스캔하여 로그인',
'auth.waitingForAuth' => '인증 대기 중... 브라우저에서 로그인을 완료해 주세요.',
@@ -1466,6 +1478,11 @@ extension on TranslationsKo {
'settings.autoSkipCreditsDescription' => '엔딩 크레딧 자동 건너뛰기 후 다음 에피소드 재생',
'settings.autoSkipDelay' => '자동 건너뛰기 지연',
'settings.autoSkipDelayDescription' => ({required Object seconds}) => '자동 건너뛰기 전 ${seconds} 초 대기',
'settings.introPattern' => '인트로 마커 패턴',
'settings.introPatternDescription' => '챕터 제목에서 인트로 마커를 인식하는 정규식 패턴',
'settings.creditsPattern' => '크레딧 마커 패턴',
'settings.creditsPatternDescription' => '챕터 제목에서 크레딧 마커를 인식하는 정규식 패턴',
'settings.invalidRegex' => '잘못된 정규식',
'settings.downloads' => '다운로드',
'settings.downloadLocationDescription' => '다운로드 콘텐츠 저장 위치 선택',
'settings.downloadLocationDefault' => '기본값 (앱 저장소)',
@@ -1489,12 +1506,14 @@ extension on TranslationsKo {
'settings.autoPipDescription' => '재생 중 앱을 나갈 때 자동으로 PIP 모드로 전환',
'settings.matchContentFrameRate' => '콘텐츠 프레임 레이트 맞춤',
'settings.matchContentFrameRateDescription' => '비디오 콘텐츠에 맞게 디스플레이 주사율을 조정하여 떨림을 줄이고 배터리를 절약합니다',
'settings.tunneledPlayback' => 'Tunneled Playback',
'settings.tunneledPlaybackDescription' => 'Use hardware-accelerated video tunneling. Disable if you see a black screen with audio on HDR content',
'settings.tunneledPlayback' => '터널 재생',
'settings.tunneledPlaybackDescription' => '하드웨어 가속 비디오 터널링을 사용합니다. HDR 콘텐츠에서 소리만 나고 검은 화면이 보이면 비활성화하세요',
'settings.requireProfileSelectionOnOpen' => '앱 실행 시 프로필 선택',
'settings.requireProfileSelectionOnOpenDescription' => '앱을 열 때마다 프로필 선택 화면을 표시합니다',
'settings.confirmExitOnBack' => '종료 전 확인',
'settings.confirmExitOnBackDescription' => '뒤로 버튼을 눌러 앱을 종료할 때 확인 대화상자를 표시합니다',
'settings.showNavBarLabels' => '내비게이션 바 라벨 표시',
'settings.showNavBarLabelsDescription' => '내비게이션 바 아이콘 아래에 텍스트 라벨을 표시합니다',
'search.hint' => '영화, 시리즈, 음악 등을 검색하세요...',
'search.tryDifferentTerm' => '다른 검색어를 시도해 보세요',
'search.searchYourMedia' => '미디어 검색',
@@ -1631,8 +1650,8 @@ extension on TranslationsKo {
'videoControls.pipErrors.unknown' => ({required Object error}) => '오류가 발생했습니다: ${error}',
'videoControls.chapters' => '챕터',
'videoControls.noChaptersAvailable' => '사용 가능한 챕터가 없습니다',
'videoControls.queue' => 'Queue',
'videoControls.noQueueItems' => 'No items in queue',
'videoControls.queue' => '재생 대기열',
'videoControls.noQueueItems' => '대기열에 항목이 없습니다',
'userStatus.admin' => '관리자',
'userStatus.restricted' => '제한됨',
'userStatus.protected' => '보호됨',
@@ -1667,9 +1686,9 @@ extension on TranslationsKo {
'messages.failedToCreatePlayQueueNoItems' => '재생 대기열 생성 실패 - 항목 없음',
'messages.failedPlayback' => ({required Object action, required Object error}) => '${action}을(를) 수행할 수 없습니다: ${error}',
'messages.switchingToCompatiblePlayer' => '호환되는 플레이어로 전환 중...',
'messages.logsUploaded' => 'Logs uploaded',
'messages.logsUploadFailed' => 'Failed to upload logs',
'messages.logId' => 'Log ID',
'messages.logsUploaded' => '로그 업로드 완료',
'messages.logsUploadFailed' => '로그 업로드 실패',
'messages.logId' => '로그 ID',
'subtitlingStyling.stylingOptions' => '스타일 옵션',
'subtitlingStyling.fontSize' => '글자 크기',
'subtitlingStyling.textColor' => '텍스트 색상',
@@ -1677,7 +1696,7 @@ extension on TranslationsKo {
'subtitlingStyling.borderColor' => '테두리 색상',
'subtitlingStyling.backgroundOpacity' => '배경 불투명도',
'subtitlingStyling.backgroundColor' => '배경색',
'subtitlingStyling.position' => 'Position',
'subtitlingStyling.position' => '위치',
'mpvConfig.title' => 'mpv 설정',
'mpvConfig.description' => '고급 비디오 플레이어 설정',
'mpvConfig.presets' => '사전 설정',
@@ -1761,6 +1780,7 @@ extension on TranslationsKo {
'libraries.tabs.browse' => '찾아보기',
'libraries.tabs.collections' => '컬렉션',
'libraries.tabs.playlists' => '재생 목록',
'libraries.groupings.title' => '그룹',
'libraries.groupings.all' => '전체',
'libraries.groupings.movies' => '영화',
'libraries.groupings.shows' => 'TV 프로그램',
@@ -1782,7 +1802,7 @@ extension on TranslationsKo {
'hubDetail.noItemsFound' => '항목이 없습니다',
'logs.clearLogs' => '로그 지우기',
'logs.copyLogs' => '로그 복사',
'logs.uploadLogs' => 'Upload Logs',
'logs.uploadLogs' => '로그 업로드',
'logs.error' => '오류:',
'logs.stackTrace' => '스택 추적 (Stack Trace):',
'licenses.relatedPackages' => '관련 소프트웨어 패키지',
@@ -1802,13 +1822,13 @@ extension on TranslationsKo {
'liveTv.nowPlaying' => '현재 재생 중',
'liveTv.noPrograms' => '프로그램 데이터가 없습니다',
'liveTv.channelNumber' => ({required Object number}) => '채널 ${number}',
_ => null,
} ?? switch (path) {
'liveTv.live' => '실시간',
'liveTv.hd' => 'HD',
'liveTv.premiere' => '신규',
'liveTv.reloadGuide' => '편성표 새로고침',
'liveTv.allChannels' => '전체 채널',
_ => null,
} ?? switch (path) {
'liveTv.now' => '지금',
'liveTv.today' => '오늘',
'liveTv.midnight' => '자정',
@@ -1909,6 +1929,10 @@ extension on TranslationsKo {
'watchTogether.sessionCodeCopied' => '세션 코드가 클립보드에 복사되었습니다',
'watchTogether.relayUnreachable' => '릴레이 서버에 연결할 수 없습니다. 인터넷 제공업체가 연결을 차단하고 있을 수 있습니다. 시도해 볼 수 있지만 함께 보기가 작동하지 않을 수 있습니다.',
'watchTogether.reconnectingToHost' => '호스트에 재연결 중...',
'watchTogether.currentPlayback' => '현재 재생',
'watchTogether.joinCurrentPlayback' => '현재 재생 참여',
'watchTogether.joinCurrentPlaybackDescription' => '호스트가 현재 보고 있는 항목으로 돌아갑니다',
'watchTogether.failedToOpenCurrentPlayback' => '현재 재생을 열 수 없습니다',
'watchTogether.participantJoined' => ({required Object name}) => '${name}님이 참여했습니다',
'watchTogether.participantLeft' => ({required Object name}) => '${name}님이 나갔습니다',
'downloads.title' => '다운로드',
@@ -1935,7 +1959,13 @@ extension on TranslationsKo {
'shaders.qualityFast' => '빠름',
'shaders.qualityHQ' => '고품질',
'shaders.mode' => '모드',
'companionRemote.title' => 'Companion Remote',
'shaders.importShader' => '셰이더 가져오기',
'shaders.customShaderDescription' => '사용자 정의 GLSL 셰이더',
'shaders.shaderImported' => '셰이더를 가져왔습니다',
'shaders.shaderImportFailed' => '셰이더 가져오기 실패',
'shaders.deleteShader' => '셰이더 삭제',
'shaders.deleteShaderConfirm' => ({required Object name}) => '"${name}"을(를) 삭제하시겠습니까?',
'companionRemote.title' => '컴패니언 리모컨',
'companionRemote.connectToDevice' => '기기에 연결',
'companionRemote.hostRemoteSession' => '원격 세션 호스트',
'companionRemote.controlThisDevice' => '휴대폰으로 이 기기를 제어하세요',
File diff suppressed because it is too large Load Diff
+58 -28
View File
@@ -97,9 +97,6 @@ class _TranslationsAuthNl implements TranslationsAuthEn {
@override String get signInWithPlex => 'Inloggen met Plex';
@override String get showQRCode => 'Toon QR-code';
@override String get authenticate => 'Authenticeren';
@override String get debugEnterToken => 'Debug: Voer Plex Token in';
@override String get plexTokenLabel => 'Plex Authenticatietoken';
@override String get plexTokenHint => 'Voer je Plex.tv token in';
@override String get authenticationTimeout => 'Authenticatie verlopen. Probeer opnieuw.';
@override String get scanQRToSignIn => 'Scan deze QR-code om in te loggen';
@override String get waitingForAuth => 'Wachten op authenticatie...\nVoltooi het inloggen in je browser.';
@@ -300,6 +297,11 @@ class _TranslationsSettingsNl implements TranslationsSettingsEn {
@override String get autoSkipCreditsDescription => 'Credits automatisch overslaan en volgende aflevering afspelen';
@override String get autoSkipDelay => 'Vertraging Automatisch Overslaan';
@override String autoSkipDelayDescription({required Object seconds}) => '${seconds} seconden wachten voor automatisch overslaan';
@override String get introPattern => 'Intromarkeringspatroon';
@override String get introPatternDescription => 'Reguliere expressie om intromarkeringen in hoofdstuktitels te herkennen';
@override String get creditsPattern => 'Aftitelingmarkeringspatroon';
@override String get creditsPatternDescription => 'Reguliere expressie om aftitelingmarkeringen in hoofdstuktitels te herkennen';
@override String get invalidRegex => 'Ongeldige reguliere expressie';
@override String get downloads => 'Downloads';
@override String get downloadLocationDescription => 'Kies waar gedownloade content wordt opgeslagen';
@override String get downloadLocationDefault => 'Standaard (App-opslag)';
@@ -323,12 +325,14 @@ class _TranslationsSettingsNl implements TranslationsSettingsEn {
@override String get autoPipDescription => 'Automatisch beeld-in-beeld activeren bij het verlaten van de app tijdens afspelen';
@override String get matchContentFrameRate => 'Inhoudsframesnelheid afstemmen';
@override String get matchContentFrameRateDescription => 'Pas de schermverversingssnelheid aan op de video-inhoud, vermindert haperingen en bespaart batterij';
@override String get tunneledPlayback => 'Tunneled Playback';
@override String get tunneledPlaybackDescription => 'Use hardware-accelerated video tunneling. Disable if you see a black screen with audio on HDR content';
@override String get tunneledPlayback => 'Getunnelde weergave';
@override String get tunneledPlaybackDescription => 'Gebruik hardwareversnelde videotunneling. Schakel uit als je een zwart scherm met geluid ziet bij HDR-content';
@override String get requireProfileSelectionOnOpen => 'Vraag om profiel bij openen';
@override String get requireProfileSelectionOnOpenDescription => 'Toon profielselectie telkens wanneer de app wordt geopend';
@override String get confirmExitOnBack => 'Bevestigen voor afsluiten';
@override String get confirmExitOnBackDescription => 'Toon een bevestigingsvenster bij het drukken op terug om de app af te sluiten';
@override String get showNavBarLabels => 'Navigatiebalk labels tonen';
@override String get showNavBarLabelsDescription => 'Tekstlabels onder de pictogrammen van de navigatiebalk weergeven';
}
// Path: search
@@ -513,8 +517,8 @@ class _TranslationsVideoControlsNl implements TranslationsVideoControlsEn {
@override late final _TranslationsVideoControlsPipErrorsNl pipErrors = _TranslationsVideoControlsPipErrorsNl._(_root);
@override String get chapters => 'Hoofdstukken';
@override String get noChaptersAvailable => 'Geen hoofdstukken beschikbaar';
@override String get queue => 'Queue';
@override String get noQueueItems => 'No items in queue';
@override String get queue => 'Wachtrij';
@override String get noQueueItems => 'Geen items in de wachtrij';
}
// Path: userStatus
@@ -567,9 +571,9 @@ class _TranslationsMessagesNl implements TranslationsMessagesEn {
@override String get failedToCreatePlayQueueNoItems => 'Kan afspeelwachtrij niet maken - geen items';
@override String failedPlayback({required Object action, required Object error}) => 'Afspelen van ${action} mislukt: ${error}';
@override String get switchingToCompatiblePlayer => 'Overschakelen naar compatibele speler...';
@override String get logsUploaded => 'Logs uploaded';
@override String get logsUploadFailed => 'Failed to upload logs';
@override String get logId => 'Log ID';
@override String get logsUploaded => 'Logs geüpload';
@override String get logsUploadFailed => 'Uploaden van logs mislukt';
@override String get logId => 'Log-ID';
}
// Path: subtitlingStyling
@@ -586,7 +590,7 @@ class _TranslationsSubtitlingStylingNl implements TranslationsSubtitlingStylingE
@override String get borderColor => 'Randkleur';
@override String get backgroundOpacity => 'Achtergrond transparantie';
@override String get backgroundColor => 'Achtergrondkleur';
@override String get position => 'Position';
@override String get position => 'Positie';
}
// Path: mpvConfig
@@ -764,7 +768,7 @@ class _TranslationsLogsNl implements TranslationsLogsEn {
// Translations
@override String get clearLogs => 'Wis logs';
@override String get copyLogs => 'Kopieer logs';
@override String get uploadLogs => 'Upload Logs';
@override String get uploadLogs => 'Logs uploaden';
@override String get error => 'Fout:';
@override String get stackTrace => 'Stacktracering:';
}
@@ -970,6 +974,10 @@ class _TranslationsWatchTogetherNl implements TranslationsWatchTogetherEn {
@override String get sessionCodeCopied => 'Sessiecode gekopieerd naar klembord';
@override String get relayUnreachable => 'De relayserver is niet bereikbaar. Dit kan worden veroorzaakt doordat je internetprovider de verbinding blokkeert. Je kunt het toch proberen, maar Watch Together werkt mogelijk niet.';
@override String get reconnectingToHost => 'Opnieuw verbinden met host...';
@override String get currentPlayback => 'Huidige weergave';
@override String get joinCurrentPlayback => 'Deelnemen aan huidige weergave';
@override String get joinCurrentPlaybackDescription => 'Ga terug naar wat de host nu kijkt';
@override String get failedToOpenCurrentPlayback => 'Huidige weergave kon niet worden geopend';
@override String participantJoined({required Object name}) => '${name} is toegetreden';
@override String participantLeft({required Object name}) => '${name} heeft de sessie verlaten';
}
@@ -987,6 +995,12 @@ class _TranslationsShadersNl implements TranslationsShadersEn {
@override String get qualityFast => 'Snel';
@override String get qualityHQ => 'Hoge kwaliteit';
@override String get mode => 'Modus';
@override String get importShader => 'Shader importeren';
@override String get customShaderDescription => 'Aangepaste GLSL-shader';
@override String get shaderImported => 'Shader geïmporteerd';
@override String get shaderImportFailed => 'Shader importeren mislukt';
@override String get deleteShader => 'Shader verwijderen';
@override String deleteShaderConfirm({required Object name}) => '"${name}" verwijderen?';
}
// Path: companionRemote
@@ -996,7 +1010,7 @@ class _TranslationsCompanionRemoteNl implements TranslationsCompanionRemoteEn {
final TranslationsNl _root; // ignore: unused_field
// Translations
@override String get title => 'Companion Remote';
@override String get title => 'Afstandsbediening';
@override String get connectToDevice => 'Verbinden met apparaat';
@override String get hostRemoteSession => 'Externe sessie hosten';
@override String get controlThisDevice => 'Bedien dit apparaat met je telefoon';
@@ -1183,6 +1197,7 @@ class _TranslationsLibrariesGroupingsNl implements TranslationsLibrariesGrouping
final TranslationsNl _root; // ignore: unused_field
// Translations
@override String get title => 'Groepering';
@override String get all => 'Alles';
@override String get movies => 'Films';
@override String get shows => 'Series';
@@ -1299,9 +1314,6 @@ extension on TranslationsNl {
'auth.signInWithPlex' => 'Inloggen met Plex',
'auth.showQRCode' => 'Toon QR-code',
'auth.authenticate' => 'Authenticeren',
'auth.debugEnterToken' => 'Debug: Voer Plex Token in',
'auth.plexTokenLabel' => 'Plex Authenticatietoken',
'auth.plexTokenHint' => 'Voer je Plex.tv token in',
'auth.authenticationTimeout' => 'Authenticatie verlopen. Probeer opnieuw.',
'auth.scanQRToSignIn' => 'Scan deze QR-code om in te loggen',
'auth.waitingForAuth' => 'Wachten op authenticatie...\nVoltooi het inloggen in je browser.',
@@ -1466,6 +1478,11 @@ extension on TranslationsNl {
'settings.autoSkipCreditsDescription' => 'Credits automatisch overslaan en volgende aflevering afspelen',
'settings.autoSkipDelay' => 'Vertraging Automatisch Overslaan',
'settings.autoSkipDelayDescription' => ({required Object seconds}) => '${seconds} seconden wachten voor automatisch overslaan',
'settings.introPattern' => 'Intromarkeringspatroon',
'settings.introPatternDescription' => 'Reguliere expressie om intromarkeringen in hoofdstuktitels te herkennen',
'settings.creditsPattern' => 'Aftitelingmarkeringspatroon',
'settings.creditsPatternDescription' => 'Reguliere expressie om aftitelingmarkeringen in hoofdstuktitels te herkennen',
'settings.invalidRegex' => 'Ongeldige reguliere expressie',
'settings.downloads' => 'Downloads',
'settings.downloadLocationDescription' => 'Kies waar gedownloade content wordt opgeslagen',
'settings.downloadLocationDefault' => 'Standaard (App-opslag)',
@@ -1489,12 +1506,14 @@ extension on TranslationsNl {
'settings.autoPipDescription' => 'Automatisch beeld-in-beeld activeren bij het verlaten van de app tijdens afspelen',
'settings.matchContentFrameRate' => 'Inhoudsframesnelheid afstemmen',
'settings.matchContentFrameRateDescription' => 'Pas de schermverversingssnelheid aan op de video-inhoud, vermindert haperingen en bespaart batterij',
'settings.tunneledPlayback' => 'Tunneled Playback',
'settings.tunneledPlaybackDescription' => 'Use hardware-accelerated video tunneling. Disable if you see a black screen with audio on HDR content',
'settings.tunneledPlayback' => 'Getunnelde weergave',
'settings.tunneledPlaybackDescription' => 'Gebruik hardwareversnelde videotunneling. Schakel uit als je een zwart scherm met geluid ziet bij HDR-content',
'settings.requireProfileSelectionOnOpen' => 'Vraag om profiel bij openen',
'settings.requireProfileSelectionOnOpenDescription' => 'Toon profielselectie telkens wanneer de app wordt geopend',
'settings.confirmExitOnBack' => 'Bevestigen voor afsluiten',
'settings.confirmExitOnBackDescription' => 'Toon een bevestigingsvenster bij het drukken op terug om de app af te sluiten',
'settings.showNavBarLabels' => 'Navigatiebalk labels tonen',
'settings.showNavBarLabelsDescription' => 'Tekstlabels onder de pictogrammen van de navigatiebalk weergeven',
'search.hint' => 'Zoek films, series, muziek...',
'search.tryDifferentTerm' => 'Probeer een andere zoekterm',
'search.searchYourMedia' => 'Zoek in je media',
@@ -1631,8 +1650,8 @@ extension on TranslationsNl {
'videoControls.pipErrors.unknown' => ({required Object error}) => 'Er is een fout opgetreden: ${error}',
'videoControls.chapters' => 'Hoofdstukken',
'videoControls.noChaptersAvailable' => 'Geen hoofdstukken beschikbaar',
'videoControls.queue' => 'Queue',
'videoControls.noQueueItems' => 'No items in queue',
'videoControls.queue' => 'Wachtrij',
'videoControls.noQueueItems' => 'Geen items in de wachtrij',
'userStatus.admin' => 'Beheerder',
'userStatus.restricted' => 'Beperkt',
'userStatus.protected' => 'Beschermd',
@@ -1667,9 +1686,9 @@ extension on TranslationsNl {
'messages.failedToCreatePlayQueueNoItems' => 'Kan afspeelwachtrij niet maken - geen items',
'messages.failedPlayback' => ({required Object action, required Object error}) => 'Afspelen van ${action} mislukt: ${error}',
'messages.switchingToCompatiblePlayer' => 'Overschakelen naar compatibele speler...',
'messages.logsUploaded' => 'Logs uploaded',
'messages.logsUploadFailed' => 'Failed to upload logs',
'messages.logId' => 'Log ID',
'messages.logsUploaded' => 'Logs geüpload',
'messages.logsUploadFailed' => 'Uploaden van logs mislukt',
'messages.logId' => 'Log-ID',
'subtitlingStyling.stylingOptions' => 'Opmaak opties',
'subtitlingStyling.fontSize' => 'Lettergrootte',
'subtitlingStyling.textColor' => 'Tekstkleur',
@@ -1677,7 +1696,7 @@ extension on TranslationsNl {
'subtitlingStyling.borderColor' => 'Randkleur',
'subtitlingStyling.backgroundOpacity' => 'Achtergrond transparantie',
'subtitlingStyling.backgroundColor' => 'Achtergrondkleur',
'subtitlingStyling.position' => 'Position',
'subtitlingStyling.position' => 'Positie',
'mpvConfig.title' => 'mpv-configuratie',
'mpvConfig.description' => 'Geavanceerde videospeler-instellingen',
'mpvConfig.presets' => 'Voorinstellingen',
@@ -1761,6 +1780,7 @@ extension on TranslationsNl {
'libraries.tabs.browse' => 'Bladeren',
'libraries.tabs.collections' => 'Collecties',
'libraries.tabs.playlists' => 'Afspeellijsten',
'libraries.groupings.title' => 'Groepering',
'libraries.groupings.all' => 'Alles',
'libraries.groupings.movies' => 'Films',
'libraries.groupings.shows' => 'Series',
@@ -1782,7 +1802,7 @@ extension on TranslationsNl {
'hubDetail.noItemsFound' => 'Geen items gevonden',
'logs.clearLogs' => 'Wis logs',
'logs.copyLogs' => 'Kopieer logs',
'logs.uploadLogs' => 'Upload Logs',
'logs.uploadLogs' => 'Logs uploaden',
'logs.error' => 'Fout:',
'logs.stackTrace' => 'Stacktracering:',
'licenses.relatedPackages' => 'Gerelateerde pakketten',
@@ -1802,13 +1822,13 @@ extension on TranslationsNl {
'liveTv.nowPlaying' => 'Nu aan het afspelen',
'liveTv.noPrograms' => 'Geen programmagegevens beschikbaar',
'liveTv.channelNumber' => ({required Object number}) => 'Kanaal ${number}',
_ => null,
} ?? switch (path) {
'liveTv.live' => 'LIVE',
'liveTv.hd' => 'HD',
'liveTv.premiere' => 'NIEUW',
'liveTv.reloadGuide' => 'Gids herladen',
'liveTv.allChannels' => 'Alle zenders',
_ => null,
} ?? switch (path) {
'liveTv.now' => 'Nu',
'liveTv.today' => 'Vandaag',
'liveTv.midnight' => 'Middernacht',
@@ -1927,6 +1947,10 @@ extension on TranslationsNl {
'watchTogether.sessionCodeCopied' => 'Sessiecode gekopieerd naar klembord',
'watchTogether.relayUnreachable' => 'De relayserver is niet bereikbaar. Dit kan worden veroorzaakt doordat je internetprovider de verbinding blokkeert. Je kunt het toch proberen, maar Watch Together werkt mogelijk niet.',
'watchTogether.reconnectingToHost' => 'Opnieuw verbinden met host...',
'watchTogether.currentPlayback' => 'Huidige weergave',
'watchTogether.joinCurrentPlayback' => 'Deelnemen aan huidige weergave',
'watchTogether.joinCurrentPlaybackDescription' => 'Ga terug naar wat de host nu kijkt',
'watchTogether.failedToOpenCurrentPlayback' => 'Huidige weergave kon niet worden geopend',
'watchTogether.participantJoined' => ({required Object name}) => '${name} is toegetreden',
'watchTogether.participantLeft' => ({required Object name}) => '${name} heeft de sessie verlaten',
'shaders.title' => 'Shaders',
@@ -1935,7 +1959,13 @@ extension on TranslationsNl {
'shaders.qualityFast' => 'Snel',
'shaders.qualityHQ' => 'Hoge kwaliteit',
'shaders.mode' => 'Modus',
'companionRemote.title' => 'Companion Remote',
'shaders.importShader' => 'Shader importeren',
'shaders.customShaderDescription' => 'Aangepaste GLSL-shader',
'shaders.shaderImported' => 'Shader geïmporteerd',
'shaders.shaderImportFailed' => 'Shader importeren mislukt',
'shaders.deleteShader' => 'Shader verwijderen',
'shaders.deleteShaderConfirm' => ({required Object name}) => '"${name}" verwijderen?',
'companionRemote.title' => 'Afstandsbediening',
'companionRemote.connectToDevice' => 'Verbinden met apparaat',
'companionRemote.hostRemoteSession' => 'Externe sessie hosten',
'companionRemote.controlThisDevice' => 'Bedien dit apparaat met je telefoon',
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+56 -26
View File
@@ -97,9 +97,6 @@ class _TranslationsAuthSv implements TranslationsAuthEn {
@override String get signInWithPlex => 'Logga in med Plex';
@override String get showQRCode => 'Visa QR-kod';
@override String get authenticate => 'Autentisera';
@override String get debugEnterToken => 'Debug: Ange Plex-token';
@override String get plexTokenLabel => 'Plex-autentiseringstoken';
@override String get plexTokenHint => 'Ange din Plex.tv-token';
@override String get authenticationTimeout => 'Autentisering tog för lång tid. Försök igen.';
@override String get scanQRToSignIn => 'Skanna QR-koden för att logga in';
@override String get waitingForAuth => 'Väntar på autentisering...\nVänligen slutför inloggning i din webbläsare.';
@@ -300,6 +297,11 @@ class _TranslationsSettingsSv implements TranslationsSettingsEn {
@override String get autoSkipCreditsDescription => 'Hoppa automatiskt över credits och spela nästa avsnitt';
@override String get autoSkipDelay => 'Fördröjning Auto Hoppa Över';
@override String autoSkipDelayDescription({required Object seconds}) => 'Vänta ${seconds} sekunder innan automatisk överhoppning';
@override String get introPattern => 'Intromarkörsmönster';
@override String get introPatternDescription => 'Reguljärt uttryck för att matcha intromarkörer i kapiteltitlar';
@override String get creditsPattern => 'Eftertextmarkörsmönster';
@override String get creditsPatternDescription => 'Reguljärt uttryck för att matcha eftertextmarkörer i kapiteltitlar';
@override String get invalidRegex => 'Ogiltigt reguljärt uttryck';
@override String get downloads => 'Nedladdningar';
@override String get downloadLocationDescription => 'Välj var nedladdat innehåll ska lagras';
@override String get downloadLocationDefault => 'Standard (App-lagring)';
@@ -323,12 +325,14 @@ class _TranslationsSettingsSv implements TranslationsSettingsEn {
@override String get autoPipDescription => 'Aktivera bild-i-bild automatiskt när appen lämnas under uppspelning';
@override String get matchContentFrameRate => 'Matcha innehållets bildfrekvens';
@override String get matchContentFrameRateDescription => 'Justera skärmens uppdateringsfrekvens för att matcha videoinnehållet, minskar hackighet och sparar batteri';
@override String get tunneledPlayback => 'Tunneled Playback';
@override String get tunneledPlaybackDescription => 'Use hardware-accelerated video tunneling. Disable if you see a black screen with audio on HDR content';
@override String get tunneledPlayback => 'Tunneluppspelning';
@override String get tunneledPlaybackDescription => 'Använd hårdvaruaccelererad videotunnling. Inaktivera om du ser en svart skärm med ljud vid HDR-innehåll';
@override String get requireProfileSelectionOnOpen => 'Fråga efter profil vid appstart';
@override String get requireProfileSelectionOnOpenDescription => 'Visa profilval varje gång appen öppnas';
@override String get confirmExitOnBack => 'Bekräfta innan avslut';
@override String get confirmExitOnBackDescription => 'Visa en bekräftelsedialog när du trycker tillbaka för att avsluta appen';
@override String get showNavBarLabels => 'Visa navigeringsfältets etiketter';
@override String get showNavBarLabelsDescription => 'Visa textetiketter under navigeringsfältets ikoner';
}
// Path: search
@@ -513,8 +517,8 @@ class _TranslationsVideoControlsSv implements TranslationsVideoControlsEn {
@override late final _TranslationsVideoControlsPipErrorsSv pipErrors = _TranslationsVideoControlsPipErrorsSv._(_root);
@override String get chapters => 'Kapitel';
@override String get noChaptersAvailable => 'Inga kapitel tillgängliga';
@override String get queue => 'Queue';
@override String get noQueueItems => 'No items in queue';
@override String get queue => 'Kö';
@override String get noQueueItems => 'Inga objekt i kön';
}
// Path: userStatus
@@ -567,9 +571,9 @@ class _TranslationsMessagesSv implements TranslationsMessagesEn {
@override String get failedToCreatePlayQueueNoItems => 'Det gick inte att skapa uppspelningskö – inga objekt';
@override String failedPlayback({required Object action, required Object error}) => 'Kunde inte ${action}: ${error}';
@override String get switchingToCompatiblePlayer => 'Byter till kompatibel spelare...';
@override String get logsUploaded => 'Logs uploaded';
@override String get logsUploadFailed => 'Failed to upload logs';
@override String get logId => 'Log ID';
@override String get logsUploaded => 'Loggar uppladdade';
@override String get logsUploadFailed => 'Uppladdning av loggar misslyckades';
@override String get logId => 'Logg-ID';
}
// Path: subtitlingStyling
@@ -764,7 +768,7 @@ class _TranslationsLogsSv implements TranslationsLogsEn {
// Translations
@override String get clearLogs => 'Rensa loggar';
@override String get copyLogs => 'Kopiera loggar';
@override String get uploadLogs => 'Upload Logs';
@override String get uploadLogs => 'Ladda upp loggar';
@override String get error => 'Fel:';
@override String get stackTrace => 'Stack trace:';
}
@@ -970,6 +974,10 @@ class _TranslationsWatchTogetherSv implements TranslationsWatchTogetherEn {
@override String get sessionCodeCopied => 'Sessionskod kopierad till urklipp';
@override String get relayUnreachable => 'Reläservern kan inte nås. Detta kan bero på att din internetleverantör blockerar anslutningen. Du kan fortfarande försöka, men Watch Together kanske inte fungerar.';
@override String get reconnectingToHost => 'Återansluter till värd...';
@override String get currentPlayback => 'Aktuell uppspelning';
@override String get joinCurrentPlayback => 'Gå med i aktuell uppspelning';
@override String get joinCurrentPlaybackDescription => 'Hoppa tillbaka till det värden tittar på just nu';
@override String get failedToOpenCurrentPlayback => 'Kunde inte öppna aktuell uppspelning';
@override String participantJoined({required Object name}) => '${name} gick med';
@override String participantLeft({required Object name}) => '${name} lämnade';
}
@@ -987,6 +995,12 @@ class _TranslationsShadersSv implements TranslationsShadersEn {
@override String get qualityFast => 'Snabb';
@override String get qualityHQ => 'Hög kvalitet';
@override String get mode => 'Läge';
@override String get importShader => 'Importera shader';
@override String get customShaderDescription => 'Anpassad GLSL-shader';
@override String get shaderImported => 'Shader importerad';
@override String get shaderImportFailed => 'Kunde inte importera shader';
@override String get deleteShader => 'Ta bort shader';
@override String deleteShaderConfirm({required Object name}) => 'Ta bort "${name}"?';
}
// Path: companionRemote
@@ -996,7 +1010,7 @@ class _TranslationsCompanionRemoteSv implements TranslationsCompanionRemoteEn {
final TranslationsSv _root; // ignore: unused_field
// Translations
@override String get title => 'Companion Remote';
@override String get title => 'Fjärrkontroll';
@override String get connectToDevice => 'Anslut till enhet';
@override String get hostRemoteSession => 'Starta fjärrsession';
@override String get controlThisDevice => 'Styr den här enheten med din telefon';
@@ -1183,6 +1197,7 @@ class _TranslationsLibrariesGroupingsSv implements TranslationsLibrariesGrouping
final TranslationsSv _root; // ignore: unused_field
// Translations
@override String get title => 'Gruppering';
@override String get all => 'Alla';
@override String get movies => 'Filmer';
@override String get shows => 'Serier';
@@ -1299,9 +1314,6 @@ extension on TranslationsSv {
'auth.signInWithPlex' => 'Logga in med Plex',
'auth.showQRCode' => 'Visa QR-kod',
'auth.authenticate' => 'Autentisera',
'auth.debugEnterToken' => 'Debug: Ange Plex-token',
'auth.plexTokenLabel' => 'Plex-autentiseringstoken',
'auth.plexTokenHint' => 'Ange din Plex.tv-token',
'auth.authenticationTimeout' => 'Autentisering tog för lång tid. Försök igen.',
'auth.scanQRToSignIn' => 'Skanna QR-koden för att logga in',
'auth.waitingForAuth' => 'Väntar på autentisering...\nVänligen slutför inloggning i din webbläsare.',
@@ -1466,6 +1478,11 @@ extension on TranslationsSv {
'settings.autoSkipCreditsDescription' => 'Hoppa automatiskt över credits och spela nästa avsnitt',
'settings.autoSkipDelay' => 'Fördröjning Auto Hoppa Över',
'settings.autoSkipDelayDescription' => ({required Object seconds}) => 'Vänta ${seconds} sekunder innan automatisk överhoppning',
'settings.introPattern' => 'Intromarkörsmönster',
'settings.introPatternDescription' => 'Reguljärt uttryck för att matcha intromarkörer i kapiteltitlar',
'settings.creditsPattern' => 'Eftertextmarkörsmönster',
'settings.creditsPatternDescription' => 'Reguljärt uttryck för att matcha eftertextmarkörer i kapiteltitlar',
'settings.invalidRegex' => 'Ogiltigt reguljärt uttryck',
'settings.downloads' => 'Nedladdningar',
'settings.downloadLocationDescription' => 'Välj var nedladdat innehåll ska lagras',
'settings.downloadLocationDefault' => 'Standard (App-lagring)',
@@ -1489,12 +1506,14 @@ extension on TranslationsSv {
'settings.autoPipDescription' => 'Aktivera bild-i-bild automatiskt när appen lämnas under uppspelning',
'settings.matchContentFrameRate' => 'Matcha innehållets bildfrekvens',
'settings.matchContentFrameRateDescription' => 'Justera skärmens uppdateringsfrekvens för att matcha videoinnehållet, minskar hackighet och sparar batteri',
'settings.tunneledPlayback' => 'Tunneled Playback',
'settings.tunneledPlaybackDescription' => 'Use hardware-accelerated video tunneling. Disable if you see a black screen with audio on HDR content',
'settings.tunneledPlayback' => 'Tunneluppspelning',
'settings.tunneledPlaybackDescription' => 'Använd hårdvaruaccelererad videotunnling. Inaktivera om du ser en svart skärm med ljud vid HDR-innehåll',
'settings.requireProfileSelectionOnOpen' => 'Fråga efter profil vid appstart',
'settings.requireProfileSelectionOnOpenDescription' => 'Visa profilval varje gång appen öppnas',
'settings.confirmExitOnBack' => 'Bekräfta innan avslut',
'settings.confirmExitOnBackDescription' => 'Visa en bekräftelsedialog när du trycker tillbaka för att avsluta appen',
'settings.showNavBarLabels' => 'Visa navigeringsfältets etiketter',
'settings.showNavBarLabelsDescription' => 'Visa textetiketter under navigeringsfältets ikoner',
'search.hint' => 'Sök filmer, serier, musik...',
'search.tryDifferentTerm' => 'Prova en annan sökterm',
'search.searchYourMedia' => 'Sök i dina media',
@@ -1631,8 +1650,8 @@ extension on TranslationsSv {
'videoControls.pipErrors.unknown' => ({required Object error}) => 'Ett fel uppstod: ${error}',
'videoControls.chapters' => 'Kapitel',
'videoControls.noChaptersAvailable' => 'Inga kapitel tillgängliga',
'videoControls.queue' => 'Queue',
'videoControls.noQueueItems' => 'No items in queue',
'videoControls.queue' => 'Kö',
'videoControls.noQueueItems' => 'Inga objekt i kön',
'userStatus.admin' => 'Admin',
'userStatus.restricted' => 'Begränsad',
'userStatus.protected' => 'Skyddad',
@@ -1667,9 +1686,9 @@ extension on TranslationsSv {
'messages.failedToCreatePlayQueueNoItems' => 'Det gick inte att skapa uppspelningskö – inga objekt',
'messages.failedPlayback' => ({required Object action, required Object error}) => 'Kunde inte ${action}: ${error}',
'messages.switchingToCompatiblePlayer' => 'Byter till kompatibel spelare...',
'messages.logsUploaded' => 'Logs uploaded',
'messages.logsUploadFailed' => 'Failed to upload logs',
'messages.logId' => 'Log ID',
'messages.logsUploaded' => 'Loggar uppladdade',
'messages.logsUploadFailed' => 'Uppladdning av loggar misslyckades',
'messages.logId' => 'Logg-ID',
'subtitlingStyling.stylingOptions' => 'Stilalternativ',
'subtitlingStyling.fontSize' => 'Teckenstorlek',
'subtitlingStyling.textColor' => 'Textfärg',
@@ -1761,6 +1780,7 @@ extension on TranslationsSv {
'libraries.tabs.browse' => 'Bläddra',
'libraries.tabs.collections' => 'Samlingar',
'libraries.tabs.playlists' => 'Spellistor',
'libraries.groupings.title' => 'Gruppering',
'libraries.groupings.all' => 'Alla',
'libraries.groupings.movies' => 'Filmer',
'libraries.groupings.shows' => 'Serier',
@@ -1782,7 +1802,7 @@ extension on TranslationsSv {
'hubDetail.noItemsFound' => 'Inga objekt hittades',
'logs.clearLogs' => 'Rensa loggar',
'logs.copyLogs' => 'Kopiera loggar',
'logs.uploadLogs' => 'Upload Logs',
'logs.uploadLogs' => 'Ladda upp loggar',
'logs.error' => 'Fel:',
'logs.stackTrace' => 'Stack trace:',
'licenses.relatedPackages' => 'Relaterade paket',
@@ -1802,13 +1822,13 @@ extension on TranslationsSv {
'liveTv.nowPlaying' => 'Spelas nu',
'liveTv.noPrograms' => 'Ingen programdata tillgänglig',
'liveTv.channelNumber' => ({required Object number}) => 'Kanal ${number}',
_ => null,
} ?? switch (path) {
'liveTv.live' => 'LIVE',
'liveTv.hd' => 'HD',
'liveTv.premiere' => 'NY',
'liveTv.reloadGuide' => 'Ladda om programguide',
'liveTv.allChannels' => 'Alla kanaler',
_ => null,
} ?? switch (path) {
'liveTv.now' => 'Nu',
'liveTv.today' => 'Idag',
'liveTv.midnight' => 'Midnatt',
@@ -1927,6 +1947,10 @@ extension on TranslationsSv {
'watchTogether.sessionCodeCopied' => 'Sessionskod kopierad till urklipp',
'watchTogether.relayUnreachable' => 'Reläservern kan inte nås. Detta kan bero på att din internetleverantör blockerar anslutningen. Du kan fortfarande försöka, men Watch Together kanske inte fungerar.',
'watchTogether.reconnectingToHost' => 'Återansluter till värd...',
'watchTogether.currentPlayback' => 'Aktuell uppspelning',
'watchTogether.joinCurrentPlayback' => 'Gå med i aktuell uppspelning',
'watchTogether.joinCurrentPlaybackDescription' => 'Hoppa tillbaka till det värden tittar på just nu',
'watchTogether.failedToOpenCurrentPlayback' => 'Kunde inte öppna aktuell uppspelning',
'watchTogether.participantJoined' => ({required Object name}) => '${name} gick med',
'watchTogether.participantLeft' => ({required Object name}) => '${name} lämnade',
'shaders.title' => 'Shaders',
@@ -1935,7 +1959,13 @@ extension on TranslationsSv {
'shaders.qualityFast' => 'Snabb',
'shaders.qualityHQ' => 'Hög kvalitet',
'shaders.mode' => 'Läge',
'companionRemote.title' => 'Companion Remote',
'shaders.importShader' => 'Importera shader',
'shaders.customShaderDescription' => 'Anpassad GLSL-shader',
'shaders.shaderImported' => 'Shader importerad',
'shaders.shaderImportFailed' => 'Kunde inte importera shader',
'shaders.deleteShader' => 'Ta bort shader',
'shaders.deleteShaderConfirm' => ({required Object name}) => 'Ta bort "${name}"?',
'companionRemote.title' => 'Fjärrkontroll',
'companionRemote.connectToDevice' => 'Anslut till enhet',
'companionRemote.hostRemoteSession' => 'Starta fjärrsession',
'companionRemote.controlThisDevice' => 'Styr den här enheten med din telefon',
+58 -28
View File
@@ -97,9 +97,6 @@ class _TranslationsAuthZh implements TranslationsAuthEn {
@override String get signInWithPlex => '使用 Plex 登录';
@override String get showQRCode => '显示二维码';
@override String get authenticate => '验证';
@override String get debugEnterToken => '调试:输入 Plex Token';
@override String get plexTokenLabel => 'Plex 授权令牌 (Auth Token)';
@override String get plexTokenHint => '输入你的 Plex.tv 令牌';
@override String get authenticationTimeout => '验证超时。请重试。';
@override String get scanQRToSignIn => '扫描二维码登录';
@override String get waitingForAuth => '等待验证中...\n请在你的浏览器中完成登录。';
@@ -300,6 +297,11 @@ class _TranslationsSettingsZh implements TranslationsSettingsEn {
@override String get autoSkipCreditsDescription => '自动跳过片尾并播放下一集';
@override String get autoSkipDelay => '自动跳过延迟';
@override String autoSkipDelayDescription({required Object seconds}) => '自动跳过前等待 ${seconds} 秒';
@override String get introPattern => '片头标记模式';
@override String get introPatternDescription => '用于匹配章节标题中片头标记的正则表达式';
@override String get creditsPattern => '片尾标记模式';
@override String get creditsPatternDescription => '用于匹配章节标题中片尾标记的正则表达式';
@override String get invalidRegex => '无效的正则表达式';
@override String get downloads => '下载';
@override String get downloadLocationDescription => '选择下载内容的存储位置';
@override String get downloadLocationDefault => '默认(应用存储)';
@@ -323,12 +325,14 @@ class _TranslationsSettingsZh implements TranslationsSettingsEn {
@override String get autoPipDescription => '在播放期间离开应用时自动进入画中画模式';
@override String get matchContentFrameRate => '匹配内容帧率';
@override String get matchContentFrameRateDescription => '调整显示刷新率以匹配视频内容,减少画面抖动并节省电量';
@override String get tunneledPlayback => 'Tunneled Playback';
@override String get tunneledPlaybackDescription => 'Use hardware-accelerated video tunneling. Disable if you see a black screen with audio on HDR content';
@override String get tunneledPlayback => '通道化播放';
@override String get tunneledPlaybackDescription => '使用硬件加速视频通道。如果在 HDR 内容上看到黑屏但有声音,请禁用此选项';
@override String get requireProfileSelectionOnOpen => '打开应用时询问配置文件';
@override String get requireProfileSelectionOnOpenDescription => '每次打开应用时显示配置文件选择';
@override String get confirmExitOnBack => '退出前确认';
@override String get confirmExitOnBackDescription => '按返回键退出应用时显示确认对话框';
@override String get showNavBarLabels => '显示导航栏标签';
@override String get showNavBarLabelsDescription => '在导航栏图标下方显示文字标签';
}
// Path: search
@@ -513,8 +517,8 @@ class _TranslationsVideoControlsZh implements TranslationsVideoControlsEn {
@override late final _TranslationsVideoControlsPipErrorsZh pipErrors = _TranslationsVideoControlsPipErrorsZh._(_root);
@override String get chapters => '章节';
@override String get noChaptersAvailable => '没有可用的章节';
@override String get queue => 'Queue';
@override String get noQueueItems => 'No items in queue';
@override String get queue => '播放队列';
@override String get noQueueItems => '队列中没有项目';
}
// Path: userStatus
@@ -567,9 +571,9 @@ class _TranslationsMessagesZh implements TranslationsMessagesEn {
@override String get failedToCreatePlayQueueNoItems => '创建播放队列失败 - 没有项目';
@override String failedPlayback({required Object action, required Object error}) => '无法${action}: ${error}';
@override String get switchingToCompatiblePlayer => '正在切换到兼容的播放器...';
@override String get logsUploaded => 'Logs uploaded';
@override String get logsUploadFailed => 'Failed to upload logs';
@override String get logId => 'Log ID';
@override String get logsUploaded => '日志已上传';
@override String get logsUploadFailed => '上传日志失败';
@override String get logId => '日志 ID';
}
// Path: subtitlingStyling
@@ -586,7 +590,7 @@ class _TranslationsSubtitlingStylingZh implements TranslationsSubtitlingStylingE
@override String get borderColor => '边框颜色';
@override String get backgroundOpacity => '背景不透明度';
@override String get backgroundColor => '背景颜色';
@override String get position => 'Position';
@override String get position => '位置';
}
// Path: mpvConfig
@@ -764,7 +768,7 @@ class _TranslationsLogsZh implements TranslationsLogsEn {
// Translations
@override String get clearLogs => '清除日志';
@override String get copyLogs => '复制日志';
@override String get uploadLogs => 'Upload Logs';
@override String get uploadLogs => '上传日志';
@override String get error => '错误:';
@override String get stackTrace => '堆栈跟踪 (Stack Trace):';
}
@@ -970,6 +974,10 @@ class _TranslationsWatchTogetherZh implements TranslationsWatchTogetherEn {
@override String get sessionCodeCopied => '会话代码已复制到剪贴板';
@override String get relayUnreachable => '无法连接到中继服务器。这可能是由于您的网络运营商屏蔽了连接。您仍然可以尝试,但一起观看功能可能无法正常使用。';
@override String get reconnectingToHost => '正在重新连接到主持人...';
@override String get currentPlayback => '当前播放';
@override String get joinCurrentPlayback => '加入当前播放';
@override String get joinCurrentPlaybackDescription => '回到房主当前正在观看的内容';
@override String get failedToOpenCurrentPlayback => '无法打开当前播放';
@override String participantJoined({required Object name}) => '${name} 加入了';
@override String participantLeft({required Object name}) => '${name} 离开了';
}
@@ -987,6 +995,12 @@ class _TranslationsShadersZh implements TranslationsShadersEn {
@override String get qualityFast => '快速';
@override String get qualityHQ => '高质量';
@override String get mode => '模式';
@override String get importShader => '导入着色器';
@override String get customShaderDescription => '自定义 GLSL 着色器';
@override String get shaderImported => '着色器已导入';
@override String get shaderImportFailed => '导入着色器失败';
@override String get deleteShader => '删除着色器';
@override String deleteShaderConfirm({required Object name}) => '删除"${name}"?';
}
// Path: companionRemote
@@ -996,7 +1010,7 @@ class _TranslationsCompanionRemoteZh implements TranslationsCompanionRemoteEn {
final TranslationsZh _root; // ignore: unused_field
// Translations
@override String get title => 'Companion Remote';
@override String get title => '伴侣遥控';
@override String get connectToDevice => '连接到设备';
@override String get hostRemoteSession => '创建远程会话';
@override String get controlThisDevice => '使用手机控制此设备';
@@ -1183,6 +1197,7 @@ class _TranslationsLibrariesGroupingsZh implements TranslationsLibrariesGrouping
final TranslationsZh _root; // ignore: unused_field
// Translations
@override String get title => '分组';
@override String get all => '全部';
@override String get movies => '电影';
@override String get shows => '剧集';
@@ -1299,9 +1314,6 @@ extension on TranslationsZh {
'auth.signInWithPlex' => '使用 Plex 登录',
'auth.showQRCode' => '显示二维码',
'auth.authenticate' => '验证',
'auth.debugEnterToken' => '调试:输入 Plex Token',
'auth.plexTokenLabel' => 'Plex 授权令牌 (Auth Token)',
'auth.plexTokenHint' => '输入你的 Plex.tv 令牌',
'auth.authenticationTimeout' => '验证超时。请重试。',
'auth.scanQRToSignIn' => '扫描二维码登录',
'auth.waitingForAuth' => '等待验证中...\n请在你的浏览器中完成登录。',
@@ -1466,6 +1478,11 @@ extension on TranslationsZh {
'settings.autoSkipCreditsDescription' => '自动跳过片尾并播放下一集',
'settings.autoSkipDelay' => '自动跳过延迟',
'settings.autoSkipDelayDescription' => ({required Object seconds}) => '自动跳过前等待 ${seconds} 秒',
'settings.introPattern' => '片头标记模式',
'settings.introPatternDescription' => '用于匹配章节标题中片头标记的正则表达式',
'settings.creditsPattern' => '片尾标记模式',
'settings.creditsPatternDescription' => '用于匹配章节标题中片尾标记的正则表达式',
'settings.invalidRegex' => '无效的正则表达式',
'settings.downloads' => '下载',
'settings.downloadLocationDescription' => '选择下载内容的存储位置',
'settings.downloadLocationDefault' => '默认(应用存储)',
@@ -1489,12 +1506,14 @@ extension on TranslationsZh {
'settings.autoPipDescription' => '在播放期间离开应用时自动进入画中画模式',
'settings.matchContentFrameRate' => '匹配内容帧率',
'settings.matchContentFrameRateDescription' => '调整显示刷新率以匹配视频内容,减少画面抖动并节省电量',
'settings.tunneledPlayback' => 'Tunneled Playback',
'settings.tunneledPlaybackDescription' => 'Use hardware-accelerated video tunneling. Disable if you see a black screen with audio on HDR content',
'settings.tunneledPlayback' => '通道化播放',
'settings.tunneledPlaybackDescription' => '使用硬件加速视频通道。如果在 HDR 内容上看到黑屏但有声音,请禁用此选项',
'settings.requireProfileSelectionOnOpen' => '打开应用时询问配置文件',
'settings.requireProfileSelectionOnOpenDescription' => '每次打开应用时显示配置文件选择',
'settings.confirmExitOnBack' => '退出前确认',
'settings.confirmExitOnBackDescription' => '按返回键退出应用时显示确认对话框',
'settings.showNavBarLabels' => '显示导航栏标签',
'settings.showNavBarLabelsDescription' => '在导航栏图标下方显示文字标签',
'search.hint' => '搜索电影、系列、音乐...',
'search.tryDifferentTerm' => '尝试不同的搜索词',
'search.searchYourMedia' => '搜索媒体',
@@ -1631,8 +1650,8 @@ extension on TranslationsZh {
'videoControls.pipErrors.unknown' => ({required Object error}) => '发生错误:${error}',
'videoControls.chapters' => '章节',
'videoControls.noChaptersAvailable' => '没有可用的章节',
'videoControls.queue' => 'Queue',
'videoControls.noQueueItems' => 'No items in queue',
'videoControls.queue' => '播放队列',
'videoControls.noQueueItems' => '队列中没有项目',
'userStatus.admin' => '管理员',
'userStatus.restricted' => '受限',
'userStatus.protected' => '受保护',
@@ -1667,9 +1686,9 @@ extension on TranslationsZh {
'messages.failedToCreatePlayQueueNoItems' => '创建播放队列失败 - 没有项目',
'messages.failedPlayback' => ({required Object action, required Object error}) => '无法${action}: ${error}',
'messages.switchingToCompatiblePlayer' => '正在切换到兼容的播放器...',
'messages.logsUploaded' => 'Logs uploaded',
'messages.logsUploadFailed' => 'Failed to upload logs',
'messages.logId' => 'Log ID',
'messages.logsUploaded' => '日志已上传',
'messages.logsUploadFailed' => '上传日志失败',
'messages.logId' => '日志 ID',
'subtitlingStyling.stylingOptions' => '样式选项',
'subtitlingStyling.fontSize' => '字号',
'subtitlingStyling.textColor' => '文本颜色',
@@ -1677,7 +1696,7 @@ extension on TranslationsZh {
'subtitlingStyling.borderColor' => '边框颜色',
'subtitlingStyling.backgroundOpacity' => '背景不透明度',
'subtitlingStyling.backgroundColor' => '背景颜色',
'subtitlingStyling.position' => 'Position',
'subtitlingStyling.position' => '位置',
'mpvConfig.title' => 'mpv 配置',
'mpvConfig.description' => '高级视频播放器设置',
'mpvConfig.presets' => '预设',
@@ -1761,6 +1780,7 @@ extension on TranslationsZh {
'libraries.tabs.browse' => '浏览',
'libraries.tabs.collections' => '合集',
'libraries.tabs.playlists' => '播放列表',
'libraries.groupings.title' => '分组',
'libraries.groupings.all' => '全部',
'libraries.groupings.movies' => '电影',
'libraries.groupings.shows' => '剧集',
@@ -1782,7 +1802,7 @@ extension on TranslationsZh {
'hubDetail.noItemsFound' => '未找到项目',
'logs.clearLogs' => '清除日志',
'logs.copyLogs' => '复制日志',
'logs.uploadLogs' => 'Upload Logs',
'logs.uploadLogs' => '上传日志',
'logs.error' => '错误:',
'logs.stackTrace' => '堆栈跟踪 (Stack Trace):',
'licenses.relatedPackages' => '相关软件包',
@@ -1802,13 +1822,13 @@ extension on TranslationsZh {
'liveTv.nowPlaying' => '正在播放',
'liveTv.noPrograms' => '没有可用的节目数据',
'liveTv.channelNumber' => ({required Object number}) => '频道 ${number}',
_ => null,
} ?? switch (path) {
'liveTv.live' => '直播',
'liveTv.hd' => '高清',
'liveTv.premiere' => '新',
'liveTv.reloadGuide' => '重新加载节目指南',
'liveTv.allChannels' => '所有频道',
_ => null,
} ?? switch (path) {
'liveTv.now' => '现在',
'liveTv.today' => '今天',
'liveTv.midnight' => '午夜',
@@ -1927,6 +1947,10 @@ extension on TranslationsZh {
'watchTogether.sessionCodeCopied' => '会话代码已复制到剪贴板',
'watchTogether.relayUnreachable' => '无法连接到中继服务器。这可能是由于您的网络运营商屏蔽了连接。您仍然可以尝试,但一起观看功能可能无法正常使用。',
'watchTogether.reconnectingToHost' => '正在重新连接到主持人...',
'watchTogether.currentPlayback' => '当前播放',
'watchTogether.joinCurrentPlayback' => '加入当前播放',
'watchTogether.joinCurrentPlaybackDescription' => '回到房主当前正在观看的内容',
'watchTogether.failedToOpenCurrentPlayback' => '无法打开当前播放',
'watchTogether.participantJoined' => ({required Object name}) => '${name} 加入了',
'watchTogether.participantLeft' => ({required Object name}) => '${name} 离开了',
'shaders.title' => '着色器',
@@ -1935,7 +1959,13 @@ extension on TranslationsZh {
'shaders.qualityFast' => '快速',
'shaders.qualityHQ' => '高质量',
'shaders.mode' => '模式',
'companionRemote.title' => 'Companion Remote',
'shaders.importShader' => '导入着色器',
'shaders.customShaderDescription' => '自定义 GLSL 着色器',
'shaders.shaderImported' => '着色器已导入',
'shaders.shaderImportFailed' => '导入着色器失败',
'shaders.deleteShader' => '删除着色器',
'shaders.deleteShaderConfirm' => ({required Object name}) => '删除"${name}"?',
'companionRemote.title' => '伴侣遥控',
'companionRemote.connectToDevice' => '连接到设备',
'companionRemote.hostRemoteSession' => '创建远程会话',
'companionRemote.controlThisDevice' => '使用手机控制此设备',
+29 -14
View File
@@ -6,9 +6,6 @@
"signInWithPlex": "Logga in med Plex",
"showQRCode": "Visa QR-kod",
"authenticate": "Autentisera",
"debugEnterToken": "Debug: Ange Plex-token",
"plexTokenLabel": "Plex-autentiseringstoken",
"plexTokenHint": "Ange din Plex.tv-token",
"authenticationTimeout": "Autentisering tog för lång tid. Försök igen.",
"scanQRToSignIn": "Skanna QR-koden för att logga in",
"waitingForAuth": "Väntar på autentisering...\nVänligen slutför inloggning i din webbläsare.",
@@ -181,6 +178,11 @@
"autoSkipCreditsDescription": "Hoppa automatiskt över credits och spela nästa avsnitt",
"autoSkipDelay": "Fördröjning Auto Hoppa Över",
"autoSkipDelayDescription": "Vänta ${seconds} sekunder innan automatisk överhoppning",
"introPattern": "Intromarkörsmönster",
"introPatternDescription": "Reguljärt uttryck för att matcha intromarkörer i kapiteltitlar",
"creditsPattern": "Eftertextmarkörsmönster",
"creditsPatternDescription": "Reguljärt uttryck för att matcha eftertextmarkörer i kapiteltitlar",
"invalidRegex": "Ogiltigt reguljärt uttryck",
"downloads": "Nedladdningar",
"downloadLocationDescription": "Välj var nedladdat innehåll ska lagras",
"downloadLocationDefault": "Standard (App-lagring)",
@@ -204,12 +206,14 @@
"autoPipDescription": "Aktivera bild-i-bild automatiskt när appen lämnas under uppspelning",
"matchContentFrameRate": "Matcha innehållets bildfrekvens",
"matchContentFrameRateDescription": "Justera skärmens uppdateringsfrekvens för att matcha videoinnehållet, minskar hackighet och sparar batteri",
"tunneledPlayback": "Tunneled Playback",
"tunneledPlaybackDescription": "Use hardware-accelerated video tunneling. Disable if you see a black screen with audio on HDR content",
"tunneledPlayback": "Tunneluppspelning",
"tunneledPlaybackDescription": "Använd hårdvaruaccelererad videotunnling. Inaktivera om du ser en svart skärm med ljud vid HDR-innehåll",
"requireProfileSelectionOnOpen": "Fråga efter profil vid appstart",
"requireProfileSelectionOnOpenDescription": "Visa profilval varje gång appen öppnas",
"confirmExitOnBack": "Bekräfta innan avslut",
"confirmExitOnBackDescription": "Visa en bekräftelsedialog när du trycker tillbaka för att avsluta appen"
"confirmExitOnBackDescription": "Visa en bekräftelsedialog när du trycker tillbaka för att avsluta appen",
"showNavBarLabels": "Visa navigeringsfältets etiketter",
"showNavBarLabelsDescription": "Visa textetiketter under navigeringsfältets ikoner"
},
"search": {
"hint": "Sök filmer, serier, musik...",
@@ -366,8 +370,8 @@
},
"chapters": "Kapitel",
"noChaptersAvailable": "Inga kapitel tillgängliga",
"queue": "Queue",
"noQueueItems": "No items in queue"
"queue": "Kö",
"noQueueItems": "Inga objekt i kön"
},
"userStatus": {
"admin": "Admin",
@@ -406,9 +410,9 @@
"failedToCreatePlayQueueNoItems": "Det gick inte att skapa uppspelningskö – inga objekt",
"failedPlayback": "Kunde inte ${action}: ${error}",
"switchingToCompatiblePlayer": "Byter till kompatibel spelare...",
"logsUploaded": "Logs uploaded",
"logsUploadFailed": "Failed to upload logs",
"logId": "Log ID"
"logsUploaded": "Loggar uppladdade",
"logsUploadFailed": "Uppladdning av loggar misslyckades",
"logId": "Logg-ID"
},
"subtitlingStyling": {
"stylingOptions": "Stilalternativ",
@@ -515,6 +519,7 @@
"playlists": "Spellistor"
},
"groupings": {
"title": "Gruppering",
"all": "Alla",
"movies": "Filmer",
"shows": "Serier",
@@ -545,7 +550,7 @@
"logs": {
"clearLogs": "Rensa loggar",
"copyLogs": "Kopiera loggar",
"uploadLogs": "Upload Logs",
"uploadLogs": "Ladda upp loggar",
"error": "Fel:",
"stackTrace": "Stack trace:"
},
@@ -702,6 +707,10 @@
"sessionCodeCopied": "Sessionskod kopierad till urklipp",
"relayUnreachable": "Reläservern kan inte nås. Detta kan bero på att din internetleverantör blockerar anslutningen. Du kan fortfarande försöka, men Watch Together kanske inte fungerar.",
"reconnectingToHost": "Återansluter till värd...",
"currentPlayback": "Aktuell uppspelning",
"joinCurrentPlayback": "Gå med i aktuell uppspelning",
"joinCurrentPlaybackDescription": "Hoppa tillbaka till det värden tittar på just nu",
"failedToOpenCurrentPlayback": "Kunde inte öppna aktuell uppspelning",
"participantJoined": "${name} gick med",
"participantLeft": "${name} lämnade"
},
@@ -711,10 +720,16 @@
"nvscalerDescription": "NVIDIA-bildskalning för skarpare video",
"qualityFast": "Snabb",
"qualityHQ": "Hög kvalitet",
"mode": "Läge"
"mode": "Läge",
"importShader": "Importera shader",
"customShaderDescription": "Anpassad GLSL-shader",
"shaderImported": "Shader importerad",
"shaderImportFailed": "Kunde inte importera shader",
"deleteShader": "Ta bort shader",
"deleteShaderConfirm": "Ta bort \"${name}\"?"
},
"companionRemote": {
"title": "Companion Remote",
"title": "Fjärrkontroll",
"connectToDevice": "Anslut till enhet",
"hostRemoteSession": "Starta fjärrsession",
"controlThisDevice": "Styr den här enheten med din telefon",
+30 -15
View File
@@ -6,9 +6,6 @@
"signInWithPlex": "使用 Plex 登录",
"showQRCode": "显示二维码",
"authenticate": "验证",
"debugEnterToken": "调试:输入 Plex Token",
"plexTokenLabel": "Plex 授权令牌 (Auth Token)",
"plexTokenHint": "输入你的 Plex.tv 令牌",
"authenticationTimeout": "验证超时。请重试。",
"scanQRToSignIn": "扫描二维码登录",
"waitingForAuth": "等待验证中...\n请在你的浏览器中完成登录。",
@@ -181,6 +178,11 @@
"autoSkipCreditsDescription": "自动跳过片尾并播放下一集",
"autoSkipDelay": "自动跳过延迟",
"autoSkipDelayDescription": "自动跳过前等待 ${seconds} 秒",
"introPattern": "片头标记模式",
"introPatternDescription": "用于匹配章节标题中片头标记的正则表达式",
"creditsPattern": "片尾标记模式",
"creditsPatternDescription": "用于匹配章节标题中片尾标记的正则表达式",
"invalidRegex": "无效的正则表达式",
"downloads": "下载",
"downloadLocationDescription": "选择下载内容的存储位置",
"downloadLocationDefault": "默认(应用存储)",
@@ -204,12 +206,14 @@
"autoPipDescription": "在播放期间离开应用时自动进入画中画模式",
"matchContentFrameRate": "匹配内容帧率",
"matchContentFrameRateDescription": "调整显示刷新率以匹配视频内容,减少画面抖动并节省电量",
"tunneledPlayback": "Tunneled Playback",
"tunneledPlaybackDescription": "Use hardware-accelerated video tunneling. Disable if you see a black screen with audio on HDR content",
"tunneledPlayback": "通道化播放",
"tunneledPlaybackDescription": "使用硬件加速视频通道。如果在 HDR 内容上看到黑屏但有声音,请禁用此选项",
"requireProfileSelectionOnOpen": "打开应用时询问配置文件",
"requireProfileSelectionOnOpenDescription": "每次打开应用时显示配置文件选择",
"confirmExitOnBack": "退出前确认",
"confirmExitOnBackDescription": "按返回键退出应用时显示确认对话框"
"confirmExitOnBackDescription": "按返回键退出应用时显示确认对话框",
"showNavBarLabels": "显示导航栏标签",
"showNavBarLabelsDescription": "在导航栏图标下方显示文字标签"
},
"search": {
"hint": "搜索电影、系列、音乐...",
@@ -366,8 +370,8 @@
},
"chapters": "章节",
"noChaptersAvailable": "没有可用的章节",
"queue": "Queue",
"noQueueItems": "No items in queue"
"queue": "播放队列",
"noQueueItems": "队列中没有项目"
},
"userStatus": {
"admin": "管理员",
@@ -406,9 +410,9 @@
"failedToCreatePlayQueueNoItems": "创建播放队列失败 - 没有项目",
"failedPlayback": "无法${action}: ${error}",
"switchingToCompatiblePlayer": "正在切换到兼容的播放器...",
"logsUploaded": "Logs uploaded",
"logsUploadFailed": "Failed to upload logs",
"logId": "Log ID"
"logsUploaded": "日志已上传",
"logsUploadFailed": "上传日志失败",
"logId": "日志 ID"
},
"subtitlingStyling": {
"stylingOptions": "样式选项",
@@ -418,7 +422,7 @@
"borderColor": "边框颜色",
"backgroundOpacity": "背景不透明度",
"backgroundColor": "背景颜色",
"position": "Position"
"position": "位置"
},
"mpvConfig": {
"title": "mpv 配置",
@@ -515,6 +519,7 @@
"playlists": "播放列表"
},
"groupings": {
"title": "分组",
"all": "全部",
"movies": "电影",
"shows": "剧集",
@@ -545,7 +550,7 @@
"logs": {
"clearLogs": "清除日志",
"copyLogs": "复制日志",
"uploadLogs": "Upload Logs",
"uploadLogs": "上传日志",
"error": "错误:",
"stackTrace": "堆栈跟踪 (Stack Trace):"
},
@@ -702,6 +707,10 @@
"sessionCodeCopied": "会话代码已复制到剪贴板",
"relayUnreachable": "无法连接到中继服务器。这可能是由于您的网络运营商屏蔽了连接。您仍然可以尝试,但一起观看功能可能无法正常使用。",
"reconnectingToHost": "正在重新连接到主持人...",
"currentPlayback": "当前播放",
"joinCurrentPlayback": "加入当前播放",
"joinCurrentPlaybackDescription": "回到房主当前正在观看的内容",
"failedToOpenCurrentPlayback": "无法打开当前播放",
"participantJoined": "${name} 加入了",
"participantLeft": "${name} 离开了"
},
@@ -711,10 +720,16 @@
"nvscalerDescription": "NVIDIA 图像缩放,使视频更清晰",
"qualityFast": "快速",
"qualityHQ": "高质量",
"mode": "模式"
"mode": "模式",
"importShader": "导入着色器",
"customShaderDescription": "自定义 GLSL 着色器",
"shaderImported": "着色器已导入",
"shaderImportFailed": "导入着色器失败",
"deleteShader": "删除着色器",
"deleteShaderConfirm": "删除\"${name}\"?"
},
"companionRemote": {
"title": "Companion Remote",
"title": "伴侣遥控",
"connectToDevice": "连接到设备",
"hostRemoteSession": "创建远程会话",
"controlThisDevice": "使用手机控制此设备",
+227 -89
View File
@@ -1,5 +1,4 @@
import 'dart:async';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:flutter/gestures.dart';
@@ -19,7 +18,6 @@ import 'services/discord_rpc_service.dart';
import 'services/gamepad_service.dart';
import 'providers/user_profile_provider.dart';
import 'providers/multi_server_provider.dart';
import 'providers/server_state_provider.dart';
import 'providers/theme_provider.dart';
import 'providers/settings_provider.dart';
import 'providers/hidden_libraries_provider.dart';
@@ -30,6 +28,7 @@ import 'providers/offline_mode_provider.dart';
import 'providers/offline_watch_provider.dart';
import 'providers/companion_remote_provider.dart';
import 'providers/shader_provider.dart';
import 'utils/snackbar_helper.dart';
import 'watch_together/watch_together.dart';
import 'services/multi_server_manager.dart';
import 'services/offline_watch_sync_service.dart';
@@ -52,6 +51,10 @@ import 'focus/key_event_utils.dart';
import 'package:intl/date_symbol_data_local.dart';
import 'utils/navigation_transitions.dart';
import 'utils/log_redaction_manager.dart';
import 'package:package_info_plus/package_info_plus.dart';
const bool _enableSentry = bool.fromEnvironment('ENABLE_SENTRY', defaultValue: false);
const String _gitCommit = String.fromEnvironment('GIT_COMMIT');
// Workaround for Flutter bug #177992: iPadOS 26.1+ misinterprets fake touch events
// at (0,0) as barrier taps, causing modals to dismiss immediately.
@@ -70,93 +73,137 @@ void _absorbZeroOffsetPointerEvent(PointerEvent event) {
}
}
void main() async {
Future<void> main() async {
WidgetsFlutterBinding.ensureInitialized();
_installZeroOffsetPointerGuard(); // Workaround for iPadOS 26.1+ modal dismissal bug
await SentryFlutter.init(
(options) {
if (_enableSentry) {
final packageInfo = await PackageInfo.fromPlatform();
await SentryFlutter.init((options) {
options.dsn = 'https://6a1a6ef8c72140099b2798973c1bfb2f@bugs.plezy.app/1';
options.release = _gitCommit.isNotEmpty
? 'plezy@${_gitCommit.substring(0, 7)}'
: 'plezy@${packageInfo.version}+${packageInfo.buildNumber}';
options.tracesSampleRate = 0;
options.attachStacktrace = true;
options.enableAutoSessionTracking = false;
options.recordHttpBreadcrumbs = false;
options.beforeSend = _beforeSend;
},
appRunner: () async {
// Initialize settings first to get saved locale
final settings = await SettingsService.getInstance();
final savedLocale = settings.getAppLocale();
options.beforeBreadcrumb = _beforeBreadcrumb;
}, appRunner: _bootstrapApp);
return;
}
// Initialize localization with saved locale
LocaleSettings.setLocale(savedLocale);
await _bootstrapApp();
}
// Needed for formatting dates in different locales
await initializeDateFormatting(savedLocale.languageCode, null);
Future<void> _bootstrapApp() async {
// Initialize settings first to get saved locale
final settings = await SettingsService.getInstance();
final savedLocale = settings.getAppLocale();
// Configure image cache for large libraries
PaintingBinding.instance.imageCache.maximumSize = 2000; // default 1000
PaintingBinding.instance.imageCache.maximumSizeBytes = 300 << 20; // 300MB
// Initialize localization with saved locale
LocaleSettings.setLocale(savedLocale);
// Initialize services in parallel where possible
final futures = <Future<void>>[];
// Needed for formatting dates in different locales
await initializeDateFormatting(savedLocale.languageCode, null);
// Initialize window_manager for desktop platforms
if (Platform.isMacOS || Platform.isWindows || Platform.isLinux) {
futures.add(windowManager.ensureInitialized());
}
// Configure image cache for large libraries
PaintingBinding.instance.imageCache.maximumSize = 2000; // default 1000
PaintingBinding.instance.imageCache.maximumSizeBytes = 300 << 20; // 300MB
// Initialize TV detection and PiP service for Android
if (Platform.isAndroid) {
futures.add(TvDetectionService.getInstance());
// Initialize PiP service to listen for PiP state changes
PipService();
}
// Initialize services in parallel where possible
final futures = <Future<void>>[];
// Configure macOS window with custom titlebar (depends on window manager)
futures.add(MacOSWindowService.setupCustomTitlebar());
// Initialize window_manager for desktop platforms
if (Platform.isMacOS || Platform.isWindows || Platform.isLinux) {
futures.add(windowManager.ensureInitialized());
}
// Initialize storage service
futures.add(StorageService.getInstance());
// Initialize TV detection and PiP service for Android
if (Platform.isAndroid) {
futures.add(TvDetectionService.getInstance());
// Initialize PiP service to listen for PiP state changes
PipService();
}
// Initialize language codes for track selection
futures.add(LanguageCodes.initialize());
// Configure macOS window with custom titlebar (depends on window manager)
futures.add(MacOSWindowService.setupCustomTitlebar());
// Wait for all parallel services to complete
await Future.wait(futures);
// Initialize storage service
futures.add(StorageService.getInstance());
// Initialize logger level based on debug setting
final debugEnabled = settings.getEnableDebugLogging();
setLoggerLevel(debugEnabled);
// Initialize language codes for track selection
futures.add(LanguageCodes.initialize());
// Initialize download storage service with settings
await DownloadStorageService.instance.initialize(settings);
// Wait for all parallel services to complete
await Future.wait(futures);
// Start global fullscreen state monitoring
FullscreenStateManager().startMonitoring();
// Initialize logger level based on debug setting
final debugEnabled = settings.getEnableDebugLogging();
setLoggerLevel(debugEnabled);
// Initialize gamepad service for desktop platforms
if (Platform.isMacOS || Platform.isWindows || Platform.isLinux) {
GamepadService.instance.start();
DiscordRPCService.instance.initialize();
}
// Initialize download storage service with settings
await DownloadStorageService.instance.initialize(settings);
// DTD service is available for MCP tooling connection if needed
// Start global fullscreen state monitoring
FullscreenStateManager().startMonitoring();
// Register bundled shader licenses
_registerShaderLicenses();
// Initialize gamepad service (all platforms — universal_gamepad auto-registers
// and intercepts input events, so we must listen to re-dispatch them)
GamepadService.instance.start();
runApp(const MainApp());
},
// Desktop-only services
if (Platform.isMacOS || Platform.isWindows || Platform.isLinux) {
DiscordRPCService.instance.initialize();
}
// DTD service is available for MCP tooling connection if needed
// Register bundled shader licenses
_registerShaderLicenses();
runApp(const MainApp());
}
Breadcrumb? _beforeBreadcrumb(Breadcrumb? breadcrumb, Hint _) {
if (breadcrumb == null) return null;
final message = breadcrumb.message;
final data = breadcrumb.data;
if (message == null && (data == null || data.isEmpty)) return breadcrumb;
return breadcrumb.copyWith(
message: message != null ? LogRedactionManager.redact(message) : null,
data: data?.map((k, v) => MapEntry(k, v is String ? LogRedactionManager.redact(v) : v)),
);
}
FutureOr<SentryEvent?> _beforeSend(SentryEvent event, Hint hint) {
FutureOr<SentryEvent?> _beforeSend(SentryEvent event, Hint _) {
// Drop event if user opted out of crash reporting
final instance = SettingsService.instanceOrNull;
if (instance != null && !instance.getCrashReporting()) return null;
// Scrub Plex tokens and server URLs from exception messages
// Drop harmless Windows file-lock errors from cache manager cleanup
var exceptions = event.exceptions;
if (exceptions != null &&
exceptions.any(
(e) =>
e.type == 'FileSystemException' &&
e.value != null &&
e.value!.contains('plexImageCache') &&
e.value!.contains('errno = 32'),
)) {
return null;
}
// Drop DBusServiceUnknownException from Linux without NetworkManager
if (exceptions != null && exceptions.any((e) => e.type == 'DBusServiceUnknownException')) {
return null;
}
// Scrub Plex tokens and server URLs from exception messages
if (exceptions != null) {
exceptions = exceptions.map((e) {
final value = e.value;
@@ -254,6 +301,9 @@ class _MainAppState extends State<MainApp> with WidgetsBindingObserver {
late final DownloadManagerService _downloadManager;
late final OfflineWatchSyncService _offlineWatchSyncService;
/// Last time server health probes ran from a resume event (cooldown for desktop)
DateTime _lastResumeProbe = DateTime(0);
@override
void initState() {
super.initState();
@@ -288,9 +338,18 @@ class _MainAppState extends State<MainApp> with WidgetsBindingObserver {
// App came back to foreground - trigger sync check and start new session
_offlineWatchSyncService.onAppResumed();
InAppReviewService.instance.startSession();
// Re-probe servers — mobile OS may have dropped TCP connections during doze/sleep
_serverManager.checkServerHealth();
_serverManager.reconnectOfflineServers();
// 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.
final now = DateTime.now();
final cooldown = (Platform.isIOS || Platform.isAndroid)
? const Duration(seconds: 10)
: const Duration(minutes: 2);
if (now.difference(_lastResumeProbe) >= cooldown) {
_lastResumeProbe = now;
_serverManager.checkServerHealth();
_serverManager.reconnectOfflineServers();
}
case AppLifecycleState.paused:
case AppLifecycleState.detached:
// App went to background or is closing - end session
@@ -307,7 +366,6 @@ class _MainAppState extends State<MainApp> with WidgetsBindingObserver {
return MultiProvider(
providers: [
ChangeNotifierProvider(create: (context) => MultiServerProvider(_serverManager, _aggregationService)),
ChangeNotifierProvider(create: (context) => ServerStateProvider()),
// Offline mode provider - depends on MultiServerProvider
ChangeNotifierProxyProvider<MultiServerProvider, OfflineModeProvider>(
create: (_) {
@@ -343,15 +401,9 @@ class _MainAppState extends State<MainApp> with WidgetsBindingObserver {
create: (context) => OfflineWatchProvider(
syncService: _offlineWatchSyncService,
downloadProvider: context.read<DownloadProvider>(),
apiCache: PlexApiCache.instance,
),
update: (_, syncService, downloadProvider, previous) {
return previous ??
OfflineWatchProvider(
syncService: syncService,
downloadProvider: downloadProvider,
apiCache: PlexApiCache.instance,
);
return previous ?? OfflineWatchProvider(syncService: syncService, downloadProvider: downloadProvider);
},
),
// Existing providers
@@ -377,6 +429,13 @@ class _MainAppState extends State<MainApp> with WidgetsBindingObserver {
themeMode: themeProvider.materialThemeMode,
navigatorObservers: [routeObserver, BackKeySuppressorObserver()],
home: const OrientationAwareSetup(),
builder: (context, child) => ScaffoldMessenger(
key: rootScaffoldMessengerKey,
child: Scaffold(
backgroundColor: Colors.transparent,
body: child,
),
),
),
),
);
@@ -420,6 +479,9 @@ class SetupScreen extends StatefulWidget {
class _SetupScreenState extends State<SetupScreen> {
String _statusMessage = '';
// Per-server connection status: serverId -> (name, connected?)
final Map<String, (String name, bool? connected)> _serverStatus = {};
@override
void initState() {
super.initState();
@@ -438,11 +500,17 @@ class _SetupScreenState extends State<SetupScreen> {
// Check network connectivity early to fast-path airplane mode.
// Timeout guards against connectivity_plus hanging on some Android TV devices after force-close.
final connectivityResult = await Connectivity().checkConnectivity().timeout(
const Duration(seconds: 3),
onTimeout: () => [ConnectivityResult.other],
);
final hasNetwork = !connectivityResult.contains(ConnectivityResult.none);
bool hasNetwork;
try {
final connectivityResult = await Connectivity().checkConnectivity().timeout(
const Duration(seconds: 3),
onTimeout: () => [ConnectivityResult.other],
);
hasNetwork = !connectivityResult.contains(ConnectivityResult.none);
} catch (e) {
// connectivity_plus throws DBusServiceUnknownException on Linux without NetworkManager
hasNetwork = true;
}
if (hasNetwork) {
_setStatus(t.common.refreshingServers);
@@ -485,6 +553,15 @@ class _SetupScreenState extends State<SetupScreen> {
_setStatus(t.common.connectingToServers);
// Populate per-server status for splash display
if (mounted) {
setState(() {
for (final server in servers) {
_serverStatus[server.clientIdentifier] = (server.name, null);
}
});
}
try {
final result = await ServerConnectionOrchestrator.connectAndInitialize(
servers: servers,
@@ -492,11 +569,21 @@ class _SetupScreenState extends State<SetupScreen> {
librariesProvider: context.read<LibrariesProvider>(),
syncService: context.read<OfflineWatchSyncService>(),
clientIdentifier: storage.getClientIdentifier(),
onServerStatus: (serverId, success) {
if (mounted) {
setState(() {
final existing = _serverStatus[serverId];
if (existing != null) {
_serverStatus[serverId] = (existing.$1, success);
}
});
}
},
);
if (!mounted) return;
if (result.hasConnections) {
if (result.hasConnections && result.firstClient != null) {
// Resume any downloads that were interrupted by app kill
final downloadProvider = context.read<DownloadProvider>();
downloadProvider.ensureInitialized().then((_) {
@@ -522,30 +609,81 @@ class _SetupScreenState extends State<SetupScreen> {
}
}
Widget _buildStatusText(BuildContext context) {
return AnimatedSwitcher(
duration: const Duration(milliseconds: 200),
child: Text(
_statusMessage,
key: ValueKey(_statusMessage),
textAlign: TextAlign.center,
style: Theme.of(context).textTheme.bodyMedium?.copyWith(
color: Theme.of(context).colorScheme.onSurface.withValues(alpha: 0.6),
),
),
);
}
Widget _buildServerStatusList(BuildContext context) {
if (_serverStatus.isEmpty) return const SizedBox.shrink();
final textTheme = Theme.of(context).textTheme;
final dimColor = Theme.of(context).colorScheme.onSurface.withValues(alpha: 0.5);
const coralColor = Color(0xFFE5A00D);
const successColor = Color(0xFF4CAF50);
const failColor = Color(0xFFEF5350);
return Column(
mainAxisSize: MainAxisSize.min,
children: _serverStatus.entries.map((entry) {
final (name, connected) = entry.value;
final Widget statusIcon;
if (connected == null) {
statusIcon = const SizedBox(
width: 12, height: 12,
child: CircularProgressIndicator(strokeWidth: 1.5, color: coralColor),
);
} else if (connected) {
statusIcon = const Icon(Icons.check_circle, size: 14, color: successColor);
} else {
statusIcon = const Icon(Icons.cancel, size: 14, color: failColor);
}
return Padding(
padding: const EdgeInsets.symmetric(vertical: 2),
child: Row(
mainAxisSize: MainAxisSize.min,
children: [
statusIcon,
const SizedBox(width: 8),
Text(name, style: textTheme.bodySmall?.copyWith(color: dimColor)),
],
),
);
}).toList(),
);
}
@override
Widget build(BuildContext context) {
const coralColor = Color(0xFFE5A00D);
return ColoredBox(
color: Theme.of(context).scaffoldBackgroundColor,
child: Stack(
children: [
// Icon dead-center, matching Android 12+ splash position.
// 192dp accounts for the 16% inset in ic_launcher.xml.
Center(child: SvgPicture.asset('assets/plezy_adaptive_foreground.svg', width: 288, height: 288)),
// Status text below center, independent of icon position.
Positioned(
left: 0,
right: 0,
bottom: MediaQuery.of(context).size.height * 0.5 - 140,
child: AnimatedSwitcher(
duration: const Duration(milliseconds: 200),
child: Text(
_statusMessage,
key: ValueKey(_statusMessage),
textAlign: TextAlign.center,
style: Theme.of(
context,
).textTheme.bodyMedium?.copyWith(color: Theme.of(context).colorScheme.onSurface.withValues(alpha: 0.6)),
),
left: 0, right: 0,
bottom: MediaQuery.of(context).size.height * 0.5 - 170,
child: _buildStatusText(context),
),
Positioned(
left: 0, right: 0,
top: MediaQuery.of(context).size.height * 0.5 + 180,
child: Center(
child: _serverStatus.isEmpty
? const SizedBox(
width: 20, height: 20,
child: CircularProgressIndicator(strokeWidth: 2, color: coralColor),
)
: _buildServerStatusList(context),
),
),
],
+10
View File
@@ -0,0 +1,10 @@
import 'package:flutter/widgets.dart';
/// Provides a safe [setState] wrapper for async callbacks.
mixin MountedSetStateMixin<T extends StatefulWidget> on State<T> {
void setStateIfMounted(VoidCallback fn) {
if (mounted) {
setState(fn);
}
}
}
+21
View File
@@ -0,0 +1,21 @@
import 'package:flutter/widgets.dart';
import '../models/plex_metadata.dart';
import '../services/plex_client.dart';
import '../utils/global_key_utils.dart';
import '../utils/provider_extensions.dart';
/// Shared helpers for screens bound to a single [PlexMetadata] item/server.
mixin ServerBoundMediaMixin<T extends StatefulWidget> on State<T> {
PlexMetadata get serverBoundMetadata;
bool get isServerBoundOffline => false;
String? get serverBoundServerId => serverBoundMetadata.serverId;
String toServerBoundGlobalKey(String ratingKey, {String? serverId}) =>
buildGlobalKey(serverId ?? serverBoundServerId ?? '', ratingKey);
PlexClient? getServerBoundClient(BuildContext context) =>
context.getClientForMetadataOrNull(serverBoundMetadata, isOffline: isServerBoundOffline);
}
+1 -1
View File
@@ -3,6 +3,6 @@
/// Used by MainScreen to pause expensive work (e.g. animation tickers)
/// when the screen's tab is no longer visible, and resume it when shown again.
mixin TabVisibilityAware {
void onTabShown();
void onTabShown({bool scrollToTop = true});
void onTabHidden();
}
@@ -10,47 +10,65 @@ RemoteDevice _$RemoteDeviceFromJson(Map<String, dynamic> json) => RemoteDevice(
id: json['id'] as String,
name: json['name'] as String,
platform: json['platform'] as String,
connectedAt: json['connectedAt'] == null ? null : DateTime.parse(json['connectedAt'] as String),
capabilities: (json['capabilities'] as Map<String, dynamic>?)?.map((k, e) => MapEntry(k, e as bool)),
);
Map<String, dynamic> _$RemoteDeviceToJson(RemoteDevice instance) => <String, dynamic>{
'id': instance.id,
'name': instance.name,
'platform': instance.platform,
'connectedAt': instance.connectedAt.toIso8601String(),
'capabilities': instance.capabilities,
};
RemoteSession _$RemoteSessionFromJson(Map<String, dynamic> json) => RemoteSession(
sessionId: json['sessionId'] as String,
pin: json['pin'] as String,
role: $enumDecode(_$RemoteSessionRoleEnumMap, json['role'], unknownValue: RemoteSessionRole.remote),
status:
$enumDecodeNullable(
_$RemoteSessionStatusEnumMap,
json['status'],
unknownValue: RemoteSessionStatus.disconnected,
) ??
RemoteSessionStatus.disconnected,
connectedDevice: json['connectedDevice'] == null
connectedAt: json['connectedAt'] == null
? null
: RemoteDevice.fromJson(json['connectedDevice'] as Map<String, dynamic>),
createdAt: json['createdAt'] == null ? null : DateTime.parse(json['createdAt'] as String),
errorMessage: json['errorMessage'] as String?,
: DateTime.parse(json['connectedAt'] as String),
capabilities: (json['capabilities'] as Map<String, dynamic>?)?.map(
(k, e) => MapEntry(k, e as bool),
),
);
Map<String, dynamic> _$RemoteSessionToJson(RemoteSession instance) => <String, dynamic>{
'sessionId': instance.sessionId,
'pin': instance.pin,
'role': _$RemoteSessionRoleEnumMap[instance.role]!,
'status': _$RemoteSessionStatusEnumMap[instance.status]!,
'connectedDevice': instance.connectedDevice,
'createdAt': instance.createdAt.toIso8601String(),
'errorMessage': instance.errorMessage,
};
Map<String, dynamic> _$RemoteDeviceToJson(RemoteDevice instance) =>
<String, dynamic>{
'id': instance.id,
'name': instance.name,
'platform': instance.platform,
'connectedAt': instance.connectedAt.toIso8601String(),
'capabilities': instance.capabilities,
};
const _$RemoteSessionRoleEnumMap = {RemoteSessionRole.host: 'host', RemoteSessionRole.remote: 'remote'};
RemoteSession _$RemoteSessionFromJson(Map<String, dynamic> json) =>
RemoteSession(
sessionId: json['sessionId'] as String,
pin: json['pin'] as String,
role: $enumDecode(
_$RemoteSessionRoleEnumMap,
json['role'],
unknownValue: RemoteSessionRole.remote,
),
status:
$enumDecodeNullable(
_$RemoteSessionStatusEnumMap,
json['status'],
unknownValue: RemoteSessionStatus.disconnected,
) ??
RemoteSessionStatus.disconnected,
connectedDevice: json['connectedDevice'] == null
? null
: RemoteDevice.fromJson(
json['connectedDevice'] as Map<String, dynamic>,
),
createdAt: json['createdAt'] == null
? null
: DateTime.parse(json['createdAt'] as String),
errorMessage: json['errorMessage'] as String?,
);
Map<String, dynamic> _$RemoteSessionToJson(RemoteSession instance) =>
<String, dynamic>{
'sessionId': instance.sessionId,
'pin': instance.pin,
'role': _$RemoteSessionRoleEnumMap[instance.role]!,
'status': _$RemoteSessionStatusEnumMap[instance.status]!,
'connectedDevice': instance.connectedDevice,
'createdAt': instance.createdAt.toIso8601String(),
'errorMessage': instance.errorMessage,
};
const _$RemoteSessionRoleEnumMap = {
RemoteSessionRole.host: 'host',
RemoteSessionRole.remote: 'remote',
};
const _$RemoteSessionStatusEnumMap = {
RemoteSessionStatus.disconnected: 'disconnected',
+20 -12
View File
@@ -6,15 +6,23 @@ part of 'play_queue_response.dart';
// JsonSerializableGenerator
// **************************************************************************
PlayQueueResponse _$PlayQueueResponseFromJson(Map<String, dynamic> json) => PlayQueueResponse(
playQueueID: (json['playQueueID'] as num).toInt(),
playQueueSelectedItemID: (json['playQueueSelectedItemID'] as num?)?.toInt(),
playQueueSelectedItemOffset: (json['playQueueSelectedItemOffset'] as num?)?.toInt(),
playQueueSelectedMetadataItemID: json['playQueueSelectedMetadataItemID'] as String?,
playQueueShuffled: const BoolOrIntConverter().fromJson(json['playQueueShuffled'] as Object),
playQueueSourceURI: json['playQueueSourceURI'] as String?,
playQueueTotalCount: (json['playQueueTotalCount'] as num?)?.toInt(),
playQueueVersion: (json['playQueueVersion'] as num).toInt(),
size: (json['size'] as num?)?.toInt(),
items: (json['Metadata'] as List<dynamic>?)?.map((e) => PlexMetadata.fromJson(e as Map<String, dynamic>)).toList(),
);
PlayQueueResponse _$PlayQueueResponseFromJson(Map<String, dynamic> json) =>
PlayQueueResponse(
playQueueID: (json['playQueueID'] as num).toInt(),
playQueueSelectedItemID: (json['playQueueSelectedItemID'] as num?)
?.toInt(),
playQueueSelectedItemOffset: (json['playQueueSelectedItemOffset'] as num?)
?.toInt(),
playQueueSelectedMetadataItemID:
json['playQueueSelectedMetadataItemID'] as String?,
playQueueShuffled: const BoolOrIntConverter().fromJson(
json['playQueueShuffled'] as Object,
),
playQueueSourceURI: json['playQueueSourceURI'] as String?,
playQueueTotalCount: (json['playQueueTotalCount'] as num?)?.toInt(),
playQueueVersion: (json['playQueueVersion'] as num).toInt(),
size: (json['size'] as num?)?.toInt(),
items: (json['Metadata'] as List<dynamic>?)
?.map((e) => PlexMetadata.fromJson(e as Map<String, dynamic>))
.toList(),
);
+4 -4
View File
@@ -25,11 +25,11 @@ class PlexHome {
return PlexHome(
id: (json['id'] as num?)?.toInt() ?? 0,
name: json['name'] as String,
name: json['name'] as String? ?? '',
guestUserID: (json['guestUserID'] as num?)?.toInt(),
guestUserUUID: json['guestUserUUID'] as String,
guestEnabled: json['guestEnabled'] as bool,
subscription: json['subscription'] as bool,
guestUserUUID: json['guestUserUUID'] as String? ?? '',
guestEnabled: json['guestEnabled'] as bool? ?? false,
subscription: json['subscription'] as bool? ?? false,
users: users,
);
}
+5
View File
@@ -15,6 +15,10 @@ class PlexHub {
final String? serverId; // Server machine identifier
final String? serverName; // Server display name
/// When set, this hub was split from a multi-library hub and should only
/// show items belonging to this library section.
final int? librarySectionID;
PlexHub({
required this.hubKey,
required this.title,
@@ -25,6 +29,7 @@ class PlexHub {
required this.items,
this.serverId,
this.serverName,
this.librarySectionID,
});
factory PlexHub.fromJson(Map<String, dynamic> json) {
+13 -12
View File
@@ -19,15 +19,16 @@ PlexLibrary _$PlexLibraryFromJson(Map<String, dynamic> json) => PlexLibrary(
hidden: (json['hidden'] as num?)?.toInt(),
);
Map<String, dynamic> _$PlexLibraryToJson(PlexLibrary instance) => <String, dynamic>{
'key': instance.key,
'title': instance.title,
'type': instance.type,
'agent': instance.agent,
'scanner': instance.scanner,
'language': instance.language,
'uuid': instance.uuid,
'updatedAt': instance.updatedAt,
'createdAt': instance.createdAt,
'hidden': instance.hidden,
};
Map<String, dynamic> _$PlexLibraryToJson(PlexLibrary instance) =>
<String, dynamic>{
'key': instance.key,
'title': instance.title,
'type': instance.type,
'agent': instance.agent,
'scanner': instance.scanner,
'language': instance.language,
'uuid': instance.uuid,
'updatedAt': instance.updatedAt,
'createdAt': instance.createdAt,
'hidden': instance.hidden,
};
+36 -38
View File
@@ -1,5 +1,6 @@
import '../utils/app_logger.dart';
import '../utils/codec_utils.dart';
import '../utils/track_label_builder.dart' show buildTrackLabel;
class PlexMediaInfo {
final String videoUrl;
@@ -23,9 +24,9 @@ class PlexMediaInfo {
static PlexMediaInfo? fromMetadataJson(Map<String, dynamic> metadata) {
final media = metadata['Media'] as List<dynamic>?;
if (media == null || media.isEmpty) return null;
final parts = media[0]['Part'] as List<dynamic>?;
final parts = media.first['Part'] as List<dynamic>?;
if (parts == null || parts.isEmpty) return null;
final streams = parts[0]['Stream'] as List<dynamic>?;
final streams = parts.first['Stream'] as List<dynamic>?;
final audioTracks = <PlexAudioTrack>[];
final subtitleTracks = <PlexSubtitleTrack>[];
@@ -75,27 +76,11 @@ class PlexMediaInfo {
}
}
/// Builds a track label from parts with the standard `' · '` joiner pattern.
/// Mixin for building track labels with a consistent pattern.
///
/// Shared by both Plex track models and MPV track label utilities.
/// If [title] is non-empty it is added first, then [language], then [extraParts].
/// Falls back to `'$fallbackPrefix ${index + 1}'` when no parts are available.
String buildTrackLabel({
String? title,
String? language,
List<String> extraParts = const [],
required int index,
String fallbackPrefix = 'Track',
}) {
final parts = <String>[];
if (title != null && title.isNotEmpty) parts.add(title);
if (language != null && language.isNotEmpty) parts.add(language);
parts.addAll(extraParts);
return parts.isEmpty ? '$fallbackPrefix ${index + 1}' : parts.join(' · ');
}
/// Mixin for building track labels with a consistent pattern
mixin TrackLabelBuilder {
/// Used by [PlexAudioTrack] and [PlexSubtitleTrack] to provide a [buildLabel]
/// method that delegates to the shared [buildTrackLabel] function.
mixin _TrackLabelMixin {
int get id;
int? get index;
String? get displayTitle;
@@ -112,7 +97,7 @@ mixin TrackLabelBuilder {
}
}
class PlexAudioTrack with TrackLabelBuilder {
class PlexAudioTrack with _TrackLabelMixin {
@override
final int id;
@override
@@ -147,7 +132,7 @@ class PlexAudioTrack with TrackLabelBuilder {
}
}
class PlexSubtitleTrack with TrackLabelBuilder {
class PlexSubtitleTrack with _TrackLabelMixin {
@override
final int id;
@override
@@ -242,29 +227,42 @@ class PlaybackExtras {
PlaybackExtras({required this.chapters, required this.markers});
static final _introPattern = RegExp(
r'(?:^|\b)(?:intro(?:duction)?|opening)(?:\b|$)|^op(?:\s?\d+)?$',
caseSensitive: false,
);
static final _creditsPattern = RegExp(
r'(?:^|\b)(?:outro|closing|credits?|ending)(?:\b|$)|^ed(?:\s?\d+)?$',
caseSensitive: false,
);
static String? _classifyChapterTitle(String title) {
if (_introPattern.hasMatch(title)) return 'intro';
if (_creditsPattern.hasMatch(title)) return 'credits';
static String? _classifyChapterTitle(String title, RegExp introPattern, RegExp creditsPattern) {
if (introPattern.hasMatch(title)) return 'intro';
if (creditsPattern.hasMatch(title)) return 'credits';
return null;
}
/// Returns [PlaybackExtras] using real markers when available, otherwise
/// synthesises markers from chapter titles matching intro/credits patterns.
/// When real markers exist, reclassifies markers with unknown types against
/// the patterns so non-standard type strings (e.g. "OP-Song") get recognized.
factory PlaybackExtras.withChapterFallback({
required List<PlexChapter> chapters,
required List<PlexMarker> markers,
String? introPatternStr,
String? creditsPatternStr,
}) {
final introPattern = RegExp(
introPatternStr ?? r'(?:^|\b)(?:intro(?:duction)?|opening)(?:\b|$)|^op(?:\s?\d+)?$',
caseSensitive: false,
);
final creditsPattern = RegExp(
creditsPatternStr ?? r'(?:^|\b)(?:outro|closing|credits?|ending)(?:\b|$)|^ed(?:\s?\d+)?$',
caseSensitive: false,
);
if (markers.isNotEmpty) {
return PlaybackExtras(chapters: chapters, markers: markers);
// Reclassify markers with non-standard types against the patterns
final reclassified = markers.map((m) {
if (m.type == 'intro' || m.type == 'credits') return m;
final newType = _classifyChapterTitle(m.type, introPattern, creditsPattern);
if (newType != null) {
return PlexMarker(id: m.id, type: newType, startTimeOffset: m.startTimeOffset, endTimeOffset: m.endTimeOffset);
}
return m;
}).toList();
return PlaybackExtras(chapters: chapters, markers: reclassified);
}
final synthetic = <PlexMarker>[];
@@ -273,7 +271,7 @@ class PlaybackExtras {
final title = ch.title;
if (title == null || title.isEmpty) continue;
final type = _classifyChapterTitle(title);
final type = _classifyChapterTitle(title, introPattern, creditsPattern);
if (type == null) continue;
final start = ch.startTimeOffset;
+31 -2
View File
@@ -1,4 +1,5 @@
import 'package:json_annotation/json_annotation.dart';
import 'package:sentry_flutter/sentry_flutter.dart';
import '../services/settings_service.dart' show EpisodePosterMode;
import '../widgets/plex_optimized_image.dart' show kBlurArtwork, obfuscateText;
@@ -8,6 +9,15 @@ import '../utils/global_key_utils.dart';
part 'plex_metadata.g.dart';
Object? _readRatingKey(Map json, String key) =>
json['ratingKey'] ?? json['key'] ?? '';
int? _flexibleInt(Object? v) => switch (v) {
num n => n.toInt(),
String s => int.tryParse(s),
_ => null,
};
/// Media type enum for type-safe media type handling
enum PlexMediaType {
movie,
@@ -50,6 +60,7 @@ enum PlexMediaType {
@JsonSerializable()
class PlexMetadata with MultiServerFields {
@JsonKey(readValue: _readRatingKey)
final String ratingKey;
final String key;
final String? guid;
@@ -84,11 +95,14 @@ class PlexMetadata with MultiServerFields {
final int? viewCount;
final int? leafCount; // Total number of episodes in a series/season
final int? viewedLeafCount; // Number of watched episodes in a series/season
@JsonKey(fromJson: _flexibleInt)
final int? childCount; // Number of items in a collection or playlist
@JsonKey(name: 'Role')
final List<PlexRole>? role; // Cast members
final String? audioLanguage; // Per-media preferred audio language
final String? subtitleLanguage; // Per-media preferred subtitle language
@JsonKey(fromJson: _flexibleInt)
final int? subtitleMode; // Per-media subtitle mode (0=manual, 1=foreign audio, 2=always, -1=account default)
final int? playlistItemID; // Playlist item ID (for dumb playlists only)
final int? playQueueItemID; // Play queue item ID (unique even for duplicates)
final int? librarySectionID; // Library section ID this item belongs to
@@ -97,6 +111,7 @@ class PlexMetadata with MultiServerFields {
final String? audienceRatingImage; // Audience rating source URI
final String? tagline;
final String? originalTitle;
final String? editionTitle; // Edition name for movies (e.g., "Director's Cut", "Extended")
final String? subtype; // Clip subtype: "trailer", "behindTheScenes", "deleted", etc.
final int? extraType; // Numeric extra type identifier
final String? primaryExtraKey; // Points to main trailer (e.g., "/library/metadata/52601")
@@ -175,6 +190,7 @@ class PlexMetadata with MultiServerFields {
this.role,
this.audioLanguage,
this.subtitleLanguage,
this.subtitleMode,
this.playlistItemID,
this.playQueueItemID,
this.librarySectionID,
@@ -183,6 +199,7 @@ class PlexMetadata with MultiServerFields {
this.audienceRatingImage,
this.tagline,
this.originalTitle,
this.editionTitle,
this.subtype,
this.extraType,
this.primaryExtraKey,
@@ -232,6 +249,7 @@ class PlexMetadata with MultiServerFields {
List<PlexRole>? role,
String? audioLanguage,
String? subtitleLanguage,
int? subtitleMode,
int? playlistItemID,
int? playQueueItemID,
int? librarySectionID,
@@ -240,6 +258,7 @@ class PlexMetadata with MultiServerFields {
String? audienceRatingImage,
String? tagline,
String? originalTitle,
String? editionTitle,
String? subtype,
int? extraType,
String? primaryExtraKey,
@@ -287,6 +306,7 @@ class PlexMetadata with MultiServerFields {
role: role ?? this.role,
audioLanguage: audioLanguage ?? this.audioLanguage,
subtitleLanguage: subtitleLanguage ?? this.subtitleLanguage,
subtitleMode: subtitleMode ?? this.subtitleMode,
playlistItemID: playlistItemID ?? this.playlistItemID,
playQueueItemID: playQueueItemID ?? this.playQueueItemID,
librarySectionID: librarySectionID ?? this.librarySectionID,
@@ -295,6 +315,7 @@ class PlexMetadata with MultiServerFields {
audienceRatingImage: audienceRatingImage ?? this.audienceRatingImage,
tagline: tagline ?? this.tagline,
originalTitle: originalTitle ?? this.originalTitle,
editionTitle: editionTitle ?? this.editionTitle,
subtype: subtype ?? this.subtype,
extraType: extraType ?? this.extraType,
primaryExtraKey: primaryExtraKey ?? this.primaryExtraKey,
@@ -448,8 +469,16 @@ class PlexMetadata with MultiServerFields {
return viewCount != null && viewCount! > 0;
}
factory PlexMetadata.fromJson(Map<String, dynamic> json) =>
_$PlexMetadataFromJson(kBlurArtwork ? _obfuscateJson(json) : json);
factory PlexMetadata.fromJson(Map<String, dynamic> json) {
try {
return _$PlexMetadataFromJson(kBlurArtwork ? _obfuscateJson(json) : json);
} on TypeError catch (e, st) {
Sentry.captureException(e, stackTrace: st, withScope: (scope) {
scope.setContexts('json', json);
});
rethrow;
}
}
static Map<String, dynamic> _obfuscateJson(Map<String, dynamic> json) {
final copy = Map<String, dynamic>.from(json);
+63 -56
View File
@@ -7,7 +7,7 @@ part of 'plex_metadata.dart';
// **************************************************************************
PlexMetadata _$PlexMetadataFromJson(Map<String, dynamic> json) => PlexMetadata(
ratingKey: json['ratingKey'] as String,
ratingKey: _readRatingKey(json, 'ratingKey') as String,
key: json['key'] as String,
guid: json['guid'] as String?,
studio: json['studio'] as String?,
@@ -41,10 +41,13 @@ PlexMetadata _$PlexMetadataFromJson(Map<String, dynamic> json) => PlexMetadata(
viewCount: (json['viewCount'] as num?)?.toInt(),
leafCount: (json['leafCount'] as num?)?.toInt(),
viewedLeafCount: (json['viewedLeafCount'] as num?)?.toInt(),
childCount: (json['childCount'] as num?)?.toInt(),
role: (json['Role'] as List<dynamic>?)?.map((e) => PlexRole.fromJson(e as Map<String, dynamic>)).toList(),
childCount: _flexibleInt(json['childCount']),
role: (json['Role'] as List<dynamic>?)
?.map((e) => PlexRole.fromJson(e as Map<String, dynamic>))
.toList(),
audioLanguage: json['audioLanguage'] as String?,
subtitleLanguage: json['subtitleLanguage'] as String?,
subtitleMode: _flexibleInt(json['subtitleMode']),
playlistItemID: (json['playlistItemID'] as num?)?.toInt(),
playQueueItemID: (json['playQueueItemID'] as num?)?.toInt(),
librarySectionID: (json['librarySectionID'] as num?)?.toInt(),
@@ -53,6 +56,7 @@ PlexMetadata _$PlexMetadataFromJson(Map<String, dynamic> json) => PlexMetadata(
audienceRatingImage: json['audienceRatingImage'] as String?,
tagline: json['tagline'] as String?,
originalTitle: json['originalTitle'] as String?,
editionTitle: json['editionTitle'] as String?,
subtype: json['subtype'] as String?,
extraType: (json['extraType'] as num?)?.toInt(),
primaryExtraKey: json['primaryExtraKey'] as String?,
@@ -60,56 +64,59 @@ PlexMetadata _$PlexMetadataFromJson(Map<String, dynamic> json) => PlexMetadata(
backgroundSquare: json['backgroundSquare'] as String?,
);
Map<String, dynamic> _$PlexMetadataToJson(PlexMetadata instance) => <String, dynamic>{
'ratingKey': instance.ratingKey,
'key': instance.key,
'guid': instance.guid,
'studio': instance.studio,
'type': instance.type,
'title': instance.title,
'titleSort': instance.titleSort,
'contentRating': instance.contentRating,
'summary': instance.summary,
'rating': instance.rating,
'audienceRating': instance.audienceRating,
'userRating': instance.userRating,
'year': instance.year,
'originallyAvailableAt': instance.originallyAvailableAt,
'thumb': instance.thumb,
'art': instance.art,
'duration': instance.duration,
'addedAt': instance.addedAt,
'updatedAt': instance.updatedAt,
'lastViewedAt': instance.lastViewedAt,
'grandparentTitle': instance.grandparentTitle,
'grandparentThumb': instance.grandparentThumb,
'grandparentArt': instance.grandparentArt,
'grandparentRatingKey': instance.grandparentRatingKey,
'parentTitle': instance.parentTitle,
'parentThumb': instance.parentThumb,
'parentRatingKey': instance.parentRatingKey,
'parentIndex': instance.parentIndex,
'index': instance.index,
'grandparentTheme': instance.grandparentTheme,
'viewOffset': instance.viewOffset,
'viewCount': instance.viewCount,
'leafCount': instance.leafCount,
'viewedLeafCount': instance.viewedLeafCount,
'childCount': instance.childCount,
'Role': instance.role,
'audioLanguage': instance.audioLanguage,
'subtitleLanguage': instance.subtitleLanguage,
'playlistItemID': instance.playlistItemID,
'playQueueItemID': instance.playQueueItemID,
'librarySectionID': instance.librarySectionID,
'librarySectionTitle': instance.librarySectionTitle,
'ratingImage': instance.ratingImage,
'audienceRatingImage': instance.audienceRatingImage,
'tagline': instance.tagline,
'originalTitle': instance.originalTitle,
'subtype': instance.subtype,
'extraType': instance.extraType,
'primaryExtraKey': instance.primaryExtraKey,
'clearLogo': instance.clearLogo,
'backgroundSquare': instance.backgroundSquare,
};
Map<String, dynamic> _$PlexMetadataToJson(PlexMetadata instance) =>
<String, dynamic>{
'ratingKey': instance.ratingKey,
'key': instance.key,
'guid': instance.guid,
'studio': instance.studio,
'type': instance.type,
'title': instance.title,
'titleSort': instance.titleSort,
'contentRating': instance.contentRating,
'summary': instance.summary,
'rating': instance.rating,
'audienceRating': instance.audienceRating,
'userRating': instance.userRating,
'year': instance.year,
'originallyAvailableAt': instance.originallyAvailableAt,
'thumb': instance.thumb,
'art': instance.art,
'duration': instance.duration,
'addedAt': instance.addedAt,
'updatedAt': instance.updatedAt,
'lastViewedAt': instance.lastViewedAt,
'grandparentTitle': instance.grandparentTitle,
'grandparentThumb': instance.grandparentThumb,
'grandparentArt': instance.grandparentArt,
'grandparentRatingKey': instance.grandparentRatingKey,
'parentTitle': instance.parentTitle,
'parentThumb': instance.parentThumb,
'parentRatingKey': instance.parentRatingKey,
'parentIndex': instance.parentIndex,
'index': instance.index,
'grandparentTheme': instance.grandparentTheme,
'viewOffset': instance.viewOffset,
'viewCount': instance.viewCount,
'leafCount': instance.leafCount,
'viewedLeafCount': instance.viewedLeafCount,
'childCount': instance.childCount,
'Role': instance.role,
'audioLanguage': instance.audioLanguage,
'subtitleLanguage': instance.subtitleLanguage,
'subtitleMode': instance.subtitleMode,
'playlistItemID': instance.playlistItemID,
'playQueueItemID': instance.playQueueItemID,
'librarySectionID': instance.librarySectionID,
'librarySectionTitle': instance.librarySectionTitle,
'ratingImage': instance.ratingImage,
'audienceRatingImage': instance.audienceRatingImage,
'tagline': instance.tagline,
'originalTitle': instance.originalTitle,
'editionTitle': instance.editionTitle,
'subtype': instance.subtype,
'extraType': instance.extraType,
'primaryExtraKey': instance.primaryExtraKey,
'clearLogo': instance.clearLogo,
'backgroundSquare': instance.backgroundSquare,
};
+20 -19
View File
@@ -26,22 +26,23 @@ PlexPlaylist _$PlexPlaylistFromJson(Map<String, dynamic> json) => PlexPlaylist(
thumb: json['thumb'] as String?,
);
Map<String, dynamic> _$PlexPlaylistToJson(PlexPlaylist instance) => <String, dynamic>{
'ratingKey': instance.ratingKey,
'key': instance.key,
'type': instance.type,
'title': instance.title,
'summary': instance.summary,
'smart': instance.smart,
'playlistType': instance.playlistType,
'duration': instance.duration,
'leafCount': instance.leafCount,
'composite': instance.composite,
'addedAt': instance.addedAt,
'updatedAt': instance.updatedAt,
'lastViewedAt': instance.lastViewedAt,
'viewCount': instance.viewCount,
'content': instance.content,
'guid': instance.guid,
'thumb': instance.thumb,
};
Map<String, dynamic> _$PlexPlaylistToJson(PlexPlaylist instance) =>
<String, dynamic>{
'ratingKey': instance.ratingKey,
'key': instance.key,
'type': instance.type,
'title': instance.title,
'summary': instance.summary,
'smart': instance.smart,
'playlistType': instance.playlistType,
'duration': instance.duration,
'leafCount': instance.leafCount,
'composite': instance.composite,
'addedAt': instance.addedAt,
'updatedAt': instance.updatedAt,
'lastViewedAt': instance.lastViewedAt,
'viewCount': instance.viewCount,
'content': instance.content,
'guid': instance.guid,
'thumb': instance.thumb,
};
+7 -1
View File
@@ -1,5 +1,5 @@
/// Shader preset types available in the app
enum ShaderPresetType { none, nvscaler, anime4k }
enum ShaderPresetType { none, nvscaler, anime4k, custom }
/// Quality tiers for Anime4K presets
enum Anime4KQuality {
@@ -88,12 +88,16 @@ class ShaderPreset {
final Anime4KConfig? anime4kConfig;
final NVScalerConfig? nvscalerConfig;
/// File name of the custom shader in the custom shaders directory
final String? fileName;
const ShaderPreset({
required this.id,
required this.name,
required this.type,
this.anime4kConfig,
this.nvscalerConfig,
this.fileName,
});
/// No shader preset (off)
@@ -193,6 +197,7 @@ class ShaderPreset {
'type': type.name,
if (anime4kConfig != null) 'anime4kConfig': anime4kConfig!.toJson(),
if (nvscalerConfig != null) 'nvscalerConfig': nvscalerConfig!.toJson(),
if (fileName != null) 'fileName': fileName,
};
factory ShaderPreset.fromJson(Map<String, dynamic> json) {
@@ -210,6 +215,7 @@ class ShaderPreset {
type: ShaderPresetType.values.asNameMap()[json['type']] ?? ShaderPresetType.none,
anime4kConfig: json['anime4kConfig'] != null ? Anime4KConfig.fromJson(json['anime4kConfig']) : null,
nvscalerConfig: json['nvscalerConfig'] != null ? NVScalerConfig.fromJson(json['nvscalerConfig']) : null,
fileName: json['fileName'] as String?,
);
}
}
+17 -4
View File
@@ -186,6 +186,9 @@ class Tracks {
String toString() => 'Tracks(audio: ${audio.length}, subtitle: ${subtitle.length})';
}
/// Sentinel value used to distinguish "not provided" from "explicitly set to null" in copyWith.
const _sentinel = Object();
/// Represents the currently selected tracks.
class TrackSelection {
/// Currently selected audio track.
@@ -194,15 +197,25 @@ class TrackSelection {
/// Currently selected subtitle track.
final SubtitleTrack? subtitle;
const TrackSelection({this.audio, this.subtitle});
/// Currently selected secondary subtitle track (mpv secondary-sid).
final SubtitleTrack? secondarySubtitle;
const TrackSelection({this.audio, this.subtitle, this.secondarySubtitle});
/// Creates a copy with the given fields replaced.
TrackSelection copyWith({AudioTrack? audio, SubtitleTrack? subtitle}) {
return TrackSelection(audio: audio ?? this.audio, subtitle: subtitle ?? this.subtitle);
/// Use [secondarySubtitle] with explicit null to clear the secondary subtitle.
TrackSelection copyWith({AudioTrack? audio, SubtitleTrack? subtitle, Object? secondarySubtitle = _sentinel}) {
return TrackSelection(
audio: audio ?? this.audio,
subtitle: subtitle ?? this.subtitle,
secondarySubtitle: identical(secondarySubtitle, _sentinel)
? this.secondarySubtitle
: secondarySubtitle as SubtitleTrack?,
);
}
@override
String toString() => 'TrackSelection(audio: $audio, subtitle: $subtitle)';
String toString() => 'TrackSelection(audio: $audio, subtitle: $subtitle, secondarySubtitle: $secondarySubtitle)';
}
/// Represents an audio output device.
+55 -59
View File
@@ -1,6 +1,7 @@
import 'package:flutter/services.dart';
import '../../models.dart';
import '../../../utils/app_logger.dart';
import '../player_base.dart';
/// Android implementation of [Player] using ExoPlayer.
@@ -27,6 +28,9 @@ class PlayerAndroid extends PlayerBase {
@override
String get playerType => 'exoplayer';
@override
bool get supportsSecondarySubtitles => false;
// ============================================
// Platform-Specific Event Handling
// ============================================
@@ -52,7 +56,7 @@ class PlayerAndroid extends PlayerBase {
if (initialized) return;
try {
final result = await methodChannel.invokeMethod<bool>('initialize', {
final result = await invoke<bool>('initialize', {
'bufferSizeBytes': _bufferSizeBytes,
'tunnelingEnabled': _tunnelingEnabled,
});
@@ -64,6 +68,7 @@ class PlayerAndroid extends PlayerBase {
// Register property observers so the plugin knows propId mappings
await observeProperty('time-pos', 'double');
await observeProperty('duration', 'double');
await observeProperty('seekable', 'flag');
await observeProperty('pause', 'flag');
await observeProperty('paused-for-cache', 'flag');
await observeProperty('track-list', 'string');
@@ -85,13 +90,14 @@ class PlayerAndroid extends PlayerBase {
@override
Future<void> open(Media media, {bool play = true, bool isLive = false}) async {
checkDisposed();
if (disposed) return;
await _ensureInitialized();
setSeekable(false);
// Show the video layer
await setVisible(true);
await methodChannel.invokeMethod('open', {
await invoke('open', {
'uri': media.uri,
'headers': media.headers,
'startPositionMs': media.start?.inMilliseconds ?? 0,
@@ -102,27 +108,32 @@ class PlayerAndroid extends PlayerBase {
@override
Future<void> play() async {
checkDisposed();
await methodChannel.invokeMethod('play');
await invoke('play');
}
@override
Future<void> pause() async {
checkDisposed();
await methodChannel.invokeMethod('pause');
await invoke('pause');
}
@override
Future<void> stop() async {
checkDisposed();
await methodChannel.invokeMethod('stop');
await invoke('stop');
setSeekable(false);
await setVisible(false);
}
@override
Future<void> seek(Duration position) async {
checkDisposed();
await methodChannel.invokeMethod('seek', {'positionMs': position.inMilliseconds});
try {
await invoke('seek', {'positionMs': position.inMilliseconds});
} on PlatformException catch (e) {
if (e.code == 'COMMAND_FAILED' || e.code == 'NOT_INITIALIZED') {
appLogger.w('Seek failed (${e.code}), player not ready');
return;
}
rethrow;
}
}
// ============================================
@@ -131,25 +142,17 @@ class PlayerAndroid extends PlayerBase {
@override
Future<void> selectAudioTrack(AudioTrack track) async {
checkDisposed();
await methodChannel.invokeMethod('selectAudioTrack', {'trackId': track.id});
await invoke('selectAudioTrack', {'trackId': track.id});
}
@override
Future<void> selectSubtitleTrack(SubtitleTrack track) async {
checkDisposed();
await methodChannel.invokeMethod('selectSubtitleTrack', {'trackId': track.id});
await invoke('selectSubtitleTrack', {'trackId': track.id});
}
@override
Future<void> addSubtitleTrack({required String uri, String? title, String? language, bool select = false}) async {
checkDisposed();
await methodChannel.invokeMethod('addSubtitleTrack', {
'uri': uri,
'title': title,
'language': language,
'select': select,
});
await invoke('addSubtitleTrack', {'uri': uri, 'title': title, 'language': language, 'select': select});
}
// ============================================
@@ -158,14 +161,12 @@ class PlayerAndroid extends PlayerBase {
@override
Future<void> setVolume(double volume) async {
checkDisposed();
await methodChannel.invokeMethod('setVolume', {'volume': volume});
await invoke('setVolume', {'volume': volume});
}
@override
Future<void> setRate(double rate) async {
checkDisposed();
await methodChannel.invokeMethod('setRate', {'rate': rate});
await invoke('setRate', {'rate': rate});
}
// ============================================
@@ -174,7 +175,7 @@ class PlayerAndroid extends PlayerBase {
@override
Future<void> setProperty(String name, String value) async {
checkDisposed();
if (disposed) return;
// ExoPlayer doesn't use MPV properties, but we handle common ones
switch (name) {
case 'pause':
@@ -210,22 +211,24 @@ class PlayerAndroid extends PlayerBase {
if (storedId != null) {
_hiddenSubtitleTrackId = null;
final track = state.tracks.subtitle.cast<SubtitleTrack?>().firstWhere(
(t) => t?.id == storedId,
orElse: () => null,
);
(t) => t?.id == storedId,
orElse: () => null,
);
if (track != null) {
await selectSubtitleTrack(track);
}
}
}
break;
// Other properties are no-ops for ExoPlayer
default:
// Forward unknown properties to Kotlin for MPV fallback
await invoke('setMpvProperty', {'name': name, 'value': value});
}
}
@override
Future<String?> getProperty(String name) async {
checkDisposed();
if (disposed) return null;
// Return state-based values for common properties
switch (name) {
case 'pause':
@@ -238,6 +241,8 @@ class PlayerAndroid extends PlayerBase {
return (state.position.inMilliseconds / 1000.0).toString();
case 'duration':
return (state.duration.inMilliseconds / 1000.0).toString();
case 'seekable':
return state.seekable ? 'yes' : 'no';
// Video dimensions - query from ExoPlayer stats
case 'width':
case 'dwidth':
@@ -257,9 +262,9 @@ class PlayerAndroid extends PlayerBase {
/// Get all playback stats from ExoPlayer.
/// Returns a map with video/audio codec info, buffer state, and performance metrics.
Future<Map<String, dynamic>> getStats() async {
checkDisposed();
if (disposed) return {};
try {
final result = await methodChannel.invokeMethod<Map>('getStats');
final result = await invoke<Map>('getStats');
return Map<String, dynamic>.from(result ?? {});
} catch (e) {
return {};
@@ -279,9 +284,9 @@ class PlayerAndroid extends PlayerBase {
/// Get the current player type ('exoplayer' or 'mpv' if fallback is active).
Future<String> getPlayerType() async {
checkDisposed();
if (disposed) return 'unknown';
try {
final result = await methodChannel.invokeMethod<String>('getPlayerType');
final result = await invoke<String>('getPlayerType');
return result ?? 'unknown';
} catch (e) {
return 'unknown';
@@ -290,7 +295,7 @@ class PlayerAndroid extends PlayerBase {
@override
Future<void> command(List<String> args) async {
checkDisposed();
if (disposed) return;
// Handle MPV commands by translating to ExoPlayer equivalents
if (args.isEmpty) return;
@@ -341,9 +346,8 @@ class PlayerAndroid extends PlayerBase {
required int bgOpacity,
int subtitlePosition = 100,
}) async {
checkDisposed();
if (!initialized) return;
await methodChannel.invokeMethod('setSubtitleStyle', {
if (disposed || !initialized) return;
await invoke('setSubtitleStyle', {
'fontSize': fontSize,
'textColor': textColor,
'borderSize': borderSize,
@@ -360,18 +364,14 @@ class PlayerAndroid extends PlayerBase {
@override
Future<void> setVideoFrameRate(double fps, int durationMs) async {
checkDisposed();
if (!initialized) return;
await methodChannel.invokeMethod('setVideoFrameRate', {'fps': fps, 'duration': durationMs});
if (disposed || !initialized) return;
await invoke('setVideoFrameRate', {'fps': fps, 'duration': durationMs});
}
@override
Future<void> clearVideoFrameRate() async {
checkDisposed();
if (!initialized) return;
await methodChannel.invokeMethod('clearVideoFrameRate');
if (disposed || !initialized) return;
await invoke('clearVideoFrameRate');
}
// ============================================
@@ -380,19 +380,15 @@ class PlayerAndroid extends PlayerBase {
@override
Future<bool> requestAudioFocus() async {
checkDisposed();
if (disposed) return false;
await _ensureInitialized();
final result = await methodChannel.invokeMethod<bool>('requestAudioFocus');
return result ?? false;
return await invoke<bool>('requestAudioFocus') ?? false;
}
@override
Future<void> abandonAudioFocus() async {
checkDisposed();
if (!initialized) return;
await methodChannel.invokeMethod('abandonAudioFocus');
if (disposed || !initialized) return;
await invoke('abandonAudioFocus');
}
// ============================================
@@ -401,8 +397,8 @@ class PlayerAndroid extends PlayerBase {
@override
Future<void> setLogLevel(String level) async {
checkDisposed();
if (!initialized) return;
await methodChannel.invokeMethod('setLogLevel', {'level': level});
if (disposed) return;
await _ensureInitialized();
await invoke('setLogLevel', {'level': level});
}
}
+1 -5
View File
@@ -1,5 +1,3 @@
import 'package:flutter/services.dart';
import '../player_native.dart';
import '../video_rect_support.dart';
@@ -9,8 +7,6 @@ import '../video_rect_support.dart';
/// The mpv video window is positioned behind the Flutter window,
/// with transparent regions allowing the video to show through.
class PlayerWindows extends PlayerNative with VideoRectSupport {
static const _methodChannel = MethodChannel('com.plezy/mpv_player');
@override
int? get textureId => null; // Uses native window embedding, not Flutter texture
@@ -22,7 +18,7 @@ class PlayerWindows extends PlayerNative with VideoRectSupport {
required int bottom,
required double devicePixelRatio,
}) async {
await _methodChannel.invokeMethod('setVideoRect', {
await invoke('setVideoRect', {
'left': left,
'top': top,
'right': right,
+12
View File
@@ -90,6 +90,15 @@ abstract class Player {
/// Pass [SubtitleTrack.off] to disable subtitles.
Future<void> selectSubtitleTrack(SubtitleTrack track);
/// Select a secondary subtitle track (displayed simultaneously with primary).
///
/// Only supported on mpv backends (desktop + Android mpv fallback).
/// Pass [SubtitleTrack.off] to disable secondary subtitles.
Future<void> selectSecondarySubtitleTrack(SubtitleTrack track);
/// Whether this player backend supports secondary subtitle tracks.
bool get supportsSecondarySubtitles;
/// Add an external subtitle track.
///
/// [uri] - URL or path to the subtitle file.
@@ -229,6 +238,9 @@ abstract class Player {
// Lifecycle
// ============================================
/// Whether the player has been disposed.
bool get disposed;
/// Dispose of the player and release resources.
///
/// After calling this, the player instance should not be used.
+70 -24
View File
@@ -51,6 +51,7 @@ abstract class PlayerBase with PlayerStreamControllersMixin implements Player {
bool initialized = false;
/// Whether the player has been disposed.
@override
bool get disposed => _disposed;
/// The method channel for platform communication.
@@ -103,11 +104,7 @@ abstract class PlayerBase with PlayerStreamControllersMixin implements Player {
Future<void> observeProperty(String name, String format) async {
final propId = _nextPropId++;
_propIdToName[propId] = name;
await methodChannel.invokeMethod('observeProperty', {
'name': name,
'format': format,
'id': propId,
});
await invoke('observeProperty', {'name': name, 'format': format, 'id': propId});
}
void _handleEvent(dynamic event) {
@@ -172,6 +169,12 @@ abstract class PlayerBase with PlayerStreamControllersMixin implements Player {
}
break;
case 'seekable':
if (value is bool) {
setSeekable(value);
}
break;
case 'demuxer-cache-time':
if (value is num) {
final nowMs = _throttleSw.elapsedMilliseconds;
@@ -235,6 +238,10 @@ abstract class PlayerBase with PlayerStreamControllersMixin implements Player {
updateSelectedSubtitleTrack(value);
break;
case 'secondary-sid':
updateSelectedSecondarySubtitleTrack(value);
break;
case 'audio-device-list':
List? deviceList;
if (value is List) {
@@ -248,10 +255,7 @@ abstract class PlayerBase with PlayerStreamControllersMixin implements Player {
if (deviceList != null) {
final devices = deviceList
.whereType<Map>()
.map((d) => AudioDevice(
name: d['name'] as String? ?? '',
description: d['description'] as String? ?? '',
))
.map((d) => AudioDevice(name: d['name'] as String? ?? '', description: d['description'] as String? ?? ''))
.toList();
_state = _state.copyWith(audioDevices: devices);
audioDevicesController.add(devices);
@@ -260,7 +264,8 @@ abstract class PlayerBase with PlayerStreamControllersMixin implements Player {
case 'audio-device':
if (value is String && value.isNotEmpty) {
final device = _state.audioDevices.cast<AudioDevice?>().firstWhere(
final device =
_state.audioDevices.cast<AudioDevice?>().firstWhere(
(d) => d?.name == value,
orElse: () => AudioDevice(name: value),
) ??
@@ -306,10 +311,12 @@ abstract class PlayerBase with PlayerStreamControllersMixin implements Player {
final start = range['start'] as num?;
final end = range['end'] as num?;
if (start != null && end != null) {
ranges.add(BufferRange(
start: Duration(milliseconds: (start * 1000).toInt()),
end: Duration(milliseconds: (end * 1000).toInt()),
));
ranges.add(
BufferRange(
start: Duration(milliseconds: (start * 1000).toInt()),
end: Duration(milliseconds: (end * 1000).toInt()),
),
);
}
}
}
@@ -324,7 +331,17 @@ abstract class PlayerBase with PlayerStreamControllersMixin implements Player {
if (_disposed) return;
switch (name) {
case 'end-file':
final reason = data?['reason'] as String?;
setSeekable(false);
final rawReason = data?['reason'];
final reason = switch (rawReason) {
0 => 'eof',
2 => 'stop',
3 => 'quit',
4 => 'error',
5 => 'redirect',
String s => s,
_ => null,
};
if (reason == 'eof') {
_state = _state.copyWith(completed: true);
completedController.add(true);
@@ -432,16 +449,38 @@ abstract class PlayerBase with PlayerStreamControllersMixin implements Player {
trackController.add(_state.track);
}
/// Update the selected secondary subtitle track.
void updateSelectedSecondarySubtitleTrack(dynamic trackId) {
final id = trackId?.toString();
SubtitleTrack? selectedTrack;
if (id == null || id == 'no') {
selectedTrack = null;
} else {
selectedTrack = _state.tracks.subtitle.cast<SubtitleTrack?>().firstWhere((t) => t?.id == id, orElse: () => null);
}
_state = _state.copyWith(track: _state.track.copyWith(secondarySubtitle: selectedTrack));
trackController.add(_state.track);
}
/// Update the internal state.
void updateState(PlayerState Function(PlayerState) update) {
_state = update(_state);
}
/// Throws if the player has been disposed.
void checkDisposed() {
if (_disposed) {
throw StateError('Player has been disposed');
}
@protected
void setSeekable(bool seekable) {
if (_state.seekable == seekable) return;
_state = _state.copyWith(seekable: seekable);
seekableController.add(seekable);
}
/// Safe method channel invocation — no-ops if player is disposed.
@protected
Future<T?> invoke<T>(String method, [dynamic args]) async {
if (_disposed) return null;
return methodChannel.invokeMethod<T>(method, args);
}
// ============================================
@@ -450,7 +489,7 @@ abstract class PlayerBase with PlayerStreamControllersMixin implements Player {
@override
Future<void> playOrPause() async {
checkDisposed();
if (_disposed) return;
if (_state.playing) {
await pause();
} else {
@@ -460,9 +499,9 @@ abstract class PlayerBase with PlayerStreamControllersMixin implements Player {
@override
Future<bool> setVisible(bool visible) async {
checkDisposed();
if (_disposed) return false;
try {
await methodChannel.invokeMethod('setVisible', {'visible': visible});
await invoke('setVisible', {'visible': visible});
return true;
} catch (e) {
errorController.add('Failed to set visibility: $e');
@@ -496,6 +535,13 @@ abstract class PlayerBase with PlayerStreamControllersMixin implements Player {
// ignore: no-empty-block - base no-op, overridden by platform subclasses
Future<void> setAudioDevice(AudioDevice device) async {}
@override
bool get supportsSecondarySubtitles => true;
@override
// ignore: no-empty-block - base no-op, overridden by platform subclasses
Future<void> selectSecondarySubtitleTrack(SubtitleTrack track) async {}
@override
// ignore: no-empty-block - base no-op, overridden by platform subclasses
Future<void> setAudioPassthrough(bool enabled) async {}
@@ -515,7 +561,7 @@ abstract class PlayerBase with PlayerStreamControllersMixin implements Player {
await _eventSubscription?.cancel();
await _logSubscription?.cancel();
await methodChannel.invokeMethod('dispose');
await methodChannel.invokeMethod('dispose'); // Direct call — already guarded by _disposed check above
await closeStreamControllers();
}
}
+41 -46
View File
@@ -4,6 +4,7 @@ import 'package:flutter/services.dart';
import '../font_loader.dart';
import '../models.dart';
import '../../utils/app_logger.dart';
import 'player_base.dart';
/// Shared native implementation of [Player] for iOS, macOS, Android (MPV fallback), and Linux.
@@ -42,7 +43,7 @@ class PlayerNative extends PlayerBase {
if (initialized) return;
try {
final result = await methodChannel.invokeMethod<Object>('initialize');
final result = await invoke<Object>('initialize');
if (result is int) {
// Linux: initialize returns the texture ID
_textureIdValue = result;
@@ -60,6 +61,7 @@ class PlayerNative extends PlayerBase {
// Subscribe to MPV properties
await observeProperty('time-pos', 'double');
await observeProperty('duration', 'double');
await observeProperty('seekable', 'flag');
await observeProperty('pause', 'flag');
await observeProperty('paused-for-cache', 'flag');
await observeProperty('track-list', _nodeFormat);
@@ -68,6 +70,7 @@ class PlayerNative extends PlayerBase {
await observeProperty('speed', 'double');
await observeProperty('aid', 'string');
await observeProperty('sid', 'string');
await observeProperty('secondary-sid', 'string');
await observeProperty('demuxer-cache-state', _nodeFormat);
await observeProperty('audio-device-list', _nodeFormat);
await observeProperty('audio-device', 'string');
@@ -103,7 +106,7 @@ class PlayerNative extends PlayerBase {
/// Returns null if the call fails.
Future<int?> _openContentFd(String contentUri) async {
try {
return await methodChannel.invokeMethod<int>('openContentFd', {'uri': contentUri});
return await invoke<int>('openContentFd', {'uri': contentUri});
} catch (e) {
return null;
}
@@ -111,8 +114,9 @@ class PlayerNative extends PlayerBase {
@override
Future<void> open(Media media, {bool play = true, bool isLive = false}) async {
checkDisposed();
if (disposed) return;
await _ensureInitialized();
setSeekable(false);
// Show the video layer
await setVisible(true);
@@ -152,27 +156,32 @@ class PlayerNative extends PlayerBase {
@override
Future<void> play() async {
checkDisposed();
await setProperty('pause', 'no');
}
@override
Future<void> pause() async {
checkDisposed();
await setProperty('pause', 'yes');
}
@override
Future<void> stop() async {
checkDisposed();
await command(['stop']);
await methodChannel.invokeMethod('setVisible', {'visible': false});
setSeekable(false);
await invoke('setVisible', {'visible': false});
}
@override
Future<void> seek(Duration position) async {
checkDisposed();
await command(['seek', (position.inMilliseconds / 1000.0).toString(), 'absolute']);
try {
await command(['seek', (position.inMilliseconds / 1000.0).toString(), 'absolute']);
} on PlatformException catch (e) {
if (e.code == 'COMMAND_FAILED' || e.code == 'NOT_INITIALIZED') {
appLogger.w('Seek failed (${e.code}), player not ready');
return;
}
rethrow;
}
}
// ============================================
@@ -181,19 +190,21 @@ class PlayerNative extends PlayerBase {
@override
Future<void> selectAudioTrack(AudioTrack track) async {
checkDisposed();
await setProperty('aid', track.id);
}
@override
Future<void> selectSubtitleTrack(SubtitleTrack track) async {
checkDisposed();
await setProperty('sid', track.id);
}
@override
Future<void> selectSecondarySubtitleTrack(SubtitleTrack track) async {
await setProperty('secondary-sid', track.id);
}
@override
Future<void> addSubtitleTrack({required String uri, String? title, String? language, bool select = false}) async {
checkDisposed();
final args = ['sub-add', uri, select ? 'select' : 'auto'];
if (title != null) args.add('title=$title');
if (language != null) args.add('lang=$language');
@@ -206,19 +217,16 @@ class PlayerNative extends PlayerBase {
@override
Future<void> setVolume(double volume) async {
checkDisposed();
await setProperty('volume', volume.toString());
}
@override
Future<void> setRate(double rate) async {
checkDisposed();
await setProperty('speed', rate.toString());
}
@override
Future<void> setAudioDevice(AudioDevice device) async {
checkDisposed();
await setProperty('audio-device', device.name);
}
@@ -228,23 +236,23 @@ class PlayerNative extends PlayerBase {
@override
Future<void> setProperty(String name, String value) async {
checkDisposed();
if (disposed) return;
await _ensureInitialized();
await methodChannel.invokeMethod('setProperty', {'name': name, 'value': value});
await invoke('setProperty', {'name': name, 'value': value});
}
@override
Future<String?> getProperty(String name) async {
checkDisposed();
if (disposed) return null;
await _ensureInitialized();
return await methodChannel.invokeMethod<String>('getProperty', {'name': name});
return await invoke<String>('getProperty', {'name': name});
}
@override
Future<void> command(List<String> args) async {
checkDisposed();
if (disposed) return;
await _ensureInitialized();
await methodChannel.invokeMethod('command', {'args': args});
await invoke('command', {'args': args});
}
// ============================================
@@ -253,9 +261,9 @@ class PlayerNative extends PlayerBase {
@override
Future<void> setLogLevel(String level) async {
checkDisposed();
if (disposed) return;
await _ensureInitialized();
await methodChannel.invokeMethod('setLogLevel', {'level': level});
await invoke('setLogLevel', {'level': level});
}
// ============================================
@@ -264,7 +272,6 @@ class PlayerNative extends PlayerBase {
@override
Future<void> setAudioPassthrough(bool enabled) async {
checkDisposed();
if (enabled) {
await setProperty('audio-spdif', 'ac3,eac3,dts,dts-hd,truehd');
await setProperty('audio-exclusive', 'yes');
@@ -280,47 +287,35 @@ class PlayerNative extends PlayerBase {
@override
Future<void> updateFrame() async {
checkDisposed();
if (!initialized) return;
if (disposed || !initialized) return;
if (Platform.isIOS || Platform.isMacOS || Platform.isLinux) {
await methodChannel.invokeMethod('updateFrame');
await invoke('updateFrame');
}
}
@override
Future<void> setVideoFrameRate(double fps, int durationMs) async {
checkDisposed();
if (!Platform.isAndroid) return;
if (!initialized) return;
await methodChannel.invokeMethod('setVideoFrameRate', {'fps': fps, 'duration': durationMs});
if (!Platform.isAndroid || disposed || !initialized) return;
await invoke('setVideoFrameRate', {'fps': fps, 'duration': durationMs});
}
@override
Future<void> clearVideoFrameRate() async {
checkDisposed();
if (!Platform.isAndroid) return;
if (!initialized) return;
await methodChannel.invokeMethod('clearVideoFrameRate');
if (!Platform.isAndroid || disposed || !initialized) return;
await invoke('clearVideoFrameRate');
}
@override
Future<bool> requestAudioFocus() async {
checkDisposed();
if (disposed) return false;
if (!Platform.isAndroid) return true;
await _ensureInitialized();
final result = await methodChannel.invokeMethod<bool>('requestAudioFocus');
return result ?? false;
return await invoke<bool>('requestAudioFocus') ?? false;
}
@override
Future<void> abandonAudioFocus() async {
checkDisposed();
if (!Platform.isAndroid) return;
if (!initialized) return;
await methodChannel.invokeMethod('abandonAudioFocus');
if (!Platform.isAndroid || disposed || !initialized) return;
await invoke('abandonAudioFocus');
}
}
+7 -1
View File
@@ -20,6 +20,9 @@ class PlayerState {
/// Total duration of the media.
final Duration duration;
/// Whether the current media item can be seeked.
final bool seekable;
/// Amount of media buffered ahead of current position.
final Duration buffer;
@@ -59,6 +62,7 @@ class PlayerState {
this.buffering = false,
this.position = Duration.zero,
this.duration = Duration.zero,
this.seekable = false,
this.buffer = Duration.zero,
this.volume = 100.0,
this.rate = 1.0,
@@ -79,6 +83,7 @@ class PlayerState {
bool? buffering,
Duration? position,
Duration? duration,
bool? seekable,
Duration? buffer,
double? volume,
double? rate,
@@ -97,6 +102,7 @@ class PlayerState {
buffering: buffering ?? this.buffering,
position: position ?? this.position,
duration: duration ?? this.duration,
seekable: seekable ?? this.seekable,
buffer: buffer ?? this.buffer,
volume: volume ?? this.volume,
rate: rate ?? this.rate,
@@ -112,5 +118,5 @@ class PlayerState {
}
@override
String toString() => 'PlayerState(playing: $playing, position: $position, duration: $duration)';
String toString() => 'PlayerState(playing: $playing, position: $position, duration: $duration, seekable: $seekable)';
}
@@ -14,6 +14,7 @@ mixin PlayerStreamControllersMixin {
final bufferingController = StreamController<bool>.broadcast();
final positionController = StreamController<Duration>.broadcast();
final durationController = StreamController<Duration>.broadcast();
final seekableController = StreamController<bool>.broadcast();
final bufferController = StreamController<Duration>.broadcast();
final volumeController = StreamController<double>.broadcast();
final rateController = StreamController<double>.broadcast();
@@ -35,6 +36,7 @@ mixin PlayerStreamControllersMixin {
buffering: bufferingController.stream,
position: positionController.stream,
duration: durationController.stream,
seekable: seekableController.stream,
buffer: bufferController.stream,
volume: volumeController.stream,
rate: rateController.stream,
@@ -57,6 +59,7 @@ mixin PlayerStreamControllersMixin {
await bufferingController.close();
await positionController.close();
await durationController.close();
await seekableController.close();
await bufferController.close();
await volumeController.close();
await rateController.close();
+4
View File
@@ -20,6 +20,9 @@ class PlayerStreams {
/// Stream of duration changes (when media is loaded).
final Stream<Duration> duration;
/// Stream of seekability changes for the current media item.
final Stream<bool> seekable;
/// Stream of buffer position updates.
final Stream<Duration> buffer;
@@ -63,6 +66,7 @@ class PlayerStreams {
required this.buffering,
required this.position,
required this.duration,
required this.seekable,
required this.buffer,
required this.volume,
required this.rate,
+10 -4
View File
@@ -226,6 +226,10 @@ class CompanionRemoteProvider with ChangeNotifier {
}
Future<void> joinSessionMulti(String sessionId, String pin, List<String> hostAddresses) async {
if (hostAddresses.isEmpty) {
throw ArgumentError('hostAddresses must not be empty');
}
await leaveSession();
_lastSessionId = sessionId;
@@ -309,10 +313,12 @@ class CompanionRemoteProvider with ChangeNotifier {
appLogger.d('CompanionRemote: Attempting reconnect...');
// Clean up old peer service without triggering intentional disconnect
_cleanupSubscriptions();
await _peerService?.disconnect();
_peerService = CompanionRemotePeerService();
_setupPeerServiceListeners();
try {
await _peerService?.disconnect();
} finally {
_peerService = CompanionRemotePeerService();
_setupPeerServiceListeners();
}
await _peerService!.joinSession(_lastSessionId!, _lastPin!, _deviceName, _platform, _lastHostAddress!);
+14 -22
View File
@@ -3,11 +3,11 @@ import 'dart:io';
import 'dart:collection';
import 'package:flutter/foundation.dart';
import 'package:plezy/utils/content_utils.dart';
import 'package:shared_preferences/shared_preferences.dart';
import '../models/download_models.dart';
import '../models/plex_metadata.dart';
import '../services/download_manager_service.dart';
import '../services/download_storage_service.dart';
import '../services/storage_service.dart';
import '../services/plex_api_cache.dart';
import '../services/plex_client.dart';
import '../utils/app_logger.dart';
@@ -118,7 +118,7 @@ class DownloadProvider extends ChangeNotifier {
}
}
// Load total episode counts from SharedPreferences
// Load total episode counts from StorageService
await _loadTotalEpisodeCounts();
appLogger.i(
@@ -131,32 +131,24 @@ class DownloadProvider extends ChangeNotifier {
}
}
/// Load total episode counts from SharedPreferences
/// Load total episode counts from StorageService
Future<void> _loadTotalEpisodeCounts() async {
try {
final prefs = await SharedPreferences.getInstance();
final keys = prefs.getKeys().where((k) => k.startsWith('episode_count_'));
final storage = await StorageService.getInstance();
final counts = storage.loadAllEpisodeCounts();
_totalEpisodeCounts.addAll(counts);
for (final key in keys) {
final globalKey = key.replaceFirst('episode_count_', '');
final count = prefs.getInt(key);
if (count != null) {
_totalEpisodeCounts[globalKey] = count;
appLogger.d('📂 Loaded episode count from SharedPrefs: $globalKey = $count');
}
}
appLogger.i('📚 Loaded ${_totalEpisodeCounts.length} episode counts from SharedPreferences');
appLogger.i('Loaded ${_totalEpisodeCounts.length} episode counts from StorageService');
} catch (e) {
appLogger.w('Failed to load episode counts', error: e);
}
}
/// Persist total episode count to SharedPreferences
/// Persist total episode count to StorageService
Future<void> _persistTotalEpisodeCount(String globalKey, int count) async {
try {
final prefs = await SharedPreferences.getInstance();
await prefs.setInt('episode_count_$globalKey', count);
final storage = await StorageService.getInstance();
await storage.saveTotalEpisodeCount(globalKey, count);
appLogger.d('Persisted episode count for $globalKey: $count');
} catch (e) {
appLogger.w('Failed to persist episode count for $globalKey', error: e);
@@ -409,7 +401,7 @@ class DownloadProvider extends ChangeNotifier {
countSource = 'metadata.leafCount';
} else if (storedCount != null && storedCount > 0) {
totalEpisodes = storedCount;
countSource = 'stored count (SharedPreferences)';
countSource = 'stored count (StorageService)';
} else {
totalEpisodes = downloadedCount;
countSource = 'downloaded episodes (fallback)';
@@ -874,10 +866,10 @@ class DownloadProvider extends ChangeNotifier {
final meta = _metadata[globalKey];
if (meta?.type == 'show' || meta?.type == 'season') {
final removedCount = _totalEpisodeCounts.remove(globalKey);
final prefs = await SharedPreferences.getInstance();
await prefs.remove('episode_count_$globalKey');
final storage = await StorageService.getInstance();
await storage.removeEpisodeCount(globalKey);
appLogger.i(
'🗑️ Removed episode count for $globalKey\n'
'Removed episode count for $globalKey\n'
' - Removed count value: $removedCount\n'
' - Metadata type: ${meta?.type}\n'
' - Metadata title: ${meta?.title}\n'
+1 -6
View File
@@ -80,17 +80,12 @@ class LibrariesProvider extends ChangeNotifier {
}
}
/// Refresh libraries by clearing cache and reloading.
/// Refresh libraries by reloading from the connected servers.
Future<void> refresh() async {
if (_aggregationService == null) {
appLogger.w('LibrariesProvider: Cannot refresh - not initialized');
return;
}
// Clear aggregation service cache
_aggregationService!.clearCache();
// Reload libraries
await loadLibraries();
}
-2
View File
@@ -87,7 +87,6 @@ class MultiServerProvider extends ChangeNotifier {
/// Clear all server connections
void clearAllConnections() {
_serverManager.disconnectAll();
_aggregationService.clearCache(); // Clear cached data when servers change
appLogger.d('MultiServerProvider: All connections cleared');
notifyListeners();
}
@@ -97,7 +96,6 @@ class MultiServerProvider extends ChangeNotifier {
Future<int> reconnectWithServers(List<PlexServer> servers, {String? clientIdentifier}) async {
// Clear existing connections first
_serverManager.disconnectAll();
_aggregationService.clearCache(); // Clear cached data when servers change
appLogger.d('MultiServerProvider: Cleared connections, reconnecting to ${servers.length} servers');
// Connect with new server tokens
+27 -11
View File
@@ -28,10 +28,15 @@ class OfflineModeProvider extends ChangeNotifier {
/// Updates network and server connection flags
Future<void> _updateConnectionFlags() async {
final connectivityResult = await Connectivity()
.checkConnectivity()
.timeout(const Duration(seconds: 3), onTimeout: () => [ConnectivityResult.other]);
_hasNetworkConnection = !connectivityResult.contains(ConnectivityResult.none);
try {
final connectivityResult = await Connectivity()
.checkConnectivity()
.timeout(const Duration(seconds: 3), onTimeout: () => [ConnectivityResult.other]);
_hasNetworkConnection = !connectivityResult.contains(ConnectivityResult.none);
} catch (e) {
// connectivity_plus can throw PlatformException on Windows (NetworkManager::StartListen)
_hasNetworkConnection = true;
}
_hasServerConnection = _serverManager.onlineServerIds.isNotEmpty;
}
@@ -43,14 +48,25 @@ class OfflineModeProvider extends ChangeNotifier {
// Check initial connectivity
await _updateConnectionFlags();
// Monitor connectivity changes
_connectivitySubscription = Connectivity().onConnectivityChanged.listen((results) {
final wasOffline = isOffline;
_hasNetworkConnection = !results.contains(ConnectivityResult.none);
// Monitor connectivity changes — runZonedGuarded catches async errors from
// connectivity_plus (e.g. DBusServiceUnknownException on Linux without NetworkManager)
runZonedGuarded(() {
_connectivitySubscription = Connectivity().onConnectivityChanged.listen(
(results) {
final wasOffline = isOffline;
_hasNetworkConnection = !results.contains(ConnectivityResult.none);
if (wasOffline != isOffline) {
notifyListeners();
}
if (wasOffline != isOffline) {
notifyListeners();
}
},
onError: (e) {
_hasNetworkConnection = true;
},
);
}, (error, stack) {
// connectivity_plus throws DBusServiceUnknownException on Linux without NetworkManager
_hasNetworkConnection = true;
});
// Monitor server status from MultiServerManager
+3 -8
View File
@@ -2,7 +2,6 @@ import 'package:flutter/foundation.dart';
import '../models/plex_metadata.dart';
import '../services/offline_watch_sync_service.dart';
import '../services/plex_api_cache.dart';
import '../utils/watch_state_notifier.dart';
import 'download_provider.dart';
import '../utils/global_key_utils.dart';
@@ -16,16 +15,12 @@ import '../utils/global_key_utils.dart';
class OfflineWatchProvider extends ChangeNotifier {
final OfflineWatchSyncService _syncService;
final DownloadProvider _downloadProvider;
// ignore: unused_field - reserved for future cached metadata lookup
final PlexApiCache _apiCache;
OfflineWatchProvider({
required OfflineWatchSyncService syncService,
required DownloadProvider downloadProvider,
required PlexApiCache apiCache,
}) : _syncService = syncService,
_downloadProvider = downloadProvider,
_apiCache = apiCache {
_downloadProvider = downloadProvider {
// Listen to sync service changes to update UI
_syncService.addListener(_onSyncServiceChanged);
}
@@ -150,7 +145,7 @@ class OfflineWatchProvider extends ChangeNotifier {
}
// All episodes watched - return first episode for replay
return episodes.first;
return episodes.firstOrNull;
}
/// Find the next unwatched downloaded episode synchronously.
@@ -169,7 +164,7 @@ class OfflineWatchProvider extends ChangeNotifier {
}
// All episodes watched - return first episode for replay
return episodes.first;
return episodes.firstOrNull;
}
/// Emit a watch state change event for immediate UI update.
+2 -2
View File
@@ -210,7 +210,7 @@ class PlaybackStateProvider with ChangeNotifier {
}
// Need to load next window
if (_client != null && _playQueueId != null) {
if (_client != null && _playQueueId != null && _loadedItems.isNotEmpty) {
// Load next window centered on the item after current
final nextItemID = _loadedItems.last.playQueueItemID;
if (nextItemID != null) {
@@ -248,7 +248,7 @@ class PlaybackStateProvider with ChangeNotifier {
}
// Need to load previous window
if (_client != null && _playQueueId != null) {
if (_client != null && _playQueueId != null && _loadedItems.isNotEmpty) {
final prevItemID = _loadedItems.first.playQueueItemID;
if (prevItemID != null && prevItemID > 0) {
final loaded = await _ensureItemsLoaded(prevItemID - 1);
-32
View File
@@ -1,32 +0,0 @@
import 'package:flutter/foundation.dart';
/// Provider for tracking server-specific UI state
/// Manages which server is currently in context for detail views
class ServerStateProvider extends ChangeNotifier {
String? _currentServerId;
/// Get the currently selected server ID (for detail views)
String? get currentServerId => _currentServerId;
/// Set the current server context (e.g., when viewing a library from a specific server)
void setCurrentServer(String? serverId) {
if (_currentServerId != serverId) {
_currentServerId = serverId;
notifyListeners();
}
}
/// Clear the current server selection
void clearCurrentServer() {
if (_currentServerId != null) {
_currentServerId = null;
notifyListeners();
}
}
/// Reset all state
void reset() {
_currentServerId = null;
notifyListeners();
}
}
+10
View File
@@ -13,6 +13,7 @@ class SettingsProvider extends ChangeNotifier {
bool _alwaysKeepSidebarOpen = false;
bool _showUnwatchedCount = true;
bool _hideSpoilers = false;
bool _showNavBarLabels = true;
bool _isInitialized = false;
Future<void>? _initFuture;
@@ -38,6 +39,7 @@ class SettingsProvider extends ChangeNotifier {
_alwaysKeepSidebarOpen = _settingsService!.getAlwaysKeepSidebarOpen();
_showUnwatchedCount = _settingsService!.getShowUnwatchedCount();
_hideSpoilers = _settingsService!.getHideSpoilers();
_showNavBarLabels = _settingsService!.getShowNavBarLabels();
_isInitialized = true;
notifyListeners();
}
@@ -63,6 +65,8 @@ class SettingsProvider extends ChangeNotifier {
bool get hideSpoilers => _hideSpoilers;
bool get showNavBarLabels => _showNavBarLabels;
/// Helper to update a setting: ensures init, deduplicates, persists, notifies.
Future<void> _updateSetting<T>({
required T current,
@@ -132,6 +136,12 @@ class SettingsProvider extends ChangeNotifier {
persist: _settingsService!.setHideSpoilers,
);
Future<void> setShowNavBarLabels(bool value) => _updateSetting(
current: _showNavBarLabels, value: value,
setLocal: (v) => _showNavBarLabels = v,
persist: _settingsService!.setShowNavBarLabels,
);
String get libraryDensityDisplayName {
switch (_libraryDensity) {
case LibraryDensity.compact:
+59 -3
View File
@@ -2,6 +2,7 @@ import 'package:flutter/foundation.dart';
import '../models/shader_preset.dart';
import '../services/settings_service.dart';
import '../services/shader_asset_loader.dart';
/// Provider for managing shader preset state.
///
@@ -11,6 +12,7 @@ class ShaderProvider extends ChangeNotifier {
ShaderPreset _savedPreset = ShaderPreset.none;
ShaderPreset _currentPreset = ShaderPreset.none;
List<ShaderPreset> _customPresets = [];
bool _initialized = false;
ShaderProvider() {
@@ -20,8 +22,12 @@ class ShaderProvider extends ChangeNotifier {
Future<void> _initialize() async {
_settingsService = await SettingsService.getInstance();
// Load custom presets from storage
final customData = _settingsService.getCustomShaderPresets();
_customPresets = customData.map((json) => ShaderPreset.fromJson(json)).toList();
final presetId = _settingsService.getGlobalShaderPreset();
_savedPreset = ShaderPreset.fromId(presetId) ?? ShaderPreset.none;
_savedPreset = findPresetById(presetId) ?? ShaderPreset.none;
_currentPreset = _savedPreset;
_initialized = true;
@@ -37,12 +43,20 @@ class ShaderProvider extends ChangeNotifier {
/// The currently active shader preset
ShaderPreset get currentPreset => _currentPreset;
/// All available shader presets
List<ShaderPreset> get allPresets => ShaderPreset.allPresets;
/// All available shader presets (built-in + custom)
List<ShaderPreset> get allPresets => [...ShaderPreset.allPresets, ..._customPresets];
/// Custom shader presets only
List<ShaderPreset> get customPresets => _customPresets;
/// Whether any shader is currently enabled
bool get isShaderEnabled => _currentPreset.type != ShaderPresetType.none;
/// Find a preset by its ID, searching both built-in and custom presets.
ShaderPreset? findPresetById(String id) {
return ShaderPreset.fromId(id) ?? _customPresets.cast<ShaderPreset?>().firstWhere((p) => p!.id == id, orElse: () => null);
}
/// Apply and persist a shader preset
Future<void> setPreset(ShaderPreset preset) async {
_savedPreset = preset;
@@ -59,6 +73,48 @@ class ShaderProvider extends ChangeNotifier {
}
}
/// Import a custom shader from a file path.
/// Copies the file to the custom shaders directory and creates a preset.
Future<ShaderPreset> importCustomShader(String filePath, String displayName) async {
final storedFileName = await ShaderAssetLoader.importCustomShader(filePath);
final id = 'custom_$storedFileName';
final preset = ShaderPreset(
id: id,
name: displayName,
type: ShaderPresetType.custom,
fileName: storedFileName,
);
_customPresets.add(preset);
await _saveCustomPresets();
notifyListeners();
return preset;
}
/// Delete a custom shader preset and its file.
Future<void> deleteCustomShader(ShaderPreset preset) async {
if (preset.fileName != null) {
await ShaderAssetLoader.deleteCustomShader(preset.fileName!);
}
_customPresets.removeWhere((p) => p.id == preset.id);
await _saveCustomPresets();
// Reset to none if the deleted preset was active
if (_currentPreset.id == preset.id || _savedPreset.id == preset.id) {
_savedPreset = ShaderPreset.none;
_currentPreset = ShaderPreset.none;
await _settingsService.setGlobalShaderPreset(ShaderPreset.none.id);
}
notifyListeners();
}
Future<void> _saveCustomPresets() async {
final data = _customPresets.map((p) => p.toJson()).toList();
await _settingsService.setCustomShaderPresets(data);
}
/// Reset to default (no shaders)
Future<void> reset() async {
await setPreset(ShaderPreset.none);
+1 -1
View File
@@ -66,7 +66,7 @@ class ThemeProvider extends ChangeNotifier {
}
}
static const _themeChannel = MethodChannel('app.plezy/theme');
static const _themeChannel = MethodChannel('com.plezy/theme');
Future<void> setThemeMode(settings.ThemeMode mode) async {
if (_themeMode != mode) {
-80
View File
@@ -375,86 +375,6 @@ class UserProfileProvider extends ChangeNotifier {
}
}
/// Refresh provider for new server context
/// Call this when switching servers to ensure provider state is synchronized
Future<void> refreshForNewServer([BuildContext? context]) async {
appLogger.d('UserProfileProvider: Refreshing for new server context');
_setLoading(true);
try {
// Clear cached data from previous server (both memory and storage)
_home = null;
_currentUser = null;
_profileSettings = null;
_clearError();
// Re-initialize services with current storage state
_authService = await PlexAuthService.create();
_storageService = await StorageService.getInstance();
// Clear storage state that's specific to the previous server context
await Future.wait([
// Clear home users cache (server-specific)
_storageService!.clearHomeUsersCache(),
// Clear current user UUID (profile-specific, should not persist across servers)
_storageService!.clearCurrentUserUUID(),
]);
appLogger.d('UserProfileProvider: Cleared previous server storage state');
// Load fresh data for the new server (should be empty after clearing cache)
await _loadCachedData();
// Load from API since we cleared the cache
appLogger.d('UserProfileProvider: Loading fresh home users for new server');
// Store context reference before async operations to avoid build context warnings
final contextForSwitch = context;
try {
await loadHomeUsers();
// After loading home users, if a current user was set (admin user),
// perform a complete profile switch to ensure tokens are properly updated
if (_currentUser != null && contextForSwitch != null) {
appLogger.d(
'UserProfileProvider: Performing complete profile switch to ${_currentUser!.displayName} for new server',
);
// Perform full profile switch which includes API calls and token updates
final userToSwitchTo = _currentUser!;
// ignore: use_build_context_synchronously - context is checked via mounted guard above
final success = await switchToUser(userToSwitchTo, contextForSwitch);
if (success) {
appLogger.d('UserProfileProvider: Successfully switched to admin user for new server');
} else {
appLogger.w('UserProfileProvider: Failed to complete profile switch for new server');
}
} else if (_currentUser != null && contextForSwitch == null) {
appLogger.w('UserProfileProvider: Cannot perform complete profile switch - no context provided');
// Still try to fetch profile settings even without full switch
try {
await refreshProfileSettings();
} catch (e) {
appLogger.w('UserProfileProvider: Failed to refresh profile settings for new server', error: e);
}
}
} catch (e) {
appLogger.w('UserProfileProvider: Failed to load home users for new server', error: e);
// Don't set error as it's not critical
}
appLogger.d('UserProfileProvider: Refresh for new server complete');
} catch (e) {
appLogger.e('UserProfileProvider: Failed to refresh for new server', error: e);
_setError('Failed to refresh for new server');
} finally {
_setLoading(false);
}
}
void _setLoading(bool loading) {
_isLoading = loading;
notifyListeners();
+5 -5
View File
@@ -100,7 +100,7 @@ class _AuthScreenState extends State<AuthScreen> {
clientIdentifier: _authService.clientIdentifier,
);
if (!result.hasConnections) {
if (!result.hasConnections || result.firstClient == null) {
if (!mounted) return;
setState(() {
_isAuthenticating = false;
@@ -243,15 +243,15 @@ class _AuthScreenState extends State<AuthScreen> {
return StatefulBuilder(
builder: (context, setDialogState) {
return AlertDialog(
title: Text(t.auth.debugEnterToken),
title: const Text('Debug: Enter Plex Token'),
content: Column(
mainAxisSize: MainAxisSize.min,
children: [
TextFormField(
controller: tokenController,
decoration: InputDecoration(
labelText: t.auth.plexTokenLabel,
hintText: t.auth.plexTokenHint,
labelText: 'Plex Auth Token',
hintText: 'Enter your Plex.tv token',
errorText: errorMessage,
border: const OutlineInputBorder(),
),
@@ -453,7 +453,7 @@ class _AuthScreenState extends State<AuthScreen> {
padding: const EdgeInsets.symmetric(vertical: 12),
side: BorderSide(color: Theme.of(context).colorScheme.outline.withValues(alpha: 0.5)),
),
child: Text(t.auth.debugEnterToken, style: const TextStyle(fontSize: 12)),
child: const Text('Debug: Enter Plex Token', style: TextStyle(fontSize: 12)),
),
],
if (_errorMessage != null) ...[
@@ -59,10 +59,10 @@ abstract class BaseMediaListDetailScreen<T extends StatefulWidget> extends State
// If serverId is null, fall back to first available server
if (serverId == null) {
final multiServerProvider = Provider.of<MultiServerProvider>(context, listen: false);
if (!multiServerProvider.hasConnectedServers) {
serverId = multiServerProvider.onlineServerIds.firstOrNull;
if (serverId == null) {
throw Exception(t.errors.noClientAvailable);
}
serverId = multiServerProvider.onlineServerIds.first;
}
return context.getClientForServer(serverId);

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