Compare commits

..
169 Commits
Author SHA1 Message Date
github-actions[bot] 5fa8326341 chore: bump version to 2.2.1 2026-05-24 17:06:57 +00:00
edde746 c8cded70ef fix(tv): polish media detail rails
close #1117
2026-05-24 19:06:06 +02:00
edde746 8fe51075be fix(android): force display mode matching 2026-05-24 18:39:41 +02:00
edde746 d24c95f1e1 fix(android): trust Media3 TrueHD passthrough 2026-05-24 18:09:42 +02:00
edde746 1c8be031ae chore(ios): declare export compliance 2026-05-24 15:10:58 +02:00
github-actions[bot] 83c47b529c chore: update cask to 2.2.0 2026-05-24 06:17:35 +00:00
github-actions[bot] 9dce396fb4 chore: bump version to 2.2.0 2026-05-24 05:53:47 +00:00
edde746 eeaa831cc2 fix(search): guard stale refresh callbacks 2026-05-24 07:37:02 +02:00
edde746 f1a02ade17 fix(android): guard desktop fullscreen calls 2026-05-24 07:22:56 +02:00
edde746 dcd0b03096 fix(downloads): repair offline artwork 2026-05-24 05:27:19 +02:00
edde746 a189ee5774 fix(offline): honor settled profile visibility 2026-05-24 03:12:33 +02:00
edde746 e74df0d245 fix(plex): fail open on unknown transcode capability 2026-05-24 00:39:30 +02:00
edde746andGitHub d980540c09 Merge pull request #1024 from Mofeywalker/feat/harmonize-playback-speeds
fix: add missing 0.25 speed steps
2026-05-23 21:49:33 +02:00
edde746 a51215952f docs: remove duplicate screenshot link 2026-05-23 20:52:06 +02:00
edde746 993a0e4666 fix(tv): route remote keys to native text input 2026-05-23 19:19:59 +02:00
edde746 4c43d6fdec fix(jellyfin): prefer direct playback by default 2026-05-23 18:38:38 +02:00
edde746 1c58a12c90 fix(jellyfin): omit audio index from static fallback 2026-05-23 16:35:09 +02:00
edde746 b6d23ed089 fix(startup): speed offline fallback
close #1108
2026-05-23 16:00:00 +02:00
edde746 3a042d79f6 fix(player): persist shader hotkey toggles
close #1105
2026-05-23 01:37:57 +02:00
edde746 1a73fc585b fix(player): align playback settings label
close #1106
2026-05-23 00:34:16 +02:00
edde746 8ec2795da1 fix(tv): stabilize long rail focus scrolling 2026-05-22 23:55:54 +02:00
edde746 cbea1c8d8f fix(tv): correct long hub row focus scrolling 2026-05-22 21:32:26 +02:00
edde746 048d22cb99 fix(livetv): expand program summaries 2026-05-22 20:52:21 +02:00
edde746 31c01ab3e0 chore(site): update tv screenshots 2026-05-22 17:15:51 +02:00
edde746 16e31303ae fix(tv): keep spotlight background static 2026-05-22 17:06:51 +02:00
edde746 e301fec38c fix(ci): clear unused parameter warnings 2026-05-22 16:04:39 +02:00
edde746 e1e9adbb01 fix(ios): handle status bar scroll taps
close #1101
2026-05-22 15:40:03 +02:00
edde746 636ecc9d3a fix(tv): fit fallback logo titles 2026-05-22 13:34:30 +02:00
edde746 fc231a9e72 fix(playlists): load paginated items mutably
close #1100
2026-05-22 05:28:03 +02:00
edde746 c354193187 fix(tv): fade media detail transitions 2026-05-22 04:30:22 +02:00
edde746 bb7ed72073 fix(tv): stabilize detail preplay layout 2026-05-22 04:13:00 +02:00
edde746 fea973a72a fix(tv): smooth sidebar expansion behavior 2026-05-22 03:54:34 +02:00
edde746 487c7b87f6 fix(nav): hide active sidebar background during focus 2026-05-22 02:21:06 +02:00
edde746 afc94a50fc fix(tv): push sidebar content without resizing 2026-05-22 01:38:29 +02:00
edde746 2ebd730201 fix(tv): displace content beside sidebar 2026-05-22 00:14:16 +02:00
edde746 0dd7d7c522 feat(tv): push content beside sidebar 2026-05-21 21:01:14 +02:00
edde746 eaf0f4fa1a fix(tv): stabilize browse rail focus and loading 2026-05-21 18:17:00 +02:00
edde746 743a8668ec feat(tv): refine sidebar backdrop 2026-05-21 17:04:23 +02:00
edde746 6a74ff083f fix(mpv): avoid forcing HDR colorspace hint 2026-05-21 16:01:15 +02:00
edde746 9dc3a1a1b1 feat(tv): improve hub rail experience 2026-05-21 15:57:02 +02:00
edde746 2b45557743 fix(android): preserve mpv frame-rate startup position 2026-05-21 09:58:13 +02:00
edde746 11b97e626e fix(gamepad): update reconnect dependency 2026-05-21 08:41:03 +02:00
edde746 d8f69f7acd fix(plex): copy mkv attachments during transcode
close #1083
2026-05-21 08:08:25 +02:00
edde746 b547f8a47f fix(android): gate mpv startup refresh on display switch 2026-05-21 02:59:11 +02:00
edde746 f4c83bedc0 chore(tv): guard text input diagnostics 2026-05-21 00:42:19 +02:00
edde746 0582ab2947 fix(livetv): show active recording indicators
close #1076
2026-05-21 00:19:21 +02:00
edde746 209101796b refactor: use private named constructor params 2026-05-20 23:48:29 +02:00
edde746 448a5d084c fix(tv): hide season poster tab setting 2026-05-20 22:22:46 +02:00
edde746 1ebfee9354 fix(android): stabilize TrueHD tunneling 2026-05-20 21:00:02 +02:00
edde746 29e0654d47 fix(windows): launch VLC from default install path
close #1085
2026-05-20 20:16:34 +02:00
edde746 f565684842 fix(ci): stabilize analyzer and linux builds 2026-05-20 19:10:46 +02:00
edde746 5d6f34f756 fix(android): preserve tracks on DV reload 2026-05-20 18:27:42 +02:00
edde746 73735c5a00 fix(ci): unblock analyzer and windows build 2026-05-20 18:10:21 +02:00
edde746 c93a266722 fix(plex): support no-burn transcode subtitles 2026-05-20 17:21:31 +02:00
edde746 2b167a60f5 fix(jellyfin): pin merged version playback 2026-05-20 05:27:48 +02:00
edde746 63e807dd58 fix(tv): focus flattened episode rows
close #1081
2026-05-20 03:55:48 +02:00
edde746 16e3500c49 fix(android): gate TrueHD passthrough 2026-05-20 02:23:57 +02:00
edde746 6e47a5fbcf fix(tv): hide hero setting 2026-05-19 22:57:24 +02:00
edde746 b18774d60b fix(tv): complete detail rail behavior 2026-05-19 20:23:17 +02:00
edde746 0383a77b56 fix(jellyfin): pin version playback source 2026-05-19 20:12:19 +02:00
edde746 d58007a9e2 fix(ios): keep PiP timebase renderer-owned 2026-05-19 20:09:23 +02:00
edde746 7d60875e19 fix(tv): refine browse rail layout 2026-05-19 19:30:57 +02:00
edde746 6be1b7c486 fix(android): unwrap DV supplemental samples 2026-05-19 18:26:41 +02:00
edde746 88c65e1857 chore(tv): add text input routing diagnostics 2026-05-19 14:42:34 +02:00
edde746 95ff95d397 fix(player): capture media screenshots
close #1077
2026-05-19 14:17:42 +02:00
edde746 1978d710da fix(ci): unblock Flutter 3.44 checks 2026-05-19 12:38:43 +02:00
edde746 423be62218 fix(tv): pause gamepad during native text input 2026-05-19 12:10:49 +02:00
edde746 d2650667b8 fix(tv): preserve native text input routing 2026-05-19 11:17:44 +02:00
edde746 48cf8accfa fix(jellyfin): resolve versions on demand 2026-05-19 10:54:04 +02:00
edde746 565885cc1e fix(ios): add privacy usage descriptions 2026-05-19 09:31:26 +02:00
edde746 d0e74151b8 fix(ios): update MPVKit renderer recovery 2026-05-18 23:48:22 +02:00
edde746 89c9c6c49b chore(tvos): align Flutter engine with 3.44 2026-05-18 23:31:54 +02:00
edde746 e98d7febdd chore: upgrade Flutter to 3.44 2026-05-18 22:52:51 +02:00
edde746 55ee2c270d fix(android): strip DV init data 2026-05-18 22:06:39 +02:00
edde746 81b05f00df fix(ci): pin Flutter stable version 2026-05-18 20:37:00 +02:00
edde746 f4f2571168 fix(android): apply dv conversion mode during init 2026-05-18 20:32:34 +02:00
edde746 d85a622fbe fix(jellyfin): restore collection query compatibility 2026-05-18 19:24:07 +02:00
edde746 d3e8dcef86 fix(windows): pin patched connectivity_plus 2026-05-18 19:05:08 +02:00
edde746 e9c93415a8 fix(macos): guard MoltenVK heaps 2026-05-18 17:37:46 +02:00
edde746 68e27fdbb3 feat(remote): remember manual host address
close #1074
2026-05-18 17:22:10 +02:00
edde746 a679bae354 fix(android): expose DV conversion setting 2026-05-18 16:30:14 +02:00
edde746 5a68711f7b feat(ui): add pointer cursors to clickable controls
close #1068
2026-05-18 15:56:41 +02:00
edde746 324d145292 fix(jellyfin): support external audio playback 2026-05-18 13:43:58 +02:00
edde746 d004342c98 chore: add website source 2026-05-18 13:15:17 +02:00
edde746 d3d7957b62 docs: improve readme links and downloads 2026-05-18 12:35:04 +02:00
edde746 0e94558548 fix(jellyfin): reduce collection query cost 2026-05-18 10:33:10 +02:00
edde746 8d14a14781 docs: update readme showcase 2026-05-18 06:16:26 +02:00
edde746andGitHub 20f704a56d Merge pull request #1070 from PsychotherapistSam/main
fix(player): adjust performance overlay padding
2026-05-18 06:13:06 +02:00
github-actions[bot] 93f0da7a27 chore: bump version to 2.1.1 2026-05-17 22:30:27 +00:00
edde746 8b3f8856f7 fix(scroll): avoid pending scroll timers 2026-05-18 00:23:17 +02:00
edde746 39fb828580 fix(ios): update MPVKit subtitle geometry
close #1071
2026-05-18 00:10:14 +02:00
edde746 3e0f7b4f86 fix(libraries): stabilize alpha and sort controls 2026-05-17 22:36:15 +02:00
Sam 7e9f62dc7f fix(player): adjust performance overlay padding 2026-05-17 21:14:00 +02:00
edde746 c855dba3be fix(media): paginate large server lists 2026-05-17 20:25:39 +02:00
edde746 e726f9f528 fix(media): align detail hero spacing 2026-05-17 16:17:38 +02:00
edde746 2c54baca34 docs: clarify feature availability 2026-05-17 15:40:49 +02:00
github-actions[bot] 232d98c4ce chore: update cask to 2.1.0 2026-05-17 12:15:25 +00:00
github-actions[bot] d93c81a7cb chore: bump version to 2.1.0 2026-05-17 11:44:29 +00:00
edde746 326d53415b chore: bump build 2026-05-17 13:43:57 +02:00
edde746 87db591792 feat(livetv): group guide by source 2026-05-17 06:41:47 +02:00
edde746 6bad454830 feat(player): add screenshot shortcut
close #1055
2026-05-16 23:50:08 +02:00
edde746 cfd4aa307d fix(plex): tolerate transient resource failures 2026-05-16 22:54:53 +02:00
edde746 3798a0c332 fix(ci): update generated tracker mapping 2026-05-16 21:55:18 +02:00
edde746 be0e9686b5 fix(search): rank media search results
close #1056
2026-05-16 21:40:22 +02:00
edde746 7ec45274bd fix(media): prevent detail action layout churn 2026-05-16 21:09:41 +02:00
edde746 3e74937386 feat(trackers): sync anime watch state by episode 2026-05-16 20:54:39 +02:00
edde746 310c4280fc feat(ratings): add tracker rating sheet
close #1031
2026-05-16 18:03:30 +02:00
edde746 ee6e327b12 fix(media): hide poster loading icons 2026-05-16 14:12:28 +02:00
edde746 e71dcdaa6c fix(libraries): tighten browse chip spacing 2026-05-16 13:23:07 +02:00
edde746 1b969953b5 fix(libraries): refresh all tabs 2026-05-16 12:24:26 +02:00
edde746 7690a16efe feat(tv): add spotlight browse layouts 2026-05-16 11:56:12 +02:00
edde746 91298294b0 fix(tvos): stabilize remote select handling 2026-05-15 22:16:24 +02:00
edde746 5df3ec0c12 fix(playback): use display criteria for matching 2026-05-15 19:46:04 +02:00
edde746 ef4980db09 fix(tv): preserve native keyboard navigation
close #1051
2026-05-15 19:05:38 +02:00
edde746 e37602421b fix(discover): expose full continue watching
close #1045
2026-05-15 18:49:23 +02:00
edde746 562d19c207 fix(watch-together): restore host resume
close #1052
2026-05-15 18:33:02 +02:00
edde746 e54bbb2214 fix(ios): restore video presentation 2026-05-15 18:16:07 +02:00
edde746 db2a2c34d2 fix(apple): update MPVKit release 2026-05-15 18:14:13 +02:00
edde746 12b006ee0c fix(tvos): prime display criteria from metadata 2026-05-14 19:51:33 +02:00
edde746 be3efa8335 fix(ios): update MPVKit subtitle cropping 2026-05-14 15:44:00 +02:00
edde746 d1d549d602 fix(android): restore flutter textureview 2026-05-14 11:03:54 +02:00
edde746 7de2a62c55 fix(tvos): update MPVKit teardown 2026-05-14 10:33:57 +02:00
edde746 7b4a37e576 fix(downloads): clean orphaned temp files
close #1040
2026-05-14 09:05:06 +02:00
edde746 5a46857035 fix(companion): respect remote server setting
close #1038
2026-05-14 02:23:43 +02:00
edde746 7ffb20b501 fix(libraries): respect grouping type 2026-05-14 02:01:41 +02:00
edde746 856ac83e6a fix(tv): use textureview 2026-05-13 19:34:20 +02:00
edde746 fb8fc1db1c fix(tvos): support 2nd gen Siri Remote 2026-05-13 18:44:53 +02:00
Micah Morrison 76e8ea6901 Respect episode/season grouping type when browsing library 2026-05-13 11:56:37 -04:00
edde746 e8c27f00a7 fix(tvos): avoid unsupported native clients 2026-05-13 17:12:50 +02:00
edde746 9f19f550c3 fix(tvos): bump MPVKit pacing build 2026-05-13 15:46:29 +02:00
edde746 fce794cd6c fix(discover): preserve library order on home
close #1034
2026-05-13 15:26:23 +02:00
edde746 8f9947a874 fix(trackers): use catalog totals for anime completion
close #1025
2026-05-13 15:07:19 +02:00
edde746 126e6b9349 fix(trackers): sync scoped anime progress 2026-05-13 14:10:01 +02:00
edde746 fcbe459177 feat(cache): cleanup orphaned plexImageCache directory on startup 2026-05-13 11:06:52 +02:00
edde746 0e296f8659 fix(livetv): show guide without favorites 2026-05-13 09:22:17 +02:00
edde746 12073ea134 fix(player): clear stale tracks before opening media
close #1028
2026-05-13 09:22:17 +02:00
edde746 8aea796dbd feat(jellyfin): expand library sort options
close #1032
2026-05-13 08:00:45 +02:00
edde746 9af6f32157 fix(player): harden initialization lifecycle 2026-05-13 06:28:09 +02:00
edde746 b0f1a5d4f1 fix(tv): back button Menu on Siri Remote 2026-05-12 22:46:38 +02:00
edde746 de62c8530f fix(tvos): subtitle HDR path and player dispose hardening 2026-05-12 22:46:38 +02:00
edde746 0f4629f52b fix(tvos): explicitly link AVKit for avDisplayManager category 2026-05-12 22:46:38 +02:00
edde746 de129fbb0a fix(trackers): preserve Plex library context 2026-05-12 22:46:38 +02:00
edde746 3a01fa25a7 fix(tv): pin engine to 3.41.6+7 for Up/Down dpad fix 2026-05-12 22:46:38 +02:00
edde746 86c19fc1fc fix(downloads): pin downloader cleanup
close #1026
close #921
2026-05-12 19:10:35 +02:00
edde746 ae1f6d7822 fix(tvOS): trigger native Dolby Vision via preferredDisplayCriteria 2026-05-12 16:21:00 +02:00
edde746 4577f26aa8 fix(lifecycle): abort HTTP before close 2026-05-12 15:11:16 +02:00
Moritz Fey fd26f470a5 fix: add missing 0.25 speed steps 2026-05-12 11:46:31 +02:00
edde746 bae127e459 fix(database): handle cross-drive desktop DB migration
close #1022
2026-05-12 10:41:32 +02:00
edde746 606627cd0c fix(search): use backend icons for server indicator 2026-05-12 08:25:52 +02:00
edde746 3ddd89113c fix(livetv): show recording indicators in guide
close #1015
2026-05-12 06:53:52 +02:00
edde746 5139e39ed4 fix(sentry): upload symbols with dart plugin 2026-05-12 06:40:54 +02:00
edde746 3a6012cc21 fix(lifecycle): guard async state updates 2026-05-12 06:11:14 +02:00
edde746 37b1a26cde fix(profile): prevent duplicate PIN dialog pops 2026-05-12 05:49:38 +02:00
edde746 e5922f4870 fix(plex): restore library filters and sorts
close #1020
2026-05-12 05:36:48 +02:00
edde746 ae7f4a7871 fix(jellyfin): unblock large library loading
close #1018
2026-05-12 05:28:20 +02:00
edde746 9e85aa7be6 fix(tv): handle native text input completion 2026-05-12 01:00:03 +02:00
edde746 fd69fe668a test(tvOS): align virtual keyboard select expectation 2026-05-11 18:31:09 +02:00
edde746 9085d4d94b fix(tvOS): route dpad clicks through engine 2026-05-11 18:08:56 +02:00
edde746 0775ea0d26 fix(tv): restore profile pin keypad input
close #1011
2026-05-11 15:13:37 +02:00
edde746 d901f5efc2 fix(jellyfin): direct stream live tv
close #1010
2026-05-11 13:50:46 +02:00
edde746 fcd8198fcb fix(plex): use promoted home hubs
close #1004
2026-05-11 13:18:43 +02:00
edde746 fd1eaf9d96 fix(plex): respect per-show season display
close #1008
2026-05-11 12:55:59 +02:00
edde746 d0bd919ff4 refactor: migrate models to freezed + json_serializable 2026-05-11 12:54:26 +02:00
edde746 2bbd31d927 feat(jellyfin): add actor media browsing
close #1005
2026-05-11 11:54:37 +02:00
edde746 617f200cb5 fix(android): avoid pixel eac3 decoder fallback
close #1007
2026-05-11 11:14:32 +02:00
edde746 b96d734e8c fix(jellyfin): load collections from boxsets root
close #1006
2026-05-11 11:11:22 +02:00
edde746 89f256138d fix(player): flush mpv buffers on frame-rate startup 2026-05-11 10:50:11 +02:00
edde746 9b248a7a5b fix(macos): restore video layer on focus 2026-05-11 10:13:05 +02:00
github-actions[bot] 8d76dff353 chore: update cask to 2.0.0 2026-05-11 05:30:32 +00:00
492 changed files with 46673 additions and 7517 deletions
+91 -280
View File
@@ -29,6 +29,7 @@ jobs:
uses: subosito/flutter-action@v2
with:
channel: "stable"
flutter-version: "3.44.0"
cache: true
pub-cache: false
@@ -63,39 +64,14 @@ jobs:
EOF
- name: Build APKs
run: flutter build apk --release --split-per-abi --dart-define=ENABLE_UPDATE_CHECK=true ${{ env.SENTRY_DART_DEFINE }} ${{ env.GIT_COMMIT_DART_DEFINE }} ${{ env.SENTRY_ENV_DART_DEFINE }} ${{ env.DONATIONS_DART_DEFINE }} --obfuscate --split-debug-info=debug-info/android-apk
run: flutter build apk --release --split-per-abi --dart-define=ENABLE_UPDATE_CHECK=true ${{ env.SENTRY_DART_DEFINE }} ${{ env.GIT_COMMIT_DART_DEFINE }} ${{ env.SENTRY_ENV_DART_DEFINE }} --dart-define=SENTRY_DIST=github-android-apk ${{ env.DONATIONS_DART_DEFINE }} --obfuscate --split-debug-info=debug-info/android-apk --extra-gen-snapshot-options=--save-obfuscation-map=debug-info/android-apk/obfuscation.map.json
- name: Stage symbols for upload
- name: Upload symbols to bugs.plezy.app
if: github.repository == 'edde746/plezy'
continue-on-error: true
run: |
SYMBOL_ROOT="symbol-inputs/android-apk"
rm -rf "$SYMBOL_ROOT"
mkdir -p "$SYMBOL_ROOT"
if [ -d "debug-info/android-apk" ]; then
mkdir -p "$SYMBOL_ROOT/debug-info"
cp -R "debug-info/android-apk" "$SYMBOL_ROOT/debug-info/"
fi
if [ -d "build/app/intermediates/merged_native_libs" ]; then
while IFS= read -r -d '' file; do
mkdir -p "$SYMBOL_ROOT/$(dirname "$file")"
cp "$file" "$SYMBOL_ROOT/$file"
done < <(find build/app/intermediates/merged_native_libs -name '*.so' -type f -print0)
fi
find "$SYMBOL_ROOT" -type f -print -quit | grep -q .
- name: Upload symbols artifact
if: github.repository == 'edde746/plezy'
continue-on-error: true
uses: actions/upload-artifact@v4
with:
name: symbols-android-apk
path: symbol-inputs/android-apk
retention-days: 3
if-no-files-found: error
env:
BUGS_ADMIN_TOKEN: ${{ secrets.BUGS_ADMIN_TOKEN }}
SENTRY_DIST: github-android-apk
run: ./scripts/upload-symbols.sh android-apk
- name: Clean up keystore
if: always()
@@ -137,6 +113,7 @@ jobs:
uses: subosito/flutter-action@v2
with:
channel: "stable"
flutter-version: "3.44.0"
cache: true
pub-cache: false
@@ -162,39 +139,14 @@ jobs:
run: flutter pub get --enforce-lockfile --no-example
- name: Build iOS (no codesign)
run: flutter build ios --release --no-codesign --dart-define=ENABLE_UPDATE_CHECK=true ${{ env.SENTRY_DART_DEFINE }} ${{ env.GIT_COMMIT_DART_DEFINE }} ${{ env.SENTRY_ENV_DART_DEFINE }} ${{ env.DONATIONS_DART_DEFINE }} --split-debug-info=debug-info/ios
run: flutter build ios --release --no-codesign --dart-define=ENABLE_UPDATE_CHECK=true ${{ env.SENTRY_DART_DEFINE }} ${{ env.GIT_COMMIT_DART_DEFINE }} ${{ env.SENTRY_ENV_DART_DEFINE }} --dart-define=SENTRY_DIST=github-ios ${{ env.DONATIONS_DART_DEFINE }} --split-debug-info=debug-info/ios
- name: Stage symbols for upload
- name: Upload symbols to bugs.plezy.app
if: github.repository == 'edde746/plezy'
continue-on-error: true
run: |
SYMBOL_ROOT="symbol-inputs/ios"
rm -rf "$SYMBOL_ROOT"
mkdir -p "$SYMBOL_ROOT"
if [ -d "debug-info/ios" ]; then
mkdir -p "$SYMBOL_ROOT/debug-info"
cp -R "debug-info/ios" "$SYMBOL_ROOT/debug-info/"
fi
if [ -d "build/ios" ]; then
while IFS= read -r -d '' file; do
mkdir -p "$SYMBOL_ROOT/$(dirname "$file")"
cp "$file" "$SYMBOL_ROOT/$file"
done < <(find build/ios -path '*.dSYM/Contents/Resources/DWARF/*' -type f -print0)
fi
find "$SYMBOL_ROOT" -type f -print -quit | grep -q .
- name: Upload symbols artifact
if: github.repository == 'edde746/plezy'
continue-on-error: true
uses: actions/upload-artifact@v4
with:
name: symbols-ios
path: symbol-inputs/ios
retention-days: 3
if-no-files-found: error
env:
BUGS_ADMIN_TOKEN: ${{ secrets.BUGS_ADMIN_TOKEN }}
SENTRY_DIST: github-ios
run: ./scripts/upload-symbols.sh ios
- name: Create IPA
run: |
@@ -226,6 +178,7 @@ jobs:
uses: subosito/flutter-action@v2
with:
channel: "stable"
flutter-version: "3.44.0"
cache: true
pub-cache: false
@@ -251,39 +204,14 @@ jobs:
run: flutter pub get --enforce-lockfile --no-example
- name: Build macOS
run: flutter build macos --release --dart-define=ENABLE_UPDATE_CHECK=true ${{ env.SENTRY_DART_DEFINE }} ${{ env.GIT_COMMIT_DART_DEFINE }} ${{ env.SENTRY_ENV_DART_DEFINE }} ${{ env.DONATIONS_DART_DEFINE }} --split-debug-info=debug-info/macos
run: flutter build macos --release --dart-define=ENABLE_UPDATE_CHECK=true ${{ env.SENTRY_DART_DEFINE }} ${{ env.GIT_COMMIT_DART_DEFINE }} ${{ env.SENTRY_ENV_DART_DEFINE }} --dart-define=SENTRY_DIST=github-macos ${{ env.DONATIONS_DART_DEFINE }} --split-debug-info=debug-info/macos
- name: Stage symbols for upload
- name: Upload symbols to bugs.plezy.app
if: github.repository == 'edde746/plezy'
continue-on-error: true
run: |
SYMBOL_ROOT="symbol-inputs/macos"
rm -rf "$SYMBOL_ROOT"
mkdir -p "$SYMBOL_ROOT"
if [ -d "debug-info/macos" ]; then
mkdir -p "$SYMBOL_ROOT/debug-info"
cp -R "debug-info/macos" "$SYMBOL_ROOT/debug-info/"
fi
if [ -d "build/macos/Build/Products/Release" ]; then
while IFS= read -r -d '' file; do
mkdir -p "$SYMBOL_ROOT/$(dirname "$file")"
cp "$file" "$SYMBOL_ROOT/$file"
done < <(find build/macos/Build/Products/Release -path '*.dSYM/Contents/Resources/DWARF/*' -type f -print0)
fi
find "$SYMBOL_ROOT" -type f -print -quit | grep -q .
- name: Upload symbols artifact
if: github.repository == 'edde746/plezy'
continue-on-error: true
uses: actions/upload-artifact@v4
with:
name: symbols-macos
path: symbol-inputs/macos
retention-days: 3
if-no-files-found: error
env:
BUGS_ADMIN_TOKEN: ${{ secrets.BUGS_ADMIN_TOKEN }}
SENTRY_DIST: github-macos
run: ./scripts/upload-symbols.sh macos
- name: Import Code Signing Certificate
env:
@@ -419,6 +347,7 @@ jobs:
uses: subosito/flutter-action@v2
with:
channel: "stable"
flutter-version: "3.44.0"
cache: true
pub-cache: false
@@ -439,47 +368,15 @@ jobs:
run: flutter pub get --enforce-lockfile --no-example
- name: Build Windows x64
run: flutter build windows --release --dart-define=ENABLE_UPDATE_CHECK=true ${{ env.SENTRY_DART_DEFINE }} ${{ env.GIT_COMMIT_DART_DEFINE }} ${{ env.SENTRY_ENV_DART_DEFINE }} ${{ env.DONATIONS_DART_DEFINE }} --split-debug-info=debug-info/windows-x64
run: flutter build windows --release --dart-define=ENABLE_UPDATE_CHECK=true ${{ env.SENTRY_DART_DEFINE }} ${{ env.GIT_COMMIT_DART_DEFINE }} ${{ env.SENTRY_ENV_DART_DEFINE }} --dart-define=SENTRY_DIST=github-windows-x64 ${{ env.DONATIONS_DART_DEFINE }} --split-debug-info=debug-info/windows-x64
- name: Stage symbols for upload
- name: Upload symbols to bugs.plezy.app
if: github.repository == 'edde746/plezy'
shell: pwsh
continue-on-error: true
run: |
$symbolRoot = 'symbol-inputs/windows-x64'
Remove-Item -Path $symbolRoot -Recurse -Force -ErrorAction SilentlyContinue
New-Item -ItemType Directory -Path $symbolRoot -Force | Out-Null
$debugInfo = 'debug-info/windows-x64'
if (Test-Path $debugInfo) {
$debugInfoRoot = Join-Path $symbolRoot 'debug-info'
New-Item -ItemType Directory -Path $debugInfoRoot -Force | Out-Null
Copy-Item -Path $debugInfo -Destination $debugInfoRoot -Recurse -Force
}
$pdbRoot = 'build/windows/x64/runner/Release'
if (Test-Path $pdbRoot) {
Get-ChildItem -Path $pdbRoot -Filter '*.pdb' -Recurse | ForEach-Object {
$relative = [System.IO.Path]::GetRelativePath((Get-Location).Path, $_.FullName)
$destination = Join-Path $symbolRoot $relative
New-Item -ItemType Directory -Path (Split-Path -Parent $destination) -Force | Out-Null
Copy-Item -Path $_.FullName -Destination $destination -Force
}
}
if (-not (Get-ChildItem -Path $symbolRoot -File -Recurse)) {
throw 'No symbol files staged'
}
- name: Upload symbols artifact
if: github.repository == 'edde746/plezy'
continue-on-error: true
uses: actions/upload-artifact@v4
with:
name: symbols-windows-x64
path: symbol-inputs/windows-x64
retention-days: 3
if-no-files-found: error
env:
BUGS_ADMIN_TOKEN: ${{ secrets.BUGS_ADMIN_TOKEN }}
SENTRY_DIST: github-windows-x64
run: .\scripts\upload-symbols.ps1 windows-x64
- name: Upload x64 build
uses: actions/upload-artifact@v4
@@ -511,6 +408,7 @@ jobs:
uses: subosito/flutter-action@v2
with:
channel: "master"
flutter-version: "3.44.0"
cache: true
pub-cache: false
@@ -525,47 +423,15 @@ jobs:
run: flutter pub get --no-example
- name: Build Windows arm64
run: flutter build windows --release --dart-define=ENABLE_UPDATE_CHECK=true ${{ env.SENTRY_DART_DEFINE }} ${{ env.GIT_COMMIT_DART_DEFINE }} ${{ env.SENTRY_ENV_DART_DEFINE }} ${{ env.DONATIONS_DART_DEFINE }} --split-debug-info=debug-info/windows-arm64
run: flutter build windows --release --dart-define=ENABLE_UPDATE_CHECK=true ${{ env.SENTRY_DART_DEFINE }} ${{ env.GIT_COMMIT_DART_DEFINE }} ${{ env.SENTRY_ENV_DART_DEFINE }} --dart-define=SENTRY_DIST=github-windows-arm64 ${{ env.DONATIONS_DART_DEFINE }} --split-debug-info=debug-info/windows-arm64
- name: Stage symbols for upload
- name: Upload symbols to bugs.plezy.app
if: github.repository == 'edde746/plezy'
shell: pwsh
continue-on-error: true
run: |
$symbolRoot = 'symbol-inputs/windows-arm64'
Remove-Item -Path $symbolRoot -Recurse -Force -ErrorAction SilentlyContinue
New-Item -ItemType Directory -Path $symbolRoot -Force | Out-Null
$debugInfo = 'debug-info/windows-arm64'
if (Test-Path $debugInfo) {
$debugInfoRoot = Join-Path $symbolRoot 'debug-info'
New-Item -ItemType Directory -Path $debugInfoRoot -Force | Out-Null
Copy-Item -Path $debugInfo -Destination $debugInfoRoot -Recurse -Force
}
$pdbRoot = 'build/windows/arm64/runner/Release'
if (Test-Path $pdbRoot) {
Get-ChildItem -Path $pdbRoot -Filter '*.pdb' -Recurse | ForEach-Object {
$relative = [System.IO.Path]::GetRelativePath((Get-Location).Path, $_.FullName)
$destination = Join-Path $symbolRoot $relative
New-Item -ItemType Directory -Path (Split-Path -Parent $destination) -Force | Out-Null
Copy-Item -Path $_.FullName -Destination $destination -Force
}
}
if (-not (Get-ChildItem -Path $symbolRoot -File -Recurse)) {
throw 'No symbol files staged'
}
- name: Upload symbols artifact
if: github.repository == 'edde746/plezy'
continue-on-error: true
uses: actions/upload-artifact@v4
with:
name: symbols-windows-arm64
path: symbol-inputs/windows-arm64
retention-days: 3
if-no-files-found: error
env:
BUGS_ADMIN_TOKEN: ${{ secrets.BUGS_ADMIN_TOKEN }}
SENTRY_DIST: github-windows-arm64
run: .\scripts\upload-symbols.ps1 windows-arm64
- name: Upload arm64 build
uses: actions/upload-artifact@v4
@@ -669,6 +535,7 @@ jobs:
uses: subosito/flutter-action@v2
with:
channel: "stable"
flutter-version: "3.44.0"
cache: true
pub-cache: false
@@ -687,8 +554,27 @@ jobs:
- name: Install Linux dependencies
run: |
sudo apt-get update
sudo apt-get install -y clang cmake meson ninja-build pkg-config nasm libgtk-3-dev libevdev-dev liblzma-dev libstdc++-12-dev libasound2-dev libass-dev libfreetype-dev libfontconfig-dev libfribidi-dev libharfbuzz-dev libepoxy-dev libegl-dev libgl-dev libgnutls28-dev libpipewire-0.3-dev libva-dev libvdpau-dev libx11-dev libxext-dev libxrandr-dev libxcursor-dev libxi-dev libxss-dev libxpresent-dev libxkbcommon-dev libpulse-dev libdbus-1-dev libdrm-dev libgbm-dev libwayland-dev wayland-protocols liblcms2-dev ruby ruby-dev rubygems build-essential rpm libarchive-tools imagemagick libcurl4-openssl-dev
packages=(
clang cmake meson ninja-build pkg-config nasm libgtk-3-dev libevdev-dev liblzma-dev
libstdc++-12-dev libasound2-dev libass-dev libfreetype-dev libfontconfig-dev libfribidi-dev
libharfbuzz-dev libepoxy-dev libegl-dev libgl-dev libgnutls28-dev libpipewire-0.3-dev
libva-dev libvdpau-dev libx11-dev libxext-dev libxrandr-dev libxcursor-dev libxi-dev
libxss-dev libxpresent-dev libxkbcommon-dev libpulse-dev libdbus-1-dev libdrm-dev
libgbm-dev libwayland-dev wayland-protocols liblcms2-dev ruby ruby-dev rubygems
build-essential rpm libarchive-tools imagemagick libcurl4-openssl-dev
)
for attempt in 1 2 3; do
if sudo apt-get update -o Acquire::Retries=3 && sudo apt-get install -y -o Acquire::Retries=3 "${packages[@]}"; then
exit 0
fi
sudo apt-get clean
sudo rm -rf /var/lib/apt/lists/*
sleep $((attempt * 15))
done
exit 1
- name: Cache libmpv build
id: libmpv-cache
@@ -708,41 +594,16 @@ jobs:
run: flutter pub get --enforce-lockfile --no-example
- name: Build Linux x64
run: flutter build linux --release --dart-define=ENABLE_UPDATE_CHECK=true ${{ env.SENTRY_DART_DEFINE }} ${{ env.GIT_COMMIT_DART_DEFINE }} ${{ env.SENTRY_ENV_DART_DEFINE }} ${{ env.DONATIONS_DART_DEFINE }} --split-debug-info=debug-info/linux-x64
run: flutter build linux --release --dart-define=ENABLE_UPDATE_CHECK=true ${{ env.SENTRY_DART_DEFINE }} ${{ env.GIT_COMMIT_DART_DEFINE }} ${{ env.SENTRY_ENV_DART_DEFINE }} --dart-define=SENTRY_DIST=github-linux-x64 ${{ env.DONATIONS_DART_DEFINE }} --split-debug-info=debug-info/linux-x64
env:
PKG_CONFIG_PATH: ${{ github.workspace }}/libmpv-prefix/lib/pkgconfig:${{ github.workspace }}/libmpv-prefix/lib/x86_64-linux-gnu/pkgconfig
- name: Stage symbols for upload
- name: Upload symbols to bugs.plezy.app
if: github.repository == 'edde746/plezy'
continue-on-error: true
run: |
SYMBOL_ROOT="symbol-inputs/linux-x64"
rm -rf "$SYMBOL_ROOT"
mkdir -p "$SYMBOL_ROOT"
if [ -d "debug-info/linux-x64" ]; then
mkdir -p "$SYMBOL_ROOT/debug-info"
cp -R "debug-info/linux-x64" "$SYMBOL_ROOT/debug-info/"
fi
if [ -d "build/linux" ]; then
while IFS= read -r -d '' file; do
mkdir -p "$SYMBOL_ROOT/$(dirname "$file")"
cp "$file" "$SYMBOL_ROOT/$file"
done < <(find build/linux -path '*/release/bundle/plezy' -type f -print0)
fi
find "$SYMBOL_ROOT" -type f -print -quit | grep -q .
- name: Upload symbols artifact
if: github.repository == 'edde746/plezy'
continue-on-error: true
uses: actions/upload-artifact@v4
with:
name: symbols-linux-x64
path: symbol-inputs/linux-x64
retention-days: 3
if-no-files-found: error
env:
BUGS_ADMIN_TOKEN: ${{ secrets.BUGS_ADMIN_TOKEN }}
SENTRY_DIST: github-linux-x64
run: ./scripts/upload-symbols.sh linux-x64
- name: Build Linux Packages
run: ARCH_SUFFIX=x64 OUTPUT_DIR=$GITHUB_WORKSPACE python3 linux/packaging/build-packages.py
@@ -808,6 +669,7 @@ jobs:
uses: subosito/flutter-action@v2
with:
channel: "master"
flutter-version: "3.44.0"
cache: true
pub-cache: false
@@ -826,8 +688,27 @@ jobs:
- name: Install Linux dependencies
run: |
sudo apt-get update
sudo apt-get install -y clang cmake meson ninja-build pkg-config nasm libgtk-3-dev libevdev-dev liblzma-dev libstdc++-12-dev libasound2-dev libass-dev libfreetype-dev libfontconfig-dev libfribidi-dev libharfbuzz-dev libepoxy-dev libegl-dev libgl-dev libgnutls28-dev libpipewire-0.3-dev libva-dev libvdpau-dev libx11-dev libxext-dev libxrandr-dev libxcursor-dev libxi-dev libxss-dev libxpresent-dev libxkbcommon-dev libpulse-dev libdbus-1-dev libdrm-dev libgbm-dev libwayland-dev wayland-protocols liblcms2-dev ruby ruby-dev rubygems build-essential rpm libarchive-tools imagemagick libcurl4-openssl-dev
packages=(
clang cmake meson ninja-build pkg-config nasm libgtk-3-dev libevdev-dev liblzma-dev
libstdc++-12-dev libasound2-dev libass-dev libfreetype-dev libfontconfig-dev libfribidi-dev
libharfbuzz-dev libepoxy-dev libegl-dev libgl-dev libgnutls28-dev libpipewire-0.3-dev
libva-dev libvdpau-dev libx11-dev libxext-dev libxrandr-dev libxcursor-dev libxi-dev
libxss-dev libxpresent-dev libxkbcommon-dev libpulse-dev libdbus-1-dev libdrm-dev
libgbm-dev libwayland-dev wayland-protocols liblcms2-dev ruby ruby-dev rubygems
build-essential rpm libarchive-tools imagemagick libcurl4-openssl-dev
)
for attempt in 1 2 3; do
if sudo apt-get update -o Acquire::Retries=3 && sudo apt-get install -y -o Acquire::Retries=3 "${packages[@]}"; then
exit 0
fi
sudo apt-get clean
sudo rm -rf /var/lib/apt/lists/*
sleep $((attempt * 15))
done
exit 1
- name: Cache libmpv build
id: libmpv-cache
@@ -847,41 +728,16 @@ jobs:
run: flutter pub get --no-example
- name: Build Linux arm64
run: flutter build linux --release --dart-define=ENABLE_UPDATE_CHECK=true ${{ env.SENTRY_DART_DEFINE }} ${{ env.GIT_COMMIT_DART_DEFINE }} ${{ env.SENTRY_ENV_DART_DEFINE }} ${{ env.DONATIONS_DART_DEFINE }} --split-debug-info=debug-info/linux-arm64
run: flutter build linux --release --dart-define=ENABLE_UPDATE_CHECK=true ${{ env.SENTRY_DART_DEFINE }} ${{ env.GIT_COMMIT_DART_DEFINE }} ${{ env.SENTRY_ENV_DART_DEFINE }} --dart-define=SENTRY_DIST=github-linux-arm64 ${{ env.DONATIONS_DART_DEFINE }} --split-debug-info=debug-info/linux-arm64
env:
PKG_CONFIG_PATH: ${{ github.workspace }}/libmpv-prefix/lib/pkgconfig:${{ github.workspace }}/libmpv-prefix/lib/aarch64-linux-gnu/pkgconfig
- name: Stage symbols for upload
- name: Upload symbols to bugs.plezy.app
if: github.repository == 'edde746/plezy'
continue-on-error: true
run: |
SYMBOL_ROOT="symbol-inputs/linux-arm64"
rm -rf "$SYMBOL_ROOT"
mkdir -p "$SYMBOL_ROOT"
if [ -d "debug-info/linux-arm64" ]; then
mkdir -p "$SYMBOL_ROOT/debug-info"
cp -R "debug-info/linux-arm64" "$SYMBOL_ROOT/debug-info/"
fi
if [ -d "build/linux" ]; then
while IFS= read -r -d '' file; do
mkdir -p "$SYMBOL_ROOT/$(dirname "$file")"
cp "$file" "$SYMBOL_ROOT/$file"
done < <(find build/linux -path '*/release/bundle/plezy' -type f -print0)
fi
find "$SYMBOL_ROOT" -type f -print -quit | grep -q .
- name: Upload symbols artifact
if: github.repository == 'edde746/plezy'
continue-on-error: true
uses: actions/upload-artifact@v4
with:
name: symbols-linux-arm64
path: symbol-inputs/linux-arm64
retention-days: 3
if-no-files-found: error
env:
BUGS_ADMIN_TOKEN: ${{ secrets.BUGS_ADMIN_TOKEN }}
SENTRY_DIST: github-linux-arm64
run: ./scripts/upload-symbols.sh linux-arm64
- name: Find bundle directory
id: find-bundle
@@ -944,51 +800,6 @@ jobs:
plezy-linux-arm64.rpm
plezy-linux-arm64.pkg.tar.zst
upload-symbols:
if: github.repository == 'edde746/plezy'
needs: [build-android, build-ios, build-macos, build-windows-x64, build-windows-arm64, build-linux-x64, build-linux-arm64]
runs-on: ${{ matrix.os }}
permissions:
contents: read
strategy:
fail-fast: false
matrix:
include:
- platform: android-apk
os: ubuntu-latest
command: ./scripts/upload-symbols.sh android-apk symbol-inputs/android-apk
- platform: ios
os: ubuntu-latest
command: ./scripts/upload-symbols.sh ios symbol-inputs/ios
- platform: macos
os: ubuntu-latest
command: ./scripts/upload-symbols.sh macos symbol-inputs/macos
- platform: windows-x64
os: windows-latest
command: ./scripts/upload-symbols.ps1 windows-x64 symbol-inputs/windows-x64
- platform: windows-arm64
os: windows-latest
command: ./scripts/upload-symbols.ps1 windows-arm64 symbol-inputs/windows-arm64
- platform: linux-x64
os: ubuntu-latest
command: ./scripts/upload-symbols.sh linux-x64 symbol-inputs/linux-x64
- platform: linux-arm64
os: ubuntu-latest
command: ./scripts/upload-symbols.sh linux-arm64 symbol-inputs/linux-arm64
steps:
- uses: actions/checkout@v4
- name: Download symbols artifact
uses: actions/download-artifact@v4
with:
name: symbols-${{ matrix.platform }}
path: symbol-inputs/${{ matrix.platform }}
- name: Upload symbols to bugs.plezy.app
env:
BUGS_ADMIN_TOKEN: ${{ secrets.BUGS_ADMIN_TOKEN }}
run: ${{ matrix.command }}
create-release:
needs: [build-android, build-ios, build-macos, package-windows, build-linux-x64, build-linux-arm64]
runs-on: ubuntu-latest
+12
View File
@@ -23,6 +23,7 @@ jobs:
uses: subosito/flutter-action@v2
with:
channel: "stable"
flutter-version: "3.44.0"
cache: true
pub-cache: false
@@ -38,6 +39,15 @@ jobs:
flutter pub get
- name: Verify generated files committed
run: |
scripts/codegen.sh
if ! git diff --exit-code lib/; then
echo "::error::Generated files (.g.dart / .freezed.dart) are out of date."
echo "Run 'scripts/codegen.sh' and commit the result."
exit 1
fi
- name: Verify formatting
run: |
# Find all Dart files excluding generated files
@@ -105,6 +115,7 @@ jobs:
uses: subosito/flutter-action@v2
with:
channel: "stable"
flutter-version: "3.44.0"
cache: true
pub-cache: false
@@ -159,6 +170,7 @@ jobs:
uses: subosito/flutter-action@v2
with:
channel: "stable"
flutter-version: "3.44.0"
cache: true
pub-cache: false
+2 -2
View File
@@ -1,6 +1,6 @@
cask "plezy" do
version "1.35.2"
sha256 "e3a65f5688bd8ac010b0dad2238a24f6f3b4b5a6f5ca2b5127a9e1a817dd73d9"
version "2.2.0"
sha256 "9bfd7397d27bb2dbfd0f4d3e47d6fb73d6a1135f9f181ec8c48767c95964f1e9"
url "https://github.com/edde746/plezy/releases/download/#{version}/plezy-macos.dmg"
name "Plezy"
+73 -26
View File
@@ -3,13 +3,19 @@
Plezy
</h1>
A modern client for Plex and Jellyfin on desktop and mobile. Built with Flutter for native performance and a clean interface.
A modern client for Plex and Jellyfin on desktop, mobile, and TV. Built with Flutter for native performance and a clean interface.
<p align="center">
<img src="assets/screenshots/macos-home.png" alt="Plezy macOS Home Screen" width="800" />
<p>
<a href="https://plezy.app">Website</a> ·
<a href="https://plezy.app/#screenshots">Screenshots</a> ·
<a href="#download">Download</a> ·
<a href="CONTRIBUTING.md">Contributing</a> ·
<a href="LICENSE">License</a>
</p>
*More screenshots in the [screenshots folder](assets/screenshots/#readme)*
<p align="center">
<img src="assets/readme-showcase.webp" alt="Plezy mobile screenshots" width="900" />
</p>
## Download
@@ -17,9 +23,15 @@ A modern client for Plex and Jellyfin on desktop and mobile. Built with Flutter
<a href='https://play.google.com/store/apps/details?id=com.edde746.plezy'><img height='60' alt='Get it on Google Play' src='./assets/play-store-badge.png'/></a>
<a href='https://www.amazon.com/gp/product/B0GK65CVS1'><img height='60' alt='Available at the Amazon App Store' src='./assets/amazon-badge.png'/></a>
- [Windows (x64, arm64)](https://github.com/edde746/plezy/releases/latest/download/plezy-windows-installer.exe)
- [macOS (x64, arm64)](https://github.com/edde746/plezy/releases/latest/download/plezy-macos.dmg)
- [Linux (x64, arm64)](https://github.com/edde746/plezy/releases/latest) - .deb, .rpm, .pkg.tar.zst, and portable tar.gz available
| Platform | Download |
| --- | --- |
| Windows | [Installer (x64, arm64)](https://github.com/edde746/plezy/releases/latest/download/plezy-windows-installer.exe) · [Portable x64](https://github.com/edde746/plezy/releases/latest/download/plezy-windows-x64-portable.7z) · [Portable arm64](https://github.com/edde746/plezy/releases/latest/download/plezy-windows-arm64-portable.7z) |
| macOS | [DMG (x64, arm64)](https://github.com/edde746/plezy/releases/latest/download/plezy-macos.dmg) |
| Linux x64 | [.deb](https://github.com/edde746/plezy/releases/latest/download/plezy-linux-x64.deb) · [.rpm](https://github.com/edde746/plezy/releases/latest/download/plezy-linux-x64.rpm) · [.pkg.tar.zst](https://github.com/edde746/plezy/releases/latest/download/plezy-linux-x64.pkg.tar.zst) · [portable tar.gz](https://github.com/edde746/plezy/releases/latest/download/plezy-linux-x64.tar.gz) |
| Linux arm64 | [.deb](https://github.com/edde746/plezy/releases/latest/download/plezy-linux-arm64.deb) · [.rpm](https://github.com/edde746/plezy/releases/latest/download/plezy-linux-arm64.rpm) · [.pkg.tar.zst](https://github.com/edde746/plezy/releases/latest/download/plezy-linux-arm64.pkg.tar.zst) · [portable tar.gz](https://github.com/edde746/plezy/releases/latest/download/plezy-linux-arm64.tar.gz) |
Package managers:
- [Nix](https://search.nixos.org/packages?channel=unstable&query=plezy) - Community package by [@mio-19](https://github.com/mio-19) and [@MiniHarinn](https://github.com/MiniHarinn)
- **Homebrew** (macOS):
```bash
@@ -32,7 +44,7 @@ A modern client for Plex and Jellyfin on desktop and mobile. Built with Flutter
```
- **WinGet** (Windows):
```bash
winget install edde746.plezy
winget install edde746.Plezy
```
## Features
@@ -46,22 +58,22 @@ A modern client for Plex and Jellyfin on desktop and mobile. Built with Flutter
### <img src="assets/readme_icons/playback.svg" height="20" alt="" align="center" /> Playback
- Wide codec support (HEVC, AV1, VP9, and more)
- HDR and Dolby Vision (not Linux)
- HDR and Dolby Vision[^1]
- Full ASS/SSA subtitles with customizable styling
- Online subtitle search & download
- Audio & subtitle preferences synced with your server profile
- Online subtitle search & download[^2]
- Audio & subtitle choices remembered per title
- Progress sync and resume
- Auto-play next episode with skip intro / skip credits
- Chapter navigation with thumbnail scrub previews
- Playback speed, audio sync offset, sleep timer
- Ambient lighting and GLSL shader presets
- Picture-in-Picture on Android, iOS, and macOS
- Refresh-rate matching on Windows and Android
- Ambient lighting and GLSL shader presets[^3]
- Picture-in-Picture[^4]
- Refresh-rate matching[^5]
- External player launch (VLC, MX Player, etc.)
### <img src="assets/readme_icons/live-tv.svg" height="20" alt="" align="center" /> Live TV & DVR
- Live TV channel browsing with favorites
- Plex DVR support with EPG guide, recording rules, and scheduled recordings
- DVR support with EPG guide, recording rules, and scheduled recordings[^2]
- Multi-server Live TV support where available
### <img src="assets/readme_icons/downloads.svg" height="20" alt="" align="center" /> Downloads & Offline
@@ -75,21 +87,30 @@ A modern client for Plex and Jellyfin on desktop and mobile. Built with Flutter
- Real-time play / pause / seek sync
### <img src="assets/readme_icons/integrations.svg" height="20" alt="" align="center" /> Integrations
- Discord Rich Presence for Plex
- Trakt scrobbling
- Discord Rich Presence[^7]
- Trakt, MyAnimeList, AniList, and Simkl tracking & rating
- Plezy Remote — control desktop and TV from mobile
- Android TV Watch Next row
- Watch Next row[^6]
### <img src="assets/readme_icons/customization.svg" height="20" alt="" align="center" /> Platform & Customization
- Desktop, mobile, and TV — full D-pad, keyboard, and gamepad support
- Customizable keyboard shortcuts on desktop
- Plex metadata and artwork editing
- Localized in 14 languages
- Customizable keyboard shortcuts[^7]
- Metadata and artwork editing[^2]
- Settings import/export
- Localized in English plus 14 translations
[^1]: Not available on Linux.
[^2]: Plex only.
[^3]: Not available on iOS or tvOS.
[^4]: Android, iOS, and macOS.
[^5]: Windows, Android, and tvOS.
[^6]: Android TV only.
[^7]: Desktop only.
## Building from Source
### Prerequisites
- Flutter SDK 3.8.1+
- Flutter SDK 3.38.4+
- A Plex account or Jellyfin server with user credentials
### Setup
@@ -98,20 +119,46 @@ A modern client for Plex and Jellyfin on desktop and mobile. Built with Flutter
git clone https://github.com/edde746/plezy.git
cd plezy
flutter pub get
dart run build_runner build
scripts/codegen.sh
flutter run
```
### Code Generation
After modifying model classes:
After modifying model classes or other generated sources:
```bash
dart run build_runner build --delete-conflicting-outputs
scripts/codegen.sh
```
After modifying translations:
```bash
dart run slang
```
### Local Checks
```bash
scripts/ci_checks.sh
```
To install the same pre-commit checks locally:
```bash
scripts/setup_hooks.sh
```
## Contributing
See [CONTRIBUTING.md](CONTRIBUTING.md) for development workflow, formatting, tests, and translation guidelines.
## License
Plezy is licensed under [GPL-3.0](LICENSE).
## Acknowledgments
- Built with [Flutter](https://flutter.dev)
- Supports [Plex Media Server](https://www.plex.tv) and [Jellyfin](https://jellyfin.org)
- Playback powered by [mpv](https://mpv.io) via [MPVKit](https://github.com/mpvkit/MPVKit) and [libmpv-android](https://github.com/jarnedemeulemeester/libmpv-android)
- Playback powered by [mpv](https://mpv.io), [MPVKit](https://github.com/mpvkit/MPVKit), Android [ExoPlayer](https://developer.android.com/media/media3/exoplayer), [libass-android](https://github.com/peerless2012/libass-android), and [libmpv-android](https://github.com/jarnedemeulemeester/libmpv-android)
@@ -7,21 +7,29 @@ import android.content.Context
import android.content.Intent
import android.content.pm.PackageManager
import android.content.res.Configuration
import android.graphics.SurfaceTexture
import android.net.Uri
import android.os.Build
import android.os.Bundle
import android.os.Handler
import android.os.Looper
import android.util.Log
import android.util.Rational
import android.view.InputDevice
import android.view.KeyEvent
import android.view.TextureView
import android.view.ViewGroup
import android.view.WindowInsets
import android.view.inputmethod.InputMethodManager
import android.widget.FrameLayout
import androidx.core.content.FileProvider
import com.edde746.plezy.exoplayer.ExoPlayerPlugin
import com.edde746.plezy.mpv.MpvPlayerPlugin
import com.edde746.plezy.shared.DeviceQuirks
import com.edde746.plezy.shared.ThemeHelper
import com.edde746.plezy.watchnext.WatchNextPlugin
import io.flutter.embedding.android.FlutterActivity
import io.flutter.embedding.android.FlutterTextureView
import io.flutter.embedding.android.RenderMode
import io.flutter.embedding.android.TransparencyMode
import io.flutter.embedding.engine.FlutterEngine
@@ -33,6 +41,7 @@ class MainActivity : FlutterActivity() {
companion object {
private const val TAG = "MainActivity"
private const val TEXT_INPUT_DIAGNOSTICS_ENABLED = false
var usingSkia = false
}
@@ -40,9 +49,17 @@ class MainActivity : FlutterActivity() {
private val EXTERNAL_PLAYER_CHANNEL = "com.plezy/external_player"
private val THEME_CHANNEL = "com.plezy/theme"
private val DEVICE_CHANNEL = "com.plezy/device"
private val TEXT_INPUT_CHANNEL = "com.plezy/text_input"
private val APP_EXIT_CHANNEL = "com.plezy/app_exit"
private val APP_FOREGROUND_CHANNEL = "com.plezy/app_foreground"
private var watchNextPlugin: WatchNextPlugin? = null
private var nativeTextInputFocused = false
private inline fun logTextInputDiag(message: () -> String) {
if (TEXT_INPUT_DIAGNOSTICS_ENABLED) {
Log.i(TAG, "TextInputDiag ${message()}")
}
}
// Auto PiP state
private var autoPipReady = false
@@ -51,6 +68,67 @@ class MainActivity : FlutterActivity() {
private fun isAndroidTvDevice(): Boolean = getAndroidTvDetection()["isTv"] as Boolean
private fun isImeVisible(): Boolean {
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.R) return false
return window.decorView.rootWindowInsets?.isVisible(WindowInsets.Type.ime()) == true
}
private fun keyActionName(action: Int): String = when (action) {
KeyEvent.ACTION_DOWN -> "down"
KeyEvent.ACTION_UP -> "up"
KeyEvent.ACTION_MULTIPLE -> "multiple"
else -> "unknown($action)"
}
private fun sourceNames(source: Int): String {
val names = mutableListOf<String>()
if ((source and InputDevice.SOURCE_KEYBOARD) == InputDevice.SOURCE_KEYBOARD) names.add("keyboard")
if ((source and InputDevice.SOURCE_DPAD) == InputDevice.SOURCE_DPAD) names.add("dpad")
if ((source and InputDevice.SOURCE_GAMEPAD) == InputDevice.SOURCE_GAMEPAD) names.add("gamepad")
if ((source and InputDevice.SOURCE_JOYSTICK) == InputDevice.SOURCE_JOYSTICK) names.add("joystick")
if ((source and InputDevice.SOURCE_TOUCHSCREEN) == InputDevice.SOURCE_TOUCHSCREEN) names.add("touchscreen")
if ((source and InputDevice.SOURCE_MOUSE) == InputDevice.SOURCE_MOUSE) names.add("mouse")
return names.ifEmpty { listOf("unknown") }.joinToString("+")
}
private fun isDpadKeyCode(keyCode: Int): Boolean = when (keyCode) {
KeyEvent.KEYCODE_DPAD_UP,
KeyEvent.KEYCODE_DPAD_DOWN,
KeyEvent.KEYCODE_DPAD_LEFT,
KeyEvent.KEYCODE_DPAD_RIGHT,
KeyEvent.KEYCODE_DPAD_CENTER,
KeyEvent.KEYCODE_BACK,
KeyEvent.KEYCODE_ENTER,
KeyEvent.KEYCODE_NUMPAD_ENTER -> true
else -> false
}
private fun describeDevice(event: KeyEvent): String {
val device = event.device ?: return "device=null deviceId=${event.deviceId}"
return "deviceId=${event.deviceId} name=${device.name} vendor=${device.vendorId} product=${device.productId} " +
"keyboardType=${device.keyboardType} sources=0x${Integer.toHexString(device.sources)}[${sourceNames(device.sources)}]"
}
private fun describeKeyEvent(event: KeyEvent): String = "action=${keyActionName(event.action)} key=${KeyEvent.keyCodeToString(event.keyCode)}(${event.keyCode}) " +
"scan=${event.scanCode} repeat=${event.repeatCount} source=0x${Integer.toHexString(event.source)}[${sourceNames(event.source)}] " +
"flags=0x${Integer.toHexString(event.flags)} meta=0x${Integer.toHexString(event.metaState)} ${describeDevice(event)}"
private fun describeImeState(): String {
val imm = getSystemService(Context.INPUT_METHOD_SERVICE) as InputMethodManager
val focus = currentFocus
return "nativeTextInputFocused=$nativeTextInputFocused imeVisible=${isImeVisible()} " +
"acceptingText=${imm.isAcceptingText} activeDecor=${imm.isActive(window.decorView)} " +
"decorHasFocus=${window.decorView.hasFocus()} currentFocus=${focus?.javaClass?.name} " +
"currentFocusHasFocus=${focus?.hasFocus()} currentFocusFocused=${focus?.isFocused}"
}
private fun shouldForwardDpadBeforeIme(): Boolean {
val imm = getSystemService(Context.INPUT_METHOD_SERVICE) as InputMethodManager
val forward = !nativeTextInputFocused && !isImeVisible() && !imm.isAcceptingText
logTextInputDiag { "shouldForwardDpadBeforeIme=$forward ${describeImeState()}" }
return forward
}
private fun getAndroidTvDetection(): Map<String, Any> {
val pm = packageManager
val uiModeType = resources.configuration.uiMode and Configuration.UI_MODE_TYPE_MASK
@@ -112,20 +190,28 @@ class MainActivity : FlutterActivity() {
val content = findViewById<ViewGroup>(android.R.id.content)
val wrapper = object : FrameLayout(this) {
override fun dispatchKeyEventPreIme(event: KeyEvent): Boolean {
if (isDpadKeyCode(event.keyCode)) {
logTextInputDiag { "preIme received ${describeKeyEvent(event)} ${describeImeState()}" }
}
when (event.keyCode) {
KeyEvent.KEYCODE_DPAD_UP,
KeyEvent.KEYCODE_DPAD_DOWN,
KeyEvent.KEYCODE_DPAD_LEFT,
KeyEvent.KEYCODE_DPAD_RIGHT,
KeyEvent.KEYCODE_DPAD_CENTER -> {
val imm = context.getSystemService(Context.INPUT_METHOD_SERVICE) as InputMethodManager
if (!imm.isAcceptingText) {
if (shouldForwardDpadBeforeIme()) {
logTextInputDiag { "preIme forwarding-to-Flutter-and-consuming ${describeKeyEvent(event)}" }
super.dispatchKeyEvent(event)
return true
}
logTextInputDiag { "preIme letting-IME-handle ${describeKeyEvent(event)}" }
}
}
return super.dispatchKeyEventPreIme(event)
val handled = super.dispatchKeyEventPreIme(event)
if (isDpadKeyCode(event.keyCode)) {
logTextInputDiag { "preIme superResult=$handled ${describeKeyEvent(event)} ${describeImeState()}" }
}
return handled
}
}
while (content.childCount > 0) {
@@ -151,6 +237,19 @@ class MainActivity : FlutterActivity() {
handleWatchNextIntent(intent)
}
override fun dispatchKeyEvent(event: KeyEvent): Boolean {
if (isDpadKeyCode(event.keyCode)) {
logTextInputDiag { "activity.dispatchKeyEvent before ${describeKeyEvent(event)} ${describeImeState()}" }
}
val handled = super.dispatchKeyEvent(event)
if (isDpadKeyCode(event.keyCode)) {
logTextInputDiag {
"activity.dispatchKeyEvent after handled=$handled ${describeKeyEvent(event)} ${describeImeState()}"
}
}
return handled
}
private fun handleWatchNextIntent(intent: Intent?) {
val contentId = WatchNextPlugin.handleIntent(intent)
if (contentId != null) {
@@ -169,16 +268,7 @@ class MainActivity : FlutterActivity() {
private fun shouldDisableImpeller(): Boolean {
// Android TV devices — weaker GPUs, less Impeller testing
if (isAndroidTvDevice()) return true
// Google Tensor SoC (Mali GPU) — Pixel 6+
// SOC_MODEL may return marketing name ("Tensor G2") or internal ID ("GS201")
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S) {
val soc = Build.SOC_MODEL
if (soc.startsWith("Tensor", ignoreCase = true) ||
soc.startsWith("GS", ignoreCase = true)
) {
return true
}
}
if (DeviceQuirks.isEWaste) return true
// NVIDIA Tegra (Shield TV)
if (Build.MANUFACTURER.equals("NVIDIA", ignoreCase = true)) return true
// Huawei/HONOR Kirin SoCs use Mali GPUs
@@ -190,13 +280,57 @@ class MainActivity : FlutterActivity() {
return false
}
override fun getRenderMode(): RenderMode = RenderMode.surface
override fun getRenderMode(): RenderMode {
// Keep Flutter in the normal View hierarchy so video/subtitle SurfaceViews
// remain the only native composition layers. This restores the pre-1.35.0
// behavior and avoids compositor regressions with Dolby Vision playback.
return RenderMode.texture
}
override fun getTransparencyMode(): TransparencyMode {
// Keep Flutter transparent so video/subtitles are visible below.
return TransparencyMode.transparent
}
override fun onFlutterTextureViewCreated(flutterTextureView: FlutterTextureView) {
val original = flutterTextureView.surfaceTextureListener ?: return
val handler = Handler(Looper.getMainLooper())
var pendingResize: Runnable? = null
var lastWidth = 0
var lastHeight = 0
flutterTextureView.surfaceTextureListener = object : TextureView.SurfaceTextureListener {
override fun onSurfaceTextureAvailable(surface: SurfaceTexture, width: Int, height: Int) {
original.onSurfaceTextureAvailable(surface, width, height)
}
override fun onSurfaceTextureSizeChanged(surface: SurfaceTexture, width: Int, height: Int) {
if (width == lastWidth && height == lastHeight) return
lastWidth = width
lastHeight = height
pendingResize?.let { handler.removeCallbacks(it) }
pendingResize = Runnable {
if (flutterTextureView.isAvailable) {
original.onSurfaceTextureSizeChanged(surface, width, height)
}
}
handler.postDelayed(pendingResize!!, 100)
}
override fun onSurfaceTextureUpdated(surface: SurfaceTexture) {
original.onSurfaceTextureUpdated(surface)
}
override fun onSurfaceTextureDestroyed(surface: SurfaceTexture): Boolean {
pendingResize?.let { handler.removeCallbacks(it) }
pendingResize = null
lastWidth = 0
lastHeight = 0
return original.onSurfaceTextureDestroyed(surface)
}
}
}
override fun configureFlutterEngine(flutterEngine: FlutterEngine) {
super.configureFlutterEngine(flutterEngine)
flutterEngine.plugins.add(MpvPlayerPlugin())
@@ -209,6 +343,20 @@ class MainActivity : FlutterActivity() {
}
}
MethodChannel(flutterEngine.dartExecutor.binaryMessenger, TEXT_INPUT_CHANNEL).setMethodCallHandler { call, result ->
when (call.method) {
"setNativeTextInputFocused" -> {
val oldValue = nativeTextInputFocused
nativeTextInputFocused = call.arguments as? Boolean ?: false
logTextInputDiag {
"methodChannel setNativeTextInputFocused old=$oldValue new=$nativeTextInputFocused ${describeImeState()}"
}
result.success(null)
}
else -> result.notImplemented()
}
}
MethodChannel(flutterEngine.dartExecutor.binaryMessenger, APP_EXIT_CHANNEL).setMethodCallHandler { call, result ->
when (call.method) {
"requestExit" -> {
@@ -1,6 +1,7 @@
package com.edde746.plezy.exoplayer
import android.util.Log
import androidx.media3.common.C
import androidx.media3.common.DataReader
import androidx.media3.common.Format
import androidx.media3.common.MimeTypes
@@ -28,7 +29,8 @@ import androidx.media3.extractor.TrackOutput
*/
class DoviConvertingTrackOutput(
private val delegate: TrackOutput,
private val dvMode: DvConversionMode = DvConversionMode.HEVC_STRIP
private val dvMode: DvConversionMode = DvConversionMode.HEVC_STRIP,
private val emitLog: ((String, String, String) -> Unit)? = null
) : TrackOutput {
companion object {
@@ -45,6 +47,8 @@ class DoviConvertingTrackOutput(
private set
var strippedNalCount = 0L
private set
var strippedInitNalCount = 0L
private set
var convertedRpuCount = 0L
private set
var rpuConversionFailureCount = 0L
@@ -69,19 +73,21 @@ class DoviConvertingTrackOutput(
private var rpuConversionCallCount = 0L
private var totalRpuConversionTimeUs = 0L
private var totalSampleProcessingTimeUs = 0L
private var loggedSupplementalWrapper = false
private var loggedEncryptedSupplementalPassthrough = 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,
logInfo("DV Profile 7 detected ($codecs), mode=$dvMode")
logInfo(
"Original format: mime=${format.sampleMimeType}, codecs=$codecs, " +
"initData=${format.initializationData.size} entries " +
"(${format.initializationData.mapIndexed { i, d -> "$i:${d.size}B" }.joinToString()})"
)
val strippedInitializationData = stripInitializationData(format.initializationData)
val newFormat = when (dvMode) {
DvConversionMode.DV81 -> {
@@ -89,39 +95,26 @@ class DoviConvertingTrackOutput(
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")
logInfo("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)
}
)
.setInitializationData(strippedInitializationData + dvConfigRecord)
.build()
}
else -> {
// HEVC_STRIP: present as plain HEVC
Log.i(TAG, "HEVC_STRIP: rewriting to video/hevc")
logInfo("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()
}
)
.setInitializationData(strippedInitializationData)
.build()
}
}
Log.i(
TAG,
logInfo(
"Rewritten format: mime=${newFormat.sampleMimeType}, " +
"codecs=${newFormat.codecs}, initData=${newFormat.initializationData.size} entries"
)
@@ -179,23 +172,24 @@ class DoviConvertingTrackOutput(
val srcLen = sampleLen
sampleLen = 0
val outLen: Int
val outBuf: ByteArray
val processStartNs = System.nanoTime()
val success = try {
processNalUnits(srcLen)
true
} catch (e: Exception) {
Log.e(TAG, "NAL processing failed, passing raw sample", e)
val success = if ((flags and C.BUFFER_FLAG_ENCRYPTED) != 0) {
if (!loggedEncryptedSupplementalPassthrough && (flags and C.BUFFER_FLAG_HAS_SUPPLEMENTAL_DATA) != 0) {
loggedEncryptedSupplementalPassthrough = true
logWarn("Encrypted supplemental sample encountered, passing raw sample")
}
false
}
if (success) {
outLen = outputLen
outBuf = outputBuf
} else {
outLen = srcLen
outBuf = sampleBuf
try {
processSampleData(flags, srcLen)
true
} catch (e: Exception) {
logError("NAL processing failed, passing raw sample", e)
false
}
}
val outLen = if (success) outputLen else srcLen
val outBuf = if (success) outputBuf else sampleBuf
if (success) {
recordSampleProcessing((System.nanoTime() - processStartNs) / 1_000L)
}
@@ -209,17 +203,76 @@ class DoviConvertingTrackOutput(
}
/**
* Process NAL units in sampleBuf[0..dataLen). Auto-detects format:
* Process a sample, unwrapping Media3 supplemental-data framing when present.
*
* Samples with C.BUFFER_FLAG_HAS_SUPPLEMENTAL_DATA are stored as:
* [4-byte big-endian main sample size][main sample][supplemental data].
* Only the main sample contains video NALs and should be rewritten.
*/
private fun processSampleData(flags: Int, dataLen: Int) {
if ((flags and C.BUFFER_FLAG_HAS_SUPPLEMENTAL_DATA) == 0) {
processNalUnits(0, dataLen)
return
}
if (dataLen < 4) {
logWarn("Bad supplemental sample: ${dataLen}B is too small")
copyRawSample(dataLen)
return
}
val mainSampleLen = readInt32BE(sampleBuf, 0)
if (mainSampleLen < 0 || mainSampleLen > dataLen - 4) {
logWarn("Bad supplemental sample: mainLen=$mainSampleLen total=$dataLen")
copyRawSample(dataLen)
return
}
val supplementalLen = dataLen - 4 - mainSampleLen
if (!loggedSupplementalWrapper) {
loggedSupplementalWrapper = true
logDebug(
"Supplemental wrapper detected: total=${dataLen}B, main=${mainSampleLen}B, " +
"supplemental=${supplementalLen}B, innerFirstBytes=${formatBytes(sampleBuf, 4, 8)}"
)
}
processNalUnits(4, mainSampleLen)
val processedMainLen = outputLen
if (processedMainLen == 0) {
outputLen = 0
return
}
ensureOutputCapacity(4 + processedMainLen + supplementalLen)
System.arraycopy(outputBuf, 0, outputBuf, 4, processedMainLen)
writeInt32BE(outputBuf, 0, processedMainLen)
if (supplementalLen > 0) {
System.arraycopy(sampleBuf, 4 + mainSampleLen, outputBuf, 4 + processedMainLen, supplementalLen)
}
outputLen = 4 + processedMainLen + supplementalLen
if (sampleCount <= 3 || (sampleCount % 500 == 0L)) {
logDebug(
"Sample #$sampleCount (Supplemental): main=${mainSampleLen}B -> ${processedMainLen}B, " +
"supplemental=${supplementalLen}B, total=${dataLen}B -> ${outputLen}B"
)
}
}
/**
* Process NAL units in sampleBuf[dataOffset..dataOffset+dataLen). 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
*
* Result is written to outputBuf[0..outputLen).
*/
private fun processNalUnits(dataLen: Int) {
private fun processNalUnits(dataOffset: Int, dataLen: Int) {
outputLen = 0
if (dataLen < 4) {
ensureOutputCapacity(dataLen)
System.arraycopy(sampleBuf, 0, outputBuf, 0, dataLen)
System.arraycopy(sampleBuf, dataOffset, outputBuf, 0, dataLen)
outputLen = dataLen
return
}
@@ -227,41 +280,41 @@ class DoviConvertingTrackOutput(
// Auto-detect: Annex B starts with 00 00 00 01 or 00 00 01
val isAnnexB = (
dataLen >= 4 &&
sampleBuf[0] == 0.toByte() &&
sampleBuf[1] == 0.toByte() &&
sampleBuf[2] == 0.toByte() &&
sampleBuf[3] == 1.toByte()
sampleBuf[dataOffset] == 0.toByte() &&
sampleBuf[dataOffset + 1] == 0.toByte() &&
sampleBuf[dataOffset + 2] == 0.toByte() &&
sampleBuf[dataOffset + 3] == 1.toByte()
) ||
(
dataLen >= 3 &&
sampleBuf[0] == 0.toByte() &&
sampleBuf[1] == 0.toByte() &&
sampleBuf[2] == 1.toByte()
sampleBuf[dataOffset] == 0.toByte() &&
sampleBuf[dataOffset + 1] == 0.toByte() &&
sampleBuf[dataOffset + 2] == 1.toByte()
)
if (sampleCount == 0L) {
Log.d(
TAG,
logDebug(
"NAL format detected: ${if (isAnnexB) "Annex B" else "length-prefixed"}, " +
"first bytes: ${sampleBuf.take(8).joinToString(" ") { "%02X".format(it) }}"
"first bytes: ${formatBytes(sampleBuf, dataOffset, 8)}"
)
}
if (isAnnexB) processAnnexBNals(dataLen) else processLengthPrefixedNals(dataLen)
if (isAnnexB) processAnnexBNals(dataOffset, dataLen) else processLengthPrefixedNals(dataOffset, dataLen)
}
/** Process Annex B formatted NAL units (MKV path). Scans inline, no list allocation. */
private fun processAnnexBNals(dataLen: Int) {
private fun processAnnexBNals(dataOffset: Int, dataLen: Int) {
ensureOutputCapacity(dataLen)
val dataEnd = dataOffset + dataLen
var kept = 0
var stripped = 0
// Find first start code
var scEnd = -1
var i = 0
while (i < dataLen - 2) {
var i = dataOffset
while (i < dataEnd - 2) {
if (sampleBuf[i] == 0.toByte() && sampleBuf[i + 1] == 0.toByte()) {
if (i + 3 < dataLen && sampleBuf[i + 2] == 0.toByte() && sampleBuf[i + 3] == 1.toByte()) {
if (i + 3 < dataEnd && sampleBuf[i + 2] == 0.toByte() && sampleBuf[i + 3] == 1.toByte()) {
scEnd = i + 4
break
} else if (sampleBuf[i + 2] == 1.toByte()) {
@@ -274,7 +327,7 @@ class DoviConvertingTrackOutput(
if (scEnd < 0) {
// No start codes found — pass through
System.arraycopy(sampleBuf, 0, outputBuf, 0, dataLen)
System.arraycopy(sampleBuf, dataOffset, outputBuf, 0, dataLen)
outputLen = dataLen
sampleCount++
return
@@ -282,13 +335,13 @@ class DoviConvertingTrackOutput(
var nalStart = scEnd
while (nalStart < dataLen) {
while (nalStart < dataEnd) {
// Find next start code to determine end of current NAL
var nalEnd = dataLen
var nalEnd = dataEnd
i = nalStart
while (i < dataLen - 2) {
while (i < dataEnd - 2) {
if (sampleBuf[i] == 0.toByte() && sampleBuf[i + 1] == 0.toByte()) {
if (i + 3 < dataLen && sampleBuf[i + 2] == 0.toByte() && sampleBuf[i + 3] == 1.toByte()) {
if (i + 3 < dataEnd && sampleBuf[i + 2] == 0.toByte() && sampleBuf[i + 3] == 1.toByte()) {
nalEnd = i
break
} else if (sampleBuf[i + 2] == 1.toByte()) {
@@ -330,8 +383,8 @@ class DoviConvertingTrackOutput(
}
// Advance past the next start code
if (nalEnd >= dataLen) break
nalStart = if (nalEnd + 3 < dataLen && sampleBuf[nalEnd + 2] == 0.toByte() && sampleBuf[nalEnd + 3] == 1.toByte()) {
if (nalEnd >= dataEnd) break
nalStart = if (nalEnd + 3 < dataEnd && sampleBuf[nalEnd + 2] == 0.toByte() && sampleBuf[nalEnd + 3] == 1.toByte()) {
nalEnd + 4
} else {
nalEnd + 3
@@ -340,8 +393,7 @@ class DoviConvertingTrackOutput(
sampleCount++
if (sampleCount <= 3 || (sampleCount % 500 == 0L)) {
Log.d(
TAG,
logDebug(
"Sample #$sampleCount (AnnexB): ${dataLen}B -> ${outputLen}B, " +
"kept=$kept stripped=$stripped NALs"
)
@@ -349,21 +401,22 @@ class DoviConvertingTrackOutput(
}
/** Process length-prefixed NAL units (MP4 path). */
private fun processLengthPrefixedNals(dataLen: Int) {
private fun processLengthPrefixedNals(dataOffset: Int, dataLen: Int) {
ensureOutputCapacity(dataLen)
var pos = 0
val dataEnd = dataOffset + dataLen
var pos = dataOffset
var kept = 0
var stripped = 0
while (pos + 4 <= dataLen) {
while (pos + 4 <= dataEnd) {
val nalLen = ((sampleBuf[pos].toInt() and 0xFF) shl 24) or
((sampleBuf[pos + 1].toInt() and 0xFF) shl 16) or
((sampleBuf[pos + 2].toInt() and 0xFF) shl 8) or
(sampleBuf[pos + 3].toInt() and 0xFF)
if (nalLen <= 0 || pos + 4 + nalLen > dataLen) {
if (nalLen <= 0 || pos + 4 + nalLen > dataEnd) {
if (sampleCount < 5) {
Log.w(TAG, "Bad NAL length $nalLen at pos $pos (data.size=$dataLen)")
logWarn("Bad NAL length $nalLen at pos ${pos - dataOffset} (data.size=$dataLen)")
}
break
}
@@ -401,8 +454,7 @@ class DoviConvertingTrackOutput(
sampleCount++
if (sampleCount <= 3 || (sampleCount % 500 == 0L)) {
Log.d(
TAG,
logDebug(
"Sample #$sampleCount (LenPrefix): ${dataLen}B -> ${outputLen}B, " +
"kept=$kept stripped=$stripped NALs"
)
@@ -449,8 +501,7 @@ class DoviConvertingTrackOutput(
private fun recordSampleProcessing(elapsedUs: Long) {
totalSampleProcessingTimeUs += elapsedUs
if (sampleCount <= 3 || (sampleCount > 0 && sampleCount % 500 == 0L)) {
Log.d(
TAG,
logDebug(
"Perf: avgSample=${averageSampleProcessingTimeUs}us, " +
"avgRpu=${averageRpuConversionTimeUs}us, converted=$convertedRpuCount, " +
"rpuFailures=$rpuConversionFailureCount, rpuTooSmall=$rpuOutputTooSmallCount"
@@ -458,14 +509,121 @@ class DoviConvertingTrackOutput(
}
}
private fun stripInitializationData(initializationData: List<ByteArray>): List<ByteArray> {
if (initializationData.isEmpty()) return emptyList()
val stripped = ArrayList<ByteArray>(initializationData.size)
var beforeBytes = 0
var afterBytes = 0
var droppedBuffers = 0
for (data in initializationData) {
beforeBytes += data.size
val processed = stripInitializationAnnexB(data)
if (processed == null) {
// Media3's HEVC init data is normally Annex B. Non-AnnexB entries in
// Dolby Vision formats are typically dvcC/dvvC records, which must not
// be forwarded when advertising plain HEVC.
droppedBuffers++
continue
}
if (processed.isEmpty()) {
droppedBuffers++
continue
}
afterBytes += processed.size
stripped.add(processed)
}
logInfo(
"Init data stripped: ${initializationData.size} entries/${beforeBytes}B -> " +
"${stripped.size} entries/${afterBytes}B, strippedNals=$strippedInitNalCount, " +
"droppedBuffers=$droppedBuffers"
)
return stripped
}
private fun stripInitializationAnnexB(data: ByteArray): ByteArray? {
if (data.isEmpty()) return data
val firstStartCodeEnd = findStartCodeEnd(data, 0) ?: return null
ensureOutputCapacity(data.size)
outputLen = 0
var kept = 0
var stripped = 0
var nalStart = firstStartCodeEnd
while (nalStart < data.size) {
val nalEnd = findNextStartCodeOffset(data, nalStart) ?: data.size
val nalLen = nalEnd - nalStart
if (nalLen > 0) {
when (classifyNal(data, nalStart, nalLen, convertRpu = false)) {
NalAction.KEEP -> {
ensureOutputCapacity(outputLen + 4 + nalLen)
System.arraycopy(ANNEX_B_START_CODE, 0, outputBuf, outputLen, 4)
outputLen += 4
System.arraycopy(data, nalStart, outputBuf, outputLen, nalLen)
normalizeLayerId(outputBuf, outputLen)
outputLen += nalLen
kept++
}
else -> {
strippedInitNalCount++
stripped++
}
}
}
if (nalEnd >= data.size) break
nalStart = findStartCodeEnd(data, nalEnd) ?: break
}
logDebug("Init data sample: ${data.size}B -> ${outputLen}B, kept=$kept stripped=$stripped NALs")
return outputBuf.copyOf(outputLen)
}
private fun findStartCodeEnd(data: ByteArray, from: Int): Int? {
var i = from
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()) {
return i + 4
} else if (data[i + 2] == 1.toByte()) {
return i + 3
}
}
i++
}
return null
}
private fun findNextStartCodeOffset(data: ByteArray, from: Int): Int? {
var i = from
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()) {
return i
} else if (data[i + 2] == 1.toByte()) {
return i
}
}
i++
}
return null
}
/** Classify a NAL at sampleBuf[offset..offset+len) without copying. */
private fun processNalInline(offset: Int, len: Int): NalAction {
private fun processNalInline(offset: Int, len: Int): NalAction = classifyNal(sampleBuf, offset, len, convertRpu = dvMode == DvConversionMode.DV81)
private fun classifyNal(data: ByteArray, offset: Int, len: Int, convertRpu: Boolean): NalAction {
if (len < 2) return NalAction.KEEP
val nalType = (sampleBuf[offset].toInt() ushr 1) and 0x3F
val nuhLayerId = ((sampleBuf[offset].toInt() and 1) shl 5) or
((sampleBuf[offset + 1].toInt() ushr 3) and 0x1F)
val nalType = (data[offset].toInt() ushr 1) and 0x3F
val nuhLayerId = ((data[offset].toInt() and 1) shl 5) or
((data[offset + 1].toInt() ushr 3) and 0x1F)
return when {
nalType == NAL_TYPE_UNSPEC62 && dvMode == DvConversionMode.DV81 -> NalAction.CONVERT
nalType == NAL_TYPE_UNSPEC62 && convertRpu -> NalAction.CONVERT
nalType == NAL_TYPE_UNSPEC62 || nalType == NAL_TYPE_UNSPEC63 || nuhLayerId > 0 -> NalAction.STRIP
else -> NalAction.KEEP
}
@@ -485,6 +643,23 @@ class DoviConvertingTrackOutput(
buf[offset + 3] = (value and 0xFF).toByte()
}
private fun readInt32BE(buf: ByteArray, offset: Int): Int = ((buf[offset].toInt() and 0xFF) shl 24) or
((buf[offset + 1].toInt() and 0xFF) shl 16) or
((buf[offset + 2].toInt() and 0xFF) shl 8) or
(buf[offset + 3].toInt() and 0xFF)
private fun copyRawSample(dataLen: Int) {
ensureOutputCapacity(dataLen)
System.arraycopy(sampleBuf, 0, outputBuf, 0, dataLen)
outputLen = dataLen
}
private fun formatBytes(data: ByteArray, offset: Int, length: Int): String {
val end = minOf(data.size, offset + length)
if (offset >= end) return ""
return (offset until end).joinToString(" ") { "%02X".format(data[it]) }
}
private fun ensureSampleCapacity(needed: Int) {
if (sampleBuf.size < needed) {
sampleBuf = sampleBuf.copyOf(maxOf(needed, sampleBuf.size * 2))
@@ -497,6 +672,26 @@ class DoviConvertingTrackOutput(
}
}
private fun logDebug(message: String) {
Log.d(TAG, message)
emitLog?.invoke("debug", "dv-convert", message)
}
private fun logInfo(message: String) {
Log.i(TAG, message)
emitLog?.invoke("info", "dv-convert", message)
}
private fun logWarn(message: String) {
Log.w(TAG, message)
emitLog?.invoke("warn", "dv-convert", message)
}
private fun logError(message: String, throwable: Throwable) {
Log.e(TAG, message, throwable)
emitLog?.invoke("error", "dv-convert", "$message: ${throwable.message}")
}
/**
* Build a 24-byte DOVIDecoderConfigurationRecord for DV Profile 8.1.
*
@@ -16,12 +16,13 @@ import androidx.media3.extractor.TrackOutput
class DoviExtractorOutputWrapper(
private val delegate: ExtractorOutput,
private val dvMode: DvConversionMode,
private val emitLog: ((String, String, String) -> Unit)?,
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)
val wrapper = DoviConvertingTrackOutput(original, dvMode, emitLog)
onVideoTrackWrapped(wrapper)
return wrapper
}
@@ -39,7 +40,8 @@ class DoviExtractorOutputWrapper(
*/
class DoviExtractorWrapper(
private val delegate: Extractor,
private val dvMode: DvConversionMode = DvConversionMode.HEVC_STRIP
private val dvMode: DvConversionMode = DvConversionMode.HEVC_STRIP,
private val emitLog: ((String, String, String) -> Unit)? = null
) : Extractor {
@Volatile var doviTrackOutput: DoviConvertingTrackOutput? = null
@@ -48,7 +50,7 @@ class DoviExtractorWrapper(
override fun sniff(input: ExtractorInput): Boolean = delegate.sniff(input)
override fun init(output: ExtractorOutput) {
delegate.init(DoviExtractorOutputWrapper(output, dvMode) { doviTrackOutput = it })
delegate.init(DoviExtractorOutputWrapper(output, dvMode, emitLog) { doviTrackOutput = it })
}
override fun read(input: ExtractorInput, seekPosition: PositionHolder): Int = delegate.read(input, seekPosition)
File diff suppressed because it is too large Load Diff
@@ -180,6 +180,7 @@ class ExoPlayerPlugin :
val bufferSizeBytes = call.argument<Int>("bufferSizeBytes")
val tunnelingEnabled = call.argument<Boolean>("tunnelingEnabled") ?: true
val dvConversionMode = call.argument<String>("dvConversionMode") ?: "auto"
configuredBufferSizeBytes = bufferSizeBytes
currentActivity.runOnUiThread {
@@ -201,6 +202,9 @@ class ExoPlayerPlugin :
bufferSizeBytes = bufferSizeBytes,
tunnelingEnabled = tunnelingEnabled
) ?: false
if (success && playerCore?.setDebugDvConversionMode(dvConversionMode) != true) {
Log.w(TAG, "Invalid DV conversion mode during initialize: $dvConversionMode")
}
// Start hidden
playerCore?.setVisible(false)
@@ -4,6 +4,8 @@ import android.content.Context
import android.media.AudioDeviceInfo
import android.os.Build
import androidx.annotation.OptIn
import androidx.media3.common.Format
import androidx.media3.common.MimeTypes
import androidx.media3.common.PlaybackParameters
import androidx.media3.common.util.Clock
import androidx.media3.common.util.UnstableApi
@@ -27,6 +29,14 @@ class PlezyRenderersFactory(context: Context) : DefaultRenderersFactory(context)
/** Audio delay in microseconds. Shared with PositionFixAudioSink for live updates. */
val audioDelayUs = AtomicLong(0L)
/** Returns whether direct TrueHD output should be hidden so decoded PCM output can be selected. */
var shouldBlockDirectTrueHd: ((Format) -> Boolean)? = null
/** Called before Media3 reacts to an audio route/capability change. */
var onAudioCapabilitiesChanged: (() -> Unit)? = null
var audioDiagnosticsLogger: ((String, String, String) -> Unit)? = null
override fun buildAudioSink(
context: Context,
enableFloatOutput: Boolean,
@@ -51,10 +61,17 @@ class PlezyRenderersFactory(context: Context) : DefaultRenderersFactory(context)
val defaultSink = DefaultAudioSink.Builder(context)
.setEnableFloatOutput(enableFloatOutput)
.setEnableAudioOutputPlaybackParameters(enableAudioOutputPlaybackParams)
.setAudioOutputProvider(RawPositionOutputProvider(realProvider, rawPositionUs))
.setAudioOutputProvider(RawPositionOutputProvider(realProvider, rawPositionUs, audioDiagnosticsLogger))
.build()
return PositionFixAudioSink(defaultSink, rawPositionUs, audioDelayUs)
return PositionFixAudioSink(
defaultSink,
rawPositionUs,
audioDelayUs,
shouldBlockDirectTrueHd,
onAudioCapabilitiesChanged,
audioDiagnosticsLogger
)
}
}
@@ -83,7 +100,10 @@ class PlezyRenderersFactory(context: Context) : DefaultRenderersFactory(context)
private class PositionFixAudioSink(
sink: AudioSink,
private val rawPositionUs: AtomicLong,
private val audioDelayUs: AtomicLong
private val audioDelayUs: AtomicLong,
private val shouldBlockDirectTrueHd: ((Format) -> Boolean)?,
private val onAudioCapabilitiesChanged: (() -> Unit)?,
private val log: ((String, String, String) -> Unit)?
) : ForwardingAudioSink(sink) {
private var startMediaTimeUs = Long.MIN_VALUE
@@ -97,12 +117,45 @@ private class PositionFixAudioSink(
// Transient counter-offset: after seek/flush, ramp offset from 0 to full
// over recoveryDurationUs to prevent video frame drops.
private var recoveryDurationUs = 0L
private var loggedTrueHdDirectBlock = false
private var loggedFirstBuffer = false
override fun supportsFormat(format: Format): Boolean {
if (blocksDirectTrueHd(format)) return false
return super.supportsFormat(format)
}
override fun getFormatSupport(format: Format): Int {
if (blocksDirectTrueHd(format)) return AudioSink.SINK_FORMAT_UNSUPPORTED
return super.getFormatSupport(format)
}
private fun blocksDirectTrueHd(format: Format): Boolean {
if (format.sampleMimeType != MimeTypes.AUDIO_TRUEHD || shouldBlockDirectTrueHd?.invoke(format) != true) return false
if (!loggedTrueHdDirectBlock) {
loggedTrueHdDirectBlock = true
log?.invoke(
"info",
"audio",
"Blocking direct TrueHD output; route does not report TrueHD bitstream support, decoded PCM output will be preferred"
)
}
return true
}
override fun handleBuffer(
buffer: ByteBuffer,
presentationTimeUs: Long,
encodedAccessUnitCount: Int
): Boolean {
if (!loggedFirstBuffer && buffer.hasRemaining()) {
loggedFirstBuffer = true
log?.invoke(
"debug",
"audio-sink",
"First buffer: size=${buffer.remaining()}B, pts=${presentationTimeUs}us, accessUnits=$encodedAccessUnitCount"
)
}
if (startMediaTimeUs == Long.MIN_VALUE) {
startMediaTimeUs = presentationTimeUs
refMediaTimeUs = presentationTimeUs
@@ -163,7 +216,10 @@ private class PositionFixAudioSink(
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 onAudioCapabilitiesChanged() {
onAudioCapabilitiesChanged?.invoke()
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()
@@ -235,7 +291,8 @@ internal class SubtitleDelayRenderer(
@OptIn(UnstableApi::class)
private class RawPositionOutputProvider(
private val delegate: AudioOutputProvider,
private val rawPositionUs: AtomicLong
private val rawPositionUs: AtomicLong,
private val log: ((String, String, String) -> Unit)?
) : AudioOutputProvider {
private var cachedOutput: RawPositionAudioOutput? = null
@@ -256,7 +313,7 @@ private class RawPositionOutputProvider(
val realOutput = delegate.getAudioOutput(config)
cachedConfig = config
return RawPositionAudioOutput(realOutput, rawPositionUs, this)
return RawPositionAudioOutput(realOutput, rawPositionUs, this, log)
}
fun returnToCache(output: RawPositionAudioOutput) {
@@ -285,9 +342,14 @@ private class RawPositionOutputProvider(
private class RawPositionAudioOutput(
private val delegate: AudioOutput,
private val rawPositionUs: AtomicLong,
private val provider: RawPositionOutputProvider
private val provider: RawPositionOutputProvider,
private val log: ((String, String, String) -> Unit)?
) : AudioOutput {
private var loggedFirstWrite = false
private var writeCount = 0L
private var writtenBytes = 0L
override fun getPositionUs(): Long {
val pos = delegate.getPositionUs()
rawPositionUs.set(pos)
@@ -298,10 +360,30 @@ private class RawPositionAudioOutput(
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 write(buffer: ByteBuffer, size: Int, presentationTimeUs: Long): Boolean {
val before = buffer.position()
val handled = delegate.write(buffer, size, presentationTimeUs)
val written = buffer.position() - before
if (written > 0) {
writeCount++
writtenBytes += written.toLong()
if (!loggedFirstWrite) {
loggedFirstWrite = true
log?.invoke(
"debug",
"audio-output",
"First write: wrote=${written}B, handled=$handled, pts=${presentationTimeUs}us, writes=$writeCount, total=${writtenBytes}B"
)
}
}
return handled
}
override fun flush() {
rawPositionUs.set(Long.MIN_VALUE)
loggedFirstWrite = false
writeCount = 0
writtenBytes = 0
delegate.flush()
}
@@ -174,7 +174,8 @@ class MpvPlayerCore(private val activity: Activity) : SurfaceHolder.Callback {
)
frameRateManager = FrameRateManager(
activity = activity,
handler = handler
handler = handler,
log = { emitLog("info", "framerate", it) }
)
// Create FrameLayout container for video
@@ -276,6 +277,17 @@ class MpvPlayerCore(private val activity: Activity) : SurfaceHolder.Callback {
// Flow collectors
private fun emitLog(level: String, prefix: String, text: String) {
delegate?.onEvent(
"log-message",
mapOf(
"prefix" to prefix,
"level" to level,
"text" to text
)
)
}
private fun collectEvents(p: MpvPlayer) {
scope.launch(start = CoroutineStart.UNDISPATCHED) {
p.eventFlow.collect { event ->
@@ -317,14 +329,7 @@ class MpvPlayerCore(private val activity: Activity) : SurfaceHolder.Callback {
private fun collectLogMessages(p: MpvPlayer) {
scope.launch(start = CoroutineStart.UNDISPATCHED) {
p.logFlow.collect { msg ->
delegate?.onEvent(
"log-message",
mapOf(
"prefix" to msg.prefix,
"level" to msg.level.name.lowercase(),
"text" to msg.text
)
)
emitLog(msg.level.name.lowercase(), msg.prefix, msg.text)
}
}
}
@@ -784,7 +789,7 @@ class MpvPlayerCore(private val activity: Activity) : SurfaceHolder.Callback {
onComplete(false)
return
}
mgr.setVideoFrameRate(fps, videoDurationMs, surfaceView?.holder?.surface, extraDelayMs) { switched ->
mgr.setVideoFrameRate(fps, videoDurationMs, extraDelayMs) { switched ->
player?.let { updateDisplayFpsOverride(it, "frame rate switch, switched=$switched") }
onComplete(switched)
}
@@ -0,0 +1,23 @@
package com.edde746.plezy.shared
import android.os.Build
object DeviceQuirks {
val isEWaste: Boolean
get() = isGooglePixelDevice || isGoogleTensorDevice
private val isGooglePixelDevice: Boolean
get() = (
Build.MANUFACTURER.equals("Google", ignoreCase = true) ||
Build.BRAND.equals("google", ignoreCase = true)
) &&
Build.MODEL.contains("Pixel", ignoreCase = true)
private val isGoogleTensorDevice: Boolean
get() {
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.S) return false
val soc = Build.SOC_MODEL
return soc.startsWith("Tensor", ignoreCase = true) ||
soc.startsWith("GS", ignoreCase = true)
}
}
@@ -6,11 +6,11 @@ import android.hardware.display.DisplayManager
import android.os.Build
import android.os.Handler
import android.util.Log
import android.view.Surface
import android.view.Display
import android.view.WindowManager
import androidx.annotation.RequiresApi
import java.math.BigDecimal
import java.math.RoundingMode
import kotlin.math.abs
import kotlin.math.roundToInt
class FrameRateManager(
private val activity: Activity,
@@ -19,11 +19,23 @@ class FrameRateManager(
) {
companion object {
private const val TAG = "FrameRateManager"
private const val SHORT_VIDEO_LENGTH_MS = 300000L // 5 minutes
private const val DISPLAY_SETTLE_MS = 2000L
private const val WATCHDOG_MARGIN_MS = 3000L
private const val RATE_TOLERANCE = 0.1f
}
private data class RefreshRateMatch(
val reason: String,
val priority: Int,
val error: Float
)
@RequiresApi(Build.VERSION_CODES.M)
private data class DisplayModeCandidate(
val mode: Display.Mode,
val match: RefreshRateMatch
)
private var currentVideoFps: Float = 0f
private var displayListener: DisplayManager.DisplayListener? = null
private var pendingSettleRunnable: Runnable? = null
@@ -32,20 +44,18 @@ class FrameRateManager(
private fun getDisplayManager(): DisplayManager = activity.getSystemService(Context.DISPLAY_SERVICE) as DisplayManager
// / Request a display frame-rate switch. Invokes [onComplete] once, either:
// / - immediately with `switched=false` when no switch is needed (invalid
// / fps, no matching mode, seamless fallback); or
// / - after the real DisplayListener event + [DISPLAY_SETTLE_MS] + the
// / caller's [extraDelayMs], with `switched=true`; or
// / - via a watchdog with `switched=true` if the real event never arrives,
// / so the caller doesn't hang.
// /
// / The caller is responsible for pausing playback before calling and
// / resuming it after [onComplete] fires.
// Request a display frame-rate switch. Invokes [onComplete] once, either:
// - immediately with `switched=false` when no switch is needed (invalid fps,
// no matching mode, or already matching); or
// - after the real DisplayListener event + [DISPLAY_SETTLE_MS] + the caller's
// [extraDelayMs], with `switched=true`; or
// - via a watchdog if the real event never arrives, so the caller doesn't hang.
//
// The caller is responsible for pausing playback before calling and resuming
// it after [onComplete] fires.
fun setVideoFrameRate(
fps: Float,
videoDurationMs: Long,
surface: Surface?,
extraDelayMs: Long,
onComplete: (switched: Boolean) -> Unit
) {
@@ -56,22 +66,15 @@ class FrameRateManager(
return
}
log("fps=$fps, duration=${videoDurationMs}ms, extraDelayMs=$extraDelayMs, API=${Build.VERSION.SDK_INT}")
log(
"request fps=$fps, duration=${videoDurationMs}ms, extraDelayMs=$extraDelayMs, " +
"API=${Build.VERSION.SDK_INT}, currentMode=${currentModeDescription()}"
)
when {
Build.VERSION.SDK_INT >= Build.VERSION_CODES.S -> {
if (surface == null) {
Log.d(TAG, "setVideoFrameRate: Surface not available")
onComplete(false)
return
}
setFrameRateS(fps, surface, videoDurationMs, extraDelayMs, onComplete)
}
// API R's Surface.setFrameRate() only supports seamless switching (no
// CHANGE_FRAME_RATE_ALWAYS), so 60→24Hz won't switch. Fall through to
// preferredDisplayModeId which directly sets the display mode.
Build.VERSION.SDK_INT >= Build.VERSION_CODES.M -> setFrameRateM(fps, extraDelayMs, onComplete)
else -> onComplete(false)
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {
setDisplayMode(fps, extraDelayMs, onComplete)
} else {
onComplete(false)
}
}
@@ -116,11 +119,11 @@ class FrameRateManager(
}
val cb = pendingCompletion ?: return
pendingCompletion = null
Log.d(TAG, "FrameRateManager complete ($reason, switched=$switched)")
log("complete reason=$reason, switched=$switched, currentMode=${currentModeDescription()}")
cb(switched)
}
private fun registerDisplayListener(extraDelayMs: Long, onComplete: (switched: Boolean) -> Unit) {
private fun registerDisplayListener(fps: Float, extraDelayMs: Long, onComplete: (switched: Boolean) -> Unit) {
// Resolve any previous pending op before starting a new one.
firePendingCompletion("superseded", switched = false)
pendingCompletion = onComplete
@@ -135,7 +138,7 @@ class FrameRateManager(
getDisplayManager().unregisterDisplayListener(this)
displayListener = null
val settle = Runnable { firePendingCompletion("display settled", switched = true) }
val settle = Runnable { firePendingCompletion("display settled", switched = currentRateMatch(fps) != null) }
pendingSettleRunnable = settle
handler.postDelayed(settle, DISPLAY_SETTLE_MS + extraDelayMs)
}
@@ -145,148 +148,122 @@ class FrameRateManager(
// Watchdog: if the TV never signals a display change (silently ignoring
// the mode request), still complete after a bounded wait so the caller
// doesn't hang.
val watchdog = Runnable { firePendingCompletion("watchdog", switched = true) }
val watchdog = Runnable { firePendingCompletion("watchdog", switched = currentRateMatch(fps) != null) }
watchdogRunnable = watchdog
handler.postDelayed(watchdog, DISPLAY_SETTLE_MS + extraDelayMs + WATCHDOG_MARGIN_MS)
}
private fun currentRateMatchesFps(fps: Float): Boolean {
val current = activity.display?.mode?.refreshRate ?: return false
if (current <= 0f) return false
// Treat "equal within a frame" and "clean multiple" as a match —
// same tolerance the API M matcher uses below.
if (kotlin.math.abs(current - fps) < 0.1f) return true
val mod = current % fps
return mod < 0.1f || (fps - mod) < 0.1f
private fun matchRefreshRate(refreshRate: Float, fps: Float): RefreshRateMatch? {
if (refreshRate <= 0f || fps <= 0f) return null
val exactError = abs(refreshRate - fps)
if (exactError < RATE_TOLERANCE) {
return RefreshRateMatch(reason = "exact", priority = 0, error = exactError)
}
val multiple = (refreshRate / fps).roundToInt()
if (multiple > 1) {
val multipleError = abs(refreshRate - (fps * multiple))
if (multipleError < RATE_TOLERANCE) {
return RefreshRateMatch(reason = "${multiple}x", priority = 1, error = multipleError)
}
}
return null
}
@RequiresApi(Build.VERSION_CODES.S)
private fun setFrameRateS(
fps: Float,
surface: Surface,
videoDurationMs: Long,
extraDelayMs: Long,
onComplete: (switched: Boolean) -> Unit
) {
Log.d(TAG, "setFrameRateS: fps=$fps, duration=${videoDurationMs}ms")
// If the current display rate already satisfies the video fps, issue
// the hint for book-keeping but skip the listener — otherwise we'd
// wait for an onDisplayChanged event that never fires and end up
// burning the watchdog timeout for no reason.
if (currentRateMatchesFps(fps)) {
Log.d(TAG, "Current display rate already matches ${fps}fps, no switch needed")
surface.setFrameRate(
fps,
Surface.FRAME_RATE_COMPATIBILITY_FIXED_SOURCE,
Surface.CHANGE_FRAME_RATE_ONLY_IF_SEAMLESS
)
onComplete(false)
return
}
if (videoDurationMs < SHORT_VIDEO_LENGTH_MS) {
Log.d(TAG, "Short video, using seamless-only switching")
surface.setFrameRate(
fps,
Surface.FRAME_RATE_COMPATIBILITY_FIXED_SOURCE,
Surface.CHANGE_FRAME_RATE_ONLY_IF_SEAMLESS
)
onComplete(false)
return
}
var seamless = false
activity.display?.mode?.alternativeRefreshRates?.let { refreshRates ->
for (rate in refreshRates) {
if (fps.toString().startsWith(rate.toString()) ||
rate.toString().startsWith(fps.toString()) ||
rate % fps == 0f
) {
seamless = true
break
}
}
}
if (seamless) {
log("Seamless switch available for ${fps}fps")
surface.setFrameRate(
fps,
Surface.FRAME_RATE_COMPATIBILITY_FIXED_SOURCE,
Surface.CHANGE_FRAME_RATE_ALWAYS
)
registerDisplayListener(extraDelayMs, onComplete)
private fun currentRateMatch(fps: Float): RefreshRateMatch? {
val current = if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {
currentDisplayMode()?.refreshRate
} else {
val userPreference = getDisplayManager().matchContentFrameRateUserPreference
if (userPreference == DisplayManager.MATCH_CONTENT_FRAMERATE_ALWAYS) {
Log.d(TAG, "User preference allows non-seamless switch")
surface.setFrameRate(
fps,
Surface.FRAME_RATE_COMPATIBILITY_FIXED_SOURCE,
Surface.CHANGE_FRAME_RATE_ALWAYS
)
registerDisplayListener(extraDelayMs, onComplete)
} else {
Log.d(TAG, "Non-seamless switch not allowed, using seamless-only")
surface.setFrameRate(
fps,
Surface.FRAME_RATE_COMPATIBILITY_FIXED_SOURCE,
Surface.CHANGE_FRAME_RATE_ONLY_IF_SEAMLESS
)
onComplete(false)
}
}
null
} ?: return null
return matchRefreshRate(current, fps)
}
private fun currentModeDescription(): String = if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {
describeMode(currentDisplayMode())
} else {
"unavailable"
}
@RequiresApi(Build.VERSION_CODES.M)
private fun setFrameRateM(fps: Float, extraDelayMs: Long, onComplete: (switched: Boolean) -> Unit) {
Log.d(TAG, "setFrameRateM: fps=$fps")
val wm = activity.getSystemService(Context.WINDOW_SERVICE) as WindowManager
private fun currentDisplay(): Display? = if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.R) {
activity.display
} else {
@Suppress("DEPRECATION")
val display = wm.defaultDisplay
(activity.getSystemService(Context.WINDOW_SERVICE) as WindowManager).defaultDisplay
}
@RequiresApi(Build.VERSION_CODES.M)
private fun currentDisplayMode(): Display.Mode? = currentDisplay()?.mode
@RequiresApi(Build.VERSION_CODES.M)
private fun describeMode(mode: Display.Mode?): String {
if (mode == null) return "unknown"
return "#${mode.modeId} ${mode.physicalWidth}x${mode.physicalHeight}@${mode.refreshRate}Hz"
}
@RequiresApi(Build.VERSION_CODES.M)
private fun describeSupportedModes(modes: Array<Display.Mode>): String = modes.joinToString(prefix = "[", postfix = "]") { describeMode(it) }
@RequiresApi(Build.VERSION_CODES.M)
private fun findBestModeMatch(fps: Float, currentMode: Display.Mode, supportedModes: Array<Display.Mode>): DisplayModeCandidate? = supportedModes.asSequence()
.filter { mode ->
mode.physicalHeight == currentMode.physicalHeight &&
mode.physicalWidth == currentMode.physicalWidth
}
.mapNotNull { mode -> matchRefreshRate(mode.refreshRate, fps)?.let { DisplayModeCandidate(mode, it) } }
.minWithOrNull(
compareBy<DisplayModeCandidate> { it.match.priority }
.thenBy { it.match.error }
.thenBy { abs(it.mode.refreshRate - currentMode.refreshRate) }
)
@RequiresApi(Build.VERSION_CODES.M)
private fun setDisplayMode(fps: Float, extraDelayMs: Long, onComplete: (switched: Boolean) -> Unit) {
log("setDisplayMode fps=$fps")
val display = currentDisplay()
if (display == null) {
log("display unavailable")
onComplete(false)
return
}
val supportedModes = display.supportedModes
if (supportedModes == null) {
log("supported display modes unavailable")
onComplete(false)
return
}
val currentMode = display.mode
var modeToUse = currentMode
log("supported modes=${describeSupportedModes(supportedModes)}")
for (mode in supportedModes) {
if (mode.physicalHeight != currentMode.physicalHeight ||
mode.physicalWidth != currentMode.physicalWidth
) {
continue
}
if (BigDecimal(fps.toString()).setScale(1, RoundingMode.FLOOR) ==
BigDecimal(mode.refreshRate.toString()).setScale(1, RoundingMode.FLOOR)
) {
modeToUse = mode
break
} else if ((mode.refreshRate % fps).let { it < 0.1f || (fps - it) < 0.1f }) {
modeToUse = mode
break
}
}
if (modeToUse == currentMode) {
val modeMatch = findBestModeMatch(fps, currentMode, supportedModes)
if (modeMatch == null) {
log("no matching display mode for ${fps}fps at ${currentMode.physicalWidth}x${currentMode.physicalHeight}")
onComplete(false)
return
}
Log.d(TAG, "Switching to mode ${modeToUse.modeId} (${modeToUse.refreshRate}Hz)")
activity.window?.attributes?.let { attrs ->
attrs.preferredDisplayModeId = modeToUse.modeId
activity.window?.attributes = attrs
val modeToUse = modeMatch.mode
if (modeToUse.modeId == currentMode.modeId) {
log("current mode already matches ${fps}fps (${modeMatch.match.reason}), no switch needed")
onComplete(false)
return
}
registerDisplayListener(extraDelayMs, onComplete)
log(
"switching to ${describeMode(modeToUse)} for ${fps}fps " +
"(${modeMatch.match.reason}, error=${modeMatch.match.error})"
)
val window = activity.window
if (window == null) {
log("window unavailable")
onComplete(false)
return
}
registerDisplayListener(fps, extraDelayMs, onComplete)
window.attributes = window.attributes.apply { preferredDisplayModeId = modeToUse.modeId }
}
}
+12 -7
View File
@@ -1,5 +1,10 @@
require 'dotenv/load'
Dotenv.load("../../.env")
require 'shellwords'
PROJECT_ROOT = File.expand_path("../..", __dir__)
PROJECT_ROOT_ARG = Shellwords.escape(PROJECT_ROOT)
Dotenv.load(File.join(PROJECT_ROOT, ".env"))
default_platform(:android)
@@ -7,7 +12,7 @@ platform :android do
desc "Build and deploy to Google Play Store"
lane :release do
# Get version from pubspec.yaml
pubspec_path = "#{ENV['PWD']}/../pubspec.yaml"
pubspec_path = File.join(PROJECT_ROOT, "pubspec.yaml")
pubspec_content = File.read(pubspec_path)
version_match = pubspec_content.match(/version:\s*(.+)\+(\d+)/)
@@ -19,11 +24,11 @@ platform :android do
UI.user_error!("Could not extract version from pubspec.yaml")
end
git_commit = `git rev-parse --short HEAD`.strip
git_commit = `git -C #{PROJECT_ROOT_ARG} rev-parse --short HEAD`.strip
# Build the Flutter app
sh("cd #{ENV['PWD']}/.. && flutter build appbundle --dart-define=ENABLE_SENTRY=true --dart-define=GIT_COMMIT=#{git_commit} --dart-define=SENTRY_ENVIRONMENT=play-store --obfuscate --split-debug-info=debug-info/android-aab")
sh("cd #{ENV['PWD']}/.. && ./scripts/upload-symbols.sh android-aab")
sh("cd #{PROJECT_ROOT_ARG} && flutter build appbundle --dart-define=ENABLE_SENTRY=true --dart-define=GIT_COMMIT=#{git_commit} --dart-define=SENTRY_ENVIRONMENT=play-store --dart-define=SENTRY_DIST=play-store --obfuscate --split-debug-info=debug-info/android-aab --extra-gen-snapshot-options=--save-obfuscation-map=debug-info/android-aab/obfuscation.map.json")
sh("cd #{PROJECT_ROOT_ARG} && SENTRY_DIST=play-store ./scripts/upload-symbols.sh android-aab")
upload_to_play_store(
track: "production",
@@ -33,8 +38,8 @@ platform :android do
)
# 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 --dart-define=ENABLE_SENTRY=true --dart-define=GIT_COMMIT=#{git_commit} --dart-define=SENTRY_ENVIRONMENT=amazon --obfuscate --split-debug-info=debug-info/android-apk")
sh("cd #{ENV['PWD']}/.. && ./scripts/upload-symbols.sh android-apk")
sh("cd #{PROJECT_ROOT_ARG} && AMAZON=1 flutter build apk --release --dart-define=ENABLE_SENTRY=true --dart-define=GIT_COMMIT=#{git_commit} --dart-define=SENTRY_ENVIRONMENT=amazon --dart-define=SENTRY_DIST=amazon --obfuscate --split-debug-info=debug-info/android-apk --extra-gen-snapshot-options=--save-obfuscation-map=debug-info/android-apk/obfuscation.map.json")
sh("cd #{PROJECT_ROOT_ARG} && SENTRY_DIST=amazon ./scripts/upload-symbols.sh android-apk")
upload_to_amazon_appstore(
apk_paths: [
+4
View File
@@ -1,3 +1,7 @@
org.gradle.jvmargs=-Xmx8G -XX:MaxMetaspaceSize=4G -XX:ReservedCodeCacheSize=512m -XX:+HeapDumpOnOutOfMemoryError
android.useAndroidX=true
android.enableJetifier=true
# This builtInKotlin flag was added automatically by Flutter migrator
android.builtInKotlin=false
# This newDsl flag was added automatically by Flutter migrator
android.newDsl=false
Binary file not shown.

After

Width:  |  Height:  |  Size: 121 KiB

-15
View File
@@ -1,15 +0,0 @@
## iOS
| Home | Library | Media Card | Season |
|------|---------|------------|--------|
| ![iOS Home - Content discovery and recommendations](ios-home.png) | ![iOS Library - Media collection view](ios-library.png) | ![iOS Media Card](ios-media-card.png) | ![iOS Season View](ios-season.png) |
## macOS
![macOS Home - Content discovery and recommendations](macos-home.png)
![macOS Library - Media collection view](macos-library.png)
![macOS Media Card](macos-media-card.png)
![macOS Season View](macos-season.png)
Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.4 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 MiB

+17
View File
@@ -0,0 +1,17 @@
targets:
$default:
builders:
json_serializable:
options:
create_to_json: true
explicit_to_json: true
field_rename: none
include_if_null: true
checked: false
freezed:
options:
copy_with: true
equal: true
to_string: true
slang_build_runner:
enabled: false
-94
View File
@@ -1,128 +1,34 @@
PODS:
- background_downloader (0.0.1):
- Flutter
- connectivity_plus (0.0.1):
- Flutter
- cupertino_http (0.0.1):
- Flutter
- FlutterMacOS
- device_info_plus (0.0.1):
- Flutter
- file_picker (0.0.1):
- Flutter
- Flutter (1.0.0)
- os_media_controls (0.2.1):
- Flutter
- package_info_plus (0.4.5):
- Flutter
- Sentry/HybridSDK (8.58.0)
- sentry_flutter (9.16.0):
- Flutter
- FlutterMacOS
- Sentry/HybridSDK (= 8.58.0)
- shared_preferences_foundation (0.0.1):
- Flutter
- FlutterMacOS
- sqlite3 (3.52.0):
- sqlite3/common (= 3.52.0)
- sqlite3/common (3.52.0)
- sqlite3/dbstatvtab (3.52.0):
- sqlite3/common
- sqlite3/fts5 (3.52.0):
- sqlite3/common
- sqlite3/math (3.52.0):
- sqlite3/common
- sqlite3/perf-threadsafe (3.52.0):
- sqlite3/common
- sqlite3/rtree (3.52.0):
- sqlite3/common
- sqlite3/session (3.52.0):
- sqlite3/common
- sqlite3_flutter_libs (0.0.1):
- Flutter
- FlutterMacOS
- sqlite3 (~> 3.52.0)
- sqlite3/dbstatvtab
- sqlite3/fts5
- sqlite3/math
- sqlite3/perf-threadsafe
- sqlite3/rtree
- sqlite3/session
- universal_gamepad (0.1.0):
- Flutter
- url_launcher_ios (0.0.1):
- Flutter
- wakelock_plus (0.0.1):
- Flutter
DEPENDENCIES:
- background_downloader (from `.symlinks/plugins/background_downloader/ios`)
- connectivity_plus (from `.symlinks/plugins/connectivity_plus/ios`)
- cupertino_http (from `.symlinks/plugins/cupertino_http/darwin`)
- device_info_plus (from `.symlinks/plugins/device_info_plus/ios`)
- file_picker (from `.symlinks/plugins/file_picker/ios`)
- Flutter (from `Flutter`)
- os_media_controls (from `.symlinks/plugins/os_media_controls/ios`)
- package_info_plus (from `.symlinks/plugins/package_info_plus/ios`)
- sentry_flutter (from `.symlinks/plugins/sentry_flutter/ios`)
- shared_preferences_foundation (from `.symlinks/plugins/shared_preferences_foundation/darwin`)
- sqlite3_flutter_libs (from `.symlinks/plugins/sqlite3_flutter_libs/darwin`)
- universal_gamepad (from `.symlinks/plugins/universal_gamepad/ios`)
- url_launcher_ios (from `.symlinks/plugins/url_launcher_ios/ios`)
- wakelock_plus (from `.symlinks/plugins/wakelock_plus/ios`)
SPEC REPOS:
trunk:
- Sentry
- sqlite3
EXTERNAL SOURCES:
background_downloader:
:path: ".symlinks/plugins/background_downloader/ios"
connectivity_plus:
:path: ".symlinks/plugins/connectivity_plus/ios"
cupertino_http:
:path: ".symlinks/plugins/cupertino_http/darwin"
device_info_plus:
:path: ".symlinks/plugins/device_info_plus/ios"
file_picker:
:path: ".symlinks/plugins/file_picker/ios"
Flutter:
:path: Flutter
os_media_controls:
:path: ".symlinks/plugins/os_media_controls/ios"
package_info_plus:
:path: ".symlinks/plugins/package_info_plus/ios"
sentry_flutter:
:path: ".symlinks/plugins/sentry_flutter/ios"
shared_preferences_foundation:
:path: ".symlinks/plugins/shared_preferences_foundation/darwin"
sqlite3_flutter_libs:
:path: ".symlinks/plugins/sqlite3_flutter_libs/darwin"
universal_gamepad:
:path: ".symlinks/plugins/universal_gamepad/ios"
url_launcher_ios:
:path: ".symlinks/plugins/url_launcher_ios/ios"
wakelock_plus:
:path: ".symlinks/plugins/wakelock_plus/ios"
SPEC CHECKSUMS:
background_downloader: 50e91d979067b82081aba359d7d916b3ba5fadad
connectivity_plus: cb623214f4e1f6ef8fe7403d580fdad517d2f7dd
cupertino_http: 94ac07f5ff090b8effa6c5e2c47871d48ab7c86c
device_info_plus: 21fcca2080fbcd348be798aa36c3e5ed849eefbe
file_picker: 8fc6fe5e42585a217d44d22f79ec046cb8d81140
Flutter: cabc95a1d2626b1b06e7179b784ebcf0c0cde467
os_media_controls: 3b06fe2dc0977dfa94f9c1dd73df7a55022d202f
package_info_plus: af8e2ca6888548050f16fa2f1938db7b5a5df499
Sentry: d587a8fe91ca13503ecd69a1905f3e8a0fcf61be
sentry_flutter: 31101687061fb85211ebab09ce6eb8db4e9ba74f
shared_preferences_foundation: 7036424c3d8ec98dfe75ff1667cb0cd531ec82bb
sqlite3: a51c07cf16e023d6c48abd5e5791a61a47354921
sqlite3_flutter_libs: b3e120efe9a82017e5552a620f696589ed4f62ab
universal_gamepad: 838bbb70d37d8c7c719038aa397214f2c4c4f866
url_launcher_ios: 7a95fa5b60cc718a708b8f2966718e93db0cef1b
wakelock_plus: 5aaa6a7ccaf4749a96a7d8ff0721d68061ad62cf
PODFILE CHECKSUM: 16bb7f67e16d8aaa2bfb97666803fbfb291b6559
+19 -1
View File
@@ -23,6 +23,7 @@
B1D51A6A2F00110000000001 /* MpvPlayerCoreBase.swift in Sources */ = {isa = PBXBuildFile; fileRef = B1D51A6A2F00110000000002 /* MpvPlayerCoreBase.swift */; };
B1D51A6A2F00110000000005 /* MpvPlayerPluginShared.swift in Sources */ = {isa = PBXBuildFile; fileRef = B1D51A6A2F00110000000006 /* MpvPlayerPluginShared.swift */; };
B1D51A6A2F00110000000008 /* ExternalDisplayManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = B1D51A6A2F00110000000007 /* ExternalDisplayManager.swift */; };
78A318202AECB46A00862997 /* FlutterGeneratedPluginSwiftPackage in Frameworks */ = {isa = PBXBuildFile; productRef = 78A3181F2AECB46A00862997 /* FlutterGeneratedPluginSwiftPackage */; };
/* End PBXBuildFile section */
/* Begin PBXContainerItemProxy section */
@@ -78,6 +79,7 @@
BB346A1D0705AB171F80B11B /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; };
DE48FF2E074644167608B23D /* Pods-Runner.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"; sourceTree = "<group>"; };
F3553CDE70191F0FC81A782E /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = "<group>"; };
78E0A7A72DC9AD7400C4905E /* FlutterGeneratedPluginSwiftPackage */ = {isa = PBXFileReference; lastKnownFileType = wrapper; name = FlutterGeneratedPluginSwiftPackage; path = Flutter/ephemeral/Packages/FlutterGeneratedPluginSwiftPackage; sourceTree = "<group>"; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
@@ -93,6 +95,7 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
78A318202AECB46A00862997 /* FlutterGeneratedPluginSwiftPackage in Frameworks */,
6A8A46212EDB320D0057B88C /* MPVKit in Frameworks */,
69E1B4BB161DC9D84D1DFC62 /* Pods_Runner.framework in Frameworks */,
);
@@ -147,6 +150,7 @@
9740EEB11CF90186004384FC /* Flutter */ = {
isa = PBXGroup;
children = (
78E0A7A72DC9AD7400C4905E /* FlutterGeneratedPluginSwiftPackage */,
3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */,
9740EEB21CF90195004384FC /* Debug.xcconfig */,
7AFA3C8E1D35360C0083082E /* Release.xcconfig */,
@@ -215,6 +219,9 @@
productType = "com.apple.product-type.bundle.unit-test";
};
97C146ED1CF9000F007C117D /* Runner */ = {
packageProductDependencies = (
78A3181F2AECB46A00862997 /* FlutterGeneratedPluginSwiftPackage */,
);
isa = PBXNativeTarget;
buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */;
buildPhases = (
@@ -266,6 +273,7 @@
);
mainGroup = 97C146E51CF9000F007C117D;
packageReferences = (
781AD8BC2B33823900A9FFBB /* XCLocalSwiftPackageReference "Flutter/ephemeral/Packages/FlutterGeneratedPluginSwiftPackage" */,
6A8A461F2EDB320D0057B88C /* XCRemoteSwiftPackageReference "MPVKit" */,
);
productRefGroup = 97C146EF1CF9000F007C117D /* Products */;
@@ -781,7 +789,7 @@
repositoryURL = "https://github.com/edde746/MPVKit";
requirement = {
kind = revision;
revision = 86dcf97f04e572abb5641e74780251a1d5634ff3;
revision = 42dcc3123000361d0be54fbaec981043b77e1e05;
};
};
/* End XCRemoteSwiftPackageReference section */
@@ -792,7 +800,17 @@
package = 6A8A461F2EDB320D0057B88C /* XCRemoteSwiftPackageReference "MPVKit" */;
productName = MPVKit;
};
78A3181F2AECB46A00862997 /* FlutterGeneratedPluginSwiftPackage */ = {
isa = XCSwiftPackageProductDependency;
productName = FlutterGeneratedPluginSwiftPackage;
};
/* End XCSwiftPackageProductDependency section */
/* Begin XCLocalSwiftPackageReference section */
781AD8BC2B33823900A9FFBB /* XCLocalSwiftPackageReference "Flutter/ephemeral/Packages/FlutterGeneratedPluginSwiftPackage" */ = {
isa = XCLocalSwiftPackageReference;
relativePath = Flutter/ephemeral/Packages/FlutterGeneratedPluginSwiftPackage;
};
/* End XCLocalSwiftPackageReference section */
};
rootObject = 97C146E61CF9000F007C117D /* Project object */;
}
@@ -1,14 +1,84 @@
{
"originHash" : "c535d3cdb62bd4e11e67f3c9e68290fa7ee9306634c5f56d2b0396eb75ed41ee",
"pins" : [
{
"identity" : "csqlite",
"kind" : "remoteSourceControl",
"location" : "https://github.com/simolus3/CSQLite.git",
"state" : {
"revision" : "1ee46d19a4f451a7aa64ffc64fc99b4748131e62"
}
},
{
"identity" : "dkcamera",
"kind" : "remoteSourceControl",
"location" : "https://github.com/zhangao0086/DKCamera",
"state" : {
"branch" : "master",
"revision" : "5c691d11014b910aff69f960475d70e65d9dcc96"
}
},
{
"identity" : "dkimagepickercontroller",
"kind" : "remoteSourceControl",
"location" : "https://github.com/zhangao0086/DKImagePickerController",
"state" : {
"branch" : "4.3.9",
"revision" : "0bdfeacefa308545adde07bef86e349186335915"
}
},
{
"identity" : "dkphotogallery",
"kind" : "remoteSourceControl",
"location" : "https://github.com/zhangao0086/DKPhotoGallery",
"state" : {
"branch" : "master",
"revision" : "311c1bc7a94f1538f82773a79c84374b12a2ef3d"
}
},
{
"identity" : "mpvkit",
"kind" : "remoteSourceControl",
"location" : "https://github.com/edde746/MPVKit",
"state" : {
"revision" : "86dcf97f04e572abb5641e74780251a1d5634ff3"
"revision" : "42dcc3123000361d0be54fbaec981043b77e1e05"
}
},
{
"identity" : "sdwebimage",
"kind" : "remoteSourceControl",
"location" : "https://github.com/SDWebImage/SDWebImage",
"state" : {
"revision" : "2de3a496eaf6df9a1312862adcfd54acd73c39c0",
"version" : "5.21.7"
}
},
{
"identity" : "sentry-cocoa",
"kind" : "remoteSourceControl",
"location" : "https://github.com/getsentry/sentry-cocoa",
"state" : {
"revision" : "16cd512711375fa73f25ae5e373f596bdf4251ae",
"version" : "8.58.0"
}
},
{
"identity" : "swiftygif",
"kind" : "remoteSourceControl",
"location" : "https://github.com/kirualex/SwiftyGif.git",
"state" : {
"revision" : "4430cbc148baa3907651d40562d96325426f409a",
"version" : "5.4.5"
}
},
{
"identity" : "tocropviewcontroller",
"kind" : "remoteSourceControl",
"location" : "https://github.com/TimOliver/TOCropViewController",
"state" : {
"revision" : "d4a6d8100f4b886fdbc8ae399bf144ff3e9afb7e",
"version" : "2.8.0"
}
}
],
"version" : 3
"version" : 2
}
@@ -5,6 +5,24 @@
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<PreActions>
<ExecutionAction
ActionType = "Xcode.IDEStandardExecutionActionsCore.ExecutionActionType.ShellScriptAction">
<ActionContent
title = "Run Prepare Flutter Framework Script"
scriptText = "/bin/sh &quot;$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh&quot; prepare&#10;">
<EnvironmentBuildable>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "97C146ED1CF9000F007C117D"
BuildableName = "Runner.app"
BlueprintName = "Runner"
ReferencedContainer = "container:Runner.xcodeproj">
</BuildableReference>
</EnvironmentBuildable>
</ActionContent>
</ExecutionAction>
</PreActions>
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
@@ -1,14 +1,84 @@
{
"originHash" : "c535d3cdb62bd4e11e67f3c9e68290fa7ee9306634c5f56d2b0396eb75ed41ee",
"pins" : [
{
"identity" : "csqlite",
"kind" : "remoteSourceControl",
"location" : "https://github.com/simolus3/CSQLite.git",
"state" : {
"revision" : "1ee46d19a4f451a7aa64ffc64fc99b4748131e62"
}
},
{
"identity" : "dkcamera",
"kind" : "remoteSourceControl",
"location" : "https://github.com/zhangao0086/DKCamera",
"state" : {
"branch" : "master",
"revision" : "5c691d11014b910aff69f960475d70e65d9dcc96"
}
},
{
"identity" : "dkimagepickercontroller",
"kind" : "remoteSourceControl",
"location" : "https://github.com/zhangao0086/DKImagePickerController",
"state" : {
"branch" : "4.3.9",
"revision" : "0bdfeacefa308545adde07bef86e349186335915"
}
},
{
"identity" : "dkphotogallery",
"kind" : "remoteSourceControl",
"location" : "https://github.com/zhangao0086/DKPhotoGallery",
"state" : {
"branch" : "master",
"revision" : "311c1bc7a94f1538f82773a79c84374b12a2ef3d"
}
},
{
"identity" : "mpvkit",
"kind" : "remoteSourceControl",
"location" : "https://github.com/edde746/MPVKit",
"state" : {
"revision" : "86dcf97f04e572abb5641e74780251a1d5634ff3"
"revision" : "42dcc3123000361d0be54fbaec981043b77e1e05"
}
},
{
"identity" : "sdwebimage",
"kind" : "remoteSourceControl",
"location" : "https://github.com/SDWebImage/SDWebImage",
"state" : {
"revision" : "2de3a496eaf6df9a1312862adcfd54acd73c39c0",
"version" : "5.21.7"
}
},
{
"identity" : "sentry-cocoa",
"kind" : "remoteSourceControl",
"location" : "https://github.com/getsentry/sentry-cocoa",
"state" : {
"revision" : "16cd512711375fa73f25ae5e373f596bdf4251ae",
"version" : "8.58.0"
}
},
{
"identity" : "swiftygif",
"kind" : "remoteSourceControl",
"location" : "https://github.com/kirualex/SwiftyGif.git",
"state" : {
"revision" : "4430cbc148baa3907651d40562d96325426f409a",
"version" : "5.4.5"
}
},
{
"identity" : "tocropviewcontroller",
"kind" : "remoteSourceControl",
"location" : "https://github.com/TimOliver/TOCropViewController",
"state" : {
"revision" : "d4a6d8100f4b886fdbc8ae399bf144ff3e9afb7e",
"version" : "2.8.0"
}
}
],
"version" : 3
"version" : 2
}
+6
View File
@@ -24,6 +24,8 @@
<string>????</string>
<key>CFBundleVersion</key>
<string>$(FLUTTER_BUILD_NUMBER)</string>
<key>ITSAppUsesNonExemptEncryption</key>
<false/>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>LSSupportsOpeningDocumentsInPlace</key>
@@ -35,6 +37,10 @@
</dict>
<key>NSLocalNetworkUsageDescription</key>
<string>This app needs to connect to your media servers on your local network.</string>
<key>NSLocationWhenInUseUsageDescription</key>
<string>Plezy uses location access when iOS requires it to detect your local network and connect to your media servers.</string>
<key>NSPhotoLibraryUsageDescription</key>
<string>Plezy needs photo library access so you can choose images to upload as media artwork.</string>
<key>NSCameraUsageDescription</key>
<string>Camera is used to scan QR codes for Companion Remote pairing.</string>
<key>UIApplicationSupportsIndirectInputEvents</key>
+13 -26
View File
@@ -13,7 +13,7 @@ import UIKit
func pipDidStop(restored: Bool)
func pipDidFailToStart(error: Error?)
func pipSetPlaying(_ playing: Bool)
func pipSkip(byInterval seconds: Double)
func pipSkip(byInterval seconds: Double, completion: @escaping () -> Void)
var isPipPlaying: Bool { get }
var pipDuration: Double { get }
}
@@ -48,7 +48,7 @@ import UIKit
/// Forward play/pause commands from PiP overlay to mpv
func pipSetPlaying(_ playing: Bool)
/// Forward skip forward/backward commands from PiP overlay to mpv
func pipSkip(byInterval seconds: Double)
func pipSkip(byInterval seconds: Double, completion: @escaping () -> Void)
/// Query whether mpv is currently playing
var isPipPlaying: Bool { get }
/// Get total duration in seconds
@@ -99,9 +99,7 @@ import UIKit
self.delegateHelper = helper
pipController = AVPictureInPictureController(contentSource: contentSource)
pipController?.delegate = helper
if #available(iOS 14.2, *) {
pipController?.canStartPictureInPictureAutomaticallyFromInline = false
}
pipController?.canStartPictureInPictureAutomaticallyFromInline = false
}
/// Enable/disable system auto-PiP (starts PiP automatically on background transition)
@@ -110,30 +108,15 @@ import UIKit
pipController?.canStartPictureInPictureAutomaticallyFromInline = enabled
}
/// Sync the layer's controlTimebase with the actual playback position.
/// This makes the PiP progress bar show the correct time.
/// MPVKit owns the sample-buffer layer timebase. PiP only reads it.
func syncTimebase(currentTime: Double, isPlaying: Bool) {
guard let timebase = sampleBufferLayer?.controlTimebase else { return }
let cmTime = CMTime(seconds: currentTime, preferredTimescale: 1000)
CMTimebaseSetTime(timebase, time: cmTime)
CMTimebaseSetRate(timebase, rate: isPlaying ? 1.0 : 0.0)
}
/// Ensure the layer has a timebase so the PiP progress UI can follow mpv.
/// Ensure the layer has MPVKit's renderer-owned timebase before PiP starts.
func warmLayer(currentTime: Double, isPlaying: Bool) {
guard let sampleBufferLayer else { return }
if sampleBufferLayer.controlTimebase == nil {
var timebase: CMTimebase?
CMTimebaseCreateWithSourceClock(
allocator: kCFAllocatorDefault,
sourceClock: CMClockGetHostTimeClock(),
timebaseOut: &timebase
)
if let tb = timebase {
sampleBufferLayer.controlTimebase = tb
}
if sampleBufferLayer?.controlTimebase == nil {
print("[MpvPipController] Waiting for MPVKit renderer timebase before PiP")
}
syncTimebase(currentTime: currentTime, isPlaying: isPlaying)
}
// MARK: - Public API
@@ -188,6 +171,7 @@ import UIKit
/// Invalidate the playback state so PiP updates its UI (play/pause button)
func invalidatePlaybackState() {
guard #available(iOS 15.0, *) else { return }
pipController?.invalidatePlaybackState()
}
@@ -310,8 +294,11 @@ import UIKit
) {
let seconds = CMTimeGetSeconds(skipInterval)
print("[MpvPipController] PiP skip by \(seconds)s")
controller?.delegate?.pipSkip(byInterval: seconds)
completionHandler()
guard let delegate = controller?.delegate else {
completionHandler()
return
}
delegate.pipSkip(byInterval: seconds, completion: completionHandler)
}
}
+392 -25
View File
@@ -1,4 +1,7 @@
import AVFoundation
#if os(tvOS)
import AVKit
#endif
import QuartzCore
import UIKit
@@ -9,6 +12,8 @@ class MpvPlayerCore: MpvPlayerCoreBase {
private weak var window: UIWindow?
private var mainBlankView: UIView?
private var isVisible = false
private var isDisposed = false
private var activeDisplayCriteriaKey: String?
var isPipStarting = false
@@ -88,6 +93,10 @@ class MpvPlayerCore: MpvPlayerCoreBase {
let scale = screen.nativeScale > 0 ? screen.nativeScale : screen.scale
videoLayer.contentsScale = scale
}
#if os(iOS)
updateEDRMode(sigPeak: lastSigPeak)
#endif
}
func externalDisplayDidChange() {
@@ -95,7 +104,7 @@ class MpvPlayerCore: MpvPlayerCoreBase {
}
private func refreshExternalDisplayAttachment() {
guard let containerView else { return }
guard containerView != nil else { return }
let externalSuperview = externalVideoSuperview
@@ -183,28 +192,350 @@ class MpvPlayerCore: MpvPlayerCoreBase {
command(["seek", "0", "relative+exact"])
}
override func updateEDRMode(sigPeak: Double) {
private func restoreVideoPresentation() {
guard !isPipActive else { return }
refreshExternalDisplayAttachment()
recoverDisplayLayerIfNeeded()
updateEDRMode(sigPeak: lastSigPeak)
if isPaused { forceDraw() }
}
private func recoverDisplayLayerIfNeeded() {
guard let videoLayer else { return }
let hdrEnabled = self.hdrEnabled
var edrHeadroom: CGFloat = 1.0
var requiresFlush = false
if #available(iOS 14.0, tvOS 14.0, *) {
requiresFlush = videoLayer.requiresFlushToResumeDecoding
}
let status = videoLayer.status
guard requiresFlush || status == .failed else { return }
videoLayer.flush()
}
override func updateEDRMode(sigPeak: Double) {
#if os(iOS)
if #available(iOS 17.0, *) {
edrHeadroom = containerView?.window?.screen.potentialEDRHeadroom ?? 1.0
guard let videoLayer else { return }
let shouldEnableEDR = hdrEnabled && sigPeak > 1.0
if #available(iOS 26.0, *) {
withoutLayerAnimations {
videoLayer.wantsExtendedDynamicRangeContent =
hdrEnabled && sigPeak > 1.0 && edrHeadroom > 1.0
videoLayer.preferredDynamicRange = shouldEnableEDR ? .high : .standard
}
} else if #available(iOS 17.0, *) {
withoutLayerAnimations {
videoLayer.wantsExtendedDynamicRangeContent = shouldEnableEDR
}
}
#endif
let shouldEnableEDR = hdrEnabled && sigPeak > 1.0 && edrHeadroom > 1.0
print(
"[MpvPlayerCore] EDR mode: \(shouldEnableEDR) (hdrEnabled: \(hdrEnabled), sigPeak: \(sigPeak), headroom: \(edrHeadroom))"
)
}
@discardableResult
override func updateDisplayCriteria(
doviProfile: Int64,
doviLevel: Int64,
doviCompatibilityId: Int64?,
fps: Double,
width: Int32,
height: Int32,
sigPeak: Double,
gamma: String?,
primaries: String?,
colorMatrix: String?
) -> Bool {
#if os(tvOS)
guard let window = containerView?.window ?? self.window else { return false }
let displayManager = window.avDisplayManager
if width <= 0 || height <= 0 {
clearDisplayCriteria(displayManager, reason: "no video dimensions")
return false
}
let refreshRate = Float(fps > 0 ? fps : 0)
let sourceHasDolbyVision = doviProfile > 0
guard sourceHasDolbyVision || sigPeak > 0 || gamma != nil || primaries != nil || colorMatrix != nil else {
clearDisplayCriteria(displayManager, reason: "no display metadata")
return false
}
let sourceBaseRange = Self.resolveBaseDisplayDynamicRange(
sigPeak: sigPeak,
gamma: gamma,
primaries: primaries,
colorMatrix: colorMatrix,
doviCompatibilityId: doviCompatibilityId
)
let sourceRange: DisplayDynamicRange = sourceHasDolbyVision ? .dolbyVision : sourceBaseRange
var displayRange: DisplayDynamicRange =
sourceHasDolbyVision
? .dolbyVision
: Self.supportedDisplayDynamicRange(for: sourceBaseRange)
guard displayManager.isDisplayCriteriaMatchingEnabled else {
clearDisplayCriteria(displayManager, reason: "matching disabled")
return false
}
guard #available(tvOS 17.0, *) else {
clearDisplayCriteria(displayManager, reason: "display criteria unavailable")
return false
}
var formatDescription = Self.makeDisplayFormatDescription(
dynamicRange: displayRange,
width: width,
height: height,
doviProfile: doviProfile,
doviLevel: doviLevel,
doviCompatibilityId: doviCompatibilityId)
if formatDescription == nil, sourceHasDolbyVision {
displayRange = sourceBaseRange
formatDescription = Self.makeDisplayFormatDescription(
dynamicRange: displayRange,
width: width,
height: height,
doviProfile: doviProfile,
doviLevel: doviLevel,
doviCompatibilityId: doviCompatibilityId)
}
guard let formatDescription else {
clearDisplayCriteria(displayManager, reason: "format description failed")
return false
}
let criteriaKey =
"\(displayRange.rawValue)|\(refreshRate)|\(width)x\(height)|\(doviProfile)|\(doviLevel)|\(doviCompatibilityId ?? -1)"
if activeDisplayCriteriaKey == criteriaKey { return true }
displayManager.preferredDisplayCriteria = AVDisplayCriteria(
refreshRate: refreshRate,
formatDescription: formatDescription
)
activeDisplayCriteriaKey = criteriaKey
print(
"[MpvPlayerCore] preferredDisplayCriteria set to \(displayRange.rawValue) (source: \(sourceRange.rawValue), fps: \(refreshRate), \(width)x\(height), DV profile: \(doviProfile), level: \(doviLevel), compat: \(doviCompatibilityId ?? -1))"
)
return true
#else
return false
#endif
}
#if os(tvOS)
private enum DisplayDynamicRange: String {
case sdr = "SDR"
case hdr10 = "HDR10"
case hlg = "HLG"
case dolbyVision = "Dolby Vision"
}
private func clearDisplayCriteria(_ displayManager: AVDisplayManager, reason: String) {
if activeDisplayCriteriaKey != nil || displayManager.preferredDisplayCriteria != nil {
displayManager.preferredDisplayCriteria = nil
activeDisplayCriteriaKey = nil
print("[MpvPlayerCore] preferredDisplayCriteria cleared (\(reason))")
}
}
private static func resolveBaseDisplayDynamicRange(
sigPeak: Double,
gamma: String?,
primaries: String?,
colorMatrix: String?,
doviCompatibilityId: Int64?
) -> DisplayDynamicRange {
let normalizedGamma = normalizeColorTag(gamma)
let normalizedPrimaries = normalizeColorTag(primaries)
let normalizedColorMatrix = normalizeColorTag(colorMatrix)
if normalizedGamma.contains("hlg") || normalizedGamma.contains("arib") {
return .hlg
}
if normalizedGamma.contains("pq") || normalizedGamma.contains("smpte2084")
|| normalizedGamma.contains("st2084") || sigPeak > 1.0
|| normalizedPrimaries.contains("bt2020") || normalizedColorMatrix.contains("bt2020")
{
return .hdr10
}
switch doviCompatibilityId {
case 1, 6:
return .hdr10
case 4:
return .hlg
case 2:
return .sdr
default:
break
}
return .sdr
}
private static func normalizeColorTag(_ value: String?) -> String {
value?.lowercased().filter { $0.isLetter || $0.isNumber } ?? ""
}
private static func supportedDisplayDynamicRange(for range: DisplayDynamicRange) -> DisplayDynamicRange {
let availableModes = AVPlayer.availableHDRModes
switch range {
case .dolbyVision:
if availableModes.contains(.dolbyVision) { return .dolbyVision }
if availableModes.contains(.hdr10) { return .hdr10 }
if availableModes.contains(.hlg) { return .hlg }
return .sdr
case .hdr10:
return availableModes.contains(.hdr10) ? .hdr10 : .sdr
case .hlg:
return availableModes.contains(.hlg) ? .hlg : .sdr
case .sdr:
return .sdr
}
}
private static func makeDisplayFormatDescription(
dynamicRange: DisplayDynamicRange,
width: Int32,
height: Int32,
doviProfile: Int64,
doviLevel: Int64,
doviCompatibilityId: Int64?
) -> CMVideoFormatDescription? {
if dynamicRange == .dolbyVision {
// Profile 8.x always carries a compatibility id; profile 5 has none.
// We assume bl_signal_compatibility_id = 1 (HDR10 base) for profile 8
// because mpv does not expose the compat id and that's by far the
// most common case.
let fallbackCompat: Int64 = doviProfile == 8 ? 1 : 0
let compat = UInt8(truncatingIfNeeded: doviCompatibilityId ?? fallbackCompat)
return makeDolbyVisionFormatDescription(
width: width,
height: height,
profile: UInt8(truncatingIfNeeded: doviProfile),
level: UInt8(truncatingIfNeeded: doviLevel),
compatibility: compat
)
}
let extensions: [CFString: Any]
switch dynamicRange {
case .hdr10:
extensions = [
kCMFormatDescriptionExtension_ColorPrimaries:
kCMFormatDescriptionColorPrimaries_ITU_R_2020,
kCMFormatDescriptionExtension_TransferFunction:
kCMFormatDescriptionTransferFunction_SMPTE_ST_2084_PQ,
kCMFormatDescriptionExtension_YCbCrMatrix:
kCMFormatDescriptionYCbCrMatrix_ITU_R_2020,
]
case .hlg:
extensions = [
kCMFormatDescriptionExtension_ColorPrimaries:
kCMFormatDescriptionColorPrimaries_ITU_R_2020,
kCMFormatDescriptionExtension_TransferFunction:
kCMFormatDescriptionTransferFunction_ITU_R_2100_HLG,
kCMFormatDescriptionExtension_YCbCrMatrix:
kCMFormatDescriptionYCbCrMatrix_ITU_R_2020,
]
case .sdr:
extensions = [
kCMFormatDescriptionExtension_ColorPrimaries:
kCMFormatDescriptionColorPrimaries_ITU_R_709_2,
kCMFormatDescriptionExtension_TransferFunction:
kCMFormatDescriptionTransferFunction_ITU_R_709_2,
kCMFormatDescriptionExtension_YCbCrMatrix:
kCMFormatDescriptionYCbCrMatrix_ITU_R_709_2,
]
case .dolbyVision:
return nil
}
var fd: CMVideoFormatDescription?
let status = CMVideoFormatDescriptionCreate(
allocator: kCFAllocatorDefault,
codecType: kCMVideoCodecType_HEVC,
width: width,
height: height,
extensions: extensions as CFDictionary,
formatDescriptionOut: &fd
)
return status == noErr ? fd : nil
}
/// Build a synthetic 'dvh1' `CMVideoFormatDescription` from the Dolby Vision
/// metadata mpv exposes. Used solely as a hint object for
/// `AVDisplayCriteria(refreshRate:formatDescription:)` — it is never
/// enqueued onto the sample-buffer layer.
private static func makeDolbyVisionFormatDescription(
width: Int32,
height: Int32,
profile: UInt8,
level: UInt8,
compatibility: UInt8
) -> CMVideoFormatDescription? {
// 24-byte Dolby Vision configuration record (dvcC ≤ profile 7, dvvC ≥ 8).
// Layout from ETSI TS 103 572 §7.1.1 — same packing as FFmpeg's
// videotoolbox_dovi_extradata_create (in 0002 patch):
// [0] dv_version_major (= 1)
// [1] dv_version_minor (= 0)
// [2..3] big-endian uint16: profile<<9 | level<<3 | rpu<<2 | el<<1 | bl
// [4] compatibility<<4 | md_compression<<2
// [5..23] reserved zero
var dovi = [UInt8](repeating: 0, count: 24)
dovi[0] = 1
dovi[1] = 0
let flags: UInt16 =
(UInt16(profile) & 0x7f) << 9
| (UInt16(level) & 0x3f) << 3
| (1 << 2) // rpu_present_flag
| (1 << 0) // bl_present_flag
dovi[2] = UInt8((flags >> 8) & 0xff)
dovi[3] = UInt8(flags & 0xff)
dovi[4] = (compatibility & 0x0f) << 4
// CoreMedia carries codec-specific boxes under
// kCMFormatDescriptionExtension_SampleDescriptionExtensionAtoms.
let recordKey: CFString = (profile > 7 ? "dvvC" : "dvcC") as CFString
let atoms: [CFString: Any] = [recordKey: Data(dovi) as CFData]
let extensions: [CFString: Any] = [
kCMFormatDescriptionExtension_SampleDescriptionExtensionAtoms: atoms as CFDictionary,
kCMFormatDescriptionExtension_ColorPrimaries:
kCMFormatDescriptionColorPrimaries_ITU_R_2020,
kCMFormatDescriptionExtension_TransferFunction:
kCMFormatDescriptionTransferFunction_SMPTE_ST_2084_PQ,
kCMFormatDescriptionExtension_YCbCrMatrix:
kCMFormatDescriptionYCbCrMatrix_ITU_R_2020,
]
var fd: CMVideoFormatDescription?
let status = CMVideoFormatDescriptionCreate(
allocator: kCFAllocatorDefault,
codecType: kCMVideoCodecType_DolbyVisionHEVC, // 'dvh1'
width: width,
height: height,
extensions: extensions as CFDictionary,
formatDescriptionOut: &fd
)
return status == noErr ? fd : nil
}
#endif
func dispose() {
// Guard double-dispose: the plugin calls dispose() then drops the
// strong ref, which fires deinit → dispose() again. The second call
// would re-enter and crash on weak-ref formation during dealloc.
guard !isDisposed else { return }
isDisposed = true
// Reset the HDMI mode hint synchronously while self is still alive
// and on main. An async-to-main dispatch here would be drained after
// dealloc (the plugin sets playerCore = nil right after this call
// returns), leaving the link stuck at the last clip's refresh rate.
updateDisplayCriteria(
doviProfile: 0, doviLevel: 0, doviCompatibilityId: nil,
fps: 0, width: 0, height: 0, sigPeak: 0,
gamma: nil, primaries: nil, colorMatrix: nil)
NotificationCenter.default.removeObserver(self)
#if os(iOS)
ExternalDisplayManager.shared.detach(core: self)
@@ -226,21 +557,44 @@ class MpvPlayerCore: MpvPlayerCoreBase {
}
private func setupNotifications() {
NotificationCenter.default.addObserver(
self,
selector: #selector(enterBackground),
name: UIApplication.didEnterBackgroundNotification,
object: nil
)
NotificationCenter.default.addObserver(
self,
selector: #selector(enterForeground),
name: UIApplication.willEnterForegroundNotification,
object: nil
)
#if os(iOS)
let scene = window?.windowScene
NotificationCenter.default.addObserver(
self,
selector: #selector(enterBackground),
name: UIScene.didEnterBackgroundNotification,
object: scene
)
NotificationCenter.default.addObserver(
self,
selector: #selector(enterForeground),
name: UIScene.willEnterForegroundNotification,
object: scene
)
NotificationCenter.default.addObserver(
self,
selector: #selector(sceneDidActivate),
name: UIScene.didActivateNotification,
object: scene
)
#else
NotificationCenter.default.addObserver(
self,
selector: #selector(enterBackground),
name: UIApplication.didEnterBackgroundNotification,
object: nil
)
NotificationCenter.default.addObserver(
self,
selector: #selector(enterForeground),
name: UIApplication.willEnterForegroundNotification,
object: nil
)
#endif
}
@objc private func enterBackground() {
isBackgrounded = true
if isPipActive || isPipStarting {
print("[MpvPlayerCore] Entering background - PiP active/starting, keeping video")
return
@@ -251,6 +605,7 @@ class MpvPlayerCore: MpvPlayerCoreBase {
}
@objc private func enterForeground() {
isBackgrounded = false
if isPipActive {
print("[MpvPlayerCore] Entering foreground - PiP active, skipping vid restore")
return
@@ -259,4 +614,16 @@ class MpvPlayerCore: MpvPlayerCoreBase {
print("[MpvPlayerCore] Entering foreground - enabling video")
setProperty("vid", value: "auto")
}
#if os(iOS)
@objc private func sceneDidActivate() {
isBackgrounded = false
if isPipActive {
return
}
setProperty("vid", value: "auto")
restoreVideoPresentation()
}
#endif
}
+83 -7
View File
@@ -14,7 +14,7 @@ class MpvPlayerPlugin: NSObject, FlutterPlugin, FlutterStreamHandler, MpvPluginS
// MpvPluginShared conformance
var coreBase: MpvPlayerCoreBase? { playerCore }
func setPlayerVisible(_ visible: Bool) { playerCore?.setVisible(visible) }
func setPlayerVisible(_ visible: Bool, restoreOnWindowVisible _: Bool) { playerCore?.setVisible(visible) }
func updatePlayerFrame() { playerCore?.updateFrame() }
// PiP
@@ -81,6 +81,8 @@ class MpvPlayerPlugin: NSObject, FlutterPlugin, FlutterStreamHandler, MpvPluginS
handleObserveProperty(call: call, result: result)
case "command":
handleCommand(call: call, result: result)
case "setDisplayCriteria":
handleSetDisplayCriteria(call: call, result: result)
case "setVisible":
handleSetVisible(call: call, result: result)
case "isInitialized":
@@ -363,6 +365,76 @@ class MpvPlayerPlugin: NSObject, FlutterPlugin, FlutterStreamHandler, MpvPluginS
}
}
private func handleSetDisplayCriteria(call: FlutterMethodCall, result: @escaping FlutterResult) {
guard let args = call.arguments as? [String: Any] else {
result(FlutterError(code: "INVALID_ARGS", message: "Missing arguments", details: nil))
return
}
guard let core = playerCore else {
result(nil)
return
}
guard let raw = args["criteria"] as? [String: Any] else {
DispatchQueue.main.async {
core.setServerDisplayCriteria(nil)
result(nil)
}
return
}
let criteria = ServerDisplayCriteria(
doviProfile: int64Value(raw["doviProfile"]) ?? 0,
doviLevel: int64Value(raw["doviLevel"]) ?? 0,
doviCompatibilityId: int64Value(raw["doviCompatibilityId"]),
fps: doubleValue(raw["fps"]) ?? 0,
width: Int32(truncatingIfNeeded: int64Value(raw["width"]) ?? 0),
height: Int32(truncatingIfNeeded: int64Value(raw["height"]) ?? 0),
gamma: stringValue(raw["transfer"]),
primaries: stringValue(raw["primaries"]),
colorMatrix: stringValue(raw["matrix"])
)
DispatchQueue.main.async {
core.setServerDisplayCriteria(criteria)
result(nil)
}
}
private func int64Value(_ value: Any?) -> Int64? {
switch value {
case let value as Int64:
return value
case let value as Int:
return Int64(value)
case let value as NSNumber:
return value.int64Value
case let value as String:
return Int64(value)
default:
return nil
}
}
private func doubleValue(_ value: Any?) -> Double? {
switch value {
case let value as Double:
return value
case let value as NSNumber:
return value.doubleValue
case let value as String:
return Double(value)
default:
return nil
}
}
private func stringValue(_ value: Any?) -> String? {
guard let value else { return nil }
let string = String(describing: value).trimmingCharacters(in: .whitespacesAndNewlines)
return string.isEmpty ? nil : string
}
// MARK: - Helpers
private func findKeyWindow() -> UIWindow? {
@@ -432,13 +504,17 @@ extension MpvPlayerPlugin: MpvPipDelegate {
}
}
func pipSkip(byInterval seconds: Double) {
guard let playerCore = playerCore else { return }
func pipSkip(byInterval seconds: Double, completion: @escaping () -> Void) {
guard let playerCore = playerCore else {
completion()
return
}
let newTime = max(0, playerCore.timePos + seconds)
playerCore.command(["seek", String(newTime), "absolute"])
DispatchQueue.main.asyncAfter(deadline: .now() + 0.1) { [weak self] in
self?.syncPipTimebase()
self?.pipController?.invalidatePlaybackState()
playerCore.commandAsync(["seek", String(newTime), "absolute"]) { [weak self] _ in
DispatchQueue.main.asyncAfter(deadline: .now() + 0.1) {
self?.pipController?.invalidatePlaybackState()
completion()
}
}
}
+9 -4
View File
@@ -1,18 +1,23 @@
require 'dotenv/load'
Dotenv.load("../../.env")
require 'shellwords'
PROJECT_ROOT = File.expand_path("../..", __dir__)
PROJECT_ROOT_ARG = Shellwords.escape(PROJECT_ROOT)
Dotenv.load(File.join(PROJECT_ROOT, ".env"))
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
git_commit = `git -C #{PROJECT_ROOT_ARG} rev-parse --short HEAD`.strip
# Build the Flutter app
sh("cd #{ENV['PWD']}/.. && flutter build ipa --dart-define=ENABLE_SENTRY=true --dart-define=GIT_COMMIT=#{git_commit} --dart-define=SENTRY_ENVIRONMENT=app-store --split-debug-info=debug-info/ios")
sh("cd #{PROJECT_ROOT_ARG} && flutter build ipa --dart-define=ENABLE_SENTRY=true --dart-define=GIT_COMMIT=#{git_commit} --dart-define=SENTRY_ENVIRONMENT=app-store --dart-define=SENTRY_DIST=app-store --split-debug-info=debug-info/ios")
# Upload debug symbols
sh("cd #{ENV['PWD']}/.. && ./scripts/upload-symbols.sh ios")
sh("cd #{PROJECT_ROOT_ARG} && SENTRY_DIST=app-store ./scripts/upload-symbols.sh ios")
# Upload to App Store
upload_to_app_store(
+54 -5
View File
@@ -570,11 +570,7 @@ LazyDatabase _openConnection() {
// Migrate from old location on desktop (was in Documents subfolder)
if (!Platform.isAndroid && !Platform.isIOS && !await file.exists()) {
final oldFolder = await getApplicationDocumentsDirectory();
final oldFile = File(p.join(oldFolder.path, 'plezy_downloads.db'));
if (await oldFile.exists()) {
await oldFile.rename(file.path);
}
await migrateLegacyDesktopDatabase(target: file);
}
return NativeDatabase.createInBackground(
@@ -589,3 +585,56 @@ LazyDatabase _openConnection() {
);
});
}
/// Move the legacy desktop DB from `Documents/` to `ApplicationSupport/`.
/// `File.rename` only works within a single volume — Windows users with
/// OneDrive-redirected Documents (or any cross-drive setup) hit
/// `ERROR_NOT_SAME_DEVICE` (errno 17), and the uncaught throw used to
/// strand the splash on "Loading servers..." forever (#1022). Falls back
/// to copy + delete on any [FileSystemException] and swallows all errors
/// so a failed migration never propagates fatally.
///
/// [sourceOverride] and [renameOverride] are test seams — production
/// callers leave them null.
Future<void> migrateLegacyDesktopDatabase({
required File target,
File? sourceOverride,
Future<void> Function(File source, String targetPath)? renameOverride,
}) async {
final File oldFile;
if (sourceOverride != null) {
oldFile = sourceOverride;
} else {
final oldFolder = await getApplicationDocumentsDirectory();
oldFile = File(p.join(oldFolder.path, 'plezy_downloads.db'));
}
if (!await oldFile.exists()) return;
try {
if (renameOverride != null) {
await renameOverride(oldFile, target.path);
} else {
await oldFile.rename(target.path);
}
appLogger.i('Moved legacy DB from ${oldFile.path} → ${target.path}');
return;
} on FileSystemException catch (e) {
appLogger.w('Legacy DB rename failed (osError=${e.osError?.errorCode}); falling back to copy', error: e);
}
try {
await oldFile.copy(target.path);
try {
await oldFile.delete();
} catch (e) {
// Leaving the source behind is non-fatal — the new file is canonical.
appLogger.w('Legacy DB copied but old file delete failed: $e');
}
appLogger.i('Copied legacy DB from ${oldFile.path} → ${target.path}');
} catch (e, st) {
// Copy itself failed (disk full, source locked by OneDrive sync,
// permissions). Leave both files alone — drift will create a fresh
// empty DB at the new location, and a future relaunch can retry.
appLogger.e('Legacy DB migration failed entirely', error: e, stackTrace: st);
}
}
+8 -1
View File
@@ -93,5 +93,12 @@ class MediaServerHttpException extends MediaServerException {
type == MediaServerHttpErrorType.receiveTimeout;
@override
String toString() => 'MediaServerHttpException(${type.name}: $message)';
String toString() {
final parts = <String>[type.name];
if (statusCode != null) parts.add('HTTP $statusCode');
if (message.isNotEmpty) parts.add(message);
final uri = requestUri;
if (uri != null) parts.add('${uri.host}${uri.path}');
return 'MediaServerHttpException(${parts.join(': ')})';
}
}
+11 -8
View File
@@ -5,19 +5,22 @@ import 'package:flutter/services.dart';
extension KeyEventActionable on KeyEvent {
bool get isActionable => this is KeyDownEvent || this is KeyRepeatEvent;
bool get isPhysicalKeyboardEvent => deviceType == ui.KeyEventDeviceType.keyboard;
// Only true keyboard submit keys belong here. LogicalKeyboardKey.select is
// a TV-remote / dpad-center key (Android DPAD_CENTER, tvOS UIPressTypeSelect)
// — USB keyboards never emit it. The custom Flutter tvOS engine reports its
// synthesized Siri Remote presses with deviceType=keyboard, so classifying
// select-with-keyboard-deviceType as a "keyboard enter" would route center
// dpad through TextField submit and skip the TV virtual keyboard.
bool get isPhysicalKeyboardEnter =>
deviceType == ui.KeyEventDeviceType.keyboard &&
(logicalKey == LogicalKeyboardKey.enter ||
logicalKey == LogicalKeyboardKey.numpadEnter ||
logicalKey == LogicalKeyboardKey.select);
(logicalKey == LogicalKeyboardKey.enter || logicalKey == LogicalKeyboardKey.numpadEnter);
bool get isTvSelectEvent {
if (isPhysicalKeyboardEvent) return false;
// Dpad-center / gamepad-A are TV-remote-only — always treat as TV select,
// regardless of the deviceType claim from the engine.
if (logicalKey == LogicalKeyboardKey.select || logicalKey == LogicalKeyboardKey.gameButtonA) return true;
if (logicalKey == LogicalKeyboardKey.enter || logicalKey == LogicalKeyboardKey.numpadEnter) {
return deviceType != ui.KeyEventDeviceType.keyboard;
}
return false;
if (isPhysicalKeyboardEvent) return false;
return logicalKey == LogicalKeyboardKey.enter || logicalKey == LogicalKeyboardKey.numpadEnter;
}
}
+1 -3
View File
@@ -9,9 +9,7 @@ class FocusMemoryTracker {
final String _debugLabelPrefix;
String? _lastFocusedKey;
FocusMemoryTracker({VoidCallback? onFocusChanged, String debugLabelPrefix = 'focus'})
: _onFocusChanged = onFocusChanged,
_debugLabelPrefix = debugLabelPrefix;
FocusMemoryTracker({this._onFocusChanged, this._debugLabelPrefix = 'focus'});
/// Get or create a focus node for the given key
FocusNode get(String key, {String? debugLabel}) {
+16 -12
View File
@@ -1,6 +1,7 @@
import 'package:flutter/material.dart';
import '../widgets/app_icon.dart';
import '../widgets/clickable_cursor.dart';
import 'focus_theme.dart';
import 'input_mode_tracker.dart';
import 'key_event_utils.dart';
@@ -141,18 +142,21 @@ class FocusableActionBarState extends State<FocusableActionBar> {
onUp: widget.onNavigateUp,
)(node, event);
},
child: AnimatedOpacity(
opacity: showFocus ? 1.0 : opacity,
duration: duration,
child: Container(
decoration: FocusTheme.focusBackgroundDecoration(isFocused: showFocus, borderRadius: 20),
child:
action.child ??
IconButton(
icon: AppIcon(action.icon, fill: action.iconFill, color: action.iconColor),
tooltip: action.tooltip,
onPressed: action.onPressed,
),
child: ClickableCursor(
enabled: action.onPressed != null || action.child != null,
child: AnimatedOpacity(
opacity: showFocus ? 1.0 : opacity,
duration: duration,
child: Container(
decoration: FocusTheme.focusBackgroundDecoration(isFocused: showFocus, borderRadius: 20),
child:
action.child ??
IconButton(
icon: AppIcon(action.icon, fill: action.iconFill, color: action.iconColor),
tooltip: action.tooltip,
onPressed: action.onPressed,
),
),
),
),
);
+252 -26
View File
@@ -1,7 +1,11 @@
import 'dart:async';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import '../services/gamepad_service.dart';
import '../utils/platform_detector.dart';
import '../utils/text_input_diagnostics.dart';
import '../widgets/tv_virtual_keyboard.dart';
import 'dpad_navigator.dart';
@@ -9,6 +13,65 @@ bool _usesTvKeyboard(bool enableTvKeyboard) => enableTvKeyboard && PlatformDetec
String? _keyboardHint(InputDecoration? decoration) => decoration?.hintText ?? decoration?.labelText;
String _describeTextInputKey(KeyEvent event) {
return 'type=${event.runtimeType} logical=${event.logicalKey.keyLabel}/${event.logicalKey.keyId} '
'physical=${event.physicalKey.usbHidUsage} deviceType=${event.deviceType} character=${event.character}';
}
void _logTvTextInput(String message) {
TextInputDiagnostics.log('FlutterTextField', message);
}
class _NativeTvTextInputFocusBridge {
static const _channel = MethodChannel('com.plezy/text_input');
static final Set<Object> _focusedTokens = <Object>{};
static bool _lastSentFocused = false;
static void setFocused(Object token, bool focused) {
_logTvTextInput(
'NativeFocusBridge.setFocused requested focused=$focused token=$token activeTokens=${_focusedTokens.length}',
);
if (focused) {
_focusedTokens.add(token);
} else {
_focusedTokens.remove(token);
}
if (!PlatformDetector.isTV() || PlatformDetector.isAppleTV()) {
_logTvTextInput(
'NativeFocusBridge clearing without platform send isTv=${PlatformDetector.isTV()} '
'isAppleTV=${PlatformDetector.isAppleTV()}',
);
_focusedTokens.clear();
_lastSentFocused = false;
return;
}
final anyFocused = _focusedTokens.isNotEmpty;
if (_lastSentFocused == anyFocused) {
_logTvTextInput('NativeFocusBridge no-op anyFocused=$anyFocused tokenCount=${_focusedTokens.length}');
return;
}
_lastSentFocused = anyFocused;
_logTvTextInput('NativeFocusBridge sending anyFocused=$anyFocused tokenCount=${_focusedTokens.length}');
unawaited(GamepadService.setNativeTextInputFocused(anyFocused));
unawaited(_sendFocused(anyFocused));
}
static Future<void> _sendFocused(bool focused) async {
try {
await _channel.invokeMethod<void>('setNativeTextInputFocused', focused);
_logTvTextInput('NativeFocusBridge platform send complete focused=$focused');
} on MissingPluginException {
_logTvTextInput('NativeFocusBridge platform send missing plugin focused=$focused');
// Tests and non-Android embedders do not register this channel.
} on PlatformException {
_logTvTextInput('NativeFocusBridge platform send failed focused=$focused');
// Focus reporting is a best-effort native routing hint.
}
}
}
KeyEventResult _handleInputKey({
required TextEditingController controller,
required bool usesTvKeyboard,
@@ -31,10 +94,28 @@ KeyEventResult _handleInputKey({
VoidCallback? onNavigateDown,
}) {
final key = event.logicalKey;
KeyEventResult finish(KeyEventResult result, String reason) {
_logTvTextInput(
'result=$result reason=$reason key=(${_describeTextInputKey(event)}) '
'usesTvKeyboard=$usesTvKeyboard enabled=$enabled textLength=${controller.text.length} '
'selection=${controller.selection} onNav(up=${onNavigateUp != null},down=${onNavigateDown != null},'
'left=${onNavigateLeft != null},right=${onNavigateRight != null}) onSelect=${onSelect != null} onBack=${onBack != null}',
);
return result;
}
_logTvTextInput(
'received key=(${_describeTextInputKey(event)}) usesTvKeyboard=$usesTvKeyboard enabled=$enabled '
'textLength=${controller.text.length} selection=${controller.selection}',
);
if (_shouldPassNativeTvKeyToPlatform(usesTvKeyboard: usesTvKeyboard, enabled: enabled, event: event)) {
return finish(KeyEventResult.skipRemainingHandlers, 'pass-native-tv-key-to-platform');
}
if (usesTvKeyboard && enabled && event.isTvSelectEvent) {
if (event is KeyDownEvent) openKeyboard();
return KeyEventResult.handled;
return finish(KeyEventResult.handled, 'open-custom-tv-keyboard');
}
if (usesTvKeyboard && enabled && event.isPhysicalKeyboardEvent) {
@@ -50,12 +131,12 @@ KeyEventResult _handleInputKey({
maxLines: maxLines,
event: event,
);
if (result != KeyEventResult.ignored) return result;
if (result != KeyEventResult.ignored) return finish(result, 'custom-tv-hardware-keyboard');
}
if (onBack != null && key.isBackKey) {
if (event is KeyDownEvent) onBack();
return KeyEventResult.handled;
return finish(KeyEventResult.handled, 'onBack');
}
// Enter/numpad enter are left to TextField.onSubmitted. Handle only
@@ -64,33 +145,55 @@ KeyEventResult _handleInputKey({
onSelect != null &&
(key == LogicalKeyboardKey.select || key == LogicalKeyboardKey.gameButtonA)) {
if (event is KeyDownEvent) onSelect();
return KeyEventResult.handled;
return finish(KeyEventResult.handled, 'native-tv-non-text-select');
}
if (!event.isActionable) return KeyEventResult.ignored;
if (!event.isActionable) return finish(KeyEventResult.ignored, 'non-actionable');
if (key.isUpKey && onNavigateUp != null) {
onNavigateUp();
return KeyEventResult.handled;
return finish(KeyEventResult.handled, 'onNavigateUp');
}
if (key.isDownKey && onNavigateDown != null) {
onNavigateDown();
return KeyEventResult.handled;
return finish(KeyEventResult.handled, 'onNavigateDown');
}
final sel = controller.selection;
if (sel.isCollapsed) {
if (key.isLeftKey && sel.baseOffset == 0 && onNavigateLeft != null) {
onNavigateLeft();
return KeyEventResult.handled;
return finish(KeyEventResult.handled, 'onNavigateLeft-at-start');
}
if (key.isRightKey && sel.baseOffset == controller.text.length && onNavigateRight != null) {
onNavigateRight();
return KeyEventResult.handled;
return finish(KeyEventResult.handled, 'onNavigateRight-at-end');
}
}
return KeyEventResult.ignored;
return finish(KeyEventResult.ignored, 'fall-through');
}
bool _shouldPassNativeTvKeyToPlatform({required bool usesTvKeyboard, required bool enabled, required KeyEvent event}) {
if (!enabled || usesTvKeyboard || !PlatformDetector.isTV()) {
_logTvTextInput(
'native-pass=false reason=disabled-or-custom-keyboard enabled=$enabled usesTvKeyboard=$usesTvKeyboard '
'isTv=${PlatformDetector.isTV()} key=(${_describeTextInputKey(event)})',
);
return false;
}
// Android TV provides its own IME. Remote keys must reach the platform so
// users can move around that keyboard instead of escaping the app field.
// Some remotes (Chromecast) are reported by Flutter as keyboard events, so
// native TV navigation cannot rely on deviceType.
final key = event.logicalKey;
final shouldPass = key.isDpadDirection || key.isBackKey || event.isTvSelectEvent;
_logTvTextInput(
'native-pass=$shouldPass reason=${shouldPass ? "remote-navigation-key" : "not-navigation-key"} '
'key=(${_describeTextInputKey(event)})',
);
return shouldPass;
}
KeyEventResult _handleTvHardwareKeyboardKey({
@@ -430,6 +533,13 @@ abstract class _FocusableTextInputBase extends StatelessWidget {
});
bool get _hasTvKeyboard => _usesTvKeyboard(enableTvKeyboard);
bool get _usesNativeTvKeyboard => PlatformDetector.isTV() && !_hasTvKeyboard;
VoidCallback? get _effectiveOnEditingComplete {
if (onEditingComplete != null) return onEditingComplete;
if (_usesNativeTvKeyboard && onSubmitted == null) return _handleTvKeyboardAction;
return null;
}
void _showTvKeyboard(BuildContext context) {
if (!enabled) return;
@@ -445,10 +555,22 @@ abstract class _FocusableTextInputBase extends StatelessWidget {
maxLines: maxLines,
onChanged: onChanged,
onSubmitted: onSubmitted,
onAction: onEditingComplete ?? onSelect,
onAction: _handleTvKeyboardAction,
);
}
void _handleTvKeyboardAction() {
if (onEditingComplete != null) {
onEditingComplete!();
} else if (onSelect != null) {
onSelect!();
} else if (onNavigateDown != null) {
onNavigateDown!();
} else {
_defaultEditingComplete(textInputAction);
}
}
KeyEventResult _handleKey(BuildContext context, FocusNode _, KeyEvent event) {
return _handleInputKey(
controller: controller,
@@ -473,16 +595,120 @@ abstract class _FocusableTextInputBase extends StatelessWidget {
);
}
Widget buildFocusableInput(BuildContext context, Widget Function(bool usesTvKeyboard) builder) {
final usesTvKeyboard = _hasTvKeyboard;
return Focus(
// This wrapper only intercepts key events bubbling from the input; the
// real TextField/TextFormField must remain the traversable focus target.
canRequestFocus: false,
skipTraversal: true,
onKeyEvent: (node, event) => _handleKey(context, node, event),
child: builder(usesTvKeyboard),
Widget buildFocusableInput(BuildContext context, Widget Function(bool usesTvKeyboard, FocusNode focusNode) builder) {
return _FocusableTextInputHost(input: this, builder: builder);
}
}
class _FocusableTextInputHost extends StatefulWidget {
final _FocusableTextInputBase input;
final Widget Function(bool usesTvKeyboard, FocusNode focusNode) builder;
const _FocusableTextInputHost({required this.input, required this.builder});
@override
State<_FocusableTextInputHost> createState() => _FocusableTextInputHostState();
}
class _FocusableTextInputHostState extends State<_FocusableTextInputHost> {
FocusNode? _ownedFocusNode;
FocusNode? _installedFocusNode;
FocusOnKeyEventCallback? _previousOnKeyEvent;
late final FocusOnKeyEventCallback _keyHandler = _handleKey;
late final VoidCallback _focusListener = _syncNativeTextInputFocus;
final Object _nativeFocusToken = Object();
bool _reportedNativeTextInputFocused = false;
FocusNode get _effectiveFocusNode =>
widget.input.focusNode ?? (_ownedFocusNode ??= FocusNode(debugLabel: 'FocusableTextInput'));
@override
void didUpdateWidget(_FocusableTextInputHost oldWidget) {
super.didUpdateWidget(oldWidget);
if (oldWidget.input.focusNode != widget.input.focusNode) {
_restoreInstalledHandler();
}
_syncNativeTextInputFocus();
}
@override
void dispose() {
_restoreInstalledHandler();
_ownedFocusNode?.dispose();
super.dispose();
}
void _syncNativeTextInputFocus() {
final focused = _installedFocusNode?.hasFocus == true && widget.input.enabled && widget.input._usesNativeTvKeyboard;
_logTvTextInput(
'Host.syncNativeTextInputFocus focused=$focused installed=${_installedFocusNode?.debugLabel} '
'hasFocus=${_installedFocusNode?.hasFocus} enabled=${widget.input.enabled} '
'usesNativeTvKeyboard=${widget.input._usesNativeTvKeyboard}',
);
_setNativeTextInputFocused(focused);
}
void _setNativeTextInputFocused(bool focused) {
if (_reportedNativeTextInputFocused == focused) {
_logTvTextInput('Host.setNativeTextInputFocused no-op focused=$focused');
return;
}
_logTvTextInput('Host.setNativeTextInputFocused old=$_reportedNativeTextInputFocused new=$focused');
_reportedNativeTextInputFocused = focused;
_NativeTvTextInputFocusBridge.setFocused(_nativeFocusToken, focused);
}
KeyEventResult _handleKey(FocusNode node, KeyEvent event) {
final previous = _previousOnKeyEvent;
if (previous != null && !identical(previous, _keyHandler)) {
final result = previous(node, event);
_logTvTextInput(
'Host.previousOnKeyEvent node=${node.debugLabel} result=$result key=(${_describeTextInputKey(event)})',
);
if (result != KeyEventResult.ignored) return result;
}
return widget.input._handleKey(context, node, event);
}
void _installKeyHandler(FocusNode node) {
// Handle D-pad escapes on the field's own node so EditableText shortcuts
// can't consume directions before our reusable navigation callbacks run.
if (_installedFocusNode == node) {
if (identical(node.onKeyEvent, _keyHandler)) return;
_previousOnKeyEvent = node.onKeyEvent;
node.onKeyEvent = _keyHandler;
_logTvTextInput('Host.reinstalled key handler node=${node.debugLabel} previous=${_previousOnKeyEvent != null}');
return;
}
_restoreInstalledHandler();
_installedFocusNode = node;
_previousOnKeyEvent = node.onKeyEvent;
node.onKeyEvent = _keyHandler;
node.addListener(_focusListener);
_logTvTextInput('Host.installed key handler node=${node.debugLabel} previous=${_previousOnKeyEvent != null}');
}
void _restoreInstalledHandler() {
_logTvTextInput('Host.restoreInstalledHandler node=${_installedFocusNode?.debugLabel}');
_setNativeTextInputFocused(false);
final node = _installedFocusNode;
if (node != null) {
node.removeListener(_focusListener);
if (identical(node.onKeyEvent, _keyHandler)) {
node.onKeyEvent = _previousOnKeyEvent;
}
}
_installedFocusNode = null;
_previousOnKeyEvent = null;
}
@override
Widget build(BuildContext context) {
final focusNode = _effectiveFocusNode;
_installKeyHandler(focusNode);
_syncNativeTextInputFocus();
return widget.builder(widget.input._hasTvKeyboard, focusNode);
}
}
@@ -530,9 +756,9 @@ class FocusableTextField extends _FocusableTextInputBase {
Widget build(BuildContext context) {
return buildFocusableInput(
context,
(usesTvKeyboard) => TextField(
(usesTvKeyboard, effectiveFocusNode) => TextField(
controller: controller,
focusNode: focusNode,
focusNode: effectiveFocusNode,
enabled: enabled,
decoration: decoration,
keyboardType: usesTvKeyboard ? TextInputType.none : keyboardType,
@@ -540,7 +766,7 @@ class FocusableTextField extends _FocusableTextInputBase {
inputFormatters: inputFormatters,
onChanged: onChanged,
onSubmitted: onSubmitted,
onEditingComplete: onEditingComplete,
onEditingComplete: _effectiveOnEditingComplete,
autofocus: autofocus,
autocorrect: autocorrect,
enableSuggestions: enableSuggestions,
@@ -605,9 +831,9 @@ class FocusableTextFormField extends _FocusableTextInputBase {
Widget build(BuildContext context) {
return buildFocusableInput(
context,
(usesTvKeyboard) => TextFormField(
(usesTvKeyboard, effectiveFocusNode) => TextFormField(
controller: controller,
focusNode: focusNode,
focusNode: effectiveFocusNode,
enabled: enabled,
decoration: decoration,
keyboardType: usesTvKeyboard ? TextInputType.none : keyboardType,
@@ -615,7 +841,7 @@ class FocusableTextFormField extends _FocusableTextInputBase {
inputFormatters: inputFormatters,
onChanged: onChanged,
onFieldSubmitted: onFieldSubmitted,
onEditingComplete: onEditingComplete,
onEditingComplete: _effectiveOnEditingComplete,
validator: validator,
autovalidateMode: autovalidateMode,
onSaved: onSaved,
+43 -16
View File
@@ -2,11 +2,23 @@ import 'dart:async';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import '../widgets/clickable_cursor.dart';
import '../utils/text_input_diagnostics.dart';
import 'dpad_navigator.dart';
import 'focus_theme.dart';
import 'input_mode_tracker.dart';
import 'key_event_utils.dart';
String _describeFocusableKey(KeyEvent event) {
return 'type=${event.runtimeType} logical=${event.logicalKey.keyLabel}/${event.logicalKey.keyId} '
'physical=${event.physicalKey.usbHidUsage} deviceType=${event.deviceType} character=${event.character}';
}
void _logFocusableWrapper(String message) {
TextInputDiagnostics.log('FocusableWrapper', message);
}
/// A wrapper widget that makes its child focusable with D-pad navigation support.
///
/// Provides:
@@ -70,7 +82,7 @@ class FocusableWrapper extends StatefulWidget {
/// Whether the wrapper can receive focus.
final bool canRequestFocus;
/// Custom key event handler. Return KeyEventResult.handled to consume the event.
/// Custom key event handler. Return any non-ignored result to stop default handling.
/// This is called before the default key handling.
final KeyEventResult Function(FocusNode node, KeyEvent event)? onKeyEvent;
@@ -315,23 +327,34 @@ class _FocusableWrapperState extends State<FocusableWrapper> with SingleTickerPr
KeyEventResult _handleKeyEvent(FocusNode node, KeyEvent event) {
final key = event.logicalKey;
KeyEventResult finish(KeyEventResult result, String reason) {
_logFocusableWrapper(
'node=${node.debugLabel} result=$result reason=$reason key=(${_describeFocusableKey(event)}) '
'onNav(up=${widget.onNavigateUp != null},down=${widget.onNavigateDown != null},'
'left=${widget.onNavigateLeft != null},right=${widget.onNavigateRight != null}) '
'onSelect=${widget.onSelect != null} onBack=${widget.onBack != null}',
);
return result;
}
_logFocusableWrapper('node=${node.debugLabel} received key=(${_describeFocusableKey(event)})');
if (SelectKeyUpSuppressor.consumeIfSuppressed(event)) {
return KeyEventResult.handled;
return finish(KeyEventResult.handled, 'select-key-up-suppressed');
}
// Call custom key handler first
if (widget.onKeyEvent != null) {
final result = widget.onKeyEvent!(node, event);
if (result == KeyEventResult.handled) {
return result;
if (result != KeyEventResult.ignored) {
return finish(result, 'custom-onKeyEvent');
}
}
if (widget.onBack != null) {
final backResult = handleBackKeyAction(event, widget.onBack!);
if (backResult != KeyEventResult.ignored) {
return backResult;
return finish(backResult, 'onBack');
}
}
@@ -351,10 +374,10 @@ class _FocusableWrapperState extends State<FocusableWrapper> with SingleTickerPr
}
});
}
return KeyEventResult.handled;
return finish(KeyEventResult.handled, 'select-long-press-down');
} else if (event is KeyRepeatEvent) {
// Consume repeat events to prevent system sounds
return KeyEventResult.handled;
return finish(KeyEventResult.handled, 'select-long-press-repeat');
} else if (event is KeyUpEvent) {
final timerWasActive = _longPressTimer?.isActive ?? false;
_longPressTimer?.cancel();
@@ -364,52 +387,52 @@ class _FocusableWrapperState extends State<FocusableWrapper> with SingleTickerPr
}
// If timer already fired, long press was triggered - do nothing on key up
_isSelectKeyDown = false;
return KeyEventResult.handled;
return finish(KeyEventResult.handled, 'select-long-press-up');
}
} else if (widget.onSelect != null) {
return handleOneShotSelect(event, widget.onSelect!);
return finish(handleOneShotSelect(event, widget.onSelect!), 'one-shot-select');
}
}
// Ignore key up events for other keys
if (!event.isActionable) {
return KeyEventResult.ignored;
return finish(KeyEventResult.ignored, 'non-actionable');
}
// Context menu key
if (key.isContextMenuKey) {
SelectKeyUpSuppressor.suppressSelectUntilKeyUp();
widget.onLongPress?.call();
return KeyEventResult.handled;
return finish(KeyEventResult.handled, 'context-menu');
}
// UP arrow - if callback provided, navigate up
if (key == LogicalKeyboardKey.arrowUp && widget.onNavigateUp != null) {
widget.onNavigateUp!();
return KeyEventResult.handled;
return finish(KeyEventResult.handled, 'onNavigateUp');
}
// DOWN arrow - if callback provided, navigate down
if (key == LogicalKeyboardKey.arrowDown && widget.onNavigateDown != null) {
widget.onNavigateDown!();
return KeyEventResult.handled;
return finish(KeyEventResult.handled, 'onNavigateDown');
}
// LEFT arrow - if callback provided, navigate left (caller is responsible
// for only providing this callback when the item is at the left edge)
if (key == LogicalKeyboardKey.arrowLeft && widget.onNavigateLeft != null) {
widget.onNavigateLeft!();
return KeyEventResult.handled;
return finish(KeyEventResult.handled, 'onNavigateLeft');
}
// RIGHT arrow - if callback provided, navigate right (caller is responsible
// for only providing this callback when the item is at the right edge)
if (key == LogicalKeyboardKey.arrowRight && widget.onNavigateRight != null) {
widget.onNavigateRight!();
return KeyEventResult.handled;
return finish(KeyEventResult.handled, 'onNavigateRight');
}
return KeyEventResult.ignored;
return finish(KeyEventResult.ignored, 'fall-through');
}
@override
@@ -461,6 +484,10 @@ class _FocusableWrapperState extends State<FocusableWrapper> with SingleTickerPr
result = Semantics(label: widget.semanticLabel, button: widget.onSelect != null, child: result);
}
if (widget.onSelect != null || widget.onLongPress != null) {
result = ClickableCursor(child: result);
}
return result;
}
}
+18 -4
View File
@@ -62,10 +62,18 @@ KeyEventResult handleBackKeyAction(KeyEvent event, VoidCallback onBack) {
return KeyEventResult.handled;
}
if (PlatformDetector.isAppleTV() && event.isPhysicalKeyboardEvent && event is KeyDownEvent) {
BackKeyCoordinator.markHandled();
BackKeyUpSuppressor.suppressBackUntilKeyUp();
onBack();
// AppleTV physical-keyboard back (Siri Remote Menu via engine-synthesized
// escape): run onBack on KeyDown only; consume KeyUp silently. The
// suppressor-based "arm-on-KeyDown, clear-on-KeyUp" pattern leaks here
// because onBack typically calls Navigator.pop, swapping the focus tree
// before the matching KeyUp is dispatched — the orphaned KeyUp then never
// reaches a consumeIfSuppressed call, pinning the suppressor armed and
// silently swallowing the next press's KeyDown.
if (PlatformDetector.isAppleTV() && event.isPhysicalKeyboardEvent) {
if (event is KeyDownEvent) {
BackKeyCoordinator.markHandled();
onBack();
}
return KeyEventResult.handled;
}
@@ -174,6 +182,12 @@ FocusOnKeyEventCallback dpadKeyHandler({
class BackKeySuppressorObserver extends NavigatorObserver {
@override
void didPop(Route route, Route? previousRoute) {
// On AppleTV, handleBackKeyAction consumes the KeyUp silently regardless,
// so the suppressor isn't needed and arming it would pin state across the
// pop's focus-tree swap. (The atomic engine fix delivers KeyDown+KeyUp in
// a single recognizer Began callback, so didPop fires squarely inside the
// window where BackKeyPressTracker.isBackKeyDown is true.)
if (PlatformDetector.isAppleTV()) return;
if (BackKeyPressTracker.isBackKeyDown) {
BackKeyUpSuppressor.suppressBackUntilKeyUp();
}
+7
View File
@@ -26,6 +26,13 @@ class HubFocusMemory {
return _lastColumnHint.clamp(0, itemCount - 1);
}
/// Get only this hub's remembered index, without falling back to the global column hint.
static int getForHubOnly(String hubKey, int itemCount, {int fallback = 0}) {
if (itemCount <= 0) return 0;
final remembered = _perHubMemory[hubKey];
return (remembered ?? fallback).clamp(0, itemCount - 1);
}
/// Clear all memory (e.g., when leaving a screen)
static void clear() {
_perHubMemory.clear();
+33 -3
View File
@@ -248,6 +248,12 @@
"displaySwitchDelay": "Forsinkelse ved skærmskift",
"tunneledPlayback": "Tunneleret afspilning",
"tunneledPlaybackDescription": "Brug videotunneling. Slå fra, hvis HDR-afspilning viser sort video.",
"dvConversionMode": "Dolby Vision-konvertering",
"dvConversionModeDescription": "Vælg, hvordan ExoPlayer håndterer Dolby Vision Profile 7-filer.",
"dvConversionAuto": "Auto",
"dvConversionNative": "Native / deaktiveret",
"dvConversionDv81": "P7 → P8.1",
"dvConversionHevcStrip": "P7 → HEVC",
"requireProfileSelectionOnOpen": "Spørg om profil ved åbning",
"requireProfileSelectionOnOpenDescription": "Vis profilvalg hver gang appen åbnes",
"forceTvMode": "Gennemtving TV-tilstand",
@@ -300,7 +306,8 @@
"subSeekNext": "Søg til næste undertekst",
"subSeekPrev": "Søg til forrige undertekst",
"shaderToggle": "Skift shadere",
"skipMarker": "Spring intro/rulletekster over"
"skipMarker": "Spring intro/rulletekster over",
"screenshot": "Tag skærmbillede"
}
},
"fileInfo": {
@@ -347,6 +354,19 @@
"playFromBeginning": "Afspil fra begyndelsen",
"playVersion": "Afspil version..."
},
"rateSheet": {
"title": "Bedøm",
"server": "Server",
"starValue": "${rating} / 5",
"scoreValue": "${score} / 10",
"setScore": "Angiv en score",
"notRated": "Ikke bedømt",
"liked": "Synes godt om",
"notLiked": "Ikke liket",
"saved": "Gemt",
"notAvailable": "Intet match fundet",
"noConnectedTrackers": "Forbind en tracker i Indstillinger for at bedømme der."
},
"accessibility": {
"mediaCardMovie": "${title}, film",
"mediaCardShow": "${title}, TV-serie",
@@ -394,7 +414,7 @@
"nextChapterButton": "Næste kapitel",
"muteButton": "Lydløs",
"unmuteButton": "Slå lyd til",
"settingsButton": "Videoindstillinger",
"settingsButton": "Afspilningsindstillinger",
"tracksButton": "Lyd og undertekster",
"chaptersButton": "Kapitler",
"versionsButton": "Videoversioner",
@@ -420,6 +440,7 @@
"endsAt": "Slutter kl. ${time}",
"pipActive": "Afspiller i billede-i-billede",
"pipFailed": "Billede-i-billede kunne ikke starte",
"screenshotSaved": "Skærmbillede gemt",
"pipErrors": {
"androidVersion": "Kræver Android 8.0 eller nyere",
"iosVersion": "Kræver iOS 15.0 eller nyere",
@@ -691,8 +712,18 @@
"dateAdded": "Tilføjet dato",
"releaseDate": "Udgivelsesdato",
"rating": "Vurdering",
"communityRating": "Fællesskabsvurdering",
"criticRating": "Kritikerbedømmelse",
"lastPlayed": "Sidst afspillet",
"datePlayed": "Afspilningsdato",
"playCount": "Antal afspilninger",
"productionYear": "Produktionsår",
"runtime": "Spilletid",
"officialRating": "Officiel vurdering",
"premiereDate": "Premieredato",
"startDate": "Startdato",
"airTime": "Sendetid",
"studio": "Studie",
"random": "Tilfældig",
"dateShared": "Delt dato",
"latestEpisodeAirDate": "Seneste episodes premieredato"
@@ -1045,7 +1076,6 @@
}
},
"videoSettings": {
"playbackSettings": "Afspilningsindstillinger",
"playbackSpeed": "Afspilningshastighed",
"sleepTimer": "Sove-timer",
"audioSync": "Lydsynkronisering",
+33 -3
View File
@@ -248,6 +248,12 @@
"displaySwitchDelay": "Verzögerung beim Displaywechsel",
"tunneledPlayback": "Tunnelwiedergabe",
"tunneledPlaybackDescription": "Video-Tunneling verwenden. Deaktivieren, wenn HDR-Wiedergabe schwarzes Video zeigt.",
"dvConversionMode": "Dolby-Vision-Konvertierung",
"dvConversionModeDescription": "Wähle, wie ExoPlayer Dolby-Vision-Profil-7-Dateien behandelt.",
"dvConversionAuto": "Automatisch",
"dvConversionNative": "Nativ / deaktiviert",
"dvConversionDv81": "P7 → P8.1",
"dvConversionHevcStrip": "P7 → HEVC",
"requireProfileSelectionOnOpen": "Profil beim Öffnen abfragen",
"requireProfileSelectionOnOpenDescription": "Profilauswahl bei jedem Öffnen der App anzeigen",
"forceTvMode": "TV-Modus erzwingen",
@@ -300,7 +306,8 @@
"subSeekNext": "Zum nächsten Untertitel springen",
"subSeekPrev": "Zum vorherigen Untertitel springen",
"shaderToggle": "Shader umschalten",
"skipMarker": "Intro/Abspann überspringen"
"skipMarker": "Intro/Abspann überspringen",
"screenshot": "Screenshot aufnehmen"
}
},
"fileInfo": {
@@ -347,6 +354,19 @@
"playFromBeginning": "Von Anfang an abspielen",
"playVersion": "Version abspielen..."
},
"rateSheet": {
"title": "Bewerten",
"server": "Server",
"starValue": "${rating} / 5",
"scoreValue": "${score} / 10",
"setScore": "Eine Wertung festlegen",
"notRated": "Nicht bewertet",
"liked": "Gefällt mir",
"notLiked": "Nicht geliket",
"saved": "Gespeichert",
"notAvailable": "Keine Übereinstimmung gefunden",
"noConnectedTrackers": "Verbinde einen Tracker in den Einstellungen, um dort zu bewerten."
},
"accessibility": {
"mediaCardMovie": "${title}, Film",
"mediaCardShow": "${title}, Serie",
@@ -394,7 +414,7 @@
"nextChapterButton": "Nächstes Kapitel",
"muteButton": "Stumm schalten",
"unmuteButton": "Stummschaltung aufheben",
"settingsButton": "Videoeinstellungen",
"settingsButton": "Wiedergabeeinstellungen",
"tracksButton": "Audio und Untertitel",
"chaptersButton": "Kapitel",
"versionsButton": "Videoversionen",
@@ -420,6 +440,7 @@
"endsAt": "Endet um ${time}",
"pipActive": "Wiedergabe im Bild-in-Bild-Modus",
"pipFailed": "Bild-in-Bild konnte nicht gestartet werden",
"screenshotSaved": "Screenshot gespeichert",
"pipErrors": {
"androidVersion": "Erfordert Android 8.0 oder neuer",
"iosVersion": "Erfordert iOS 15.0 oder neuer",
@@ -691,8 +712,18 @@
"dateAdded": "Hinzugefügt am",
"releaseDate": "Erscheinungsdatum",
"rating": "Bewertung",
"communityRating": "Community-Bewertung",
"criticRating": "Kritikerbewertung",
"lastPlayed": "Zuletzt abgespielt",
"datePlayed": "Wiedergabedatum",
"playCount": "Wiedergaben",
"productionYear": "Produktionsjahr",
"runtime": "Laufzeit",
"officialRating": "Offizielle Bewertung",
"premiereDate": "Premierendatum",
"startDate": "Startdatum",
"airTime": "Sendezeit",
"studio": "Studio",
"random": "Zufällig",
"dateShared": "Datum geteilt",
"latestEpisodeAirDate": "Letztes Folgenausstrahlungsdatum"
@@ -1045,7 +1076,6 @@
}
},
"videoSettings": {
"playbackSettings": "Wiedergabeeinstellungen",
"playbackSpeed": "Wiedergabegeschwindigkeit",
"sleepTimer": "Schlaftimer",
"audioSync": "Audio-Synchronisation",
+33 -3
View File
@@ -248,6 +248,12 @@
"displaySwitchDelay": "Display Switch Delay",
"tunneledPlayback": "Tunneled Playback",
"tunneledPlaybackDescription": "Use video tunneling. Disable if HDR playback shows black video.",
"dvConversionMode": "Dolby Vision Conversion",
"dvConversionModeDescription": "Choose how ExoPlayer handles Dolby Vision Profile 7 files.",
"dvConversionAuto": "Auto",
"dvConversionNative": "Native / Disabled",
"dvConversionDv81": "P7 → P8.1",
"dvConversionHevcStrip": "P7 → HEVC",
"requireProfileSelectionOnOpen": "Ask for profile on app open",
"requireProfileSelectionOnOpenDescription": "Show profile selection every time the app is opened",
"forceTvMode": "Force TV mode",
@@ -300,7 +306,8 @@
"subSeekNext": "Seek to Next Subtitle",
"subSeekPrev": "Seek to Previous Subtitle",
"shaderToggle": "Toggle Shaders",
"skipMarker": "Skip Intro/Credits"
"skipMarker": "Skip Intro/Credits",
"screenshot": "Take Screenshot"
}
},
"fileInfo": {
@@ -347,6 +354,19 @@
"playFromBeginning": "Play from Beginning",
"playVersion": "Play Version..."
},
"rateSheet": {
"title": "Rate",
"server": "Server",
"starValue": "${rating} / 5",
"scoreValue": "${score} / 10",
"setScore": "Set a score",
"notRated": "Not rated",
"liked": "Liked",
"notLiked": "Not liked",
"saved": "Saved",
"notAvailable": "No match found",
"noConnectedTrackers": "Connect a tracker in Settings to rate there."
},
"accessibility": {
"mediaCardMovie": "${title}, movie",
"mediaCardShow": "${title}, TV show",
@@ -394,7 +414,7 @@
"nextChapterButton": "Next chapter",
"muteButton": "Mute",
"unmuteButton": "Unmute",
"settingsButton": "Video settings",
"settingsButton": "Playback Settings",
"tracksButton": "Audio & Subtitles",
"chaptersButton": "Chapters",
"versionsButton": "Video versions",
@@ -420,6 +440,7 @@
"endsAt": "Ends at ${time}",
"pipActive": "Playing in Picture-in-Picture",
"pipFailed": "Picture-in-picture failed to start",
"screenshotSaved": "Screenshot saved",
"pipErrors": {
"androidVersion": "Requires Android 8.0 or newer",
"iosVersion": "Requires iOS 15.0 or newer",
@@ -691,8 +712,18 @@
"dateAdded": "Date Added",
"releaseDate": "Release Date",
"rating": "Rating",
"communityRating": "Community Rating",
"criticRating": "Critic Rating",
"lastPlayed": "Last Played",
"datePlayed": "Date Played",
"playCount": "Play Count",
"productionYear": "Production Year",
"runtime": "Runtime",
"officialRating": "Official Rating",
"premiereDate": "Premiere Date",
"startDate": "Start Date",
"airTime": "Air Time",
"studio": "Studio",
"random": "Random",
"dateShared": "Date Shared",
"latestEpisodeAirDate": "Latest Episode Air Date"
@@ -1045,7 +1076,6 @@
}
},
"videoSettings": {
"playbackSettings": "Playback Settings",
"playbackSpeed": "Playback Speed",
"sleepTimer": "Sleep Timer",
"audioSync": "Audio Sync",
+33 -3
View File
@@ -248,6 +248,12 @@
"displaySwitchDelay": "Retraso de cambio de pantalla",
"tunneledPlayback": "Reproducción tunelizada",
"tunneledPlaybackDescription": "Usar tunelización de video. Desactívala si HDR muestra video negro.",
"dvConversionMode": "Conversión de Dolby Vision",
"dvConversionModeDescription": "Elige cómo ExoPlayer gestiona archivos Dolby Vision Profile 7.",
"dvConversionAuto": "Automático",
"dvConversionNative": "Nativo / desactivado",
"dvConversionDv81": "P7 → P8.1",
"dvConversionHevcStrip": "P7 → HEVC",
"requireProfileSelectionOnOpen": "Pedir perfil al abrir la app",
"requireProfileSelectionOnOpenDescription": "Mostrar selección de perfil cada vez que se abre la aplicación",
"forceTvMode": "Forzar modo TV",
@@ -300,7 +306,8 @@
"subSeekNext": "Ir al Siguiente Subtítulo",
"subSeekPrev": "Ir al Anterior Subtítulo",
"shaderToggle": "Alternar Shaders",
"skipMarker": "Saltar Intro/Créditos"
"skipMarker": "Saltar Intro/Créditos",
"screenshot": "Tomar captura de pantalla"
}
},
"fileInfo": {
@@ -347,6 +354,19 @@
"playFromBeginning": "Reproducir desde el inicio",
"playVersion": "Reproducir versión..."
},
"rateSheet": {
"title": "Calificar",
"server": "Servidor",
"starValue": "${rating} / 5",
"scoreValue": "${score} / 10",
"setScore": "Establecer puntuación",
"notRated": "Sin calificar",
"liked": "Me gusta",
"notLiked": "Sin Me gusta",
"saved": "Guardado",
"notAvailable": "No se encontró coincidencia",
"noConnectedTrackers": "Conecta un tracker en Ajustes para calificar allí."
},
"accessibility": {
"mediaCardMovie": "${title}, película",
"mediaCardShow": "${title}, serie de TV",
@@ -394,7 +414,7 @@
"nextChapterButton": "Capítulo siguiente",
"muteButton": "Silenciar",
"unmuteButton": "Activar sonido",
"settingsButton": "Ajustes de video",
"settingsButton": "Ajustes de reproducción",
"tracksButton": "Audio y subtítulos",
"chaptersButton": "Capítulos",
"versionsButton": "Versiones de video",
@@ -420,6 +440,7 @@
"endsAt": "Termina a las ${time}",
"pipActive": "Reproduciendo en Imagen en Imagen",
"pipFailed": "Error al iniciar Imagen en Imagen",
"screenshotSaved": "Captura de pantalla guardada",
"pipErrors": {
"androidVersion": "Requiere Android 8.0 o más reciente",
"iosVersion": "Requiere iOS 15.0 o más reciente",
@@ -691,8 +712,18 @@
"dateAdded": "Fecha de adición",
"releaseDate": "Fecha de estreno",
"rating": "Valoración",
"communityRating": "Calificación de comunidad",
"criticRating": "Calificación de crítica",
"lastPlayed": "Última reproducción",
"datePlayed": "Fecha de reproducción",
"playCount": "Reproducciones",
"productionYear": "Año de producción",
"runtime": "Duración",
"officialRating": "Calificación oficial",
"premiereDate": "Fecha de estreno",
"startDate": "Fecha de inicio",
"airTime": "Hora de emisión",
"studio": "Estudio",
"random": "Aleatorio",
"dateShared": "Fecha de compartición",
"latestEpisodeAirDate": "Última fecha de emisión del episodio"
@@ -1045,7 +1076,6 @@
}
},
"videoSettings": {
"playbackSettings": "Ajustes de reproducción",
"playbackSpeed": "Velocidad de reproducción",
"sleepTimer": "Temporizador de apagado",
"audioSync": "Sincronización de audio",
+33 -3
View File
@@ -248,6 +248,12 @@
"displaySwitchDelay": "Délai de changement d'affichage",
"tunneledPlayback": "Lecture tunnelée",
"tunneledPlaybackDescription": "Utiliser le tunneling vidéo. Désactivez si la lecture HDR affiche un écran noir.",
"dvConversionMode": "Conversion Dolby Vision",
"dvConversionModeDescription": "Choisissez comment ExoPlayer gère les fichiers Dolby Vision Profile 7.",
"dvConversionAuto": "Auto",
"dvConversionNative": "Natif / désactivé",
"dvConversionDv81": "P7 → P8.1",
"dvConversionHevcStrip": "P7 → HEVC",
"requireProfileSelectionOnOpen": "Demander le profil à l'ouverture",
"requireProfileSelectionOnOpenDescription": "Afficher la sélection de profil à chaque ouverture de l'application",
"forceTvMode": "Forcer le mode TV",
@@ -300,7 +306,8 @@
"subSeekNext": "Rechercher le sous-titre suivant",
"subSeekPrev": "Rechercher le sous-titre précédent",
"shaderToggle": "Activer/désactiver les shaders",
"skipMarker": "Passer l'intro/le générique"
"skipMarker": "Passer l'intro/le générique",
"screenshot": "Prendre une capture d'écran"
}
},
"fileInfo": {
@@ -347,6 +354,19 @@
"playFromBeginning": "Lire depuis le début",
"playVersion": "Lire la version..."
},
"rateSheet": {
"title": "Noter",
"server": "Serveur",
"starValue": "${rating} / 5",
"scoreValue": "${score} / 10",
"setScore": "Définir une note",
"notRated": "Non noté",
"liked": "Aimé",
"notLiked": "Non aimé",
"saved": "Enregistré",
"notAvailable": "Aucune correspondance trouvée",
"noConnectedTrackers": "Connectez un tracker dans Paramètres pour y noter."
},
"accessibility": {
"mediaCardMovie": "${title}, film",
"mediaCardShow": "${title}, show TV",
@@ -394,7 +414,7 @@
"nextChapterButton": "Chapitre suivant",
"muteButton": "Mute",
"unmuteButton": "Dé-mute",
"settingsButton": "Paramètres vidéo",
"settingsButton": "Paramètres de lecture",
"tracksButton": "Audio et sous-titres",
"chaptersButton": "Chapitres",
"versionsButton": "Versions vidéo",
@@ -420,6 +440,7 @@
"endsAt": "Fin à ${time}",
"pipActive": "Lecture en mode image dans l'image",
"pipFailed": "Échec du démarrage du mode image dans l'image",
"screenshotSaved": "Capture d'écran enregistrée",
"pipErrors": {
"androidVersion": "Nécessite Android 8.0 ou plus récent",
"iosVersion": "Nécessite iOS 15.0 ou plus récent",
@@ -691,8 +712,18 @@
"dateAdded": "Date d'ajout",
"releaseDate": "Date de sortie",
"rating": "Note",
"communityRating": "Note communautaire",
"criticRating": "Note critique",
"lastPlayed": "Dernière lecture",
"datePlayed": "Date de lecture",
"playCount": "Lectures",
"productionYear": "Année de production",
"runtime": "Durée",
"officialRating": "Classification officielle",
"premiereDate": "Date de première",
"startDate": "Date de début",
"airTime": "Heure de diffusion",
"studio": "Studio",
"random": "Aléatoire",
"dateShared": "Date de partage",
"latestEpisodeAirDate": "Dernière date de diffusion"
@@ -1045,7 +1076,6 @@
}
},
"videoSettings": {
"playbackSettings": "Paramètres de lecture",
"playbackSpeed": "Vitesse de lecture",
"sleepTimer": "Minuterie de mise en veille",
"audioSync": "Synchronisation audio",
+33 -3
View File
@@ -248,6 +248,12 @@
"displaySwitchDelay": "Ritardo cambio display",
"tunneledPlayback": "Riproduzione tunnelizzata",
"tunneledPlaybackDescription": "Usa tunneling video. Disattiva se la riproduzione HDR mostra video nero.",
"dvConversionMode": "Conversione Dolby Vision",
"dvConversionModeDescription": "Scegli come ExoPlayer gestisce i file Dolby Vision Profile 7.",
"dvConversionAuto": "Auto",
"dvConversionNative": "Nativo / disattivato",
"dvConversionDv81": "P7 → P8.1",
"dvConversionHevcStrip": "P7 → HEVC",
"requireProfileSelectionOnOpen": "Chiedi profilo all'apertura",
"requireProfileSelectionOnOpenDescription": "Mostra la selezione del profilo ogni volta che l'app viene aperta",
"forceTvMode": "Forza modalità TV",
@@ -300,7 +306,8 @@
"subSeekNext": "Vai al sottotitolo successivo",
"subSeekPrev": "Vai al sottotitolo precedente",
"shaderToggle": "Attiva/disattiva shader",
"skipMarker": "Salta intro/titoli di coda"
"skipMarker": "Salta intro/titoli di coda",
"screenshot": "Cattura schermata"
}
},
"fileInfo": {
@@ -347,6 +354,19 @@
"playFromBeginning": "Riproduci dall'inizio",
"playVersion": "Riproduci versione..."
},
"rateSheet": {
"title": "Valuta",
"server": "Server",
"starValue": "${rating} / 5",
"scoreValue": "${score} / 10",
"setScore": "Imposta un punteggio",
"notRated": "Non valutato",
"liked": "Mi piace",
"notLiked": "Non contrassegnato con Mi piace",
"saved": "Salvato",
"notAvailable": "Nessuna corrispondenza trovata",
"noConnectedTrackers": "Collega un tracker in Impostazioni per valutarlo lì."
},
"accessibility": {
"mediaCardMovie": "${title}, film",
"mediaCardShow": "${title}, serie TV",
@@ -394,7 +414,7 @@
"nextChapterButton": "Capitolo successivo",
"muteButton": "Silenzia",
"unmuteButton": "Riattiva audio",
"settingsButton": "Impostazioni video",
"settingsButton": "Impostazioni di riproduzione",
"tracksButton": "Audio e sottotitoli",
"chaptersButton": "Capitoli",
"versionsButton": "Versioni video",
@@ -420,6 +440,7 @@
"endsAt": "Finisce alle ${time}",
"pipActive": "Riproduzione in Picture-in-Picture",
"pipFailed": "Impossibile avviare la modalità Picture-in-Picture",
"screenshotSaved": "Schermata salvata",
"pipErrors": {
"androidVersion": "Richiede Android 8.0 o versioni successive",
"iosVersion": "Richiede iOS 15.0 o versioni successive",
@@ -691,8 +712,18 @@
"dateAdded": "Data di aggiunta",
"releaseDate": "Data di uscita",
"rating": "Valutazione",
"communityRating": "Valutazione della community",
"criticRating": "Valutazione critica",
"lastPlayed": "Ultima riproduzione",
"datePlayed": "Data di riproduzione",
"playCount": "Riproduzioni",
"productionYear": "Anno di produzione",
"runtime": "Durata",
"officialRating": "Classificazione ufficiale",
"premiereDate": "Data di première",
"startDate": "Data di inizio",
"airTime": "Orario di messa in onda",
"studio": "Studio",
"random": "Casuale",
"dateShared": "Data di condivisione",
"latestEpisodeAirDate": "Data ultima messa in onda"
@@ -1045,7 +1076,6 @@
}
},
"videoSettings": {
"playbackSettings": "Impostazioni di riproduzione",
"playbackSpeed": "Velocità di riproduzione",
"sleepTimer": "Timer di spegnimento",
"audioSync": "Sincronizzazione audio",
+33 -3
View File
@@ -248,6 +248,12 @@
"displaySwitchDelay": "ディスプレイ切り替え遅延",
"tunneledPlayback": "トンネル再生",
"tunneledPlaybackDescription": "動画トンネリングを使用します。HDR再生で画面が黒くなる場合は無効にしてください。",
"dvConversionMode": "Dolby Vision 変換",
"dvConversionModeDescription": "ExoPlayer が Dolby Vision Profile 7 ファイルを処理する方法を選択します。",
"dvConversionAuto": "自動",
"dvConversionNative": "ネイティブ / 無効",
"dvConversionDv81": "P7 → P8.1",
"dvConversionHevcStrip": "P7 → HEVC",
"requireProfileSelectionOnOpen": "アプリ起動時にプロフィールを確認",
"requireProfileSelectionOnOpenDescription": "アプリを開くたびにプロフィール選択を表示",
"forceTvMode": "TVモードを強制",
@@ -300,7 +306,8 @@
"subSeekNext": "次の字幕にシーク",
"subSeekPrev": "前の字幕にシーク",
"shaderToggle": "シェーダー切替",
"skipMarker": "イントロ/クレジットをスキップ"
"skipMarker": "イントロ/クレジットをスキップ",
"screenshot": "スクリーンショットを撮る"
}
},
"fileInfo": {
@@ -347,6 +354,19 @@
"playFromBeginning": "最初から再生",
"playVersion": "バージョンを再生..."
},
"rateSheet": {
"title": "評価",
"server": "サーバー",
"starValue": "${rating} / 5",
"scoreValue": "${score} / 10",
"setScore": "スコアを設定",
"notRated": "未評価",
"liked": "いいね済み",
"notLiked": "いいねなし",
"saved": "保存済み",
"notAvailable": "一致なし",
"noConnectedTrackers": "設定でトラッカーを接続すると、そこで評価できます。"
},
"accessibility": {
"mediaCardMovie": "${title}、映画",
"mediaCardShow": "${title}、テレビ番組",
@@ -394,7 +414,7 @@
"nextChapterButton": "次のチャプター",
"muteButton": "ミュート",
"unmuteButton": "ミュート解除",
"settingsButton": "動画設定",
"settingsButton": "再生設定",
"tracksButton": "音声と字幕",
"chaptersButton": "チャプター",
"versionsButton": "動画バージョン",
@@ -420,6 +440,7 @@
"endsAt": "${time}に終了",
"pipActive": "ピクチャーインピクチャーで再生中",
"pipFailed": "ピクチャーインピクチャーの開始に失敗しました",
"screenshotSaved": "スクリーンショットを保存しました",
"pipErrors": {
"androidVersion": "Android 8.0以降が必要です",
"iosVersion": "iOS 15.0以降が必要です",
@@ -691,8 +712,18 @@
"dateAdded": "追加日",
"releaseDate": "リリース日",
"rating": "評価",
"communityRating": "コミュニティ評価",
"criticRating": "批評家評価",
"lastPlayed": "最終再生",
"datePlayed": "再生日",
"playCount": "再生回数",
"productionYear": "製作年",
"runtime": "再生時間",
"officialRating": "公式レーティング",
"premiereDate": "プレミア日",
"startDate": "開始日",
"airTime": "放送時刻",
"studio": "スタジオ",
"random": "ランダム",
"dateShared": "共有日",
"latestEpisodeAirDate": "最新エピソード放送日"
@@ -1045,7 +1076,6 @@
}
},
"videoSettings": {
"playbackSettings": "再生設定",
"playbackSpeed": "再生速度",
"sleepTimer": "スリープタイマー",
"audioSync": "音声同期",
+33 -3
View File
@@ -248,6 +248,12 @@
"displaySwitchDelay": "디스플레이 전환 지연",
"tunneledPlayback": "터널 재생",
"tunneledPlaybackDescription": "비디오 터널링을 사용합니다. HDR 재생 시 검은 화면이 보이면 비활성화하세요.",
"dvConversionMode": "Dolby Vision 변환",
"dvConversionModeDescription": "ExoPlayer가 Dolby Vision Profile 7 파일을 처리하는 방식을 선택합니다.",
"dvConversionAuto": "자동",
"dvConversionNative": "네이티브 / 비활성화",
"dvConversionDv81": "P7 → P8.1",
"dvConversionHevcStrip": "P7 → HEVC",
"requireProfileSelectionOnOpen": "앱 실행 시 프로필 선택",
"requireProfileSelectionOnOpenDescription": "앱을 열 때마다 프로필 선택 화면을 표시합니다",
"forceTvMode": "TV 모드 강제 사용",
@@ -300,7 +306,8 @@
"subSeekNext": "다음 자막으로 이동",
"subSeekPrev": "이전 자막으로 이동",
"shaderToggle": "셰이더 전환",
"skipMarker": "인트로/크레딧 건너뛰기"
"skipMarker": "인트로/크레딧 건너뛰기",
"screenshot": "스크린샷 찍기"
}
},
"fileInfo": {
@@ -347,6 +354,19 @@
"playFromBeginning": "처음부터 재생",
"playVersion": "버전 재생..."
},
"rateSheet": {
"title": "평가",
"server": "서버",
"starValue": "${rating} / 5",
"scoreValue": "${score} / 10",
"setScore": "점수 설정",
"notRated": "평가 없음",
"liked": "좋아요",
"notLiked": "좋아요 아님",
"saved": "저장됨",
"notAvailable": "일치 항목 없음",
"noConnectedTrackers": "설정에서 트래커를 연결하면 거기에도 평가할 수 있습니다."
},
"accessibility": {
"mediaCardMovie": "${title}, 영화",
"mediaCardShow": "${title}, TV 프로그램",
@@ -394,7 +414,7 @@
"nextChapterButton": "다음 챕터",
"muteButton": "음소거",
"unmuteButton": "음소거 해제",
"settingsButton": "동영상 설정",
"settingsButton": "재생 설정",
"tracksButton": "오디오 및 자막",
"chaptersButton": "챕터",
"versionsButton": "동영상 버전",
@@ -420,6 +440,7 @@
"endsAt": "${time}에 종료",
"pipActive": "화면 속 화면으로 재생 중",
"pipFailed": "화면 속 화면 모드를 시작할 수 없습니다",
"screenshotSaved": "스크린샷 저장됨",
"pipErrors": {
"androidVersion": "Android 8.0 이상이 필요합니다",
"iosVersion": "iOS 15.0 이상이 필요합니다",
@@ -691,8 +712,18 @@
"dateAdded": "추가된 날짜",
"releaseDate": "출시일",
"rating": "평점",
"communityRating": "커뮤니티 평점",
"criticRating": "평론가 평점",
"lastPlayed": "마지막 재생",
"datePlayed": "재생일",
"playCount": "재생 횟수",
"productionYear": "제작 연도",
"runtime": "재생 시간",
"officialRating": "공식 등급",
"premiereDate": "최초 공개일",
"startDate": "시작일",
"airTime": "방영 시간",
"studio": "스튜디오",
"random": "무작위",
"dateShared": "공유된 날짜",
"latestEpisodeAirDate": "최신 에피소드 방영일"
@@ -1045,7 +1076,6 @@
}
},
"videoSettings": {
"playbackSettings": "재생 설정",
"playbackSpeed": "재생 속도",
"sleepTimer": "취침 타이머",
"audioSync": "오디오 동기화",
+33 -3
View File
@@ -248,6 +248,12 @@
"displaySwitchDelay": "Forsinkelse ved skjermbytte",
"tunneledPlayback": "Tunnelert avspilling",
"tunneledPlaybackDescription": "Bruk videotunneling. Slå av hvis HDR-avspilling viser svart video.",
"dvConversionMode": "Dolby Vision-konvertering",
"dvConversionModeDescription": "Velg hvordan ExoPlayer håndterer Dolby Vision Profile 7-filer.",
"dvConversionAuto": "Auto",
"dvConversionNative": "Innebygd / deaktivert",
"dvConversionDv81": "P7 → P8.1",
"dvConversionHevcStrip": "P7 → HEVC",
"requireProfileSelectionOnOpen": "Spør om profil ved appåpning",
"requireProfileSelectionOnOpenDescription": "Vis profilvalg hver gang appen åpnes",
"forceTvMode": "Tving TV-modus",
@@ -300,7 +306,8 @@
"subSeekNext": "Spol til neste undertekst",
"subSeekPrev": "Spol til forrige undertekst",
"shaderToggle": "Veksle shadere",
"skipMarker": "Hopp over intro/rulletekst"
"skipMarker": "Hopp over intro/rulletekst",
"screenshot": "Ta skjermbilde"
}
},
"fileInfo": {
@@ -347,6 +354,19 @@
"playFromBeginning": "Spill fra begynnelsen",
"playVersion": "Spill av versjon..."
},
"rateSheet": {
"title": "Vurder",
"server": "Server",
"starValue": "${rating} / 5",
"scoreValue": "${score} / 10",
"setScore": "Sett en poengsum",
"notRated": "Ikke vurdert",
"liked": "Likt",
"notLiked": "Ikke likt",
"saved": "Lagret",
"notAvailable": "Ingen treff",
"noConnectedTrackers": "Koble til en sporer i Innstillinger for å vurdere der."
},
"accessibility": {
"mediaCardMovie": "${title}, film",
"mediaCardShow": "${title}, TV-serie",
@@ -394,7 +414,7 @@
"nextChapterButton": "Neste kapittel",
"muteButton": "Demp",
"unmuteButton": "Opphev demping",
"settingsButton": "Videoinnstillinger",
"settingsButton": "Avspillingsinnstillinger",
"tracksButton": "Lyd og undertekster",
"chaptersButton": "Kapitler",
"versionsButton": "Videoversjoner",
@@ -420,6 +440,7 @@
"endsAt": "Slutter kl. ${time}",
"pipActive": "Spiller i bilde-i-bilde",
"pipFailed": "Bilde-i-bilde kunne ikke starte",
"screenshotSaved": "Skjermbilde lagret",
"pipErrors": {
"androidVersion": "Krever Android 8.0 eller nyere",
"iosVersion": "Krever iOS 15.0 eller nyere",
@@ -691,8 +712,18 @@
"dateAdded": "Lagt til-dato",
"releaseDate": "Utgivelsesdato",
"rating": "Vurdering",
"communityRating": "Fellesskapsvurdering",
"criticRating": "Kritikervurdering",
"lastPlayed": "Sist spilt",
"datePlayed": "Avspillingsdato",
"playCount": "Avspillinger",
"productionYear": "Produksjonsår",
"runtime": "Varighet",
"officialRating": "Offisiell vurdering",
"premiereDate": "Premieredato",
"startDate": "Startdato",
"airTime": "Sendetid",
"studio": "Studio",
"random": "Tilfeldig",
"dateShared": "Delingsdato",
"latestEpisodeAirDate": "Siste episodes sendedato"
@@ -1045,7 +1076,6 @@
}
},
"videoSettings": {
"playbackSettings": "Avspillingsinnstillinger",
"playbackSpeed": "Avspillingshastighet",
"sleepTimer": "Søvntimer",
"audioSync": "Lydsynkronisering",
+33 -3
View File
@@ -248,6 +248,12 @@
"displaySwitchDelay": "Vertraging bij schermwisseling",
"tunneledPlayback": "Getunnelde weergave",
"tunneledPlaybackDescription": "Gebruik videotunneling. Schakel uit als HDR-afspelen zwart beeld geeft.",
"dvConversionMode": "Dolby Vision-conversie",
"dvConversionModeDescription": "Kies hoe ExoPlayer Dolby Vision Profile 7-bestanden verwerkt.",
"dvConversionAuto": "Auto",
"dvConversionNative": "Native / uitgeschakeld",
"dvConversionDv81": "P7 → P8.1",
"dvConversionHevcStrip": "P7 → HEVC",
"requireProfileSelectionOnOpen": "Vraag om profiel bij openen",
"requireProfileSelectionOnOpenDescription": "Toon profielselectie telkens wanneer de app wordt geopend",
"forceTvMode": "TV-modus forceren",
@@ -300,7 +306,8 @@
"subSeekNext": "Naar volgende ondertitel",
"subSeekPrev": "Naar vorige ondertitel",
"shaderToggle": "Shaders aan/uit",
"skipMarker": "Intro/aftiteling overslaan"
"skipMarker": "Intro/aftiteling overslaan",
"screenshot": "Schermafbeelding maken"
}
},
"fileInfo": {
@@ -347,6 +354,19 @@
"playFromBeginning": "Afspelen vanaf het begin",
"playVersion": "Versie afspelen..."
},
"rateSheet": {
"title": "Beoordelen",
"server": "Server",
"starValue": "${rating} / 5",
"scoreValue": "${score} / 10",
"setScore": "Score instellen",
"notRated": "Niet beoordeeld",
"liked": "Geliket",
"notLiked": "Niet geliket",
"saved": "Opgeslagen",
"notAvailable": "Geen match gevonden",
"noConnectedTrackers": "Verbind een tracker in Instellingen om daar te beoordelen."
},
"accessibility": {
"mediaCardMovie": "${title}, film",
"mediaCardShow": "${title}, TV-serie",
@@ -394,7 +414,7 @@
"nextChapterButton": "Volgend hoofdstuk",
"muteButton": "Dempen",
"unmuteButton": "Dempen opheffen",
"settingsButton": "Video-instellingen",
"settingsButton": "Afspeelinstellingen",
"tracksButton": "Audio en ondertitels",
"chaptersButton": "Hoofdstukken",
"versionsButton": "Videoversies",
@@ -420,6 +440,7 @@
"endsAt": "Eindigt om ${time}",
"pipActive": "Afspelen in beeld-in-beeld",
"pipFailed": "Beeld-in-beeld kon niet worden gestart",
"screenshotSaved": "Schermafbeelding opgeslagen",
"pipErrors": {
"androidVersion": "Vereist Android 8.0 of nieuwer",
"iosVersion": "Vereist iOS 15.0 of nieuwer",
@@ -691,8 +712,18 @@
"dateAdded": "Toegevoegd op",
"releaseDate": "Uitgavedatum",
"rating": "Beoordeling",
"communityRating": "Communitybeoordeling",
"criticRating": "Criticusbeoordeling",
"lastPlayed": "Laatst afgespeeld",
"datePlayed": "Afspeeldatum",
"playCount": "Aantal afspelingen",
"productionYear": "Productiejaar",
"runtime": "Speelduur",
"officialRating": "Officiële beoordeling",
"premiereDate": "Premièredatum",
"startDate": "Begindatum",
"airTime": "Uitzendtijd",
"studio": "Studio",
"random": "Willekeurig",
"dateShared": "Gedeeld op",
"latestEpisodeAirDate": "Laatste afleveringsuitzending"
@@ -1045,7 +1076,6 @@
}
},
"videoSettings": {
"playbackSettings": "Afspeelinstellingen",
"playbackSpeed": "Afspeelsnelheid",
"sleepTimer": "Slaaptimer",
"audioSync": "Audio synchronisatie",
+33 -3
View File
@@ -248,6 +248,12 @@
"displaySwitchDelay": "Opóźnienie przełączania ekranu",
"tunneledPlayback": "Tunelowane odtwarzanie",
"tunneledPlaybackDescription": "Użyj tunelowania wideo. Wyłącz, jeśli HDR pokazuje czarny obraz.",
"dvConversionMode": "Konwersja Dolby Vision",
"dvConversionModeDescription": "Wybierz, jak ExoPlayer obsługuje pliki Dolby Vision Profile 7.",
"dvConversionAuto": "Automatycznie",
"dvConversionNative": "Natywnie / wyłączone",
"dvConversionDv81": "P7 → P8.1",
"dvConversionHevcStrip": "P7 → HEVC",
"requireProfileSelectionOnOpen": "Pytaj o profil przy otwarciu aplikacji",
"requireProfileSelectionOnOpenDescription": "Pokaż wybór profilu za każdym razem, gdy aplikacja jest otwierana",
"forceTvMode": "Wymuś tryb TV",
@@ -300,7 +306,8 @@
"subSeekNext": "Przewiń do następnego napisu",
"subSeekPrev": "Przewiń do poprzedniego napisu",
"shaderToggle": "Przełącz shadery",
"skipMarker": "Pomiń intro/napisy końcowe"
"skipMarker": "Pomiń intro/napisy końcowe",
"screenshot": "Zrób zrzut ekranu"
}
},
"fileInfo": {
@@ -347,6 +354,19 @@
"playFromBeginning": "Odtwórz od początku",
"playVersion": "Odtwórz wersję..."
},
"rateSheet": {
"title": "Oceń",
"server": "Serwer",
"starValue": "${rating} / 5",
"scoreValue": "${score} / 10",
"setScore": "Ustaw ocenę",
"notRated": "Nie oceniono",
"liked": "Polubione",
"notLiked": "Nie polubiono",
"saved": "Zapisano",
"notAvailable": "Nie znaleziono dopasowania",
"noConnectedTrackers": "Połącz tracker w Ustawieniach, aby tam oceniać."
},
"accessibility": {
"mediaCardMovie": "${title}, film",
"mediaCardShow": "${title}, serial TV",
@@ -394,7 +414,7 @@
"nextChapterButton": "Następny rozdział",
"muteButton": "Wycisz",
"unmuteButton": "Wyłącz wyciszenie",
"settingsButton": "Ustawienia wideo",
"settingsButton": "Ustawienia odtwarzania",
"tracksButton": "Audio i napisy",
"chaptersButton": "Rozdziały",
"versionsButton": "Wersje wideo",
@@ -420,6 +440,7 @@
"endsAt": "Kończy się o ${time}",
"pipActive": "Odtwarzanie w trybie obraz w obrazie",
"pipFailed": "Nie udało się uruchomić trybu obraz w obrazie",
"screenshotSaved": "Zrzut ekranu zapisany",
"pipErrors": {
"androidVersion": "Wymaga Androida 8.0 lub nowszego",
"iosVersion": "Wymaga iOS 15.0 lub nowszego",
@@ -691,8 +712,18 @@
"dateAdded": "Data dodania",
"releaseDate": "Data premiery",
"rating": "Ocena",
"communityRating": "Ocena społeczności",
"criticRating": "Ocena krytyków",
"lastPlayed": "Ostatnio odtwarzane",
"datePlayed": "Data odtworzenia",
"playCount": "Liczba odtworzeń",
"productionYear": "Rok produkcji",
"runtime": "Czas trwania",
"officialRating": "Oficjalna klasyfikacja",
"premiereDate": "Data premiery",
"startDate": "Data rozpoczęcia",
"airTime": "Godzina emisji",
"studio": "Studio",
"random": "Losowo",
"dateShared": "Data udostępnienia",
"latestEpisodeAirDate": "Data emisji ostatniego odcinka"
@@ -1045,7 +1076,6 @@
}
},
"videoSettings": {
"playbackSettings": "Ustawienia odtwarzania",
"playbackSpeed": "Prędkość odtwarzania",
"sleepTimer": "Wyłącznik czasowy",
"audioSync": "Synchronizacja audio",
+33 -3
View File
@@ -248,6 +248,12 @@
"displaySwitchDelay": "Atraso na Troca de Tela",
"tunneledPlayback": "Reprodução Tunelizada",
"tunneledPlaybackDescription": "Usar tunelamento de vídeo. Desative se HDR mostrar vídeo preto.",
"dvConversionMode": "Conversão Dolby Vision",
"dvConversionModeDescription": "Escolha como o ExoPlayer lida com arquivos Dolby Vision Profile 7.",
"dvConversionAuto": "Automático",
"dvConversionNative": "Nativo / desativado",
"dvConversionDv81": "P7 → P8.1",
"dvConversionHevcStrip": "P7 → HEVC",
"requireProfileSelectionOnOpen": "Pedir perfil ao abrir o app",
"requireProfileSelectionOnOpenDescription": "Mostrar seleção de perfil toda vez que o app for aberto",
"forceTvMode": "Forçar modo TV",
@@ -300,7 +306,8 @@
"subSeekNext": "Ir para Próxima Legenda",
"subSeekPrev": "Ir para Legenda Anterior",
"shaderToggle": "Alternar Shaders",
"skipMarker": "Pular Intro/Créditos"
"skipMarker": "Pular Intro/Créditos",
"screenshot": "Capturar tela"
}
},
"fileInfo": {
@@ -347,6 +354,19 @@
"playFromBeginning": "Reproduzir do início",
"playVersion": "Reproduzir versão..."
},
"rateSheet": {
"title": "Avaliar",
"server": "Servidor",
"starValue": "${rating} / 5",
"scoreValue": "${score} / 10",
"setScore": "Definir pontuação",
"notRated": "Sem avaliação",
"liked": "Gostei",
"notLiked": "Não marcado como gostei",
"saved": "Salvo",
"notAvailable": "Nenhuma correspondência encontrada",
"noConnectedTrackers": "Conecte um rastreador em Configurações para avaliar lá."
},
"accessibility": {
"mediaCardMovie": "${title}, filme",
"mediaCardShow": "${title}, série de TV",
@@ -394,7 +414,7 @@
"nextChapterButton": "Próximo capítulo",
"muteButton": "Silenciar",
"unmuteButton": "Ativar som",
"settingsButton": "Configurações de vídeo",
"settingsButton": "Configurações de Reprodução",
"tracksButton": "Áudio e Legendas",
"chaptersButton": "Capítulos",
"versionsButton": "Versões do vídeo",
@@ -420,6 +440,7 @@
"endsAt": "Termina às ${time}",
"pipActive": "Reproduzindo em Picture-in-Picture",
"pipFailed": "Falha ao iniciar picture-in-picture",
"screenshotSaved": "Captura de tela salva",
"pipErrors": {
"androidVersion": "Requer Android 8.0 ou superior",
"iosVersion": "Requer iOS 15.0 ou superior",
@@ -691,8 +712,18 @@
"dateAdded": "Data de adição",
"releaseDate": "Data de lançamento",
"rating": "Avaliação",
"communityRating": "Avaliação da comunidade",
"criticRating": "Avaliação da crítica",
"lastPlayed": "Última reprodução",
"datePlayed": "Data de reprodução",
"playCount": "Reproduções",
"productionYear": "Ano de produção",
"runtime": "Duração",
"officialRating": "Classificação oficial",
"premiereDate": "Data de estreia",
"startDate": "Data de início",
"airTime": "Horário de exibição",
"studio": "Estúdio",
"random": "Aleatório",
"dateShared": "Data de compartilhamento",
"latestEpisodeAirDate": "Última data de exibição do episódio"
@@ -1045,7 +1076,6 @@
}
},
"videoSettings": {
"playbackSettings": "Configurações de Reprodução",
"playbackSpeed": "Velocidade de Reprodução",
"sleepTimer": "Timer de Sono",
"audioSync": "Sincronia de Áudio",
+33 -3
View File
@@ -248,6 +248,12 @@
"displaySwitchDelay": "Задержка переключения дисплея",
"tunneledPlayback": "Туннельное воспроизведение",
"tunneledPlaybackDescription": "Использовать видеотуннелирование. Отключите, если HDR показывает черный экран.",
"dvConversionMode": "Преобразование Dolby Vision",
"dvConversionModeDescription": "Выберите, как ExoPlayer обрабатывает файлы Dolby Vision Profile 7.",
"dvConversionAuto": "Авто",
"dvConversionNative": "Нативно / отключено",
"dvConversionDv81": "P7 → P8.1",
"dvConversionHevcStrip": "P7 → HEVC",
"requireProfileSelectionOnOpen": "Запрашивать профиль при запуске",
"requireProfileSelectionOnOpenDescription": "Показывать выбор профиля при каждом открытии приложения",
"forceTvMode": "Принудительный режим ТВ",
@@ -300,7 +306,8 @@
"subSeekNext": "К следующему субтитру",
"subSeekPrev": "К предыдущему субтитру",
"shaderToggle": "Вкл./выкл. шейдеры",
"skipMarker": "Пропустить вступление/титры"
"skipMarker": "Пропустить вступление/титры",
"screenshot": "Сделать снимок экрана"
}
},
"fileInfo": {
@@ -347,6 +354,19 @@
"playFromBeginning": "Воспроизвести сначала",
"playVersion": "Воспроизвести версию..."
},
"rateSheet": {
"title": "Оценить",
"server": "Сервер",
"starValue": "${rating} / 5",
"scoreValue": "${score} / 10",
"setScore": "Установить оценку",
"notRated": "Без оценки",
"liked": "Понравилось",
"notLiked": "Не отмечено понравившимся",
"saved": "Сохранено",
"notAvailable": "Совпадений не найдено",
"noConnectedTrackers": "Подключите трекер в настройках, чтобы оценивать там."
},
"accessibility": {
"mediaCardMovie": "${title}, фильм",
"mediaCardShow": "${title}, сериал",
@@ -394,7 +414,7 @@
"nextChapterButton": "Следующая глава",
"muteButton": "Без звука",
"unmuteButton": "Включить звук",
"settingsButton": "Настройки видео",
"settingsButton": "Настройки воспроизведения",
"tracksButton": "Аудио и субтитры",
"chaptersButton": "Главы",
"versionsButton": "Версии видео",
@@ -420,6 +440,7 @@
"endsAt": "Закончится в ${time}",
"pipActive": "Воспроизводится в режиме «картинка в картинке»",
"pipFailed": "Не удалось запустить режим «картинка в картинке»",
"screenshotSaved": "Снимок экрана сохранён",
"pipErrors": {
"androidVersion": "Требуется Android 8.0 или новее",
"iosVersion": "Требуется iOS 15.0 или новее",
@@ -691,8 +712,18 @@
"dateAdded": "Дата добавления",
"releaseDate": "Дата выхода",
"rating": "Рейтинг",
"communityRating": "Оценка сообщества",
"criticRating": "Оценка критиков",
"lastPlayed": "Последний просмотр",
"datePlayed": "Дата просмотра",
"playCount": "Количество просмотров",
"productionYear": "Год производства",
"runtime": "Длительность",
"officialRating": "Официальный рейтинг",
"premiereDate": "Дата премьеры",
"startDate": "Дата начала",
"airTime": "Время эфира",
"studio": "Студия",
"random": "Случайно",
"dateShared": "Дата открытия доступа",
"latestEpisodeAirDate": "Дата выхода последнего эпизода"
@@ -1045,7 +1076,6 @@
}
},
"videoSettings": {
"playbackSettings": "Настройки воспроизведения",
"playbackSpeed": "Скорость воспроизведения",
"sleepTimer": "Таймер сна",
"audioSync": "Синхронизация аудио",
+1 -3
View File
@@ -4,9 +4,7 @@
/// To regenerate, run: `dart run slang`
///
/// Locales: 15
/// Strings: 17145 (1143 per locale)
///
/// Built on 2026-05-11 at 02:36 UTC
/// Strings: 17565 (1171 per locale)
// coverage:ignore-file
// ignore_for_file: type=lint, unused_import
+74 -8
View File
@@ -49,6 +49,7 @@ class TranslationsDa extends Translations with BaseTranslations<AppLocale, Trans
@override late final _TranslationsHotkeysDa hotkeys = _TranslationsHotkeysDa._(_root);
@override late final _TranslationsFileInfoDa fileInfo = _TranslationsFileInfoDa._(_root);
@override late final _TranslationsMediaMenuDa mediaMenu = _TranslationsMediaMenuDa._(_root);
@override late final _TranslationsRateSheetDa rateSheet = _TranslationsRateSheetDa._(_root);
@override late final _TranslationsAccessibilityDa accessibility = _TranslationsAccessibilityDa._(_root);
@override late final _TranslationsTooltipsDa tooltips = _TranslationsTooltipsDa._(_root);
@override late final _TranslationsVideoControlsDa videoControls = _TranslationsVideoControlsDa._(_root);
@@ -375,6 +376,12 @@ class _TranslationsSettingsDa extends TranslationsSettingsEn {
@override String get displaySwitchDelay => 'Forsinkelse ved skærmskift';
@override String get tunneledPlayback => 'Tunneleret afspilning';
@override String get tunneledPlaybackDescription => 'Brug videotunneling. Slå fra, hvis HDR-afspilning viser sort video.';
@override String get dvConversionMode => 'Dolby Vision-konvertering';
@override String get dvConversionModeDescription => 'Vælg, hvordan ExoPlayer håndterer Dolby Vision Profile 7-filer.';
@override String get dvConversionAuto => 'Auto';
@override String get dvConversionNative => 'Native / deaktiveret';
@override String get dvConversionDv81 => 'P7 → P8.1';
@override String get dvConversionHevcStrip => 'P7 → HEVC';
@override String get requireProfileSelectionOnOpen => 'Spørg om profil ved åbning';
@override String get requireProfileSelectionOnOpenDescription => 'Vis profilvalg hver gang appen åbnes';
@override String get forceTvMode => 'Gennemtving TV-tilstand';
@@ -481,6 +488,26 @@ class _TranslationsMediaMenuDa extends TranslationsMediaMenuEn {
@override String get playVersion => 'Afspil version...';
}
// Path: rateSheet
class _TranslationsRateSheetDa extends TranslationsRateSheetEn {
_TranslationsRateSheetDa._(TranslationsDa root) : this._root = root, super.internal(root);
final TranslationsDa _root; // ignore: unused_field
// Translations
@override String get title => 'Bedøm';
@override String get server => 'Server';
@override String starValue({required Object rating}) => '${rating} / 5';
@override String scoreValue({required Object score}) => '${score} / 10';
@override String get setScore => 'Angiv en score';
@override String get notRated => 'Ikke bedømt';
@override String get liked => 'Synes godt om';
@override String get notLiked => 'Ikke liket';
@override String get saved => 'Gemt';
@override String get notAvailable => 'Intet match fundet';
@override String get noConnectedTrackers => 'Forbind en tracker i Indstillinger for at bedømme der.';
}
// Path: accessibility
class _TranslationsAccessibilityDa extends TranslationsAccessibilityEn {
_TranslationsAccessibilityDa._(TranslationsDa root) : this._root = root, super.internal(root);
@@ -548,7 +575,7 @@ class _TranslationsVideoControlsDa extends TranslationsVideoControlsEn {
@override String get nextChapterButton => 'Næste kapitel';
@override String get muteButton => 'Lydløs';
@override String get unmuteButton => 'Slå lyd til';
@override String get settingsButton => 'Videoindstillinger';
@override String get settingsButton => 'Afspilningsindstillinger';
@override String get tracksButton => 'Lyd og undertekster';
@override String get chaptersButton => 'Kapitler';
@override String get versionsButton => 'Videoversioner';
@@ -574,6 +601,7 @@ class _TranslationsVideoControlsDa extends TranslationsVideoControlsEn {
@override String endsAt({required Object time}) => 'Slutter kl. ${time}';
@override String get pipActive => 'Afspiller i billede-i-billede';
@override String get pipFailed => 'Billede-i-billede kunne ikke starte';
@override String get screenshotSaved => 'Skærmbillede gemt';
@override late final _TranslationsVideoControlsPipErrorsDa pipErrors = _TranslationsVideoControlsPipErrorsDa._(_root);
@override String get chapters => 'Kapitler';
@override String get noChaptersAvailable => 'Ingen kapitler tilgængelige';
@@ -1274,7 +1302,6 @@ class _TranslationsVideoSettingsDa extends TranslationsVideoSettingsEn {
final TranslationsDa _root; // ignore: unused_field
// Translations
@override String get playbackSettings => 'Afspilningsindstillinger';
@override String get playbackSpeed => 'Afspilningshastighed';
@override String get sleepTimer => 'Sove-timer';
@override String get audioSync => 'Lydsynkronisering';
@@ -1535,6 +1562,7 @@ class _TranslationsHotkeysActionsDa extends TranslationsHotkeysActionsEn {
@override String get subSeekPrev => 'Søg til forrige undertekst';
@override String get shaderToggle => 'Skift shadere';
@override String get skipMarker => 'Spring intro/rulletekster over';
@override String get screenshot => 'Tag skærmbillede';
}
// Path: videoControls.pipErrors
@@ -1606,8 +1634,18 @@ class _TranslationsLibrariesSortLabelsDa extends TranslationsLibrariesSortLabels
@override String get dateAdded => 'Tilføjet dato';
@override String get releaseDate => 'Udgivelsesdato';
@override String get rating => 'Vurdering';
@override String get communityRating => 'Fællesskabsvurdering';
@override String get criticRating => 'Kritikerbedømmelse';
@override String get lastPlayed => 'Sidst afspillet';
@override String get datePlayed => 'Afspilningsdato';
@override String get playCount => 'Antal afspilninger';
@override String get productionYear => 'Produktionsår';
@override String get runtime => 'Spilletid';
@override String get officialRating => 'Officiel vurdering';
@override String get premiereDate => 'Premieredato';
@override String get startDate => 'Startdato';
@override String get airTime => 'Sendetid';
@override String get studio => 'Studie';
@override String get random => 'Tilfældig';
@override String get dateShared => 'Delt dato';
@override String get latestEpisodeAirDate => 'Seneste episodes premieredato';
@@ -2000,6 +2038,12 @@ extension on TranslationsDa {
'settings.displaySwitchDelay' => 'Forsinkelse ved skærmskift',
'settings.tunneledPlayback' => 'Tunneleret afspilning',
'settings.tunneledPlaybackDescription' => 'Brug videotunneling. Slå fra, hvis HDR-afspilning viser sort video.',
'settings.dvConversionMode' => 'Dolby Vision-konvertering',
'settings.dvConversionModeDescription' => 'Vælg, hvordan ExoPlayer håndterer Dolby Vision Profile 7-filer.',
'settings.dvConversionAuto' => 'Auto',
'settings.dvConversionNative' => 'Native / deaktiveret',
'settings.dvConversionDv81' => 'P7 → P8.1',
'settings.dvConversionHevcStrip' => 'P7 → HEVC',
'settings.requireProfileSelectionOnOpen' => 'Spørg om profil ved åbning',
'settings.requireProfileSelectionOnOpenDescription' => 'Vis profilvalg hver gang appen åbnes',
'settings.forceTvMode' => 'Gennemtving TV-tilstand',
@@ -2048,6 +2092,7 @@ extension on TranslationsDa {
'hotkeys.actions.subSeekPrev' => 'Søg til forrige undertekst',
'hotkeys.actions.shaderToggle' => 'Skift shadere',
'hotkeys.actions.skipMarker' => 'Spring intro/rulletekster over',
'hotkeys.actions.screenshot' => 'Tag skærmbillede',
'fileInfo.title' => 'Filinfo',
'fileInfo.video' => 'Video',
'fileInfo.audio' => 'Lyd',
@@ -2088,6 +2133,17 @@ extension on TranslationsDa {
'mediaMenu.rate' => 'Bedøm',
'mediaMenu.playFromBeginning' => 'Afspil fra begyndelsen',
'mediaMenu.playVersion' => 'Afspil version...',
'rateSheet.title' => 'Bedøm',
'rateSheet.server' => 'Server',
'rateSheet.starValue' => ({required Object rating}) => '${rating} / 5',
'rateSheet.scoreValue' => ({required Object score}) => '${score} / 10',
'rateSheet.setScore' => 'Angiv en score',
'rateSheet.notRated' => 'Ikke bedømt',
'rateSheet.liked' => 'Synes godt om',
'rateSheet.notLiked' => 'Ikke liket',
'rateSheet.saved' => 'Gemt',
'rateSheet.notAvailable' => 'Intet match fundet',
'rateSheet.noConnectedTrackers' => 'Forbind en tracker i Indstillinger for at bedømme der.',
'accessibility.mediaCardMovie' => ({required Object title}) => '${title}, film',
'accessibility.mediaCardShow' => ({required Object title}) => '${title}, TV-serie',
'accessibility.mediaCardEpisode' => ({required Object title, required Object episodeInfo}) => '${title}, ${episodeInfo}',
@@ -2130,7 +2186,7 @@ extension on TranslationsDa {
'videoControls.nextChapterButton' => 'Næste kapitel',
'videoControls.muteButton' => 'Lydløs',
'videoControls.unmuteButton' => 'Slå lyd til',
'videoControls.settingsButton' => 'Videoindstillinger',
'videoControls.settingsButton' => 'Afspilningsindstillinger',
'videoControls.tracksButton' => 'Lyd og undertekster',
'videoControls.chaptersButton' => 'Kapitler',
'videoControls.versionsButton' => 'Videoversioner',
@@ -2156,6 +2212,7 @@ extension on TranslationsDa {
'videoControls.endsAt' => ({required Object time}) => 'Slutter kl. ${time}',
'videoControls.pipActive' => 'Afspiller i billede-i-billede',
'videoControls.pipFailed' => 'Billede-i-billede kunne ikke starte',
'videoControls.screenshotSaved' => 'Skærmbillede gemt',
'videoControls.pipErrors.androidVersion' => 'Kræver Android 8.0 eller nyere',
'videoControls.pipErrors.iosVersion' => 'Kræver iOS 15.0 eller nyere',
'videoControls.pipErrors.permissionDisabled' => 'Billede-i-billede er deaktiveret. Slå det til i systemindstillinger.',
@@ -2255,6 +2312,8 @@ extension on TranslationsDa {
'profiles.signOut' => 'Log ud',
'profiles.signOutPlexTitle' => 'Log ud af Plex?',
'profiles.signOutPlexMessage' => ({required Object displayName}) => 'Fjern ${displayName} og alle Plex Home-brugere? Log ind igen når som helst.',
_ => null,
} ?? switch (path) {
'profiles.signedOutPlex' => 'Logget ud af Plex.',
'profiles.signOutFailed' => 'Log ud mislykkedes.',
'profiles.sectionTitle' => 'Profiler',
@@ -2274,8 +2333,6 @@ extension on TranslationsDa {
'profiles.confirmPinTitle' => 'Bekræft PIN',
'profiles.pinSet' => 'PIN angivet',
'profiles.changePin' => 'Skift',
_ => null,
} ?? switch (path) {
'profiles.removePin' => 'Fjern',
'profiles.connectionsLabel' => 'Forbindelser',
'profiles.add' => 'Tilføj',
@@ -2400,8 +2457,18 @@ extension on TranslationsDa {
'libraries.sortLabels.dateAdded' => 'Tilføjet dato',
'libraries.sortLabels.releaseDate' => 'Udgivelsesdato',
'libraries.sortLabels.rating' => 'Vurdering',
'libraries.sortLabels.communityRating' => 'Fællesskabsvurdering',
'libraries.sortLabels.criticRating' => 'Kritikerbedømmelse',
'libraries.sortLabels.lastPlayed' => 'Sidst afspillet',
'libraries.sortLabels.datePlayed' => 'Afspilningsdato',
'libraries.sortLabels.playCount' => 'Antal afspilninger',
'libraries.sortLabels.productionYear' => 'Produktionsår',
'libraries.sortLabels.runtime' => 'Spilletid',
'libraries.sortLabels.officialRating' => 'Officiel vurdering',
'libraries.sortLabels.premiereDate' => 'Premieredato',
'libraries.sortLabels.startDate' => 'Startdato',
'libraries.sortLabels.airTime' => 'Sendetid',
'libraries.sortLabels.studio' => 'Studie',
'libraries.sortLabels.random' => 'Tilfældig',
'libraries.sortLabels.dateShared' => 'Delt dato',
'libraries.sortLabels.latestEpisodeAirDate' => 'Seneste episodes premieredato',
@@ -2719,7 +2786,6 @@ extension on TranslationsDa {
'companionRemote.remote.subtitles' => 'Undertekster',
'companionRemote.remote.audio' => 'Lyd',
'companionRemote.remote.searchHint' => 'Søg på desktop...',
'videoSettings.playbackSettings' => 'Afspilningsindstillinger',
'videoSettings.playbackSpeed' => 'Afspilningshastighed',
'videoSettings.sleepTimer' => 'Sove-timer',
'videoSettings.audioSync' => 'Lydsynkronisering',
@@ -2760,6 +2826,8 @@ extension on TranslationsDa {
'metadataEdit.poster' => 'Plakat',
'metadataEdit.background' => 'Baggrund',
'metadataEdit.logo' => 'Logo',
_ => null,
} ?? switch (path) {
'metadataEdit.squareArt' => 'Kvadratisk billede',
'metadataEdit.selectPoster' => 'Vælg plakat',
'metadataEdit.selectBackground' => 'Vælg baggrund',
@@ -2788,8 +2856,6 @@ extension on TranslationsDa {
'metadataEdit.episodesAddedPastDays' => ({required Object count}) => 'Episoder tilføjet de seneste ${count} dage',
'metadataEdit.deleteAfterPlaying' => 'Slet episoder efter afspilning',
'metadataEdit.never' => 'Aldrig',
_ => null,
} ?? switch (path) {
'metadataEdit.afterADay' => 'Efter en dag',
'metadataEdit.afterAWeek' => 'Efter en uge',
'metadataEdit.afterAMonth' => 'Efter en måned',
+74 -8
View File
@@ -49,6 +49,7 @@ class TranslationsDe extends Translations with BaseTranslations<AppLocale, Trans
@override late final _TranslationsHotkeysDe hotkeys = _TranslationsHotkeysDe._(_root);
@override late final _TranslationsFileInfoDe fileInfo = _TranslationsFileInfoDe._(_root);
@override late final _TranslationsMediaMenuDe mediaMenu = _TranslationsMediaMenuDe._(_root);
@override late final _TranslationsRateSheetDe rateSheet = _TranslationsRateSheetDe._(_root);
@override late final _TranslationsAccessibilityDe accessibility = _TranslationsAccessibilityDe._(_root);
@override late final _TranslationsTooltipsDe tooltips = _TranslationsTooltipsDe._(_root);
@override late final _TranslationsVideoControlsDe videoControls = _TranslationsVideoControlsDe._(_root);
@@ -375,6 +376,12 @@ class _TranslationsSettingsDe extends TranslationsSettingsEn {
@override String get displaySwitchDelay => 'Verzögerung beim Displaywechsel';
@override String get tunneledPlayback => 'Tunnelwiedergabe';
@override String get tunneledPlaybackDescription => 'Video-Tunneling verwenden. Deaktivieren, wenn HDR-Wiedergabe schwarzes Video zeigt.';
@override String get dvConversionMode => 'Dolby-Vision-Konvertierung';
@override String get dvConversionModeDescription => 'Wähle, wie ExoPlayer Dolby-Vision-Profil-7-Dateien behandelt.';
@override String get dvConversionAuto => 'Automatisch';
@override String get dvConversionNative => 'Nativ / deaktiviert';
@override String get dvConversionDv81 => 'P7 → P8.1';
@override String get dvConversionHevcStrip => 'P7 → HEVC';
@override String get requireProfileSelectionOnOpen => 'Profil beim Öffnen abfragen';
@override String get requireProfileSelectionOnOpenDescription => 'Profilauswahl bei jedem Öffnen der App anzeigen';
@override String get forceTvMode => 'TV-Modus erzwingen';
@@ -481,6 +488,26 @@ class _TranslationsMediaMenuDe extends TranslationsMediaMenuEn {
@override String get playVersion => 'Version abspielen...';
}
// Path: rateSheet
class _TranslationsRateSheetDe extends TranslationsRateSheetEn {
_TranslationsRateSheetDe._(TranslationsDe root) : this._root = root, super.internal(root);
final TranslationsDe _root; // ignore: unused_field
// Translations
@override String get title => 'Bewerten';
@override String get server => 'Server';
@override String starValue({required Object rating}) => '${rating} / 5';
@override String scoreValue({required Object score}) => '${score} / 10';
@override String get setScore => 'Eine Wertung festlegen';
@override String get notRated => 'Nicht bewertet';
@override String get liked => 'Gefällt mir';
@override String get notLiked => 'Nicht geliket';
@override String get saved => 'Gespeichert';
@override String get notAvailable => 'Keine Übereinstimmung gefunden';
@override String get noConnectedTrackers => 'Verbinde einen Tracker in den Einstellungen, um dort zu bewerten.';
}
// Path: accessibility
class _TranslationsAccessibilityDe extends TranslationsAccessibilityEn {
_TranslationsAccessibilityDe._(TranslationsDe root) : this._root = root, super.internal(root);
@@ -548,7 +575,7 @@ class _TranslationsVideoControlsDe extends TranslationsVideoControlsEn {
@override String get nextChapterButton => 'Nächstes Kapitel';
@override String get muteButton => 'Stumm schalten';
@override String get unmuteButton => 'Stummschaltung aufheben';
@override String get settingsButton => 'Videoeinstellungen';
@override String get settingsButton => 'Wiedergabeeinstellungen';
@override String get tracksButton => 'Audio und Untertitel';
@override String get chaptersButton => 'Kapitel';
@override String get versionsButton => 'Videoversionen';
@@ -574,6 +601,7 @@ class _TranslationsVideoControlsDe extends TranslationsVideoControlsEn {
@override String endsAt({required Object time}) => 'Endet um ${time}';
@override String get pipActive => 'Wiedergabe im Bild-in-Bild-Modus';
@override String get pipFailed => 'Bild-in-Bild konnte nicht gestartet werden';
@override String get screenshotSaved => 'Screenshot gespeichert';
@override late final _TranslationsVideoControlsPipErrorsDe pipErrors = _TranslationsVideoControlsPipErrorsDe._(_root);
@override String get chapters => 'Kapitel';
@override String get noChaptersAvailable => 'Keine Kapitel verfügbar';
@@ -1274,7 +1302,6 @@ class _TranslationsVideoSettingsDe extends TranslationsVideoSettingsEn {
final TranslationsDe _root; // ignore: unused_field
// Translations
@override String get playbackSettings => 'Wiedergabeeinstellungen';
@override String get playbackSpeed => 'Wiedergabegeschwindigkeit';
@override String get sleepTimer => 'Schlaftimer';
@override String get audioSync => 'Audio-Synchronisation';
@@ -1535,6 +1562,7 @@ class _TranslationsHotkeysActionsDe extends TranslationsHotkeysActionsEn {
@override String get subSeekPrev => 'Zum vorherigen Untertitel springen';
@override String get shaderToggle => 'Shader umschalten';
@override String get skipMarker => 'Intro/Abspann überspringen';
@override String get screenshot => 'Screenshot aufnehmen';
}
// Path: videoControls.pipErrors
@@ -1606,8 +1634,18 @@ class _TranslationsLibrariesSortLabelsDe extends TranslationsLibrariesSortLabels
@override String get dateAdded => 'Hinzugefügt am';
@override String get releaseDate => 'Erscheinungsdatum';
@override String get rating => 'Bewertung';
@override String get communityRating => 'Community-Bewertung';
@override String get criticRating => 'Kritikerbewertung';
@override String get lastPlayed => 'Zuletzt abgespielt';
@override String get datePlayed => 'Wiedergabedatum';
@override String get playCount => 'Wiedergaben';
@override String get productionYear => 'Produktionsjahr';
@override String get runtime => 'Laufzeit';
@override String get officialRating => 'Offizielle Bewertung';
@override String get premiereDate => 'Premierendatum';
@override String get startDate => 'Startdatum';
@override String get airTime => 'Sendezeit';
@override String get studio => 'Studio';
@override String get random => 'Zufällig';
@override String get dateShared => 'Datum geteilt';
@override String get latestEpisodeAirDate => 'Letztes Folgenausstrahlungsdatum';
@@ -2000,6 +2038,12 @@ extension on TranslationsDe {
'settings.displaySwitchDelay' => 'Verzögerung beim Displaywechsel',
'settings.tunneledPlayback' => 'Tunnelwiedergabe',
'settings.tunneledPlaybackDescription' => 'Video-Tunneling verwenden. Deaktivieren, wenn HDR-Wiedergabe schwarzes Video zeigt.',
'settings.dvConversionMode' => 'Dolby-Vision-Konvertierung',
'settings.dvConversionModeDescription' => 'Wähle, wie ExoPlayer Dolby-Vision-Profil-7-Dateien behandelt.',
'settings.dvConversionAuto' => 'Automatisch',
'settings.dvConversionNative' => 'Nativ / deaktiviert',
'settings.dvConversionDv81' => 'P7 → P8.1',
'settings.dvConversionHevcStrip' => 'P7 → HEVC',
'settings.requireProfileSelectionOnOpen' => 'Profil beim Öffnen abfragen',
'settings.requireProfileSelectionOnOpenDescription' => 'Profilauswahl bei jedem Öffnen der App anzeigen',
'settings.forceTvMode' => 'TV-Modus erzwingen',
@@ -2048,6 +2092,7 @@ extension on TranslationsDe {
'hotkeys.actions.subSeekPrev' => 'Zum vorherigen Untertitel springen',
'hotkeys.actions.shaderToggle' => 'Shader umschalten',
'hotkeys.actions.skipMarker' => 'Intro/Abspann überspringen',
'hotkeys.actions.screenshot' => 'Screenshot aufnehmen',
'fileInfo.title' => 'Dateiinfo',
'fileInfo.video' => 'Video',
'fileInfo.audio' => 'Audio',
@@ -2088,6 +2133,17 @@ extension on TranslationsDe {
'mediaMenu.rate' => 'Bewerten',
'mediaMenu.playFromBeginning' => 'Von Anfang an abspielen',
'mediaMenu.playVersion' => 'Version abspielen...',
'rateSheet.title' => 'Bewerten',
'rateSheet.server' => 'Server',
'rateSheet.starValue' => ({required Object rating}) => '${rating} / 5',
'rateSheet.scoreValue' => ({required Object score}) => '${score} / 10',
'rateSheet.setScore' => 'Eine Wertung festlegen',
'rateSheet.notRated' => 'Nicht bewertet',
'rateSheet.liked' => 'Gefällt mir',
'rateSheet.notLiked' => 'Nicht geliket',
'rateSheet.saved' => 'Gespeichert',
'rateSheet.notAvailable' => 'Keine Übereinstimmung gefunden',
'rateSheet.noConnectedTrackers' => 'Verbinde einen Tracker in den Einstellungen, um dort zu bewerten.',
'accessibility.mediaCardMovie' => ({required Object title}) => '${title}, Film',
'accessibility.mediaCardShow' => ({required Object title}) => '${title}, Serie',
'accessibility.mediaCardEpisode' => ({required Object title, required Object episodeInfo}) => '${title}, ${episodeInfo}',
@@ -2130,7 +2186,7 @@ extension on TranslationsDe {
'videoControls.nextChapterButton' => 'Nächstes Kapitel',
'videoControls.muteButton' => 'Stumm schalten',
'videoControls.unmuteButton' => 'Stummschaltung aufheben',
'videoControls.settingsButton' => 'Videoeinstellungen',
'videoControls.settingsButton' => 'Wiedergabeeinstellungen',
'videoControls.tracksButton' => 'Audio und Untertitel',
'videoControls.chaptersButton' => 'Kapitel',
'videoControls.versionsButton' => 'Videoversionen',
@@ -2156,6 +2212,7 @@ extension on TranslationsDe {
'videoControls.endsAt' => ({required Object time}) => 'Endet um ${time}',
'videoControls.pipActive' => 'Wiedergabe im Bild-in-Bild-Modus',
'videoControls.pipFailed' => 'Bild-in-Bild konnte nicht gestartet werden',
'videoControls.screenshotSaved' => 'Screenshot gespeichert',
'videoControls.pipErrors.androidVersion' => 'Erfordert Android 8.0 oder neuer',
'videoControls.pipErrors.iosVersion' => 'Erfordert iOS 15.0 oder neuer',
'videoControls.pipErrors.permissionDisabled' => 'Bild-in-Bild ist deaktiviert. Aktiviere es in den Systemeinstellungen.',
@@ -2255,6 +2312,8 @@ extension on TranslationsDe {
'profiles.signOut' => 'Abmelden',
'profiles.signOutPlexTitle' => 'Von Plex abmelden?',
'profiles.signOutPlexMessage' => ({required Object displayName}) => '${displayName} und alle Plex Home-Benutzer entfernen? Du kannst dich jederzeit wieder anmelden.',
_ => null,
} ?? switch (path) {
'profiles.signedOutPlex' => 'Von Plex abgemeldet.',
'profiles.signOutFailed' => 'Abmeldung fehlgeschlagen.',
'profiles.sectionTitle' => 'Profile',
@@ -2274,8 +2333,6 @@ extension on TranslationsDe {
'profiles.confirmPinTitle' => 'PIN bestätigen',
'profiles.pinSet' => 'PIN festgelegt',
'profiles.changePin' => 'Ändern',
_ => null,
} ?? switch (path) {
'profiles.removePin' => 'Entfernen',
'profiles.connectionsLabel' => 'Verbindungen',
'profiles.add' => 'Hinzufügen',
@@ -2400,8 +2457,18 @@ extension on TranslationsDe {
'libraries.sortLabels.dateAdded' => 'Hinzugefügt am',
'libraries.sortLabels.releaseDate' => 'Erscheinungsdatum',
'libraries.sortLabels.rating' => 'Bewertung',
'libraries.sortLabels.communityRating' => 'Community-Bewertung',
'libraries.sortLabels.criticRating' => 'Kritikerbewertung',
'libraries.sortLabels.lastPlayed' => 'Zuletzt abgespielt',
'libraries.sortLabels.datePlayed' => 'Wiedergabedatum',
'libraries.sortLabels.playCount' => 'Wiedergaben',
'libraries.sortLabels.productionYear' => 'Produktionsjahr',
'libraries.sortLabels.runtime' => 'Laufzeit',
'libraries.sortLabels.officialRating' => 'Offizielle Bewertung',
'libraries.sortLabels.premiereDate' => 'Premierendatum',
'libraries.sortLabels.startDate' => 'Startdatum',
'libraries.sortLabels.airTime' => 'Sendezeit',
'libraries.sortLabels.studio' => 'Studio',
'libraries.sortLabels.random' => 'Zufällig',
'libraries.sortLabels.dateShared' => 'Datum geteilt',
'libraries.sortLabels.latestEpisodeAirDate' => 'Letztes Folgenausstrahlungsdatum',
@@ -2719,7 +2786,6 @@ extension on TranslationsDe {
'companionRemote.remote.subtitles' => 'Untertitel',
'companionRemote.remote.audio' => 'Audio',
'companionRemote.remote.searchHint' => 'Auf Desktop suchen...',
'videoSettings.playbackSettings' => 'Wiedergabeeinstellungen',
'videoSettings.playbackSpeed' => 'Wiedergabegeschwindigkeit',
'videoSettings.sleepTimer' => 'Schlaftimer',
'videoSettings.audioSync' => 'Audio-Synchronisation',
@@ -2760,6 +2826,8 @@ extension on TranslationsDe {
'metadataEdit.poster' => 'Poster',
'metadataEdit.background' => 'Hintergrund',
'metadataEdit.logo' => 'Logo',
_ => null,
} ?? switch (path) {
'metadataEdit.squareArt' => 'Quadratisches Bild',
'metadataEdit.selectPoster' => 'Poster auswählen',
'metadataEdit.selectBackground' => 'Hintergrund auswählen',
@@ -2788,8 +2856,6 @@ extension on TranslationsDe {
'metadataEdit.episodesAddedPastDays' => ({required Object count}) => 'Episoden der letzten ${count} Tage',
'metadataEdit.deleteAfterPlaying' => 'Episoden nach Wiedergabe löschen',
'metadataEdit.never' => 'Nie',
_ => null,
} ?? switch (path) {
'metadataEdit.afterADay' => 'Nach einem Tag',
'metadataEdit.afterAWeek' => 'Nach einer Woche',
'metadataEdit.afterAMonth' => 'Nach einem Monat',
+133 -11
View File
@@ -50,6 +50,7 @@ class Translations with BaseTranslations<AppLocale, Translations> {
late final TranslationsHotkeysEn hotkeys = TranslationsHotkeysEn.internal(_root);
late final TranslationsFileInfoEn fileInfo = TranslationsFileInfoEn.internal(_root);
late final TranslationsMediaMenuEn mediaMenu = TranslationsMediaMenuEn.internal(_root);
late final TranslationsRateSheetEn rateSheet = TranslationsRateSheetEn.internal(_root);
late final TranslationsAccessibilityEn accessibility = TranslationsAccessibilityEn.internal(_root);
late final TranslationsTooltipsEn tooltips = TranslationsTooltipsEn.internal(_root);
late final TranslationsVideoControlsEn videoControls = TranslationsVideoControlsEn.internal(_root);
@@ -853,6 +854,24 @@ class TranslationsSettingsEn {
/// en: 'Use video tunneling. Disable if HDR playback shows black video.'
String get tunneledPlaybackDescription => 'Use video tunneling. Disable if HDR playback shows black video.';
/// en: 'Dolby Vision Conversion'
String get dvConversionMode => 'Dolby Vision Conversion';
/// en: 'Choose how ExoPlayer handles Dolby Vision Profile 7 files.'
String get dvConversionModeDescription => 'Choose how ExoPlayer handles Dolby Vision Profile 7 files.';
/// en: 'Auto'
String get dvConversionAuto => 'Auto';
/// en: 'Native / Disabled'
String get dvConversionNative => 'Native / Disabled';
/// en: 'P7 → P8.1'
String get dvConversionDv81 => 'P7 → P8.1';
/// en: 'P7 → HEVC'
String get dvConversionHevcStrip => 'P7 → HEVC';
/// en: 'Ask for profile on app open'
String get requireProfileSelectionOnOpen => 'Ask for profile on app open';
@@ -1093,6 +1112,48 @@ class TranslationsMediaMenuEn {
String get playVersion => 'Play Version...';
}
// Path: rateSheet
class TranslationsRateSheetEn {
TranslationsRateSheetEn.internal(this._root);
final Translations _root; // ignore: unused_field
// Translations
/// en: 'Rate'
String get title => 'Rate';
/// en: 'Server'
String get server => 'Server';
/// en: '${rating} / 5'
String starValue({required Object rating}) => '${rating} / 5';
/// en: '${score} / 10'
String scoreValue({required Object score}) => '${score} / 10';
/// en: 'Set a score'
String get setScore => 'Set a score';
/// en: 'Not rated'
String get notRated => 'Not rated';
/// en: 'Liked'
String get liked => 'Liked';
/// en: 'Not liked'
String get notLiked => 'Not liked';
/// en: 'Saved'
String get saved => 'Saved';
/// en: 'No match found'
String get notAvailable => 'No match found';
/// en: 'Connect a tracker in Settings to rate there.'
String get noConnectedTrackers => 'Connect a tracker in Settings to rate there.';
}
// Path: accessibility
class TranslationsAccessibilityEn {
TranslationsAccessibilityEn.internal(this._root);
@@ -1245,8 +1306,8 @@ class TranslationsVideoControlsEn {
/// en: 'Unmute'
String get unmuteButton => 'Unmute';
/// en: 'Video settings'
String get settingsButton => 'Video settings';
/// en: 'Playback Settings'
String get settingsButton => 'Playback Settings';
/// en: 'Audio & Subtitles'
String get tracksButton => 'Audio & Subtitles';
@@ -1323,6 +1384,9 @@ class TranslationsVideoControlsEn {
/// en: 'Picture-in-picture failed to start'
String get pipFailed => 'Picture-in-picture failed to start';
/// en: 'Screenshot saved'
String get screenshotSaved => 'Screenshot saved';
late final TranslationsVideoControlsPipErrorsEn pipErrors = TranslationsVideoControlsPipErrorsEn.internal(_root);
/// en: 'Chapters'
@@ -2978,9 +3042,6 @@ class TranslationsVideoSettingsEn {
// Translations
/// en: 'Playback Settings'
String get playbackSettings => 'Playback Settings';
/// en: 'Playback Speed'
String get playbackSpeed => 'Playback Speed';
@@ -3609,6 +3670,9 @@ class TranslationsHotkeysActionsEn {
/// en: 'Skip Intro/Credits'
String get skipMarker => 'Skip Intro/Credits';
/// en: 'Take Screenshot'
String get screenshot => 'Take Screenshot';
}
// Path: videoControls.pipErrors
@@ -3733,12 +3797,42 @@ class TranslationsLibrariesSortLabelsEn {
/// en: 'Rating'
String get rating => 'Rating';
/// en: 'Community Rating'
String get communityRating => 'Community Rating';
/// en: 'Critic Rating'
String get criticRating => 'Critic Rating';
/// en: 'Last Played'
String get lastPlayed => 'Last Played';
/// en: 'Date Played'
String get datePlayed => 'Date Played';
/// en: 'Play Count'
String get playCount => 'Play Count';
/// en: 'Production Year'
String get productionYear => 'Production Year';
/// en: 'Runtime'
String get runtime => 'Runtime';
/// en: 'Official Rating'
String get officialRating => 'Official Rating';
/// en: 'Premiere Date'
String get premiereDate => 'Premiere Date';
/// en: 'Start Date'
String get startDate => 'Start Date';
/// en: 'Air Time'
String get airTime => 'Air Time';
/// en: 'Studio'
String get studio => 'Studio';
/// en: 'Random'
String get random => 'Random';
@@ -4292,6 +4386,12 @@ extension on Translations {
'settings.displaySwitchDelay' => 'Display Switch Delay',
'settings.tunneledPlayback' => 'Tunneled Playback',
'settings.tunneledPlaybackDescription' => 'Use video tunneling. Disable if HDR playback shows black video.',
'settings.dvConversionMode' => 'Dolby Vision Conversion',
'settings.dvConversionModeDescription' => 'Choose how ExoPlayer handles Dolby Vision Profile 7 files.',
'settings.dvConversionAuto' => 'Auto',
'settings.dvConversionNative' => 'Native / Disabled',
'settings.dvConversionDv81' => 'P7 → P8.1',
'settings.dvConversionHevcStrip' => 'P7 → HEVC',
'settings.requireProfileSelectionOnOpen' => 'Ask for profile on app open',
'settings.requireProfileSelectionOnOpenDescription' => 'Show profile selection every time the app is opened',
'settings.forceTvMode' => 'Force TV mode',
@@ -4340,6 +4440,7 @@ extension on Translations {
'hotkeys.actions.subSeekPrev' => 'Seek to Previous Subtitle',
'hotkeys.actions.shaderToggle' => 'Toggle Shaders',
'hotkeys.actions.skipMarker' => 'Skip Intro/Credits',
'hotkeys.actions.screenshot' => 'Take Screenshot',
'fileInfo.title' => 'File Info',
'fileInfo.video' => 'Video',
'fileInfo.audio' => 'Audio',
@@ -4380,6 +4481,17 @@ extension on Translations {
'mediaMenu.rate' => 'Rate',
'mediaMenu.playFromBeginning' => 'Play from Beginning',
'mediaMenu.playVersion' => 'Play Version...',
'rateSheet.title' => 'Rate',
'rateSheet.server' => 'Server',
'rateSheet.starValue' => ({required Object rating}) => '${rating} / 5',
'rateSheet.scoreValue' => ({required Object score}) => '${score} / 10',
'rateSheet.setScore' => 'Set a score',
'rateSheet.notRated' => 'Not rated',
'rateSheet.liked' => 'Liked',
'rateSheet.notLiked' => 'Not liked',
'rateSheet.saved' => 'Saved',
'rateSheet.notAvailable' => 'No match found',
'rateSheet.noConnectedTrackers' => 'Connect a tracker in Settings to rate there.',
'accessibility.mediaCardMovie' => ({required Object title}) => '${title}, movie',
'accessibility.mediaCardShow' => ({required Object title}) => '${title}, TV show',
'accessibility.mediaCardEpisode' => ({required Object title, required Object episodeInfo}) => '${title}, ${episodeInfo}',
@@ -4422,7 +4534,7 @@ extension on Translations {
'videoControls.nextChapterButton' => 'Next chapter',
'videoControls.muteButton' => 'Mute',
'videoControls.unmuteButton' => 'Unmute',
'videoControls.settingsButton' => 'Video settings',
'videoControls.settingsButton' => 'Playback Settings',
'videoControls.tracksButton' => 'Audio & Subtitles',
'videoControls.chaptersButton' => 'Chapters',
'videoControls.versionsButton' => 'Video versions',
@@ -4448,6 +4560,7 @@ extension on Translations {
'videoControls.endsAt' => ({required Object time}) => 'Ends at ${time}',
'videoControls.pipActive' => 'Playing in Picture-in-Picture',
'videoControls.pipFailed' => 'Picture-in-picture failed to start',
'videoControls.screenshotSaved' => 'Screenshot saved',
'videoControls.pipErrors.androidVersion' => 'Requires Android 8.0 or newer',
'videoControls.pipErrors.iosVersion' => 'Requires iOS 15.0 or newer',
'videoControls.pipErrors.permissionDisabled' => 'Picture-in-picture is disabled. Enable it in system settings.',
@@ -4547,6 +4660,8 @@ extension on Translations {
'profiles.signOut' => 'Sign out',
'profiles.signOutPlexTitle' => 'Sign out of Plex?',
'profiles.signOutPlexMessage' => ({required Object displayName}) => 'Remove ${displayName} and all Plex Home users? Sign back in anytime.',
_ => null,
} ?? switch (path) {
'profiles.signedOutPlex' => 'Signed out of Plex.',
'profiles.signOutFailed' => 'Sign out failed.',
'profiles.sectionTitle' => 'Profiles',
@@ -4566,8 +4681,6 @@ extension on Translations {
'profiles.confirmPinTitle' => 'Confirm PIN',
'profiles.pinSet' => 'PIN set',
'profiles.changePin' => 'Change',
_ => null,
} ?? switch (path) {
'profiles.removePin' => 'Remove',
'profiles.connectionsLabel' => 'Connections',
'profiles.add' => 'Add',
@@ -4692,8 +4805,18 @@ extension on Translations {
'libraries.sortLabels.dateAdded' => 'Date Added',
'libraries.sortLabels.releaseDate' => 'Release Date',
'libraries.sortLabels.rating' => 'Rating',
'libraries.sortLabels.communityRating' => 'Community Rating',
'libraries.sortLabels.criticRating' => 'Critic Rating',
'libraries.sortLabels.lastPlayed' => 'Last Played',
'libraries.sortLabels.datePlayed' => 'Date Played',
'libraries.sortLabels.playCount' => 'Play Count',
'libraries.sortLabels.productionYear' => 'Production Year',
'libraries.sortLabels.runtime' => 'Runtime',
'libraries.sortLabels.officialRating' => 'Official Rating',
'libraries.sortLabels.premiereDate' => 'Premiere Date',
'libraries.sortLabels.startDate' => 'Start Date',
'libraries.sortLabels.airTime' => 'Air Time',
'libraries.sortLabels.studio' => 'Studio',
'libraries.sortLabels.random' => 'Random',
'libraries.sortLabels.dateShared' => 'Date Shared',
'libraries.sortLabels.latestEpisodeAirDate' => 'Latest Episode Air Date',
@@ -5011,7 +5134,6 @@ extension on Translations {
'companionRemote.remote.subtitles' => 'Subtitles',
'companionRemote.remote.audio' => 'Audio',
'companionRemote.remote.searchHint' => 'Search on desktop...',
'videoSettings.playbackSettings' => 'Playback Settings',
'videoSettings.playbackSpeed' => 'Playback Speed',
'videoSettings.sleepTimer' => 'Sleep Timer',
'videoSettings.audioSync' => 'Audio Sync',
@@ -5052,6 +5174,8 @@ extension on Translations {
'metadataEdit.poster' => 'Poster',
'metadataEdit.background' => 'Background',
'metadataEdit.logo' => 'Logo',
_ => null,
} ?? switch (path) {
'metadataEdit.squareArt' => 'Square Art',
'metadataEdit.selectPoster' => 'Select Poster',
'metadataEdit.selectBackground' => 'Select Background',
@@ -5080,8 +5204,6 @@ extension on Translations {
'metadataEdit.episodesAddedPastDays' => ({required Object count}) => 'Episodes added in the past ${count} days',
'metadataEdit.deleteAfterPlaying' => 'Delete Episodes After Playing',
'metadataEdit.never' => 'Never',
_ => null,
} ?? switch (path) {
'metadataEdit.afterADay' => 'After a day',
'metadataEdit.afterAWeek' => 'After a week',
'metadataEdit.afterAMonth' => 'After a month',
+74 -8
View File
@@ -49,6 +49,7 @@ class TranslationsEs extends Translations with BaseTranslations<AppLocale, Trans
@override late final _TranslationsHotkeysEs hotkeys = _TranslationsHotkeysEs._(_root);
@override late final _TranslationsFileInfoEs fileInfo = _TranslationsFileInfoEs._(_root);
@override late final _TranslationsMediaMenuEs mediaMenu = _TranslationsMediaMenuEs._(_root);
@override late final _TranslationsRateSheetEs rateSheet = _TranslationsRateSheetEs._(_root);
@override late final _TranslationsAccessibilityEs accessibility = _TranslationsAccessibilityEs._(_root);
@override late final _TranslationsTooltipsEs tooltips = _TranslationsTooltipsEs._(_root);
@override late final _TranslationsVideoControlsEs videoControls = _TranslationsVideoControlsEs._(_root);
@@ -375,6 +376,12 @@ class _TranslationsSettingsEs extends TranslationsSettingsEn {
@override String get displaySwitchDelay => 'Retraso de cambio de pantalla';
@override String get tunneledPlayback => 'Reproducción tunelizada';
@override String get tunneledPlaybackDescription => 'Usar tunelización de video. Desactívala si HDR muestra video negro.';
@override String get dvConversionMode => 'Conversión de Dolby Vision';
@override String get dvConversionModeDescription => 'Elige cómo ExoPlayer gestiona archivos Dolby Vision Profile 7.';
@override String get dvConversionAuto => 'Automático';
@override String get dvConversionNative => 'Nativo / desactivado';
@override String get dvConversionDv81 => 'P7 → P8.1';
@override String get dvConversionHevcStrip => 'P7 → HEVC';
@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 forceTvMode => 'Forzar modo TV';
@@ -481,6 +488,26 @@ class _TranslationsMediaMenuEs extends TranslationsMediaMenuEn {
@override String get playVersion => 'Reproducir versión...';
}
// Path: rateSheet
class _TranslationsRateSheetEs extends TranslationsRateSheetEn {
_TranslationsRateSheetEs._(TranslationsEs root) : this._root = root, super.internal(root);
final TranslationsEs _root; // ignore: unused_field
// Translations
@override String get title => 'Calificar';
@override String get server => 'Servidor';
@override String starValue({required Object rating}) => '${rating} / 5';
@override String scoreValue({required Object score}) => '${score} / 10';
@override String get setScore => 'Establecer puntuación';
@override String get notRated => 'Sin calificar';
@override String get liked => 'Me gusta';
@override String get notLiked => 'Sin Me gusta';
@override String get saved => 'Guardado';
@override String get notAvailable => 'No se encontró coincidencia';
@override String get noConnectedTrackers => 'Conecta un tracker en Ajustes para calificar allí.';
}
// Path: accessibility
class _TranslationsAccessibilityEs extends TranslationsAccessibilityEn {
_TranslationsAccessibilityEs._(TranslationsEs root) : this._root = root, super.internal(root);
@@ -548,7 +575,7 @@ class _TranslationsVideoControlsEs extends TranslationsVideoControlsEn {
@override String get nextChapterButton => 'Capítulo siguiente';
@override String get muteButton => 'Silenciar';
@override String get unmuteButton => 'Activar sonido';
@override String get settingsButton => 'Ajustes de video';
@override String get settingsButton => 'Ajustes de reproducción';
@override String get tracksButton => 'Audio y subtítulos';
@override String get chaptersButton => 'Capítulos';
@override String get versionsButton => 'Versiones de video';
@@ -574,6 +601,7 @@ class _TranslationsVideoControlsEs extends TranslationsVideoControlsEn {
@override String endsAt({required Object time}) => 'Termina a las ${time}';
@override String get pipActive => 'Reproduciendo en Imagen en Imagen';
@override String get pipFailed => 'Error al iniciar Imagen en Imagen';
@override String get screenshotSaved => 'Captura de pantalla guardada';
@override late final _TranslationsVideoControlsPipErrorsEs pipErrors = _TranslationsVideoControlsPipErrorsEs._(_root);
@override String get chapters => 'Capítulos';
@override String get noChaptersAvailable => 'No hay capítulos disponibles';
@@ -1274,7 +1302,6 @@ class _TranslationsVideoSettingsEs extends TranslationsVideoSettingsEn {
final TranslationsEs _root; // ignore: unused_field
// Translations
@override String get playbackSettings => 'Ajustes de reproducción';
@override String get playbackSpeed => 'Velocidad de reproducción';
@override String get sleepTimer => 'Temporizador de apagado';
@override String get audioSync => 'Sincronización de audio';
@@ -1535,6 +1562,7 @@ class _TranslationsHotkeysActionsEs extends TranslationsHotkeysActionsEn {
@override String get subSeekPrev => 'Ir al Anterior Subtítulo';
@override String get shaderToggle => 'Alternar Shaders';
@override String get skipMarker => 'Saltar Intro/Créditos';
@override String get screenshot => 'Tomar captura de pantalla';
}
// Path: videoControls.pipErrors
@@ -1606,8 +1634,18 @@ class _TranslationsLibrariesSortLabelsEs extends TranslationsLibrariesSortLabels
@override String get dateAdded => 'Fecha de adición';
@override String get releaseDate => 'Fecha de estreno';
@override String get rating => 'Valoración';
@override String get communityRating => 'Calificación de comunidad';
@override String get criticRating => 'Calificación de crítica';
@override String get lastPlayed => 'Última reproducción';
@override String get datePlayed => 'Fecha de reproducción';
@override String get playCount => 'Reproducciones';
@override String get productionYear => 'Año de producción';
@override String get runtime => 'Duración';
@override String get officialRating => 'Calificación oficial';
@override String get premiereDate => 'Fecha de estreno';
@override String get startDate => 'Fecha de inicio';
@override String get airTime => 'Hora de emisión';
@override String get studio => 'Estudio';
@override String get random => 'Aleatorio';
@override String get dateShared => 'Fecha de compartición';
@override String get latestEpisodeAirDate => 'Última fecha de emisión del episodio';
@@ -2000,6 +2038,12 @@ extension on TranslationsEs {
'settings.displaySwitchDelay' => 'Retraso de cambio de pantalla',
'settings.tunneledPlayback' => 'Reproducción tunelizada',
'settings.tunneledPlaybackDescription' => 'Usar tunelización de video. Desactívala si HDR muestra video negro.',
'settings.dvConversionMode' => 'Conversión de Dolby Vision',
'settings.dvConversionModeDescription' => 'Elige cómo ExoPlayer gestiona archivos Dolby Vision Profile 7.',
'settings.dvConversionAuto' => 'Automático',
'settings.dvConversionNative' => 'Nativo / desactivado',
'settings.dvConversionDv81' => 'P7 → P8.1',
'settings.dvConversionHevcStrip' => 'P7 → HEVC',
'settings.requireProfileSelectionOnOpen' => 'Pedir perfil al abrir la app',
'settings.requireProfileSelectionOnOpenDescription' => 'Mostrar selección de perfil cada vez que se abre la aplicación',
'settings.forceTvMode' => 'Forzar modo TV',
@@ -2048,6 +2092,7 @@ extension on TranslationsEs {
'hotkeys.actions.subSeekPrev' => 'Ir al Anterior Subtítulo',
'hotkeys.actions.shaderToggle' => 'Alternar Shaders',
'hotkeys.actions.skipMarker' => 'Saltar Intro/Créditos',
'hotkeys.actions.screenshot' => 'Tomar captura de pantalla',
'fileInfo.title' => 'Información del Archivo',
'fileInfo.video' => 'Video',
'fileInfo.audio' => 'Audio',
@@ -2088,6 +2133,17 @@ extension on TranslationsEs {
'mediaMenu.rate' => 'Calificar',
'mediaMenu.playFromBeginning' => 'Reproducir desde el inicio',
'mediaMenu.playVersion' => 'Reproducir versión...',
'rateSheet.title' => 'Calificar',
'rateSheet.server' => 'Servidor',
'rateSheet.starValue' => ({required Object rating}) => '${rating} / 5',
'rateSheet.scoreValue' => ({required Object score}) => '${score} / 10',
'rateSheet.setScore' => 'Establecer puntuación',
'rateSheet.notRated' => 'Sin calificar',
'rateSheet.liked' => 'Me gusta',
'rateSheet.notLiked' => 'Sin Me gusta',
'rateSheet.saved' => 'Guardado',
'rateSheet.notAvailable' => 'No se encontró coincidencia',
'rateSheet.noConnectedTrackers' => 'Conecta un tracker en Ajustes para calificar allí.',
'accessibility.mediaCardMovie' => ({required Object title}) => '${title}, película',
'accessibility.mediaCardShow' => ({required Object title}) => '${title}, serie de TV',
'accessibility.mediaCardEpisode' => ({required Object title, required Object episodeInfo}) => '${title}, ${episodeInfo}',
@@ -2130,7 +2186,7 @@ extension on TranslationsEs {
'videoControls.nextChapterButton' => 'Capítulo siguiente',
'videoControls.muteButton' => 'Silenciar',
'videoControls.unmuteButton' => 'Activar sonido',
'videoControls.settingsButton' => 'Ajustes de video',
'videoControls.settingsButton' => 'Ajustes de reproducción',
'videoControls.tracksButton' => 'Audio y subtítulos',
'videoControls.chaptersButton' => 'Capítulos',
'videoControls.versionsButton' => 'Versiones de video',
@@ -2156,6 +2212,7 @@ extension on TranslationsEs {
'videoControls.endsAt' => ({required Object time}) => 'Termina a las ${time}',
'videoControls.pipActive' => 'Reproduciendo en Imagen en Imagen',
'videoControls.pipFailed' => 'Error al iniciar Imagen en Imagen',
'videoControls.screenshotSaved' => 'Captura de pantalla guardada',
'videoControls.pipErrors.androidVersion' => 'Requiere Android 8.0 o más reciente',
'videoControls.pipErrors.iosVersion' => 'Requiere iOS 15.0 o más reciente',
'videoControls.pipErrors.permissionDisabled' => 'Picture-in-picture está desactivado. Actívalo en los ajustes del sistema.',
@@ -2255,6 +2312,8 @@ extension on TranslationsEs {
'profiles.signOut' => 'Cerrar sesión',
'profiles.signOutPlexTitle' => '¿Cerrar sesión de Plex?',
'profiles.signOutPlexMessage' => ({required Object displayName}) => '¿Eliminar ${displayName} y todos los usuarios de Plex Home? Puedes iniciar sesión de nuevo cuando quieras.',
_ => null,
} ?? switch (path) {
'profiles.signedOutPlex' => 'Sesión de Plex cerrada.',
'profiles.signOutFailed' => 'Error al cerrar sesión.',
'profiles.sectionTitle' => 'Perfiles',
@@ -2274,8 +2333,6 @@ extension on TranslationsEs {
'profiles.confirmPinTitle' => 'Confirmar PIN',
'profiles.pinSet' => 'PIN establecido',
'profiles.changePin' => 'Cambiar',
_ => null,
} ?? switch (path) {
'profiles.removePin' => 'Eliminar',
'profiles.connectionsLabel' => 'Conexiones',
'profiles.add' => 'Añadir',
@@ -2400,8 +2457,18 @@ extension on TranslationsEs {
'libraries.sortLabels.dateAdded' => 'Fecha de adición',
'libraries.sortLabels.releaseDate' => 'Fecha de estreno',
'libraries.sortLabels.rating' => 'Valoración',
'libraries.sortLabels.communityRating' => 'Calificación de comunidad',
'libraries.sortLabels.criticRating' => 'Calificación de crítica',
'libraries.sortLabels.lastPlayed' => 'Última reproducción',
'libraries.sortLabels.datePlayed' => 'Fecha de reproducción',
'libraries.sortLabels.playCount' => 'Reproducciones',
'libraries.sortLabels.productionYear' => 'Año de producción',
'libraries.sortLabels.runtime' => 'Duración',
'libraries.sortLabels.officialRating' => 'Calificación oficial',
'libraries.sortLabels.premiereDate' => 'Fecha de estreno',
'libraries.sortLabels.startDate' => 'Fecha de inicio',
'libraries.sortLabels.airTime' => 'Hora de emisión',
'libraries.sortLabels.studio' => 'Estudio',
'libraries.sortLabels.random' => 'Aleatorio',
'libraries.sortLabels.dateShared' => 'Fecha de compartición',
'libraries.sortLabels.latestEpisodeAirDate' => 'Última fecha de emisión del episodio',
@@ -2719,7 +2786,6 @@ extension on TranslationsEs {
'companionRemote.remote.subtitles' => 'Subtítulos',
'companionRemote.remote.audio' => 'Audio',
'companionRemote.remote.searchHint' => 'Buscar en escritorio...',
'videoSettings.playbackSettings' => 'Ajustes de reproducción',
'videoSettings.playbackSpeed' => 'Velocidad de reproducción',
'videoSettings.sleepTimer' => 'Temporizador de apagado',
'videoSettings.audioSync' => 'Sincronización de audio',
@@ -2760,6 +2826,8 @@ extension on TranslationsEs {
'metadataEdit.poster' => 'Póster',
'metadataEdit.background' => 'Fondo',
'metadataEdit.logo' => 'Logo',
_ => null,
} ?? switch (path) {
'metadataEdit.squareArt' => 'Imagen cuadrada',
'metadataEdit.selectPoster' => 'Seleccionar póster',
'metadataEdit.selectBackground' => 'Seleccionar fondo',
@@ -2788,8 +2856,6 @@ extension on TranslationsEs {
'metadataEdit.episodesAddedPastDays' => ({required Object count}) => 'Episodios añadidos en los últimos ${count} días',
'metadataEdit.deleteAfterPlaying' => 'Eliminar episodios después de reproducir',
'metadataEdit.never' => 'Nunca',
_ => null,
} ?? switch (path) {
'metadataEdit.afterADay' => 'Después de un día',
'metadataEdit.afterAWeek' => 'Después de una semana',
'metadataEdit.afterAMonth' => 'Después de un mes',
+74 -8
View File
@@ -49,6 +49,7 @@ class TranslationsFr extends Translations with BaseTranslations<AppLocale, Trans
@override late final _TranslationsHotkeysFr hotkeys = _TranslationsHotkeysFr._(_root);
@override late final _TranslationsFileInfoFr fileInfo = _TranslationsFileInfoFr._(_root);
@override late final _TranslationsMediaMenuFr mediaMenu = _TranslationsMediaMenuFr._(_root);
@override late final _TranslationsRateSheetFr rateSheet = _TranslationsRateSheetFr._(_root);
@override late final _TranslationsAccessibilityFr accessibility = _TranslationsAccessibilityFr._(_root);
@override late final _TranslationsTooltipsFr tooltips = _TranslationsTooltipsFr._(_root);
@override late final _TranslationsVideoControlsFr videoControls = _TranslationsVideoControlsFr._(_root);
@@ -375,6 +376,12 @@ class _TranslationsSettingsFr extends TranslationsSettingsEn {
@override String get displaySwitchDelay => 'Délai de changement d\'affichage';
@override String get tunneledPlayback => 'Lecture tunnelée';
@override String get tunneledPlaybackDescription => 'Utiliser le tunneling vidéo. Désactivez si la lecture HDR affiche un écran noir.';
@override String get dvConversionMode => 'Conversion Dolby Vision';
@override String get dvConversionModeDescription => 'Choisissez comment ExoPlayer gère les fichiers Dolby Vision Profile 7.';
@override String get dvConversionAuto => 'Auto';
@override String get dvConversionNative => 'Natif / désactivé';
@override String get dvConversionDv81 => 'P7 → P8.1';
@override String get dvConversionHevcStrip => 'P7 → HEVC';
@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 forceTvMode => 'Forcer le mode TV';
@@ -481,6 +488,26 @@ class _TranslationsMediaMenuFr extends TranslationsMediaMenuEn {
@override String get playVersion => 'Lire la version...';
}
// Path: rateSheet
class _TranslationsRateSheetFr extends TranslationsRateSheetEn {
_TranslationsRateSheetFr._(TranslationsFr root) : this._root = root, super.internal(root);
final TranslationsFr _root; // ignore: unused_field
// Translations
@override String get title => 'Noter';
@override String get server => 'Serveur';
@override String starValue({required Object rating}) => '${rating} / 5';
@override String scoreValue({required Object score}) => '${score} / 10';
@override String get setScore => 'Définir une note';
@override String get notRated => 'Non noté';
@override String get liked => 'Aimé';
@override String get notLiked => 'Non aimé';
@override String get saved => 'Enregistré';
@override String get notAvailable => 'Aucune correspondance trouvée';
@override String get noConnectedTrackers => 'Connectez un tracker dans Paramètres pour y noter.';
}
// Path: accessibility
class _TranslationsAccessibilityFr extends TranslationsAccessibilityEn {
_TranslationsAccessibilityFr._(TranslationsFr root) : this._root = root, super.internal(root);
@@ -548,7 +575,7 @@ class _TranslationsVideoControlsFr extends TranslationsVideoControlsEn {
@override String get nextChapterButton => 'Chapitre suivant';
@override String get muteButton => 'Mute';
@override String get unmuteButton => 'Dé-mute';
@override String get settingsButton => 'Paramètres vidéo';
@override String get settingsButton => 'Paramètres de lecture';
@override String get tracksButton => 'Audio et sous-titres';
@override String get chaptersButton => 'Chapitres';
@override String get versionsButton => 'Versions vidéo';
@@ -574,6 +601,7 @@ class _TranslationsVideoControlsFr extends TranslationsVideoControlsEn {
@override String endsAt({required Object time}) => 'Fin à ${time}';
@override String get pipActive => 'Lecture en mode image dans l\'image';
@override String get pipFailed => 'Échec du démarrage du mode image dans l\'image';
@override String get screenshotSaved => 'Capture d\'écran enregistrée';
@override late final _TranslationsVideoControlsPipErrorsFr pipErrors = _TranslationsVideoControlsPipErrorsFr._(_root);
@override String get chapters => 'Chapitres';
@override String get noChaptersAvailable => 'Aucun chapitre disponible';
@@ -1274,7 +1302,6 @@ class _TranslationsVideoSettingsFr extends TranslationsVideoSettingsEn {
final TranslationsFr _root; // ignore: unused_field
// Translations
@override String get playbackSettings => 'Paramètres de lecture';
@override String get playbackSpeed => 'Vitesse de lecture';
@override String get sleepTimer => 'Minuterie de mise en veille';
@override String get audioSync => 'Synchronisation audio';
@@ -1535,6 +1562,7 @@ class _TranslationsHotkeysActionsFr extends TranslationsHotkeysActionsEn {
@override String get subSeekPrev => 'Rechercher le sous-titre précédent';
@override String get shaderToggle => 'Activer/désactiver les shaders';
@override String get skipMarker => 'Passer l\'intro/le générique';
@override String get screenshot => 'Prendre une capture d\'écran';
}
// Path: videoControls.pipErrors
@@ -1606,8 +1634,18 @@ class _TranslationsLibrariesSortLabelsFr extends TranslationsLibrariesSortLabels
@override String get dateAdded => 'Date d\'ajout';
@override String get releaseDate => 'Date de sortie';
@override String get rating => 'Note';
@override String get communityRating => 'Note communautaire';
@override String get criticRating => 'Note critique';
@override String get lastPlayed => 'Dernière lecture';
@override String get datePlayed => 'Date de lecture';
@override String get playCount => 'Lectures';
@override String get productionYear => 'Année de production';
@override String get runtime => 'Durée';
@override String get officialRating => 'Classification officielle';
@override String get premiereDate => 'Date de première';
@override String get startDate => 'Date de début';
@override String get airTime => 'Heure de diffusion';
@override String get studio => 'Studio';
@override String get random => 'Aléatoire';
@override String get dateShared => 'Date de partage';
@override String get latestEpisodeAirDate => 'Dernière date de diffusion';
@@ -2000,6 +2038,12 @@ extension on TranslationsFr {
'settings.displaySwitchDelay' => 'Délai de changement d\'affichage',
'settings.tunneledPlayback' => 'Lecture tunnelée',
'settings.tunneledPlaybackDescription' => 'Utiliser le tunneling vidéo. Désactivez si la lecture HDR affiche un écran noir.',
'settings.dvConversionMode' => 'Conversion Dolby Vision',
'settings.dvConversionModeDescription' => 'Choisissez comment ExoPlayer gère les fichiers Dolby Vision Profile 7.',
'settings.dvConversionAuto' => 'Auto',
'settings.dvConversionNative' => 'Natif / désactivé',
'settings.dvConversionDv81' => 'P7 → P8.1',
'settings.dvConversionHevcStrip' => 'P7 → HEVC',
'settings.requireProfileSelectionOnOpen' => 'Demander le profil à l\'ouverture',
'settings.requireProfileSelectionOnOpenDescription' => 'Afficher la sélection de profil à chaque ouverture de l\'application',
'settings.forceTvMode' => 'Forcer le mode TV',
@@ -2048,6 +2092,7 @@ extension on TranslationsFr {
'hotkeys.actions.subSeekPrev' => 'Rechercher le sous-titre précédent',
'hotkeys.actions.shaderToggle' => 'Activer/désactiver les shaders',
'hotkeys.actions.skipMarker' => 'Passer l\'intro/le générique',
'hotkeys.actions.screenshot' => 'Prendre une capture d\'écran',
'fileInfo.title' => 'Informations sur le fichier',
'fileInfo.video' => 'Vidéo',
'fileInfo.audio' => 'Audio',
@@ -2088,6 +2133,17 @@ extension on TranslationsFr {
'mediaMenu.rate' => 'Noter',
'mediaMenu.playFromBeginning' => 'Lire depuis le début',
'mediaMenu.playVersion' => 'Lire la version...',
'rateSheet.title' => 'Noter',
'rateSheet.server' => 'Serveur',
'rateSheet.starValue' => ({required Object rating}) => '${rating} / 5',
'rateSheet.scoreValue' => ({required Object score}) => '${score} / 10',
'rateSheet.setScore' => 'Définir une note',
'rateSheet.notRated' => 'Non noté',
'rateSheet.liked' => 'Aimé',
'rateSheet.notLiked' => 'Non aimé',
'rateSheet.saved' => 'Enregistré',
'rateSheet.notAvailable' => 'Aucune correspondance trouvée',
'rateSheet.noConnectedTrackers' => 'Connectez un tracker dans Paramètres pour y noter.',
'accessibility.mediaCardMovie' => ({required Object title}) => '${title}, film',
'accessibility.mediaCardShow' => ({required Object title}) => '${title}, show TV',
'accessibility.mediaCardEpisode' => ({required Object title, required Object episodeInfo}) => '${title}, ${episodeInfo}',
@@ -2130,7 +2186,7 @@ extension on TranslationsFr {
'videoControls.nextChapterButton' => 'Chapitre suivant',
'videoControls.muteButton' => 'Mute',
'videoControls.unmuteButton' => 'Dé-mute',
'videoControls.settingsButton' => 'Paramètres vidéo',
'videoControls.settingsButton' => 'Paramètres de lecture',
'videoControls.tracksButton' => 'Audio et sous-titres',
'videoControls.chaptersButton' => 'Chapitres',
'videoControls.versionsButton' => 'Versions vidéo',
@@ -2156,6 +2212,7 @@ extension on TranslationsFr {
'videoControls.endsAt' => ({required Object time}) => 'Fin à ${time}',
'videoControls.pipActive' => 'Lecture en mode image dans l\'image',
'videoControls.pipFailed' => 'Échec du démarrage du mode image dans l\'image',
'videoControls.screenshotSaved' => 'Capture d\'écran enregistrée',
'videoControls.pipErrors.androidVersion' => 'Nécessite Android 8.0 ou plus récent',
'videoControls.pipErrors.iosVersion' => 'Nécessite iOS 15.0 ou plus récent',
'videoControls.pipErrors.permissionDisabled' => 'Picture-in-picture est désactivé. Activez-le dans les paramètres système.',
@@ -2255,6 +2312,8 @@ extension on TranslationsFr {
'profiles.signOut' => 'Se déconnecter',
'profiles.signOutPlexTitle' => 'Se déconnecter de Plex ?',
'profiles.signOutPlexMessage' => ({required Object displayName}) => 'Supprimer ${displayName} et tous les utilisateurs Plex Home ? Reconnexion possible à tout moment.',
_ => null,
} ?? switch (path) {
'profiles.signedOutPlex' => 'Déconnecté de Plex.',
'profiles.signOutFailed' => 'Échec de la déconnexion.',
'profiles.sectionTitle' => 'Profils',
@@ -2274,8 +2333,6 @@ extension on TranslationsFr {
'profiles.confirmPinTitle' => 'Confirmer le PIN',
'profiles.pinSet' => 'PIN défini',
'profiles.changePin' => 'Modifier',
_ => null,
} ?? switch (path) {
'profiles.removePin' => 'Retirer',
'profiles.connectionsLabel' => 'Connexions',
'profiles.add' => 'Ajouter',
@@ -2400,8 +2457,18 @@ extension on TranslationsFr {
'libraries.sortLabels.dateAdded' => 'Date d\'ajout',
'libraries.sortLabels.releaseDate' => 'Date de sortie',
'libraries.sortLabels.rating' => 'Note',
'libraries.sortLabels.communityRating' => 'Note communautaire',
'libraries.sortLabels.criticRating' => 'Note critique',
'libraries.sortLabels.lastPlayed' => 'Dernière lecture',
'libraries.sortLabels.datePlayed' => 'Date de lecture',
'libraries.sortLabels.playCount' => 'Lectures',
'libraries.sortLabels.productionYear' => 'Année de production',
'libraries.sortLabels.runtime' => 'Durée',
'libraries.sortLabels.officialRating' => 'Classification officielle',
'libraries.sortLabels.premiereDate' => 'Date de première',
'libraries.sortLabels.startDate' => 'Date de début',
'libraries.sortLabels.airTime' => 'Heure de diffusion',
'libraries.sortLabels.studio' => 'Studio',
'libraries.sortLabels.random' => 'Aléatoire',
'libraries.sortLabels.dateShared' => 'Date de partage',
'libraries.sortLabels.latestEpisodeAirDate' => 'Dernière date de diffusion',
@@ -2719,7 +2786,6 @@ extension on TranslationsFr {
'companionRemote.remote.subtitles' => 'Sous-titres',
'companionRemote.remote.audio' => 'Audio',
'companionRemote.remote.searchHint' => 'Rechercher sur le bureau...',
'videoSettings.playbackSettings' => 'Paramètres de lecture',
'videoSettings.playbackSpeed' => 'Vitesse de lecture',
'videoSettings.sleepTimer' => 'Minuterie de mise en veille',
'videoSettings.audioSync' => 'Synchronisation audio',
@@ -2760,6 +2826,8 @@ extension on TranslationsFr {
'metadataEdit.poster' => 'Affiche',
'metadataEdit.background' => 'Arrière-plan',
'metadataEdit.logo' => 'Logo',
_ => null,
} ?? switch (path) {
'metadataEdit.squareArt' => 'Image carrée',
'metadataEdit.selectPoster' => 'Sélectionner l\'affiche',
'metadataEdit.selectBackground' => 'Sélectionner l\'arrière-plan',
@@ -2788,8 +2856,6 @@ extension on TranslationsFr {
'metadataEdit.episodesAddedPastDays' => ({required Object count}) => 'Épisodes ajoutés ces ${count} derniers jours',
'metadataEdit.deleteAfterPlaying' => 'Supprimer les épisodes après lecture',
'metadataEdit.never' => 'Jamais',
_ => null,
} ?? switch (path) {
'metadataEdit.afterADay' => 'Après un jour',
'metadataEdit.afterAWeek' => 'Après une semaine',
'metadataEdit.afterAMonth' => 'Après un mois',
+74 -8
View File
@@ -49,6 +49,7 @@ class TranslationsIt extends Translations with BaseTranslations<AppLocale, Trans
@override late final _TranslationsHotkeysIt hotkeys = _TranslationsHotkeysIt._(_root);
@override late final _TranslationsFileInfoIt fileInfo = _TranslationsFileInfoIt._(_root);
@override late final _TranslationsMediaMenuIt mediaMenu = _TranslationsMediaMenuIt._(_root);
@override late final _TranslationsRateSheetIt rateSheet = _TranslationsRateSheetIt._(_root);
@override late final _TranslationsAccessibilityIt accessibility = _TranslationsAccessibilityIt._(_root);
@override late final _TranslationsTooltipsIt tooltips = _TranslationsTooltipsIt._(_root);
@override late final _TranslationsVideoControlsIt videoControls = _TranslationsVideoControlsIt._(_root);
@@ -375,6 +376,12 @@ class _TranslationsSettingsIt extends TranslationsSettingsEn {
@override String get displaySwitchDelay => 'Ritardo cambio display';
@override String get tunneledPlayback => 'Riproduzione tunnelizzata';
@override String get tunneledPlaybackDescription => 'Usa tunneling video. Disattiva se la riproduzione HDR mostra video nero.';
@override String get dvConversionMode => 'Conversione Dolby Vision';
@override String get dvConversionModeDescription => 'Scegli come ExoPlayer gestisce i file Dolby Vision Profile 7.';
@override String get dvConversionAuto => 'Auto';
@override String get dvConversionNative => 'Nativo / disattivato';
@override String get dvConversionDv81 => 'P7 → P8.1';
@override String get dvConversionHevcStrip => 'P7 → HEVC';
@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 forceTvMode => 'Forza modalità TV';
@@ -481,6 +488,26 @@ class _TranslationsMediaMenuIt extends TranslationsMediaMenuEn {
@override String get playVersion => 'Riproduci versione...';
}
// Path: rateSheet
class _TranslationsRateSheetIt extends TranslationsRateSheetEn {
_TranslationsRateSheetIt._(TranslationsIt root) : this._root = root, super.internal(root);
final TranslationsIt _root; // ignore: unused_field
// Translations
@override String get title => 'Valuta';
@override String get server => 'Server';
@override String starValue({required Object rating}) => '${rating} / 5';
@override String scoreValue({required Object score}) => '${score} / 10';
@override String get setScore => 'Imposta un punteggio';
@override String get notRated => 'Non valutato';
@override String get liked => 'Mi piace';
@override String get notLiked => 'Non contrassegnato con Mi piace';
@override String get saved => 'Salvato';
@override String get notAvailable => 'Nessuna corrispondenza trovata';
@override String get noConnectedTrackers => 'Collega un tracker in Impostazioni per valutarlo lì.';
}
// Path: accessibility
class _TranslationsAccessibilityIt extends TranslationsAccessibilityEn {
_TranslationsAccessibilityIt._(TranslationsIt root) : this._root = root, super.internal(root);
@@ -548,7 +575,7 @@ class _TranslationsVideoControlsIt extends TranslationsVideoControlsEn {
@override String get nextChapterButton => 'Capitolo successivo';
@override String get muteButton => 'Silenzia';
@override String get unmuteButton => 'Riattiva audio';
@override String get settingsButton => 'Impostazioni video';
@override String get settingsButton => 'Impostazioni di riproduzione';
@override String get tracksButton => 'Audio e sottotitoli';
@override String get chaptersButton => 'Capitoli';
@override String get versionsButton => 'Versioni video';
@@ -574,6 +601,7 @@ class _TranslationsVideoControlsIt extends TranslationsVideoControlsEn {
@override String endsAt({required Object time}) => 'Finisce alle ${time}';
@override String get pipActive => 'Riproduzione in Picture-in-Picture';
@override String get pipFailed => 'Impossibile avviare la modalità Picture-in-Picture';
@override String get screenshotSaved => 'Schermata salvata';
@override late final _TranslationsVideoControlsPipErrorsIt pipErrors = _TranslationsVideoControlsPipErrorsIt._(_root);
@override String get chapters => 'Capitoli';
@override String get noChaptersAvailable => 'Nessun capitolo disponibile';
@@ -1274,7 +1302,6 @@ class _TranslationsVideoSettingsIt extends TranslationsVideoSettingsEn {
final TranslationsIt _root; // ignore: unused_field
// Translations
@override String get playbackSettings => 'Impostazioni di riproduzione';
@override String get playbackSpeed => 'Velocità di riproduzione';
@override String get sleepTimer => 'Timer di spegnimento';
@override String get audioSync => 'Sincronizzazione audio';
@@ -1535,6 +1562,7 @@ class _TranslationsHotkeysActionsIt extends TranslationsHotkeysActionsEn {
@override String get subSeekPrev => 'Vai al sottotitolo precedente';
@override String get shaderToggle => 'Attiva/disattiva shader';
@override String get skipMarker => 'Salta intro/titoli di coda';
@override String get screenshot => 'Cattura schermata';
}
// Path: videoControls.pipErrors
@@ -1606,8 +1634,18 @@ class _TranslationsLibrariesSortLabelsIt extends TranslationsLibrariesSortLabels
@override String get dateAdded => 'Data di aggiunta';
@override String get releaseDate => 'Data di uscita';
@override String get rating => 'Valutazione';
@override String get communityRating => 'Valutazione della community';
@override String get criticRating => 'Valutazione critica';
@override String get lastPlayed => 'Ultima riproduzione';
@override String get datePlayed => 'Data di riproduzione';
@override String get playCount => 'Riproduzioni';
@override String get productionYear => 'Anno di produzione';
@override String get runtime => 'Durata';
@override String get officialRating => 'Classificazione ufficiale';
@override String get premiereDate => 'Data di première';
@override String get startDate => 'Data di inizio';
@override String get airTime => 'Orario di messa in onda';
@override String get studio => 'Studio';
@override String get random => 'Casuale';
@override String get dateShared => 'Data di condivisione';
@override String get latestEpisodeAirDate => 'Data ultima messa in onda';
@@ -2000,6 +2038,12 @@ extension on TranslationsIt {
'settings.displaySwitchDelay' => 'Ritardo cambio display',
'settings.tunneledPlayback' => 'Riproduzione tunnelizzata',
'settings.tunneledPlaybackDescription' => 'Usa tunneling video. Disattiva se la riproduzione HDR mostra video nero.',
'settings.dvConversionMode' => 'Conversione Dolby Vision',
'settings.dvConversionModeDescription' => 'Scegli come ExoPlayer gestisce i file Dolby Vision Profile 7.',
'settings.dvConversionAuto' => 'Auto',
'settings.dvConversionNative' => 'Nativo / disattivato',
'settings.dvConversionDv81' => 'P7 → P8.1',
'settings.dvConversionHevcStrip' => 'P7 → HEVC',
'settings.requireProfileSelectionOnOpen' => 'Chiedi profilo all\'apertura',
'settings.requireProfileSelectionOnOpenDescription' => 'Mostra la selezione del profilo ogni volta che l\'app viene aperta',
'settings.forceTvMode' => 'Forza modalità TV',
@@ -2048,6 +2092,7 @@ extension on TranslationsIt {
'hotkeys.actions.subSeekPrev' => 'Vai al sottotitolo precedente',
'hotkeys.actions.shaderToggle' => 'Attiva/disattiva shader',
'hotkeys.actions.skipMarker' => 'Salta intro/titoli di coda',
'hotkeys.actions.screenshot' => 'Cattura schermata',
'fileInfo.title' => 'Info sul file',
'fileInfo.video' => 'Video',
'fileInfo.audio' => 'Audio',
@@ -2088,6 +2133,17 @@ extension on TranslationsIt {
'mediaMenu.rate' => 'Valuta',
'mediaMenu.playFromBeginning' => 'Riproduci dall\'inizio',
'mediaMenu.playVersion' => 'Riproduci versione...',
'rateSheet.title' => 'Valuta',
'rateSheet.server' => 'Server',
'rateSheet.starValue' => ({required Object rating}) => '${rating} / 5',
'rateSheet.scoreValue' => ({required Object score}) => '${score} / 10',
'rateSheet.setScore' => 'Imposta un punteggio',
'rateSheet.notRated' => 'Non valutato',
'rateSheet.liked' => 'Mi piace',
'rateSheet.notLiked' => 'Non contrassegnato con Mi piace',
'rateSheet.saved' => 'Salvato',
'rateSheet.notAvailable' => 'Nessuna corrispondenza trovata',
'rateSheet.noConnectedTrackers' => 'Collega un tracker in Impostazioni per valutarlo lì.',
'accessibility.mediaCardMovie' => ({required Object title}) => '${title}, film',
'accessibility.mediaCardShow' => ({required Object title}) => '${title}, serie TV',
'accessibility.mediaCardEpisode' => ({required Object title, required Object episodeInfo}) => '${title}, ${episodeInfo}',
@@ -2130,7 +2186,7 @@ extension on TranslationsIt {
'videoControls.nextChapterButton' => 'Capitolo successivo',
'videoControls.muteButton' => 'Silenzia',
'videoControls.unmuteButton' => 'Riattiva audio',
'videoControls.settingsButton' => 'Impostazioni video',
'videoControls.settingsButton' => 'Impostazioni di riproduzione',
'videoControls.tracksButton' => 'Audio e sottotitoli',
'videoControls.chaptersButton' => 'Capitoli',
'videoControls.versionsButton' => 'Versioni video',
@@ -2156,6 +2212,7 @@ extension on TranslationsIt {
'videoControls.endsAt' => ({required Object time}) => 'Finisce alle ${time}',
'videoControls.pipActive' => 'Riproduzione in Picture-in-Picture',
'videoControls.pipFailed' => 'Impossibile avviare la modalità Picture-in-Picture',
'videoControls.screenshotSaved' => 'Schermata salvata',
'videoControls.pipErrors.androidVersion' => 'Richiede Android 8.0 o versioni successive',
'videoControls.pipErrors.iosVersion' => 'Richiede iOS 15.0 o versioni successive',
'videoControls.pipErrors.permissionDisabled' => 'Picture-in-picture è disattivato. Attivalo nelle impostazioni di sistema.',
@@ -2255,6 +2312,8 @@ extension on TranslationsIt {
'profiles.signOut' => 'Esci',
'profiles.signOutPlexTitle' => 'Uscire da Plex?',
'profiles.signOutPlexMessage' => ({required Object displayName}) => 'Rimuovere ${displayName} e tutti gli utenti Plex Home? Puoi accedere di nuovo quando vuoi.',
_ => null,
} ?? switch (path) {
'profiles.signedOutPlex' => 'Uscito da Plex.',
'profiles.signOutFailed' => 'Uscita non riuscita.',
'profiles.sectionTitle' => 'Profili',
@@ -2274,8 +2333,6 @@ extension on TranslationsIt {
'profiles.confirmPinTitle' => 'Conferma PIN',
'profiles.pinSet' => 'PIN impostato',
'profiles.changePin' => 'Cambia',
_ => null,
} ?? switch (path) {
'profiles.removePin' => 'Rimuovi',
'profiles.connectionsLabel' => 'Connessioni',
'profiles.add' => 'Aggiungi',
@@ -2400,8 +2457,18 @@ extension on TranslationsIt {
'libraries.sortLabels.dateAdded' => 'Data di aggiunta',
'libraries.sortLabels.releaseDate' => 'Data di uscita',
'libraries.sortLabels.rating' => 'Valutazione',
'libraries.sortLabels.communityRating' => 'Valutazione della community',
'libraries.sortLabels.criticRating' => 'Valutazione critica',
'libraries.sortLabels.lastPlayed' => 'Ultima riproduzione',
'libraries.sortLabels.datePlayed' => 'Data di riproduzione',
'libraries.sortLabels.playCount' => 'Riproduzioni',
'libraries.sortLabels.productionYear' => 'Anno di produzione',
'libraries.sortLabels.runtime' => 'Durata',
'libraries.sortLabels.officialRating' => 'Classificazione ufficiale',
'libraries.sortLabels.premiereDate' => 'Data di première',
'libraries.sortLabels.startDate' => 'Data di inizio',
'libraries.sortLabels.airTime' => 'Orario di messa in onda',
'libraries.sortLabels.studio' => 'Studio',
'libraries.sortLabels.random' => 'Casuale',
'libraries.sortLabels.dateShared' => 'Data di condivisione',
'libraries.sortLabels.latestEpisodeAirDate' => 'Data ultima messa in onda',
@@ -2719,7 +2786,6 @@ extension on TranslationsIt {
'companionRemote.remote.subtitles' => 'Sottotitoli',
'companionRemote.remote.audio' => 'Audio',
'companionRemote.remote.searchHint' => 'Cerca sul desktop...',
'videoSettings.playbackSettings' => 'Impostazioni di riproduzione',
'videoSettings.playbackSpeed' => 'Velocità di riproduzione',
'videoSettings.sleepTimer' => 'Timer di spegnimento',
'videoSettings.audioSync' => 'Sincronizzazione audio',
@@ -2760,6 +2826,8 @@ extension on TranslationsIt {
'metadataEdit.poster' => 'Poster',
'metadataEdit.background' => 'Sfondo',
'metadataEdit.logo' => 'Logo',
_ => null,
} ?? switch (path) {
'metadataEdit.squareArt' => 'Immagine quadrata',
'metadataEdit.selectPoster' => 'Seleziona poster',
'metadataEdit.selectBackground' => 'Seleziona sfondo',
@@ -2788,8 +2856,6 @@ extension on TranslationsIt {
'metadataEdit.episodesAddedPastDays' => ({required Object count}) => 'Episodi aggiunti negli ultimi ${count} giorni',
'metadataEdit.deleteAfterPlaying' => 'Elimina episodi dopo la riproduzione',
'metadataEdit.never' => 'Mai',
_ => null,
} ?? switch (path) {
'metadataEdit.afterADay' => 'Dopo un giorno',
'metadataEdit.afterAWeek' => 'Dopo una settimana',
'metadataEdit.afterAMonth' => 'Dopo un mese',
+74 -8
View File
@@ -49,6 +49,7 @@ class TranslationsJa extends Translations with BaseTranslations<AppLocale, Trans
@override late final _TranslationsHotkeysJa hotkeys = _TranslationsHotkeysJa._(_root);
@override late final _TranslationsFileInfoJa fileInfo = _TranslationsFileInfoJa._(_root);
@override late final _TranslationsMediaMenuJa mediaMenu = _TranslationsMediaMenuJa._(_root);
@override late final _TranslationsRateSheetJa rateSheet = _TranslationsRateSheetJa._(_root);
@override late final _TranslationsAccessibilityJa accessibility = _TranslationsAccessibilityJa._(_root);
@override late final _TranslationsTooltipsJa tooltips = _TranslationsTooltipsJa._(_root);
@override late final _TranslationsVideoControlsJa videoControls = _TranslationsVideoControlsJa._(_root);
@@ -375,6 +376,12 @@ class _TranslationsSettingsJa extends TranslationsSettingsEn {
@override String get displaySwitchDelay => 'ディスプレイ切り替え遅延';
@override String get tunneledPlayback => 'トンネル再生';
@override String get tunneledPlaybackDescription => '動画トンネリングを使用します。HDR再生で画面が黒くなる場合は無効にしてください。';
@override String get dvConversionMode => 'Dolby Vision 変換';
@override String get dvConversionModeDescription => 'ExoPlayer が Dolby Vision Profile 7 ファイルを処理する方法を選択します。';
@override String get dvConversionAuto => '自動';
@override String get dvConversionNative => 'ネイティブ / 無効';
@override String get dvConversionDv81 => 'P7 → P8.1';
@override String get dvConversionHevcStrip => 'P7 → HEVC';
@override String get requireProfileSelectionOnOpen => 'アプリ起動時にプロフィールを確認';
@override String get requireProfileSelectionOnOpenDescription => 'アプリを開くたびにプロフィール選択を表示';
@override String get forceTvMode => 'TVモードを強制';
@@ -481,6 +488,26 @@ class _TranslationsMediaMenuJa extends TranslationsMediaMenuEn {
@override String get playVersion => 'バージョンを再生...';
}
// Path: rateSheet
class _TranslationsRateSheetJa extends TranslationsRateSheetEn {
_TranslationsRateSheetJa._(TranslationsJa root) : this._root = root, super.internal(root);
final TranslationsJa _root; // ignore: unused_field
// Translations
@override String get title => '評価';
@override String get server => 'サーバー';
@override String starValue({required Object rating}) => '${rating} / 5';
@override String scoreValue({required Object score}) => '${score} / 10';
@override String get setScore => 'スコアを設定';
@override String get notRated => '未評価';
@override String get liked => 'いいね済み';
@override String get notLiked => 'いいねなし';
@override String get saved => '保存済み';
@override String get notAvailable => '一致なし';
@override String get noConnectedTrackers => '設定でトラッカーを接続すると、そこで評価できます。';
}
// Path: accessibility
class _TranslationsAccessibilityJa extends TranslationsAccessibilityEn {
_TranslationsAccessibilityJa._(TranslationsJa root) : this._root = root, super.internal(root);
@@ -548,7 +575,7 @@ class _TranslationsVideoControlsJa extends TranslationsVideoControlsEn {
@override String get nextChapterButton => '次のチャプター';
@override String get muteButton => 'ミュート';
@override String get unmuteButton => 'ミュート解除';
@override String get settingsButton => '動画設定';
@override String get settingsButton => '再生設定';
@override String get tracksButton => '音声と字幕';
@override String get chaptersButton => 'チャプター';
@override String get versionsButton => '動画バージョン';
@@ -574,6 +601,7 @@ class _TranslationsVideoControlsJa extends TranslationsVideoControlsEn {
@override String endsAt({required Object time}) => '${time}に終了';
@override String get pipActive => 'ピクチャーインピクチャーで再生中';
@override String get pipFailed => 'ピクチャーインピクチャーの開始に失敗しました';
@override String get screenshotSaved => 'スクリーンショットを保存しました';
@override late final _TranslationsVideoControlsPipErrorsJa pipErrors = _TranslationsVideoControlsPipErrorsJa._(_root);
@override String get chapters => 'チャプター';
@override String get noChaptersAvailable => 'チャプターがありません';
@@ -1274,7 +1302,6 @@ class _TranslationsVideoSettingsJa extends TranslationsVideoSettingsEn {
final TranslationsJa _root; // ignore: unused_field
// Translations
@override String get playbackSettings => '再生設定';
@override String get playbackSpeed => '再生速度';
@override String get sleepTimer => 'スリープタイマー';
@override String get audioSync => '音声同期';
@@ -1535,6 +1562,7 @@ class _TranslationsHotkeysActionsJa extends TranslationsHotkeysActionsEn {
@override String get subSeekPrev => '前の字幕にシーク';
@override String get shaderToggle => 'シェーダー切替';
@override String get skipMarker => 'イントロ/クレジットをスキップ';
@override String get screenshot => 'スクリーンショットを撮る';
}
// Path: videoControls.pipErrors
@@ -1606,8 +1634,18 @@ class _TranslationsLibrariesSortLabelsJa extends TranslationsLibrariesSortLabels
@override String get dateAdded => '追加日';
@override String get releaseDate => 'リリース日';
@override String get rating => '評価';
@override String get communityRating => 'コミュニティ評価';
@override String get criticRating => '批評家評価';
@override String get lastPlayed => '最終再生';
@override String get datePlayed => '再生日';
@override String get playCount => '再生回数';
@override String get productionYear => '製作年';
@override String get runtime => '再生時間';
@override String get officialRating => '公式レーティング';
@override String get premiereDate => 'プレミア日';
@override String get startDate => '開始日';
@override String get airTime => '放送時刻';
@override String get studio => 'スタジオ';
@override String get random => 'ランダム';
@override String get dateShared => '共有日';
@override String get latestEpisodeAirDate => '最新エピソード放送日';
@@ -2000,6 +2038,12 @@ extension on TranslationsJa {
'settings.displaySwitchDelay' => 'ディスプレイ切り替え遅延',
'settings.tunneledPlayback' => 'トンネル再生',
'settings.tunneledPlaybackDescription' => '動画トンネリングを使用します。HDR再生で画面が黒くなる場合は無効にしてください。',
'settings.dvConversionMode' => 'Dolby Vision 変換',
'settings.dvConversionModeDescription' => 'ExoPlayer が Dolby Vision Profile 7 ファイルを処理する方法を選択します。',
'settings.dvConversionAuto' => '自動',
'settings.dvConversionNative' => 'ネイティブ / 無効',
'settings.dvConversionDv81' => 'P7 → P8.1',
'settings.dvConversionHevcStrip' => 'P7 → HEVC',
'settings.requireProfileSelectionOnOpen' => 'アプリ起動時にプロフィールを確認',
'settings.requireProfileSelectionOnOpenDescription' => 'アプリを開くたびにプロフィール選択を表示',
'settings.forceTvMode' => 'TVモードを強制',
@@ -2048,6 +2092,7 @@ extension on TranslationsJa {
'hotkeys.actions.subSeekPrev' => '前の字幕にシーク',
'hotkeys.actions.shaderToggle' => 'シェーダー切替',
'hotkeys.actions.skipMarker' => 'イントロ/クレジットをスキップ',
'hotkeys.actions.screenshot' => 'スクリーンショットを撮る',
'fileInfo.title' => 'ファイル情報',
'fileInfo.video' => '映像',
'fileInfo.audio' => '音声',
@@ -2088,6 +2133,17 @@ extension on TranslationsJa {
'mediaMenu.rate' => '評価',
'mediaMenu.playFromBeginning' => '最初から再生',
'mediaMenu.playVersion' => 'バージョンを再生...',
'rateSheet.title' => '評価',
'rateSheet.server' => 'サーバー',
'rateSheet.starValue' => ({required Object rating}) => '${rating} / 5',
'rateSheet.scoreValue' => ({required Object score}) => '${score} / 10',
'rateSheet.setScore' => 'スコアを設定',
'rateSheet.notRated' => '未評価',
'rateSheet.liked' => 'いいね済み',
'rateSheet.notLiked' => 'いいねなし',
'rateSheet.saved' => '保存済み',
'rateSheet.notAvailable' => '一致なし',
'rateSheet.noConnectedTrackers' => '設定でトラッカーを接続すると、そこで評価できます。',
'accessibility.mediaCardMovie' => ({required Object title}) => '${title}、映画',
'accessibility.mediaCardShow' => ({required Object title}) => '${title}、テレビ番組',
'accessibility.mediaCardEpisode' => ({required Object title, required Object episodeInfo}) => '${title}、${episodeInfo}',
@@ -2130,7 +2186,7 @@ extension on TranslationsJa {
'videoControls.nextChapterButton' => '次のチャプター',
'videoControls.muteButton' => 'ミュート',
'videoControls.unmuteButton' => 'ミュート解除',
'videoControls.settingsButton' => '動画設定',
'videoControls.settingsButton' => '再生設定',
'videoControls.tracksButton' => '音声と字幕',
'videoControls.chaptersButton' => 'チャプター',
'videoControls.versionsButton' => '動画バージョン',
@@ -2156,6 +2212,7 @@ extension on TranslationsJa {
'videoControls.endsAt' => ({required Object time}) => '${time}に終了',
'videoControls.pipActive' => 'ピクチャーインピクチャーで再生中',
'videoControls.pipFailed' => 'ピクチャーインピクチャーの開始に失敗しました',
'videoControls.screenshotSaved' => 'スクリーンショットを保存しました',
'videoControls.pipErrors.androidVersion' => 'Android 8.0以降が必要です',
'videoControls.pipErrors.iosVersion' => 'iOS 15.0以降が必要です',
'videoControls.pipErrors.permissionDisabled' => 'ピクチャーインピクチャーが無効です。システム設定で有効にしてください。',
@@ -2255,6 +2312,8 @@ extension on TranslationsJa {
'profiles.signOut' => 'サインアウト',
'profiles.signOutPlexTitle' => 'Plex からサインアウトしますか?',
'profiles.signOutPlexMessage' => ({required Object displayName}) => '${displayName}とすべてのPlex Homeユーザーを削除しますか?いつでも再サインインできます。',
_ => null,
} ?? switch (path) {
'profiles.signedOutPlex' => 'Plex からサインアウトしました。',
'profiles.signOutFailed' => 'サインアウトに失敗しました。',
'profiles.sectionTitle' => 'プロファイル',
@@ -2274,8 +2333,6 @@ extension on TranslationsJa {
'profiles.confirmPinTitle' => 'PINを確認',
'profiles.pinSet' => 'PIN設定済み',
'profiles.changePin' => '変更',
_ => null,
} ?? switch (path) {
'profiles.removePin' => '削除',
'profiles.connectionsLabel' => '接続',
'profiles.add' => '追加',
@@ -2400,8 +2457,18 @@ extension on TranslationsJa {
'libraries.sortLabels.dateAdded' => '追加日',
'libraries.sortLabels.releaseDate' => 'リリース日',
'libraries.sortLabels.rating' => '評価',
'libraries.sortLabels.communityRating' => 'コミュニティ評価',
'libraries.sortLabels.criticRating' => '批評家評価',
'libraries.sortLabels.lastPlayed' => '最終再生',
'libraries.sortLabels.datePlayed' => '再生日',
'libraries.sortLabels.playCount' => '再生回数',
'libraries.sortLabels.productionYear' => '製作年',
'libraries.sortLabels.runtime' => '再生時間',
'libraries.sortLabels.officialRating' => '公式レーティング',
'libraries.sortLabels.premiereDate' => 'プレミア日',
'libraries.sortLabels.startDate' => '開始日',
'libraries.sortLabels.airTime' => '放送時刻',
'libraries.sortLabels.studio' => 'スタジオ',
'libraries.sortLabels.random' => 'ランダム',
'libraries.sortLabels.dateShared' => '共有日',
'libraries.sortLabels.latestEpisodeAirDate' => '最新エピソード放送日',
@@ -2719,7 +2786,6 @@ extension on TranslationsJa {
'companionRemote.remote.subtitles' => '字幕',
'companionRemote.remote.audio' => '音声',
'companionRemote.remote.searchHint' => 'デスクトップで検索...',
'videoSettings.playbackSettings' => '再生設定',
'videoSettings.playbackSpeed' => '再生速度',
'videoSettings.sleepTimer' => 'スリープタイマー',
'videoSettings.audioSync' => '音声同期',
@@ -2760,6 +2826,8 @@ extension on TranslationsJa {
'metadataEdit.poster' => 'ポスター',
'metadataEdit.background' => '背景',
'metadataEdit.logo' => 'ロゴ',
_ => null,
} ?? switch (path) {
'metadataEdit.squareArt' => '正方形アート',
'metadataEdit.selectPoster' => 'ポスターを選択',
'metadataEdit.selectBackground' => '背景を選択',
@@ -2788,8 +2856,6 @@ extension on TranslationsJa {
'metadataEdit.episodesAddedPastDays' => ({required Object count}) => '過去${count}日間に追加されたエピソード',
'metadataEdit.deleteAfterPlaying' => '再生後にエピソードを削除',
'metadataEdit.never' => 'しない',
_ => null,
} ?? switch (path) {
'metadataEdit.afterADay' => '1日後',
'metadataEdit.afterAWeek' => '1週間後',
'metadataEdit.afterAMonth' => '1ヶ月後',
+74 -8
View File
@@ -49,6 +49,7 @@ class TranslationsKo extends Translations with BaseTranslations<AppLocale, Trans
@override late final _TranslationsHotkeysKo hotkeys = _TranslationsHotkeysKo._(_root);
@override late final _TranslationsFileInfoKo fileInfo = _TranslationsFileInfoKo._(_root);
@override late final _TranslationsMediaMenuKo mediaMenu = _TranslationsMediaMenuKo._(_root);
@override late final _TranslationsRateSheetKo rateSheet = _TranslationsRateSheetKo._(_root);
@override late final _TranslationsAccessibilityKo accessibility = _TranslationsAccessibilityKo._(_root);
@override late final _TranslationsTooltipsKo tooltips = _TranslationsTooltipsKo._(_root);
@override late final _TranslationsVideoControlsKo videoControls = _TranslationsVideoControlsKo._(_root);
@@ -375,6 +376,12 @@ class _TranslationsSettingsKo extends TranslationsSettingsEn {
@override String get displaySwitchDelay => '디스플레이 전환 지연';
@override String get tunneledPlayback => '터널 재생';
@override String get tunneledPlaybackDescription => '비디오 터널링을 사용합니다. HDR 재생 시 검은 화면이 보이면 비활성화하세요.';
@override String get dvConversionMode => 'Dolby Vision 변환';
@override String get dvConversionModeDescription => 'ExoPlayer가 Dolby Vision Profile 7 파일을 처리하는 방식을 선택합니다.';
@override String get dvConversionAuto => '자동';
@override String get dvConversionNative => '네이티브 / 비활성화';
@override String get dvConversionDv81 => 'P7 → P8.1';
@override String get dvConversionHevcStrip => 'P7 → HEVC';
@override String get requireProfileSelectionOnOpen => '앱 실행 시 프로필 선택';
@override String get requireProfileSelectionOnOpenDescription => '앱을 열 때마다 프로필 선택 화면을 표시합니다';
@override String get forceTvMode => 'TV 모드 강제 사용';
@@ -481,6 +488,26 @@ class _TranslationsMediaMenuKo extends TranslationsMediaMenuEn {
@override String get playVersion => '버전 재생...';
}
// Path: rateSheet
class _TranslationsRateSheetKo extends TranslationsRateSheetEn {
_TranslationsRateSheetKo._(TranslationsKo root) : this._root = root, super.internal(root);
final TranslationsKo _root; // ignore: unused_field
// Translations
@override String get title => '평가';
@override String get server => '서버';
@override String starValue({required Object rating}) => '${rating} / 5';
@override String scoreValue({required Object score}) => '${score} / 10';
@override String get setScore => '점수 설정';
@override String get notRated => '평가 없음';
@override String get liked => '좋아요';
@override String get notLiked => '좋아요 아님';
@override String get saved => '저장됨';
@override String get notAvailable => '일치 항목 없음';
@override String get noConnectedTrackers => '설정에서 트래커를 연결하면 거기에도 평가할 수 있습니다.';
}
// Path: accessibility
class _TranslationsAccessibilityKo extends TranslationsAccessibilityEn {
_TranslationsAccessibilityKo._(TranslationsKo root) : this._root = root, super.internal(root);
@@ -548,7 +575,7 @@ class _TranslationsVideoControlsKo extends TranslationsVideoControlsEn {
@override String get nextChapterButton => '다음 챕터';
@override String get muteButton => '음소거';
@override String get unmuteButton => '음소거 해제';
@override String get settingsButton => '동영상 설정';
@override String get settingsButton => '재생 설정';
@override String get tracksButton => '오디오 및 자막';
@override String get chaptersButton => '챕터';
@override String get versionsButton => '동영상 버전';
@@ -574,6 +601,7 @@ class _TranslationsVideoControlsKo extends TranslationsVideoControlsEn {
@override String endsAt({required Object time}) => '${time}에 종료';
@override String get pipActive => '화면 속 화면으로 재생 중';
@override String get pipFailed => '화면 속 화면 모드를 시작할 수 없습니다';
@override String get screenshotSaved => '스크린샷 저장됨';
@override late final _TranslationsVideoControlsPipErrorsKo pipErrors = _TranslationsVideoControlsPipErrorsKo._(_root);
@override String get chapters => '챕터';
@override String get noChaptersAvailable => '사용 가능한 챕터가 없습니다';
@@ -1274,7 +1302,6 @@ class _TranslationsVideoSettingsKo extends TranslationsVideoSettingsEn {
final TranslationsKo _root; // ignore: unused_field
// Translations
@override String get playbackSettings => '재생 설정';
@override String get playbackSpeed => '재생 속도';
@override String get sleepTimer => '취침 타이머';
@override String get audioSync => '오디오 동기화';
@@ -1535,6 +1562,7 @@ class _TranslationsHotkeysActionsKo extends TranslationsHotkeysActionsEn {
@override String get subSeekPrev => '이전 자막으로 이동';
@override String get shaderToggle => '셰이더 전환';
@override String get skipMarker => '인트로/크레딧 건너뛰기';
@override String get screenshot => '스크린샷 찍기';
}
// Path: videoControls.pipErrors
@@ -1606,8 +1634,18 @@ class _TranslationsLibrariesSortLabelsKo extends TranslationsLibrariesSortLabels
@override String get dateAdded => '추가된 날짜';
@override String get releaseDate => '출시일';
@override String get rating => '평점';
@override String get communityRating => '커뮤니티 평점';
@override String get criticRating => '평론가 평점';
@override String get lastPlayed => '마지막 재생';
@override String get datePlayed => '재생일';
@override String get playCount => '재생 횟수';
@override String get productionYear => '제작 연도';
@override String get runtime => '재생 시간';
@override String get officialRating => '공식 등급';
@override String get premiereDate => '최초 공개일';
@override String get startDate => '시작일';
@override String get airTime => '방영 시간';
@override String get studio => '스튜디오';
@override String get random => '무작위';
@override String get dateShared => '공유된 날짜';
@override String get latestEpisodeAirDate => '최신 에피소드 방영일';
@@ -2000,6 +2038,12 @@ extension on TranslationsKo {
'settings.displaySwitchDelay' => '디스플레이 전환 지연',
'settings.tunneledPlayback' => '터널 재생',
'settings.tunneledPlaybackDescription' => '비디오 터널링을 사용합니다. HDR 재생 시 검은 화면이 보이면 비활성화하세요.',
'settings.dvConversionMode' => 'Dolby Vision 변환',
'settings.dvConversionModeDescription' => 'ExoPlayer가 Dolby Vision Profile 7 파일을 처리하는 방식을 선택합니다.',
'settings.dvConversionAuto' => '자동',
'settings.dvConversionNative' => '네이티브 / 비활성화',
'settings.dvConversionDv81' => 'P7 → P8.1',
'settings.dvConversionHevcStrip' => 'P7 → HEVC',
'settings.requireProfileSelectionOnOpen' => '앱 실행 시 프로필 선택',
'settings.requireProfileSelectionOnOpenDescription' => '앱을 열 때마다 프로필 선택 화면을 표시합니다',
'settings.forceTvMode' => 'TV 모드 강제 사용',
@@ -2048,6 +2092,7 @@ extension on TranslationsKo {
'hotkeys.actions.subSeekPrev' => '이전 자막으로 이동',
'hotkeys.actions.shaderToggle' => '셰이더 전환',
'hotkeys.actions.skipMarker' => '인트로/크레딧 건너뛰기',
'hotkeys.actions.screenshot' => '스크린샷 찍기',
'fileInfo.title' => '파일 정보',
'fileInfo.video' => '비디오',
'fileInfo.audio' => '오디오',
@@ -2088,6 +2133,17 @@ extension on TranslationsKo {
'mediaMenu.rate' => '평가',
'mediaMenu.playFromBeginning' => '처음부터 재생',
'mediaMenu.playVersion' => '버전 재생...',
'rateSheet.title' => '평가',
'rateSheet.server' => '서버',
'rateSheet.starValue' => ({required Object rating}) => '${rating} / 5',
'rateSheet.scoreValue' => ({required Object score}) => '${score} / 10',
'rateSheet.setScore' => '점수 설정',
'rateSheet.notRated' => '평가 없음',
'rateSheet.liked' => '좋아요',
'rateSheet.notLiked' => '좋아요 아님',
'rateSheet.saved' => '저장됨',
'rateSheet.notAvailable' => '일치 항목 없음',
'rateSheet.noConnectedTrackers' => '설정에서 트래커를 연결하면 거기에도 평가할 수 있습니다.',
'accessibility.mediaCardMovie' => ({required Object title}) => '${title}, 영화',
'accessibility.mediaCardShow' => ({required Object title}) => '${title}, TV 프로그램',
'accessibility.mediaCardEpisode' => ({required Object title, required Object episodeInfo}) => '${title}, ${episodeInfo}',
@@ -2130,7 +2186,7 @@ extension on TranslationsKo {
'videoControls.nextChapterButton' => '다음 챕터',
'videoControls.muteButton' => '음소거',
'videoControls.unmuteButton' => '음소거 해제',
'videoControls.settingsButton' => '동영상 설정',
'videoControls.settingsButton' => '재생 설정',
'videoControls.tracksButton' => '오디오 및 자막',
'videoControls.chaptersButton' => '챕터',
'videoControls.versionsButton' => '동영상 버전',
@@ -2156,6 +2212,7 @@ extension on TranslationsKo {
'videoControls.endsAt' => ({required Object time}) => '${time}에 종료',
'videoControls.pipActive' => '화면 속 화면으로 재생 중',
'videoControls.pipFailed' => '화면 속 화면 모드를 시작할 수 없습니다',
'videoControls.screenshotSaved' => '스크린샷 저장됨',
'videoControls.pipErrors.androidVersion' => 'Android 8.0 이상이 필요합니다',
'videoControls.pipErrors.iosVersion' => 'iOS 15.0 이상이 필요합니다',
'videoControls.pipErrors.permissionDisabled' => '화면 속 화면이 비활성화되어 있습니다. 시스템 설정에서 활성화하세요.',
@@ -2255,6 +2312,8 @@ extension on TranslationsKo {
'profiles.signOut' => '로그아웃',
'profiles.signOutPlexTitle' => 'Plex에서 로그아웃하시겠습니까?',
'profiles.signOutPlexMessage' => ({required Object displayName}) => '${displayName} 및 모든 Plex Home 사용자를 제거할까요? 언제든 다시 로그인할 수 있습니다.',
_ => null,
} ?? switch (path) {
'profiles.signedOutPlex' => 'Plex에서 로그아웃되었습니다.',
'profiles.signOutFailed' => '로그아웃에 실패했습니다.',
'profiles.sectionTitle' => '프로필',
@@ -2274,8 +2333,6 @@ extension on TranslationsKo {
'profiles.confirmPinTitle' => 'PIN 확인',
'profiles.pinSet' => 'PIN 설정됨',
'profiles.changePin' => '변경',
_ => null,
} ?? switch (path) {
'profiles.removePin' => '제거',
'profiles.connectionsLabel' => '연결',
'profiles.add' => '추가',
@@ -2400,8 +2457,18 @@ extension on TranslationsKo {
'libraries.sortLabels.dateAdded' => '추가된 날짜',
'libraries.sortLabels.releaseDate' => '출시일',
'libraries.sortLabels.rating' => '평점',
'libraries.sortLabels.communityRating' => '커뮤니티 평점',
'libraries.sortLabels.criticRating' => '평론가 평점',
'libraries.sortLabels.lastPlayed' => '마지막 재생',
'libraries.sortLabels.datePlayed' => '재생일',
'libraries.sortLabels.playCount' => '재생 횟수',
'libraries.sortLabels.productionYear' => '제작 연도',
'libraries.sortLabels.runtime' => '재생 시간',
'libraries.sortLabels.officialRating' => '공식 등급',
'libraries.sortLabels.premiereDate' => '최초 공개일',
'libraries.sortLabels.startDate' => '시작일',
'libraries.sortLabels.airTime' => '방영 시간',
'libraries.sortLabels.studio' => '스튜디오',
'libraries.sortLabels.random' => '무작위',
'libraries.sortLabels.dateShared' => '공유된 날짜',
'libraries.sortLabels.latestEpisodeAirDate' => '최신 에피소드 방영일',
@@ -2719,7 +2786,6 @@ extension on TranslationsKo {
'companionRemote.remote.subtitles' => '자막',
'companionRemote.remote.audio' => '오디오',
'companionRemote.remote.searchHint' => '데스크톱에서 검색...',
'videoSettings.playbackSettings' => '재생 설정',
'videoSettings.playbackSpeed' => '재생 속도',
'videoSettings.sleepTimer' => '취침 타이머',
'videoSettings.audioSync' => '오디오 동기화',
@@ -2760,6 +2826,8 @@ extension on TranslationsKo {
'metadataEdit.poster' => '포스터',
'metadataEdit.background' => '배경',
'metadataEdit.logo' => '로고',
_ => null,
} ?? switch (path) {
'metadataEdit.squareArt' => '정사각형 아트',
'metadataEdit.selectPoster' => '포스터 선택',
'metadataEdit.selectBackground' => '배경 선택',
@@ -2788,8 +2856,6 @@ extension on TranslationsKo {
'metadataEdit.episodesAddedPastDays' => ({required Object count}) => '최근 ${count}일 내 추가된 에피소드',
'metadataEdit.deleteAfterPlaying' => '재생 후 에피소드 삭제',
'metadataEdit.never' => '안 함',
_ => null,
} ?? switch (path) {
'metadataEdit.afterADay' => '하루 후',
'metadataEdit.afterAWeek' => '일주일 후',
'metadataEdit.afterAMonth' => '한 달 후',
+74 -8
View File
@@ -49,6 +49,7 @@ class TranslationsNb extends Translations with BaseTranslations<AppLocale, Trans
@override late final _TranslationsHotkeysNb hotkeys = _TranslationsHotkeysNb._(_root);
@override late final _TranslationsFileInfoNb fileInfo = _TranslationsFileInfoNb._(_root);
@override late final _TranslationsMediaMenuNb mediaMenu = _TranslationsMediaMenuNb._(_root);
@override late final _TranslationsRateSheetNb rateSheet = _TranslationsRateSheetNb._(_root);
@override late final _TranslationsAccessibilityNb accessibility = _TranslationsAccessibilityNb._(_root);
@override late final _TranslationsTooltipsNb tooltips = _TranslationsTooltipsNb._(_root);
@override late final _TranslationsVideoControlsNb videoControls = _TranslationsVideoControlsNb._(_root);
@@ -375,6 +376,12 @@ class _TranslationsSettingsNb extends TranslationsSettingsEn {
@override String get displaySwitchDelay => 'Forsinkelse ved skjermbytte';
@override String get tunneledPlayback => 'Tunnelert avspilling';
@override String get tunneledPlaybackDescription => 'Bruk videotunneling. Slå av hvis HDR-avspilling viser svart video.';
@override String get dvConversionMode => 'Dolby Vision-konvertering';
@override String get dvConversionModeDescription => 'Velg hvordan ExoPlayer håndterer Dolby Vision Profile 7-filer.';
@override String get dvConversionAuto => 'Auto';
@override String get dvConversionNative => 'Innebygd / deaktivert';
@override String get dvConversionDv81 => 'P7 → P8.1';
@override String get dvConversionHevcStrip => 'P7 → HEVC';
@override String get requireProfileSelectionOnOpen => 'Spør om profil ved appåpning';
@override String get requireProfileSelectionOnOpenDescription => 'Vis profilvalg hver gang appen åpnes';
@override String get forceTvMode => 'Tving TV-modus';
@@ -481,6 +488,26 @@ class _TranslationsMediaMenuNb extends TranslationsMediaMenuEn {
@override String get playVersion => 'Spill av versjon...';
}
// Path: rateSheet
class _TranslationsRateSheetNb extends TranslationsRateSheetEn {
_TranslationsRateSheetNb._(TranslationsNb root) : this._root = root, super.internal(root);
final TranslationsNb _root; // ignore: unused_field
// Translations
@override String get title => 'Vurder';
@override String get server => 'Server';
@override String starValue({required Object rating}) => '${rating} / 5';
@override String scoreValue({required Object score}) => '${score} / 10';
@override String get setScore => 'Sett en poengsum';
@override String get notRated => 'Ikke vurdert';
@override String get liked => 'Likt';
@override String get notLiked => 'Ikke likt';
@override String get saved => 'Lagret';
@override String get notAvailable => 'Ingen treff';
@override String get noConnectedTrackers => 'Koble til en sporer i Innstillinger for å vurdere der.';
}
// Path: accessibility
class _TranslationsAccessibilityNb extends TranslationsAccessibilityEn {
_TranslationsAccessibilityNb._(TranslationsNb root) : this._root = root, super.internal(root);
@@ -548,7 +575,7 @@ class _TranslationsVideoControlsNb extends TranslationsVideoControlsEn {
@override String get nextChapterButton => 'Neste kapittel';
@override String get muteButton => 'Demp';
@override String get unmuteButton => 'Opphev demping';
@override String get settingsButton => 'Videoinnstillinger';
@override String get settingsButton => 'Avspillingsinnstillinger';
@override String get tracksButton => 'Lyd og undertekster';
@override String get chaptersButton => 'Kapitler';
@override String get versionsButton => 'Videoversjoner';
@@ -574,6 +601,7 @@ class _TranslationsVideoControlsNb extends TranslationsVideoControlsEn {
@override String endsAt({required Object time}) => 'Slutter kl. ${time}';
@override String get pipActive => 'Spiller i bilde-i-bilde';
@override String get pipFailed => 'Bilde-i-bilde kunne ikke starte';
@override String get screenshotSaved => 'Skjermbilde lagret';
@override late final _TranslationsVideoControlsPipErrorsNb pipErrors = _TranslationsVideoControlsPipErrorsNb._(_root);
@override String get chapters => 'Kapitler';
@override String get noChaptersAvailable => 'Ingen kapitler tilgjengelig';
@@ -1274,7 +1302,6 @@ class _TranslationsVideoSettingsNb extends TranslationsVideoSettingsEn {
final TranslationsNb _root; // ignore: unused_field
// Translations
@override String get playbackSettings => 'Avspillingsinnstillinger';
@override String get playbackSpeed => 'Avspillingshastighet';
@override String get sleepTimer => 'Søvntimer';
@override String get audioSync => 'Lydsynkronisering';
@@ -1535,6 +1562,7 @@ class _TranslationsHotkeysActionsNb extends TranslationsHotkeysActionsEn {
@override String get subSeekPrev => 'Spol til forrige undertekst';
@override String get shaderToggle => 'Veksle shadere';
@override String get skipMarker => 'Hopp over intro/rulletekst';
@override String get screenshot => 'Ta skjermbilde';
}
// Path: videoControls.pipErrors
@@ -1606,8 +1634,18 @@ class _TranslationsLibrariesSortLabelsNb extends TranslationsLibrariesSortLabels
@override String get dateAdded => 'Lagt til-dato';
@override String get releaseDate => 'Utgivelsesdato';
@override String get rating => 'Vurdering';
@override String get communityRating => 'Fellesskapsvurdering';
@override String get criticRating => 'Kritikervurdering';
@override String get lastPlayed => 'Sist spilt';
@override String get datePlayed => 'Avspillingsdato';
@override String get playCount => 'Avspillinger';
@override String get productionYear => 'Produksjonsår';
@override String get runtime => 'Varighet';
@override String get officialRating => 'Offisiell vurdering';
@override String get premiereDate => 'Premieredato';
@override String get startDate => 'Startdato';
@override String get airTime => 'Sendetid';
@override String get studio => 'Studio';
@override String get random => 'Tilfeldig';
@override String get dateShared => 'Delingsdato';
@override String get latestEpisodeAirDate => 'Siste episodes sendedato';
@@ -2000,6 +2038,12 @@ extension on TranslationsNb {
'settings.displaySwitchDelay' => 'Forsinkelse ved skjermbytte',
'settings.tunneledPlayback' => 'Tunnelert avspilling',
'settings.tunneledPlaybackDescription' => 'Bruk videotunneling. Slå av hvis HDR-avspilling viser svart video.',
'settings.dvConversionMode' => 'Dolby Vision-konvertering',
'settings.dvConversionModeDescription' => 'Velg hvordan ExoPlayer håndterer Dolby Vision Profile 7-filer.',
'settings.dvConversionAuto' => 'Auto',
'settings.dvConversionNative' => 'Innebygd / deaktivert',
'settings.dvConversionDv81' => 'P7 → P8.1',
'settings.dvConversionHevcStrip' => 'P7 → HEVC',
'settings.requireProfileSelectionOnOpen' => 'Spør om profil ved appåpning',
'settings.requireProfileSelectionOnOpenDescription' => 'Vis profilvalg hver gang appen åpnes',
'settings.forceTvMode' => 'Tving TV-modus',
@@ -2048,6 +2092,7 @@ extension on TranslationsNb {
'hotkeys.actions.subSeekPrev' => 'Spol til forrige undertekst',
'hotkeys.actions.shaderToggle' => 'Veksle shadere',
'hotkeys.actions.skipMarker' => 'Hopp over intro/rulletekst',
'hotkeys.actions.screenshot' => 'Ta skjermbilde',
'fileInfo.title' => 'Filinformasjon',
'fileInfo.video' => 'Video',
'fileInfo.audio' => 'Lyd',
@@ -2088,6 +2133,17 @@ extension on TranslationsNb {
'mediaMenu.rate' => 'Vurder',
'mediaMenu.playFromBeginning' => 'Spill fra begynnelsen',
'mediaMenu.playVersion' => 'Spill av versjon...',
'rateSheet.title' => 'Vurder',
'rateSheet.server' => 'Server',
'rateSheet.starValue' => ({required Object rating}) => '${rating} / 5',
'rateSheet.scoreValue' => ({required Object score}) => '${score} / 10',
'rateSheet.setScore' => 'Sett en poengsum',
'rateSheet.notRated' => 'Ikke vurdert',
'rateSheet.liked' => 'Likt',
'rateSheet.notLiked' => 'Ikke likt',
'rateSheet.saved' => 'Lagret',
'rateSheet.notAvailable' => 'Ingen treff',
'rateSheet.noConnectedTrackers' => 'Koble til en sporer i Innstillinger for å vurdere der.',
'accessibility.mediaCardMovie' => ({required Object title}) => '${title}, film',
'accessibility.mediaCardShow' => ({required Object title}) => '${title}, TV-serie',
'accessibility.mediaCardEpisode' => ({required Object title, required Object episodeInfo}) => '${title}, ${episodeInfo}',
@@ -2130,7 +2186,7 @@ extension on TranslationsNb {
'videoControls.nextChapterButton' => 'Neste kapittel',
'videoControls.muteButton' => 'Demp',
'videoControls.unmuteButton' => 'Opphev demping',
'videoControls.settingsButton' => 'Videoinnstillinger',
'videoControls.settingsButton' => 'Avspillingsinnstillinger',
'videoControls.tracksButton' => 'Lyd og undertekster',
'videoControls.chaptersButton' => 'Kapitler',
'videoControls.versionsButton' => 'Videoversjoner',
@@ -2156,6 +2212,7 @@ extension on TranslationsNb {
'videoControls.endsAt' => ({required Object time}) => 'Slutter kl. ${time}',
'videoControls.pipActive' => 'Spiller i bilde-i-bilde',
'videoControls.pipFailed' => 'Bilde-i-bilde kunne ikke starte',
'videoControls.screenshotSaved' => 'Skjermbilde lagret',
'videoControls.pipErrors.androidVersion' => 'Krever Android 8.0 eller nyere',
'videoControls.pipErrors.iosVersion' => 'Krever iOS 15.0 eller nyere',
'videoControls.pipErrors.permissionDisabled' => 'Bilde-i-bilde er deaktivert. Slå det på i systeminnstillinger.',
@@ -2255,6 +2312,8 @@ extension on TranslationsNb {
'profiles.signOut' => 'Logg ut',
'profiles.signOutPlexTitle' => 'Logge ut av Plex?',
'profiles.signOutPlexMessage' => ({required Object displayName}) => 'Fjerne ${displayName} og alle Plex Home-brukere? Du kan logge inn igjen når som helst.',
_ => null,
} ?? switch (path) {
'profiles.signedOutPlex' => 'Logget ut av Plex.',
'profiles.signOutFailed' => 'Utlogging mislyktes.',
'profiles.sectionTitle' => 'Profiler',
@@ -2274,8 +2333,6 @@ extension on TranslationsNb {
'profiles.confirmPinTitle' => 'Bekreft PIN',
'profiles.pinSet' => 'PIN satt',
'profiles.changePin' => 'Endre',
_ => null,
} ?? switch (path) {
'profiles.removePin' => 'Fjern',
'profiles.connectionsLabel' => 'Tilkoblinger',
'profiles.add' => 'Legg til',
@@ -2400,8 +2457,18 @@ extension on TranslationsNb {
'libraries.sortLabels.dateAdded' => 'Lagt til-dato',
'libraries.sortLabels.releaseDate' => 'Utgivelsesdato',
'libraries.sortLabels.rating' => 'Vurdering',
'libraries.sortLabels.communityRating' => 'Fellesskapsvurdering',
'libraries.sortLabels.criticRating' => 'Kritikervurdering',
'libraries.sortLabels.lastPlayed' => 'Sist spilt',
'libraries.sortLabels.datePlayed' => 'Avspillingsdato',
'libraries.sortLabels.playCount' => 'Avspillinger',
'libraries.sortLabels.productionYear' => 'Produksjonsår',
'libraries.sortLabels.runtime' => 'Varighet',
'libraries.sortLabels.officialRating' => 'Offisiell vurdering',
'libraries.sortLabels.premiereDate' => 'Premieredato',
'libraries.sortLabels.startDate' => 'Startdato',
'libraries.sortLabels.airTime' => 'Sendetid',
'libraries.sortLabels.studio' => 'Studio',
'libraries.sortLabels.random' => 'Tilfeldig',
'libraries.sortLabels.dateShared' => 'Delingsdato',
'libraries.sortLabels.latestEpisodeAirDate' => 'Siste episodes sendedato',
@@ -2719,7 +2786,6 @@ extension on TranslationsNb {
'companionRemote.remote.subtitles' => 'Undertekster',
'companionRemote.remote.audio' => 'Lyd',
'companionRemote.remote.searchHint' => 'Søk på stasjonær...',
'videoSettings.playbackSettings' => 'Avspillingsinnstillinger',
'videoSettings.playbackSpeed' => 'Avspillingshastighet',
'videoSettings.sleepTimer' => 'Søvntimer',
'videoSettings.audioSync' => 'Lydsynkronisering',
@@ -2760,6 +2826,8 @@ extension on TranslationsNb {
'metadataEdit.poster' => 'Plakat',
'metadataEdit.background' => 'Bakgrunn',
'metadataEdit.logo' => 'Logo',
_ => null,
} ?? switch (path) {
'metadataEdit.squareArt' => 'Kvadratisk bilde',
'metadataEdit.selectPoster' => 'Velg plakat',
'metadataEdit.selectBackground' => 'Velg bakgrunn',
@@ -2788,8 +2856,6 @@ extension on TranslationsNb {
'metadataEdit.episodesAddedPastDays' => ({required Object count}) => 'Episoder lagt til de siste ${count} dagene',
'metadataEdit.deleteAfterPlaying' => 'Slett episoder etter avspilling',
'metadataEdit.never' => 'Aldri',
_ => null,
} ?? switch (path) {
'metadataEdit.afterADay' => 'Etter en dag',
'metadataEdit.afterAWeek' => 'Etter en uke',
'metadataEdit.afterAMonth' => 'Etter en måned',
+74 -8
View File
@@ -49,6 +49,7 @@ class TranslationsNl extends Translations with BaseTranslations<AppLocale, Trans
@override late final _TranslationsHotkeysNl hotkeys = _TranslationsHotkeysNl._(_root);
@override late final _TranslationsFileInfoNl fileInfo = _TranslationsFileInfoNl._(_root);
@override late final _TranslationsMediaMenuNl mediaMenu = _TranslationsMediaMenuNl._(_root);
@override late final _TranslationsRateSheetNl rateSheet = _TranslationsRateSheetNl._(_root);
@override late final _TranslationsAccessibilityNl accessibility = _TranslationsAccessibilityNl._(_root);
@override late final _TranslationsTooltipsNl tooltips = _TranslationsTooltipsNl._(_root);
@override late final _TranslationsVideoControlsNl videoControls = _TranslationsVideoControlsNl._(_root);
@@ -375,6 +376,12 @@ class _TranslationsSettingsNl extends TranslationsSettingsEn {
@override String get displaySwitchDelay => 'Vertraging bij schermwisseling';
@override String get tunneledPlayback => 'Getunnelde weergave';
@override String get tunneledPlaybackDescription => 'Gebruik videotunneling. Schakel uit als HDR-afspelen zwart beeld geeft.';
@override String get dvConversionMode => 'Dolby Vision-conversie';
@override String get dvConversionModeDescription => 'Kies hoe ExoPlayer Dolby Vision Profile 7-bestanden verwerkt.';
@override String get dvConversionAuto => 'Auto';
@override String get dvConversionNative => 'Native / uitgeschakeld';
@override String get dvConversionDv81 => 'P7 → P8.1';
@override String get dvConversionHevcStrip => 'P7 → HEVC';
@override String get requireProfileSelectionOnOpen => 'Vraag om profiel bij openen';
@override String get requireProfileSelectionOnOpenDescription => 'Toon profielselectie telkens wanneer de app wordt geopend';
@override String get forceTvMode => 'TV-modus forceren';
@@ -481,6 +488,26 @@ class _TranslationsMediaMenuNl extends TranslationsMediaMenuEn {
@override String get playVersion => 'Versie afspelen...';
}
// Path: rateSheet
class _TranslationsRateSheetNl extends TranslationsRateSheetEn {
_TranslationsRateSheetNl._(TranslationsNl root) : this._root = root, super.internal(root);
final TranslationsNl _root; // ignore: unused_field
// Translations
@override String get title => 'Beoordelen';
@override String get server => 'Server';
@override String starValue({required Object rating}) => '${rating} / 5';
@override String scoreValue({required Object score}) => '${score} / 10';
@override String get setScore => 'Score instellen';
@override String get notRated => 'Niet beoordeeld';
@override String get liked => 'Geliket';
@override String get notLiked => 'Niet geliket';
@override String get saved => 'Opgeslagen';
@override String get notAvailable => 'Geen match gevonden';
@override String get noConnectedTrackers => 'Verbind een tracker in Instellingen om daar te beoordelen.';
}
// Path: accessibility
class _TranslationsAccessibilityNl extends TranslationsAccessibilityEn {
_TranslationsAccessibilityNl._(TranslationsNl root) : this._root = root, super.internal(root);
@@ -548,7 +575,7 @@ class _TranslationsVideoControlsNl extends TranslationsVideoControlsEn {
@override String get nextChapterButton => 'Volgend hoofdstuk';
@override String get muteButton => 'Dempen';
@override String get unmuteButton => 'Dempen opheffen';
@override String get settingsButton => 'Video-instellingen';
@override String get settingsButton => 'Afspeelinstellingen';
@override String get tracksButton => 'Audio en ondertitels';
@override String get chaptersButton => 'Hoofdstukken';
@override String get versionsButton => 'Videoversies';
@@ -574,6 +601,7 @@ class _TranslationsVideoControlsNl extends TranslationsVideoControlsEn {
@override String endsAt({required Object time}) => 'Eindigt om ${time}';
@override String get pipActive => 'Afspelen in beeld-in-beeld';
@override String get pipFailed => 'Beeld-in-beeld kon niet worden gestart';
@override String get screenshotSaved => 'Schermafbeelding opgeslagen';
@override late final _TranslationsVideoControlsPipErrorsNl pipErrors = _TranslationsVideoControlsPipErrorsNl._(_root);
@override String get chapters => 'Hoofdstukken';
@override String get noChaptersAvailable => 'Geen hoofdstukken beschikbaar';
@@ -1274,7 +1302,6 @@ class _TranslationsVideoSettingsNl extends TranslationsVideoSettingsEn {
final TranslationsNl _root; // ignore: unused_field
// Translations
@override String get playbackSettings => 'Afspeelinstellingen';
@override String get playbackSpeed => 'Afspeelsnelheid';
@override String get sleepTimer => 'Slaaptimer';
@override String get audioSync => 'Audio synchronisatie';
@@ -1535,6 +1562,7 @@ class _TranslationsHotkeysActionsNl extends TranslationsHotkeysActionsEn {
@override String get subSeekPrev => 'Naar vorige ondertitel';
@override String get shaderToggle => 'Shaders aan/uit';
@override String get skipMarker => 'Intro/aftiteling overslaan';
@override String get screenshot => 'Schermafbeelding maken';
}
// Path: videoControls.pipErrors
@@ -1606,8 +1634,18 @@ class _TranslationsLibrariesSortLabelsNl extends TranslationsLibrariesSortLabels
@override String get dateAdded => 'Toegevoegd op';
@override String get releaseDate => 'Uitgavedatum';
@override String get rating => 'Beoordeling';
@override String get communityRating => 'Communitybeoordeling';
@override String get criticRating => 'Criticusbeoordeling';
@override String get lastPlayed => 'Laatst afgespeeld';
@override String get datePlayed => 'Afspeeldatum';
@override String get playCount => 'Aantal afspelingen';
@override String get productionYear => 'Productiejaar';
@override String get runtime => 'Speelduur';
@override String get officialRating => 'Officiële beoordeling';
@override String get premiereDate => 'Premièredatum';
@override String get startDate => 'Begindatum';
@override String get airTime => 'Uitzendtijd';
@override String get studio => 'Studio';
@override String get random => 'Willekeurig';
@override String get dateShared => 'Gedeeld op';
@override String get latestEpisodeAirDate => 'Laatste afleveringsuitzending';
@@ -2000,6 +2038,12 @@ extension on TranslationsNl {
'settings.displaySwitchDelay' => 'Vertraging bij schermwisseling',
'settings.tunneledPlayback' => 'Getunnelde weergave',
'settings.tunneledPlaybackDescription' => 'Gebruik videotunneling. Schakel uit als HDR-afspelen zwart beeld geeft.',
'settings.dvConversionMode' => 'Dolby Vision-conversie',
'settings.dvConversionModeDescription' => 'Kies hoe ExoPlayer Dolby Vision Profile 7-bestanden verwerkt.',
'settings.dvConversionAuto' => 'Auto',
'settings.dvConversionNative' => 'Native / uitgeschakeld',
'settings.dvConversionDv81' => 'P7 → P8.1',
'settings.dvConversionHevcStrip' => 'P7 → HEVC',
'settings.requireProfileSelectionOnOpen' => 'Vraag om profiel bij openen',
'settings.requireProfileSelectionOnOpenDescription' => 'Toon profielselectie telkens wanneer de app wordt geopend',
'settings.forceTvMode' => 'TV-modus forceren',
@@ -2048,6 +2092,7 @@ extension on TranslationsNl {
'hotkeys.actions.subSeekPrev' => 'Naar vorige ondertitel',
'hotkeys.actions.shaderToggle' => 'Shaders aan/uit',
'hotkeys.actions.skipMarker' => 'Intro/aftiteling overslaan',
'hotkeys.actions.screenshot' => 'Schermafbeelding maken',
'fileInfo.title' => 'Bestand info',
'fileInfo.video' => 'Video',
'fileInfo.audio' => 'Audio',
@@ -2088,6 +2133,17 @@ extension on TranslationsNl {
'mediaMenu.rate' => 'Beoordelen',
'mediaMenu.playFromBeginning' => 'Afspelen vanaf het begin',
'mediaMenu.playVersion' => 'Versie afspelen...',
'rateSheet.title' => 'Beoordelen',
'rateSheet.server' => 'Server',
'rateSheet.starValue' => ({required Object rating}) => '${rating} / 5',
'rateSheet.scoreValue' => ({required Object score}) => '${score} / 10',
'rateSheet.setScore' => 'Score instellen',
'rateSheet.notRated' => 'Niet beoordeeld',
'rateSheet.liked' => 'Geliket',
'rateSheet.notLiked' => 'Niet geliket',
'rateSheet.saved' => 'Opgeslagen',
'rateSheet.notAvailable' => 'Geen match gevonden',
'rateSheet.noConnectedTrackers' => 'Verbind een tracker in Instellingen om daar te beoordelen.',
'accessibility.mediaCardMovie' => ({required Object title}) => '${title}, film',
'accessibility.mediaCardShow' => ({required Object title}) => '${title}, TV-serie',
'accessibility.mediaCardEpisode' => ({required Object title, required Object episodeInfo}) => '${title}, ${episodeInfo}',
@@ -2130,7 +2186,7 @@ extension on TranslationsNl {
'videoControls.nextChapterButton' => 'Volgend hoofdstuk',
'videoControls.muteButton' => 'Dempen',
'videoControls.unmuteButton' => 'Dempen opheffen',
'videoControls.settingsButton' => 'Video-instellingen',
'videoControls.settingsButton' => 'Afspeelinstellingen',
'videoControls.tracksButton' => 'Audio en ondertitels',
'videoControls.chaptersButton' => 'Hoofdstukken',
'videoControls.versionsButton' => 'Videoversies',
@@ -2156,6 +2212,7 @@ extension on TranslationsNl {
'videoControls.endsAt' => ({required Object time}) => 'Eindigt om ${time}',
'videoControls.pipActive' => 'Afspelen in beeld-in-beeld',
'videoControls.pipFailed' => 'Beeld-in-beeld kon niet worden gestart',
'videoControls.screenshotSaved' => 'Schermafbeelding opgeslagen',
'videoControls.pipErrors.androidVersion' => 'Vereist Android 8.0 of nieuwer',
'videoControls.pipErrors.iosVersion' => 'Vereist iOS 15.0 of nieuwer',
'videoControls.pipErrors.permissionDisabled' => 'Picture-in-picture is uitgeschakeld. Schakel het in via systeeminstellingen.',
@@ -2255,6 +2312,8 @@ extension on TranslationsNl {
'profiles.signOut' => 'Afmelden',
'profiles.signOutPlexTitle' => 'Afmelden bij Plex?',
'profiles.signOutPlexMessage' => ({required Object displayName}) => '${displayName} en alle Plex Home-gebruikers verwijderen? Je kunt altijd opnieuw inloggen.',
_ => null,
} ?? switch (path) {
'profiles.signedOutPlex' => 'Afgemeld bij Plex.',
'profiles.signOutFailed' => 'Afmelden mislukt.',
'profiles.sectionTitle' => 'Profielen',
@@ -2274,8 +2333,6 @@ extension on TranslationsNl {
'profiles.confirmPinTitle' => 'PIN bevestigen',
'profiles.pinSet' => 'PIN ingesteld',
'profiles.changePin' => 'Wijzigen',
_ => null,
} ?? switch (path) {
'profiles.removePin' => 'Verwijderen',
'profiles.connectionsLabel' => 'Verbindingen',
'profiles.add' => 'Toevoegen',
@@ -2400,8 +2457,18 @@ extension on TranslationsNl {
'libraries.sortLabels.dateAdded' => 'Toegevoegd op',
'libraries.sortLabels.releaseDate' => 'Uitgavedatum',
'libraries.sortLabels.rating' => 'Beoordeling',
'libraries.sortLabels.communityRating' => 'Communitybeoordeling',
'libraries.sortLabels.criticRating' => 'Criticusbeoordeling',
'libraries.sortLabels.lastPlayed' => 'Laatst afgespeeld',
'libraries.sortLabels.datePlayed' => 'Afspeeldatum',
'libraries.sortLabels.playCount' => 'Aantal afspelingen',
'libraries.sortLabels.productionYear' => 'Productiejaar',
'libraries.sortLabels.runtime' => 'Speelduur',
'libraries.sortLabels.officialRating' => 'Officiële beoordeling',
'libraries.sortLabels.premiereDate' => 'Premièredatum',
'libraries.sortLabels.startDate' => 'Begindatum',
'libraries.sortLabels.airTime' => 'Uitzendtijd',
'libraries.sortLabels.studio' => 'Studio',
'libraries.sortLabels.random' => 'Willekeurig',
'libraries.sortLabels.dateShared' => 'Gedeeld op',
'libraries.sortLabels.latestEpisodeAirDate' => 'Laatste afleveringsuitzending',
@@ -2719,7 +2786,6 @@ extension on TranslationsNl {
'companionRemote.remote.subtitles' => 'Ondertitels',
'companionRemote.remote.audio' => 'Audio',
'companionRemote.remote.searchHint' => 'Zoeken op desktop...',
'videoSettings.playbackSettings' => 'Afspeelinstellingen',
'videoSettings.playbackSpeed' => 'Afspeelsnelheid',
'videoSettings.sleepTimer' => 'Slaaptimer',
'videoSettings.audioSync' => 'Audio synchronisatie',
@@ -2760,6 +2826,8 @@ extension on TranslationsNl {
'metadataEdit.poster' => 'Poster',
'metadataEdit.background' => 'Achtergrond',
'metadataEdit.logo' => 'Logo',
_ => null,
} ?? switch (path) {
'metadataEdit.squareArt' => 'Vierkante afbeelding',
'metadataEdit.selectPoster' => 'Poster selecteren',
'metadataEdit.selectBackground' => 'Achtergrond selecteren',
@@ -2788,8 +2856,6 @@ extension on TranslationsNl {
'metadataEdit.episodesAddedPastDays' => ({required Object count}) => 'Afleveringen toegevoegd in de afgelopen ${count} dagen',
'metadataEdit.deleteAfterPlaying' => 'Afleveringen verwijderen na afspelen',
'metadataEdit.never' => 'Nooit',
_ => null,
} ?? switch (path) {
'metadataEdit.afterADay' => 'Na een dag',
'metadataEdit.afterAWeek' => 'Na een week',
'metadataEdit.afterAMonth' => 'Na een maand',
+74 -8
View File
@@ -49,6 +49,7 @@ class TranslationsPl extends Translations with BaseTranslations<AppLocale, Trans
@override late final _TranslationsHotkeysPl hotkeys = _TranslationsHotkeysPl._(_root);
@override late final _TranslationsFileInfoPl fileInfo = _TranslationsFileInfoPl._(_root);
@override late final _TranslationsMediaMenuPl mediaMenu = _TranslationsMediaMenuPl._(_root);
@override late final _TranslationsRateSheetPl rateSheet = _TranslationsRateSheetPl._(_root);
@override late final _TranslationsAccessibilityPl accessibility = _TranslationsAccessibilityPl._(_root);
@override late final _TranslationsTooltipsPl tooltips = _TranslationsTooltipsPl._(_root);
@override late final _TranslationsVideoControlsPl videoControls = _TranslationsVideoControlsPl._(_root);
@@ -375,6 +376,12 @@ class _TranslationsSettingsPl extends TranslationsSettingsEn {
@override String get displaySwitchDelay => 'Opóźnienie przełączania ekranu';
@override String get tunneledPlayback => 'Tunelowane odtwarzanie';
@override String get tunneledPlaybackDescription => 'Użyj tunelowania wideo. Wyłącz, jeśli HDR pokazuje czarny obraz.';
@override String get dvConversionMode => 'Konwersja Dolby Vision';
@override String get dvConversionModeDescription => 'Wybierz, jak ExoPlayer obsługuje pliki Dolby Vision Profile 7.';
@override String get dvConversionAuto => 'Automatycznie';
@override String get dvConversionNative => 'Natywnie / wyłączone';
@override String get dvConversionDv81 => 'P7 → P8.1';
@override String get dvConversionHevcStrip => 'P7 → HEVC';
@override String get requireProfileSelectionOnOpen => 'Pytaj o profil przy otwarciu aplikacji';
@override String get requireProfileSelectionOnOpenDescription => 'Pokaż wybór profilu za każdym razem, gdy aplikacja jest otwierana';
@override String get forceTvMode => 'Wymuś tryb TV';
@@ -481,6 +488,26 @@ class _TranslationsMediaMenuPl extends TranslationsMediaMenuEn {
@override String get playVersion => 'Odtwórz wersję...';
}
// Path: rateSheet
class _TranslationsRateSheetPl extends TranslationsRateSheetEn {
_TranslationsRateSheetPl._(TranslationsPl root) : this._root = root, super.internal(root);
final TranslationsPl _root; // ignore: unused_field
// Translations
@override String get title => 'Oceń';
@override String get server => 'Serwer';
@override String starValue({required Object rating}) => '${rating} / 5';
@override String scoreValue({required Object score}) => '${score} / 10';
@override String get setScore => 'Ustaw ocenę';
@override String get notRated => 'Nie oceniono';
@override String get liked => 'Polubione';
@override String get notLiked => 'Nie polubiono';
@override String get saved => 'Zapisano';
@override String get notAvailable => 'Nie znaleziono dopasowania';
@override String get noConnectedTrackers => 'Połącz tracker w Ustawieniach, aby tam oceniać.';
}
// Path: accessibility
class _TranslationsAccessibilityPl extends TranslationsAccessibilityEn {
_TranslationsAccessibilityPl._(TranslationsPl root) : this._root = root, super.internal(root);
@@ -548,7 +575,7 @@ class _TranslationsVideoControlsPl extends TranslationsVideoControlsEn {
@override String get nextChapterButton => 'Następny rozdział';
@override String get muteButton => 'Wycisz';
@override String get unmuteButton => 'Wyłącz wyciszenie';
@override String get settingsButton => 'Ustawienia wideo';
@override String get settingsButton => 'Ustawienia odtwarzania';
@override String get tracksButton => 'Audio i napisy';
@override String get chaptersButton => 'Rozdziały';
@override String get versionsButton => 'Wersje wideo';
@@ -574,6 +601,7 @@ class _TranslationsVideoControlsPl extends TranslationsVideoControlsEn {
@override String endsAt({required Object time}) => 'Kończy się o ${time}';
@override String get pipActive => 'Odtwarzanie w trybie obraz w obrazie';
@override String get pipFailed => 'Nie udało się uruchomić trybu obraz w obrazie';
@override String get screenshotSaved => 'Zrzut ekranu zapisany';
@override late final _TranslationsVideoControlsPipErrorsPl pipErrors = _TranslationsVideoControlsPipErrorsPl._(_root);
@override String get chapters => 'Rozdziały';
@override String get noChaptersAvailable => 'Brak dostępnych rozdziałów';
@@ -1274,7 +1302,6 @@ class _TranslationsVideoSettingsPl extends TranslationsVideoSettingsEn {
final TranslationsPl _root; // ignore: unused_field
// Translations
@override String get playbackSettings => 'Ustawienia odtwarzania';
@override String get playbackSpeed => 'Prędkość odtwarzania';
@override String get sleepTimer => 'Wyłącznik czasowy';
@override String get audioSync => 'Synchronizacja audio';
@@ -1535,6 +1562,7 @@ class _TranslationsHotkeysActionsPl extends TranslationsHotkeysActionsEn {
@override String get subSeekPrev => 'Przewiń do poprzedniego napisu';
@override String get shaderToggle => 'Przełącz shadery';
@override String get skipMarker => 'Pomiń intro/napisy końcowe';
@override String get screenshot => 'Zrób zrzut ekranu';
}
// Path: videoControls.pipErrors
@@ -1606,8 +1634,18 @@ class _TranslationsLibrariesSortLabelsPl extends TranslationsLibrariesSortLabels
@override String get dateAdded => 'Data dodania';
@override String get releaseDate => 'Data premiery';
@override String get rating => 'Ocena';
@override String get communityRating => 'Ocena społeczności';
@override String get criticRating => 'Ocena krytyków';
@override String get lastPlayed => 'Ostatnio odtwarzane';
@override String get datePlayed => 'Data odtworzenia';
@override String get playCount => 'Liczba odtworzeń';
@override String get productionYear => 'Rok produkcji';
@override String get runtime => 'Czas trwania';
@override String get officialRating => 'Oficjalna klasyfikacja';
@override String get premiereDate => 'Data premiery';
@override String get startDate => 'Data rozpoczęcia';
@override String get airTime => 'Godzina emisji';
@override String get studio => 'Studio';
@override String get random => 'Losowo';
@override String get dateShared => 'Data udostępnienia';
@override String get latestEpisodeAirDate => 'Data emisji ostatniego odcinka';
@@ -2000,6 +2038,12 @@ extension on TranslationsPl {
'settings.displaySwitchDelay' => 'Opóźnienie przełączania ekranu',
'settings.tunneledPlayback' => 'Tunelowane odtwarzanie',
'settings.tunneledPlaybackDescription' => 'Użyj tunelowania wideo. Wyłącz, jeśli HDR pokazuje czarny obraz.',
'settings.dvConversionMode' => 'Konwersja Dolby Vision',
'settings.dvConversionModeDescription' => 'Wybierz, jak ExoPlayer obsługuje pliki Dolby Vision Profile 7.',
'settings.dvConversionAuto' => 'Automatycznie',
'settings.dvConversionNative' => 'Natywnie / wyłączone',
'settings.dvConversionDv81' => 'P7 → P8.1',
'settings.dvConversionHevcStrip' => 'P7 → HEVC',
'settings.requireProfileSelectionOnOpen' => 'Pytaj o profil przy otwarciu aplikacji',
'settings.requireProfileSelectionOnOpenDescription' => 'Pokaż wybór profilu za każdym razem, gdy aplikacja jest otwierana',
'settings.forceTvMode' => 'Wymuś tryb TV',
@@ -2048,6 +2092,7 @@ extension on TranslationsPl {
'hotkeys.actions.subSeekPrev' => 'Przewiń do poprzedniego napisu',
'hotkeys.actions.shaderToggle' => 'Przełącz shadery',
'hotkeys.actions.skipMarker' => 'Pomiń intro/napisy końcowe',
'hotkeys.actions.screenshot' => 'Zrób zrzut ekranu',
'fileInfo.title' => 'Informacje o pliku',
'fileInfo.video' => 'Wideo',
'fileInfo.audio' => 'Audio',
@@ -2088,6 +2133,17 @@ extension on TranslationsPl {
'mediaMenu.rate' => 'Oceń',
'mediaMenu.playFromBeginning' => 'Odtwórz od początku',
'mediaMenu.playVersion' => 'Odtwórz wersję...',
'rateSheet.title' => 'Oceń',
'rateSheet.server' => 'Serwer',
'rateSheet.starValue' => ({required Object rating}) => '${rating} / 5',
'rateSheet.scoreValue' => ({required Object score}) => '${score} / 10',
'rateSheet.setScore' => 'Ustaw ocenę',
'rateSheet.notRated' => 'Nie oceniono',
'rateSheet.liked' => 'Polubione',
'rateSheet.notLiked' => 'Nie polubiono',
'rateSheet.saved' => 'Zapisano',
'rateSheet.notAvailable' => 'Nie znaleziono dopasowania',
'rateSheet.noConnectedTrackers' => 'Połącz tracker w Ustawieniach, aby tam oceniać.',
'accessibility.mediaCardMovie' => ({required Object title}) => '${title}, film',
'accessibility.mediaCardShow' => ({required Object title}) => '${title}, serial TV',
'accessibility.mediaCardEpisode' => ({required Object title, required Object episodeInfo}) => '${title}, ${episodeInfo}',
@@ -2130,7 +2186,7 @@ extension on TranslationsPl {
'videoControls.nextChapterButton' => 'Następny rozdział',
'videoControls.muteButton' => 'Wycisz',
'videoControls.unmuteButton' => 'Wyłącz wyciszenie',
'videoControls.settingsButton' => 'Ustawienia wideo',
'videoControls.settingsButton' => 'Ustawienia odtwarzania',
'videoControls.tracksButton' => 'Audio i napisy',
'videoControls.chaptersButton' => 'Rozdziały',
'videoControls.versionsButton' => 'Wersje wideo',
@@ -2156,6 +2212,7 @@ extension on TranslationsPl {
'videoControls.endsAt' => ({required Object time}) => 'Kończy się o ${time}',
'videoControls.pipActive' => 'Odtwarzanie w trybie obraz w obrazie',
'videoControls.pipFailed' => 'Nie udało się uruchomić trybu obraz w obrazie',
'videoControls.screenshotSaved' => 'Zrzut ekranu zapisany',
'videoControls.pipErrors.androidVersion' => 'Wymaga Androida 8.0 lub nowszego',
'videoControls.pipErrors.iosVersion' => 'Wymaga iOS 15.0 lub nowszego',
'videoControls.pipErrors.permissionDisabled' => 'Obraz w obrazie jest wyłączony. Włącz go w ustawieniach systemu.',
@@ -2255,6 +2312,8 @@ extension on TranslationsPl {
'profiles.signOut' => 'Wyloguj się',
'profiles.signOutPlexTitle' => 'Wylogować się z Plex?',
'profiles.signOutPlexMessage' => ({required Object displayName}) => 'Usunąć ${displayName} i wszystkich użytkowników Plex Home? Możesz zalogować się ponownie w każdej chwili.',
_ => null,
} ?? switch (path) {
'profiles.signedOutPlex' => 'Wylogowano z Plex.',
'profiles.signOutFailed' => 'Wylogowanie nie powiodło się.',
'profiles.sectionTitle' => 'Profile',
@@ -2274,8 +2333,6 @@ extension on TranslationsPl {
'profiles.confirmPinTitle' => 'Potwierdź PIN',
'profiles.pinSet' => 'PIN ustawiony',
'profiles.changePin' => 'Zmień',
_ => null,
} ?? switch (path) {
'profiles.removePin' => 'Usuń',
'profiles.connectionsLabel' => 'Połączenia',
'profiles.add' => 'Dodaj',
@@ -2400,8 +2457,18 @@ extension on TranslationsPl {
'libraries.sortLabels.dateAdded' => 'Data dodania',
'libraries.sortLabels.releaseDate' => 'Data premiery',
'libraries.sortLabels.rating' => 'Ocena',
'libraries.sortLabels.communityRating' => 'Ocena społeczności',
'libraries.sortLabels.criticRating' => 'Ocena krytyków',
'libraries.sortLabels.lastPlayed' => 'Ostatnio odtwarzane',
'libraries.sortLabels.datePlayed' => 'Data odtworzenia',
'libraries.sortLabels.playCount' => 'Liczba odtworzeń',
'libraries.sortLabels.productionYear' => 'Rok produkcji',
'libraries.sortLabels.runtime' => 'Czas trwania',
'libraries.sortLabels.officialRating' => 'Oficjalna klasyfikacja',
'libraries.sortLabels.premiereDate' => 'Data premiery',
'libraries.sortLabels.startDate' => 'Data rozpoczęcia',
'libraries.sortLabels.airTime' => 'Godzina emisji',
'libraries.sortLabels.studio' => 'Studio',
'libraries.sortLabels.random' => 'Losowo',
'libraries.sortLabels.dateShared' => 'Data udostępnienia',
'libraries.sortLabels.latestEpisodeAirDate' => 'Data emisji ostatniego odcinka',
@@ -2719,7 +2786,6 @@ extension on TranslationsPl {
'companionRemote.remote.subtitles' => 'Napisy',
'companionRemote.remote.audio' => 'Audio',
'companionRemote.remote.searchHint' => 'Szukaj na komputerze...',
'videoSettings.playbackSettings' => 'Ustawienia odtwarzania',
'videoSettings.playbackSpeed' => 'Prędkość odtwarzania',
'videoSettings.sleepTimer' => 'Wyłącznik czasowy',
'videoSettings.audioSync' => 'Synchronizacja audio',
@@ -2760,6 +2826,8 @@ extension on TranslationsPl {
'metadataEdit.poster' => 'Plakat',
'metadataEdit.background' => 'Tło',
'metadataEdit.logo' => 'Logo',
_ => null,
} ?? switch (path) {
'metadataEdit.squareArt' => 'Kwadratowy obraz',
'metadataEdit.selectPoster' => 'Wybierz plakat',
'metadataEdit.selectBackground' => 'Wybierz tło',
@@ -2788,8 +2856,6 @@ extension on TranslationsPl {
'metadataEdit.episodesAddedPastDays' => ({required Object count}) => 'Odcinki dodane w ciągu ostatnich ${count} dni',
'metadataEdit.deleteAfterPlaying' => 'Usuń odcinki po odtworzeniu',
'metadataEdit.never' => 'Nigdy',
_ => null,
} ?? switch (path) {
'metadataEdit.afterADay' => 'Po jednym dniu',
'metadataEdit.afterAWeek' => 'Po tygodniu',
'metadataEdit.afterAMonth' => 'Po miesiącu',
+74 -8
View File
@@ -49,6 +49,7 @@ class TranslationsPt extends Translations with BaseTranslations<AppLocale, Trans
@override late final _TranslationsHotkeysPt hotkeys = _TranslationsHotkeysPt._(_root);
@override late final _TranslationsFileInfoPt fileInfo = _TranslationsFileInfoPt._(_root);
@override late final _TranslationsMediaMenuPt mediaMenu = _TranslationsMediaMenuPt._(_root);
@override late final _TranslationsRateSheetPt rateSheet = _TranslationsRateSheetPt._(_root);
@override late final _TranslationsAccessibilityPt accessibility = _TranslationsAccessibilityPt._(_root);
@override late final _TranslationsTooltipsPt tooltips = _TranslationsTooltipsPt._(_root);
@override late final _TranslationsVideoControlsPt videoControls = _TranslationsVideoControlsPt._(_root);
@@ -375,6 +376,12 @@ class _TranslationsSettingsPt extends TranslationsSettingsEn {
@override String get displaySwitchDelay => 'Atraso na Troca de Tela';
@override String get tunneledPlayback => 'Reprodução Tunelizada';
@override String get tunneledPlaybackDescription => 'Usar tunelamento de vídeo. Desative se HDR mostrar vídeo preto.';
@override String get dvConversionMode => 'Conversão Dolby Vision';
@override String get dvConversionModeDescription => 'Escolha como o ExoPlayer lida com arquivos Dolby Vision Profile 7.';
@override String get dvConversionAuto => 'Automático';
@override String get dvConversionNative => 'Nativo / desativado';
@override String get dvConversionDv81 => 'P7 → P8.1';
@override String get dvConversionHevcStrip => 'P7 → HEVC';
@override String get requireProfileSelectionOnOpen => 'Pedir perfil ao abrir o app';
@override String get requireProfileSelectionOnOpenDescription => 'Mostrar seleção de perfil toda vez que o app for aberto';
@override String get forceTvMode => 'Forçar modo TV';
@@ -481,6 +488,26 @@ class _TranslationsMediaMenuPt extends TranslationsMediaMenuEn {
@override String get playVersion => 'Reproduzir versão...';
}
// Path: rateSheet
class _TranslationsRateSheetPt extends TranslationsRateSheetEn {
_TranslationsRateSheetPt._(TranslationsPt root) : this._root = root, super.internal(root);
final TranslationsPt _root; // ignore: unused_field
// Translations
@override String get title => 'Avaliar';
@override String get server => 'Servidor';
@override String starValue({required Object rating}) => '${rating} / 5';
@override String scoreValue({required Object score}) => '${score} / 10';
@override String get setScore => 'Definir pontuação';
@override String get notRated => 'Sem avaliação';
@override String get liked => 'Gostei';
@override String get notLiked => 'Não marcado como gostei';
@override String get saved => 'Salvo';
@override String get notAvailable => 'Nenhuma correspondência encontrada';
@override String get noConnectedTrackers => 'Conecte um rastreador em Configurações para avaliar lá.';
}
// Path: accessibility
class _TranslationsAccessibilityPt extends TranslationsAccessibilityEn {
_TranslationsAccessibilityPt._(TranslationsPt root) : this._root = root, super.internal(root);
@@ -548,7 +575,7 @@ class _TranslationsVideoControlsPt extends TranslationsVideoControlsEn {
@override String get nextChapterButton => 'Próximo capítulo';
@override String get muteButton => 'Silenciar';
@override String get unmuteButton => 'Ativar som';
@override String get settingsButton => 'Configurações de vídeo';
@override String get settingsButton => 'Configurações de Reprodução';
@override String get tracksButton => 'Áudio e Legendas';
@override String get chaptersButton => 'Capítulos';
@override String get versionsButton => 'Versões do vídeo';
@@ -574,6 +601,7 @@ class _TranslationsVideoControlsPt extends TranslationsVideoControlsEn {
@override String endsAt({required Object time}) => 'Termina às ${time}';
@override String get pipActive => 'Reproduzindo em Picture-in-Picture';
@override String get pipFailed => 'Falha ao iniciar picture-in-picture';
@override String get screenshotSaved => 'Captura de tela salva';
@override late final _TranslationsVideoControlsPipErrorsPt pipErrors = _TranslationsVideoControlsPipErrorsPt._(_root);
@override String get chapters => 'Capítulos';
@override String get noChaptersAvailable => 'Nenhum capítulo disponível';
@@ -1274,7 +1302,6 @@ class _TranslationsVideoSettingsPt extends TranslationsVideoSettingsEn {
final TranslationsPt _root; // ignore: unused_field
// Translations
@override String get playbackSettings => 'Configurações de Reprodução';
@override String get playbackSpeed => 'Velocidade de Reprodução';
@override String get sleepTimer => 'Timer de Sono';
@override String get audioSync => 'Sincronia de Áudio';
@@ -1535,6 +1562,7 @@ class _TranslationsHotkeysActionsPt extends TranslationsHotkeysActionsEn {
@override String get subSeekPrev => 'Ir para Legenda Anterior';
@override String get shaderToggle => 'Alternar Shaders';
@override String get skipMarker => 'Pular Intro/Créditos';
@override String get screenshot => 'Capturar tela';
}
// Path: videoControls.pipErrors
@@ -1606,8 +1634,18 @@ class _TranslationsLibrariesSortLabelsPt extends TranslationsLibrariesSortLabels
@override String get dateAdded => 'Data de adição';
@override String get releaseDate => 'Data de lançamento';
@override String get rating => 'Avaliação';
@override String get communityRating => 'Avaliação da comunidade';
@override String get criticRating => 'Avaliação da crítica';
@override String get lastPlayed => 'Última reprodução';
@override String get datePlayed => 'Data de reprodução';
@override String get playCount => 'Reproduções';
@override String get productionYear => 'Ano de produção';
@override String get runtime => 'Duração';
@override String get officialRating => 'Classificação oficial';
@override String get premiereDate => 'Data de estreia';
@override String get startDate => 'Data de início';
@override String get airTime => 'Horário de exibição';
@override String get studio => 'Estúdio';
@override String get random => 'Aleatório';
@override String get dateShared => 'Data de compartilhamento';
@override String get latestEpisodeAirDate => 'Última data de exibição do episódio';
@@ -2000,6 +2038,12 @@ extension on TranslationsPt {
'settings.displaySwitchDelay' => 'Atraso na Troca de Tela',
'settings.tunneledPlayback' => 'Reprodução Tunelizada',
'settings.tunneledPlaybackDescription' => 'Usar tunelamento de vídeo. Desative se HDR mostrar vídeo preto.',
'settings.dvConversionMode' => 'Conversão Dolby Vision',
'settings.dvConversionModeDescription' => 'Escolha como o ExoPlayer lida com arquivos Dolby Vision Profile 7.',
'settings.dvConversionAuto' => 'Automático',
'settings.dvConversionNative' => 'Nativo / desativado',
'settings.dvConversionDv81' => 'P7 → P8.1',
'settings.dvConversionHevcStrip' => 'P7 → HEVC',
'settings.requireProfileSelectionOnOpen' => 'Pedir perfil ao abrir o app',
'settings.requireProfileSelectionOnOpenDescription' => 'Mostrar seleção de perfil toda vez que o app for aberto',
'settings.forceTvMode' => 'Forçar modo TV',
@@ -2048,6 +2092,7 @@ extension on TranslationsPt {
'hotkeys.actions.subSeekPrev' => 'Ir para Legenda Anterior',
'hotkeys.actions.shaderToggle' => 'Alternar Shaders',
'hotkeys.actions.skipMarker' => 'Pular Intro/Créditos',
'hotkeys.actions.screenshot' => 'Capturar tela',
'fileInfo.title' => 'Info do Arquivo',
'fileInfo.video' => 'Vídeo',
'fileInfo.audio' => 'Áudio',
@@ -2088,6 +2133,17 @@ extension on TranslationsPt {
'mediaMenu.rate' => 'Avaliar',
'mediaMenu.playFromBeginning' => 'Reproduzir do início',
'mediaMenu.playVersion' => 'Reproduzir versão...',
'rateSheet.title' => 'Avaliar',
'rateSheet.server' => 'Servidor',
'rateSheet.starValue' => ({required Object rating}) => '${rating} / 5',
'rateSheet.scoreValue' => ({required Object score}) => '${score} / 10',
'rateSheet.setScore' => 'Definir pontuação',
'rateSheet.notRated' => 'Sem avaliação',
'rateSheet.liked' => 'Gostei',
'rateSheet.notLiked' => 'Não marcado como gostei',
'rateSheet.saved' => 'Salvo',
'rateSheet.notAvailable' => 'Nenhuma correspondência encontrada',
'rateSheet.noConnectedTrackers' => 'Conecte um rastreador em Configurações para avaliar lá.',
'accessibility.mediaCardMovie' => ({required Object title}) => '${title}, filme',
'accessibility.mediaCardShow' => ({required Object title}) => '${title}, série de TV',
'accessibility.mediaCardEpisode' => ({required Object title, required Object episodeInfo}) => '${title}, ${episodeInfo}',
@@ -2130,7 +2186,7 @@ extension on TranslationsPt {
'videoControls.nextChapterButton' => 'Próximo capítulo',
'videoControls.muteButton' => 'Silenciar',
'videoControls.unmuteButton' => 'Ativar som',
'videoControls.settingsButton' => 'Configurações de vídeo',
'videoControls.settingsButton' => 'Configurações de Reprodução',
'videoControls.tracksButton' => 'Áudio e Legendas',
'videoControls.chaptersButton' => 'Capítulos',
'videoControls.versionsButton' => 'Versões do vídeo',
@@ -2156,6 +2212,7 @@ extension on TranslationsPt {
'videoControls.endsAt' => ({required Object time}) => 'Termina às ${time}',
'videoControls.pipActive' => 'Reproduzindo em Picture-in-Picture',
'videoControls.pipFailed' => 'Falha ao iniciar picture-in-picture',
'videoControls.screenshotSaved' => 'Captura de tela salva',
'videoControls.pipErrors.androidVersion' => 'Requer Android 8.0 ou superior',
'videoControls.pipErrors.iosVersion' => 'Requer iOS 15.0 ou superior',
'videoControls.pipErrors.permissionDisabled' => 'Picture-in-picture está desativado. Ative nas configurações do sistema.',
@@ -2255,6 +2312,8 @@ extension on TranslationsPt {
'profiles.signOut' => 'Sair',
'profiles.signOutPlexTitle' => 'Sair do Plex?',
'profiles.signOutPlexMessage' => ({required Object displayName}) => 'Remover ${displayName} e todos os usuários Plex Home? Você pode entrar novamente quando quiser.',
_ => null,
} ?? switch (path) {
'profiles.signedOutPlex' => 'Saiu do Plex.',
'profiles.signOutFailed' => 'Falha ao sair.',
'profiles.sectionTitle' => 'Perfis',
@@ -2274,8 +2333,6 @@ extension on TranslationsPt {
'profiles.confirmPinTitle' => 'Confirmar PIN',
'profiles.pinSet' => 'PIN definido',
'profiles.changePin' => 'Alterar',
_ => null,
} ?? switch (path) {
'profiles.removePin' => 'Remover',
'profiles.connectionsLabel' => 'Conexões',
'profiles.add' => 'Adicionar',
@@ -2400,8 +2457,18 @@ extension on TranslationsPt {
'libraries.sortLabels.dateAdded' => 'Data de adição',
'libraries.sortLabels.releaseDate' => 'Data de lançamento',
'libraries.sortLabels.rating' => 'Avaliação',
'libraries.sortLabels.communityRating' => 'Avaliação da comunidade',
'libraries.sortLabels.criticRating' => 'Avaliação da crítica',
'libraries.sortLabels.lastPlayed' => 'Última reprodução',
'libraries.sortLabels.datePlayed' => 'Data de reprodução',
'libraries.sortLabels.playCount' => 'Reproduções',
'libraries.sortLabels.productionYear' => 'Ano de produção',
'libraries.sortLabels.runtime' => 'Duração',
'libraries.sortLabels.officialRating' => 'Classificação oficial',
'libraries.sortLabels.premiereDate' => 'Data de estreia',
'libraries.sortLabels.startDate' => 'Data de início',
'libraries.sortLabels.airTime' => 'Horário de exibição',
'libraries.sortLabels.studio' => 'Estúdio',
'libraries.sortLabels.random' => 'Aleatório',
'libraries.sortLabels.dateShared' => 'Data de compartilhamento',
'libraries.sortLabels.latestEpisodeAirDate' => 'Última data de exibição do episódio',
@@ -2719,7 +2786,6 @@ extension on TranslationsPt {
'companionRemote.remote.subtitles' => 'Legendas',
'companionRemote.remote.audio' => 'Áudio',
'companionRemote.remote.searchHint' => 'Buscar no desktop...',
'videoSettings.playbackSettings' => 'Configurações de Reprodução',
'videoSettings.playbackSpeed' => 'Velocidade de Reprodução',
'videoSettings.sleepTimer' => 'Timer de Sono',
'videoSettings.audioSync' => 'Sincronia de Áudio',
@@ -2760,6 +2826,8 @@ extension on TranslationsPt {
'metadataEdit.poster' => 'Poster',
'metadataEdit.background' => 'Plano de Fundo',
'metadataEdit.logo' => 'Logo',
_ => null,
} ?? switch (path) {
'metadataEdit.squareArt' => 'Imagem Quadrada',
'metadataEdit.selectPoster' => 'Selecionar Poster',
'metadataEdit.selectBackground' => 'Selecionar Plano de Fundo',
@@ -2788,8 +2856,6 @@ extension on TranslationsPt {
'metadataEdit.episodesAddedPastDays' => ({required Object count}) => 'Episódios adicionados nos últimos ${count} dias',
'metadataEdit.deleteAfterPlaying' => 'Excluir Episódios Após Reproduzir',
'metadataEdit.never' => 'Nunca',
_ => null,
} ?? switch (path) {
'metadataEdit.afterADay' => 'Após um dia',
'metadataEdit.afterAWeek' => 'Após uma semana',
'metadataEdit.afterAMonth' => 'Após um mês',
+74 -8
View File
@@ -49,6 +49,7 @@ class TranslationsRu extends Translations with BaseTranslations<AppLocale, Trans
@override late final _TranslationsHotkeysRu hotkeys = _TranslationsHotkeysRu._(_root);
@override late final _TranslationsFileInfoRu fileInfo = _TranslationsFileInfoRu._(_root);
@override late final _TranslationsMediaMenuRu mediaMenu = _TranslationsMediaMenuRu._(_root);
@override late final _TranslationsRateSheetRu rateSheet = _TranslationsRateSheetRu._(_root);
@override late final _TranslationsAccessibilityRu accessibility = _TranslationsAccessibilityRu._(_root);
@override late final _TranslationsTooltipsRu tooltips = _TranslationsTooltipsRu._(_root);
@override late final _TranslationsVideoControlsRu videoControls = _TranslationsVideoControlsRu._(_root);
@@ -375,6 +376,12 @@ class _TranslationsSettingsRu extends TranslationsSettingsEn {
@override String get displaySwitchDelay => 'Задержка переключения дисплея';
@override String get tunneledPlayback => 'Туннельное воспроизведение';
@override String get tunneledPlaybackDescription => 'Использовать видеотуннелирование. Отключите, если HDR показывает черный экран.';
@override String get dvConversionMode => 'Преобразование Dolby Vision';
@override String get dvConversionModeDescription => 'Выберите, как ExoPlayer обрабатывает файлы Dolby Vision Profile 7.';
@override String get dvConversionAuto => 'Авто';
@override String get dvConversionNative => 'Нативно / отключено';
@override String get dvConversionDv81 => 'P7 → P8.1';
@override String get dvConversionHevcStrip => 'P7 → HEVC';
@override String get requireProfileSelectionOnOpen => 'Запрашивать профиль при запуске';
@override String get requireProfileSelectionOnOpenDescription => 'Показывать выбор профиля при каждом открытии приложения';
@override String get forceTvMode => 'Принудительный режим ТВ';
@@ -481,6 +488,26 @@ class _TranslationsMediaMenuRu extends TranslationsMediaMenuEn {
@override String get playVersion => 'Воспроизвести версию...';
}
// Path: rateSheet
class _TranslationsRateSheetRu extends TranslationsRateSheetEn {
_TranslationsRateSheetRu._(TranslationsRu root) : this._root = root, super.internal(root);
final TranslationsRu _root; // ignore: unused_field
// Translations
@override String get title => 'Оценить';
@override String get server => 'Сервер';
@override String starValue({required Object rating}) => '${rating} / 5';
@override String scoreValue({required Object score}) => '${score} / 10';
@override String get setScore => 'Установить оценку';
@override String get notRated => 'Без оценки';
@override String get liked => 'Понравилось';
@override String get notLiked => 'Не отмечено понравившимся';
@override String get saved => 'Сохранено';
@override String get notAvailable => 'Совпадений не найдено';
@override String get noConnectedTrackers => 'Подключите трекер в настройках, чтобы оценивать там.';
}
// Path: accessibility
class _TranslationsAccessibilityRu extends TranslationsAccessibilityEn {
_TranslationsAccessibilityRu._(TranslationsRu root) : this._root = root, super.internal(root);
@@ -548,7 +575,7 @@ class _TranslationsVideoControlsRu extends TranslationsVideoControlsEn {
@override String get nextChapterButton => 'Следующая глава';
@override String get muteButton => 'Без звука';
@override String get unmuteButton => 'Включить звук';
@override String get settingsButton => 'Настройки видео';
@override String get settingsButton => 'Настройки воспроизведения';
@override String get tracksButton => 'Аудио и субтитры';
@override String get chaptersButton => 'Главы';
@override String get versionsButton => 'Версии видео';
@@ -574,6 +601,7 @@ class _TranslationsVideoControlsRu extends TranslationsVideoControlsEn {
@override String endsAt({required Object time}) => 'Закончится в ${time}';
@override String get pipActive => 'Воспроизводится в режиме «картинка в картинке»';
@override String get pipFailed => 'Не удалось запустить режим «картинка в картинке»';
@override String get screenshotSaved => 'Снимок экрана сохранён';
@override late final _TranslationsVideoControlsPipErrorsRu pipErrors = _TranslationsVideoControlsPipErrorsRu._(_root);
@override String get chapters => 'Главы';
@override String get noChaptersAvailable => 'Главы недоступны';
@@ -1274,7 +1302,6 @@ class _TranslationsVideoSettingsRu extends TranslationsVideoSettingsEn {
final TranslationsRu _root; // ignore: unused_field
// Translations
@override String get playbackSettings => 'Настройки воспроизведения';
@override String get playbackSpeed => 'Скорость воспроизведения';
@override String get sleepTimer => 'Таймер сна';
@override String get audioSync => 'Синхронизация аудио';
@@ -1535,6 +1562,7 @@ class _TranslationsHotkeysActionsRu extends TranslationsHotkeysActionsEn {
@override String get subSeekPrev => 'К предыдущему субтитру';
@override String get shaderToggle => 'Вкл./выкл. шейдеры';
@override String get skipMarker => 'Пропустить вступление/титры';
@override String get screenshot => 'Сделать снимок экрана';
}
// Path: videoControls.pipErrors
@@ -1606,8 +1634,18 @@ class _TranslationsLibrariesSortLabelsRu extends TranslationsLibrariesSortLabels
@override String get dateAdded => 'Дата добавления';
@override String get releaseDate => 'Дата выхода';
@override String get rating => 'Рейтинг';
@override String get communityRating => 'Оценка сообщества';
@override String get criticRating => 'Оценка критиков';
@override String get lastPlayed => 'Последний просмотр';
@override String get datePlayed => 'Дата просмотра';
@override String get playCount => 'Количество просмотров';
@override String get productionYear => 'Год производства';
@override String get runtime => 'Длительность';
@override String get officialRating => 'Официальный рейтинг';
@override String get premiereDate => 'Дата премьеры';
@override String get startDate => 'Дата начала';
@override String get airTime => 'Время эфира';
@override String get studio => 'Студия';
@override String get random => 'Случайно';
@override String get dateShared => 'Дата открытия доступа';
@override String get latestEpisodeAirDate => 'Дата выхода последнего эпизода';
@@ -2000,6 +2038,12 @@ extension on TranslationsRu {
'settings.displaySwitchDelay' => 'Задержка переключения дисплея',
'settings.tunneledPlayback' => 'Туннельное воспроизведение',
'settings.tunneledPlaybackDescription' => 'Использовать видеотуннелирование. Отключите, если HDR показывает черный экран.',
'settings.dvConversionMode' => 'Преобразование Dolby Vision',
'settings.dvConversionModeDescription' => 'Выберите, как ExoPlayer обрабатывает файлы Dolby Vision Profile 7.',
'settings.dvConversionAuto' => 'Авто',
'settings.dvConversionNative' => 'Нативно / отключено',
'settings.dvConversionDv81' => 'P7 → P8.1',
'settings.dvConversionHevcStrip' => 'P7 → HEVC',
'settings.requireProfileSelectionOnOpen' => 'Запрашивать профиль при запуске',
'settings.requireProfileSelectionOnOpenDescription' => 'Показывать выбор профиля при каждом открытии приложения',
'settings.forceTvMode' => 'Принудительный режим ТВ',
@@ -2048,6 +2092,7 @@ extension on TranslationsRu {
'hotkeys.actions.subSeekPrev' => 'К предыдущему субтитру',
'hotkeys.actions.shaderToggle' => 'Вкл./выкл. шейдеры',
'hotkeys.actions.skipMarker' => 'Пропустить вступление/титры',
'hotkeys.actions.screenshot' => 'Сделать снимок экрана',
'fileInfo.title' => 'Информация о файле',
'fileInfo.video' => 'Видео',
'fileInfo.audio' => 'Аудио',
@@ -2088,6 +2133,17 @@ extension on TranslationsRu {
'mediaMenu.rate' => 'Оценить',
'mediaMenu.playFromBeginning' => 'Воспроизвести сначала',
'mediaMenu.playVersion' => 'Воспроизвести версию...',
'rateSheet.title' => 'Оценить',
'rateSheet.server' => 'Сервер',
'rateSheet.starValue' => ({required Object rating}) => '${rating} / 5',
'rateSheet.scoreValue' => ({required Object score}) => '${score} / 10',
'rateSheet.setScore' => 'Установить оценку',
'rateSheet.notRated' => 'Без оценки',
'rateSheet.liked' => 'Понравилось',
'rateSheet.notLiked' => 'Не отмечено понравившимся',
'rateSheet.saved' => 'Сохранено',
'rateSheet.notAvailable' => 'Совпадений не найдено',
'rateSheet.noConnectedTrackers' => 'Подключите трекер в настройках, чтобы оценивать там.',
'accessibility.mediaCardMovie' => ({required Object title}) => '${title}, фильм',
'accessibility.mediaCardShow' => ({required Object title}) => '${title}, сериал',
'accessibility.mediaCardEpisode' => ({required Object title, required Object episodeInfo}) => '${title}, ${episodeInfo}',
@@ -2130,7 +2186,7 @@ extension on TranslationsRu {
'videoControls.nextChapterButton' => 'Следующая глава',
'videoControls.muteButton' => 'Без звука',
'videoControls.unmuteButton' => 'Включить звук',
'videoControls.settingsButton' => 'Настройки видео',
'videoControls.settingsButton' => 'Настройки воспроизведения',
'videoControls.tracksButton' => 'Аудио и субтитры',
'videoControls.chaptersButton' => 'Главы',
'videoControls.versionsButton' => 'Версии видео',
@@ -2156,6 +2212,7 @@ extension on TranslationsRu {
'videoControls.endsAt' => ({required Object time}) => 'Закончится в ${time}',
'videoControls.pipActive' => 'Воспроизводится в режиме «картинка в картинке»',
'videoControls.pipFailed' => 'Не удалось запустить режим «картинка в картинке»',
'videoControls.screenshotSaved' => 'Снимок экрана сохранён',
'videoControls.pipErrors.androidVersion' => 'Требуется Android 8.0 или новее',
'videoControls.pipErrors.iosVersion' => 'Требуется iOS 15.0 или новее',
'videoControls.pipErrors.permissionDisabled' => 'Картинка-в-картинке отключена. Включите ее в системных настройках.',
@@ -2255,6 +2312,8 @@ extension on TranslationsRu {
'profiles.signOut' => 'Выйти',
'profiles.signOutPlexTitle' => 'Выйти из Plex?',
'profiles.signOutPlexMessage' => ({required Object displayName}) => 'Удалить ${displayName} и всех пользователей Plex Home? Вы сможете войти снова в любое время.',
_ => null,
} ?? switch (path) {
'profiles.signedOutPlex' => 'Вы вышли из Plex.',
'profiles.signOutFailed' => 'Не удалось выйти.',
'profiles.sectionTitle' => 'Профили',
@@ -2274,8 +2333,6 @@ extension on TranslationsRu {
'profiles.confirmPinTitle' => 'Подтвердить PIN',
'profiles.pinSet' => 'PIN установлен',
'profiles.changePin' => 'Изменить',
_ => null,
} ?? switch (path) {
'profiles.removePin' => 'Удалить',
'profiles.connectionsLabel' => 'Соединения',
'profiles.add' => 'Добавить',
@@ -2400,8 +2457,18 @@ extension on TranslationsRu {
'libraries.sortLabels.dateAdded' => 'Дата добавления',
'libraries.sortLabels.releaseDate' => 'Дата выхода',
'libraries.sortLabels.rating' => 'Рейтинг',
'libraries.sortLabels.communityRating' => 'Оценка сообщества',
'libraries.sortLabels.criticRating' => 'Оценка критиков',
'libraries.sortLabels.lastPlayed' => 'Последний просмотр',
'libraries.sortLabels.datePlayed' => 'Дата просмотра',
'libraries.sortLabels.playCount' => 'Количество просмотров',
'libraries.sortLabels.productionYear' => 'Год производства',
'libraries.sortLabels.runtime' => 'Длительность',
'libraries.sortLabels.officialRating' => 'Официальный рейтинг',
'libraries.sortLabels.premiereDate' => 'Дата премьеры',
'libraries.sortLabels.startDate' => 'Дата начала',
'libraries.sortLabels.airTime' => 'Время эфира',
'libraries.sortLabels.studio' => 'Студия',
'libraries.sortLabels.random' => 'Случайно',
'libraries.sortLabels.dateShared' => 'Дата открытия доступа',
'libraries.sortLabels.latestEpisodeAirDate' => 'Дата выхода последнего эпизода',
@@ -2719,7 +2786,6 @@ extension on TranslationsRu {
'companionRemote.remote.subtitles' => 'Субтитры',
'companionRemote.remote.audio' => 'Аудио',
'companionRemote.remote.searchHint' => 'Поиск на десктопе...',
'videoSettings.playbackSettings' => 'Настройки воспроизведения',
'videoSettings.playbackSpeed' => 'Скорость воспроизведения',
'videoSettings.sleepTimer' => 'Таймер сна',
'videoSettings.audioSync' => 'Синхронизация аудио',
@@ -2760,6 +2826,8 @@ extension on TranslationsRu {
'metadataEdit.poster' => 'Постер',
'metadataEdit.background' => 'Фон',
'metadataEdit.logo' => 'Логотип',
_ => null,
} ?? switch (path) {
'metadataEdit.squareArt' => 'Квадратное изображение',
'metadataEdit.selectPoster' => 'Выбрать постер',
'metadataEdit.selectBackground' => 'Выбрать фон',
@@ -2788,8 +2856,6 @@ extension on TranslationsRu {
'metadataEdit.episodesAddedPastDays' => ({required Object count}) => 'Эпизоды, добавленные за последние ${count} дней',
'metadataEdit.deleteAfterPlaying' => 'Удалять эпизоды после просмотра',
'metadataEdit.never' => 'Никогда',
_ => null,
} ?? switch (path) {
'metadataEdit.afterADay' => 'Через день',
'metadataEdit.afterAWeek' => 'Через неделю',
'metadataEdit.afterAMonth' => 'Через месяц',
+74 -8
View File
@@ -49,6 +49,7 @@ class TranslationsSv extends Translations with BaseTranslations<AppLocale, Trans
@override late final _TranslationsHotkeysSv hotkeys = _TranslationsHotkeysSv._(_root);
@override late final _TranslationsFileInfoSv fileInfo = _TranslationsFileInfoSv._(_root);
@override late final _TranslationsMediaMenuSv mediaMenu = _TranslationsMediaMenuSv._(_root);
@override late final _TranslationsRateSheetSv rateSheet = _TranslationsRateSheetSv._(_root);
@override late final _TranslationsAccessibilitySv accessibility = _TranslationsAccessibilitySv._(_root);
@override late final _TranslationsTooltipsSv tooltips = _TranslationsTooltipsSv._(_root);
@override late final _TranslationsVideoControlsSv videoControls = _TranslationsVideoControlsSv._(_root);
@@ -375,6 +376,12 @@ class _TranslationsSettingsSv extends TranslationsSettingsEn {
@override String get displaySwitchDelay => 'Fördröjning vid skärmbyte';
@override String get tunneledPlayback => 'Tunneluppspelning';
@override String get tunneledPlaybackDescription => 'Använd videotunnling. Inaktivera om HDR-uppspelning visar svart video.';
@override String get dvConversionMode => 'Dolby Vision-konvertering';
@override String get dvConversionModeDescription => 'Välj hur ExoPlayer hanterar Dolby Vision Profile 7-filer.';
@override String get dvConversionAuto => 'Auto';
@override String get dvConversionNative => 'Inbyggt / inaktiverat';
@override String get dvConversionDv81 => 'P7 → P8.1';
@override String get dvConversionHevcStrip => 'P7 → HEVC';
@override String get requireProfileSelectionOnOpen => 'Fråga efter profil vid appstart';
@override String get requireProfileSelectionOnOpenDescription => 'Visa profilval varje gång appen öppnas';
@override String get forceTvMode => 'Tvinga TV-läge';
@@ -481,6 +488,26 @@ class _TranslationsMediaMenuSv extends TranslationsMediaMenuEn {
@override String get playVersion => 'Spela version...';
}
// Path: rateSheet
class _TranslationsRateSheetSv extends TranslationsRateSheetEn {
_TranslationsRateSheetSv._(TranslationsSv root) : this._root = root, super.internal(root);
final TranslationsSv _root; // ignore: unused_field
// Translations
@override String get title => 'Betygsätt';
@override String get server => 'Server';
@override String starValue({required Object rating}) => '${rating} / 5';
@override String scoreValue({required Object score}) => '${score} / 10';
@override String get setScore => 'Ange betyg';
@override String get notRated => 'Inte betygsatt';
@override String get liked => 'Gillad';
@override String get notLiked => 'Inte gillad';
@override String get saved => 'Sparat';
@override String get notAvailable => 'Ingen matchning hittades';
@override String get noConnectedTrackers => 'Anslut en spårare i Inställningar för att betygsätta där.';
}
// Path: accessibility
class _TranslationsAccessibilitySv extends TranslationsAccessibilityEn {
_TranslationsAccessibilitySv._(TranslationsSv root) : this._root = root, super.internal(root);
@@ -548,7 +575,7 @@ class _TranslationsVideoControlsSv extends TranslationsVideoControlsEn {
@override String get nextChapterButton => 'Nästa kapitel';
@override String get muteButton => 'Tysta';
@override String get unmuteButton => 'Slå på ljud';
@override String get settingsButton => 'Videoinställningar';
@override String get settingsButton => 'Uppspelningsinställningar';
@override String get tracksButton => 'Ljud och undertexter';
@override String get chaptersButton => 'Kapitel';
@override String get versionsButton => 'Videoversioner';
@@ -574,6 +601,7 @@ class _TranslationsVideoControlsSv extends TranslationsVideoControlsEn {
@override String endsAt({required Object time}) => 'Slutar ${time}';
@override String get pipActive => 'Spelar i bild-i-bild';
@override String get pipFailed => 'Bild-i-bild kunde inte starta';
@override String get screenshotSaved => 'Skärmbild sparad';
@override late final _TranslationsVideoControlsPipErrorsSv pipErrors = _TranslationsVideoControlsPipErrorsSv._(_root);
@override String get chapters => 'Kapitel';
@override String get noChaptersAvailable => 'Inga kapitel tillgängliga';
@@ -1274,7 +1302,6 @@ class _TranslationsVideoSettingsSv extends TranslationsVideoSettingsEn {
final TranslationsSv _root; // ignore: unused_field
// Translations
@override String get playbackSettings => 'Uppspelningsinställningar';
@override String get playbackSpeed => 'Uppspelningshastighet';
@override String get sleepTimer => 'Sovtimer';
@override String get audioSync => 'Ljudsynkronisering';
@@ -1535,6 +1562,7 @@ class _TranslationsHotkeysActionsSv extends TranslationsHotkeysActionsEn {
@override String get subSeekPrev => 'Hoppa till föregående undertext';
@override String get shaderToggle => 'Växla shaders';
@override String get skipMarker => 'Hoppa över intro/eftertexter';
@override String get screenshot => 'Ta skärmbild';
}
// Path: videoControls.pipErrors
@@ -1606,8 +1634,18 @@ class _TranslationsLibrariesSortLabelsSv extends TranslationsLibrariesSortLabels
@override String get dateAdded => 'Tillagd';
@override String get releaseDate => 'Releasedatum';
@override String get rating => 'Betyg';
@override String get communityRating => 'Användarbetyg';
@override String get criticRating => 'Kritikerbetyg';
@override String get lastPlayed => 'Senast spelad';
@override String get datePlayed => 'Speldatum';
@override String get playCount => 'Antal spelningar';
@override String get productionYear => 'Produktionsår';
@override String get runtime => 'Speltid';
@override String get officialRating => 'Officiell klassificering';
@override String get premiereDate => 'Premiärdatum';
@override String get startDate => 'Startdatum';
@override String get airTime => 'Sändningstid';
@override String get studio => 'Studio';
@override String get random => 'Slumpmässigt';
@override String get dateShared => 'Delningsdatum';
@override String get latestEpisodeAirDate => 'Senaste avsnittets sändningsdatum';
@@ -2000,6 +2038,12 @@ extension on TranslationsSv {
'settings.displaySwitchDelay' => 'Fördröjning vid skärmbyte',
'settings.tunneledPlayback' => 'Tunneluppspelning',
'settings.tunneledPlaybackDescription' => 'Använd videotunnling. Inaktivera om HDR-uppspelning visar svart video.',
'settings.dvConversionMode' => 'Dolby Vision-konvertering',
'settings.dvConversionModeDescription' => 'Välj hur ExoPlayer hanterar Dolby Vision Profile 7-filer.',
'settings.dvConversionAuto' => 'Auto',
'settings.dvConversionNative' => 'Inbyggt / inaktiverat',
'settings.dvConversionDv81' => 'P7 → P8.1',
'settings.dvConversionHevcStrip' => 'P7 → HEVC',
'settings.requireProfileSelectionOnOpen' => 'Fråga efter profil vid appstart',
'settings.requireProfileSelectionOnOpenDescription' => 'Visa profilval varje gång appen öppnas',
'settings.forceTvMode' => 'Tvinga TV-läge',
@@ -2048,6 +2092,7 @@ extension on TranslationsSv {
'hotkeys.actions.subSeekPrev' => 'Hoppa till föregående undertext',
'hotkeys.actions.shaderToggle' => 'Växla shaders',
'hotkeys.actions.skipMarker' => 'Hoppa över intro/eftertexter',
'hotkeys.actions.screenshot' => 'Ta skärmbild',
'fileInfo.title' => 'Filinformation',
'fileInfo.video' => 'Video',
'fileInfo.audio' => 'Ljud',
@@ -2088,6 +2133,17 @@ extension on TranslationsSv {
'mediaMenu.rate' => 'Betygsätt',
'mediaMenu.playFromBeginning' => 'Spela från början',
'mediaMenu.playVersion' => 'Spela version...',
'rateSheet.title' => 'Betygsätt',
'rateSheet.server' => 'Server',
'rateSheet.starValue' => ({required Object rating}) => '${rating} / 5',
'rateSheet.scoreValue' => ({required Object score}) => '${score} / 10',
'rateSheet.setScore' => 'Ange betyg',
'rateSheet.notRated' => 'Inte betygsatt',
'rateSheet.liked' => 'Gillad',
'rateSheet.notLiked' => 'Inte gillad',
'rateSheet.saved' => 'Sparat',
'rateSheet.notAvailable' => 'Ingen matchning hittades',
'rateSheet.noConnectedTrackers' => 'Anslut en spårare i Inställningar för att betygsätta där.',
'accessibility.mediaCardMovie' => ({required Object title}) => '${title}, film',
'accessibility.mediaCardShow' => ({required Object title}) => '${title}, TV-serie',
'accessibility.mediaCardEpisode' => ({required Object title, required Object episodeInfo}) => '${title}, ${episodeInfo}',
@@ -2130,7 +2186,7 @@ extension on TranslationsSv {
'videoControls.nextChapterButton' => 'Nästa kapitel',
'videoControls.muteButton' => 'Tysta',
'videoControls.unmuteButton' => 'Slå på ljud',
'videoControls.settingsButton' => 'Videoinställningar',
'videoControls.settingsButton' => 'Uppspelningsinställningar',
'videoControls.tracksButton' => 'Ljud och undertexter',
'videoControls.chaptersButton' => 'Kapitel',
'videoControls.versionsButton' => 'Videoversioner',
@@ -2156,6 +2212,7 @@ extension on TranslationsSv {
'videoControls.endsAt' => ({required Object time}) => 'Slutar ${time}',
'videoControls.pipActive' => 'Spelar i bild-i-bild',
'videoControls.pipFailed' => 'Bild-i-bild kunde inte starta',
'videoControls.screenshotSaved' => 'Skärmbild sparad',
'videoControls.pipErrors.androidVersion' => 'Kräver Android 8.0 eller nyare',
'videoControls.pipErrors.iosVersion' => 'Kräver iOS 15.0 eller nyare',
'videoControls.pipErrors.permissionDisabled' => 'Bild-i-bild är inaktiverat. Aktivera det i systeminställningarna.',
@@ -2255,6 +2312,8 @@ extension on TranslationsSv {
'profiles.signOut' => 'Logga ut',
'profiles.signOutPlexTitle' => 'Logga ut från Plex?',
'profiles.signOutPlexMessage' => ({required Object displayName}) => 'Ta bort ${displayName} och alla Plex Home-användare? Du kan logga in igen när som helst.',
_ => null,
} ?? switch (path) {
'profiles.signedOutPlex' => 'Utloggad från Plex.',
'profiles.signOutFailed' => 'Utloggningen misslyckades.',
'profiles.sectionTitle' => 'Profiler',
@@ -2274,8 +2333,6 @@ extension on TranslationsSv {
'profiles.confirmPinTitle' => 'Bekräfta PIN',
'profiles.pinSet' => 'PIN angiven',
'profiles.changePin' => 'Ändra',
_ => null,
} ?? switch (path) {
'profiles.removePin' => 'Ta bort',
'profiles.connectionsLabel' => 'Anslutningar',
'profiles.add' => 'Lägg till',
@@ -2400,8 +2457,18 @@ extension on TranslationsSv {
'libraries.sortLabels.dateAdded' => 'Tillagd',
'libraries.sortLabels.releaseDate' => 'Releasedatum',
'libraries.sortLabels.rating' => 'Betyg',
'libraries.sortLabels.communityRating' => 'Användarbetyg',
'libraries.sortLabels.criticRating' => 'Kritikerbetyg',
'libraries.sortLabels.lastPlayed' => 'Senast spelad',
'libraries.sortLabels.datePlayed' => 'Speldatum',
'libraries.sortLabels.playCount' => 'Antal spelningar',
'libraries.sortLabels.productionYear' => 'Produktionsår',
'libraries.sortLabels.runtime' => 'Speltid',
'libraries.sortLabels.officialRating' => 'Officiell klassificering',
'libraries.sortLabels.premiereDate' => 'Premiärdatum',
'libraries.sortLabels.startDate' => 'Startdatum',
'libraries.sortLabels.airTime' => 'Sändningstid',
'libraries.sortLabels.studio' => 'Studio',
'libraries.sortLabels.random' => 'Slumpmässigt',
'libraries.sortLabels.dateShared' => 'Delningsdatum',
'libraries.sortLabels.latestEpisodeAirDate' => 'Senaste avsnittets sändningsdatum',
@@ -2719,7 +2786,6 @@ extension on TranslationsSv {
'companionRemote.remote.subtitles' => 'Undertexter',
'companionRemote.remote.audio' => 'Ljud',
'companionRemote.remote.searchHint' => 'Sök på datorn...',
'videoSettings.playbackSettings' => 'Uppspelningsinställningar',
'videoSettings.playbackSpeed' => 'Uppspelningshastighet',
'videoSettings.sleepTimer' => 'Sovtimer',
'videoSettings.audioSync' => 'Ljudsynkronisering',
@@ -2760,6 +2826,8 @@ extension on TranslationsSv {
'metadataEdit.poster' => 'Poster',
'metadataEdit.background' => 'Bakgrund',
'metadataEdit.logo' => 'Logotyp',
_ => null,
} ?? switch (path) {
'metadataEdit.squareArt' => 'Kvadratisk bild',
'metadataEdit.selectPoster' => 'Välj poster',
'metadataEdit.selectBackground' => 'Välj bakgrund',
@@ -2788,8 +2856,6 @@ extension on TranslationsSv {
'metadataEdit.episodesAddedPastDays' => ({required Object count}) => 'Avsnitt tillagda de senaste ${count} dagarna',
'metadataEdit.deleteAfterPlaying' => 'Ta bort avsnitt efter uppspelning',
'metadataEdit.never' => 'Aldrig',
_ => null,
} ?? switch (path) {
'metadataEdit.afterADay' => 'Efter en dag',
'metadataEdit.afterAWeek' => 'Efter en vecka',
'metadataEdit.afterAMonth' => 'Efter en månad',
+74 -8
View File
@@ -49,6 +49,7 @@ class TranslationsZh extends Translations with BaseTranslations<AppLocale, Trans
@override late final _TranslationsHotkeysZh hotkeys = _TranslationsHotkeysZh._(_root);
@override late final _TranslationsFileInfoZh fileInfo = _TranslationsFileInfoZh._(_root);
@override late final _TranslationsMediaMenuZh mediaMenu = _TranslationsMediaMenuZh._(_root);
@override late final _TranslationsRateSheetZh rateSheet = _TranslationsRateSheetZh._(_root);
@override late final _TranslationsAccessibilityZh accessibility = _TranslationsAccessibilityZh._(_root);
@override late final _TranslationsTooltipsZh tooltips = _TranslationsTooltipsZh._(_root);
@override late final _TranslationsVideoControlsZh videoControls = _TranslationsVideoControlsZh._(_root);
@@ -375,6 +376,12 @@ class _TranslationsSettingsZh extends TranslationsSettingsEn {
@override String get displaySwitchDelay => '显示切换延迟';
@override String get tunneledPlayback => '通道化播放';
@override String get tunneledPlaybackDescription => '使用视频隧道。若 HDR 播放出现黑屏,请禁用。';
@override String get dvConversionMode => 'Dolby Vision 转换';
@override String get dvConversionModeDescription => '选择 ExoPlayer 如何处理 Dolby Vision Profile 7 文件。';
@override String get dvConversionAuto => '自动';
@override String get dvConversionNative => '原生 / 禁用';
@override String get dvConversionDv81 => 'P7 → P8.1';
@override String get dvConversionHevcStrip => 'P7 → HEVC';
@override String get requireProfileSelectionOnOpen => '打开应用时询问配置文件';
@override String get requireProfileSelectionOnOpenDescription => '每次打开应用时显示配置文件选择';
@override String get forceTvMode => '强制 TV 模式';
@@ -481,6 +488,26 @@ class _TranslationsMediaMenuZh extends TranslationsMediaMenuEn {
@override String get playVersion => '播放版本...';
}
// Path: rateSheet
class _TranslationsRateSheetZh extends TranslationsRateSheetEn {
_TranslationsRateSheetZh._(TranslationsZh root) : this._root = root, super.internal(root);
final TranslationsZh _root; // ignore: unused_field
// Translations
@override String get title => '评分';
@override String get server => '服务器';
@override String starValue({required Object rating}) => '${rating} / 5';
@override String scoreValue({required Object score}) => '${score} / 10';
@override String get setScore => '设置分数';
@override String get notRated => '未评分';
@override String get liked => '已喜欢';
@override String get notLiked => '未喜欢';
@override String get saved => '已保存';
@override String get notAvailable => '未找到匹配项';
@override String get noConnectedTrackers => '在设置中连接跟踪器即可在那里评分。';
}
// Path: accessibility
class _TranslationsAccessibilityZh extends TranslationsAccessibilityEn {
_TranslationsAccessibilityZh._(TranslationsZh root) : this._root = root, super.internal(root);
@@ -548,7 +575,7 @@ class _TranslationsVideoControlsZh extends TranslationsVideoControlsEn {
@override String get nextChapterButton => '下一章节';
@override String get muteButton => '静音';
@override String get unmuteButton => '取消静音';
@override String get settingsButton => '视频设置';
@override String get settingsButton => '播放设置';
@override String get tracksButton => '音频和字幕';
@override String get chaptersButton => '章节';
@override String get versionsButton => '视频版本';
@@ -574,6 +601,7 @@ class _TranslationsVideoControlsZh extends TranslationsVideoControlsEn {
@override String endsAt({required Object time}) => '${time} 结束';
@override String get pipActive => '正在画中画模式中播放';
@override String get pipFailed => '画中画启动失败';
@override String get screenshotSaved => '截图已保存';
@override late final _TranslationsVideoControlsPipErrorsZh pipErrors = _TranslationsVideoControlsPipErrorsZh._(_root);
@override String get chapters => '章节';
@override String get noChaptersAvailable => '没有可用的章节';
@@ -1274,7 +1302,6 @@ class _TranslationsVideoSettingsZh extends TranslationsVideoSettingsEn {
final TranslationsZh _root; // ignore: unused_field
// Translations
@override String get playbackSettings => '播放设置';
@override String get playbackSpeed => '播放速度';
@override String get sleepTimer => '睡眠定时器';
@override String get audioSync => '音频同步';
@@ -1535,6 +1562,7 @@ class _TranslationsHotkeysActionsZh extends TranslationsHotkeysActionsEn {
@override String get subSeekPrev => '跳转到上一字幕';
@override String get shaderToggle => '切换着色器';
@override String get skipMarker => '跳过片头/片尾';
@override String get screenshot => '截图';
}
// Path: videoControls.pipErrors
@@ -1606,8 +1634,18 @@ class _TranslationsLibrariesSortLabelsZh extends TranslationsLibrariesSortLabels
@override String get dateAdded => '添加日期';
@override String get releaseDate => '发行日期';
@override String get rating => '评分';
@override String get communityRating => '社区评分';
@override String get criticRating => '影评人评分';
@override String get lastPlayed => '最近播放';
@override String get datePlayed => '播放日期';
@override String get playCount => '播放次数';
@override String get productionYear => '制作年份';
@override String get runtime => '时长';
@override String get officialRating => '官方分级';
@override String get premiereDate => '首映日期';
@override String get startDate => '开始日期';
@override String get airTime => '播出时间';
@override String get studio => '工作室';
@override String get random => '随机';
@override String get dateShared => '共享日期';
@override String get latestEpisodeAirDate => '最新一集播出日期';
@@ -2000,6 +2038,12 @@ extension on TranslationsZh {
'settings.displaySwitchDelay' => '显示切换延迟',
'settings.tunneledPlayback' => '通道化播放',
'settings.tunneledPlaybackDescription' => '使用视频隧道。若 HDR 播放出现黑屏,请禁用。',
'settings.dvConversionMode' => 'Dolby Vision 转换',
'settings.dvConversionModeDescription' => '选择 ExoPlayer 如何处理 Dolby Vision Profile 7 文件。',
'settings.dvConversionAuto' => '自动',
'settings.dvConversionNative' => '原生 / 禁用',
'settings.dvConversionDv81' => 'P7 → P8.1',
'settings.dvConversionHevcStrip' => 'P7 → HEVC',
'settings.requireProfileSelectionOnOpen' => '打开应用时询问配置文件',
'settings.requireProfileSelectionOnOpenDescription' => '每次打开应用时显示配置文件选择',
'settings.forceTvMode' => '强制 TV 模式',
@@ -2048,6 +2092,7 @@ extension on TranslationsZh {
'hotkeys.actions.subSeekPrev' => '跳转到上一字幕',
'hotkeys.actions.shaderToggle' => '切换着色器',
'hotkeys.actions.skipMarker' => '跳过片头/片尾',
'hotkeys.actions.screenshot' => '截图',
'fileInfo.title' => '文件信息',
'fileInfo.video' => '视频',
'fileInfo.audio' => '音频',
@@ -2088,6 +2133,17 @@ extension on TranslationsZh {
'mediaMenu.rate' => '评分',
'mediaMenu.playFromBeginning' => '从头播放',
'mediaMenu.playVersion' => '播放版本...',
'rateSheet.title' => '评分',
'rateSheet.server' => '服务器',
'rateSheet.starValue' => ({required Object rating}) => '${rating} / 5',
'rateSheet.scoreValue' => ({required Object score}) => '${score} / 10',
'rateSheet.setScore' => '设置分数',
'rateSheet.notRated' => '未评分',
'rateSheet.liked' => '已喜欢',
'rateSheet.notLiked' => '未喜欢',
'rateSheet.saved' => '已保存',
'rateSheet.notAvailable' => '未找到匹配项',
'rateSheet.noConnectedTrackers' => '在设置中连接跟踪器即可在那里评分。',
'accessibility.mediaCardMovie' => ({required Object title}) => '${title}, 电影',
'accessibility.mediaCardShow' => ({required Object title}) => '${title}, 电视剧',
'accessibility.mediaCardEpisode' => ({required Object title, required Object episodeInfo}) => '${title}, ${episodeInfo}',
@@ -2130,7 +2186,7 @@ extension on TranslationsZh {
'videoControls.nextChapterButton' => '下一章节',
'videoControls.muteButton' => '静音',
'videoControls.unmuteButton' => '取消静音',
'videoControls.settingsButton' => '视频设置',
'videoControls.settingsButton' => '播放设置',
'videoControls.tracksButton' => '音频和字幕',
'videoControls.chaptersButton' => '章节',
'videoControls.versionsButton' => '视频版本',
@@ -2156,6 +2212,7 @@ extension on TranslationsZh {
'videoControls.endsAt' => ({required Object time}) => '${time} 结束',
'videoControls.pipActive' => '正在画中画模式中播放',
'videoControls.pipFailed' => '画中画启动失败',
'videoControls.screenshotSaved' => '截图已保存',
'videoControls.pipErrors.androidVersion' => '需要 Android 8.0 或更高版本',
'videoControls.pipErrors.iosVersion' => '需要 iOS 15.0 或更高版本',
'videoControls.pipErrors.permissionDisabled' => '画中画已禁用。请在系统设置中启用。',
@@ -2255,6 +2312,8 @@ extension on TranslationsZh {
'profiles.signOut' => '退出登录',
'profiles.signOutPlexTitle' => '退出 Plex 登录?',
'profiles.signOutPlexMessage' => ({required Object displayName}) => '要移除 ${displayName} 和所有 Plex Home 用户吗?可随时重新登录。',
_ => null,
} ?? switch (path) {
'profiles.signedOutPlex' => '已退出 Plex 登录。',
'profiles.signOutFailed' => '退出登录失败。',
'profiles.sectionTitle' => '配置文件',
@@ -2274,8 +2333,6 @@ extension on TranslationsZh {
'profiles.confirmPinTitle' => '确认 PIN',
'profiles.pinSet' => '已设置 PIN',
'profiles.changePin' => '更改',
_ => null,
} ?? switch (path) {
'profiles.removePin' => '移除',
'profiles.connectionsLabel' => '连接',
'profiles.add' => '添加',
@@ -2400,8 +2457,18 @@ extension on TranslationsZh {
'libraries.sortLabels.dateAdded' => '添加日期',
'libraries.sortLabels.releaseDate' => '发行日期',
'libraries.sortLabels.rating' => '评分',
'libraries.sortLabels.communityRating' => '社区评分',
'libraries.sortLabels.criticRating' => '影评人评分',
'libraries.sortLabels.lastPlayed' => '最近播放',
'libraries.sortLabels.datePlayed' => '播放日期',
'libraries.sortLabels.playCount' => '播放次数',
'libraries.sortLabels.productionYear' => '制作年份',
'libraries.sortLabels.runtime' => '时长',
'libraries.sortLabels.officialRating' => '官方分级',
'libraries.sortLabels.premiereDate' => '首映日期',
'libraries.sortLabels.startDate' => '开始日期',
'libraries.sortLabels.airTime' => '播出时间',
'libraries.sortLabels.studio' => '工作室',
'libraries.sortLabels.random' => '随机',
'libraries.sortLabels.dateShared' => '共享日期',
'libraries.sortLabels.latestEpisodeAirDate' => '最新一集播出日期',
@@ -2719,7 +2786,6 @@ extension on TranslationsZh {
'companionRemote.remote.subtitles' => '字幕',
'companionRemote.remote.audio' => '音频',
'companionRemote.remote.searchHint' => '在桌面上搜索...',
'videoSettings.playbackSettings' => '播放设置',
'videoSettings.playbackSpeed' => '播放速度',
'videoSettings.sleepTimer' => '睡眠定时器',
'videoSettings.audioSync' => '音频同步',
@@ -2760,6 +2826,8 @@ extension on TranslationsZh {
'metadataEdit.poster' => '海报',
'metadataEdit.background' => '背景',
'metadataEdit.logo' => '标志',
_ => null,
} ?? switch (path) {
'metadataEdit.squareArt' => '方形图片',
'metadataEdit.selectPoster' => '选择海报',
'metadataEdit.selectBackground' => '选择背景',
@@ -2788,8 +2856,6 @@ extension on TranslationsZh {
'metadataEdit.episodesAddedPastDays' => ({required Object count}) => '过去 ${count} 天内添加的剧集',
'metadataEdit.deleteAfterPlaying' => '播放后删除剧集',
'metadataEdit.never' => '从不',
_ => null,
} ?? switch (path) {
'metadataEdit.afterADay' => '一天后',
'metadataEdit.afterAWeek' => '一周后',
'metadataEdit.afterAMonth' => '一个月后',
+33 -3
View File
@@ -248,6 +248,12 @@
"displaySwitchDelay": "Fördröjning vid skärmbyte",
"tunneledPlayback": "Tunneluppspelning",
"tunneledPlaybackDescription": "Använd videotunnling. Inaktivera om HDR-uppspelning visar svart video.",
"dvConversionMode": "Dolby Vision-konvertering",
"dvConversionModeDescription": "Välj hur ExoPlayer hanterar Dolby Vision Profile 7-filer.",
"dvConversionAuto": "Auto",
"dvConversionNative": "Inbyggt / inaktiverat",
"dvConversionDv81": "P7 → P8.1",
"dvConversionHevcStrip": "P7 → HEVC",
"requireProfileSelectionOnOpen": "Fråga efter profil vid appstart",
"requireProfileSelectionOnOpenDescription": "Visa profilval varje gång appen öppnas",
"forceTvMode": "Tvinga TV-läge",
@@ -300,7 +306,8 @@
"subSeekNext": "Hoppa till nästa undertext",
"subSeekPrev": "Hoppa till föregående undertext",
"shaderToggle": "Växla shaders",
"skipMarker": "Hoppa över intro/eftertexter"
"skipMarker": "Hoppa över intro/eftertexter",
"screenshot": "Ta skärmbild"
}
},
"fileInfo": {
@@ -347,6 +354,19 @@
"playFromBeginning": "Spela från början",
"playVersion": "Spela version..."
},
"rateSheet": {
"title": "Betygsätt",
"server": "Server",
"starValue": "${rating} / 5",
"scoreValue": "${score} / 10",
"setScore": "Ange betyg",
"notRated": "Inte betygsatt",
"liked": "Gillad",
"notLiked": "Inte gillad",
"saved": "Sparat",
"notAvailable": "Ingen matchning hittades",
"noConnectedTrackers": "Anslut en spårare i Inställningar för att betygsätta där."
},
"accessibility": {
"mediaCardMovie": "${title}, film",
"mediaCardShow": "${title}, TV-serie",
@@ -394,7 +414,7 @@
"nextChapterButton": "Nästa kapitel",
"muteButton": "Tysta",
"unmuteButton": "Slå på ljud",
"settingsButton": "Videoinställningar",
"settingsButton": "Uppspelningsinställningar",
"tracksButton": "Ljud och undertexter",
"chaptersButton": "Kapitel",
"versionsButton": "Videoversioner",
@@ -420,6 +440,7 @@
"endsAt": "Slutar ${time}",
"pipActive": "Spelar i bild-i-bild",
"pipFailed": "Bild-i-bild kunde inte starta",
"screenshotSaved": "Skärmbild sparad",
"pipErrors": {
"androidVersion": "Kräver Android 8.0 eller nyare",
"iosVersion": "Kräver iOS 15.0 eller nyare",
@@ -691,8 +712,18 @@
"dateAdded": "Tillagd",
"releaseDate": "Releasedatum",
"rating": "Betyg",
"communityRating": "Användarbetyg",
"criticRating": "Kritikerbetyg",
"lastPlayed": "Senast spelad",
"datePlayed": "Speldatum",
"playCount": "Antal spelningar",
"productionYear": "Produktionsår",
"runtime": "Speltid",
"officialRating": "Officiell klassificering",
"premiereDate": "Premiärdatum",
"startDate": "Startdatum",
"airTime": "Sändningstid",
"studio": "Studio",
"random": "Slumpmässigt",
"dateShared": "Delningsdatum",
"latestEpisodeAirDate": "Senaste avsnittets sändningsdatum"
@@ -1045,7 +1076,6 @@
}
},
"videoSettings": {
"playbackSettings": "Uppspelningsinställningar",
"playbackSpeed": "Uppspelningshastighet",
"sleepTimer": "Sovtimer",
"audioSync": "Ljudsynkronisering",
+33 -3
View File
@@ -248,6 +248,12 @@
"displaySwitchDelay": "显示切换延迟",
"tunneledPlayback": "通道化播放",
"tunneledPlaybackDescription": "使用视频隧道。若 HDR 播放出现黑屏,请禁用。",
"dvConversionMode": "Dolby Vision 转换",
"dvConversionModeDescription": "选择 ExoPlayer 如何处理 Dolby Vision Profile 7 文件。",
"dvConversionAuto": "自动",
"dvConversionNative": "原生 / 禁用",
"dvConversionDv81": "P7 → P8.1",
"dvConversionHevcStrip": "P7 → HEVC",
"requireProfileSelectionOnOpen": "打开应用时询问配置文件",
"requireProfileSelectionOnOpenDescription": "每次打开应用时显示配置文件选择",
"forceTvMode": "强制 TV 模式",
@@ -300,7 +306,8 @@
"subSeekNext": "跳转到下一字幕",
"subSeekPrev": "跳转到上一字幕",
"shaderToggle": "切换着色器",
"skipMarker": "跳过片头/片尾"
"skipMarker": "跳过片头/片尾",
"screenshot": "截图"
}
},
"fileInfo": {
@@ -347,6 +354,19 @@
"playFromBeginning": "从头播放",
"playVersion": "播放版本..."
},
"rateSheet": {
"title": "评分",
"server": "服务器",
"starValue": "${rating} / 5",
"scoreValue": "${score} / 10",
"setScore": "设置分数",
"notRated": "未评分",
"liked": "已喜欢",
"notLiked": "未喜欢",
"saved": "已保存",
"notAvailable": "未找到匹配项",
"noConnectedTrackers": "在设置中连接跟踪器即可在那里评分。"
},
"accessibility": {
"mediaCardMovie": "${title}, 电影",
"mediaCardShow": "${title}, 电视剧",
@@ -394,7 +414,7 @@
"nextChapterButton": "下一章节",
"muteButton": "静音",
"unmuteButton": "取消静音",
"settingsButton": "视频设置",
"settingsButton": "播放设置",
"tracksButton": "音频和字幕",
"chaptersButton": "章节",
"versionsButton": "视频版本",
@@ -420,6 +440,7 @@
"endsAt": "${time} 结束",
"pipActive": "正在画中画模式中播放",
"pipFailed": "画中画启动失败",
"screenshotSaved": "截图已保存",
"pipErrors": {
"androidVersion": "需要 Android 8.0 或更高版本",
"iosVersion": "需要 iOS 15.0 或更高版本",
@@ -691,8 +712,18 @@
"dateAdded": "添加日期",
"releaseDate": "发行日期",
"rating": "评分",
"communityRating": "社区评分",
"criticRating": "影评人评分",
"lastPlayed": "最近播放",
"datePlayed": "播放日期",
"playCount": "播放次数",
"productionYear": "制作年份",
"runtime": "时长",
"officialRating": "官方分级",
"premiereDate": "首映日期",
"startDate": "开始日期",
"airTime": "播出时间",
"studio": "工作室",
"random": "随机",
"dateShared": "共享日期",
"latestEpisodeAirDate": "最新一集播出日期"
@@ -1045,7 +1076,6 @@
}
},
"videoSettings": {
"playbackSettings": "播放设置",
"playbackSpeed": "播放速度",
"sleepTimer": "睡眠定时器",
"audioSync": "音频同步",
+105 -36
View File
@@ -1,5 +1,5 @@
import 'dart:async';
import 'dart:io' show Platform, ProcessInfo;
import 'dart:io' show Directory, Platform, ProcessInfo;
import 'dart:ui' show AppExitResponse;
import 'package:flutter/foundation.dart';
// ignore: depend_on_referenced_packages
@@ -33,6 +33,8 @@ import 'services/settings_service.dart';
import 'utils/platform_detector.dart';
import 'services/apple_tv_remote_touch_service.dart';
import 'services/discord_rpc_service.dart';
import 'package:path_provider/path_provider.dart';
import 'services/image_cache_service.dart';
import 'services/gamepad_service.dart';
import 'services/trakt/trakt_scrobble_service.dart';
import 'services/trakt/trakt_sync_service.dart';
@@ -66,7 +68,8 @@ import 'services/plex_api_cache.dart';
import 'database/app_database.dart';
import 'screens/video_player_screen.dart';
import 'utils/app_logger.dart';
import 'utils/media_server_http_client.dart' show httpClient;
import 'utils/managed_http_client.dart';
import 'utils/media_server_http_client.dart';
import 'utils/orientation_helper.dart';
import 'utils/watch_state_notifier.dart';
import 'i18n/strings.g.dart';
@@ -80,6 +83,7 @@ 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');
const String _sentryEnvironment = String.fromEnvironment('SENTRY_ENVIRONMENT');
const String _sentryDist = String.fromEnvironment('SENTRY_DIST');
// Workaround for Flutter bug #177992: iPadOS 26.1+ misinterprets fake touch events
// at (0,0) as barrier taps, causing modals to dismiss immediately.
@@ -130,6 +134,7 @@ Future<void> main() async {
? 'plezy@${gitCommit.substring(0, 7)}'
: 'plezy@${packageInfo.version}+${packageInfo.buildNumber}';
if (_sentryEnvironment.isNotEmpty) options.environment = _sentryEnvironment;
if (_sentryDist.isNotEmpty) options.dist = _sentryDist;
options.tracesSampleRate = 0;
options.attachStacktrace = true;
options.enableAutoSessionTracking = false;
@@ -154,6 +159,21 @@ Future<void> _bootstrapApp() async {
await initializeDateFormatting(savedLocale.languageCode, null);
// One-time cleanup of the old flutter_cache_manager image cache directory
// (replaced by cached_network_image_ce in a prior refactor).
if (!settings.read(SettingsService.cleanedOldImageCache)) {
try {
final tempDir = await getTemporaryDirectory();
final oldCacheDir = Directory('${tempDir.path}/plexImageCache');
if (await oldCacheDir.exists()) {
await oldCacheDir.delete(recursive: true);
}
} catch (_) {
// Best-effort; the directory may be locked or already partial.
}
await settings.write(SettingsService.cleanedOldImageCache, true);
}
// Configure image cache — keep budget modest to leave headroom for Skia decode buffers
if (PlatformDetector.isDesktopOS()) {
PaintingBinding.instance.imageCache.maximumSize = 1000;
@@ -421,6 +441,7 @@ class _MainAppState extends State<MainApp> with WidgetsBindingObserver {
final Set<String> _pendingSyncKeys = <String>{};
bool _isAutoDeleteRunning = false;
bool _lastConnectivityWasWifi = false;
bool _shutdownStarted = false;
/// Last time server health probes ran from a resume event (cooldown for desktop)
DateTime _lastResumeProbe = DateTime(0);
@@ -468,13 +489,35 @@ class _MainAppState extends State<MainApp> with WidgetsBindingObserver {
_appLifecycleListener = AppLifecycleListener(
onExitRequested: () async {
httpClient.close();
await _appDatabase.close();
await _shutdownForExit();
return AppExitResponse.exit;
},
);
}
Future<void> _shutdownForExit() async {
if (_shutdownStarted) return;
_shutdownStarted = true;
_syncDebounce?.cancel();
await _watchStateSubscription?.cancel();
await _connectivitySubscription?.cancel();
_memoryCheckTimer?.cancel();
_downloadManager.dispose();
TrackerCoordinator.instance.cancelInFlight();
TraktScrobbleService.instance.cancelInFlight();
await TraktSyncService.instance.dispose();
await _serverManager.disconnectAllGracefully();
await Future.wait([
httpClient.closeGracefully(drainTimeout: const Duration(seconds: 5)),
closeArtworkHttpClientGracefully(),
], eagerError: false);
await ManagedHttpClient.closeAllGracefully();
await _appDatabase.close();
}
@override
void dispose() {
_syncDebounce?.cancel();
@@ -482,8 +525,10 @@ class _MainAppState extends State<MainApp> with WidgetsBindingObserver {
_connectivitySubscription?.cancel();
_memoryCheckTimer?.cancel();
_appLifecycleListener.dispose();
_downloadManager.dispose();
_serverManager.dispose();
if (!_shutdownStarted) {
_downloadManager.dispose();
_serverManager.dispose();
}
WidgetsBinding.instance.removeObserver(this);
super.dispose();
}
@@ -666,10 +711,29 @@ class _MainAppState extends State<MainApp> with WidgetsBindingObserver {
return MultiServerProvider(_serverManager, _aggregationService);
},
),
ChangeNotifierProxyProvider<MultiServerProvider, OfflineModeProvider>(
create: (context) {
final provider = OfflineModeProvider(
_serverManager,
multiServerProvider: context.read<MultiServerProvider>(),
);
provider.initialize(); // Initialize immediately so statusStream listener is ready
return provider;
},
update: (_, multiServerProvider, previous) {
final provider = previous ?? OfflineModeProvider(_serverManager, multiServerProvider: multiServerProvider);
provider.updateMultiServerProvider(multiServerProvider);
provider.initialize(); // Idempotent - safe to call again
return provider;
},
),
// Profile binder owns the cold-start client connect: Plex token
// refresh + Jellyfin client creation. Hoisted out of MainScreen so
// the splash can await its first settle — without this, MainScreen
// mounts (and discover/libraries query) before any client exists.
// It is intentionally not auto-started here: SetupScreen first checks
// whether startup should go straight offline, otherwise the binder's
// microtask can begin network work before the offline decision lands.
Provider<ActiveProfileBinder>(
lazy: false,
create: (context) {
@@ -686,22 +750,10 @@ class _MainAppState extends State<MainApp> with WidgetsBindingObserver {
return settings.read(SettingsService.requireProfileSelectionOnOpen) &&
activeProfile.hasMultipleProfiles;
},
)..start();
);
},
dispose: (_, binder) => binder.dispose(),
),
ChangeNotifierProxyProvider<MultiServerProvider, OfflineModeProvider>(
create: (_) {
final provider = OfflineModeProvider(_serverManager);
provider.initialize(); // Initialize immediately so statusStream listener is ready
return provider;
},
update: (_, multiServerProvider, previous) {
final provider = previous ?? OfflineModeProvider(_serverManager);
provider.initialize(); // Idempotent - safe to call again
return provider;
},
),
// Download provider. Downloads are shared, but sync rules are scoped to
// the active profile and reload when the profile changes.
ChangeNotifierProxyProvider<ActiveProfileProvider, DownloadProvider>(
@@ -1009,6 +1061,7 @@ class SetupScreen extends StatefulWidget {
class _SetupScreenState extends State<SetupScreen> with MountedSetStateMixin {
String _statusMessage = '';
bool _enteringOffline = false;
// Per-server connection status: serverId -> (name, connected?)
final Map<String, (String name, bool? connected)> _serverStatus = {};
@@ -1023,6 +1076,15 @@ class _SetupScreenState extends State<SetupScreen> with MountedSetStateMixin {
setStateIfMounted(() => _statusMessage = message);
}
Future<void> _enterOfflineMode() async {
if (_enteringOffline) return;
_enteringOffline = true;
_setStatus(t.common.startingOfflineMode);
await context.read<DownloadProvider>().ensureInitialized();
if (!mounted) return;
unawaited(Navigator.pushReplacement(context, fadeRoute(const MainScreen(isOfflineMode: true))));
}
Future<void> _loadSavedCredentials() async {
_setStatus(t.common.checkingNetwork);
@@ -1081,7 +1143,21 @@ class _SetupScreenState extends State<SetupScreen> with MountedSetStateMixin {
// through `context` after async gaps trip the use_build_context_synchronously
// lint, and reading early is safe because the registry is a singleton.
final connectionRegistry = context.read<ConnectionRegistry>();
final allConnections = await connectionRegistry.list();
final List<Connection> allConnections;
try {
allConnections = await connectionRegistry.list();
} catch (e, st) {
// Defence-in-depth: a DB-open failure here used to propagate
// uncaught and strand the splash forever (#1022). Route to auth so
// the user is never trapped, and surface to Sentry so an unknown
// regression doesn't go silent.
appLogger.e('Setup: failed to load connections; returning to auth', error: e, stackTrace: st);
unawaited(Sentry.captureException(e, stackTrace: st));
if (mounted) {
unawaited(Navigator.pushReplacement(context, fadeRoute(const AuthScreen())));
}
return;
}
if (allConnections.isEmpty) {
if (mounted) {
@@ -1094,10 +1170,7 @@ class _SetupScreenState extends State<SetupScreen> with MountedSetStateMixin {
// No network — skip connection attempts and go straight to offline mode
if (!hasNetwork) {
_setStatus(t.common.startingOfflineMode);
await context.read<DownloadProvider>().ensureInitialized();
if (!mounted) return;
unawaited(Navigator.pushReplacement(context, fadeRoute(const MainScreen(isOfflineMode: true))));
await _enterOfflineMode();
return;
}
@@ -1129,9 +1202,8 @@ class _SetupScreenState extends State<SetupScreen> with MountedSetStateMixin {
// Snapshot Provider refs before further awaits.
final activeProfile = context.read<ActiveProfileProvider>();
// Reading the binder here is enough — the Provider is `lazy: false` so
// it has already constructed the binder and called `start()` during
// MultiProvider build. We just need to wait for it.
// The Provider is `lazy: false` so the binder is constructed already, but
// SetupScreen starts it only after the offline fast path has been ruled out.
final binder = context.read<ActiveProfileBinder>();
final downloadProvider = context.read<DownloadProvider>();
@@ -1152,6 +1224,11 @@ class _SetupScreenState extends State<SetupScreen> with MountedSetStateMixin {
// checkmarks fill in even while the user is choosing a profile.
_bindServerStatusListener(activeProfile, _serverManagerFromContext);
// Start only after network/offline startup has been decided and the
// active profile snapshot is hydrated. This prevents an eager binder
// microtask from racing the no-network/manual-offline fast path.
binder.start();
// If "prompt for profile on launch" is on (or no profile is selected
// yet), surface the picker BEFORE waiting for the previously-active
// profile's bind to settle — otherwise the user sees the splash fully
@@ -1180,12 +1257,6 @@ class _SetupScreenState extends State<SetupScreen> with MountedSetStateMixin {
// available" race the old eager-navigate flow caused.
bindingSucceeded = await activeProfile.awaitBindingSettle();
if (!mounted) return;
if (!bindingSucceeded) {
appLogger.w('Setup: initial profile bind failed; retrying once before entering main screen');
await binder.rebindActive();
if (!mounted) return;
bindingSucceeded = activeProfile.lastBindingSucceeded;
}
}
if (shouldEnterOfflineModeAfterStartupBind(
@@ -1193,9 +1264,7 @@ class _SetupScreenState extends State<SetupScreen> with MountedSetStateMixin {
hasOnlineServers: _serverManagerFromContext().onlineServerIds.isNotEmpty,
)) {
appLogger.w('Setup: no servers online after startup bind; starting offline mode');
await downloadProvider.ensureInitialized();
if (!mounted) return;
unawaited(Navigator.pushReplacement(context, fadeRoute(const MainScreen(isOfflineMode: true))));
await _enterOfflineMode();
return;
}
+45 -85
View File
@@ -1,114 +1,74 @@
// ignore_for_file: invalid_annotation_target
import 'package:freezed_annotation/freezed_annotation.dart';
import 'media_kind.dart';
part 'library_query.freezed.dart';
/// Sort order applied to a library query.
enum LibrarySortDirection { ascending, descending }
class LibrarySort {
@freezed
sealed class LibrarySort with _$LibrarySort {
/// Backend-neutral sort field. Common values: `addedAt`, `originallyAvailableAt`,
/// `lastViewedAt`, `title`, `rating`, `viewCount`, `random`.
final String field;
final LibrarySortDirection direction;
const LibrarySort({required this.field, this.direction = LibrarySortDirection.descending});
const factory LibrarySort({
required String field,
@Default(LibrarySortDirection.descending) LibrarySortDirection direction,
}) = _LibrarySort;
}
/// A single filter clause. The semantics of `field` and `value` are
/// backend-translated — the neutral query just carries the intent.
class LibraryFilter {
final String field;
final String op; // "=", "!=", "contains", ">=", etc.
final List<String> values;
const LibraryFilter({required this.field, this.op = '=', required this.values});
@freezed
sealed class LibraryFilter with _$LibraryFilter {
const factory LibraryFilter({required String field, @Default('=') String op, required List<String> values}) =
_LibraryFilter;
}
/// Backend-neutral library content query. Each backend's adapter translates
/// these into its own query DSL (Plex `/library/sections/{id}/all?type=...`
/// or Jellyfin `/Items?ParentId=...&Filters=...`).
class LibraryQuery {
/// Restrict to a single kind (e.g. `MediaKind.movie`). Null = library default.
final MediaKind? kind;
/// Pagination — zero-based offset.
final int offset;
final int limit;
final LibrarySort? sort;
final List<LibraryFilter> filters;
/// Free-text search restricted to this library. Distinct from the global
/// search endpoint.
final String? search;
/// Whether to include items the active user has already watched.
final bool includeWatched;
/// Restrict the result to items whose sort name starts with this string —
/// the alpha-jump bar's filter UX. The literal `#` is a sentinel for
/// "non-alphabetic" and translates to a `NameLessThan=A` query for backends
/// that support it.
final String? nameStartsWith;
/// Genre filter — used by the per-library filter sheet. Backends that
/// take multiple values (Jellyfin) AND/intersect; those that take one
/// (Plex's existing flow) consult `filters` instead.
final List<String>? genres;
final List<String>? officialRatings;
final List<int>? years;
final List<String>? tags;
const LibraryQuery({
this.kind,
this.offset = 0,
this.limit = 50,
this.sort,
this.filters = const [],
this.search,
this.includeWatched = true,
this.nameStartsWith,
this.genres,
this.officialRatings,
this.years,
this.tags,
});
LibraryQuery copyWith({
@freezed
sealed class LibraryQuery with _$LibraryQuery {
const factory LibraryQuery({
/// Restrict to a single kind (e.g. `MediaKind.movie`). Null = library default.
MediaKind? kind,
int? offset,
int? limit,
/// Pagination — zero-based offset.
@Default(0) int offset,
@Default(50) int limit,
LibrarySort? sort,
List<LibraryFilter>? filters,
@Default(<LibraryFilter>[]) List<LibraryFilter> filters,
/// Free-text search restricted to this library. Distinct from the global
/// search endpoint.
String? search,
bool? includeWatched,
/// Whether to include items the active user has already watched.
@Default(true) bool includeWatched,
/// Restrict the result to items whose sort name starts with this string —
/// the alpha-jump bar's filter UX. The literal `#` is a sentinel for
/// "non-alphabetic" and translates to a `NameLessThan=A` query for backends
/// that support it.
String? nameStartsWith,
/// Genre filter — used by the per-library filter sheet. Backends that
/// take multiple values (Jellyfin) AND/intersect; those that take one
/// (Plex's existing flow) consult `filters` instead.
List<String>? genres,
List<String>? officialRatings,
List<int>? years,
List<String>? tags,
}) {
return LibraryQuery(
kind: kind ?? this.kind,
offset: offset ?? this.offset,
limit: limit ?? this.limit,
sort: sort ?? this.sort,
filters: filters ?? this.filters,
search: search ?? this.search,
includeWatched: includeWatched ?? this.includeWatched,
nameStartsWith: nameStartsWith ?? this.nameStartsWith,
genres: genres ?? this.genres,
officialRatings: officialRatings ?? this.officialRatings,
years: years ?? this.years,
tags: tags ?? this.tags,
);
}
}) = _LibraryQuery;
}
/// Page of items returned by [MediaServerClient.getLibraryContent].
/// Carries the total count so the UI can render correct pagination affordances.
class LibraryPage<T> {
final List<T> items;
final int totalCount;
final int offset;
const LibraryPage({required this.items, required this.totalCount, this.offset = 0});
@freezed
sealed class LibraryPage<T> with _$LibraryPage<T> {
const factory LibraryPage({required List<T> items, required int totalCount, @Default(0) int offset}) =
_LibraryPage<T>;
}
File diff suppressed because it is too large Load Diff
+101
View File
@@ -0,0 +1,101 @@
import '../utils/json_utils.dart';
/// Backend-neutral display metadata used to prime native display matching
/// before the decoder has emitted mpv/video properties.
class MediaDisplayCriteria {
final double? fps;
final int? width;
final int? height;
final int? doviProfile;
final int? doviLevel;
final int? doviCompatibilityId;
final String? transfer;
final String? primaries;
final String? matrix;
const MediaDisplayCriteria({
this.fps,
this.width,
this.height,
this.doviProfile,
this.doviLevel,
this.doviCompatibilityId,
this.transfer,
this.primaries,
this.matrix,
});
factory MediaDisplayCriteria.fromRaw({
Object? fps,
Object? width,
Object? height,
Object? doviProfile,
Object? doviLevel,
Object? doviCompatibilityId,
Object? transfer,
Object? primaries,
Object? matrix,
}) {
return MediaDisplayCriteria(
fps: flexibleDouble(fps),
width: flexibleInt(width),
height: flexibleInt(height),
doviProfile: flexibleInt(doviProfile),
doviLevel: flexibleInt(doviLevel),
doviCompatibilityId: flexibleInt(doviCompatibilityId),
transfer: _stringOrNull(transfer),
primaries: _stringOrNull(primaries),
matrix: _stringOrNull(matrix),
);
}
bool get hasDimensions => (width ?? 0) > 0 && (height ?? 0) > 0;
bool get hasFrameRate => (fps ?? 0) > 0;
bool get hasDisplayMetadata =>
(doviProfile ?? 0) > 0 || _hasValue(transfer) || _hasValue(primaries) || _hasValue(matrix);
bool get canPrimeNativeDisplayCriteria => hasDimensions && hasDisplayMetadata;
bool get isHdr {
if ((doviProfile ?? 0) > 0 && doviCompatibilityId != 2) return true;
final tags = _normalizedColorTags(transfer, primaries, matrix);
return tags.contains('hlg') ||
tags.contains('arib') ||
tags.contains('pq') ||
tags.contains('smpte2084') ||
tags.contains('st2084') ||
tags.contains('bt2020');
}
bool get isUsable => hasFrameRate || canPrimeNativeDisplayCriteria;
Map<String, Object> toJson() {
final json = <String, Object>{};
void put(String key, Object? value) {
if (value != null) json[key] = value;
}
put('fps', fps);
put('width', width);
put('height', height);
put('doviProfile', doviProfile);
put('doviLevel', doviLevel);
put('doviCompatibilityId', doviCompatibilityId);
put('transfer', transfer);
put('primaries', primaries);
put('matrix', matrix);
return json;
}
}
String? _stringOrNull(Object? value) {
final string = value?.toString().trim();
return string == null || string.isEmpty ? null : string;
}
bool _hasValue(String? value) => value != null && value.isNotEmpty;
String _normalizedColorTags(String? transfer, String? primaries, String? matrix) =>
[transfer, primaries, matrix].whereType<String>().join(' ').toLowerCase().replaceAll(RegExp(r'[^a-z0-9]'), '');
+67 -12
View File
@@ -61,6 +61,10 @@ import 'server_capabilities.dart';
/// two states to different UI ("Sign in again" vs "Server offline").
enum HealthStatus { online, offline, authError }
abstract interface class GracefullyCloseable {
Future<void> closeGracefully({Duration drainTimeout});
}
abstract class MediaServerClient {
String get serverId;
String? get serverName;
@@ -163,6 +167,17 @@ abstract class MediaServerClient {
/// show, tracks of an album, items of a collection.
Future<List<MediaItem>> fetchChildren(String parentId);
/// Page through playable descendants of [parentId]. Used by large show /
/// season detail views so episodes can render before the full list has
/// loaded. [fetchPlayableDescendants] remains the complete-list helper for
/// playback/download/sync paths.
Future<LibraryPage<MediaItem>> fetchPlayableDescendantsPage(
String parentId, {
int? start,
int? size,
AbortController? abort,
});
/// Playable descendants of [parentId] in one server-side query — for a
/// show this returns every episode across every season; for a season the
/// same episodes as [fetchChildren]; on Jellyfin a collection/playlist
@@ -191,14 +206,14 @@ abstract class MediaServerClient {
Future<List<MediaItem>?> fetchClientSideEpisodeQueue(String seriesId);
/// Free-text search across the user's libraries.
Future<List<MediaItem>> searchItems(String query, {int limit = 30});
Future<List<MediaItem>> searchItems(String query, {int limit = 100});
/// Recently-added items across all libraries.
Future<List<MediaItem>> fetchRecentlyAdded({int limit = 50});
/// Items the user has started but not finished. Plex calls this "On Deck"
/// internally; the neutral name matches the Continue Watching UI surface.
Future<List<MediaItem>> fetchContinueWatching({int count = 20});
Future<List<MediaItem>> fetchContinueWatching({int? count = 20});
/// Curated home-screen hubs across all libraries (Plex Discover; Jellyfin
/// synthesizes `Latest` plus optional `Resume` + `NextUp`).
@@ -208,23 +223,35 @@ abstract class MediaServerClient {
/// the title of synthetic hubs (Jellyfin) so per-library "Recently Added"
/// / "Next Up" hubs aren't all identically named on the home screen.
/// [includePlaybackHubs] lets surfaces that already render Continue
/// Watching skip duplicate playback rows.
/// Watching skip duplicate playback rows. [libraryKind] lets backends avoid
/// irrelevant expensive probes, e.g. Jellyfin `NextUp` for movie libraries.
Future<List<MediaHub>> fetchLibraryHubs(
String libraryId, {
required String libraryName,
int limit = 10,
bool includePlaybackHubs = true,
MediaKind? libraryKind,
});
/// "More like this" recommendations for [id].
Future<List<MediaHub>> fetchRelatedHubs(String id, {int count = 10});
/// Media featuring a specific person/actor.
Future<List<MediaItem>> fetchPersonMedia(String personId);
/// Page through media featuring a specific person/actor.
Future<LibraryPage<MediaItem>> fetchPersonMediaPage(String personId, {int? start, int? size, AbortController? abort});
/// Page through items in [hubId] when the hub previewed only the first N
/// items (`MediaHub.more == true`). Plex hits `/hubs/{key}` (the same
/// id used in [fetchGlobalHubs]); Jellyfin re-runs the synthesised query
/// (Latest / Resume / NextUp) without the preview limit.
Future<List<MediaItem>> fetchMoreHubItems(String hubId, {int? limit});
/// Page through expanded hub content where the backend exposes a paged
/// endpoint. Backends without true hub pagination may return a single page.
Future<LibraryPage<MediaItem>> fetchMoreHubItemsPage(String hubId, {int? start, int? size, AbortController? abort});
/// Mark [item] as watched. The full item is passed (not just an id) so
/// implementations can fire a [WatchStateEvent] on [WatchStateNotifier]
/// for UI invalidation — episode/season/show parent chain, library
@@ -246,11 +273,26 @@ abstract class MediaServerClient {
Future<List<MediaPlaylist>> fetchPlaylists({String playlistType = 'video', bool? smart});
/// Page through server playlists. Used by the library Playlists tab so large
/// servers can render incrementally; [fetchPlaylists] remains the complete
/// list helper for dialogs and bulk operations.
Future<LibraryPage<MediaPlaylist>> fetchPlaylistsPage({
String playlistType = 'video',
bool? smart,
int? start,
int? size,
AbortController? abort,
});
/// Metadata only — items are fetched via [fetchPlaylistItems].
Future<MediaPlaylist?> fetchPlaylistMetadata(String id);
Future<List<MediaItem>> fetchPlaylistItems(String id, {int offset = 0, int limit = 100});
/// Page through items in [id]. Backends preserve playlist order and include
/// per-playlist item ids where the server exposes them.
Future<LibraryPage<MediaItem>> fetchPlaylistPage(String id, {int? start, int? size, AbortController? abort});
/// Create a new playlist seeded with [items]. Returns the created
/// playlist on success, `null` on failure. Plex builds a metadata URI
/// from the item ids; Jellyfin posts `Ids=<comma-joined>`.
@@ -284,20 +326,33 @@ abstract class MediaServerClient {
Future<bool> removeFromPlaylist({required String playlistId, required MediaItem item});
/// Collections in [libraryId]. Plex hits `/library/sections/{id}/collections`;
/// Jellyfin queries `/Items?ParentId={libraryId}&IncludeItemTypes=BoxSet`.
/// Jellyfin resolves its top-level `boxsets` view and walks that root in
/// bounded pages.
/// Each result carries `kind == MediaKind.collection`.
Future<List<MediaItem>> fetchCollections(String libraryId);
/// Page through collections in [libraryId]. Used by the library Collections
/// tab so large Jellyfin/Plex servers can render incrementally while the
/// user scrolls. [fetchCollections] remains the complete-list helper for
/// dialogs and bulk operations.
Future<LibraryPage<MediaItem>> fetchCollectionsPage(
String libraryId, {
int? start,
int? size,
AbortController? abort,
});
/// Page through items in [collectionId]. Plex paginates server-side via
/// `/library/collections/{id}/children`; Jellyfin's API has no
/// pagination knob for collection children, so its impl fetches the full
/// list once (cached on the client) and slices locally. Callers can rely
/// on [LibraryPage.totalCount] either way.
/// `/library/collections/{id}/children`; Jellyfin uses `/Items` with
/// `ParentId`, `StartIndex`, and `Limit`. Callers can rely on
/// [LibraryPage.totalCount] either way.
Future<LibraryPage<MediaItem>> fetchCollectionPage(
String collectionId, {
int? start,
int? size,
AbortController? abort,
String? libraryId,
String? libraryTitle,
});
/// Create a new collection in [libraryId] seeded with [items]. Returns the
@@ -450,7 +505,8 @@ abstract class MediaServerClient {
/// Resolve the video URL, media info, and external subtitle list for
/// playback. Backends own the per-backend particulars: Plex runs the
/// transcode-decision flow when [PlaybackInitializationOptions.qualityPreset]
/// is non-original; Jellyfin always direct-streams. Throws
/// is non-original; Jellyfin asks PlaybackInfo for a matching stream when a
/// non-original preset is explicitly selected. Throws
/// [PlaybackException] when the item can't be resolved (no MediaSources,
/// no playable URL, transcode decision unavailable).
///
@@ -467,8 +523,7 @@ abstract class MediaServerClient {
/// Resolve the download URL for [item]'s primary video file along with
/// any external subtitle tracks that should be saved alongside it.
///
/// [mediaIndex] selects among multiple media versions when an item has
/// them (Plex only — Jellyfin returns the same file regardless).
/// [mediaIndex] selects among multiple media versions when an item has them.
Future<DownloadResolution> resolveDownload(MediaItem item, {int mediaIndex = 0});
/// The artwork files the download pipeline should persist for [item] so
@@ -482,7 +537,7 @@ abstract class MediaServerClient {
/// media version's part path; Jellyfin returns its `/Videos/{id}/stream`
/// endpoint with `Static=true` so transcoding is bypassed. Returns null
/// when the backend can't resolve a playable URL for the item.
Future<String?> resolveExternalPlaybackUrl(MediaItem item, {int mediaIndex = 0});
Future<String?> resolveExternalPlaybackUrl(MediaItem item, {int mediaIndex = 0, String? mediaSourceId});
}
/// Optional interface for backends whose public server id is not specific
+7 -24
View File
@@ -1,20 +1,17 @@
import 'package:json_annotation/json_annotation.dart';
import 'package:freezed_annotation/freezed_annotation.dart';
part 'media_sort.freezed.dart';
part 'media_sort.g.dart';
@JsonSerializable()
class MediaSort {
final String key;
final String? descKey;
final String title;
final String? defaultDirection;
@freezed
sealed class MediaSort with _$MediaSort {
const MediaSort._();
MediaSort({required this.key, this.descKey, required this.title, this.defaultDirection});
const factory MediaSort({required String key, String? descKey, required String title, String? defaultDirection}) =
_MediaSort;
factory MediaSort.fromJson(Map<String, dynamic> json) => _$MediaSortFromJson(json);
Map<String, dynamic> toJson() => _$MediaSortToJson(this);
String getSortKey({bool descending = false}) {
if (!descending) {
return key;
@@ -26,18 +23,4 @@ class MediaSort {
bool get isDefaultDescending {
return defaultDirection?.toLowerCase() == 'desc';
}
@override
String toString() {
return 'MediaSort(key: $key, title: $title, defaultDirection: $defaultDirection)';
}
@override
bool operator ==(Object other) {
if (identical(this, other)) return true;
return other is MediaSort && other.key == key;
}
@override
int get hashCode => key.hashCode;
}
+280
View File
@@ -0,0 +1,280 @@
// GENERATED CODE - DO NOT MODIFY BY HAND
// coverage:ignore-file
// ignore_for_file: type=lint
// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark
part of 'media_sort.dart';
// **************************************************************************
// FreezedGenerator
// **************************************************************************
// dart format off
T _$identity<T>(T value) => value;
/// @nodoc
mixin _$MediaSort {
String get key; String? get descKey; String get title; String? get defaultDirection;
/// Create a copy of MediaSort
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
@pragma('vm:prefer-inline')
$MediaSortCopyWith<MediaSort> get copyWith => _$MediaSortCopyWithImpl<MediaSort>(this as MediaSort, _$identity);
/// Serializes this MediaSort to a JSON map.
Map<String, dynamic> toJson();
@override
bool operator ==(Object other) {
return identical(this, other) || (other.runtimeType == runtimeType&&other is MediaSort&&(identical(other.key, key) || other.key == key)&&(identical(other.descKey, descKey) || other.descKey == descKey)&&(identical(other.title, title) || other.title == title)&&(identical(other.defaultDirection, defaultDirection) || other.defaultDirection == defaultDirection));
}
@JsonKey(includeFromJson: false, includeToJson: false)
@override
int get hashCode => Object.hash(runtimeType,key,descKey,title,defaultDirection);
@override
String toString() {
return 'MediaSort(key: $key, descKey: $descKey, title: $title, defaultDirection: $defaultDirection)';
}
}
/// @nodoc
abstract mixin class $MediaSortCopyWith<$Res> {
factory $MediaSortCopyWith(MediaSort value, $Res Function(MediaSort) _then) = _$MediaSortCopyWithImpl;
@useResult
$Res call({
String key, String? descKey, String title, String? defaultDirection
});
}
/// @nodoc
class _$MediaSortCopyWithImpl<$Res>
implements $MediaSortCopyWith<$Res> {
_$MediaSortCopyWithImpl(this._self, this._then);
final MediaSort _self;
final $Res Function(MediaSort) _then;
/// Create a copy of MediaSort
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline') @override $Res call({Object? key = null,Object? descKey = freezed,Object? title = null,Object? defaultDirection = freezed,}) {
return _then(_self.copyWith(
key: null == key ? _self.key : key // ignore: cast_nullable_to_non_nullable
as String,descKey: freezed == descKey ? _self.descKey : descKey // ignore: cast_nullable_to_non_nullable
as String?,title: null == title ? _self.title : title // ignore: cast_nullable_to_non_nullable
as String,defaultDirection: freezed == defaultDirection ? _self.defaultDirection : defaultDirection // ignore: cast_nullable_to_non_nullable
as String?,
));
}
}
/// Adds pattern-matching-related methods to [MediaSort].
extension MediaSortPatterns on MediaSort {
/// A variant of `map` that fallback to returning `orElse`.
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
/// case final Subclass value:
/// return ...;
/// case _:
/// return orElse();
/// }
/// ```
@optionalTypeArgs TResult maybeMap<TResult extends Object?>(TResult Function( _MediaSort value)? $default,{required TResult orElse(),}){
final _that = this;
switch (_that) {
case _MediaSort() when $default != null:
return $default(_that);case _:
return orElse();
}
}
/// A `switch`-like method, using callbacks.
///
/// Callbacks receives the raw object, upcasted.
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
/// case final Subclass value:
/// return ...;
/// case final Subclass2 value:
/// return ...;
/// }
/// ```
@optionalTypeArgs TResult map<TResult extends Object?>(TResult Function( _MediaSort value) $default,){
final _that = this;
switch (_that) {
case _MediaSort():
return $default(_that);}
}
/// A variant of `map` that fallback to returning `null`.
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
/// case final Subclass value:
/// return ...;
/// case _:
/// return null;
/// }
/// ```
@optionalTypeArgs TResult? mapOrNull<TResult extends Object?>(TResult? Function( _MediaSort value)? $default,){
final _that = this;
switch (_that) {
case _MediaSort() when $default != null:
return $default(_that);case _:
return null;
}
}
/// A variant of `when` that fallback to an `orElse` callback.
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
/// case Subclass(:final field):
/// return ...;
/// case _:
/// return orElse();
/// }
/// ```
@optionalTypeArgs TResult maybeWhen<TResult extends Object?>(TResult Function( String key, String? descKey, String title, String? defaultDirection)? $default,{required TResult orElse(),}) {final _that = this;
switch (_that) {
case _MediaSort() when $default != null:
return $default(_that.key,_that.descKey,_that.title,_that.defaultDirection);case _:
return orElse();
}
}
/// A `switch`-like method, using callbacks.
///
/// As opposed to `map`, this offers destructuring.
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
/// case Subclass(:final field):
/// return ...;
/// case Subclass2(:final field2):
/// return ...;
/// }
/// ```
@optionalTypeArgs TResult when<TResult extends Object?>(TResult Function( String key, String? descKey, String title, String? defaultDirection) $default,) {final _that = this;
switch (_that) {
case _MediaSort():
return $default(_that.key,_that.descKey,_that.title,_that.defaultDirection);}
}
/// A variant of `when` that fallback to returning `null`
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
/// case Subclass(:final field):
/// return ...;
/// case _:
/// return null;
/// }
/// ```
@optionalTypeArgs TResult? whenOrNull<TResult extends Object?>(TResult? Function( String key, String? descKey, String title, String? defaultDirection)? $default,) {final _that = this;
switch (_that) {
case _MediaSort() when $default != null:
return $default(_that.key,_that.descKey,_that.title,_that.defaultDirection);case _:
return null;
}
}
}
/// @nodoc
@JsonSerializable()
class _MediaSort extends MediaSort {
const _MediaSort({required this.key, this.descKey, required this.title, this.defaultDirection}): super._();
factory _MediaSort.fromJson(Map<String, dynamic> json) => _$MediaSortFromJson(json);
@override final String key;
@override final String? descKey;
@override final String title;
@override final String? defaultDirection;
/// Create a copy of MediaSort
/// with the given fields replaced by the non-null parameter values.
@override @JsonKey(includeFromJson: false, includeToJson: false)
@pragma('vm:prefer-inline')
_$MediaSortCopyWith<_MediaSort> get copyWith => __$MediaSortCopyWithImpl<_MediaSort>(this, _$identity);
@override
Map<String, dynamic> toJson() {
return _$MediaSortToJson(this, );
}
@override
bool operator ==(Object other) {
return identical(this, other) || (other.runtimeType == runtimeType&&other is _MediaSort&&(identical(other.key, key) || other.key == key)&&(identical(other.descKey, descKey) || other.descKey == descKey)&&(identical(other.title, title) || other.title == title)&&(identical(other.defaultDirection, defaultDirection) || other.defaultDirection == defaultDirection));
}
@JsonKey(includeFromJson: false, includeToJson: false)
@override
int get hashCode => Object.hash(runtimeType,key,descKey,title,defaultDirection);
@override
String toString() {
return 'MediaSort(key: $key, descKey: $descKey, title: $title, defaultDirection: $defaultDirection)';
}
}
/// @nodoc
abstract mixin class _$MediaSortCopyWith<$Res> implements $MediaSortCopyWith<$Res> {
factory _$MediaSortCopyWith(_MediaSort value, $Res Function(_MediaSort) _then) = __$MediaSortCopyWithImpl;
@override @useResult
$Res call({
String key, String? descKey, String title, String? defaultDirection
});
}
/// @nodoc
class __$MediaSortCopyWithImpl<$Res>
implements _$MediaSortCopyWith<$Res> {
__$MediaSortCopyWithImpl(this._self, this._then);
final _MediaSort _self;
final $Res Function(_MediaSort) _then;
/// Create a copy of MediaSort
/// with the given fields replaced by the non-null parameter values.
@override @pragma('vm:prefer-inline') $Res call({Object? key = null,Object? descKey = freezed,Object? title = null,Object? defaultDirection = freezed,}) {
return _then(_MediaSort(
key: null == key ? _self.key : key // ignore: cast_nullable_to_non_nullable
as String,descKey: freezed == descKey ? _self.descKey : descKey // ignore: cast_nullable_to_non_nullable
as String?,title: null == title ? _self.title : title // ignore: cast_nullable_to_non_nullable
as String,defaultDirection: freezed == defaultDirection ? _self.defaultDirection : defaultDirection // ignore: cast_nullable_to_non_nullable
as String?,
));
}
}
// dart format on
+8 -7
View File
@@ -6,16 +6,17 @@ part of 'media_sort.dart';
// JsonSerializableGenerator
// **************************************************************************
MediaSort _$MediaSortFromJson(Map<String, dynamic> json) => MediaSort(
_MediaSort _$MediaSortFromJson(Map<String, dynamic> json) => _MediaSort(
key: json['key'] as String,
descKey: json['descKey'] as String?,
title: json['title'] as String,
defaultDirection: json['defaultDirection'] as String?,
);
Map<String, dynamic> _$MediaSortToJson(MediaSort instance) => <String, dynamic>{
'key': instance.key,
'descKey': instance.descKey,
'title': instance.title,
'defaultDirection': instance.defaultDirection,
};
Map<String, dynamic> _$MediaSortToJson(_MediaSort instance) =>
<String, dynamic>{
'key': instance.key,
'descKey': instance.descKey,
'title': instance.title,
'defaultDirection': instance.defaultDirection,
};
+24 -4
View File
@@ -1,5 +1,6 @@
import '../utils/codec_utils.dart';
import '../utils/track_label_builder.dart' show TrackLabelBuilder, buildTrackLabel;
import 'media_display_criteria.dart';
class MediaSourceInfo {
final String videoUrl;
@@ -7,7 +8,7 @@ class MediaSourceInfo {
final List<MediaSubtitleTrack> subtitleTracks;
final List<MediaChapter> chapters;
final int? partId;
final double? frameRate;
final MediaDisplayCriteria? displayCriteria;
/// Jellyfin source id for the *selected* version (null on Plex). Lets the
/// trickplay loader request the right tile sheet when an item has multiple
@@ -30,7 +31,7 @@ class MediaSourceInfo {
required this.subtitleTracks,
required this.chapters,
this.partId,
this.frameRate,
this.displayCriteria,
this.mediaSourceId,
this.defaultAudioStreamIndex,
this.defaultSubtitleStreamIndex,
@@ -93,6 +94,7 @@ class MediaAudioTrack with _TrackLabelMixin {
final String? displayTitle;
final int? channels;
final bool selected;
final bool external;
MediaAudioTrack({
required this.id,
@@ -104,8 +106,11 @@ class MediaAudioTrack with _TrackLabelMixin {
this.displayTitle,
this.channels,
required this.selected,
this.external = false,
});
bool get isExternal => external;
String get label {
final additionalParts = <String>[];
if (codec != null) additionalParts.add(CodecUtils.formatAudioCodec(codec!));
@@ -146,15 +151,30 @@ class MediaSubtitleTrack with _TrackLabelMixin {
});
String get label {
return labelForIndex(_fallbackLabelIndex);
}
String labelForIndex(int visibleIndex) {
return TrackLabelBuilder.buildSubtitleLabel(
title: displayTitle ?? title,
title: _labelTitle,
language: languageCode ?? language,
codec: codec,
forced: forced,
index: (index ?? id) - 1,
index: visibleIndex,
);
}
String? get _labelTitle {
final explicitTitle = title;
if (explicitTitle != null && explicitTitle.trim().isNotEmpty) return explicitTitle;
return displayTitle;
}
int get _fallbackLabelIndex {
final streamIndex = index ?? id;
return streamIndex > 0 ? streamIndex - 1 : 0;
}
/// Returns true if this subtitle track is an external file (sidecar subtitle).
/// Some backends provide a direct key/URL, others require constructing one
/// from stream metadata.
+50 -111
View File
@@ -1,122 +1,61 @@
import 'package:freezed_annotation/freezed_annotation.dart';
import 'media_item.dart';
part 'play_queue.freezed.dart';
/// Backend-neutral play queue — a flat ordered list of items with a current
/// cursor. Implementations differ in whether the queue is server-resourced
/// (Plex) or client-only (Jellyfin).
sealed class PlayQueue {
/// Items in playback order.
List<MediaItem> get items;
@freezed
sealed class PlayQueue with _$PlayQueue {
const PlayQueue._();
/// Index of the currently-playing item, or `null` if the queue has not
/// started.
int? get currentIndex;
/// Whether the queue has been shuffled.
bool get shuffled;
/// Backend that minted this queue.
String get backendId;
MediaItem? get current =>
currentIndex != null && currentIndex! >= 0 && currentIndex! < items.length ? items[currentIndex!] : null;
bool get hasNext => currentIndex != null && currentIndex! + 1 < items.length;
bool get hasPrevious => currentIndex != null && currentIndex! > 0;
}
/// Plex play queue — coordinated server-side via `/playQueues` so multiple
/// devices can view/control the same queue.
class PlexServerPlayQueue extends PlayQueue {
/// Plex `playQueueID` — addresses the queue for subsequent fetches.
final int playQueueId;
@override
final List<MediaItem> items;
@override
final int? currentIndex;
@override
final bool shuffled;
/// Plex `playQueueSelectedItemID` of the active item.
final int? selectedItemId;
/// Plex `playQueueVersion` — server-side optimistic concurrency token.
final int? version;
/// Plex `playQueueSourceURI` — used for "Up Next" derivation.
final String? sourceUri;
PlexServerPlayQueue({
required this.playQueueId,
required this.items,
this.currentIndex,
this.shuffled = false,
this.selectedItemId,
this.version,
this.sourceUri,
});
@override
String get backendId => 'plex';
PlexServerPlayQueue copyWith({
int? playQueueId,
List<MediaItem>? items,
/// Plex play queue — coordinated server-side via `/playQueues` so multiple
/// devices can view/control the same queue.
const factory PlayQueue.plex({
/// Plex `playQueueID` — addresses the queue for subsequent fetches.
required int playQueueId,
required List<MediaItem> items,
int? currentIndex,
bool? shuffled,
@Default(false) bool shuffled,
/// Plex `playQueueSelectedItemID` of the active item.
int? selectedItemId,
/// Plex `playQueueVersion` — server-side optimistic concurrency token.
int? version,
/// Plex `playQueueSourceURI` — used for "Up Next" derivation.
String? sourceUri,
}) {
return PlexServerPlayQueue(
playQueueId: playQueueId ?? this.playQueueId,
items: items ?? this.items,
currentIndex: currentIndex ?? this.currentIndex,
shuffled: shuffled ?? this.shuffled,
selectedItemId: selectedItemId ?? this.selectedItemId,
version: version ?? this.version,
sourceUri: sourceUri ?? this.sourceUri,
);
}
}
/// Client-only play queue used by Jellyfin and any backend without a
/// server-side queue concept. Each [LocalPlayQueue] is anchored by a
/// client-generated UUID so callers can address it like a Plex queue.
class LocalPlayQueue extends PlayQueue {
/// Client-generated UUID identifying this queue for the session.
final String id;
@override
final List<MediaItem> items;
@override
final int? currentIndex;
@override
final bool shuffled;
/// Server kind that owns this queue's items (typically `"jellyfin"`).
@override
final String backendId;
LocalPlayQueue({
required this.id,
required this.items,
required this.backendId,
this.currentIndex,
this.shuffled = false,
});
LocalPlayQueue copyWith({String? id, List<MediaItem>? items, int? currentIndex, bool? shuffled, String? backendId}) {
return LocalPlayQueue(
id: id ?? this.id,
items: items ?? this.items,
currentIndex: currentIndex ?? this.currentIndex,
shuffled: shuffled ?? this.shuffled,
backendId: backendId ?? this.backendId,
);
}
}) = PlexServerPlayQueue;
/// Client-only play queue used by Jellyfin and any backend without a
/// server-side queue concept. Each [LocalPlayQueue] is anchored by a
/// client-generated UUID so callers can address it like a Plex queue.
const factory PlayQueue.local({
/// Client-generated UUID identifying this queue for the session.
required String id,
required List<MediaItem> items,
/// Server kind that owns this queue's items (typically `"jellyfin"`).
required String backendId,
int? currentIndex,
@Default(false) bool shuffled,
}) = LocalPlayQueue;
MediaItem? get current => switch (this) {
PlexServerPlayQueue(:final items, :final currentIndex) || LocalPlayQueue(:final items, :final currentIndex) =>
currentIndex != null && currentIndex >= 0 && currentIndex < items.length ? items[currentIndex] : null,
};
bool get hasNext => switch (this) {
PlexServerPlayQueue(:final items, :final currentIndex) ||
LocalPlayQueue(:final items, :final currentIndex) => currentIndex != null && currentIndex + 1 < items.length,
};
bool get hasPrevious => switch (this) {
PlexServerPlayQueue(:final currentIndex) ||
LocalPlayQueue(:final currentIndex) => currentIndex != null && currentIndex > 0,
};
}
+377
View File
@@ -0,0 +1,377 @@
// GENERATED CODE - DO NOT MODIFY BY HAND
// coverage:ignore-file
// ignore_for_file: type=lint
// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark
part of 'play_queue.dart';
// **************************************************************************
// FreezedGenerator
// **************************************************************************
// dart format off
T _$identity<T>(T value) => value;
/// @nodoc
mixin _$PlayQueue {
List<MediaItem> get items; int? get currentIndex; bool get shuffled;
/// Create a copy of PlayQueue
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
@pragma('vm:prefer-inline')
$PlayQueueCopyWith<PlayQueue> get copyWith => _$PlayQueueCopyWithImpl<PlayQueue>(this as PlayQueue, _$identity);
@override
bool operator ==(Object other) {
return identical(this, other) || (other.runtimeType == runtimeType&&other is PlayQueue&&const DeepCollectionEquality().equals(other.items, items)&&(identical(other.currentIndex, currentIndex) || other.currentIndex == currentIndex)&&(identical(other.shuffled, shuffled) || other.shuffled == shuffled));
}
@override
int get hashCode => Object.hash(runtimeType,const DeepCollectionEquality().hash(items),currentIndex,shuffled);
@override
String toString() {
return 'PlayQueue(items: $items, currentIndex: $currentIndex, shuffled: $shuffled)';
}
}
/// @nodoc
abstract mixin class $PlayQueueCopyWith<$Res> {
factory $PlayQueueCopyWith(PlayQueue value, $Res Function(PlayQueue) _then) = _$PlayQueueCopyWithImpl;
@useResult
$Res call({
List<MediaItem> items, int? currentIndex, bool shuffled
});
}
/// @nodoc
class _$PlayQueueCopyWithImpl<$Res>
implements $PlayQueueCopyWith<$Res> {
_$PlayQueueCopyWithImpl(this._self, this._then);
final PlayQueue _self;
final $Res Function(PlayQueue) _then;
/// Create a copy of PlayQueue
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline') @override $Res call({Object? items = null,Object? currentIndex = freezed,Object? shuffled = null,}) {
return _then(_self.copyWith(
items: null == items ? _self.items : items // ignore: cast_nullable_to_non_nullable
as List<MediaItem>,currentIndex: freezed == currentIndex ? _self.currentIndex : currentIndex // ignore: cast_nullable_to_non_nullable
as int?,shuffled: null == shuffled ? _self.shuffled : shuffled // ignore: cast_nullable_to_non_nullable
as bool,
));
}
}
/// Adds pattern-matching-related methods to [PlayQueue].
extension PlayQueuePatterns on PlayQueue {
/// A variant of `map` that fallback to returning `orElse`.
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
/// case final Subclass value:
/// return ...;
/// case _:
/// return orElse();
/// }
/// ```
@optionalTypeArgs TResult maybeMap<TResult extends Object?>({TResult Function( PlexServerPlayQueue value)? plex,TResult Function( LocalPlayQueue value)? local,required TResult orElse(),}){
final _that = this;
switch (_that) {
case PlexServerPlayQueue() when plex != null:
return plex(_that);case LocalPlayQueue() when local != null:
return local(_that);case _:
return orElse();
}
}
/// A `switch`-like method, using callbacks.
///
/// Callbacks receives the raw object, upcasted.
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
/// case final Subclass value:
/// return ...;
/// case final Subclass2 value:
/// return ...;
/// }
/// ```
@optionalTypeArgs TResult map<TResult extends Object?>({required TResult Function( PlexServerPlayQueue value) plex,required TResult Function( LocalPlayQueue value) local,}){
final _that = this;
switch (_that) {
case PlexServerPlayQueue():
return plex(_that);case LocalPlayQueue():
return local(_that);}
}
/// A variant of `map` that fallback to returning `null`.
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
/// case final Subclass value:
/// return ...;
/// case _:
/// return null;
/// }
/// ```
@optionalTypeArgs TResult? mapOrNull<TResult extends Object?>({TResult? Function( PlexServerPlayQueue value)? plex,TResult? Function( LocalPlayQueue value)? local,}){
final _that = this;
switch (_that) {
case PlexServerPlayQueue() when plex != null:
return plex(_that);case LocalPlayQueue() when local != null:
return local(_that);case _:
return null;
}
}
/// A variant of `when` that fallback to an `orElse` callback.
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
/// case Subclass(:final field):
/// return ...;
/// case _:
/// return orElse();
/// }
/// ```
@optionalTypeArgs TResult maybeWhen<TResult extends Object?>({TResult Function( int playQueueId, List<MediaItem> items, int? currentIndex, bool shuffled, int? selectedItemId, int? version, String? sourceUri)? plex,TResult Function( String id, List<MediaItem> items, String backendId, int? currentIndex, bool shuffled)? local,required TResult orElse(),}) {final _that = this;
switch (_that) {
case PlexServerPlayQueue() when plex != null:
return plex(_that.playQueueId,_that.items,_that.currentIndex,_that.shuffled,_that.selectedItemId,_that.version,_that.sourceUri);case LocalPlayQueue() when local != null:
return local(_that.id,_that.items,_that.backendId,_that.currentIndex,_that.shuffled);case _:
return orElse();
}
}
/// A `switch`-like method, using callbacks.
///
/// As opposed to `map`, this offers destructuring.
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
/// case Subclass(:final field):
/// return ...;
/// case Subclass2(:final field2):
/// return ...;
/// }
/// ```
@optionalTypeArgs TResult when<TResult extends Object?>({required TResult Function( int playQueueId, List<MediaItem> items, int? currentIndex, bool shuffled, int? selectedItemId, int? version, String? sourceUri) plex,required TResult Function( String id, List<MediaItem> items, String backendId, int? currentIndex, bool shuffled) local,}) {final _that = this;
switch (_that) {
case PlexServerPlayQueue():
return plex(_that.playQueueId,_that.items,_that.currentIndex,_that.shuffled,_that.selectedItemId,_that.version,_that.sourceUri);case LocalPlayQueue():
return local(_that.id,_that.items,_that.backendId,_that.currentIndex,_that.shuffled);}
}
/// A variant of `when` that fallback to returning `null`
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
/// case Subclass(:final field):
/// return ...;
/// case _:
/// return null;
/// }
/// ```
@optionalTypeArgs TResult? whenOrNull<TResult extends Object?>({TResult? Function( int playQueueId, List<MediaItem> items, int? currentIndex, bool shuffled, int? selectedItemId, int? version, String? sourceUri)? plex,TResult? Function( String id, List<MediaItem> items, String backendId, int? currentIndex, bool shuffled)? local,}) {final _that = this;
switch (_that) {
case PlexServerPlayQueue() when plex != null:
return plex(_that.playQueueId,_that.items,_that.currentIndex,_that.shuffled,_that.selectedItemId,_that.version,_that.sourceUri);case LocalPlayQueue() when local != null:
return local(_that.id,_that.items,_that.backendId,_that.currentIndex,_that.shuffled);case _:
return null;
}
}
}
/// @nodoc
class PlexServerPlayQueue extends PlayQueue {
const PlexServerPlayQueue({required this.playQueueId, required final List<MediaItem> items, this.currentIndex, this.shuffled = false, this.selectedItemId, this.version, this.sourceUri}): _items = items,super._();
/// Plex `playQueueID` — addresses the queue for subsequent fetches.
final int playQueueId;
final List<MediaItem> _items;
@override List<MediaItem> get items {
if (_items is EqualUnmodifiableListView) return _items;
// ignore: implicit_dynamic_type
return EqualUnmodifiableListView(_items);
}
@override final int? currentIndex;
@override@JsonKey() final bool shuffled;
/// Plex `playQueueSelectedItemID` of the active item.
final int? selectedItemId;
/// Plex `playQueueVersion` — server-side optimistic concurrency token.
final int? version;
/// Plex `playQueueSourceURI` — used for "Up Next" derivation.
final String? sourceUri;
/// Create a copy of PlayQueue
/// with the given fields replaced by the non-null parameter values.
@override @JsonKey(includeFromJson: false, includeToJson: false)
@pragma('vm:prefer-inline')
$PlexServerPlayQueueCopyWith<PlexServerPlayQueue> get copyWith => _$PlexServerPlayQueueCopyWithImpl<PlexServerPlayQueue>(this, _$identity);
@override
bool operator ==(Object other) {
return identical(this, other) || (other.runtimeType == runtimeType&&other is PlexServerPlayQueue&&(identical(other.playQueueId, playQueueId) || other.playQueueId == playQueueId)&&const DeepCollectionEquality().equals(other._items, _items)&&(identical(other.currentIndex, currentIndex) || other.currentIndex == currentIndex)&&(identical(other.shuffled, shuffled) || other.shuffled == shuffled)&&(identical(other.selectedItemId, selectedItemId) || other.selectedItemId == selectedItemId)&&(identical(other.version, version) || other.version == version)&&(identical(other.sourceUri, sourceUri) || other.sourceUri == sourceUri));
}
@override
int get hashCode => Object.hash(runtimeType,playQueueId,const DeepCollectionEquality().hash(_items),currentIndex,shuffled,selectedItemId,version,sourceUri);
@override
String toString() {
return 'PlayQueue.plex(playQueueId: $playQueueId, items: $items, currentIndex: $currentIndex, shuffled: $shuffled, selectedItemId: $selectedItemId, version: $version, sourceUri: $sourceUri)';
}
}
/// @nodoc
abstract mixin class $PlexServerPlayQueueCopyWith<$Res> implements $PlayQueueCopyWith<$Res> {
factory $PlexServerPlayQueueCopyWith(PlexServerPlayQueue value, $Res Function(PlexServerPlayQueue) _then) = _$PlexServerPlayQueueCopyWithImpl;
@override @useResult
$Res call({
int playQueueId, List<MediaItem> items, int? currentIndex, bool shuffled, int? selectedItemId, int? version, String? sourceUri
});
}
/// @nodoc
class _$PlexServerPlayQueueCopyWithImpl<$Res>
implements $PlexServerPlayQueueCopyWith<$Res> {
_$PlexServerPlayQueueCopyWithImpl(this._self, this._then);
final PlexServerPlayQueue _self;
final $Res Function(PlexServerPlayQueue) _then;
/// Create a copy of PlayQueue
/// with the given fields replaced by the non-null parameter values.
@override @pragma('vm:prefer-inline') $Res call({Object? playQueueId = null,Object? items = null,Object? currentIndex = freezed,Object? shuffled = null,Object? selectedItemId = freezed,Object? version = freezed,Object? sourceUri = freezed,}) {
return _then(PlexServerPlayQueue(
playQueueId: null == playQueueId ? _self.playQueueId : playQueueId // ignore: cast_nullable_to_non_nullable
as int,items: null == items ? _self._items : items // ignore: cast_nullable_to_non_nullable
as List<MediaItem>,currentIndex: freezed == currentIndex ? _self.currentIndex : currentIndex // ignore: cast_nullable_to_non_nullable
as int?,shuffled: null == shuffled ? _self.shuffled : shuffled // ignore: cast_nullable_to_non_nullable
as bool,selectedItemId: freezed == selectedItemId ? _self.selectedItemId : selectedItemId // ignore: cast_nullable_to_non_nullable
as int?,version: freezed == version ? _self.version : version // ignore: cast_nullable_to_non_nullable
as int?,sourceUri: freezed == sourceUri ? _self.sourceUri : sourceUri // ignore: cast_nullable_to_non_nullable
as String?,
));
}
}
/// @nodoc
class LocalPlayQueue extends PlayQueue {
const LocalPlayQueue({required this.id, required final List<MediaItem> items, required this.backendId, this.currentIndex, this.shuffled = false}): _items = items,super._();
/// Client-generated UUID identifying this queue for the session.
final String id;
final List<MediaItem> _items;
@override List<MediaItem> get items {
if (_items is EqualUnmodifiableListView) return _items;
// ignore: implicit_dynamic_type
return EqualUnmodifiableListView(_items);
}
/// Server kind that owns this queue's items (typically `"jellyfin"`).
final String backendId;
@override final int? currentIndex;
@override@JsonKey() final bool shuffled;
/// Create a copy of PlayQueue
/// with the given fields replaced by the non-null parameter values.
@override @JsonKey(includeFromJson: false, includeToJson: false)
@pragma('vm:prefer-inline')
$LocalPlayQueueCopyWith<LocalPlayQueue> get copyWith => _$LocalPlayQueueCopyWithImpl<LocalPlayQueue>(this, _$identity);
@override
bool operator ==(Object other) {
return identical(this, other) || (other.runtimeType == runtimeType&&other is LocalPlayQueue&&(identical(other.id, id) || other.id == id)&&const DeepCollectionEquality().equals(other._items, _items)&&(identical(other.backendId, backendId) || other.backendId == backendId)&&(identical(other.currentIndex, currentIndex) || other.currentIndex == currentIndex)&&(identical(other.shuffled, shuffled) || other.shuffled == shuffled));
}
@override
int get hashCode => Object.hash(runtimeType,id,const DeepCollectionEquality().hash(_items),backendId,currentIndex,shuffled);
@override
String toString() {
return 'PlayQueue.local(id: $id, items: $items, backendId: $backendId, currentIndex: $currentIndex, shuffled: $shuffled)';
}
}
/// @nodoc
abstract mixin class $LocalPlayQueueCopyWith<$Res> implements $PlayQueueCopyWith<$Res> {
factory $LocalPlayQueueCopyWith(LocalPlayQueue value, $Res Function(LocalPlayQueue) _then) = _$LocalPlayQueueCopyWithImpl;
@override @useResult
$Res call({
String id, List<MediaItem> items, String backendId, int? currentIndex, bool shuffled
});
}
/// @nodoc
class _$LocalPlayQueueCopyWithImpl<$Res>
implements $LocalPlayQueueCopyWith<$Res> {
_$LocalPlayQueueCopyWithImpl(this._self, this._then);
final LocalPlayQueue _self;
final $Res Function(LocalPlayQueue) _then;
/// Create a copy of PlayQueue
/// with the given fields replaced by the non-null parameter values.
@override @pragma('vm:prefer-inline') $Res call({Object? id = null,Object? items = null,Object? backendId = null,Object? currentIndex = freezed,Object? shuffled = null,}) {
return _then(LocalPlayQueue(
id: null == id ? _self.id : id // ignore: cast_nullable_to_non_nullable
as String,items: null == items ? _self._items : items // ignore: cast_nullable_to_non_nullable
as List<MediaItem>,backendId: null == backendId ? _self.backendId : backendId // ignore: cast_nullable_to_non_nullable
as String,currentIndex: freezed == currentIndex ? _self.currentIndex : currentIndex // ignore: cast_nullable_to_non_nullable
as int?,shuffled: null == shuffled ? _self.shuffled : shuffled // ignore: cast_nullable_to_non_nullable
as bool,
));
}
}
// dart format on
+3
View File
@@ -21,11 +21,14 @@ mixin ItemUpdatable<T extends StatefulWidget> on State<T> {
/// If the fetch fails, the error is silently caught and the item will
/// be updated on the next full refresh.
Future<void> updateItem(String itemId) async {
if (!mounted) return;
try {
final serverId = itemServerId;
if (serverId == null) return;
final updatedItem = await context.tryGetMediaClientForServer(serverId)?.fetchItem(itemId);
if (updatedItem != null) {
if (!mounted) return;
setState(() {
updateItemInLists(itemId, updatedItem);
});
+25 -11
View File
@@ -3,7 +3,6 @@ import 'dart:async';
import 'package:flutter/widgets.dart';
import '../media/library_query.dart';
import '../media/media_item.dart';
import '../utils/media_server_http_client.dart';
import '../exceptions/media_server_exceptions.dart';
@@ -20,9 +19,9 @@ import '../exceptions/media_server_exceptions.dart';
/// 2. On scroll, subclass calls [ensureRangeLoaded] with the visible index
/// range. Eager prefetch ahead of the viewport via [prefetchAhead].
/// 3. On dispose, subclass calls [disposePagination].
mixin PaginatedItemLoader<W extends StatefulWidget> on State<W> {
mixin PaginatedItemLoader<T, W extends StatefulWidget> on State<W> {
/// Sparse map of loaded items, keyed by position.
final Map<int, MediaItem> loadedItems = {};
final Map<int, T> loadedItems = {};
/// Total items on the server. 0 until the first page completes.
int totalSize = 0;
@@ -43,12 +42,12 @@ mixin PaginatedItemLoader<W extends StatefulWidget> on State<W> {
VoidCallback? _scheduledRetry;
/// Fetch a page of items. Subclass implements this — typically delegating
/// to a paginated client method that returns a [LibraryPage] of [MediaItem].
Future<LibraryPage<MediaItem>> fetchPage(int start, int size, AbortController? abort);
/// to a paginated client method that returns a [LibraryPage].
Future<LibraryPage<T>> fetchPage(int start, int size, AbortController? abort);
/// Hook fired after each successful page merge. Default: no-op.
/// Override for image prefetch, syncing a base-class `items` list, etc.
void onPageLoaded(int start, List<MediaItem> items) {}
void onPageLoaded(int _, List<T> __) {}
/// Synchronously clear pagination state and bump the generation counter.
/// Call from inside the subclass's `setState` before awaiting
@@ -69,17 +68,32 @@ mixin PaginatedItemLoader<W extends StatefulWidget> on State<W> {
/// Fetch the first page. Await from outside `setState`. Mutates
/// [loadedItems] and [totalSize] on success; throws on failure.
Future<LibraryPage<MediaItem>> loadInitialPage(int pageSize) async {
Future<LibraryPage<T>> loadInitialPage(int pageSize) async {
final result = await loadInitialPageWithStatus(pageSize);
return result.page;
}
/// Like [loadInitialPage], but reports whether the fetched page was still
/// current and actually merged into [loadedItems].
Future<({LibraryPage<T> page, bool applied})> loadInitialPageWithStatus(int pageSize) async {
final generation = _requestId;
final result = await fetchPage(0, pageSize, _cancelToken);
if (generation != _requestId || !mounted) return result;
late final LibraryPage<T> result;
try {
result = await fetchPage(0, pageSize, _cancelToken);
} catch (_) {
if (generation != _requestId || !mounted) {
return (page: LibraryPage<T>(items: const [], totalCount: 0), applied: false);
}
rethrow;
}
if (generation != _requestId || !mounted) return (page: result, applied: false);
for (var i = 0; i < result.items.length; i++) {
loadedItems[i] = result.items[i];
}
totalSize = result.totalCount;
onPageLoaded(0, result.items);
return result;
return (page: result, applied: true);
}
/// Fetch any unloaded items inside [firstIndex, firstIndex + visibleCount)
@@ -160,7 +174,7 @@ mixin PaginatedItemLoader<W extends StatefulWidget> on State<W> {
/// [totalSize] even if [index] wasn't in the sparse map (evicted).
void removeLoadedItemAndShift(int index) {
loadedItems.remove(index);
final shifted = <int, MediaItem>{};
final shifted = <int, T>{};
for (final entry in loadedItems.entries) {
if (entry.key > index) {
shifted[entry.key - 1] = entry.value;
+1 -1
View File
@@ -84,7 +84,7 @@ mixin TabNavigationMixin<T extends StatefulWidget> on State<T>, TickerProviderSt
}
void onTabBarBack() {
MainScreenFocusScope.of(context)?.focusSidebar();
MainScreenFocusScope.of(context, listen: false)?.focusSidebar();
}
/// Shared tab chip builder — eliminates duplication between screens.
+20 -20
View File
@@ -1,3 +1,11 @@
// ignore_for_file: invalid_annotation_target
import 'package:freezed_annotation/freezed_annotation.dart';
import '../../utils/json_converters.dart';
part 'remote_command.freezed.dart';
part 'remote_command.g.dart';
enum RemoteCommandType {
dpadUp,
dpadDown,
@@ -46,24 +54,16 @@ enum RemoteCommandType {
syncState,
}
class RemoteCommand {
final RemoteCommandType type;
final Map<String, dynamic>? data;
const RemoteCommand({required this.type, this.data});
factory RemoteCommand.fromJson(Map<String, dynamic> json) {
final index = json['t'] as int;
return RemoteCommand(
type: index < RemoteCommandType.values.length ? RemoteCommandType.values[index] : RemoteCommandType.ping,
data: json['d'] as Map<String, dynamic>?,
);
}
Map<String, dynamic> toJson() {
return {'t': type.index, if (data != null) 'd': data};
}
@override
String toString() => 'RemoteCommand(${type.name}, data: $data)';
class _RemoteCommandTypeConverter extends IndexedEnumConverter<RemoteCommandType> {
const _RemoteCommandTypeConverter() : super(RemoteCommandType.values, RemoteCommandType.ping);
}
@freezed
sealed class RemoteCommand with _$RemoteCommand {
const factory RemoteCommand({
@JsonKey(name: 't') @_RemoteCommandTypeConverter() required RemoteCommandType type,
@JsonKey(name: 'd') Map<String, dynamic>? data,
}) = _RemoteCommand;
factory RemoteCommand.fromJson(Map<String, dynamic> json) => _$RemoteCommandFromJson(json);
}
@@ -0,0 +1,282 @@
// GENERATED CODE - DO NOT MODIFY BY HAND
// coverage:ignore-file
// ignore_for_file: type=lint
// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark
part of 'remote_command.dart';
// **************************************************************************
// FreezedGenerator
// **************************************************************************
// dart format off
T _$identity<T>(T value) => value;
/// @nodoc
mixin _$RemoteCommand {
@JsonKey(name: 't')@_RemoteCommandTypeConverter() RemoteCommandType get type;@JsonKey(name: 'd') Map<String, dynamic>? get data;
/// Create a copy of RemoteCommand
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
@pragma('vm:prefer-inline')
$RemoteCommandCopyWith<RemoteCommand> get copyWith => _$RemoteCommandCopyWithImpl<RemoteCommand>(this as RemoteCommand, _$identity);
/// Serializes this RemoteCommand to a JSON map.
Map<String, dynamic> toJson();
@override
bool operator ==(Object other) {
return identical(this, other) || (other.runtimeType == runtimeType&&other is RemoteCommand&&(identical(other.type, type) || other.type == type)&&const DeepCollectionEquality().equals(other.data, data));
}
@JsonKey(includeFromJson: false, includeToJson: false)
@override
int get hashCode => Object.hash(runtimeType,type,const DeepCollectionEquality().hash(data));
@override
String toString() {
return 'RemoteCommand(type: $type, data: $data)';
}
}
/// @nodoc
abstract mixin class $RemoteCommandCopyWith<$Res> {
factory $RemoteCommandCopyWith(RemoteCommand value, $Res Function(RemoteCommand) _then) = _$RemoteCommandCopyWithImpl;
@useResult
$Res call({
@JsonKey(name: 't')@_RemoteCommandTypeConverter() RemoteCommandType type,@JsonKey(name: 'd') Map<String, dynamic>? data
});
}
/// @nodoc
class _$RemoteCommandCopyWithImpl<$Res>
implements $RemoteCommandCopyWith<$Res> {
_$RemoteCommandCopyWithImpl(this._self, this._then);
final RemoteCommand _self;
final $Res Function(RemoteCommand) _then;
/// Create a copy of RemoteCommand
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline') @override $Res call({Object? type = null,Object? data = freezed,}) {
return _then(_self.copyWith(
type: null == type ? _self.type : type // ignore: cast_nullable_to_non_nullable
as RemoteCommandType,data: freezed == data ? _self.data : data // ignore: cast_nullable_to_non_nullable
as Map<String, dynamic>?,
));
}
}
/// Adds pattern-matching-related methods to [RemoteCommand].
extension RemoteCommandPatterns on RemoteCommand {
/// A variant of `map` that fallback to returning `orElse`.
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
/// case final Subclass value:
/// return ...;
/// case _:
/// return orElse();
/// }
/// ```
@optionalTypeArgs TResult maybeMap<TResult extends Object?>(TResult Function( _RemoteCommand value)? $default,{required TResult orElse(),}){
final _that = this;
switch (_that) {
case _RemoteCommand() when $default != null:
return $default(_that);case _:
return orElse();
}
}
/// A `switch`-like method, using callbacks.
///
/// Callbacks receives the raw object, upcasted.
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
/// case final Subclass value:
/// return ...;
/// case final Subclass2 value:
/// return ...;
/// }
/// ```
@optionalTypeArgs TResult map<TResult extends Object?>(TResult Function( _RemoteCommand value) $default,){
final _that = this;
switch (_that) {
case _RemoteCommand():
return $default(_that);}
}
/// A variant of `map` that fallback to returning `null`.
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
/// case final Subclass value:
/// return ...;
/// case _:
/// return null;
/// }
/// ```
@optionalTypeArgs TResult? mapOrNull<TResult extends Object?>(TResult? Function( _RemoteCommand value)? $default,){
final _that = this;
switch (_that) {
case _RemoteCommand() when $default != null:
return $default(_that);case _:
return null;
}
}
/// A variant of `when` that fallback to an `orElse` callback.
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
/// case Subclass(:final field):
/// return ...;
/// case _:
/// return orElse();
/// }
/// ```
@optionalTypeArgs TResult maybeWhen<TResult extends Object?>(TResult Function(@JsonKey(name: 't')@_RemoteCommandTypeConverter() RemoteCommandType type, @JsonKey(name: 'd') Map<String, dynamic>? data)? $default,{required TResult orElse(),}) {final _that = this;
switch (_that) {
case _RemoteCommand() when $default != null:
return $default(_that.type,_that.data);case _:
return orElse();
}
}
/// A `switch`-like method, using callbacks.
///
/// As opposed to `map`, this offers destructuring.
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
/// case Subclass(:final field):
/// return ...;
/// case Subclass2(:final field2):
/// return ...;
/// }
/// ```
@optionalTypeArgs TResult when<TResult extends Object?>(TResult Function(@JsonKey(name: 't')@_RemoteCommandTypeConverter() RemoteCommandType type, @JsonKey(name: 'd') Map<String, dynamic>? data) $default,) {final _that = this;
switch (_that) {
case _RemoteCommand():
return $default(_that.type,_that.data);}
}
/// A variant of `when` that fallback to returning `null`
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
/// case Subclass(:final field):
/// return ...;
/// case _:
/// return null;
/// }
/// ```
@optionalTypeArgs TResult? whenOrNull<TResult extends Object?>(TResult? Function(@JsonKey(name: 't')@_RemoteCommandTypeConverter() RemoteCommandType type, @JsonKey(name: 'd') Map<String, dynamic>? data)? $default,) {final _that = this;
switch (_that) {
case _RemoteCommand() when $default != null:
return $default(_that.type,_that.data);case _:
return null;
}
}
}
/// @nodoc
@JsonSerializable()
class _RemoteCommand implements RemoteCommand {
const _RemoteCommand({@JsonKey(name: 't')@_RemoteCommandTypeConverter() required this.type, @JsonKey(name: 'd') final Map<String, dynamic>? data}): _data = data;
factory _RemoteCommand.fromJson(Map<String, dynamic> json) => _$RemoteCommandFromJson(json);
@override@JsonKey(name: 't')@_RemoteCommandTypeConverter() final RemoteCommandType type;
final Map<String, dynamic>? _data;
@override@JsonKey(name: 'd') Map<String, dynamic>? get data {
final value = _data;
if (value == null) return null;
if (_data is EqualUnmodifiableMapView) return _data;
// ignore: implicit_dynamic_type
return EqualUnmodifiableMapView(value);
}
/// Create a copy of RemoteCommand
/// with the given fields replaced by the non-null parameter values.
@override @JsonKey(includeFromJson: false, includeToJson: false)
@pragma('vm:prefer-inline')
_$RemoteCommandCopyWith<_RemoteCommand> get copyWith => __$RemoteCommandCopyWithImpl<_RemoteCommand>(this, _$identity);
@override
Map<String, dynamic> toJson() {
return _$RemoteCommandToJson(this, );
}
@override
bool operator ==(Object other) {
return identical(this, other) || (other.runtimeType == runtimeType&&other is _RemoteCommand&&(identical(other.type, type) || other.type == type)&&const DeepCollectionEquality().equals(other._data, _data));
}
@JsonKey(includeFromJson: false, includeToJson: false)
@override
int get hashCode => Object.hash(runtimeType,type,const DeepCollectionEquality().hash(_data));
@override
String toString() {
return 'RemoteCommand(type: $type, data: $data)';
}
}
/// @nodoc
abstract mixin class _$RemoteCommandCopyWith<$Res> implements $RemoteCommandCopyWith<$Res> {
factory _$RemoteCommandCopyWith(_RemoteCommand value, $Res Function(_RemoteCommand) _then) = __$RemoteCommandCopyWithImpl;
@override @useResult
$Res call({
@JsonKey(name: 't')@_RemoteCommandTypeConverter() RemoteCommandType type,@JsonKey(name: 'd') Map<String, dynamic>? data
});
}
/// @nodoc
class __$RemoteCommandCopyWithImpl<$Res>
implements _$RemoteCommandCopyWith<$Res> {
__$RemoteCommandCopyWithImpl(this._self, this._then);
final _RemoteCommand _self;
final $Res Function(_RemoteCommand) _then;
/// Create a copy of RemoteCommand
/// with the given fields replaced by the non-null parameter values.
@override @pragma('vm:prefer-inline') $Res call({Object? type = null,Object? data = freezed,}) {
return _then(_RemoteCommand(
type: null == type ? _self.type : type // ignore: cast_nullable_to_non_nullable
as RemoteCommandType,data: freezed == data ? _self._data : data // ignore: cast_nullable_to_non_nullable
as Map<String, dynamic>?,
));
}
}
// dart format on
@@ -0,0 +1,21 @@
// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'remote_command.dart';
// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************
_RemoteCommand _$RemoteCommandFromJson(Map<String, dynamic> json) =>
_RemoteCommand(
type: const _RemoteCommandTypeConverter().fromJson(
(json['t'] as num).toInt(),
),
data: json['d'] as Map<String, dynamic>?,
);
Map<String, dynamic> _$RemoteCommandToJson(_RemoteCommand instance) =>
<String, dynamic>{
't': const _RemoteCommandTypeConverter().toJson(instance.type),
'd': instance.data,
};
+21 -86
View File
@@ -1,100 +1,35 @@
import 'package:json_annotation/json_annotation.dart';
import 'package:freezed_annotation/freezed_annotation.dart';
part 'remote_session.g.dart';
part 'remote_session.freezed.dart';
enum RemoteSessionRole { host, remote }
enum RemoteSessionStatus { disconnected, connecting, connected, reconnecting, error }
@JsonSerializable()
class RemoteDevice {
final String id;
final String name;
final String platform;
final DateTime connectedAt;
final Map<String, bool> capabilities;
RemoteDevice({
required this.id,
required this.name,
required this.platform,
DateTime? connectedAt,
Map<String, bool>? capabilities,
}) : connectedAt = connectedAt ?? DateTime.now(),
capabilities = capabilities ?? {};
factory RemoteDevice.fromJson(Map<String, dynamic> json) => _$RemoteDeviceFromJson(json);
Map<String, dynamic> toJson() => _$RemoteDeviceToJson(this);
RemoteDevice copyWith({
String? id,
String? name,
String? platform,
DateTime? connectedAt,
Map<String, bool>? capabilities,
}) {
return RemoteDevice(
id: id ?? this.id,
name: name ?? this.name,
platform: platform ?? this.platform,
connectedAt: connectedAt ?? this.connectedAt,
capabilities: capabilities ?? this.capabilities,
);
}
@override
bool operator ==(Object other) {
if (identical(this, other)) return true;
return other is RemoteDevice && other.id == id;
}
@override
int get hashCode => id.hashCode;
@freezed
sealed class RemoteDevice with _$RemoteDevice {
const factory RemoteDevice({
required String id,
required String name,
required String platform,
required DateTime connectedAt,
@Default(<String, bool>{}) Map<String, bool> capabilities,
}) = _RemoteDevice;
}
@JsonSerializable()
class RemoteSession {
@JsonKey(unknownEnumValue: RemoteSessionRole.remote)
final RemoteSessionRole role;
@JsonKey(unknownEnumValue: RemoteSessionStatus.disconnected)
final RemoteSessionStatus status;
final RemoteDevice? connectedDevice;
final DateTime createdAt;
final String? errorMessage;
@freezed
sealed class RemoteSession with _$RemoteSession {
const RemoteSession._();
RemoteSession({
required this.role,
this.status = RemoteSessionStatus.disconnected,
this.connectedDevice,
DateTime? createdAt,
this.errorMessage,
}) : createdAt = createdAt ?? DateTime.now();
const factory RemoteSession({
required RemoteSessionRole role,
@Default(RemoteSessionStatus.disconnected) RemoteSessionStatus status,
RemoteDevice? connectedDevice,
required DateTime createdAt,
String? errorMessage,
}) = _RemoteSession;
bool get isConnected => status == RemoteSessionStatus.connected;
bool get isHost => role == RemoteSessionRole.host;
bool get isRemote => role == RemoteSessionRole.remote;
factory RemoteSession.fromJson(Map<String, dynamic> json) => _$RemoteSessionFromJson(json);
Map<String, dynamic> toJson() => _$RemoteSessionToJson(this);
RemoteSession copyWith({
RemoteSessionRole? role,
RemoteSessionStatus? status,
RemoteDevice? connectedDevice,
bool clearConnectedDevice = false,
DateTime? createdAt,
String? errorMessage,
bool clearErrorMessage = false,
}) {
return RemoteSession(
role: role ?? this.role,
status: status ?? this.status,
connectedDevice: clearConnectedDevice ? null : (connectedDevice ?? this.connectedDevice),
createdAt: createdAt ?? this.createdAt,
errorMessage: clearErrorMessage ? null : (errorMessage ?? this.errorMessage),
);
}
}
@@ -0,0 +1,570 @@
// GENERATED CODE - DO NOT MODIFY BY HAND
// coverage:ignore-file
// ignore_for_file: type=lint
// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark
part of 'remote_session.dart';
// **************************************************************************
// FreezedGenerator
// **************************************************************************
// dart format off
T _$identity<T>(T value) => value;
/// @nodoc
mixin _$RemoteDevice {
String get id; String get name; String get platform; DateTime get connectedAt; Map<String, bool> get capabilities;
/// Create a copy of RemoteDevice
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
@pragma('vm:prefer-inline')
$RemoteDeviceCopyWith<RemoteDevice> get copyWith => _$RemoteDeviceCopyWithImpl<RemoteDevice>(this as RemoteDevice, _$identity);
@override
bool operator ==(Object other) {
return identical(this, other) || (other.runtimeType == runtimeType&&other is RemoteDevice&&(identical(other.id, id) || other.id == id)&&(identical(other.name, name) || other.name == name)&&(identical(other.platform, platform) || other.platform == platform)&&(identical(other.connectedAt, connectedAt) || other.connectedAt == connectedAt)&&const DeepCollectionEquality().equals(other.capabilities, capabilities));
}
@override
int get hashCode => Object.hash(runtimeType,id,name,platform,connectedAt,const DeepCollectionEquality().hash(capabilities));
@override
String toString() {
return 'RemoteDevice(id: $id, name: $name, platform: $platform, connectedAt: $connectedAt, capabilities: $capabilities)';
}
}
/// @nodoc
abstract mixin class $RemoteDeviceCopyWith<$Res> {
factory $RemoteDeviceCopyWith(RemoteDevice value, $Res Function(RemoteDevice) _then) = _$RemoteDeviceCopyWithImpl;
@useResult
$Res call({
String id, String name, String platform, DateTime connectedAt, Map<String, bool> capabilities
});
}
/// @nodoc
class _$RemoteDeviceCopyWithImpl<$Res>
implements $RemoteDeviceCopyWith<$Res> {
_$RemoteDeviceCopyWithImpl(this._self, this._then);
final RemoteDevice _self;
final $Res Function(RemoteDevice) _then;
/// Create a copy of RemoteDevice
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline') @override $Res call({Object? id = null,Object? name = null,Object? platform = null,Object? connectedAt = null,Object? capabilities = null,}) {
return _then(_self.copyWith(
id: null == id ? _self.id : id // ignore: cast_nullable_to_non_nullable
as String,name: null == name ? _self.name : name // ignore: cast_nullable_to_non_nullable
as String,platform: null == platform ? _self.platform : platform // ignore: cast_nullable_to_non_nullable
as String,connectedAt: null == connectedAt ? _self.connectedAt : connectedAt // ignore: cast_nullable_to_non_nullable
as DateTime,capabilities: null == capabilities ? _self.capabilities : capabilities // ignore: cast_nullable_to_non_nullable
as Map<String, bool>,
));
}
}
/// Adds pattern-matching-related methods to [RemoteDevice].
extension RemoteDevicePatterns on RemoteDevice {
/// A variant of `map` that fallback to returning `orElse`.
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
/// case final Subclass value:
/// return ...;
/// case _:
/// return orElse();
/// }
/// ```
@optionalTypeArgs TResult maybeMap<TResult extends Object?>(TResult Function( _RemoteDevice value)? $default,{required TResult orElse(),}){
final _that = this;
switch (_that) {
case _RemoteDevice() when $default != null:
return $default(_that);case _:
return orElse();
}
}
/// A `switch`-like method, using callbacks.
///
/// Callbacks receives the raw object, upcasted.
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
/// case final Subclass value:
/// return ...;
/// case final Subclass2 value:
/// return ...;
/// }
/// ```
@optionalTypeArgs TResult map<TResult extends Object?>(TResult Function( _RemoteDevice value) $default,){
final _that = this;
switch (_that) {
case _RemoteDevice():
return $default(_that);}
}
/// A variant of `map` that fallback to returning `null`.
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
/// case final Subclass value:
/// return ...;
/// case _:
/// return null;
/// }
/// ```
@optionalTypeArgs TResult? mapOrNull<TResult extends Object?>(TResult? Function( _RemoteDevice value)? $default,){
final _that = this;
switch (_that) {
case _RemoteDevice() when $default != null:
return $default(_that);case _:
return null;
}
}
/// A variant of `when` that fallback to an `orElse` callback.
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
/// case Subclass(:final field):
/// return ...;
/// case _:
/// return orElse();
/// }
/// ```
@optionalTypeArgs TResult maybeWhen<TResult extends Object?>(TResult Function( String id, String name, String platform, DateTime connectedAt, Map<String, bool> capabilities)? $default,{required TResult orElse(),}) {final _that = this;
switch (_that) {
case _RemoteDevice() when $default != null:
return $default(_that.id,_that.name,_that.platform,_that.connectedAt,_that.capabilities);case _:
return orElse();
}
}
/// A `switch`-like method, using callbacks.
///
/// As opposed to `map`, this offers destructuring.
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
/// case Subclass(:final field):
/// return ...;
/// case Subclass2(:final field2):
/// return ...;
/// }
/// ```
@optionalTypeArgs TResult when<TResult extends Object?>(TResult Function( String id, String name, String platform, DateTime connectedAt, Map<String, bool> capabilities) $default,) {final _that = this;
switch (_that) {
case _RemoteDevice():
return $default(_that.id,_that.name,_that.platform,_that.connectedAt,_that.capabilities);}
}
/// A variant of `when` that fallback to returning `null`
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
/// case Subclass(:final field):
/// return ...;
/// case _:
/// return null;
/// }
/// ```
@optionalTypeArgs TResult? whenOrNull<TResult extends Object?>(TResult? Function( String id, String name, String platform, DateTime connectedAt, Map<String, bool> capabilities)? $default,) {final _that = this;
switch (_that) {
case _RemoteDevice() when $default != null:
return $default(_that.id,_that.name,_that.platform,_that.connectedAt,_that.capabilities);case _:
return null;
}
}
}
/// @nodoc
class _RemoteDevice implements RemoteDevice {
const _RemoteDevice({required this.id, required this.name, required this.platform, required this.connectedAt, final Map<String, bool> capabilities = const <String, bool>{}}): _capabilities = capabilities;
@override final String id;
@override final String name;
@override final String platform;
@override final DateTime connectedAt;
final Map<String, bool> _capabilities;
@override@JsonKey() Map<String, bool> get capabilities {
if (_capabilities is EqualUnmodifiableMapView) return _capabilities;
// ignore: implicit_dynamic_type
return EqualUnmodifiableMapView(_capabilities);
}
/// Create a copy of RemoteDevice
/// with the given fields replaced by the non-null parameter values.
@override @JsonKey(includeFromJson: false, includeToJson: false)
@pragma('vm:prefer-inline')
_$RemoteDeviceCopyWith<_RemoteDevice> get copyWith => __$RemoteDeviceCopyWithImpl<_RemoteDevice>(this, _$identity);
@override
bool operator ==(Object other) {
return identical(this, other) || (other.runtimeType == runtimeType&&other is _RemoteDevice&&(identical(other.id, id) || other.id == id)&&(identical(other.name, name) || other.name == name)&&(identical(other.platform, platform) || other.platform == platform)&&(identical(other.connectedAt, connectedAt) || other.connectedAt == connectedAt)&&const DeepCollectionEquality().equals(other._capabilities, _capabilities));
}
@override
int get hashCode => Object.hash(runtimeType,id,name,platform,connectedAt,const DeepCollectionEquality().hash(_capabilities));
@override
String toString() {
return 'RemoteDevice(id: $id, name: $name, platform: $platform, connectedAt: $connectedAt, capabilities: $capabilities)';
}
}
/// @nodoc
abstract mixin class _$RemoteDeviceCopyWith<$Res> implements $RemoteDeviceCopyWith<$Res> {
factory _$RemoteDeviceCopyWith(_RemoteDevice value, $Res Function(_RemoteDevice) _then) = __$RemoteDeviceCopyWithImpl;
@override @useResult
$Res call({
String id, String name, String platform, DateTime connectedAt, Map<String, bool> capabilities
});
}
/// @nodoc
class __$RemoteDeviceCopyWithImpl<$Res>
implements _$RemoteDeviceCopyWith<$Res> {
__$RemoteDeviceCopyWithImpl(this._self, this._then);
final _RemoteDevice _self;
final $Res Function(_RemoteDevice) _then;
/// Create a copy of RemoteDevice
/// with the given fields replaced by the non-null parameter values.
@override @pragma('vm:prefer-inline') $Res call({Object? id = null,Object? name = null,Object? platform = null,Object? connectedAt = null,Object? capabilities = null,}) {
return _then(_RemoteDevice(
id: null == id ? _self.id : id // ignore: cast_nullable_to_non_nullable
as String,name: null == name ? _self.name : name // ignore: cast_nullable_to_non_nullable
as String,platform: null == platform ? _self.platform : platform // ignore: cast_nullable_to_non_nullable
as String,connectedAt: null == connectedAt ? _self.connectedAt : connectedAt // ignore: cast_nullable_to_non_nullable
as DateTime,capabilities: null == capabilities ? _self._capabilities : capabilities // ignore: cast_nullable_to_non_nullable
as Map<String, bool>,
));
}
}
/// @nodoc
mixin _$RemoteSession {
RemoteSessionRole get role; RemoteSessionStatus get status; RemoteDevice? get connectedDevice; DateTime get createdAt; String? get errorMessage;
/// Create a copy of RemoteSession
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
@pragma('vm:prefer-inline')
$RemoteSessionCopyWith<RemoteSession> get copyWith => _$RemoteSessionCopyWithImpl<RemoteSession>(this as RemoteSession, _$identity);
@override
bool operator ==(Object other) {
return identical(this, other) || (other.runtimeType == runtimeType&&other is RemoteSession&&(identical(other.role, role) || other.role == role)&&(identical(other.status, status) || other.status == status)&&(identical(other.connectedDevice, connectedDevice) || other.connectedDevice == connectedDevice)&&(identical(other.createdAt, createdAt) || other.createdAt == createdAt)&&(identical(other.errorMessage, errorMessage) || other.errorMessage == errorMessage));
}
@override
int get hashCode => Object.hash(runtimeType,role,status,connectedDevice,createdAt,errorMessage);
@override
String toString() {
return 'RemoteSession(role: $role, status: $status, connectedDevice: $connectedDevice, createdAt: $createdAt, errorMessage: $errorMessage)';
}
}
/// @nodoc
abstract mixin class $RemoteSessionCopyWith<$Res> {
factory $RemoteSessionCopyWith(RemoteSession value, $Res Function(RemoteSession) _then) = _$RemoteSessionCopyWithImpl;
@useResult
$Res call({
RemoteSessionRole role, RemoteSessionStatus status, RemoteDevice? connectedDevice, DateTime createdAt, String? errorMessage
});
$RemoteDeviceCopyWith<$Res>? get connectedDevice;
}
/// @nodoc
class _$RemoteSessionCopyWithImpl<$Res>
implements $RemoteSessionCopyWith<$Res> {
_$RemoteSessionCopyWithImpl(this._self, this._then);
final RemoteSession _self;
final $Res Function(RemoteSession) _then;
/// Create a copy of RemoteSession
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline') @override $Res call({Object? role = null,Object? status = null,Object? connectedDevice = freezed,Object? createdAt = null,Object? errorMessage = freezed,}) {
return _then(_self.copyWith(
role: null == role ? _self.role : role // ignore: cast_nullable_to_non_nullable
as RemoteSessionRole,status: null == status ? _self.status : status // ignore: cast_nullable_to_non_nullable
as RemoteSessionStatus,connectedDevice: freezed == connectedDevice ? _self.connectedDevice : connectedDevice // ignore: cast_nullable_to_non_nullable
as RemoteDevice?,createdAt: null == createdAt ? _self.createdAt : createdAt // ignore: cast_nullable_to_non_nullable
as DateTime,errorMessage: freezed == errorMessage ? _self.errorMessage : errorMessage // ignore: cast_nullable_to_non_nullable
as String?,
));
}
/// Create a copy of RemoteSession
/// with the given fields replaced by the non-null parameter values.
@override
@pragma('vm:prefer-inline')
$RemoteDeviceCopyWith<$Res>? get connectedDevice {
if (_self.connectedDevice == null) {
return null;
}
return $RemoteDeviceCopyWith<$Res>(_self.connectedDevice!, (value) {
return _then(_self.copyWith(connectedDevice: value));
});
}
}
/// Adds pattern-matching-related methods to [RemoteSession].
extension RemoteSessionPatterns on RemoteSession {
/// A variant of `map` that fallback to returning `orElse`.
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
/// case final Subclass value:
/// return ...;
/// case _:
/// return orElse();
/// }
/// ```
@optionalTypeArgs TResult maybeMap<TResult extends Object?>(TResult Function( _RemoteSession value)? $default,{required TResult orElse(),}){
final _that = this;
switch (_that) {
case _RemoteSession() when $default != null:
return $default(_that);case _:
return orElse();
}
}
/// A `switch`-like method, using callbacks.
///
/// Callbacks receives the raw object, upcasted.
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
/// case final Subclass value:
/// return ...;
/// case final Subclass2 value:
/// return ...;
/// }
/// ```
@optionalTypeArgs TResult map<TResult extends Object?>(TResult Function( _RemoteSession value) $default,){
final _that = this;
switch (_that) {
case _RemoteSession():
return $default(_that);}
}
/// A variant of `map` that fallback to returning `null`.
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
/// case final Subclass value:
/// return ...;
/// case _:
/// return null;
/// }
/// ```
@optionalTypeArgs TResult? mapOrNull<TResult extends Object?>(TResult? Function( _RemoteSession value)? $default,){
final _that = this;
switch (_that) {
case _RemoteSession() when $default != null:
return $default(_that);case _:
return null;
}
}
/// A variant of `when` that fallback to an `orElse` callback.
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
/// case Subclass(:final field):
/// return ...;
/// case _:
/// return orElse();
/// }
/// ```
@optionalTypeArgs TResult maybeWhen<TResult extends Object?>(TResult Function( RemoteSessionRole role, RemoteSessionStatus status, RemoteDevice? connectedDevice, DateTime createdAt, String? errorMessage)? $default,{required TResult orElse(),}) {final _that = this;
switch (_that) {
case _RemoteSession() when $default != null:
return $default(_that.role,_that.status,_that.connectedDevice,_that.createdAt,_that.errorMessage);case _:
return orElse();
}
}
/// A `switch`-like method, using callbacks.
///
/// As opposed to `map`, this offers destructuring.
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
/// case Subclass(:final field):
/// return ...;
/// case Subclass2(:final field2):
/// return ...;
/// }
/// ```
@optionalTypeArgs TResult when<TResult extends Object?>(TResult Function( RemoteSessionRole role, RemoteSessionStatus status, RemoteDevice? connectedDevice, DateTime createdAt, String? errorMessage) $default,) {final _that = this;
switch (_that) {
case _RemoteSession():
return $default(_that.role,_that.status,_that.connectedDevice,_that.createdAt,_that.errorMessage);}
}
/// A variant of `when` that fallback to returning `null`
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
/// case Subclass(:final field):
/// return ...;
/// case _:
/// return null;
/// }
/// ```
@optionalTypeArgs TResult? whenOrNull<TResult extends Object?>(TResult? Function( RemoteSessionRole role, RemoteSessionStatus status, RemoteDevice? connectedDevice, DateTime createdAt, String? errorMessage)? $default,) {final _that = this;
switch (_that) {
case _RemoteSession() when $default != null:
return $default(_that.role,_that.status,_that.connectedDevice,_that.createdAt,_that.errorMessage);case _:
return null;
}
}
}
/// @nodoc
class _RemoteSession extends RemoteSession {
const _RemoteSession({required this.role, this.status = RemoteSessionStatus.disconnected, this.connectedDevice, required this.createdAt, this.errorMessage}): super._();
@override final RemoteSessionRole role;
@override@JsonKey() final RemoteSessionStatus status;
@override final RemoteDevice? connectedDevice;
@override final DateTime createdAt;
@override final String? errorMessage;
/// Create a copy of RemoteSession
/// with the given fields replaced by the non-null parameter values.
@override @JsonKey(includeFromJson: false, includeToJson: false)
@pragma('vm:prefer-inline')
_$RemoteSessionCopyWith<_RemoteSession> get copyWith => __$RemoteSessionCopyWithImpl<_RemoteSession>(this, _$identity);
@override
bool operator ==(Object other) {
return identical(this, other) || (other.runtimeType == runtimeType&&other is _RemoteSession&&(identical(other.role, role) || other.role == role)&&(identical(other.status, status) || other.status == status)&&(identical(other.connectedDevice, connectedDevice) || other.connectedDevice == connectedDevice)&&(identical(other.createdAt, createdAt) || other.createdAt == createdAt)&&(identical(other.errorMessage, errorMessage) || other.errorMessage == errorMessage));
}
@override
int get hashCode => Object.hash(runtimeType,role,status,connectedDevice,createdAt,errorMessage);
@override
String toString() {
return 'RemoteSession(role: $role, status: $status, connectedDevice: $connectedDevice, createdAt: $createdAt, errorMessage: $errorMessage)';
}
}
/// @nodoc
abstract mixin class _$RemoteSessionCopyWith<$Res> implements $RemoteSessionCopyWith<$Res> {
factory _$RemoteSessionCopyWith(_RemoteSession value, $Res Function(_RemoteSession) _then) = __$RemoteSessionCopyWithImpl;
@override @useResult
$Res call({
RemoteSessionRole role, RemoteSessionStatus status, RemoteDevice? connectedDevice, DateTime createdAt, String? errorMessage
});
@override $RemoteDeviceCopyWith<$Res>? get connectedDevice;
}
/// @nodoc
class __$RemoteSessionCopyWithImpl<$Res>
implements _$RemoteSessionCopyWith<$Res> {
__$RemoteSessionCopyWithImpl(this._self, this._then);
final _RemoteSession _self;
final $Res Function(_RemoteSession) _then;
/// Create a copy of RemoteSession
/// with the given fields replaced by the non-null parameter values.
@override @pragma('vm:prefer-inline') $Res call({Object? role = null,Object? status = null,Object? connectedDevice = freezed,Object? createdAt = null,Object? errorMessage = freezed,}) {
return _then(_RemoteSession(
role: null == role ? _self.role : role // ignore: cast_nullable_to_non_nullable
as RemoteSessionRole,status: null == status ? _self.status : status // ignore: cast_nullable_to_non_nullable
as RemoteSessionStatus,connectedDevice: freezed == connectedDevice ? _self.connectedDevice : connectedDevice // ignore: cast_nullable_to_non_nullable
as RemoteDevice?,createdAt: null == createdAt ? _self.createdAt : createdAt // ignore: cast_nullable_to_non_nullable
as DateTime,errorMessage: freezed == errorMessage ? _self.errorMessage : errorMessage // ignore: cast_nullable_to_non_nullable
as String?,
));
}
/// Create a copy of RemoteSession
/// with the given fields replaced by the non-null parameter values.
@override
@pragma('vm:prefer-inline')
$RemoteDeviceCopyWith<$Res>? get connectedDevice {
if (_self.connectedDevice == null) {
return null;
}
return $RemoteDeviceCopyWith<$Res>(_self.connectedDevice!, (value) {
return _then(_self.copyWith(connectedDevice: value));
});
}
}
// dart format on
@@ -1,75 +0,0 @@
// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'remote_session.dart';
// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************
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(
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>{
'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',
RemoteSessionStatus.connecting: 'connecting',
RemoteSessionStatus.connected: 'connected',
RemoteSessionStatus.reconnecting: 'reconnecting',
RemoteSessionStatus.error: 'error',
};
+29 -83
View File
@@ -1,5 +1,10 @@
// ignore_for_file: invalid_annotation_target
import 'package:freezed_annotation/freezed_annotation.dart';
import '../utils/formatters.dart';
part 'download_models.freezed.dart';
enum DownloadStatus {
queued,
downloading,
@@ -10,30 +15,21 @@ enum DownloadStatus {
partial, // Some episodes downloaded, but not all (for shows/seasons)
}
class DownloadProgress {
final String globalKey;
final DownloadStatus status;
final int progress; // 0-100
final int downloadedBytes;
final int totalBytes;
final double speed; // bytes per second
final String? errorMessage;
final String? currentFile; // What's being downloaded (video, subtitles, artwork)
@freezed
sealed class DownloadProgress with _$DownloadProgress {
const DownloadProgress._();
// Thumbnail path (populated after artwork download completes)
final String? thumbPath;
const DownloadProgress({
required this.globalKey,
required this.status,
this.progress = 0,
this.downloadedBytes = 0,
this.totalBytes = 0,
this.speed = 0,
this.errorMessage,
this.currentFile,
this.thumbPath,
});
const factory DownloadProgress({
required String globalKey,
required DownloadStatus status,
@Default(0) int progress,
@Default(0) int downloadedBytes,
@Default(0) int totalBytes,
@Default(0.0) double speed,
String? errorMessage,
String? currentFile,
String? thumbPath,
}) = _DownloadProgress;
double get progressPercent => progress / 100.0;
@@ -42,73 +38,23 @@ class DownloadProgress {
String get totalFormatted => ByteFormatter.formatBytes(totalBytes);
bool get hasArtworkPaths => thumbPath != null;
DownloadProgress copyWith({
String? globalKey,
DownloadStatus? status,
int? progress,
int? downloadedBytes,
int? totalBytes,
double? speed,
String? errorMessage,
String? currentFile,
String? thumbPath,
}) {
return DownloadProgress(
globalKey: globalKey ?? this.globalKey,
status: status ?? this.status,
progress: progress ?? this.progress,
downloadedBytes: downloadedBytes ?? this.downloadedBytes,
totalBytes: totalBytes ?? this.totalBytes,
speed: speed ?? this.speed,
errorMessage: errorMessage ?? this.errorMessage,
currentFile: currentFile ?? this.currentFile,
thumbPath: thumbPath ?? this.thumbPath,
);
}
}
class DeletionProgress {
final String globalKey;
final String itemTitle;
final int currentItem;
final int totalItems;
final String? currentOperation;
@freezed
sealed class DeletionProgress with _$DeletionProgress {
const DeletionProgress._();
const DeletionProgress({
required this.globalKey,
required this.itemTitle,
required this.currentItem,
required this.totalItems,
this.currentOperation,
});
const factory DeletionProgress({
required String globalKey,
required String itemTitle,
required int currentItem,
required int totalItems,
String? currentOperation,
}) = _DeletionProgress;
double get progressPercent => totalItems > 0 ? (currentItem / totalItems) : 0.0;
int get progressPercentInt => (progressPercent * 100).round();
bool get isComplete => currentItem >= totalItems;
DeletionProgress copyWith({
String? globalKey,
String? itemTitle,
int? currentItem,
int? totalItems,
String? currentOperation,
}) {
return DeletionProgress(
globalKey: globalKey ?? this.globalKey,
itemTitle: itemTitle ?? this.itemTitle,
currentItem: currentItem ?? this.currentItem,
totalItems: totalItems ?? this.totalItems,
currentOperation: currentOperation ?? this.currentOperation,
);
}
@override
String toString() {
return 'DeletionProgress(globalKey: $globalKey, itemTitle: $itemTitle, '
'currentItem: $currentItem, totalItems: $totalItems, '
'progressPercent: $progressPercentInt%)';
}
}
+552
View File
@@ -0,0 +1,552 @@
// GENERATED CODE - DO NOT MODIFY BY HAND
// coverage:ignore-file
// ignore_for_file: type=lint
// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark
part of 'download_models.dart';
// **************************************************************************
// FreezedGenerator
// **************************************************************************
// dart format off
T _$identity<T>(T value) => value;
/// @nodoc
mixin _$DownloadProgress {
String get globalKey; DownloadStatus get status; int get progress; int get downloadedBytes; int get totalBytes; double get speed; String? get errorMessage; String? get currentFile; String? get thumbPath;
/// Create a copy of DownloadProgress
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
@pragma('vm:prefer-inline')
$DownloadProgressCopyWith<DownloadProgress> get copyWith => _$DownloadProgressCopyWithImpl<DownloadProgress>(this as DownloadProgress, _$identity);
@override
bool operator ==(Object other) {
return identical(this, other) || (other.runtimeType == runtimeType&&other is DownloadProgress&&(identical(other.globalKey, globalKey) || other.globalKey == globalKey)&&(identical(other.status, status) || other.status == status)&&(identical(other.progress, progress) || other.progress == progress)&&(identical(other.downloadedBytes, downloadedBytes) || other.downloadedBytes == downloadedBytes)&&(identical(other.totalBytes, totalBytes) || other.totalBytes == totalBytes)&&(identical(other.speed, speed) || other.speed == speed)&&(identical(other.errorMessage, errorMessage) || other.errorMessage == errorMessage)&&(identical(other.currentFile, currentFile) || other.currentFile == currentFile)&&(identical(other.thumbPath, thumbPath) || other.thumbPath == thumbPath));
}
@override
int get hashCode => Object.hash(runtimeType,globalKey,status,progress,downloadedBytes,totalBytes,speed,errorMessage,currentFile,thumbPath);
@override
String toString() {
return 'DownloadProgress(globalKey: $globalKey, status: $status, progress: $progress, downloadedBytes: $downloadedBytes, totalBytes: $totalBytes, speed: $speed, errorMessage: $errorMessage, currentFile: $currentFile, thumbPath: $thumbPath)';
}
}
/// @nodoc
abstract mixin class $DownloadProgressCopyWith<$Res> {
factory $DownloadProgressCopyWith(DownloadProgress value, $Res Function(DownloadProgress) _then) = _$DownloadProgressCopyWithImpl;
@useResult
$Res call({
String globalKey, DownloadStatus status, int progress, int downloadedBytes, int totalBytes, double speed, String? errorMessage, String? currentFile, String? thumbPath
});
}
/// @nodoc
class _$DownloadProgressCopyWithImpl<$Res>
implements $DownloadProgressCopyWith<$Res> {
_$DownloadProgressCopyWithImpl(this._self, this._then);
final DownloadProgress _self;
final $Res Function(DownloadProgress) _then;
/// Create a copy of DownloadProgress
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline') @override $Res call({Object? globalKey = null,Object? status = null,Object? progress = null,Object? downloadedBytes = null,Object? totalBytes = null,Object? speed = null,Object? errorMessage = freezed,Object? currentFile = freezed,Object? thumbPath = freezed,}) {
return _then(_self.copyWith(
globalKey: null == globalKey ? _self.globalKey : globalKey // ignore: cast_nullable_to_non_nullable
as String,status: null == status ? _self.status : status // ignore: cast_nullable_to_non_nullable
as DownloadStatus,progress: null == progress ? _self.progress : progress // ignore: cast_nullable_to_non_nullable
as int,downloadedBytes: null == downloadedBytes ? _self.downloadedBytes : downloadedBytes // ignore: cast_nullable_to_non_nullable
as int,totalBytes: null == totalBytes ? _self.totalBytes : totalBytes // ignore: cast_nullable_to_non_nullable
as int,speed: null == speed ? _self.speed : speed // ignore: cast_nullable_to_non_nullable
as double,errorMessage: freezed == errorMessage ? _self.errorMessage : errorMessage // ignore: cast_nullable_to_non_nullable
as String?,currentFile: freezed == currentFile ? _self.currentFile : currentFile // ignore: cast_nullable_to_non_nullable
as String?,thumbPath: freezed == thumbPath ? _self.thumbPath : thumbPath // ignore: cast_nullable_to_non_nullable
as String?,
));
}
}
/// Adds pattern-matching-related methods to [DownloadProgress].
extension DownloadProgressPatterns on DownloadProgress {
/// A variant of `map` that fallback to returning `orElse`.
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
/// case final Subclass value:
/// return ...;
/// case _:
/// return orElse();
/// }
/// ```
@optionalTypeArgs TResult maybeMap<TResult extends Object?>(TResult Function( _DownloadProgress value)? $default,{required TResult orElse(),}){
final _that = this;
switch (_that) {
case _DownloadProgress() when $default != null:
return $default(_that);case _:
return orElse();
}
}
/// A `switch`-like method, using callbacks.
///
/// Callbacks receives the raw object, upcasted.
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
/// case final Subclass value:
/// return ...;
/// case final Subclass2 value:
/// return ...;
/// }
/// ```
@optionalTypeArgs TResult map<TResult extends Object?>(TResult Function( _DownloadProgress value) $default,){
final _that = this;
switch (_that) {
case _DownloadProgress():
return $default(_that);}
}
/// A variant of `map` that fallback to returning `null`.
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
/// case final Subclass value:
/// return ...;
/// case _:
/// return null;
/// }
/// ```
@optionalTypeArgs TResult? mapOrNull<TResult extends Object?>(TResult? Function( _DownloadProgress value)? $default,){
final _that = this;
switch (_that) {
case _DownloadProgress() when $default != null:
return $default(_that);case _:
return null;
}
}
/// A variant of `when` that fallback to an `orElse` callback.
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
/// case Subclass(:final field):
/// return ...;
/// case _:
/// return orElse();
/// }
/// ```
@optionalTypeArgs TResult maybeWhen<TResult extends Object?>(TResult Function( String globalKey, DownloadStatus status, int progress, int downloadedBytes, int totalBytes, double speed, String? errorMessage, String? currentFile, String? thumbPath)? $default,{required TResult orElse(),}) {final _that = this;
switch (_that) {
case _DownloadProgress() when $default != null:
return $default(_that.globalKey,_that.status,_that.progress,_that.downloadedBytes,_that.totalBytes,_that.speed,_that.errorMessage,_that.currentFile,_that.thumbPath);case _:
return orElse();
}
}
/// A `switch`-like method, using callbacks.
///
/// As opposed to `map`, this offers destructuring.
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
/// case Subclass(:final field):
/// return ...;
/// case Subclass2(:final field2):
/// return ...;
/// }
/// ```
@optionalTypeArgs TResult when<TResult extends Object?>(TResult Function( String globalKey, DownloadStatus status, int progress, int downloadedBytes, int totalBytes, double speed, String? errorMessage, String? currentFile, String? thumbPath) $default,) {final _that = this;
switch (_that) {
case _DownloadProgress():
return $default(_that.globalKey,_that.status,_that.progress,_that.downloadedBytes,_that.totalBytes,_that.speed,_that.errorMessage,_that.currentFile,_that.thumbPath);}
}
/// A variant of `when` that fallback to returning `null`
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
/// case Subclass(:final field):
/// return ...;
/// case _:
/// return null;
/// }
/// ```
@optionalTypeArgs TResult? whenOrNull<TResult extends Object?>(TResult? Function( String globalKey, DownloadStatus status, int progress, int downloadedBytes, int totalBytes, double speed, String? errorMessage, String? currentFile, String? thumbPath)? $default,) {final _that = this;
switch (_that) {
case _DownloadProgress() when $default != null:
return $default(_that.globalKey,_that.status,_that.progress,_that.downloadedBytes,_that.totalBytes,_that.speed,_that.errorMessage,_that.currentFile,_that.thumbPath);case _:
return null;
}
}
}
/// @nodoc
class _DownloadProgress extends DownloadProgress {
const _DownloadProgress({required this.globalKey, required this.status, this.progress = 0, this.downloadedBytes = 0, this.totalBytes = 0, this.speed = 0.0, this.errorMessage, this.currentFile, this.thumbPath}): super._();
@override final String globalKey;
@override final DownloadStatus status;
@override@JsonKey() final int progress;
@override@JsonKey() final int downloadedBytes;
@override@JsonKey() final int totalBytes;
@override@JsonKey() final double speed;
@override final String? errorMessage;
@override final String? currentFile;
@override final String? thumbPath;
/// Create a copy of DownloadProgress
/// with the given fields replaced by the non-null parameter values.
@override @JsonKey(includeFromJson: false, includeToJson: false)
@pragma('vm:prefer-inline')
_$DownloadProgressCopyWith<_DownloadProgress> get copyWith => __$DownloadProgressCopyWithImpl<_DownloadProgress>(this, _$identity);
@override
bool operator ==(Object other) {
return identical(this, other) || (other.runtimeType == runtimeType&&other is _DownloadProgress&&(identical(other.globalKey, globalKey) || other.globalKey == globalKey)&&(identical(other.status, status) || other.status == status)&&(identical(other.progress, progress) || other.progress == progress)&&(identical(other.downloadedBytes, downloadedBytes) || other.downloadedBytes == downloadedBytes)&&(identical(other.totalBytes, totalBytes) || other.totalBytes == totalBytes)&&(identical(other.speed, speed) || other.speed == speed)&&(identical(other.errorMessage, errorMessage) || other.errorMessage == errorMessage)&&(identical(other.currentFile, currentFile) || other.currentFile == currentFile)&&(identical(other.thumbPath, thumbPath) || other.thumbPath == thumbPath));
}
@override
int get hashCode => Object.hash(runtimeType,globalKey,status,progress,downloadedBytes,totalBytes,speed,errorMessage,currentFile,thumbPath);
@override
String toString() {
return 'DownloadProgress(globalKey: $globalKey, status: $status, progress: $progress, downloadedBytes: $downloadedBytes, totalBytes: $totalBytes, speed: $speed, errorMessage: $errorMessage, currentFile: $currentFile, thumbPath: $thumbPath)';
}
}
/// @nodoc
abstract mixin class _$DownloadProgressCopyWith<$Res> implements $DownloadProgressCopyWith<$Res> {
factory _$DownloadProgressCopyWith(_DownloadProgress value, $Res Function(_DownloadProgress) _then) = __$DownloadProgressCopyWithImpl;
@override @useResult
$Res call({
String globalKey, DownloadStatus status, int progress, int downloadedBytes, int totalBytes, double speed, String? errorMessage, String? currentFile, String? thumbPath
});
}
/// @nodoc
class __$DownloadProgressCopyWithImpl<$Res>
implements _$DownloadProgressCopyWith<$Res> {
__$DownloadProgressCopyWithImpl(this._self, this._then);
final _DownloadProgress _self;
final $Res Function(_DownloadProgress) _then;
/// Create a copy of DownloadProgress
/// with the given fields replaced by the non-null parameter values.
@override @pragma('vm:prefer-inline') $Res call({Object? globalKey = null,Object? status = null,Object? progress = null,Object? downloadedBytes = null,Object? totalBytes = null,Object? speed = null,Object? errorMessage = freezed,Object? currentFile = freezed,Object? thumbPath = freezed,}) {
return _then(_DownloadProgress(
globalKey: null == globalKey ? _self.globalKey : globalKey // ignore: cast_nullable_to_non_nullable
as String,status: null == status ? _self.status : status // ignore: cast_nullable_to_non_nullable
as DownloadStatus,progress: null == progress ? _self.progress : progress // ignore: cast_nullable_to_non_nullable
as int,downloadedBytes: null == downloadedBytes ? _self.downloadedBytes : downloadedBytes // ignore: cast_nullable_to_non_nullable
as int,totalBytes: null == totalBytes ? _self.totalBytes : totalBytes // ignore: cast_nullable_to_non_nullable
as int,speed: null == speed ? _self.speed : speed // ignore: cast_nullable_to_non_nullable
as double,errorMessage: freezed == errorMessage ? _self.errorMessage : errorMessage // ignore: cast_nullable_to_non_nullable
as String?,currentFile: freezed == currentFile ? _self.currentFile : currentFile // ignore: cast_nullable_to_non_nullable
as String?,thumbPath: freezed == thumbPath ? _self.thumbPath : thumbPath // ignore: cast_nullable_to_non_nullable
as String?,
));
}
}
/// @nodoc
mixin _$DeletionProgress {
String get globalKey; String get itemTitle; int get currentItem; int get totalItems; String? get currentOperation;
/// Create a copy of DeletionProgress
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
@pragma('vm:prefer-inline')
$DeletionProgressCopyWith<DeletionProgress> get copyWith => _$DeletionProgressCopyWithImpl<DeletionProgress>(this as DeletionProgress, _$identity);
@override
bool operator ==(Object other) {
return identical(this, other) || (other.runtimeType == runtimeType&&other is DeletionProgress&&(identical(other.globalKey, globalKey) || other.globalKey == globalKey)&&(identical(other.itemTitle, itemTitle) || other.itemTitle == itemTitle)&&(identical(other.currentItem, currentItem) || other.currentItem == currentItem)&&(identical(other.totalItems, totalItems) || other.totalItems == totalItems)&&(identical(other.currentOperation, currentOperation) || other.currentOperation == currentOperation));
}
@override
int get hashCode => Object.hash(runtimeType,globalKey,itemTitle,currentItem,totalItems,currentOperation);
@override
String toString() {
return 'DeletionProgress(globalKey: $globalKey, itemTitle: $itemTitle, currentItem: $currentItem, totalItems: $totalItems, currentOperation: $currentOperation)';
}
}
/// @nodoc
abstract mixin class $DeletionProgressCopyWith<$Res> {
factory $DeletionProgressCopyWith(DeletionProgress value, $Res Function(DeletionProgress) _then) = _$DeletionProgressCopyWithImpl;
@useResult
$Res call({
String globalKey, String itemTitle, int currentItem, int totalItems, String? currentOperation
});
}
/// @nodoc
class _$DeletionProgressCopyWithImpl<$Res>
implements $DeletionProgressCopyWith<$Res> {
_$DeletionProgressCopyWithImpl(this._self, this._then);
final DeletionProgress _self;
final $Res Function(DeletionProgress) _then;
/// Create a copy of DeletionProgress
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline') @override $Res call({Object? globalKey = null,Object? itemTitle = null,Object? currentItem = null,Object? totalItems = null,Object? currentOperation = freezed,}) {
return _then(_self.copyWith(
globalKey: null == globalKey ? _self.globalKey : globalKey // ignore: cast_nullable_to_non_nullable
as String,itemTitle: null == itemTitle ? _self.itemTitle : itemTitle // ignore: cast_nullable_to_non_nullable
as String,currentItem: null == currentItem ? _self.currentItem : currentItem // ignore: cast_nullable_to_non_nullable
as int,totalItems: null == totalItems ? _self.totalItems : totalItems // ignore: cast_nullable_to_non_nullable
as int,currentOperation: freezed == currentOperation ? _self.currentOperation : currentOperation // ignore: cast_nullable_to_non_nullable
as String?,
));
}
}
/// Adds pattern-matching-related methods to [DeletionProgress].
extension DeletionProgressPatterns on DeletionProgress {
/// A variant of `map` that fallback to returning `orElse`.
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
/// case final Subclass value:
/// return ...;
/// case _:
/// return orElse();
/// }
/// ```
@optionalTypeArgs TResult maybeMap<TResult extends Object?>(TResult Function( _DeletionProgress value)? $default,{required TResult orElse(),}){
final _that = this;
switch (_that) {
case _DeletionProgress() when $default != null:
return $default(_that);case _:
return orElse();
}
}
/// A `switch`-like method, using callbacks.
///
/// Callbacks receives the raw object, upcasted.
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
/// case final Subclass value:
/// return ...;
/// case final Subclass2 value:
/// return ...;
/// }
/// ```
@optionalTypeArgs TResult map<TResult extends Object?>(TResult Function( _DeletionProgress value) $default,){
final _that = this;
switch (_that) {
case _DeletionProgress():
return $default(_that);}
}
/// A variant of `map` that fallback to returning `null`.
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
/// case final Subclass value:
/// return ...;
/// case _:
/// return null;
/// }
/// ```
@optionalTypeArgs TResult? mapOrNull<TResult extends Object?>(TResult? Function( _DeletionProgress value)? $default,){
final _that = this;
switch (_that) {
case _DeletionProgress() when $default != null:
return $default(_that);case _:
return null;
}
}
/// A variant of `when` that fallback to an `orElse` callback.
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
/// case Subclass(:final field):
/// return ...;
/// case _:
/// return orElse();
/// }
/// ```
@optionalTypeArgs TResult maybeWhen<TResult extends Object?>(TResult Function( String globalKey, String itemTitle, int currentItem, int totalItems, String? currentOperation)? $default,{required TResult orElse(),}) {final _that = this;
switch (_that) {
case _DeletionProgress() when $default != null:
return $default(_that.globalKey,_that.itemTitle,_that.currentItem,_that.totalItems,_that.currentOperation);case _:
return orElse();
}
}
/// A `switch`-like method, using callbacks.
///
/// As opposed to `map`, this offers destructuring.
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
/// case Subclass(:final field):
/// return ...;
/// case Subclass2(:final field2):
/// return ...;
/// }
/// ```
@optionalTypeArgs TResult when<TResult extends Object?>(TResult Function( String globalKey, String itemTitle, int currentItem, int totalItems, String? currentOperation) $default,) {final _that = this;
switch (_that) {
case _DeletionProgress():
return $default(_that.globalKey,_that.itemTitle,_that.currentItem,_that.totalItems,_that.currentOperation);}
}
/// A variant of `when` that fallback to returning `null`
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
/// case Subclass(:final field):
/// return ...;
/// case _:
/// return null;
/// }
/// ```
@optionalTypeArgs TResult? whenOrNull<TResult extends Object?>(TResult? Function( String globalKey, String itemTitle, int currentItem, int totalItems, String? currentOperation)? $default,) {final _that = this;
switch (_that) {
case _DeletionProgress() when $default != null:
return $default(_that.globalKey,_that.itemTitle,_that.currentItem,_that.totalItems,_that.currentOperation);case _:
return null;
}
}
}
/// @nodoc
class _DeletionProgress extends DeletionProgress {
const _DeletionProgress({required this.globalKey, required this.itemTitle, required this.currentItem, required this.totalItems, this.currentOperation}): super._();
@override final String globalKey;
@override final String itemTitle;
@override final int currentItem;
@override final int totalItems;
@override final String? currentOperation;
/// Create a copy of DeletionProgress
/// with the given fields replaced by the non-null parameter values.
@override @JsonKey(includeFromJson: false, includeToJson: false)
@pragma('vm:prefer-inline')
_$DeletionProgressCopyWith<_DeletionProgress> get copyWith => __$DeletionProgressCopyWithImpl<_DeletionProgress>(this, _$identity);
@override
bool operator ==(Object other) {
return identical(this, other) || (other.runtimeType == runtimeType&&other is _DeletionProgress&&(identical(other.globalKey, globalKey) || other.globalKey == globalKey)&&(identical(other.itemTitle, itemTitle) || other.itemTitle == itemTitle)&&(identical(other.currentItem, currentItem) || other.currentItem == currentItem)&&(identical(other.totalItems, totalItems) || other.totalItems == totalItems)&&(identical(other.currentOperation, currentOperation) || other.currentOperation == currentOperation));
}
@override
int get hashCode => Object.hash(runtimeType,globalKey,itemTitle,currentItem,totalItems,currentOperation);
@override
String toString() {
return 'DeletionProgress(globalKey: $globalKey, itemTitle: $itemTitle, currentItem: $currentItem, totalItems: $totalItems, currentOperation: $currentOperation)';
}
}
/// @nodoc
abstract mixin class _$DeletionProgressCopyWith<$Res> implements $DeletionProgressCopyWith<$Res> {
factory _$DeletionProgressCopyWith(_DeletionProgress value, $Res Function(_DeletionProgress) _then) = __$DeletionProgressCopyWithImpl;
@override @useResult
$Res call({
String globalKey, String itemTitle, int currentItem, int totalItems, String? currentOperation
});
}
/// @nodoc
class __$DeletionProgressCopyWithImpl<$Res>
implements _$DeletionProgressCopyWith<$Res> {
__$DeletionProgressCopyWithImpl(this._self, this._then);
final _DeletionProgress _self;
final $Res Function(_DeletionProgress) _then;
/// Create a copy of DeletionProgress
/// with the given fields replaced by the non-null parameter values.
@override @pragma('vm:prefer-inline') $Res call({Object? globalKey = null,Object? itemTitle = null,Object? currentItem = null,Object? totalItems = null,Object? currentOperation = freezed,}) {
return _then(_DeletionProgress(
globalKey: null == globalKey ? _self.globalKey : globalKey // ignore: cast_nullable_to_non_nullable
as String,itemTitle: null == itemTitle ? _self.itemTitle : itemTitle // ignore: cast_nullable_to_non_nullable
as String,currentItem: null == currentItem ? _self.currentItem : currentItem // ignore: cast_nullable_to_non_nullable
as int,totalItems: null == totalItems ? _self.totalItems : totalItems // ignore: cast_nullable_to_non_nullable
as int,currentOperation: freezed == currentOperation ? _self.currentOperation : currentOperation // ignore: cast_nullable_to_non_nullable
as String?,
));
}
}
// dart format on
+46
View File
@@ -128,6 +128,51 @@ Future<bool> _launchCommand(String command, String url) async {
}
}
Future<bool> _launchCommandCandidates(Iterable<String> commands, String url) async {
final commandList = commands.toList(growable: false);
Object? lastError;
for (final command in commandList) {
try {
final result = await Process.start(command, [url], mode: ProcessStartMode.detached);
appLogger.d('Launched $command with PID: ${result.pid}');
return true;
} catch (e) {
lastError = e;
appLogger.d('Failed to launch $command', error: e);
}
}
appLogger.w('Failed to launch any of: ${commandList.join(', ')}', error: lastError);
return false;
}
List<String> _windowsVlcCommandCandidates(Map<String, String> environment) {
final candidates = <String>['vlc'];
void addInstallPath(String? programFilesDir) {
final trimmed = programFilesDir?.trim();
if (trimmed == null || trimmed.isEmpty) return;
final root = trimmed.replaceFirst(RegExp(r'[\\/]+$'), '');
candidates.add('$root\\VideoLAN\\VLC\\vlc.exe');
}
addInstallPath(environment['ProgramW6432']);
addInstallPath(environment['ProgramFiles']);
addInstallPath(environment['ProgramFiles(x86)']);
addInstallPath(r'C:\Program Files');
addInstallPath(r'C:\Program Files (x86)');
final seen = <String>{};
return [
for (final candidate in candidates)
if (seen.add(candidate.toLowerCase())) candidate,
];
}
Future<bool> _launchWindowsVlc(String url) {
return _launchCommandCandidates(_windowsVlcCommandCandidates(Platform.environment), url);
}
Future<bool> _launchCustom(String value, String url, CustomPlayerType type) async {
if (type == CustomPlayerType.urlScheme) {
return _launchUrlScheme(value, url);
@@ -158,6 +203,7 @@ class KnownPlayers {
if (Platform.isAndroid) return _launchAndroidIntent(url, package: 'org.videolan.vlc');
if (Platform.isIOS) return _launchUrlScheme('vlc://', url);
if (Platform.isMacOS) return _launchMacApp('VLC', url);
if (Platform.isWindows) return _launchWindowsVlc(url);
return _launchCommand('vlc', url);
},
),
+20
View File
@@ -31,6 +31,21 @@ String favoriteChannelKey(String source, String id) => '$source\u0000$id';
String liveTvChannelScopeKey(LiveTvChannel channel) =>
'${channel.serverId ?? ''}\u0000${channel.liveDvrKey ?? ''}\u0000${channel.key}';
List<LiveTvChannel> filterLiveTvChannelsForFavorites({
required List<LiveTvChannel> channels,
required bool favoritesOnly,
required Iterable<FavoriteChannel> favorites,
required String Function(LiveTvChannel channel) sourceForChannel,
}) {
if (!favoritesOnly || favorites.isEmpty) return channels;
final channelMap = {
for (final channel in channels) favoriteChannelKey(sourceForChannel(channel), channel.key): channel,
};
return [for (final favorite in favorites) ?channelMap[favorite.stableKey]];
}
@JsonSerializable(createToJson: false)
class LiveTvChannel with MultiServerFields {
@JsonKey(readValue: _readChannelKey)
@@ -60,6 +75,8 @@ class LiveTvChannel with MultiServerFields {
@JsonKey(includeFromJson: false, includeToJson: false)
final String? liveDvrKey;
@JsonKey(includeFromJson: false, includeToJson: false)
final String? liveTvSourceTitle;
@JsonKey(includeFromJson: false, includeToJson: false)
final String? favoriteSource;
@JsonKey(includeFromJson: false, includeToJson: false)
final String? favoriteStoreKey;
@@ -79,6 +96,7 @@ class LiveTvChannel with MultiServerFields {
this.serverId,
this.serverName,
this.liveDvrKey,
this.liveTvSourceTitle,
this.favoriteSource,
this.favoriteStoreKey,
});
@@ -89,6 +107,7 @@ class LiveTvChannel with MultiServerFields {
String? serverId,
String? serverName,
String? liveDvrKey,
String? liveTvSourceTitle,
String? favoriteSource,
String? favoriteStoreKey,
}) {
@@ -107,6 +126,7 @@ class LiveTvChannel with MultiServerFields {
serverId: serverId ?? this.serverId,
serverName: serverName ?? this.serverName,
liveDvrKey: liveDvrKey ?? this.liveDvrKey,
liveTvSourceTitle: liveTvSourceTitle ?? this.liveTvSourceTitle,
favoriteSource: favoriteSource ?? this.favoriteSource,
favoriteStoreKey: favoriteStoreKey ?? this.favoriteStoreKey,
);

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