Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c5d8f9c62b | ||
|
|
4ffa3d30f6 | ||
|
|
d5c8778074 | ||
|
|
c6c76d6828 | ||
|
|
9cfc6c0f4a | ||
|
|
2eae450aa0 | ||
|
|
1b5334e72f | ||
|
|
e3db54940d | ||
|
|
656d512858 | ||
|
|
d9135e0d25 | ||
|
|
4f636dfffd | ||
|
|
6438b444bf | ||
|
|
8413e1e5a7 | ||
|
|
5671f6e5d1 | ||
|
|
a4a0475fdb | ||
|
|
9a740b91c1 | ||
|
|
63ab80fa82 | ||
|
|
0bb085c70c | ||
|
|
9825ce3c7c | ||
|
|
f5012b36ea | ||
|
|
6111c381af | ||
|
|
00fce3a997 | ||
|
|
b8417f0277 | ||
|
|
4148c1c8ff | ||
|
|
9e5098f356 | ||
|
|
139eed9ca9 | ||
|
|
23efb02636 | ||
|
|
294996eac1 | ||
|
|
a4f0b92b4e | ||
|
|
7cac050500 | ||
|
|
1685ecc991 | ||
|
|
a71711de5f | ||
|
|
7534a6c60a | ||
|
|
dba01f14bb | ||
|
|
d93ea9813f | ||
|
|
7501f461b9 | ||
|
|
5e5702c961 | ||
|
|
4b477a4fe3 | ||
|
|
50ff514be8 | ||
|
|
1c7a083d6c | ||
|
|
097e48d705 | ||
|
|
a931d5910b | ||
|
|
1cd585eecb | ||
|
|
9981b277c6 | ||
|
|
2b7ea5fe02 | ||
|
|
47276e1bac | ||
|
|
c8670a8d6a | ||
|
|
9cc32e125b | ||
|
|
4217da1a8f | ||
|
|
704c37f97f | ||
|
|
0c8e0fc2ec | ||
|
|
d6315a0f75 | ||
|
|
92cdbdd723 | ||
|
|
3939ba809f | ||
|
|
6642348a96 | ||
|
|
0b29673a5e | ||
|
|
3747a74cb3 | ||
|
|
bcb7f1d3c1 | ||
|
|
7b56b90f24 | ||
|
|
ba62129414 | ||
|
|
e559a6125d | ||
|
|
869b4fe230 | ||
|
|
3b4110d7e5 | ||
|
|
7b4e399013 | ||
|
|
5788d93e89 | ||
|
|
08a806e457 | ||
|
|
e45bfadc14 | ||
|
|
56cfb95af5 | ||
|
|
8e8942fb36 | ||
|
|
02f2657d18 | ||
|
|
39709e5c42 | ||
|
|
a101ee76d6 | ||
|
|
4eadec5b17 | ||
|
|
be86a33057 | ||
|
|
ce19b9dfa7 | ||
|
|
15cc85147a | ||
|
|
3fc3baef83 | ||
|
|
91b926acac | ||
|
|
8b2ff18842 | ||
|
|
1958f8ca7e | ||
|
|
8e53232961 | ||
|
|
cec8993b80 | ||
|
|
366ae67341 | ||
|
|
50be8565d9 | ||
|
|
9365fcf246 | ||
|
|
8d4ef2757a | ||
|
|
6b147e2053 | ||
|
|
5fa8326341 | ||
|
|
c8cded70ef | ||
|
|
8fe51075be | ||
|
|
d24c95f1e1 | ||
|
|
1c8be031ae | ||
|
|
83c47b529c | ||
|
|
9dce396fb4 | ||
|
|
eeaa831cc2 | ||
|
|
f1a02ade17 | ||
|
|
dcd0b03096 | ||
|
|
a189ee5774 | ||
|
|
e74df0d245 | ||
|
|
d980540c09 | ||
|
|
a51215952f | ||
|
|
993a0e4666 | ||
|
|
4c43d6fdec | ||
|
|
1c58a12c90 | ||
|
|
b6d23ed089 | ||
|
|
3a042d79f6 | ||
|
|
1a73fc585b | ||
|
|
8ec2795da1 | ||
|
|
cbea1c8d8f | ||
|
|
048d22cb99 | ||
|
|
31c01ab3e0 | ||
|
|
16e31303ae | ||
|
|
e301fec38c | ||
|
|
e1e9adbb01 | ||
|
|
636ecc9d3a | ||
|
|
fc231a9e72 | ||
|
|
c354193187 | ||
|
|
bb7ed72073 | ||
|
|
fea973a72a | ||
|
|
487c7b87f6 | ||
|
|
afc94a50fc | ||
|
|
2ebd730201 | ||
|
|
0dd7d7c522 | ||
|
|
eaf0f4fa1a | ||
|
|
743a8668ec | ||
|
|
6a74ff083f | ||
|
|
9dc3a1a1b1 | ||
|
|
2b45557743 | ||
|
|
11b97e626e | ||
|
|
d8f69f7acd | ||
|
|
b547f8a47f | ||
|
|
f4c83bedc0 | ||
|
|
0582ab2947 | ||
|
|
209101796b | ||
|
|
448a5d084c | ||
|
|
1ebfee9354 | ||
|
|
29e0654d47 | ||
|
|
f565684842 | ||
|
|
5d6f34f756 | ||
|
|
73735c5a00 | ||
|
|
c93a266722 | ||
|
|
2b167a60f5 | ||
|
|
63e807dd58 | ||
|
|
16e3500c49 | ||
|
|
6e47a5fbcf | ||
|
|
b18774d60b | ||
|
|
0383a77b56 | ||
|
|
d58007a9e2 | ||
|
|
7d60875e19 | ||
|
|
6be1b7c486 | ||
|
|
88c65e1857 | ||
|
|
95ff95d397 | ||
|
|
1978d710da | ||
|
|
423be62218 | ||
|
|
d2650667b8 | ||
|
|
48cf8accfa | ||
|
|
565885cc1e | ||
|
|
d0e74151b8 | ||
|
|
89c9c6c49b | ||
|
|
e98d7febdd | ||
|
|
55ee2c270d | ||
|
|
81b05f00df | ||
|
|
f4f2571168 | ||
|
|
d85a622fbe | ||
|
|
d3e8dcef86 | ||
|
|
e9c93415a8 | ||
|
|
68e27fdbb3 | ||
|
|
a679bae354 | ||
|
|
5a68711f7b | ||
|
|
324d145292 | ||
|
|
d004342c98 | ||
|
|
d3d7957b62 | ||
|
|
0e94558548 | ||
|
|
8d14a14781 | ||
|
|
20f704a56d | ||
|
|
93f0da7a27 | ||
|
|
8b3f8856f7 | ||
|
|
39fb828580 | ||
|
|
3e0f7b4f86 | ||
|
|
7e9f62dc7f | ||
|
|
c855dba3be | ||
|
|
e726f9f528 | ||
|
|
2c54baca34 | ||
|
|
232d98c4ce | ||
|
|
d93c81a7cb | ||
|
|
326d53415b | ||
|
|
87db591792 | ||
|
|
6bad454830 | ||
|
|
cfd4aa307d | ||
|
|
3798a0c332 | ||
|
|
be0e9686b5 | ||
|
|
7ec45274bd | ||
|
|
3e74937386 | ||
|
|
310c4280fc | ||
|
|
ee6e327b12 | ||
|
|
e71dcdaa6c | ||
|
|
1b969953b5 | ||
|
|
7690a16efe | ||
|
|
91298294b0 | ||
|
|
5df3ec0c12 | ||
|
|
ef4980db09 | ||
|
|
e37602421b | ||
|
|
562d19c207 | ||
|
|
e54bbb2214 | ||
|
|
db2a2c34d2 | ||
|
|
12b006ee0c | ||
|
|
be3efa8335 | ||
|
|
d1d549d602 | ||
|
|
7de2a62c55 | ||
|
|
7b4a37e576 | ||
|
|
5a46857035 | ||
|
|
7ffb20b501 | ||
|
|
856ac83e6a | ||
|
|
fb8fc1db1c | ||
|
|
76e8ea6901 | ||
|
|
e8c27f00a7 | ||
|
|
9f19f550c3 | ||
|
|
fce794cd6c | ||
|
|
8f9947a874 | ||
|
|
126e6b9349 | ||
|
|
fcbe459177 | ||
|
|
0e296f8659 | ||
|
|
12073ea134 | ||
|
|
8aea796dbd | ||
|
|
9af6f32157 | ||
|
|
b0f1a5d4f1 | ||
|
|
de62c8530f | ||
|
|
0f4629f52b | ||
|
|
de129fbb0a | ||
|
|
3a01fa25a7 | ||
|
|
86c19fc1fc | ||
|
|
ae1f6d7822 | ||
|
|
4577f26aa8 | ||
|
|
fd26f470a5 | ||
|
|
bae127e459 | ||
|
|
606627cd0c | ||
|
|
3ddd89113c | ||
|
|
5139e39ed4 | ||
|
|
3a6012cc21 | ||
|
|
37b1a26cde | ||
|
|
e5922f4870 | ||
|
|
ae7f4a7871 | ||
|
|
9e85aa7be6 | ||
|
|
fd69fe668a | ||
|
|
9085d4d94b | ||
|
|
0775ea0d26 | ||
|
|
d901f5efc2 | ||
|
|
fcd8198fcb | ||
|
|
fd1eaf9d96 | ||
|
|
d0bd919ff4 | ||
|
|
2bbd31d927 | ||
|
|
617f200cb5 | ||
|
|
b96d734e8c | ||
|
|
89f256138d | ||
|
|
9b248a7a5b | ||
|
|
8d76dff353 |
@@ -82,6 +82,8 @@ body:
|
||||
options:
|
||||
- Jellyfin
|
||||
- Plex
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: input
|
||||
id: device
|
||||
@@ -89,6 +91,8 @@ body:
|
||||
label: Device Information
|
||||
description: What device are you using?
|
||||
placeholder: e.g., iPhone 14 Pro, Pixel 7, Chrome on macOS
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
id: logs
|
||||
|
||||
@@ -41,6 +41,8 @@ body:
|
||||
1. As a user, I would...
|
||||
2. This would help me...
|
||||
3. The benefit would be...
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: dropdown
|
||||
id: platform
|
||||
@@ -57,17 +59,20 @@ body:
|
||||
- tvOS
|
||||
- Linux
|
||||
- All platforms
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: dropdown
|
||||
id: media-server
|
||||
attributes:
|
||||
label: Media Server
|
||||
description: Is this for Jellyfin, Plex, or both?
|
||||
description: Which media server(s) is this for?
|
||||
multiple: true
|
||||
options:
|
||||
- Jellyfin
|
||||
- Plex
|
||||
- Both
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
id: additional
|
||||
|
||||
@@ -2,15 +2,45 @@ name: Build
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
build_android:
|
||||
description: Build Android
|
||||
default: true
|
||||
type: boolean
|
||||
build_ios:
|
||||
description: Build iOS
|
||||
default: true
|
||||
type: boolean
|
||||
build_macos:
|
||||
description: Build macOS
|
||||
default: true
|
||||
type: boolean
|
||||
build_windows:
|
||||
description: Build Windows
|
||||
default: true
|
||||
type: boolean
|
||||
build_linux:
|
||||
description: Build Linux
|
||||
default: true
|
||||
type: boolean
|
||||
|
||||
env:
|
||||
SENTRY_DART_DEFINE: ${{ github.repository == 'edde746/plezy' && '--dart-define=ENABLE_SENTRY=true' || '' }}
|
||||
GIT_COMMIT_DART_DEFINE: --dart-define=GIT_COMMIT=${{ github.sha }}
|
||||
SENTRY_ENV_DART_DEFINE: --dart-define=SENTRY_ENVIRONMENT=github
|
||||
DONATIONS_DART_DEFINE: --dart-define=ENABLE_DONATIONS=true
|
||||
LINUX_APT_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 libmujs-dev liblua5.2-dev
|
||||
ruby ruby-dev rubygems build-essential rpm libarchive-tools imagemagick libcurl4-openssl-dev
|
||||
|
||||
jobs:
|
||||
build-android:
|
||||
if: ${{ inputs.build_android }}
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
id-token: write
|
||||
@@ -29,6 +59,7 @@ jobs:
|
||||
uses: subosito/flutter-action@v2
|
||||
with:
|
||||
channel: "stable"
|
||||
flutter-version: "3.44.0"
|
||||
cache: true
|
||||
pub-cache: false
|
||||
|
||||
@@ -63,39 +94,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()
|
||||
@@ -125,6 +131,7 @@ jobs:
|
||||
plezy-android-x86_64.tar.gz
|
||||
|
||||
build-ios:
|
||||
if: ${{ inputs.build_ios }}
|
||||
runs-on: macos-26
|
||||
permissions:
|
||||
id-token: write
|
||||
@@ -137,6 +144,7 @@ jobs:
|
||||
uses: subosito/flutter-action@v2
|
||||
with:
|
||||
channel: "stable"
|
||||
flutter-version: "3.44.0"
|
||||
cache: true
|
||||
pub-cache: false
|
||||
|
||||
@@ -162,39 +170,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: |
|
||||
@@ -214,6 +197,7 @@ jobs:
|
||||
path: plezy-ios.ipa
|
||||
|
||||
build-macos:
|
||||
if: ${{ inputs.build_macos }}
|
||||
runs-on: macos-26
|
||||
permissions:
|
||||
id-token: write
|
||||
@@ -226,6 +210,7 @@ jobs:
|
||||
uses: subosito/flutter-action@v2
|
||||
with:
|
||||
channel: "stable"
|
||||
flutter-version: "3.44.0"
|
||||
cache: true
|
||||
pub-cache: false
|
||||
|
||||
@@ -251,39 +236,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:
|
||||
@@ -409,6 +369,7 @@ jobs:
|
||||
macos-dmg-size.txt
|
||||
|
||||
build-windows-x64:
|
||||
if: ${{ inputs.build_windows }}
|
||||
runs-on: windows-latest
|
||||
permissions:
|
||||
contents: read
|
||||
@@ -419,6 +380,7 @@ jobs:
|
||||
uses: subosito/flutter-action@v2
|
||||
with:
|
||||
channel: "stable"
|
||||
flutter-version: "3.44.0"
|
||||
cache: true
|
||||
pub-cache: false
|
||||
|
||||
@@ -439,47 +401,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
|
||||
@@ -488,6 +418,7 @@ jobs:
|
||||
path: build/windows/x64/runner/Release/
|
||||
|
||||
build-windows-arm64:
|
||||
if: ${{ inputs.build_windows }}
|
||||
runs-on: windows-11-arm
|
||||
permissions:
|
||||
contents: read
|
||||
@@ -511,6 +442,7 @@ jobs:
|
||||
uses: subosito/flutter-action@v2
|
||||
with:
|
||||
channel: "master"
|
||||
flutter-version: "3.44.0"
|
||||
cache: true
|
||||
pub-cache: false
|
||||
|
||||
@@ -525,47 +457,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
|
||||
@@ -575,6 +475,7 @@ jobs:
|
||||
|
||||
package-windows:
|
||||
needs: [build-windows-x64, build-windows-arm64]
|
||||
if: ${{ inputs.build_windows }}
|
||||
runs-on: windows-latest
|
||||
permissions:
|
||||
id-token: write
|
||||
@@ -657,6 +558,7 @@ jobs:
|
||||
win-installer-size.txt
|
||||
|
||||
build-linux-x64:
|
||||
if: ${{ inputs.build_linux }}
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
id-token: write
|
||||
@@ -669,6 +571,7 @@ jobs:
|
||||
uses: subosito/flutter-action@v2
|
||||
with:
|
||||
channel: "stable"
|
||||
flutter-version: "3.44.0"
|
||||
cache: true
|
||||
pub-cache: false
|
||||
|
||||
@@ -682,13 +585,24 @@ jobs:
|
||||
- name: Cache APT packages
|
||||
uses: awalsh128/cache-apt-pkgs-action@latest
|
||||
with:
|
||||
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
|
||||
packages: ${{ env.LINUX_APT_PACKAGES }}
|
||||
version: 1.1
|
||||
|
||||
- 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
|
||||
read -r -a packages <<< "$LINUX_APT_PACKAGES"
|
||||
|
||||
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 +622,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
|
||||
@@ -796,6 +685,7 @@ jobs:
|
||||
plezy-linux-x64.pkg.tar.zst
|
||||
|
||||
build-linux-arm64:
|
||||
if: ${{ inputs.build_linux }}
|
||||
runs-on: ubuntu-24.04-arm
|
||||
permissions:
|
||||
id-token: write
|
||||
@@ -808,6 +698,7 @@ jobs:
|
||||
uses: subosito/flutter-action@v2
|
||||
with:
|
||||
channel: "master"
|
||||
flutter-version: "3.44.0"
|
||||
cache: true
|
||||
pub-cache: false
|
||||
|
||||
@@ -821,13 +712,24 @@ jobs:
|
||||
- name: Cache APT packages
|
||||
uses: awalsh128/cache-apt-pkgs-action@latest
|
||||
with:
|
||||
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
|
||||
packages: ${{ env.LINUX_APT_PACKAGES }}
|
||||
version: 1.1
|
||||
|
||||
- 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
|
||||
read -r -a packages <<< "$LINUX_APT_PACKAGES"
|
||||
|
||||
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 +749,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,53 +821,9 @@ 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]
|
||||
needs: [build-android, build-ios, build-macos, build-windows-x64, build-windows-arm64, package-windows, build-linux-x64, build-linux-arm64]
|
||||
if: ${{ always() && !contains(needs.*.result, 'failure') && !contains(needs.*.result, 'cancelled') && (inputs.build_android || inputs.build_ios || inputs.build_macos || inputs.build_windows || inputs.build_linux) }}
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: write
|
||||
@@ -1001,48 +834,56 @@ jobs:
|
||||
sparse-checkout-cone-mode: false
|
||||
|
||||
- name: Download Android artifacts
|
||||
if: ${{ inputs.build_android }}
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: android-apk
|
||||
path: artifacts/android-apk
|
||||
|
||||
- name: Download iOS artifact
|
||||
if: ${{ inputs.build_ios }}
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: ios-ipa
|
||||
path: artifacts/ios-ipa
|
||||
|
||||
- name: Download macOS artifact
|
||||
if: ${{ inputs.build_macos }}
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: macos-dmg
|
||||
path: artifacts/macos-dmg
|
||||
|
||||
- name: Download Windows x64 artifact
|
||||
if: ${{ inputs.build_windows }}
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: windows-x64-portable
|
||||
path: artifacts/windows-x64-portable
|
||||
|
||||
- name: Download Windows arm64 artifact
|
||||
if: ${{ inputs.build_windows }}
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: windows-arm64-portable
|
||||
path: artifacts/windows-arm64-portable
|
||||
|
||||
- name: Download Windows installer artifact
|
||||
if: ${{ inputs.build_windows }}
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: windows-installer
|
||||
path: artifacts/windows-installer
|
||||
|
||||
- name: Download Linux x64 artifacts
|
||||
if: ${{ inputs.build_linux }}
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: linux-x64
|
||||
path: artifacts/linux-x64
|
||||
|
||||
- name: Download Linux arm64 artifacts
|
||||
if: ${{ inputs.build_linux }}
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: linux-arm64
|
||||
@@ -1129,21 +970,39 @@ jobs:
|
||||
echo "Generated appcast.xml:"
|
||||
cat appcast.xml
|
||||
|
||||
- name: Collect release files
|
||||
id: release-files
|
||||
run: |
|
||||
{
|
||||
echo 'files<<EOF'
|
||||
if [ "${{ inputs.build_android }}" = "true" ]; then
|
||||
echo artifacts/android-apk/plezy-android-arm64-v8a.tar.gz
|
||||
echo artifacts/android-apk/plezy-android-armeabi-v7a.tar.gz
|
||||
echo artifacts/android-apk/plezy-android-x86_64.tar.gz
|
||||
fi
|
||||
if [ "${{ inputs.build_ios }}" = "true" ]; then
|
||||
echo artifacts/ios-ipa/plezy-ios.ipa
|
||||
fi
|
||||
if [ "${{ inputs.build_macos }}" = "true" ]; then
|
||||
echo artifacts/macos-dmg/plezy-macos.dmg
|
||||
fi
|
||||
if [ "${{ inputs.build_windows }}" = "true" ]; then
|
||||
echo artifacts/windows-x64-portable/plezy-windows-x64-portable.7z
|
||||
echo artifacts/windows-arm64-portable/plezy-windows-arm64-portable.7z
|
||||
echo artifacts/windows-installer/plezy-windows-installer.exe
|
||||
fi
|
||||
if [ "${{ inputs.build_linux }}" = "true" ]; then
|
||||
echo 'artifacts/linux-x64/*'
|
||||
echo 'artifacts/linux-arm64/*'
|
||||
fi
|
||||
echo appcast.xml
|
||||
echo EOF
|
||||
} >> "$GITHUB_OUTPUT"
|
||||
|
||||
- name: Create Release
|
||||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
files: |
|
||||
artifacts/android-apk/plezy-android-arm64-v8a.tar.gz
|
||||
artifacts/android-apk/plezy-android-armeabi-v7a.tar.gz
|
||||
artifacts/android-apk/plezy-android-x86_64.tar.gz
|
||||
artifacts/ios-ipa/plezy-ios.ipa
|
||||
artifacts/macos-dmg/plezy-macos.dmg
|
||||
artifacts/windows-x64-portable/plezy-windows-x64-portable.7z
|
||||
artifacts/windows-arm64-portable/plezy-windows-arm64-portable.7z
|
||||
artifacts/windows-installer/plezy-windows-installer.exe
|
||||
artifacts/linux-x64/*
|
||||
artifacts/linux-arm64/*
|
||||
appcast.xml
|
||||
files: ${{ steps.release-files.outputs.files }}
|
||||
draft: true
|
||||
prerelease: false
|
||||
generate_release_notes: true
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
cask "plezy" do
|
||||
version "1.35.2"
|
||||
sha256 "e3a65f5688bd8ac010b0dad2238a24f6f3b4b5a6f5ca2b5127a9e1a817dd73d9"
|
||||
version "2.3.0"
|
||||
sha256 "2255247656fb352e95184986ee2918bbc8e452a2adee0e27749b2e9ec77d892b"
|
||||
|
||||
url "https://github.com/edde746/plezy/releases/download/#{version}/plezy-macos.dmg"
|
||||
name "Plezy"
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -59,6 +59,9 @@
|
||||
android:name="io.flutter.embedding.android.NormalTheme"
|
||||
android:resource="@style/NormalTheme"
|
||||
/>
|
||||
<meta-data
|
||||
android:name="flutter_deeplinking_enabled"
|
||||
android:value="false" />
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN"/>
|
||||
<category android:name="android.intent.category.LAUNCHER"/>
|
||||
|
||||
@@ -86,7 +86,7 @@ extern "C" JNIEXPORT jint JNICALL Java_com_edde746_plezy_exoplayer_DoviBridge_na
|
||||
}
|
||||
}
|
||||
|
||||
// Convert to target profile (mode 2 = P8.1 with no-op curves)
|
||||
// Mode 2 matches Kodi's P8.1 compatibility path and sets luma/chroma curves to no-op.
|
||||
int32_t ret = dovi_convert_rpu_with_mode(rpu, static_cast<uint8_t>(mode));
|
||||
if (ret != 0) {
|
||||
err = dovi_rpu_get_error(rpu);
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
package com.edde746.plezy
|
||||
|
||||
import android.app.Activity
|
||||
import android.app.ActivityManager
|
||||
import android.app.AppOpsManager
|
||||
import android.app.PictureInPictureParams
|
||||
@@ -7,21 +8,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 +42,32 @@ class MainActivity : FlutterActivity() {
|
||||
|
||||
companion object {
|
||||
private const val TAG = "MainActivity"
|
||||
private const val TEXT_INPUT_DIAGNOSTICS_ENABLED = false
|
||||
private const val EXTERNAL_PLAYER_REQUEST_CODE = 7461
|
||||
|
||||
// External player result APIs used by Jellyfin Android TV.
|
||||
private const val API_MX_RETURN_RESULT = "return_result"
|
||||
private const val API_MX_RESULT_ID = "com.mxtech.intent.result.VIEW"
|
||||
private const val API_MX_RESULT_POSITION = "position"
|
||||
private const val API_MX_RESULT_DURATION = "duration"
|
||||
private const val API_MX_RESULT_END_BY = "end_by"
|
||||
private const val API_MX_RESULT_END_BY_PLAYBACK_COMPLETION = "playback_completion"
|
||||
private const val API_MX_TITLE = "title"
|
||||
private const val API_MX_FILENAME = "filename"
|
||||
private const val API_MX_SECURE_URI = "secure_uri"
|
||||
private const val API_VLC_RESULT_POSITION = "extra_position"
|
||||
private const val API_VLC_RESULT_DURATION = "extra_duration"
|
||||
|
||||
private const val API_VIMU_TITLE = "forcename"
|
||||
private const val API_VIMU_SEEK_POSITION = "startfrom"
|
||||
private const val API_VIMU_RESUME = "forceresume"
|
||||
private const val API_VIMU_RESULT_ID = "net.gtvbox.videoplayer.result"
|
||||
private const val API_VIMU_RESULT_ERROR = 4
|
||||
private const val API_VIMU_RESULT_PLAYBACK_COMPLETED = 1
|
||||
|
||||
private val externalPlayerPositionExtras = arrayOf(API_MX_RESULT_POSITION, API_VLC_RESULT_POSITION)
|
||||
private val externalPlayerDurationExtras = arrayOf(API_MX_RESULT_DURATION, API_VLC_RESULT_DURATION)
|
||||
|
||||
var usingSkia = false
|
||||
}
|
||||
|
||||
@@ -40,9 +75,18 @@ 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 var pendingExternalPlayerResult: MethodChannel.Result? = null
|
||||
|
||||
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 +95,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 +217,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 +264,80 @@ 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
|
||||
}
|
||||
|
||||
override fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent?) {
|
||||
if (requestCode == EXTERNAL_PLAYER_REQUEST_CODE) {
|
||||
val pendingResult = pendingExternalPlayerResult
|
||||
pendingExternalPlayerResult = null
|
||||
if (pendingResult == null) {
|
||||
Log.w(TAG, "External player result received without a pending channel result")
|
||||
} else {
|
||||
pendingResult.success(buildExternalPlayerResult(resultCode, data))
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
super.onActivityResult(requestCode, resultCode, data)
|
||||
}
|
||||
|
||||
private fun buildExternalPlayerResult(resultCode: Int, data: Intent?): Map<String, Any?> {
|
||||
val extras = data?.extras
|
||||
val endPosition = firstNumberExtra(extras, externalPlayerPositionExtras)
|
||||
val duration = firstNumberExtra(extras, externalPlayerDurationExtras)
|
||||
val action = data?.action
|
||||
val playbackCompleted = when (action) {
|
||||
API_MX_RESULT_ID -> extras?.getString(API_MX_RESULT_END_BY) == API_MX_RESULT_END_BY_PLAYBACK_COMPLETION
|
||||
API_VIMU_RESULT_ID -> resultCode == API_VIMU_RESULT_PLAYBACK_COMPLETED
|
||||
else -> false
|
||||
}
|
||||
val playbackError = when (action) {
|
||||
API_VIMU_RESULT_ID -> resultCode == API_VIMU_RESULT_ERROR
|
||||
else -> false
|
||||
}
|
||||
|
||||
return mapOf(
|
||||
"launched" to true,
|
||||
"resultCode" to resultCode,
|
||||
"resultOk" to (resultCode == Activity.RESULT_OK),
|
||||
"action" to action,
|
||||
"positionMs" to endPosition,
|
||||
"durationMs" to duration,
|
||||
"playbackCompleted" to playbackCompleted,
|
||||
"playbackError" to playbackError
|
||||
)
|
||||
}
|
||||
|
||||
private fun firstNumberExtra(extras: Bundle?, keys: Array<String>): Long? {
|
||||
if (extras == null) return null
|
||||
for (key in keys) {
|
||||
@Suppress("DEPRECATION")
|
||||
val value = extras.get(key)
|
||||
when (value) {
|
||||
is Number -> return value.toLong()
|
||||
is String -> value.toLongOrNull()?.let { return it }
|
||||
}
|
||||
}
|
||||
return null
|
||||
}
|
||||
|
||||
override fun onDestroy() {
|
||||
pendingExternalPlayerResult?.error("ACTIVITY_DESTROYED", "Activity was destroyed while external player was active", null)
|
||||
pendingExternalPlayerResult = null
|
||||
super.onDestroy()
|
||||
}
|
||||
|
||||
private fun handleWatchNextIntent(intent: Intent?) {
|
||||
val contentId = WatchNextPlugin.handleIntent(intent)
|
||||
if (contentId != null) {
|
||||
@@ -169,16 +356,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 +368,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 +431,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" -> {
|
||||
@@ -234,43 +470,68 @@ class MainActivity : FlutterActivity() {
|
||||
"openVideo" -> {
|
||||
val filePath = call.argument<String>("filePath")
|
||||
val packageName = call.argument<String>("package")
|
||||
val title = call.argument<String>("title")?.trim()?.takeIf { it.isNotEmpty() }
|
||||
val startPositionMs = call.argument<Number>("startPositionMs")?.toLong() ?: 0L
|
||||
|
||||
if (filePath == null) {
|
||||
result.error("INVALID_ARGUMENT", "filePath is required", null)
|
||||
return@setMethodCallHandler
|
||||
}
|
||||
|
||||
if (pendingExternalPlayerResult != null) {
|
||||
result.error("ALREADY_ACTIVE", "An external player is already active", null)
|
||||
return@setMethodCallHandler
|
||||
}
|
||||
|
||||
try {
|
||||
val uri: Uri
|
||||
val grantRead: Boolean
|
||||
val fileName: String?
|
||||
|
||||
if (filePath.startsWith("http://") || filePath.startsWith("https://")) {
|
||||
uri = Uri.parse(filePath)
|
||||
grantRead = false
|
||||
fileName = uri.lastPathSegment
|
||||
} else if (filePath.startsWith("content://")) {
|
||||
uri = Uri.parse(filePath)
|
||||
grantRead = true
|
||||
fileName = uri.lastPathSegment
|
||||
} else {
|
||||
val path = if (filePath.startsWith("file://")) filePath.removePrefix("file://") else filePath
|
||||
fileName = File(path).name
|
||||
uri = FileProvider.getUriForFile(this, "com.edde746.plezy.fileprovider", File(path))
|
||||
grantRead = true
|
||||
}
|
||||
|
||||
val intent = Intent(Intent.ACTION_VIEW).apply {
|
||||
setDataAndType(uri, "video/*")
|
||||
addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)
|
||||
if (grantRead) {
|
||||
addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION)
|
||||
}
|
||||
if (packageName != null) {
|
||||
setPackage(packageName)
|
||||
}
|
||||
val startPosition = startPositionMs.coerceAtLeast(0).coerceAtMost(Int.MAX_VALUE.toLong()).toInt()
|
||||
if (startPosition > 0) {
|
||||
putExtra(API_MX_RESULT_POSITION, startPosition)
|
||||
putExtra(API_VIMU_SEEK_POSITION, startPosition)
|
||||
}
|
||||
putExtra(API_MX_RETURN_RESULT, true)
|
||||
putExtra(API_MX_SECURE_URI, true)
|
||||
putExtra(API_VIMU_RESUME, false)
|
||||
title?.let {
|
||||
putExtra(API_MX_TITLE, it)
|
||||
putExtra(API_VIMU_TITLE, it)
|
||||
}
|
||||
fileName?.let { putExtra(API_MX_FILENAME, it) }
|
||||
}
|
||||
startActivity(intent)
|
||||
result.success(true)
|
||||
pendingExternalPlayerResult = result
|
||||
startActivityForResult(intent, EXTERNAL_PLAYER_REQUEST_CODE)
|
||||
} catch (e: android.content.ActivityNotFoundException) {
|
||||
pendingExternalPlayerResult = null
|
||||
result.error("APP_NOT_FOUND", "No app found for package: $packageName", null)
|
||||
} catch (e: Exception) {
|
||||
pendingExternalPlayerResult = null
|
||||
result.error("LAUNCH_FAILED", e.message ?: e.javaClass.simpleName, null)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,18 +1,63 @@
|
||||
package com.edde746.plezy.exoplayer
|
||||
|
||||
import android.content.Context
|
||||
import android.media.MediaCodecInfo
|
||||
import android.media.MediaCodecList
|
||||
import android.os.Build
|
||||
import android.util.Log
|
||||
import android.view.Display
|
||||
import android.view.WindowManager
|
||||
|
||||
enum class DvConversionMode { DISABLED, DV81, HEVC_STRIP }
|
||||
|
||||
object DoviBridge {
|
||||
private const val TAG = "DoviBridge"
|
||||
|
||||
data class DvAutoDecision(
|
||||
val mode: DvConversionMode,
|
||||
val reason: String,
|
||||
val bridgeReady: Boolean,
|
||||
val displayDv: Boolean,
|
||||
val nativeDecoder: Boolean,
|
||||
val advertisedP7: Boolean,
|
||||
val advertisedP8: Boolean,
|
||||
val decoders: String,
|
||||
val displayHdr: String
|
||||
) {
|
||||
fun logMessage(): String = "AUTO P7 DV decision: mode=$mode; reason=$reason; bridgeReady=$bridgeReady, " +
|
||||
"displayDV=$displayDv, nativeDecoder=$nativeDecoder, advertisedP7=$advertisedP7, " +
|
||||
"advertisedP8=$advertisedP8, decoders=$decoders, displayHdr=$displayHdr"
|
||||
}
|
||||
|
||||
data class Dv7FallbackDecision(
|
||||
val mode: DvConversionMode,
|
||||
val reason: String,
|
||||
val bridgeReady: Boolean,
|
||||
val displayDv: Boolean,
|
||||
val advertisedP8: Boolean,
|
||||
val displayHdr: String
|
||||
) {
|
||||
fun logMessage(): String = "DV7 fallback decision: mode=$mode; reason=$reason; bridgeReady=$bridgeReady, " +
|
||||
"displayDV=$displayDv, advertisedP8=$advertisedP8, displayHdr=$displayHdr"
|
||||
}
|
||||
|
||||
private val DOLBY_VISION_MIME_TYPES = setOf(
|
||||
"video/dolby-vision",
|
||||
"video/hevcdv",
|
||||
"video/dv_hevc"
|
||||
)
|
||||
|
||||
const val CONVERT_FAILED = -1
|
||||
const val DESTINATION_TOO_SMALL = -2
|
||||
|
||||
private data class DvProfileLevel(val profile: Int, val level: Int)
|
||||
|
||||
private data class DvDecoderCapability(
|
||||
val name: String,
|
||||
val mimeType: String,
|
||||
val profileLevels: List<DvProfileLevel>
|
||||
)
|
||||
|
||||
private val nativeLoaded: Boolean by lazy {
|
||||
try {
|
||||
System.loadLibrary("dovi_bridge")
|
||||
@@ -29,46 +74,254 @@ object DoviBridge {
|
||||
|
||||
fun isAvailable(): Boolean = conversionPathReady
|
||||
|
||||
private fun deviceSupportsDvProfile(profile: Int, minApi: Int = 0): Boolean {
|
||||
private val dolbyVisionDecoders: List<DvDecoderCapability> by lazy {
|
||||
try {
|
||||
if (Build.VERSION.SDK_INT < minApi) return false
|
||||
val codecList = MediaCodecList(MediaCodecList.REGULAR_CODECS)
|
||||
return codecList.codecInfos.any { info ->
|
||||
!info.isEncoder &&
|
||||
info.supportedTypes.any { type ->
|
||||
type.equals("video/dolby-vision", ignoreCase = true) &&
|
||||
info.getCapabilitiesForType(type).profileLevels.any { it.profile == profile }
|
||||
codecList.codecInfos.flatMap { info ->
|
||||
if (info.isEncoder) {
|
||||
emptyList()
|
||||
} else {
|
||||
info.supportedTypes.mapNotNull { type ->
|
||||
if (!DOLBY_VISION_MIME_TYPES.contains(type.lowercase())) return@mapNotNull null
|
||||
val capabilities = runCatching { info.getCapabilitiesForType(type) }
|
||||
.onFailure { Log.w(TAG, "Failed to query ${info.name} capabilities for $type", it) }
|
||||
.getOrNull()
|
||||
?: return@mapNotNull null
|
||||
DvDecoderCapability(
|
||||
name = info.name,
|
||||
mimeType = type,
|
||||
profileLevels = capabilities.profileLevels.map { DvProfileLevel(it.profile, it.level) }
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
} catch (e: Exception) {
|
||||
Log.w(TAG, "Failed to query DV profile $profile support", e)
|
||||
return false
|
||||
Log.w(TAG, "Failed to query native Dolby Vision decoder support", e)
|
||||
emptyList()
|
||||
}
|
||||
}
|
||||
|
||||
val hasNativeDolbyVisionDecoder: Boolean by lazy {
|
||||
dolbyVisionDecoders.isNotEmpty().also {
|
||||
Log.i(TAG, "Native Dolby Vision decoder available: $it; decoders=${describeDolbyVisionDecoders()}")
|
||||
}
|
||||
}
|
||||
|
||||
private fun deviceAdvertisesDvProfile(profile: Int, minApi: Int = 0): Boolean {
|
||||
if (Build.VERSION.SDK_INT < minApi) return false
|
||||
return dolbyVisionDecoders.any { decoder ->
|
||||
decoder.profileLevels.any { it.profile == profile }
|
||||
}
|
||||
}
|
||||
|
||||
val deviceSupportsDvProfile7: Boolean by lazy {
|
||||
deviceSupportsDvProfile(MediaCodecInfo.CodecProfileLevel.DolbyVisionProfileDvheDtr)
|
||||
.also { Log.i(TAG, "Device DV Profile 7 support: $it") }
|
||||
deviceAdvertisesDvProfile(MediaCodecInfo.CodecProfileLevel.DolbyVisionProfileDvheDtb)
|
||||
.also { Log.i(TAG, "Device advertises exact DV Profile 7 (DvheDtb): $it") }
|
||||
}
|
||||
|
||||
val deviceSupportsDvProfile8: Boolean by lazy {
|
||||
deviceSupportsDvProfile(MediaCodecInfo.CodecProfileLevel.DolbyVisionProfileDvheSt, minApi = 27)
|
||||
.also { Log.i(TAG, "Device DV Profile 8 support: $it") }
|
||||
deviceAdvertisesDvProfile(MediaCodecInfo.CodecProfileLevel.DolbyVisionProfileDvheSt, minApi = 27)
|
||||
.also { Log.i(TAG, "Device advertises DV Profile 8 (DvheSt): $it") }
|
||||
}
|
||||
|
||||
fun getConversionMode(): DvConversionMode = when {
|
||||
!isAvailable() -> DvConversionMode.DISABLED
|
||||
deviceSupportsDvProfile7 -> DvConversionMode.DISABLED // try native first; ExoPlayerCore retries with conversion on failure
|
||||
deviceSupportsDvProfile8 -> DvConversionMode.DV81
|
||||
else -> DvConversionMode.HEVC_STRIP
|
||||
fun displaySupportsDolbyVision(context: Context): Boolean {
|
||||
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.N) {
|
||||
Log.i(TAG, "Display Dolby Vision support: false (HDR capabilities require API 24, device API=${Build.VERSION.SDK_INT})")
|
||||
return false
|
||||
}
|
||||
|
||||
val display = getCurrentDisplay(context)
|
||||
if (display == null) {
|
||||
Log.i(TAG, "Display Dolby Vision support: false (no active display)")
|
||||
return false
|
||||
}
|
||||
|
||||
val hdrTypes = runCatching {
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S) {
|
||||
display.mode.supportedHdrTypes
|
||||
} else {
|
||||
@Suppress("DEPRECATION")
|
||||
val legacyHdrTypes = display.hdrCapabilities.supportedHdrTypes
|
||||
legacyHdrTypes
|
||||
}
|
||||
}.getOrElse { error ->
|
||||
Log.w(TAG, "Display Dolby Vision support: false (failed to query HDR types)", error)
|
||||
return false
|
||||
}
|
||||
val supported = hdrTypes.contains(Display.HdrCapabilities.HDR_TYPE_DOLBY_VISION)
|
||||
Log.i(TAG, "Display Dolby Vision support: $supported; ${describeDisplayHdrCapabilities(display)}")
|
||||
return supported
|
||||
}
|
||||
|
||||
fun describeDisplayHdrCapabilities(context: Context): String {
|
||||
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.N) return "HDR capabilities unavailable (API=${Build.VERSION.SDK_INT})"
|
||||
val display = getCurrentDisplay(context) ?: return "HDR capabilities unavailable (no active display)"
|
||||
return describeDisplayHdrCapabilities(display)
|
||||
}
|
||||
|
||||
fun logSupportSummary(context: Context) {
|
||||
Log.i(
|
||||
TAG,
|
||||
"DV support summary: bridgeReady=${isAvailable()}, displayDV=${displaySupportsDolbyVision(context)}, " +
|
||||
"nativeDecoder=$hasNativeDolbyVisionDecoder, advertisedP7=$deviceSupportsDvProfile7, " +
|
||||
"advertisedP8=$deviceSupportsDvProfile8, decoders=${describeDolbyVisionDecoders()}, " +
|
||||
"displayHdr=${describeDisplayHdrCapabilities(context)}"
|
||||
)
|
||||
}
|
||||
|
||||
fun getConversionDecision(context: Context): DvAutoDecision {
|
||||
val bridgeReady = isAvailable()
|
||||
val displayDv = displaySupportsDolbyVision(context)
|
||||
val nativeDecoder = hasNativeDolbyVisionDecoder
|
||||
val advertisedP7 = deviceSupportsDvProfile7
|
||||
val advertisedP8 = deviceSupportsDvProfile8
|
||||
|
||||
val mode = when {
|
||||
!displayDv -> DvConversionMode.HEVC_STRIP
|
||||
advertisedP7 -> DvConversionMode.DISABLED
|
||||
advertisedP8 && bridgeReady -> DvConversionMode.DV81
|
||||
else -> DvConversionMode.HEVC_STRIP
|
||||
}
|
||||
val reason = when {
|
||||
!displayDv -> "active display does not support Dolby Vision; stripping DV metadata for HEVC fallback"
|
||||
advertisedP7 -> "active display supports Dolby Vision and decoder advertises exact Profile 7; trying native DV first"
|
||||
advertisedP8 && bridgeReady -> "active display supports Dolby Vision and decoder advertises Profile 8; converting to Profile 8.1"
|
||||
!bridgeReady -> "conversion bridge unavailable; stripping DV metadata for HEVC fallback"
|
||||
else -> "Dolby Vision output path is unavailable; stripping DV metadata for HEVC fallback"
|
||||
}
|
||||
val decision = DvAutoDecision(
|
||||
mode = mode,
|
||||
reason = reason,
|
||||
bridgeReady = bridgeReady,
|
||||
displayDv = displayDv,
|
||||
nativeDecoder = nativeDecoder,
|
||||
advertisedP7 = advertisedP7,
|
||||
advertisedP8 = advertisedP8,
|
||||
decoders = describeDolbyVisionDecoders(),
|
||||
displayHdr = describeDisplayHdrCapabilities(context)
|
||||
)
|
||||
Log.i(TAG, decision.logMessage())
|
||||
return decision
|
||||
}
|
||||
|
||||
fun getConversionMode(context: Context): DvConversionMode = getConversionDecision(context).mode
|
||||
|
||||
/** Get the fallback mode when native DV7 decoding fails. */
|
||||
fun getDv7FallbackMode(): DvConversionMode = when {
|
||||
deviceSupportsDvProfile8 -> DvConversionMode.DV81
|
||||
else -> DvConversionMode.HEVC_STRIP
|
||||
fun getDv7FallbackDecision(context: Context): Dv7FallbackDecision {
|
||||
val bridgeReady = isAvailable()
|
||||
val displayDv = displaySupportsDolbyVision(context)
|
||||
val advertisedP8 = deviceSupportsDvProfile8
|
||||
val mode = if (displayDv && advertisedP8 && bridgeReady) DvConversionMode.DV81 else DvConversionMode.HEVC_STRIP
|
||||
val reason = when {
|
||||
mode == DvConversionMode.DV81 -> "display supports Dolby Vision and decoder advertises Profile 8"
|
||||
!bridgeReady -> "conversion bridge unavailable; stripping DV metadata for HEVC fallback"
|
||||
else -> "Dolby Vision output or Profile 8 support is unavailable"
|
||||
}
|
||||
val decision = Dv7FallbackDecision(
|
||||
mode = mode,
|
||||
reason = reason,
|
||||
bridgeReady = bridgeReady,
|
||||
displayDv = displayDv,
|
||||
advertisedP8 = advertisedP8,
|
||||
displayHdr = describeDisplayHdrCapabilities(context)
|
||||
)
|
||||
Log.i(TAG, decision.logMessage())
|
||||
return decision
|
||||
}
|
||||
|
||||
fun getDv7FallbackMode(context: Context): DvConversionMode = getDv7FallbackDecision(context).mode
|
||||
|
||||
private fun getCurrentDisplay(context: Context): Display? = if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.R) {
|
||||
context.display
|
||||
} else {
|
||||
@Suppress("DEPRECATION")
|
||||
(context.getSystemService(Context.WINDOW_SERVICE) as? WindowManager)?.defaultDisplay
|
||||
}
|
||||
|
||||
private fun describeDolbyVisionDecoders(): String {
|
||||
if (dolbyVisionDecoders.isEmpty()) return "none"
|
||||
return dolbyVisionDecoders.joinToString { decoder ->
|
||||
val profiles = if (decoder.profileLevels.isEmpty()) {
|
||||
"none"
|
||||
} else {
|
||||
decoder.profileLevels.joinToString(prefix = "[", postfix = "]") {
|
||||
"${describeDvProfile(it.profile)}/${describeDvLevel(it.level)}"
|
||||
}
|
||||
}
|
||||
"${decoder.name}(${decoder.mimeType}, profiles=$profiles)"
|
||||
}
|
||||
}
|
||||
|
||||
private fun describeHdrTypes(hdrTypes: IntArray): String {
|
||||
if (hdrTypes.isEmpty()) return "none"
|
||||
return hdrTypes.joinToString(prefix = "[", postfix = "]") { type ->
|
||||
when (type) {
|
||||
Display.HdrCapabilities.HDR_TYPE_DOLBY_VISION -> "DOLBY_VISION"
|
||||
Display.HdrCapabilities.HDR_TYPE_HDR10 -> "HDR10"
|
||||
Display.HdrCapabilities.HDR_TYPE_HLG -> "HLG"
|
||||
Display.HdrCapabilities.HDR_TYPE_HDR10_PLUS -> "HDR10_PLUS"
|
||||
else -> "unknown(${hex(type)})"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private fun describeDisplayHdrCapabilities(display: Display): String {
|
||||
val hdrCapabilities = display.hdrCapabilities
|
||||
val parts = mutableListOf(
|
||||
"display=${display.displayId}:${display.name}",
|
||||
"activeMode=${describeDisplayMode(display.mode)}",
|
||||
"hdrCapabilities=${describeHdrTypes(hdrCapabilities.supportedHdrTypes)}",
|
||||
"desiredLuminance=max=${formatLuminance(hdrCapabilities.desiredMaxLuminance)}, " +
|
||||
"maxAvg=${formatLuminance(hdrCapabilities.desiredMaxAverageLuminance)}, " +
|
||||
"min=${formatLuminance(hdrCapabilities.desiredMinLuminance)}"
|
||||
)
|
||||
parts += "supportedModes=${display.supportedModes.joinToString(prefix = "[", postfix = "]") { describeDisplayMode(it) }}"
|
||||
return parts.joinToString(prefix = "{", postfix = "}")
|
||||
}
|
||||
|
||||
private fun describeDisplayMode(mode: Display.Mode): String {
|
||||
val hdr = if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S) {
|
||||
", hdr=${describeHdrTypes(mode.supportedHdrTypes)}"
|
||||
} else {
|
||||
""
|
||||
}
|
||||
return "#${mode.modeId} ${mode.physicalWidth}x${mode.physicalHeight}@${mode.refreshRate}Hz$hdr"
|
||||
}
|
||||
|
||||
private fun formatLuminance(value: Float): String = if (value.isNaN() || value <= 0f) "unknown" else "${value}nits"
|
||||
|
||||
private fun describeDvProfile(profile: Int): String = when (profile) {
|
||||
MediaCodecInfo.CodecProfileLevel.DolbyVisionProfileDvavPer -> "P0/DvavPer"
|
||||
MediaCodecInfo.CodecProfileLevel.DolbyVisionProfileDvavPen -> "P1/DvavPen"
|
||||
MediaCodecInfo.CodecProfileLevel.DolbyVisionProfileDvheDer -> "P2/DvheDer"
|
||||
MediaCodecInfo.CodecProfileLevel.DolbyVisionProfileDvheDen -> "P3/DvheDen"
|
||||
MediaCodecInfo.CodecProfileLevel.DolbyVisionProfileDvheDtr -> "P4/DvheDtr"
|
||||
MediaCodecInfo.CodecProfileLevel.DolbyVisionProfileDvheStn -> "P5/DvheStn"
|
||||
MediaCodecInfo.CodecProfileLevel.DolbyVisionProfileDvheDth -> "P6/DvheDth"
|
||||
MediaCodecInfo.CodecProfileLevel.DolbyVisionProfileDvheDtb -> "P7/DvheDtb"
|
||||
MediaCodecInfo.CodecProfileLevel.DolbyVisionProfileDvheSt -> "P8/DvheSt"
|
||||
MediaCodecInfo.CodecProfileLevel.DolbyVisionProfileDvavSe -> "P9/DvavSe"
|
||||
else -> "unknown(${hex(profile)})"
|
||||
}
|
||||
|
||||
private fun describeDvLevel(level: Int): String = when (level) {
|
||||
MediaCodecInfo.CodecProfileLevel.DolbyVisionLevelHd24 -> "L1/Hd24"
|
||||
MediaCodecInfo.CodecProfileLevel.DolbyVisionLevelHd30 -> "L2/Hd30"
|
||||
MediaCodecInfo.CodecProfileLevel.DolbyVisionLevelFhd24 -> "L3/Fhd24"
|
||||
MediaCodecInfo.CodecProfileLevel.DolbyVisionLevelFhd30 -> "L4/Fhd30"
|
||||
MediaCodecInfo.CodecProfileLevel.DolbyVisionLevelFhd60 -> "L5/Fhd60"
|
||||
MediaCodecInfo.CodecProfileLevel.DolbyVisionLevelUhd24 -> "L6/Uhd24"
|
||||
MediaCodecInfo.CodecProfileLevel.DolbyVisionLevelUhd30 -> "L7/Uhd30"
|
||||
MediaCodecInfo.CodecProfileLevel.DolbyVisionLevelUhd48 -> "L8/Uhd48"
|
||||
MediaCodecInfo.CodecProfileLevel.DolbyVisionLevelUhd60 -> "L9/Uhd60"
|
||||
MediaCodecInfo.CodecProfileLevel.DolbyVisionLevelUhd120 -> "L10/Uhd120"
|
||||
MediaCodecInfo.CodecProfileLevel.DolbyVisionLevel8k30 -> "L11/8k30"
|
||||
MediaCodecInfo.CodecProfileLevel.DolbyVisionLevel8k60 -> "L12/8k60"
|
||||
else -> "unknown(${hex(level)})"
|
||||
}
|
||||
|
||||
private fun hex(value: Int): String = "0x${value.toString(16)}"
|
||||
|
||||
fun convertRpuNalu(
|
||||
payload: ByteArray,
|
||||
payloadOffset: Int,
|
||||
|
||||
@@ -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
|
||||
@@ -10,9 +11,10 @@ import androidx.media3.extractor.TrackOutput
|
||||
/**
|
||||
* TrackOutput wrapper that processes DV Profile 7 HEVC samples based on conversion mode:
|
||||
*
|
||||
* - DV81: Convert RPU NALs via libdovi to Profile 8.1, present as video/dolby-vision
|
||||
* with dvhe.08.XX codec string. Preserves dynamic tone mapping metadata.
|
||||
* - HEVC_STRIP: Strip all DV enhancement layers, present as plain video/hevc.
|
||||
* - DV81: Convert RPU NALs via libdovi mode 2 to Profile 8.1, present as
|
||||
* video/dolby-vision with dvhe.08.XX codec string. Conversion failures drop
|
||||
* that RPU instead of forwarding Profile 7 metadata into a Profile 8.1 stream.
|
||||
* - HEVC_STRIP: Strip DV RPU/EL NALs, present as plain video/hevc.
|
||||
*
|
||||
* Two modes of NAL framing (auto-detected):
|
||||
* - Annex B (MKV path): MatroskaExtractor outputs 00 00 00 01 start codes
|
||||
@@ -21,14 +23,14 @@ import androidx.media3.extractor.TrackOutput
|
||||
* NAL processing:
|
||||
* - Type 62 (UNSPEC62): DV RPU → convert (DV81) or strip (HEVC_STRIP)
|
||||
* - Type 63 (UNSPEC63): DV Enhancement Layer → strip
|
||||
* - nuh_layer_id > 0: Enhancement layer NAL → strip
|
||||
* - All retained NALs: normalize nuh_layer_id to 0
|
||||
* - All other NALs: pass through unchanged, matching Kodi's compatibility path
|
||||
*
|
||||
* All buffers are reused across samples to minimize GC pressure on the hot path.
|
||||
*/
|
||||
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,12 @@ class DoviConvertingTrackOutput(
|
||||
private set
|
||||
var strippedNalCount = 0L
|
||||
private set
|
||||
var strippedRpuNalCount = 0L
|
||||
private set
|
||||
var strippedElNalCount = 0L
|
||||
private set
|
||||
var strippedInitNalCount = 0L
|
||||
private set
|
||||
var convertedRpuCount = 0L
|
||||
private set
|
||||
var rpuConversionFailureCount = 0L
|
||||
@@ -69,59 +77,54 @@ 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")) {
|
||||
if (isDvProfile7Codec(codecs)) {
|
||||
val codecString = codecs ?: ""
|
||||
conversionActive = true
|
||||
Log.i(TAG, "DV Profile 7 detected ($codecs), mode=$dvMode")
|
||||
Log.i(
|
||||
TAG,
|
||||
"Original format: mime=${format.sampleMimeType}, codecs=$codecs, " +
|
||||
logInfo("DV Profile 7 detected ($codecString), mode=$dvMode")
|
||||
when (dvMode) {
|
||||
DvConversionMode.DV81 -> logInfo("DV81: Kodi-style libdovi conversion (convert RPU type 62, drop EL type 63)")
|
||||
DvConversionMode.HEVC_STRIP -> logInfo("HEVC_STRIP: Kodi-compatible strip (drop RPU type 62 and EL type 63 only)")
|
||||
else -> Unit
|
||||
}
|
||||
logInfo(
|
||||
"Original format: mime=${format.sampleMimeType}, codecs=$codecString, " +
|
||||
"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 -> {
|
||||
// Parse DV level from codec string: "dvhe.07.06" → 6
|
||||
val level = codecs.split('.').getOrNull(2)?.toIntOrNull() ?: 6
|
||||
val level = codecString.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 +182,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 +213,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 +290,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 +337,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 +345,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()) {
|
||||
@@ -307,7 +370,6 @@ class DoviConvertingTrackOutput(
|
||||
System.arraycopy(ANNEX_B_START_CODE, 0, outputBuf, outputLen, 4)
|
||||
outputLen += 4
|
||||
System.arraycopy(sampleBuf, nalStart, outputBuf, outputLen, nalLen)
|
||||
normalizeLayerId(outputBuf, outputLen)
|
||||
outputLen += nalLen
|
||||
kept++
|
||||
} else if (action == NalAction.CONVERT) {
|
||||
@@ -315,23 +377,22 @@ class DoviConvertingTrackOutput(
|
||||
if (convertedLen >= 0) {
|
||||
System.arraycopy(ANNEX_B_START_CODE, 0, outputBuf, outputLen, 4)
|
||||
outputLen += 4
|
||||
normalizeLayerId(outputBuf, outputLen)
|
||||
outputLen += convertedLen
|
||||
convertedRpuCount++
|
||||
kept++
|
||||
} else {
|
||||
strippedNalCount++
|
||||
recordStrippedNal(action)
|
||||
stripped++
|
||||
}
|
||||
} else {
|
||||
strippedNalCount++
|
||||
recordStrippedNal(action)
|
||||
stripped++
|
||||
}
|
||||
}
|
||||
|
||||
// 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 +401,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 +409,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
|
||||
}
|
||||
@@ -375,7 +436,6 @@ class DoviConvertingTrackOutput(
|
||||
writeInt32BE(outputBuf, outputLen, nalLen)
|
||||
outputLen += 4
|
||||
System.arraycopy(sampleBuf, nalStart, outputBuf, outputLen, nalLen)
|
||||
normalizeLayerId(outputBuf, outputLen)
|
||||
outputLen += nalLen
|
||||
kept++
|
||||
} else if (action == NalAction.CONVERT) {
|
||||
@@ -383,16 +443,15 @@ class DoviConvertingTrackOutput(
|
||||
if (convertedLen >= 0) {
|
||||
writeInt32BE(outputBuf, outputLen, convertedLen)
|
||||
outputLen += 4
|
||||
normalizeLayerId(outputBuf, outputLen)
|
||||
outputLen += convertedLen
|
||||
convertedRpuCount++
|
||||
kept++
|
||||
} else {
|
||||
strippedNalCount++
|
||||
recordStrippedNal(action)
|
||||
stripped++
|
||||
}
|
||||
} else {
|
||||
strippedNalCount++
|
||||
recordStrippedNal(action)
|
||||
stripped++
|
||||
}
|
||||
|
||||
@@ -401,15 +460,24 @@ 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"
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
private enum class NalAction { KEEP, STRIP, CONVERT }
|
||||
private enum class NalAction { KEEP, STRIP_RPU, STRIP_EL, CONVERT }
|
||||
|
||||
private fun recordStrippedNal(action: NalAction) {
|
||||
strippedNalCount++
|
||||
// CONVERT reaches here only after conversion fails; raw P7 RPUs are not safe in P8.1 output.
|
||||
when (action) {
|
||||
NalAction.STRIP_RPU, NalAction.CONVERT -> strippedRpuNalCount++
|
||||
NalAction.STRIP_EL -> strippedElNalCount++
|
||||
NalAction.KEEP -> Unit
|
||||
}
|
||||
}
|
||||
|
||||
private fun convertRpuIntoOutput(nalStart: Int, nalLen: Int, outputOffset: Int): Int {
|
||||
ensureOutputCapacity(outputOffset + MAX_CONVERTED_RPU_SIZE)
|
||||
@@ -449,8 +517,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,23 +525,126 @@ class DoviConvertingTrackOutput(
|
||||
}
|
||||
}
|
||||
|
||||
/** Classify a NAL at sampleBuf[offset..offset+len) without copying. */
|
||||
private fun processNalInline(offset: Int, len: Int): 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)
|
||||
return when {
|
||||
nalType == NAL_TYPE_UNSPEC62 && dvMode == DvConversionMode.DV81 -> NalAction.CONVERT
|
||||
nalType == NAL_TYPE_UNSPEC62 || nalType == NAL_TYPE_UNSPEC63 || nuhLayerId > 0 -> NalAction.STRIP
|
||||
else -> NalAction.KEEP
|
||||
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 normalizeLayerId(data: ByteArray, offset: Int) {
|
||||
if (data.size - offset >= 2) {
|
||||
data[offset] = (data[offset].toInt() and 0xFE).toByte()
|
||||
data[offset + 1] = (data[offset + 1].toInt() and 0x07).toByte()
|
||||
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)
|
||||
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 = classifyNal(sampleBuf, offset, len, convertRpu = dvMode == DvConversionMode.DV81)
|
||||
|
||||
private fun isDvProfile7Codec(codecs: String?): Boolean {
|
||||
val normalized = codecs?.lowercase() ?: return false
|
||||
return normalized.startsWith("dvhe.07") || normalized.startsWith("dvh1.07")
|
||||
}
|
||||
|
||||
private fun classifyNal(data: ByteArray, offset: Int, len: Int, convertRpu: Boolean): NalAction {
|
||||
if (len < 2) return NalAction.KEEP
|
||||
val nalType = (data[offset].toInt() ushr 1) and 0x3F
|
||||
return when {
|
||||
nalType == NAL_TYPE_UNSPEC62 && convertRpu -> NalAction.CONVERT
|
||||
nalType == NAL_TYPE_UNSPEC62 -> NalAction.STRIP_RPU
|
||||
nalType == NAL_TYPE_UNSPEC63 -> NalAction.STRIP_EL
|
||||
else -> NalAction.KEEP
|
||||
}
|
||||
}
|
||||
|
||||
@@ -485,6 +655,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 +684,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)
|
||||
|
||||
@@ -148,6 +148,7 @@ class ExoPlayerPlugin :
|
||||
}
|
||||
"setSubtitleStyle" -> handleSetSubtitleStyle(call, result)
|
||||
"setBoxFitMode" -> handleSetBoxFitMode(call, result)
|
||||
"setVideoZoom" -> handleSetVideoZoom(call, result)
|
||||
"setDvConversionMode" -> handleSetDvConversionMode(call, result)
|
||||
"observeProperty" -> handleObserveProperty(call, result)
|
||||
"setMpvProperty" -> handleSetMpvProperty(call, result)
|
||||
@@ -180,6 +181,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 +203,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)
|
||||
@@ -235,7 +240,7 @@ class ExoPlayerPlugin :
|
||||
val startPositionMs = call.argument<Number>("startPositionMs")?.toLong() ?: 0L
|
||||
val autoPlay = call.argument<Boolean>("autoPlay") ?: true
|
||||
val isLive = call.argument<Boolean>("isLive") ?: false
|
||||
val externalSubtitles = call.argument<List<Map<String, String?>>>("externalSubtitles")
|
||||
val externalSubtitles = call.argument<List<Map<String, Any?>>>("externalSubtitles")
|
||||
|
||||
if (uri == null) {
|
||||
result.error("INVALID_ARGS", "Missing 'uri'", null)
|
||||
@@ -255,6 +260,8 @@ class ExoPlayerPlugin :
|
||||
val options = mutableListOf<String>()
|
||||
options.add("start=$startSeconds")
|
||||
if (!autoPlay) options.add("pause=yes")
|
||||
options.add("sid=no")
|
||||
options.add("secondary-sid=no")
|
||||
headers?.forEach { (key, value) ->
|
||||
options.add("http-header-fields-append=$key: $value")
|
||||
}
|
||||
@@ -546,6 +553,22 @@ class ExoPlayerPlugin :
|
||||
} ?: result.success(null)
|
||||
}
|
||||
|
||||
private fun handleSetVideoZoom(call: MethodCall, result: MethodChannel.Result) {
|
||||
val scale = call.argument<Number>("scale")?.toDouble()
|
||||
if (scale == null) {
|
||||
result.error("INVALID_ARGS", "Missing 'scale'", null)
|
||||
return
|
||||
}
|
||||
if (usingMpvFallback) {
|
||||
result.success(null)
|
||||
return
|
||||
}
|
||||
activity?.runOnUiThread {
|
||||
playerCore?.setVideoZoom(scale)
|
||||
result.success(null)
|
||||
} ?: result.success(null)
|
||||
}
|
||||
|
||||
private fun handleSetDvConversionMode(call: MethodCall, result: MethodChannel.Result) {
|
||||
val mode = call.argument<String>("mode")
|
||||
if (mode == null) {
|
||||
|
||||
@@ -4,6 +4,7 @@ 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.PlaybackParameters
|
||||
import androidx.media3.common.util.Clock
|
||||
import androidx.media3.common.util.UnstableApi
|
||||
@@ -27,6 +28,14 @@ class PlezyRenderersFactory(context: Context) : DefaultRenderersFactory(context)
|
||||
/** Audio delay in microseconds. Shared with PositionFixAudioSink for live updates. */
|
||||
val audioDelayUs = AtomicLong(0L)
|
||||
|
||||
/** Returns whether direct encoded output should be hidden so decoded PCM output can be selected. */
|
||||
var shouldBlockDirectAudioOutput: ((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 +60,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,
|
||||
shouldBlockDirectAudioOutput,
|
||||
onAudioCapabilitiesChanged,
|
||||
audioDiagnosticsLogger
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -83,7 +99,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 shouldBlockDirectAudioOutput: ((Format) -> Boolean)?,
|
||||
private val onAudioCapabilitiesChanged: (() -> Unit)?,
|
||||
private val log: ((String, String, String) -> Unit)?
|
||||
) : ForwardingAudioSink(sink) {
|
||||
|
||||
private var startMediaTimeUs = Long.MIN_VALUE
|
||||
@@ -97,12 +116,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 val loggedDirectBlockMimeTypes = mutableSetOf<String>()
|
||||
private var loggedFirstBuffer = false
|
||||
|
||||
override fun supportsFormat(format: Format): Boolean {
|
||||
if (blocksDirectAudioOutput(format)) return false
|
||||
return super.supportsFormat(format)
|
||||
}
|
||||
|
||||
override fun getFormatSupport(format: Format): Int {
|
||||
if (blocksDirectAudioOutput(format)) return AudioSink.SINK_FORMAT_UNSUPPORTED
|
||||
return super.getFormatSupport(format)
|
||||
}
|
||||
|
||||
private fun blocksDirectAudioOutput(format: Format): Boolean {
|
||||
if (shouldBlockDirectAudioOutput?.invoke(format) != true) return false
|
||||
val mimeType = format.sampleMimeType ?: "unknown"
|
||||
if (loggedDirectBlockMimeTypes.add(mimeType)) {
|
||||
log?.invoke(
|
||||
"info",
|
||||
"audio",
|
||||
"Blocking direct $mimeType output; 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 +215,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 +290,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 +312,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 +341,15 @@ 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
|
||||
private var failed = false
|
||||
|
||||
override fun getPositionUs(): Long {
|
||||
val pos = delegate.getPositionUs()
|
||||
rawPositionUs.set(pos)
|
||||
@@ -298,10 +360,37 @@ 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 = try {
|
||||
delegate.write(buffer, size, presentationTimeUs)
|
||||
} catch (e: AudioOutput.WriteException) {
|
||||
failed = true
|
||||
rawPositionUs.set(Long.MIN_VALUE)
|
||||
log?.invoke("warn", "audio-output", "Write failed; AudioTrack will not be reused: ${e.message}")
|
||||
throw e
|
||||
}
|
||||
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()
|
||||
}
|
||||
|
||||
@@ -309,6 +398,10 @@ private class RawPositionAudioOutput(
|
||||
|
||||
override fun release() {
|
||||
rawPositionUs.set(Long.MIN_VALUE)
|
||||
if (failed) {
|
||||
delegate.release()
|
||||
return
|
||||
}
|
||||
if (Build.VERSION.SDK_INT >= 25) {
|
||||
delegate.stop()
|
||||
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 }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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: [
|
||||
|
||||
@@ -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
|
||||
|
||||
|
After Width: | Height: | Size: 121 KiB |
@@ -1,15 +0,0 @@
|
||||
## iOS
|
||||
|
||||
| Home | Library | Media Card | Season |
|
||||
|------|---------|------------|--------|
|
||||
|  |  |  |  |
|
||||
|
||||
## macOS
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||

|
||||
|
||||

|
||||
|
Before Width: | Height: | Size: 3.8 MiB |
|
Before Width: | Height: | Size: 2.4 MiB |
|
Before Width: | Height: | Size: 2.6 MiB |
|
Before Width: | Height: | Size: 1.7 MiB |
|
Before Width: | Height: | Size: 4.4 MiB |
|
Before Width: | Height: | Size: 3.4 MiB |
|
Before Width: | Height: | Size: 3.0 MiB |
|
Before Width: | Height: | Size: 1.2 MiB |
@@ -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
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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 = 6f711b36920b37d22e81353dda5a7df7965b1a44;
|
||||
};
|
||||
};
|
||||
/* 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" : "6f711b36920b37d22e81353dda5a7df7965b1a44"
|
||||
}
|
||||
},
|
||||
{
|
||||
"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 "$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh" prepare ">
|
||||
<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" : "6f711b36920b37d22e81353dda5a7df7965b1a44"
|
||||
}
|
||||
},
|
||||
{
|
||||
"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
|
||||
}
|
||||
|
||||
@@ -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,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)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
@@ -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":
|
||||
@@ -186,6 +188,7 @@ class MpvPlayerPlugin: NSObject, FlutterPlugin, FlutterStreamHandler, MpvPluginS
|
||||
guard let playerCore = playerCore else { return nil }
|
||||
guard let pip = ensurePipController() else { return nil }
|
||||
pendingInlineRestoreAfterPip = false
|
||||
playerCore.setPipSubtitleCompositing(true)
|
||||
playerCore.isPipStarting = true
|
||||
pip.syncTimebase(currentTime: playerCore.timePos, isPlaying: !playerCore.isPaused)
|
||||
pip.invalidatePlaybackState()
|
||||
@@ -230,6 +233,7 @@ class MpvPlayerPlugin: NSObject, FlutterPlugin, FlutterStreamHandler, MpvPluginS
|
||||
|
||||
/// Unified cleanup for all PiP exit paths
|
||||
private func cleanupPip(notify: Bool, pause: Bool = false) {
|
||||
playerCore?.setPipSubtitleCompositing(false)
|
||||
playerCore?.isPipStarting = false
|
||||
playerCore?.isPipActive = false
|
||||
isManualPipRequest = false
|
||||
@@ -363,6 +367,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 +506,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()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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(
|
||||
|
||||
@@ -200,9 +200,13 @@ class JellyfinConnection extends Connection {
|
||||
@override
|
||||
final DateTime? lastAuthenticatedAt;
|
||||
|
||||
/// Server base URL, no trailing slash. e.g. `https://jellyfin.home.lan`.
|
||||
/// Active server base URL, no trailing slash. e.g. `https://jellyfin.home.lan`.
|
||||
final String baseUrl;
|
||||
|
||||
/// Candidate server URLs for this Jellyfin server, with [baseUrl] first.
|
||||
/// Existing installs only have [baseUrl]; deserialization backfills this.
|
||||
final List<String> baseUrls;
|
||||
|
||||
/// Server's reported name (System/Info).
|
||||
final String serverName;
|
||||
|
||||
@@ -230,6 +234,7 @@ class JellyfinConnection extends Connection {
|
||||
JellyfinConnection({
|
||||
required this.id,
|
||||
required this.baseUrl,
|
||||
List<String>? baseUrls,
|
||||
required this.serverName,
|
||||
required this.serverMachineId,
|
||||
required this.userId,
|
||||
@@ -240,7 +245,7 @@ class JellyfinConnection extends Connection {
|
||||
this.status = ConnectionStatus.unknown,
|
||||
required this.createdAt,
|
||||
this.lastAuthenticatedAt,
|
||||
});
|
||||
}) : baseUrls = _normalizeBaseUrls(baseUrl, baseUrls);
|
||||
|
||||
@override
|
||||
ConnectionKind get kind => ConnectionKind.jellyfin;
|
||||
@@ -252,16 +257,38 @@ class JellyfinConnection extends Connection {
|
||||
String get displayLabel => serverName;
|
||||
|
||||
@override
|
||||
String? get displaySubtitle => '$userName · ${_truncateUrl(baseUrl)}';
|
||||
String? get displaySubtitle {
|
||||
final extraCount = baseUrls.length - 1;
|
||||
final suffix = extraCount > 0 ? ' +$extraCount' : '';
|
||||
return '$userName · ${_truncateUrl(baseUrl)}$suffix';
|
||||
}
|
||||
|
||||
static String _truncateUrl(String url) {
|
||||
if (url.length <= 40) return url;
|
||||
return '${url.substring(0, 37)}…';
|
||||
}
|
||||
|
||||
static List<String> _normalizeBaseUrls(String activeBaseUrl, List<String>? urls) {
|
||||
final result = <String>[];
|
||||
final seen = <String>{};
|
||||
|
||||
void add(String url) {
|
||||
final trimmed = url.trim();
|
||||
if (trimmed.isEmpty || !seen.add(trimmed)) return;
|
||||
result.add(trimmed);
|
||||
}
|
||||
|
||||
add(activeBaseUrl);
|
||||
for (final url in urls ?? const <String>[]) {
|
||||
add(url);
|
||||
}
|
||||
return List.unmodifiable(result);
|
||||
}
|
||||
|
||||
JellyfinConnection copyWith({
|
||||
String? id,
|
||||
String? baseUrl,
|
||||
List<String>? baseUrls,
|
||||
String? serverName,
|
||||
String? serverMachineId,
|
||||
String? userId,
|
||||
@@ -273,9 +300,11 @@ class JellyfinConnection extends Connection {
|
||||
DateTime? createdAt,
|
||||
DateTime? lastAuthenticatedAt,
|
||||
}) {
|
||||
final nextBaseUrl = baseUrl ?? this.baseUrl;
|
||||
return JellyfinConnection(
|
||||
id: id ?? this.id,
|
||||
baseUrl: baseUrl ?? this.baseUrl,
|
||||
baseUrl: nextBaseUrl,
|
||||
baseUrls: baseUrls ?? this.baseUrls,
|
||||
serverName: serverName ?? this.serverName,
|
||||
serverMachineId: serverMachineId ?? this.serverMachineId,
|
||||
userId: userId ?? this.userId,
|
||||
@@ -293,6 +322,7 @@ class JellyfinConnection extends Connection {
|
||||
Map<String, Object?> toConfigJson() {
|
||||
return {
|
||||
'baseUrl': baseUrl,
|
||||
'baseUrls': baseUrls,
|
||||
'serverName': serverName,
|
||||
'serverMachineId': serverMachineId,
|
||||
'userId': userId,
|
||||
@@ -310,9 +340,16 @@ class JellyfinConnection extends Connection {
|
||||
required DateTime createdAt,
|
||||
DateTime? lastAuthenticatedAt,
|
||||
}) {
|
||||
final rawBaseUrls = json['baseUrls'];
|
||||
final baseUrls = rawBaseUrls is List ? rawBaseUrls.whereType<String>().toList(growable: false) : const <String>[];
|
||||
final rawBaseUrl = json['baseUrl'] as String?;
|
||||
final baseUrl = rawBaseUrl != null && rawBaseUrl.isNotEmpty
|
||||
? rawBaseUrl
|
||||
: (baseUrls.isNotEmpty ? baseUrls.first : '');
|
||||
return JellyfinConnection(
|
||||
id: id,
|
||||
baseUrl: json['baseUrl'] as String? ?? '',
|
||||
baseUrl: baseUrl,
|
||||
baseUrls: baseUrls,
|
||||
serverName: json['serverName'] as String? ?? 'Jellyfin',
|
||||
serverMachineId: json['serverMachineId'] as String? ?? '',
|
||||
userId: json['userId'] as String? ?? '',
|
||||
|
||||
@@ -60,7 +60,7 @@ class AppDatabase extends _$AppDatabase {
|
||||
AppDatabase.forTesting(super.e);
|
||||
|
||||
@override
|
||||
int get schemaVersion => 14;
|
||||
int get schemaVersion => 15;
|
||||
|
||||
@override
|
||||
MigrationStrategy get migration {
|
||||
@@ -206,6 +206,13 @@ class AppDatabase extends _$AppDatabase {
|
||||
() => m.create(idxOfflineWatchProgressProfile),
|
||||
);
|
||||
}
|
||||
if (from < 15) {
|
||||
appLogger.i('Adding mediaSourceId column to DownloadedMedia (v15 migration)');
|
||||
await _ignoreAlreadyExists(
|
||||
'DownloadedMedia.mediaSourceId column',
|
||||
() => m.addColumn(downloadedMedia, downloadedMedia.mediaSourceId),
|
||||
);
|
||||
}
|
||||
},
|
||||
);
|
||||
}
|
||||
@@ -277,11 +284,57 @@ class AppDatabase extends _$AppDatabase {
|
||||
(filterProfile ? _nullableTextPredicate(t.profileId, profileId) : const Constant(true)) &
|
||||
(filterClientScope ? _clientScopePredicate(t.clientScopeId, clientScopeId) : const Constant(true)),
|
||||
)
|
||||
..orderBy([(t) => OrderingTerm.desc(t.updatedAt)])
|
||||
..orderBy([(t) => OrderingTerm.desc(t.updatedAt), (t) => OrderingTerm.desc(t.id)])
|
||||
..limit(1))
|
||||
.getSingleOrNull();
|
||||
}
|
||||
|
||||
Future<List<OfflineWatchProgressItem>> getWatchActionsForKey(
|
||||
String globalKey, {
|
||||
String? profileId,
|
||||
bool filterProfile = false,
|
||||
String? clientScopeId,
|
||||
bool filterClientScope = false,
|
||||
}) {
|
||||
return (select(offlineWatchProgress)
|
||||
..where(
|
||||
(t) =>
|
||||
t.globalKey.equals(globalKey) &
|
||||
(filterProfile ? _nullableTextPredicate(t.profileId, profileId) : const Constant(true)) &
|
||||
(filterClientScope ? _clientScopePredicate(t.clientScopeId, clientScopeId) : const Constant(true)),
|
||||
)
|
||||
..orderBy([(t) => OrderingTerm.desc(t.updatedAt), (t) => OrderingTerm.desc(t.id)]))
|
||||
.get();
|
||||
}
|
||||
|
||||
Future<Map<String, List<OfflineWatchProgressItem>>> getWatchActionsForKeys(
|
||||
Set<String> globalKeys, {
|
||||
String? profileId,
|
||||
bool filterProfile = false,
|
||||
Map<String, String?>? clientScopeIdsByGlobalKey,
|
||||
}) async {
|
||||
if (globalKeys.isEmpty) return const {};
|
||||
final rows =
|
||||
await (select(offlineWatchProgress)
|
||||
..where(
|
||||
(t) =>
|
||||
t.globalKey.isIn(globalKeys) &
|
||||
(filterProfile ? _nullableTextPredicate(t.profileId, profileId) : const Constant(true)),
|
||||
)
|
||||
..orderBy([(t) => OrderingTerm.desc(t.updatedAt), (t) => OrderingTerm.desc(t.id)]))
|
||||
.get();
|
||||
|
||||
final result = <String, List<OfflineWatchProgressItem>>{};
|
||||
for (final action in rows) {
|
||||
if (clientScopeIdsByGlobalKey != null && clientScopeIdsByGlobalKey.containsKey(action.globalKey)) {
|
||||
final expectedScope = clientScopeIdsByGlobalKey[action.globalKey];
|
||||
if (!_clientScopeValuesMatch(action.clientScopeId, expectedScope)) continue;
|
||||
}
|
||||
result.putIfAbsent(action.globalKey, () => <OfflineWatchProgressItem>[]).add(action);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
/// Get the latest actions for multiple items in a single query
|
||||
///
|
||||
/// Returns a map of globalKey -> latest action for each key.
|
||||
@@ -302,7 +355,7 @@ class AppDatabase extends _$AppDatabase {
|
||||
t.globalKey.isIn(globalKeys) &
|
||||
(filterProfile ? _nullableTextPredicate(t.profileId, profileId) : const Constant(true)),
|
||||
)
|
||||
..orderBy([(t) => OrderingTerm.desc(t.updatedAt)]))
|
||||
..orderBy([(t) => OrderingTerm.desc(t.updatedAt), (t) => OrderingTerm.desc(t.id)]))
|
||||
.get();
|
||||
|
||||
// Group by globalKey and take the latest (first due to ordering)
|
||||
@@ -332,55 +385,59 @@ class AppDatabase extends _$AppDatabase {
|
||||
String? clientScopeId,
|
||||
required String ratingKey,
|
||||
required int viewOffset,
|
||||
required int duration,
|
||||
required int? duration,
|
||||
required bool shouldMarkWatched,
|
||||
}) async {
|
||||
final globalKey = buildGlobalKey(serverId, ratingKey);
|
||||
final now = DateTime.now().millisecondsSinceEpoch;
|
||||
|
||||
// Check for existing progress entry
|
||||
final existing =
|
||||
await (select(offlineWatchProgress)
|
||||
..where(
|
||||
(t) =>
|
||||
t.globalKey.equals(globalKey) &
|
||||
_nullableTextPredicate(t.profileId, profileId) &
|
||||
_clientScopePredicate(t.clientScopeId, clientScopeId) &
|
||||
t.actionType.equals(OfflineActionType.progress.id),
|
||||
)
|
||||
..limit(1))
|
||||
.getSingleOrNull();
|
||||
await transaction(() async {
|
||||
final existing =
|
||||
await (select(offlineWatchProgress)
|
||||
..where(
|
||||
(t) =>
|
||||
t.globalKey.equals(globalKey) &
|
||||
_nullableTextPredicate(t.profileId, profileId) &
|
||||
_clientScopePredicate(t.clientScopeId, clientScopeId) &
|
||||
t.actionType.equals(OfflineActionType.progress.id),
|
||||
)
|
||||
..orderBy([(t) => OrderingTerm.asc(t.id)]))
|
||||
.get();
|
||||
|
||||
if (existing != null) {
|
||||
// Update existing progress entry
|
||||
await (update(offlineWatchProgress)..where((t) => t.id.equals(existing.id))).write(
|
||||
OfflineWatchProgressCompanion(
|
||||
viewOffset: Value(viewOffset),
|
||||
duration: Value(duration),
|
||||
shouldMarkWatched: Value(shouldMarkWatched),
|
||||
profileId: Value(profileId),
|
||||
clientScopeId: Value(clientScopeId),
|
||||
updatedAt: Value(now),
|
||||
),
|
||||
);
|
||||
} else {
|
||||
// Insert new progress entry
|
||||
await into(offlineWatchProgress).insert(
|
||||
OfflineWatchProgressCompanion.insert(
|
||||
serverId: serverId,
|
||||
profileId: Value(profileId),
|
||||
clientScopeId: Value(clientScopeId),
|
||||
ratingKey: ratingKey,
|
||||
globalKey: globalKey,
|
||||
actionType: OfflineActionType.progress.id,
|
||||
viewOffset: Value(viewOffset),
|
||||
duration: Value(duration),
|
||||
shouldMarkWatched: Value(shouldMarkWatched),
|
||||
createdAt: now,
|
||||
updatedAt: now,
|
||||
),
|
||||
);
|
||||
}
|
||||
final keep = existing.isEmpty ? null : existing.first;
|
||||
if (keep != null) {
|
||||
await (update(offlineWatchProgress)..where((t) => t.id.equals(keep.id))).write(
|
||||
OfflineWatchProgressCompanion(
|
||||
viewOffset: Value(viewOffset),
|
||||
duration: Value(duration),
|
||||
shouldMarkWatched: Value(shouldMarkWatched),
|
||||
profileId: Value(profileId),
|
||||
clientScopeId: Value(clientScopeId),
|
||||
updatedAt: Value(now),
|
||||
),
|
||||
);
|
||||
final duplicateIds = existing.skip(1).map((row) => row.id).toList(growable: false);
|
||||
if (duplicateIds.isNotEmpty) {
|
||||
await (delete(offlineWatchProgress)..where((t) => t.id.isIn(duplicateIds))).go();
|
||||
}
|
||||
} else {
|
||||
await into(offlineWatchProgress).insert(
|
||||
OfflineWatchProgressCompanion.insert(
|
||||
serverId: serverId,
|
||||
profileId: Value(profileId),
|
||||
clientScopeId: Value(clientScopeId),
|
||||
ratingKey: ratingKey,
|
||||
globalKey: globalKey,
|
||||
actionType: OfflineActionType.progress.id,
|
||||
viewOffset: Value(viewOffset),
|
||||
duration: Value(duration),
|
||||
shouldMarkWatched: Value(shouldMarkWatched),
|
||||
createdAt: now,
|
||||
updatedAt: now,
|
||||
),
|
||||
);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
/// Insert a manual watch action (watched or unwatched).
|
||||
@@ -436,11 +493,14 @@ class AppDatabase extends _$AppDatabase {
|
||||
}
|
||||
|
||||
/// Get count of pending sync items
|
||||
Future<int> getPendingSyncCount({String? profileId}) async {
|
||||
Future<int> getPendingSyncCount({String? profileId, int? maxSyncAttempts}) async {
|
||||
final query = selectOnly(offlineWatchProgress)..addColumns([offlineWatchProgress.id.count()]);
|
||||
if (profileId != null) {
|
||||
query.where(offlineWatchProgress.profileId.equals(profileId));
|
||||
}
|
||||
if (maxSyncAttempts != null) {
|
||||
query.where(offlineWatchProgress.syncAttempts.isSmallerThanValue(maxSyncAttempts));
|
||||
}
|
||||
final count = await query.map((row) => row.read(offlineWatchProgress.id.count())).getSingle();
|
||||
return count ?? 0;
|
||||
}
|
||||
@@ -570,11 +630,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 +645,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);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -221,6 +221,17 @@ class $DownloadedMediaTable extends DownloadedMedia
|
||||
requiredDuringInsert: false,
|
||||
defaultValue: const Constant(0),
|
||||
);
|
||||
static const VerificationMeta _mediaSourceIdMeta = const VerificationMeta(
|
||||
'mediaSourceId',
|
||||
);
|
||||
@override
|
||||
late final GeneratedColumn<String> mediaSourceId = GeneratedColumn<String>(
|
||||
'media_source_id',
|
||||
aliasedName,
|
||||
true,
|
||||
type: DriftSqlType.string,
|
||||
requiredDuringInsert: false,
|
||||
);
|
||||
@override
|
||||
List<GeneratedColumn> get $columns => [
|
||||
id,
|
||||
@@ -242,6 +253,7 @@ class $DownloadedMediaTable extends DownloadedMedia
|
||||
retryCount,
|
||||
bgTaskId,
|
||||
mediaIndex,
|
||||
mediaSourceId,
|
||||
];
|
||||
@override
|
||||
String get aliasedName => _alias ?? actualTableName;
|
||||
@@ -397,6 +409,15 @@ class $DownloadedMediaTable extends DownloadedMedia
|
||||
mediaIndex.isAcceptableOrUnknown(data['media_index']!, _mediaIndexMeta),
|
||||
);
|
||||
}
|
||||
if (data.containsKey('media_source_id')) {
|
||||
context.handle(
|
||||
_mediaSourceIdMeta,
|
||||
mediaSourceId.isAcceptableOrUnknown(
|
||||
data['media_source_id']!,
|
||||
_mediaSourceIdMeta,
|
||||
),
|
||||
);
|
||||
}
|
||||
return context;
|
||||
}
|
||||
|
||||
@@ -482,6 +503,10 @@ class $DownloadedMediaTable extends DownloadedMedia
|
||||
DriftSqlType.int,
|
||||
data['${effectivePrefix}media_index'],
|
||||
)!,
|
||||
mediaSourceId: attachedDatabase.typeMapping.read(
|
||||
DriftSqlType.string,
|
||||
data['${effectivePrefix}media_source_id'],
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
@@ -512,6 +537,7 @@ class DownloadedMediaItem extends DataClass
|
||||
final int retryCount;
|
||||
final String? bgTaskId;
|
||||
final int mediaIndex;
|
||||
final String? mediaSourceId;
|
||||
const DownloadedMediaItem({
|
||||
required this.id,
|
||||
required this.serverId,
|
||||
@@ -532,6 +558,7 @@ class DownloadedMediaItem extends DataClass
|
||||
required this.retryCount,
|
||||
this.bgTaskId,
|
||||
required this.mediaIndex,
|
||||
this.mediaSourceId,
|
||||
});
|
||||
@override
|
||||
Map<String, Expression> toColumns(bool nullToAbsent) {
|
||||
@@ -573,6 +600,9 @@ class DownloadedMediaItem extends DataClass
|
||||
map['bg_task_id'] = Variable<String>(bgTaskId);
|
||||
}
|
||||
map['media_index'] = Variable<int>(mediaIndex);
|
||||
if (!nullToAbsent || mediaSourceId != null) {
|
||||
map['media_source_id'] = Variable<String>(mediaSourceId);
|
||||
}
|
||||
return map;
|
||||
}
|
||||
|
||||
@@ -615,6 +645,9 @@ class DownloadedMediaItem extends DataClass
|
||||
? const Value.absent()
|
||||
: Value(bgTaskId),
|
||||
mediaIndex: Value(mediaIndex),
|
||||
mediaSourceId: mediaSourceId == null && nullToAbsent
|
||||
? const Value.absent()
|
||||
: Value(mediaSourceId),
|
||||
);
|
||||
}
|
||||
|
||||
@@ -645,6 +678,7 @@ class DownloadedMediaItem extends DataClass
|
||||
retryCount: serializer.fromJson<int>(json['retryCount']),
|
||||
bgTaskId: serializer.fromJson<String?>(json['bgTaskId']),
|
||||
mediaIndex: serializer.fromJson<int>(json['mediaIndex']),
|
||||
mediaSourceId: serializer.fromJson<String?>(json['mediaSourceId']),
|
||||
);
|
||||
}
|
||||
@override
|
||||
@@ -670,6 +704,7 @@ class DownloadedMediaItem extends DataClass
|
||||
'retryCount': serializer.toJson<int>(retryCount),
|
||||
'bgTaskId': serializer.toJson<String?>(bgTaskId),
|
||||
'mediaIndex': serializer.toJson<int>(mediaIndex),
|
||||
'mediaSourceId': serializer.toJson<String?>(mediaSourceId),
|
||||
};
|
||||
}
|
||||
|
||||
@@ -693,6 +728,7 @@ class DownloadedMediaItem extends DataClass
|
||||
int? retryCount,
|
||||
Value<String?> bgTaskId = const Value.absent(),
|
||||
int? mediaIndex,
|
||||
Value<String?> mediaSourceId = const Value.absent(),
|
||||
}) => DownloadedMediaItem(
|
||||
id: id ?? this.id,
|
||||
serverId: serverId ?? this.serverId,
|
||||
@@ -721,6 +757,9 @@ class DownloadedMediaItem extends DataClass
|
||||
retryCount: retryCount ?? this.retryCount,
|
||||
bgTaskId: bgTaskId.present ? bgTaskId.value : this.bgTaskId,
|
||||
mediaIndex: mediaIndex ?? this.mediaIndex,
|
||||
mediaSourceId: mediaSourceId.present
|
||||
? mediaSourceId.value
|
||||
: this.mediaSourceId,
|
||||
);
|
||||
DownloadedMediaItem copyWithCompanion(DownloadedMediaCompanion data) {
|
||||
return DownloadedMediaItem(
|
||||
@@ -763,6 +802,9 @@ class DownloadedMediaItem extends DataClass
|
||||
mediaIndex: data.mediaIndex.present
|
||||
? data.mediaIndex.value
|
||||
: this.mediaIndex,
|
||||
mediaSourceId: data.mediaSourceId.present
|
||||
? data.mediaSourceId.value
|
||||
: this.mediaSourceId,
|
||||
);
|
||||
}
|
||||
|
||||
@@ -787,7 +829,8 @@ class DownloadedMediaItem extends DataClass
|
||||
..write('errorMessage: $errorMessage, ')
|
||||
..write('retryCount: $retryCount, ')
|
||||
..write('bgTaskId: $bgTaskId, ')
|
||||
..write('mediaIndex: $mediaIndex')
|
||||
..write('mediaIndex: $mediaIndex, ')
|
||||
..write('mediaSourceId: $mediaSourceId')
|
||||
..write(')'))
|
||||
.toString();
|
||||
}
|
||||
@@ -813,6 +856,7 @@ class DownloadedMediaItem extends DataClass
|
||||
retryCount,
|
||||
bgTaskId,
|
||||
mediaIndex,
|
||||
mediaSourceId,
|
||||
);
|
||||
@override
|
||||
bool operator ==(Object other) =>
|
||||
@@ -836,7 +880,8 @@ class DownloadedMediaItem extends DataClass
|
||||
other.errorMessage == this.errorMessage &&
|
||||
other.retryCount == this.retryCount &&
|
||||
other.bgTaskId == this.bgTaskId &&
|
||||
other.mediaIndex == this.mediaIndex);
|
||||
other.mediaIndex == this.mediaIndex &&
|
||||
other.mediaSourceId == this.mediaSourceId);
|
||||
}
|
||||
|
||||
class DownloadedMediaCompanion extends UpdateCompanion<DownloadedMediaItem> {
|
||||
@@ -859,6 +904,7 @@ class DownloadedMediaCompanion extends UpdateCompanion<DownloadedMediaItem> {
|
||||
final Value<int> retryCount;
|
||||
final Value<String?> bgTaskId;
|
||||
final Value<int> mediaIndex;
|
||||
final Value<String?> mediaSourceId;
|
||||
const DownloadedMediaCompanion({
|
||||
this.id = const Value.absent(),
|
||||
this.serverId = const Value.absent(),
|
||||
@@ -879,6 +925,7 @@ class DownloadedMediaCompanion extends UpdateCompanion<DownloadedMediaItem> {
|
||||
this.retryCount = const Value.absent(),
|
||||
this.bgTaskId = const Value.absent(),
|
||||
this.mediaIndex = const Value.absent(),
|
||||
this.mediaSourceId = const Value.absent(),
|
||||
});
|
||||
DownloadedMediaCompanion.insert({
|
||||
this.id = const Value.absent(),
|
||||
@@ -900,6 +947,7 @@ class DownloadedMediaCompanion extends UpdateCompanion<DownloadedMediaItem> {
|
||||
this.retryCount = const Value.absent(),
|
||||
this.bgTaskId = const Value.absent(),
|
||||
this.mediaIndex = const Value.absent(),
|
||||
this.mediaSourceId = const Value.absent(),
|
||||
}) : serverId = Value(serverId),
|
||||
ratingKey = Value(ratingKey),
|
||||
globalKey = Value(globalKey),
|
||||
@@ -925,6 +973,7 @@ class DownloadedMediaCompanion extends UpdateCompanion<DownloadedMediaItem> {
|
||||
Expression<int>? retryCount,
|
||||
Expression<String>? bgTaskId,
|
||||
Expression<int>? mediaIndex,
|
||||
Expression<String>? mediaSourceId,
|
||||
}) {
|
||||
return RawValuesInsertable({
|
||||
if (id != null) 'id': id,
|
||||
@@ -947,6 +996,7 @@ class DownloadedMediaCompanion extends UpdateCompanion<DownloadedMediaItem> {
|
||||
if (retryCount != null) 'retry_count': retryCount,
|
||||
if (bgTaskId != null) 'bg_task_id': bgTaskId,
|
||||
if (mediaIndex != null) 'media_index': mediaIndex,
|
||||
if (mediaSourceId != null) 'media_source_id': mediaSourceId,
|
||||
});
|
||||
}
|
||||
|
||||
@@ -970,6 +1020,7 @@ class DownloadedMediaCompanion extends UpdateCompanion<DownloadedMediaItem> {
|
||||
Value<int>? retryCount,
|
||||
Value<String?>? bgTaskId,
|
||||
Value<int>? mediaIndex,
|
||||
Value<String?>? mediaSourceId,
|
||||
}) {
|
||||
return DownloadedMediaCompanion(
|
||||
id: id ?? this.id,
|
||||
@@ -991,6 +1042,7 @@ class DownloadedMediaCompanion extends UpdateCompanion<DownloadedMediaItem> {
|
||||
retryCount: retryCount ?? this.retryCount,
|
||||
bgTaskId: bgTaskId ?? this.bgTaskId,
|
||||
mediaIndex: mediaIndex ?? this.mediaIndex,
|
||||
mediaSourceId: mediaSourceId ?? this.mediaSourceId,
|
||||
);
|
||||
}
|
||||
|
||||
@@ -1056,6 +1108,9 @@ class DownloadedMediaCompanion extends UpdateCompanion<DownloadedMediaItem> {
|
||||
if (mediaIndex.present) {
|
||||
map['media_index'] = Variable<int>(mediaIndex.value);
|
||||
}
|
||||
if (mediaSourceId.present) {
|
||||
map['media_source_id'] = Variable<String>(mediaSourceId.value);
|
||||
}
|
||||
return map;
|
||||
}
|
||||
|
||||
@@ -1080,7 +1135,8 @@ class DownloadedMediaCompanion extends UpdateCompanion<DownloadedMediaItem> {
|
||||
..write('errorMessage: $errorMessage, ')
|
||||
..write('retryCount: $retryCount, ')
|
||||
..write('bgTaskId: $bgTaskId, ')
|
||||
..write('mediaIndex: $mediaIndex')
|
||||
..write('mediaIndex: $mediaIndex, ')
|
||||
..write('mediaSourceId: $mediaSourceId')
|
||||
..write(')'))
|
||||
.toString();
|
||||
}
|
||||
@@ -5319,6 +5375,7 @@ typedef $$DownloadedMediaTableCreateCompanionBuilder =
|
||||
Value<int> retryCount,
|
||||
Value<String?> bgTaskId,
|
||||
Value<int> mediaIndex,
|
||||
Value<String?> mediaSourceId,
|
||||
});
|
||||
typedef $$DownloadedMediaTableUpdateCompanionBuilder =
|
||||
DownloadedMediaCompanion Function({
|
||||
@@ -5341,6 +5398,7 @@ typedef $$DownloadedMediaTableUpdateCompanionBuilder =
|
||||
Value<int> retryCount,
|
||||
Value<String?> bgTaskId,
|
||||
Value<int> mediaIndex,
|
||||
Value<String?> mediaSourceId,
|
||||
});
|
||||
|
||||
class $$DownloadedMediaTableFilterComposer
|
||||
@@ -5446,6 +5504,11 @@ class $$DownloadedMediaTableFilterComposer
|
||||
column: $table.mediaIndex,
|
||||
builder: (column) => ColumnFilters(column),
|
||||
);
|
||||
|
||||
ColumnFilters<String> get mediaSourceId => $composableBuilder(
|
||||
column: $table.mediaSourceId,
|
||||
builder: (column) => ColumnFilters(column),
|
||||
);
|
||||
}
|
||||
|
||||
class $$DownloadedMediaTableOrderingComposer
|
||||
@@ -5551,6 +5614,11 @@ class $$DownloadedMediaTableOrderingComposer
|
||||
column: $table.mediaIndex,
|
||||
builder: (column) => ColumnOrderings(column),
|
||||
);
|
||||
|
||||
ColumnOrderings<String> get mediaSourceId => $composableBuilder(
|
||||
column: $table.mediaSourceId,
|
||||
builder: (column) => ColumnOrderings(column),
|
||||
);
|
||||
}
|
||||
|
||||
class $$DownloadedMediaTableAnnotationComposer
|
||||
@@ -5638,6 +5706,11 @@ class $$DownloadedMediaTableAnnotationComposer
|
||||
column: $table.mediaIndex,
|
||||
builder: (column) => column,
|
||||
);
|
||||
|
||||
GeneratedColumn<String> get mediaSourceId => $composableBuilder(
|
||||
column: $table.mediaSourceId,
|
||||
builder: (column) => column,
|
||||
);
|
||||
}
|
||||
|
||||
class $$DownloadedMediaTableTableManager
|
||||
@@ -5696,6 +5769,7 @@ class $$DownloadedMediaTableTableManager
|
||||
Value<int> retryCount = const Value.absent(),
|
||||
Value<String?> bgTaskId = const Value.absent(),
|
||||
Value<int> mediaIndex = const Value.absent(),
|
||||
Value<String?> mediaSourceId = const Value.absent(),
|
||||
}) => DownloadedMediaCompanion(
|
||||
id: id,
|
||||
serverId: serverId,
|
||||
@@ -5716,6 +5790,7 @@ class $$DownloadedMediaTableTableManager
|
||||
retryCount: retryCount,
|
||||
bgTaskId: bgTaskId,
|
||||
mediaIndex: mediaIndex,
|
||||
mediaSourceId: mediaSourceId,
|
||||
),
|
||||
createCompanionCallback:
|
||||
({
|
||||
@@ -5738,6 +5813,7 @@ class $$DownloadedMediaTableTableManager
|
||||
Value<int> retryCount = const Value.absent(),
|
||||
Value<String?> bgTaskId = const Value.absent(),
|
||||
Value<int> mediaIndex = const Value.absent(),
|
||||
Value<String?> mediaSourceId = const Value.absent(),
|
||||
}) => DownloadedMediaCompanion.insert(
|
||||
id: id,
|
||||
serverId: serverId,
|
||||
@@ -5758,6 +5834,7 @@ class $$DownloadedMediaTableTableManager
|
||||
retryCount: retryCount,
|
||||
bgTaskId: bgTaskId,
|
||||
mediaIndex: mediaIndex,
|
||||
mediaSourceId: mediaSourceId,
|
||||
),
|
||||
withReferenceMapper: (p0) => p0
|
||||
.map((e) => (e.readTable(table), BaseReferences(db, table, e)))
|
||||
|
||||
@@ -85,6 +85,7 @@ extension DownloadDatabaseOperations on AppDatabase {
|
||||
String? grandparentRatingKey,
|
||||
required int status,
|
||||
int mediaIndex = 0,
|
||||
String? mediaSourceId,
|
||||
}) async {
|
||||
await into(downloadedMedia).insert(
|
||||
DownloadedMediaCompanion.insert(
|
||||
@@ -97,6 +98,7 @@ extension DownloadDatabaseOperations on AppDatabase {
|
||||
grandparentRatingKey: Value(grandparentRatingKey),
|
||||
status: status,
|
||||
mediaIndex: Value(mediaIndex),
|
||||
mediaSourceId: Value(mediaSourceId),
|
||||
),
|
||||
mode: InsertMode.insertOrReplace,
|
||||
);
|
||||
@@ -145,6 +147,12 @@ extension DownloadDatabaseOperations on AppDatabase {
|
||||
)..where((t) => t.globalKey.equals(globalKey))).write(DownloadedMediaCompanion(status: Value(status)));
|
||||
}
|
||||
|
||||
Future<void> updateDownloadMediaSource(String globalKey, String? mediaSourceId) async {
|
||||
await (update(downloadedMedia)..where((t) => t.globalKey.equals(globalKey))).write(
|
||||
DownloadedMediaCompanion(mediaSourceId: Value(mediaSourceId)),
|
||||
);
|
||||
}
|
||||
|
||||
Future<void> updateDownloadProgress(String globalKey, int progress, int downloadedBytes, int totalBytes) async {
|
||||
await (update(downloadedMedia)..where((t) => t.globalKey.equals(globalKey))).write(
|
||||
DownloadedMediaCompanion(
|
||||
|
||||
@@ -59,6 +59,7 @@ class DownloadedMedia extends Table {
|
||||
IntColumn get retryCount => integer().withDefault(const Constant(0))();
|
||||
TextColumn get bgTaskId => text().nullable()();
|
||||
IntColumn get mediaIndex => integer().withDefault(const Constant(0))();
|
||||
TextColumn get mediaSourceId => text().nullable()();
|
||||
}
|
||||
|
||||
/// Profile ownership for shared physical downloads.
|
||||
|
||||
@@ -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(': ')})';
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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}) {
|
||||
|
||||
@@ -5,8 +5,12 @@ class FocusTheme {
|
||||
FocusTheme._();
|
||||
|
||||
static const double focusScale = 1.02;
|
||||
static const double fullCardFocusScale = 1.03;
|
||||
static const double focusBorderWidth = 2.5;
|
||||
static const double defaultBorderRadius = 8.0;
|
||||
static const double focusGlowInnerBlurRadius = 18;
|
||||
static const double focusGlowOuterBlurRadius = 34;
|
||||
static const double focusGlowSpreadRadius = 1.5;
|
||||
|
||||
static Color getFocusBorderColor(BuildContext context) {
|
||||
return Theme.of(context).colorScheme.primary;
|
||||
@@ -20,13 +24,42 @@ class FocusTheme {
|
||||
BuildContext context, {
|
||||
required bool isFocused,
|
||||
double borderRadius = defaultBorderRadius,
|
||||
double borderStrokeAlign = BorderSide.strokeAlignInside,
|
||||
Color? color,
|
||||
}) {
|
||||
final focusColor = color ?? getFocusBorderColor(context);
|
||||
|
||||
return BoxDecoration(
|
||||
borderRadius: BorderRadius.circular(borderRadius),
|
||||
border: Border.all(color: isFocused ? focusColor : Colors.transparent, width: focusBorderWidth),
|
||||
border: Border.all(
|
||||
color: isFocused ? focusColor : Colors.transparent,
|
||||
width: focusBorderWidth,
|
||||
strokeAlign: borderStrokeAlign,
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
static BoxDecoration focusGlowDecoration(
|
||||
BuildContext context, {
|
||||
required bool isFocused,
|
||||
double borderRadius = defaultBorderRadius,
|
||||
Color? color,
|
||||
}) {
|
||||
final focusColor = color ?? getFocusBorderColor(context);
|
||||
|
||||
return BoxDecoration(
|
||||
borderRadius: BorderRadius.circular(borderRadius),
|
||||
boxShadow: [
|
||||
BoxShadow(
|
||||
color: isFocused ? focusColor.withValues(alpha: 0.34) : Colors.transparent,
|
||||
blurRadius: focusGlowInnerBlurRadius,
|
||||
spreadRadius: focusGlowSpreadRadius,
|
||||
),
|
||||
BoxShadow(
|
||||
color: isFocused ? focusColor.withValues(alpha: 0.20) : Colors.transparent,
|
||||
blurRadius: focusGlowOuterBlurRadius,
|
||||
),
|
||||
],
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@@ -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';
|
||||
@@ -139,20 +140,26 @@ class FocusableActionBarState extends State<FocusableActionBar> {
|
||||
: widget.onNavigateRight,
|
||||
onDown: widget.onNavigateDown,
|
||||
onUp: widget.onNavigateUp,
|
||||
// Consume LEFT/RIGHT at the row's first/last button when no edge
|
||||
// callback is wired, so focus can't fall off the row (#1181).
|
||||
trapHorizontalEdges: true,
|
||||
)(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,
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
@@ -1,16 +1,80 @@
|
||||
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';
|
||||
|
||||
bool _usesTvKeyboard(bool enableTvKeyboard) => enableTvKeyboard && PlatformDetector.isAppleTV();
|
||||
bool _usesTvKeyboard(bool enableTvKeyboard) => enableTvKeyboard && PlatformDetector.isTV();
|
||||
|
||||
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 FocusNode node,
|
||||
required bool usesTvKeyboard,
|
||||
required bool enabled,
|
||||
required VoidCallback openKeyboard,
|
||||
@@ -31,10 +95,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 +132,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 +146,83 @@ 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;
|
||||
final isMultiline = _isMultilineTextInput(keyboardType: keyboardType, maxLines: maxLines);
|
||||
|
||||
// Directional escape: an explicit callback always wins. Otherwise, fall back
|
||||
// to the framework's geometry-based directional traversal so an un-wired
|
||||
// field moves to its nearest neighbour instead of dead-ending (the field's
|
||||
// own onKeyEvent runs before EditableText, which would otherwise swallow the
|
||||
// arrow). Single-line only for UP/DOWN — multiline falls through so
|
||||
// EditableText can move the caret between lines.
|
||||
if (key.isUpKey) {
|
||||
if (onNavigateUp != null) {
|
||||
onNavigateUp();
|
||||
return finish(KeyEventResult.handled, 'onNavigateUp');
|
||||
}
|
||||
if (!isMultiline) {
|
||||
final moved = node.focusInDirection(TraversalDirection.up);
|
||||
return finish(moved ? KeyEventResult.handled : KeyEventResult.ignored, 'focusInDirection-up');
|
||||
}
|
||||
}
|
||||
if (key.isDownKey && onNavigateDown != null) {
|
||||
onNavigateDown();
|
||||
return KeyEventResult.handled;
|
||||
if (key.isDownKey) {
|
||||
if (onNavigateDown != null) {
|
||||
onNavigateDown();
|
||||
return finish(KeyEventResult.handled, 'onNavigateDown');
|
||||
}
|
||||
if (!isMultiline) {
|
||||
final moved = node.focusInDirection(TraversalDirection.down);
|
||||
return finish(moved ? KeyEventResult.handled : KeyEventResult.ignored, 'focusInDirection-down');
|
||||
}
|
||||
}
|
||||
|
||||
final sel = controller.selection;
|
||||
if (sel.isCollapsed) {
|
||||
if (key.isLeftKey && sel.baseOffset == 0 && onNavigateLeft != null) {
|
||||
onNavigateLeft();
|
||||
return KeyEventResult.handled;
|
||||
if (key.isLeftKey && sel.baseOffset == 0) {
|
||||
if (onNavigateLeft != null) {
|
||||
onNavigateLeft();
|
||||
return finish(KeyEventResult.handled, 'onNavigateLeft-at-start');
|
||||
}
|
||||
final moved = node.focusInDirection(TraversalDirection.left);
|
||||
return finish(moved ? KeyEventResult.handled : KeyEventResult.ignored, 'focusInDirection-left-at-start');
|
||||
}
|
||||
if (key.isRightKey && sel.baseOffset == controller.text.length && onNavigateRight != null) {
|
||||
onNavigateRight();
|
||||
return KeyEventResult.handled;
|
||||
if (key.isRightKey && sel.baseOffset == controller.text.length) {
|
||||
if (onNavigateRight != null) {
|
||||
onNavigateRight();
|
||||
return finish(KeyEventResult.handled, 'onNavigateRight-at-end');
|
||||
}
|
||||
final moved = node.focusInDirection(TraversalDirection.right);
|
||||
return finish(moved ? KeyEventResult.handled : KeyEventResult.ignored, 'focusInDirection-right-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,10 +562,17 @@ abstract class _FocusableTextInputBase extends StatelessWidget {
|
||||
});
|
||||
|
||||
bool get _hasTvKeyboard => _usesTvKeyboard(enableTvKeyboard);
|
||||
bool get _usesNativeTvKeyboard => PlatformDetector.isTV() && !_hasTvKeyboard;
|
||||
|
||||
void _showTvKeyboard(BuildContext context) {
|
||||
if (!enabled) return;
|
||||
showTvVirtualKeyboard(
|
||||
VoidCallback? get _effectiveOnEditingComplete {
|
||||
if (onEditingComplete != null) return onEditingComplete;
|
||||
if (_usesNativeTvKeyboard && onSubmitted == null) return _handleTvKeyboardAction;
|
||||
return null;
|
||||
}
|
||||
|
||||
Future<void> _showTvKeyboard(BuildContext context) {
|
||||
if (!enabled) return Future.value();
|
||||
return showTvVirtualKeyboard(
|
||||
context: context,
|
||||
controller: controller,
|
||||
hintText: _keyboardHint(decoration),
|
||||
@@ -445,16 +584,29 @@ abstract class _FocusableTextInputBase extends StatelessWidget {
|
||||
maxLines: maxLines,
|
||||
onChanged: onChanged,
|
||||
onSubmitted: onSubmitted,
|
||||
onAction: onEditingComplete ?? onSelect,
|
||||
onAction: _handleTvKeyboardAction,
|
||||
);
|
||||
}
|
||||
|
||||
KeyEventResult _handleKey(BuildContext context, FocusNode _, KeyEvent event) {
|
||||
void _handleTvKeyboardAction() {
|
||||
if (onEditingComplete != null) {
|
||||
onEditingComplete!();
|
||||
} else if (onSelect != null) {
|
||||
onSelect!();
|
||||
} else if (onNavigateDown != null) {
|
||||
onNavigateDown!();
|
||||
} else {
|
||||
_defaultEditingComplete(textInputAction);
|
||||
}
|
||||
}
|
||||
|
||||
KeyEventResult _handleKey(BuildContext context, FocusNode node, KeyEvent event, VoidCallback openKeyboard) {
|
||||
return _handleInputKey(
|
||||
controller: controller,
|
||||
node: node,
|
||||
usesTvKeyboard: _hasTvKeyboard,
|
||||
enabled: enabled,
|
||||
openKeyboard: () => _showTvKeyboard(context),
|
||||
openKeyboard: openKeyboard,
|
||||
event: event,
|
||||
keyboardType: keyboardType,
|
||||
textInputAction: textInputAction,
|
||||
@@ -473,16 +625,192 @@ 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, VoidCallback openKeyboard) builder,
|
||||
) {
|
||||
return _FocusableTextInputHost(input: this, builder: builder);
|
||||
}
|
||||
}
|
||||
|
||||
class _FocusableTextInputHost extends StatefulWidget {
|
||||
final _FocusableTextInputBase input;
|
||||
final Widget Function(bool usesTvKeyboard, FocusNode focusNode, VoidCallback openKeyboard) 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 = _handleFocusChanged;
|
||||
final Object _nativeFocusToken = Object();
|
||||
bool _reportedNativeTextInputFocused = false;
|
||||
bool _tvKeyboardOpen = false;
|
||||
bool _tvKeyboardOpenScheduled = false;
|
||||
bool _suppressTvKeyboardAutoOpen = 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();
|
||||
_suppressTvKeyboardAutoOpen = false;
|
||||
_tvKeyboardOpenScheduled = false;
|
||||
}
|
||||
_handleFocusChanged();
|
||||
}
|
||||
|
||||
@override
|
||||
void dispose() {
|
||||
_restoreInstalledHandler();
|
||||
_ownedFocusNode?.dispose();
|
||||
super.dispose();
|
||||
}
|
||||
|
||||
void _handleFocusChanged() {
|
||||
_syncNativeTextInputFocus();
|
||||
_syncTvKeyboardAutoOpen();
|
||||
}
|
||||
|
||||
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 _syncTvKeyboardAutoOpen() {
|
||||
final focused = _installedFocusNode?.hasFocus == true && widget.input.enabled && widget.input._hasTvKeyboard;
|
||||
final visible = _canShowTvKeyboard;
|
||||
_logTvTextInput(
|
||||
'Host.syncTvKeyboardAutoOpen focused=$focused open=$_tvKeyboardOpen scheduled=$_tvKeyboardOpenScheduled '
|
||||
'suppressed=$_suppressTvKeyboardAutoOpen installed=${_installedFocusNode?.debugLabel} '
|
||||
'hasFocus=${_installedFocusNode?.hasFocus} enabled=${widget.input.enabled} '
|
||||
'usesTvKeyboard=${widget.input._hasTvKeyboard} visible=$visible',
|
||||
);
|
||||
|
||||
if (!focused) {
|
||||
if (!_tvKeyboardOpen && !_tvKeyboardOpenScheduled) {
|
||||
_suppressTvKeyboardAutoOpen = false;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
if (!visible) return;
|
||||
if (_suppressTvKeyboardAutoOpen || _tvKeyboardOpen || _tvKeyboardOpenScheduled) return;
|
||||
|
||||
_tvKeyboardOpenScheduled = true;
|
||||
WidgetsBinding.instance.addPostFrameCallback((_) {
|
||||
if (!mounted) return;
|
||||
_tvKeyboardOpenScheduled = false;
|
||||
final stillFocused = _installedFocusNode?.hasFocus == true && widget.input.enabled && widget.input._hasTvKeyboard;
|
||||
if (!stillFocused || !_canShowTvKeyboard || _suppressTvKeyboardAutoOpen || _tvKeyboardOpen) return;
|
||||
_openTvKeyboard();
|
||||
});
|
||||
}
|
||||
|
||||
bool get _canShowTvKeyboard {
|
||||
final route = ModalRoute.of(context);
|
||||
return TickerMode.valuesOf(context).enabled && (route?.isCurrent ?? true);
|
||||
}
|
||||
|
||||
void _openTvKeyboard() {
|
||||
if (!mounted || !widget.input.enabled || !widget.input._hasTvKeyboard || !_canShowTvKeyboard || _tvKeyboardOpen) {
|
||||
return;
|
||||
}
|
||||
|
||||
_tvKeyboardOpenScheduled = false;
|
||||
_tvKeyboardOpen = true;
|
||||
_suppressTvKeyboardAutoOpen = true;
|
||||
_logTvTextInput('Host.openTvKeyboard node=${_installedFocusNode?.debugLabel}');
|
||||
unawaited(
|
||||
widget.input._showTvKeyboard(context).whenComplete(() {
|
||||
if (!mounted) return;
|
||||
_tvKeyboardOpen = false;
|
||||
WidgetsBinding.instance.addPostFrameCallback((_) {
|
||||
if (!mounted) return;
|
||||
if (_installedFocusNode?.hasFocus != true) {
|
||||
_suppressTvKeyboardAutoOpen = false;
|
||||
}
|
||||
_syncTvKeyboardAutoOpen();
|
||||
});
|
||||
}),
|
||||
);
|
||||
}
|
||||
|
||||
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, _openTvKeyboard);
|
||||
}
|
||||
|
||||
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);
|
||||
_handleFocusChanged();
|
||||
return widget.builder(widget.input._hasTvKeyboard, focusNode, _openTvKeyboard);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -530,9 +858,9 @@ class FocusableTextField extends _FocusableTextInputBase {
|
||||
Widget build(BuildContext context) {
|
||||
return buildFocusableInput(
|
||||
context,
|
||||
(usesTvKeyboard) => TextField(
|
||||
(usesTvKeyboard, effectiveFocusNode, openKeyboard) => TextField(
|
||||
controller: controller,
|
||||
focusNode: focusNode,
|
||||
focusNode: effectiveFocusNode,
|
||||
enabled: enabled,
|
||||
decoration: decoration,
|
||||
keyboardType: usesTvKeyboard ? TextInputType.none : keyboardType,
|
||||
@@ -540,7 +868,7 @@ class FocusableTextField extends _FocusableTextInputBase {
|
||||
inputFormatters: inputFormatters,
|
||||
onChanged: onChanged,
|
||||
onSubmitted: onSubmitted,
|
||||
onEditingComplete: onEditingComplete,
|
||||
onEditingComplete: _effectiveOnEditingComplete,
|
||||
autofocus: autofocus,
|
||||
autocorrect: autocorrect,
|
||||
enableSuggestions: enableSuggestions,
|
||||
@@ -554,7 +882,7 @@ class FocusableTextField extends _FocusableTextInputBase {
|
||||
readOnly: usesTvKeyboard,
|
||||
showCursor: usesTvKeyboard ? true : null,
|
||||
enableInteractiveSelection: usesTvKeyboard ? false : enableInteractiveSelection,
|
||||
onTap: usesTvKeyboard ? () => _showTvKeyboard(context) : null,
|
||||
onTap: usesTvKeyboard ? openKeyboard : null,
|
||||
),
|
||||
);
|
||||
}
|
||||
@@ -605,9 +933,9 @@ class FocusableTextFormField extends _FocusableTextInputBase {
|
||||
Widget build(BuildContext context) {
|
||||
return buildFocusableInput(
|
||||
context,
|
||||
(usesTvKeyboard) => TextFormField(
|
||||
(usesTvKeyboard, effectiveFocusNode, openKeyboard) => TextFormField(
|
||||
controller: controller,
|
||||
focusNode: focusNode,
|
||||
focusNode: effectiveFocusNode,
|
||||
enabled: enabled,
|
||||
decoration: decoration,
|
||||
keyboardType: usesTvKeyboard ? TextInputType.none : keyboardType,
|
||||
@@ -615,7 +943,7 @@ class FocusableTextFormField extends _FocusableTextInputBase {
|
||||
inputFormatters: inputFormatters,
|
||||
onChanged: onChanged,
|
||||
onFieldSubmitted: onFieldSubmitted,
|
||||
onEditingComplete: onEditingComplete,
|
||||
onEditingComplete: _effectiveOnEditingComplete,
|
||||
validator: validator,
|
||||
autovalidateMode: autovalidateMode,
|
||||
onSaved: onSaved,
|
||||
@@ -632,7 +960,7 @@ class FocusableTextFormField extends _FocusableTextInputBase {
|
||||
readOnly: usesTvKeyboard,
|
||||
showCursor: usesTvKeyboard ? true : null,
|
||||
enableInteractiveSelection: usesTvKeyboard ? false : enableInteractiveSelection,
|
||||
onTap: usesTvKeyboard ? () => _showTvKeyboard(context) : null,
|
||||
onTap: usesTvKeyboard ? openKeyboard : null,
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -94,6 +106,18 @@ class FocusableWrapper extends StatefulWidget {
|
||||
/// Useful for elements like sliders where scaling looks odd.
|
||||
final bool disableScale;
|
||||
|
||||
/// Scale used for the focus animation.
|
||||
final double focusScale;
|
||||
|
||||
/// Stroke alignment for the focus border.
|
||||
final double focusBorderStrokeAlign;
|
||||
|
||||
/// Whether to draw a glow around the focused widget.
|
||||
final bool useFocusGlow;
|
||||
|
||||
/// Whether to draw the focus border as a foreground decoration.
|
||||
final bool useForegroundFocusDecoration;
|
||||
|
||||
/// Whether descendants can receive focus.
|
||||
/// Set to false when the child widget has its own Focus (e.g. buttons)
|
||||
/// that would compete with this wrapper's focus handling.
|
||||
@@ -124,6 +148,10 @@ class FocusableWrapper extends StatefulWidget {
|
||||
this.useBackgroundFocus = false,
|
||||
this.focusColor,
|
||||
this.disableScale = false,
|
||||
this.focusScale = FocusTheme.focusScale,
|
||||
this.focusBorderStrokeAlign = BorderSide.strokeAlignInside,
|
||||
this.useFocusGlow = false,
|
||||
this.useForegroundFocusDecoration = false,
|
||||
this.descendantsAreFocusable = true,
|
||||
});
|
||||
|
||||
@@ -137,7 +165,7 @@ class _FocusableWrapperState extends State<FocusableWrapper> with SingleTickerPr
|
||||
bool _isFocused = false;
|
||||
|
||||
late final AnimationController _animationController;
|
||||
late final Animation<double> _scaleAnimation;
|
||||
late Animation<double> _scaleAnimation;
|
||||
|
||||
// Long-press detection for SELECT key
|
||||
Timer? _longPressTimer;
|
||||
@@ -166,9 +194,13 @@ class _FocusableWrapperState extends State<FocusableWrapper> with SingleTickerPr
|
||||
void _initAnimations() {
|
||||
_animationController = AnimationController(vsync: this, duration: const Duration(milliseconds: 150));
|
||||
|
||||
_scaleAnimation = Tween<double>(
|
||||
_scaleAnimation = _createScaleAnimation();
|
||||
}
|
||||
|
||||
Animation<double> _createScaleAnimation() {
|
||||
return Tween<double>(
|
||||
begin: 1.0,
|
||||
end: FocusTheme.focusScale,
|
||||
end: widget.focusScale,
|
||||
).animate(CurvedAnimation(parent: _animationController, curve: Curves.easeOutCubic));
|
||||
}
|
||||
|
||||
@@ -188,6 +220,10 @@ class _FocusableWrapperState extends State<FocusableWrapper> with SingleTickerPr
|
||||
if (widget.canRequestFocus != oldWidget.canRequestFocus) {
|
||||
_focusNode.canRequestFocus = widget.canRequestFocus;
|
||||
}
|
||||
|
||||
if (widget.focusScale != oldWidget.focusScale) {
|
||||
_scaleAnimation = _createScaleAnimation();
|
||||
}
|
||||
}
|
||||
|
||||
@override
|
||||
@@ -315,23 +351,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 +398,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 +411,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
|
||||
@@ -424,14 +471,23 @@ class _FocusableWrapperState extends State<FocusableWrapper> with SingleTickerPr
|
||||
}
|
||||
|
||||
// Choose decoration based on useBackgroundFocus
|
||||
final decoration = widget.useBackgroundFocus
|
||||
final focusDecoration = widget.useBackgroundFocus
|
||||
? FocusTheme.focusBackgroundDecoration(isFocused: showFocus, borderRadius: widget.borderRadius)
|
||||
: FocusTheme.focusDecoration(
|
||||
context,
|
||||
isFocused: showFocus,
|
||||
borderRadius: widget.borderRadius,
|
||||
color: widget.focusColor,
|
||||
borderStrokeAlign: widget.focusBorderStrokeAlign,
|
||||
);
|
||||
final glowDecoration = widget.useFocusGlow
|
||||
? FocusTheme.focusGlowDecoration(
|
||||
context,
|
||||
isFocused: showFocus,
|
||||
borderRadius: widget.borderRadius,
|
||||
color: widget.focusColor,
|
||||
)
|
||||
: null;
|
||||
|
||||
Widget result = Focus(
|
||||
focusNode: _focusNode,
|
||||
@@ -448,7 +504,8 @@ class _FocusableWrapperState extends State<FocusableWrapper> with SingleTickerPr
|
||||
child: AnimatedContainer(
|
||||
duration: duration,
|
||||
curve: Curves.easeOutCubic,
|
||||
decoration: decoration,
|
||||
decoration: widget.useForegroundFocusDecoration ? glowDecoration : focusDecoration,
|
||||
foregroundDecoration: widget.useForegroundFocusDecoration ? focusDecoration : null,
|
||||
child: widget.child,
|
||||
),
|
||||
);
|
||||
@@ -461,6 +518,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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -112,6 +120,13 @@ KeyEventResult handleOneShotSelect(KeyEvent event, VoidCallback onActivate) {
|
||||
/// (passed through to the framework). Directions mapped to a callback
|
||||
/// automatically return [KeyEventResult.handled].
|
||||
///
|
||||
/// When [trapHorizontalEdges] is true, LEFT/RIGHT with no callback return
|
||||
/// [KeyEventResult.handled] (consumed) instead of being passed through. Use
|
||||
/// this for a self-contained horizontal group (e.g. a button row) so D-pad
|
||||
/// can't escape off the edge into an off-screen "black hole" (#1181); wire an
|
||||
/// explicit [onLeft]/[onRight] only where edge-escape into another region is
|
||||
/// intended. UP/DOWN are unaffected and always pass through when unmapped.
|
||||
///
|
||||
/// Directional keys repeat on [KeyRepeatEvent] (via [isActionable]).
|
||||
/// Select is one-shot: fires on [KeyDownEvent] only, consumes repeat and up.
|
||||
///
|
||||
@@ -132,6 +147,7 @@ FocusOnKeyEventCallback dpadKeyHandler({
|
||||
VoidCallback? onLeft,
|
||||
VoidCallback? onRight,
|
||||
VoidCallback? onSelect,
|
||||
bool trapHorizontalEdges = false,
|
||||
}) {
|
||||
return (FocusNode _, KeyEvent event) {
|
||||
// Select: one-shot activation (no repeat), must run before isActionable
|
||||
@@ -152,19 +168,40 @@ FocusOnKeyEventCallback dpadKeyHandler({
|
||||
onDown();
|
||||
return KeyEventResult.handled;
|
||||
}
|
||||
if (key.isLeftKey && onLeft != null) {
|
||||
onLeft();
|
||||
return KeyEventResult.handled;
|
||||
if (key.isLeftKey) {
|
||||
if (onLeft != null) {
|
||||
onLeft();
|
||||
return KeyEventResult.handled;
|
||||
}
|
||||
if (trapHorizontalEdges) return KeyEventResult.handled;
|
||||
}
|
||||
if (key.isRightKey && onRight != null) {
|
||||
onRight();
|
||||
return KeyEventResult.handled;
|
||||
if (key.isRightKey) {
|
||||
if (onRight != null) {
|
||||
onRight();
|
||||
return KeyEventResult.handled;
|
||||
}
|
||||
if (trapHorizontalEdges) return KeyEventResult.handled;
|
||||
}
|
||||
|
||||
return KeyEventResult.ignored;
|
||||
};
|
||||
}
|
||||
|
||||
/// Whether [container] has another focusable descendant beyond the currently
|
||||
/// focused one in [direction]. Lets a row's key handler move between interior
|
||||
/// items (true) but trap at the row's edge (false) so focus can't escape into
|
||||
/// an off-screen "black hole" (#1181). Horizontal only.
|
||||
///
|
||||
/// Relies on [FocusNode.traversalDescendants] being in reading (left→right)
|
||||
/// order, which holds for a flat [Row].
|
||||
bool hasHorizontalNeighbor(FocusNode container, TraversalDirection direction) {
|
||||
assert(direction == TraversalDirection.left || direction == TraversalDirection.right);
|
||||
final items = container.traversalDescendants.toList();
|
||||
final index = items.indexWhere((node) => node.hasPrimaryFocus);
|
||||
if (index < 0) return false;
|
||||
return direction == TraversalDirection.right ? index < items.length - 1 : index > 0;
|
||||
}
|
||||
|
||||
/// Navigator observer that automatically suppresses stray back KeyUp events
|
||||
/// after any route pop caused by a back key press.
|
||||
///
|
||||
@@ -174,6 +211,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();
|
||||
}
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -36,6 +36,7 @@
|
||||
"yes": "Ja",
|
||||
"no": "Nej",
|
||||
"delete": "Slet",
|
||||
"edit": "Rediger",
|
||||
"shuffle": "Bland",
|
||||
"addTo": "Tilføj til...",
|
||||
"createNew": "Opret ny",
|
||||
@@ -125,6 +126,8 @@
|
||||
"showEpisodeNumberOnCardsDescription": "Vis sæson- og episodenummer på episodekort",
|
||||
"showSeasonPostersOnTabs": "Vis sæsonplakater på faner",
|
||||
"showSeasonPostersOnTabsDescription": "Vis hver sæsons plakat over dens fane",
|
||||
"tvFullCardLayout": "Fuldflade TV-kort",
|
||||
"tvFullCardLayoutDescription": "Brug TV-kort kun med billeder og skuespillernavne ovenpå",
|
||||
"hideSpoilers": "Skjul spoilere for usete episoder",
|
||||
"hideSpoilersDescription": "Slør miniaturebilleder og beskrivelser for usete episoder",
|
||||
"playerBackend": "Afspillerbackend",
|
||||
@@ -248,12 +251,20 @@
|
||||
"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",
|
||||
"forceTvModeDescription": "Tving TV-layout. Til enheder, der ikke registreres automatisk. Kræver genstart.",
|
||||
"startInFullscreen": "Start i fuldskærm",
|
||||
"startInFullscreenDescription": "Åbn Plezy i fuldskærmstilstand ved opstart",
|
||||
"exitFullscreenOnPlayerClose": "Forlad fuldskærm ved lukning af afspiller",
|
||||
"exitFullscreenOnPlayerCloseDescription": "Afslut automatisk fuldskærm, når videoafspilleren lukkes",
|
||||
"autoHidePerformanceOverlay": "Skjul ydelses-overlay automatisk",
|
||||
"autoHidePerformanceOverlayDescription": "Fade ydelses-overlayet med afspilningskontrollerne",
|
||||
"showNavBarLabels": "Vis navigationsbarlabels",
|
||||
@@ -297,10 +308,14 @@
|
||||
"speedIncrease": "Øg hastighed",
|
||||
"speedDecrease": "Sænk hastighed",
|
||||
"speedReset": "Nulstil hastighed",
|
||||
"zoomIn": "Zoom ind",
|
||||
"zoomOut": "Zoom ud",
|
||||
"zoomReset": "Nulstil zoom",
|
||||
"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 +362,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",
|
||||
@@ -379,6 +407,10 @@
|
||||
"unlockRotation": "Lås rotation op",
|
||||
"timerActive": "Timer aktiv",
|
||||
"playbackWillPauseIn": "Afspilning pauses om ${duration}",
|
||||
"sleepTimerEndOfVideo": "Slutningen af aktuel video",
|
||||
"sleepTimerStopAtHeader": "Stop ved",
|
||||
"sleepTimerDurationHeader": "Timer",
|
||||
"playbackWillPauseAtEnd": "Afspilning pauses i slutningen af denne video",
|
||||
"stillWatching": "Ser du stadig?",
|
||||
"pausingIn": "Pauser om ${seconds}s",
|
||||
"continueWatching": "Fortsæt",
|
||||
@@ -394,7 +426,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 +452,8 @@
|
||||
"endsAt": "Slutter kl. ${time}",
|
||||
"pipActive": "Afspiller i billede-i-billede",
|
||||
"pipFailed": "Billede-i-billede kunne ikke starte",
|
||||
"screenshotSaved": "Skærmbillede gemt",
|
||||
"zoomPercent": "Zoom ${percent}%",
|
||||
"pipErrors": {
|
||||
"androidVersion": "Kræver Android 8.0 eller nyere",
|
||||
"iosVersion": "Kræver iOS 15.0 eller nyere",
|
||||
@@ -588,7 +622,9 @@
|
||||
"addConnectionSubtitleScoped": "Føj til ${displayName}: Plex, Jellyfin eller en anden profilforbindelse",
|
||||
"sessionExpiredOne": "Sessionen er udløbet for ${name}",
|
||||
"sessionExpiredMany": "Sessionen er udløbet for ${count} servere",
|
||||
"signInAgain": "Log ind igen"
|
||||
"signInAgain": "Log ind igen",
|
||||
"editJellyfinTitle": "Rediger Jellyfin-forbindelse",
|
||||
"editJellyfinIntro": "Tilføj eller fjern URL'er for ${serverName}. Plezy bruger den tilgængelige URL med lavest latenstid."
|
||||
},
|
||||
"discover": {
|
||||
"title": "Opdag",
|
||||
@@ -684,15 +720,26 @@
|
||||
"genre": "Genre",
|
||||
"year": "År",
|
||||
"contentRating": "Aldersvurdering",
|
||||
"tag": "Tag"
|
||||
"tag": "Tag",
|
||||
"unwatched": "Usete"
|
||||
},
|
||||
"sortLabels": {
|
||||
"title": "Titel",
|
||||
"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,8 +1092,8 @@
|
||||
}
|
||||
},
|
||||
"videoSettings": {
|
||||
"playbackSettings": "Afspilningsindstillinger",
|
||||
"playbackSpeed": "Afspilningshastighed",
|
||||
"zoom": "Zoom",
|
||||
"sleepTimer": "Sove-timer",
|
||||
"audioSync": "Lydsynkronisering",
|
||||
"subtitleSync": "Undertekstsynkronisering",
|
||||
@@ -1225,8 +1272,12 @@
|
||||
"addServer": {
|
||||
"addJellyfinTitle": "Tilføj Jellyfin-server",
|
||||
"jellyfinUrlIntro": "Indtast server-URL'en, f.eks. `https://jellyfin.example.com`.",
|
||||
"jellyfinUrlsIntro": "Indtast en eller flere server-URL'er, adskilt med kommaer eller nye linjer. Plezy bruger den tilgængelige URL med lavest latenstid.",
|
||||
"serverUrl": "Server-URL",
|
||||
"serverUrls": "Server-URL'er",
|
||||
"findServer": "Find server",
|
||||
"searchingLocalServers": "Søger efter lokale Jellyfin-servere...",
|
||||
"localServers": "Lokale Jellyfin-servere",
|
||||
"username": "Brugernavn",
|
||||
"password": "Adgangskode",
|
||||
"signIn": "Log ind",
|
||||
|
||||
@@ -36,6 +36,7 @@
|
||||
"yes": "Ja",
|
||||
"no": "Nein",
|
||||
"delete": "Löschen",
|
||||
"edit": "Bearbeiten",
|
||||
"shuffle": "Zufall",
|
||||
"addTo": "Hinzufügen zu...",
|
||||
"createNew": "Neu erstellen",
|
||||
@@ -125,6 +126,8 @@
|
||||
"showEpisodeNumberOnCardsDescription": "Staffel- und Episodennummer auf Episodenkarten anzeigen",
|
||||
"showSeasonPostersOnTabs": "Staffelposter auf Tabs anzeigen",
|
||||
"showSeasonPostersOnTabsDescription": "Poster jeder Staffel über ihrem Tab anzeigen",
|
||||
"tvFullCardLayout": "Vollflächige TV-Karten",
|
||||
"tvFullCardLayoutDescription": "TV-Karten nur mit Bild verwenden und Darstellernamen einblenden",
|
||||
"hideSpoilers": "Spoiler für nicht gesehene Episoden verbergen",
|
||||
"hideSpoilersDescription": "Vorschaubilder und Beschreibungen ungesehener Episoden verwischen",
|
||||
"playerBackend": "Player-Backend",
|
||||
@@ -248,12 +251,20 @@
|
||||
"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",
|
||||
"forceTvModeDescription": "TV-Layout erzwingen. Für Geräte ohne automatische Erkennung. Neustart erforderlich.",
|
||||
"startInFullscreen": "Im Vollbildmodus starten",
|
||||
"startInFullscreenDescription": "Plezy beim Start im Vollbildmodus öffnen",
|
||||
"exitFullscreenOnPlayerClose": "Vollbild beim Schließen des Players beenden",
|
||||
"exitFullscreenOnPlayerCloseDescription": "Vollbildmodus automatisch beenden, wenn der Videoplayer geschlossen wird",
|
||||
"autoHidePerformanceOverlay": "Leistungsoverlay automatisch ausblenden",
|
||||
"autoHidePerformanceOverlayDescription": "Leistungsoverlay mit den Wiedergabesteuerungen ein-/ausblenden",
|
||||
"showNavBarLabels": "Navigationsleisten-Beschriftungen anzeigen",
|
||||
@@ -297,10 +308,14 @@
|
||||
"speedIncrease": "Geschwindigkeit erhöhen",
|
||||
"speedDecrease": "Geschwindigkeit verringern",
|
||||
"speedReset": "Geschwindigkeit zurücksetzen",
|
||||
"zoomIn": "Vergrößern",
|
||||
"zoomOut": "Verkleinern",
|
||||
"zoomReset": "Zoom zurücksetzen",
|
||||
"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 +362,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",
|
||||
@@ -379,6 +407,10 @@
|
||||
"unlockRotation": "Rotation entsperren",
|
||||
"timerActive": "Schlaftimer aktiv",
|
||||
"playbackWillPauseIn": "Wiedergabe wird in ${duration} pausiert",
|
||||
"sleepTimerEndOfVideo": "Ende des aktuellen Videos",
|
||||
"sleepTimerStopAtHeader": "Beenden bei",
|
||||
"sleepTimerDurationHeader": "Timer",
|
||||
"playbackWillPauseAtEnd": "Wiedergabe wird am Ende dieses Videos pausiert",
|
||||
"stillWatching": "Schaust du noch?",
|
||||
"pausingIn": "Pause in ${seconds}s",
|
||||
"continueWatching": "Weiter",
|
||||
@@ -394,7 +426,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 +452,8 @@
|
||||
"endsAt": "Endet um ${time}",
|
||||
"pipActive": "Wiedergabe im Bild-in-Bild-Modus",
|
||||
"pipFailed": "Bild-in-Bild konnte nicht gestartet werden",
|
||||
"screenshotSaved": "Screenshot gespeichert",
|
||||
"zoomPercent": "Zoom ${percent}%",
|
||||
"pipErrors": {
|
||||
"androidVersion": "Erfordert Android 8.0 oder neuer",
|
||||
"iosVersion": "Erfordert iOS 15.0 oder neuer",
|
||||
@@ -588,7 +622,9 @@
|
||||
"addConnectionSubtitleScoped": "Zu ${displayName} hinzufügen: Plex, Jellyfin oder eine andere Profilverbindung",
|
||||
"sessionExpiredOne": "Sitzung für ${name} abgelaufen",
|
||||
"sessionExpiredMany": "Sitzungen für ${count} Server abgelaufen",
|
||||
"signInAgain": "Erneut anmelden"
|
||||
"signInAgain": "Erneut anmelden",
|
||||
"editJellyfinTitle": "Jellyfin-Verbindung bearbeiten",
|
||||
"editJellyfinIntro": "Füge URLs für ${serverName} hinzu oder entferne sie. Plezy verwendet die erreichbare URL mit der geringsten Latenz."
|
||||
},
|
||||
"discover": {
|
||||
"title": "Entdecken",
|
||||
@@ -684,15 +720,26 @@
|
||||
"genre": "Genre",
|
||||
"year": "Jahr",
|
||||
"contentRating": "Altersfreigabe",
|
||||
"tag": "Tag"
|
||||
"tag": "Tag",
|
||||
"unwatched": "Ungesehene"
|
||||
},
|
||||
"sortLabels": {
|
||||
"title": "Titel",
|
||||
"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,8 +1092,8 @@
|
||||
}
|
||||
},
|
||||
"videoSettings": {
|
||||
"playbackSettings": "Wiedergabeeinstellungen",
|
||||
"playbackSpeed": "Wiedergabegeschwindigkeit",
|
||||
"zoom": "Zoom",
|
||||
"sleepTimer": "Schlaftimer",
|
||||
"audioSync": "Audio-Synchronisation",
|
||||
"subtitleSync": "Untertitel-Synchronisation",
|
||||
@@ -1225,8 +1272,12 @@
|
||||
"addServer": {
|
||||
"addJellyfinTitle": "Jellyfin-Server hinzufügen",
|
||||
"jellyfinUrlIntro": "Gib die Server-URL ein, z. B. `https://jellyfin.example.com`.",
|
||||
"jellyfinUrlsIntro": "Gib eine oder mehrere Server-URLs ein, getrennt durch Kommas oder neue Zeilen. Plezy verwendet die erreichbare URL mit der geringsten Latenz.",
|
||||
"serverUrl": "Server-URL",
|
||||
"serverUrls": "Server-URLs",
|
||||
"findServer": "Server finden",
|
||||
"searchingLocalServers": "Suche nach lokalen Jellyfin-Servern...",
|
||||
"localServers": "Lokale Jellyfin-Server",
|
||||
"username": "Benutzername",
|
||||
"password": "Passwort",
|
||||
"signIn": "Anmelden",
|
||||
|
||||
@@ -36,6 +36,7 @@
|
||||
"yes": "Yes",
|
||||
"no": "No",
|
||||
"delete": "Delete",
|
||||
"edit": "Edit",
|
||||
"shuffle": "Shuffle",
|
||||
"addTo": "Add to...",
|
||||
"createNew": "Create new",
|
||||
@@ -125,6 +126,8 @@
|
||||
"showEpisodeNumberOnCardsDescription": "Show season and episode number on episode cards",
|
||||
"showSeasonPostersOnTabs": "Show Season Posters on Tabs",
|
||||
"showSeasonPostersOnTabsDescription": "Show each season's poster above its tab",
|
||||
"tvFullCardLayout": "Full TV Cards",
|
||||
"tvFullCardLayoutDescription": "Use image-only TV cards with actor names overlaid",
|
||||
"hideSpoilers": "Hide Spoilers for Unwatched Episodes",
|
||||
"hideSpoilersDescription": "Blur thumbnails and descriptions for unwatched episodes",
|
||||
"playerBackend": "Player Backend",
|
||||
@@ -248,12 +251,20 @@
|
||||
"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",
|
||||
"forceTvModeDescription": "Force TV layout. For devices that don't auto-detect. Requires restart.",
|
||||
"startInFullscreen": "Start in fullscreen",
|
||||
"startInFullscreenDescription": "Open Plezy in fullscreen mode at launch",
|
||||
"exitFullscreenOnPlayerClose": "Exit fullscreen on player close",
|
||||
"exitFullscreenOnPlayerCloseDescription": "Automatically exit fullscreen when closing the video player",
|
||||
"autoHidePerformanceOverlay": "Auto-Hide Performance Overlay",
|
||||
"autoHidePerformanceOverlayDescription": "Fade the performance overlay with the playback controls",
|
||||
"showNavBarLabels": "Show Navigation Bar Labels",
|
||||
@@ -297,10 +308,14 @@
|
||||
"speedIncrease": "Increase Speed",
|
||||
"speedDecrease": "Decrease Speed",
|
||||
"speedReset": "Reset Speed",
|
||||
"zoomIn": "Zoom In",
|
||||
"zoomOut": "Zoom Out",
|
||||
"zoomReset": "Reset Zoom",
|
||||
"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 +362,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",
|
||||
@@ -379,6 +407,10 @@
|
||||
"unlockRotation": "Unlock rotation",
|
||||
"timerActive": "Timer Active",
|
||||
"playbackWillPauseIn": "Playback will pause in ${duration}",
|
||||
"sleepTimerEndOfVideo": "End of current video",
|
||||
"sleepTimerStopAtHeader": "Stop at",
|
||||
"sleepTimerDurationHeader": "Timer",
|
||||
"playbackWillPauseAtEnd": "Playback will pause at the end of this video",
|
||||
"stillWatching": "Still watching?",
|
||||
"pausingIn": "Pausing in ${seconds}s",
|
||||
"continueWatching": "Continue",
|
||||
@@ -394,7 +426,7 @@
|
||||
"nextChapterButton": "Next chapter",
|
||||
"muteButton": "Mute",
|
||||
"unmuteButton": "Unmute",
|
||||
"settingsButton": "Video settings",
|
||||
"settingsButton": "Playback Settings",
|
||||
"tracksButton": "Audio & Subtitles",
|
||||
"chaptersButton": "Chapters",
|
||||
"versionsButton": "Video versions",
|
||||
@@ -420,6 +452,8 @@
|
||||
"endsAt": "Ends at ${time}",
|
||||
"pipActive": "Playing in Picture-in-Picture",
|
||||
"pipFailed": "Picture-in-picture failed to start",
|
||||
"screenshotSaved": "Screenshot saved",
|
||||
"zoomPercent": "Zoom ${percent}%",
|
||||
"pipErrors": {
|
||||
"androidVersion": "Requires Android 8.0 or newer",
|
||||
"iosVersion": "Requires iOS 15.0 or newer",
|
||||
@@ -588,7 +622,9 @@
|
||||
"addConnectionSubtitleScoped": "Add to ${displayName}: Plex, Jellyfin, or another profile connection",
|
||||
"sessionExpiredOne": "Session expired for ${name}",
|
||||
"sessionExpiredMany": "Session expired for ${count} servers",
|
||||
"signInAgain": "Sign in again"
|
||||
"signInAgain": "Sign in again",
|
||||
"editJellyfinTitle": "Edit Jellyfin connection",
|
||||
"editJellyfinIntro": "Add or remove URLs for ${serverName}. Plezy will use the reachable URL with the lowest latency."
|
||||
},
|
||||
"discover": {
|
||||
"title": "Discover",
|
||||
@@ -684,15 +720,26 @@
|
||||
"genre": "Genre",
|
||||
"year": "Year",
|
||||
"contentRating": "Content Rating",
|
||||
"tag": "Tag"
|
||||
"tag": "Tag",
|
||||
"unwatched": "Unwatched"
|
||||
},
|
||||
"sortLabels": {
|
||||
"title": "Title",
|
||||
"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,8 +1092,8 @@
|
||||
}
|
||||
},
|
||||
"videoSettings": {
|
||||
"playbackSettings": "Playback Settings",
|
||||
"playbackSpeed": "Playback Speed",
|
||||
"zoom": "Zoom",
|
||||
"sleepTimer": "Sleep Timer",
|
||||
"audioSync": "Audio Sync",
|
||||
"subtitleSync": "Subtitle Sync",
|
||||
@@ -1225,8 +1272,12 @@
|
||||
"addServer": {
|
||||
"addJellyfinTitle": "Add Jellyfin server",
|
||||
"jellyfinUrlIntro": "Enter the server URL, e.g. `https://jellyfin.example.com`.",
|
||||
"jellyfinUrlsIntro": "Enter one or more server URLs, separated by commas or new lines. Plezy will use the reachable URL with the lowest latency.",
|
||||
"serverUrl": "Server URL",
|
||||
"serverUrls": "Server URLs",
|
||||
"findServer": "Find server",
|
||||
"searchingLocalServers": "Looking for local Jellyfin servers...",
|
||||
"localServers": "Local Jellyfin servers",
|
||||
"username": "Username",
|
||||
"password": "Password",
|
||||
"signIn": "Sign in",
|
||||
|
||||
@@ -36,6 +36,7 @@
|
||||
"yes": "Sí",
|
||||
"no": "No",
|
||||
"delete": "Eliminar",
|
||||
"edit": "Editar",
|
||||
"shuffle": "Aleatorio",
|
||||
"addTo": "Añadir a...",
|
||||
"createNew": "Crear",
|
||||
@@ -125,6 +126,8 @@
|
||||
"showEpisodeNumberOnCardsDescription": "Mostrar temporada y episodio en tarjetas de episodio",
|
||||
"showSeasonPostersOnTabs": "Mostrar pósters de temporada en las pestañas",
|
||||
"showSeasonPostersOnTabsDescription": "Mostrar el póster de cada temporada sobre su pestaña",
|
||||
"tvFullCardLayout": "Tarjetas TV completas",
|
||||
"tvFullCardLayoutDescription": "Usar tarjetas TV solo con imagen y nombres de actores superpuestos",
|
||||
"hideSpoilers": "Ocultar spoilers de episodios no vistos",
|
||||
"hideSpoilersDescription": "Desenfocar miniaturas y descripciones de episodios no vistos",
|
||||
"playerBackend": "Reproductor",
|
||||
@@ -248,12 +251,20 @@
|
||||
"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",
|
||||
"forceTvModeDescription": "Forzar diseño TV. Para dispositivos que no lo detectan. Requiere reinicio.",
|
||||
"startInFullscreen": "Iniciar en pantalla completa",
|
||||
"startInFullscreenDescription": "Abrir Plezy en modo pantalla completa al iniciar",
|
||||
"exitFullscreenOnPlayerClose": "Salir de pantalla completa al cerrar el reproductor",
|
||||
"exitFullscreenOnPlayerCloseDescription": "Salir automáticamente del modo de pantalla completa al cerrar el reproductor de vídeo",
|
||||
"autoHidePerformanceOverlay": "Ocultar superposición de rendimiento automáticamente",
|
||||
"autoHidePerformanceOverlayDescription": "Desvanecer la superposición de rendimiento con los controles de reproducción",
|
||||
"showNavBarLabels": "Mostrar etiquetas de la barra de navegación",
|
||||
@@ -297,10 +308,14 @@
|
||||
"speedIncrease": "Aumentar Velocidad",
|
||||
"speedDecrease": "Disminuir Velocidad",
|
||||
"speedReset": "Restablecer Velocidad",
|
||||
"zoomIn": "Acercar",
|
||||
"zoomOut": "Alejar",
|
||||
"zoomReset": "Restablecer zoom",
|
||||
"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 +362,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",
|
||||
@@ -379,6 +407,10 @@
|
||||
"unlockRotation": "Desbloquear rotación",
|
||||
"timerActive": "Temporizador Activo",
|
||||
"playbackWillPauseIn": "La reproducción se pausará en ${duration}",
|
||||
"sleepTimerEndOfVideo": "Fin del video actual",
|
||||
"sleepTimerStopAtHeader": "Detener en",
|
||||
"sleepTimerDurationHeader": "Temporizador",
|
||||
"playbackWillPauseAtEnd": "La reproducción se pausará al final de este video",
|
||||
"stillWatching": "¿Sigues viendo?",
|
||||
"pausingIn": "Pausa en ${seconds}s",
|
||||
"continueWatching": "Continuar",
|
||||
@@ -394,7 +426,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 +452,8 @@
|
||||
"endsAt": "Termina a las ${time}",
|
||||
"pipActive": "Reproduciendo en Imagen en Imagen",
|
||||
"pipFailed": "Error al iniciar Imagen en Imagen",
|
||||
"screenshotSaved": "Captura de pantalla guardada",
|
||||
"zoomPercent": "Zoom ${percent}%",
|
||||
"pipErrors": {
|
||||
"androidVersion": "Requiere Android 8.0 o más reciente",
|
||||
"iosVersion": "Requiere iOS 15.0 o más reciente",
|
||||
@@ -588,7 +622,9 @@
|
||||
"addConnectionSubtitleScoped": "Añadir a ${displayName}: Plex, Jellyfin u otra conexión de perfil",
|
||||
"sessionExpiredOne": "Sesión caducada para ${name}",
|
||||
"sessionExpiredMany": "Sesión caducada para ${count} servidores",
|
||||
"signInAgain": "Iniciar sesión de nuevo"
|
||||
"signInAgain": "Iniciar sesión de nuevo",
|
||||
"editJellyfinTitle": "Editar conexión de Jellyfin",
|
||||
"editJellyfinIntro": "Añade o elimina URL para ${serverName}. Plezy usará la URL accesible con menor latencia."
|
||||
},
|
||||
"discover": {
|
||||
"title": "Descubrir",
|
||||
@@ -684,15 +720,26 @@
|
||||
"genre": "Género",
|
||||
"year": "Año",
|
||||
"contentRating": "Clasificación",
|
||||
"tag": "Etiqueta"
|
||||
"tag": "Etiqueta",
|
||||
"unwatched": "No vistos"
|
||||
},
|
||||
"sortLabels": {
|
||||
"title": "Título",
|
||||
"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,8 +1092,8 @@
|
||||
}
|
||||
},
|
||||
"videoSettings": {
|
||||
"playbackSettings": "Ajustes de reproducción",
|
||||
"playbackSpeed": "Velocidad de reproducción",
|
||||
"zoom": "Zoom",
|
||||
"sleepTimer": "Temporizador de apagado",
|
||||
"audioSync": "Sincronización de audio",
|
||||
"subtitleSync": "Sincronización de subtítulos",
|
||||
@@ -1225,8 +1272,12 @@
|
||||
"addServer": {
|
||||
"addJellyfinTitle": "Añadir servidor Jellyfin",
|
||||
"jellyfinUrlIntro": "Introduce la URL del servidor, p. ej. `https://jellyfin.example.com`.",
|
||||
"jellyfinUrlsIntro": "Introduce una o más URL del servidor, separadas por comas o líneas nuevas. Plezy usará la URL accesible con menor latencia.",
|
||||
"serverUrl": "URL del servidor",
|
||||
"serverUrls": "URL del servidor",
|
||||
"findServer": "Buscar servidor",
|
||||
"searchingLocalServers": "Buscando servidores Jellyfin locales...",
|
||||
"localServers": "Servidores Jellyfin locales",
|
||||
"username": "Usuario",
|
||||
"password": "Contraseña",
|
||||
"signIn": "Iniciar sesión",
|
||||
|
||||
@@ -36,6 +36,7 @@
|
||||
"yes": "Oui",
|
||||
"no": "Non",
|
||||
"delete": "Supprimer",
|
||||
"edit": "Modifier",
|
||||
"shuffle": "Mélanger",
|
||||
"addTo": "Ajouter à...",
|
||||
"createNew": "Créer",
|
||||
@@ -125,6 +126,8 @@
|
||||
"showEpisodeNumberOnCardsDescription": "Afficher la saison et l'épisode sur les cartes d'épisode",
|
||||
"showSeasonPostersOnTabs": "Afficher les posters de saison sur les onglets",
|
||||
"showSeasonPostersOnTabsDescription": "Afficher l'affiche de chaque saison au-dessus de son onglet",
|
||||
"tvFullCardLayout": "Cartes TV pleines",
|
||||
"tvFullCardLayoutDescription": "Utiliser des cartes TV avec image seule et noms des acteurs superposés",
|
||||
"hideSpoilers": "Masquer les spoilers des épisodes non vus",
|
||||
"hideSpoilersDescription": "Flouter les miniatures et descriptions des épisodes non vus",
|
||||
"playerBackend": "Moteur de lecture",
|
||||
@@ -248,12 +251,20 @@
|
||||
"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",
|
||||
"forceTvModeDescription": "Forcer l'interface TV. Pour appareils non détectés automatiquement. Redémarrage requis.",
|
||||
"startInFullscreen": "Démarrer en plein écran",
|
||||
"startInFullscreenDescription": "Ouvrir Plezy en mode plein écran au lancement",
|
||||
"exitFullscreenOnPlayerClose": "Quitter le plein écran à la fermeture du lecteur",
|
||||
"exitFullscreenOnPlayerCloseDescription": "Quitter automatiquement le plein écran lors de la fermeture du lecteur vidéo",
|
||||
"autoHidePerformanceOverlay": "Masquer auto. superposition performances",
|
||||
"autoHidePerformanceOverlayDescription": "Faire apparaître/disparaître la superposition avec les contrôles de lecture",
|
||||
"showNavBarLabels": "Afficher les libellés de la barre de navigation",
|
||||
@@ -297,10 +308,14 @@
|
||||
"speedIncrease": "Augmenter la vitesse",
|
||||
"speedDecrease": "Réduire la vitesse",
|
||||
"speedReset": "Réinitialiser la vitesse",
|
||||
"zoomIn": "Zoom avant",
|
||||
"zoomOut": "Zoom arrière",
|
||||
"zoomReset": "Réinitialiser le zoom",
|
||||
"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 +362,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",
|
||||
@@ -379,6 +407,10 @@
|
||||
"unlockRotation": "Déverrouiller la rotation",
|
||||
"timerActive": "Minuterie active",
|
||||
"playbackWillPauseIn": "La lecture sera mise en pause dans ${duration}",
|
||||
"sleepTimerEndOfVideo": "Fin de la vidéo actuelle",
|
||||
"sleepTimerStopAtHeader": "Arrêter à",
|
||||
"sleepTimerDurationHeader": "Minuterie",
|
||||
"playbackWillPauseAtEnd": "La lecture sera mise en pause à la fin de cette vidéo",
|
||||
"stillWatching": "Toujours en train de regarder ?",
|
||||
"pausingIn": "Pause dans ${seconds}s",
|
||||
"continueWatching": "Continuer",
|
||||
@@ -394,7 +426,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 +452,8 @@
|
||||
"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",
|
||||
"zoomPercent": "Zoom ${percent} %",
|
||||
"pipErrors": {
|
||||
"androidVersion": "Nécessite Android 8.0 ou plus récent",
|
||||
"iosVersion": "Nécessite iOS 15.0 ou plus récent",
|
||||
@@ -588,7 +622,9 @@
|
||||
"addConnectionSubtitleScoped": "Ajouter à ${displayName} : Plex, Jellyfin ou une autre connexion de profil",
|
||||
"sessionExpiredOne": "Session expirée pour ${name}",
|
||||
"sessionExpiredMany": "Session expirée pour ${count} serveurs",
|
||||
"signInAgain": "Se reconnecter"
|
||||
"signInAgain": "Se reconnecter",
|
||||
"editJellyfinTitle": "Modifier la connexion Jellyfin",
|
||||
"editJellyfinIntro": "Ajoutez ou supprimez des URL pour ${serverName}. Plezy utilisera l'URL joignable avec la latence la plus faible."
|
||||
},
|
||||
"discover": {
|
||||
"title": "Découvrez",
|
||||
@@ -684,15 +720,26 @@
|
||||
"genre": "Genre",
|
||||
"year": "Année",
|
||||
"contentRating": "Classification",
|
||||
"tag": "Tag"
|
||||
"tag": "Tag",
|
||||
"unwatched": "Non vus"
|
||||
},
|
||||
"sortLabels": {
|
||||
"title": "Titre",
|
||||
"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,8 +1092,8 @@
|
||||
}
|
||||
},
|
||||
"videoSettings": {
|
||||
"playbackSettings": "Paramètres de lecture",
|
||||
"playbackSpeed": "Vitesse de lecture",
|
||||
"zoom": "Zoom",
|
||||
"sleepTimer": "Minuterie de mise en veille",
|
||||
"audioSync": "Synchronisation audio",
|
||||
"subtitleSync": "Synchronisation des sous-titres",
|
||||
@@ -1225,8 +1272,12 @@
|
||||
"addServer": {
|
||||
"addJellyfinTitle": "Ajouter un serveur Jellyfin",
|
||||
"jellyfinUrlIntro": "Saisissez l'URL du serveur, par ex. `https://jellyfin.example.com`.",
|
||||
"jellyfinUrlsIntro": "Saisissez une ou plusieurs URL de serveur, séparées par des virgules ou des retours à la ligne. Plezy utilisera l'URL joignable avec la latence la plus faible.",
|
||||
"serverUrl": "URL du serveur",
|
||||
"serverUrls": "URL du serveur",
|
||||
"findServer": "Rechercher un serveur",
|
||||
"searchingLocalServers": "Recherche de serveurs Jellyfin locaux...",
|
||||
"localServers": "Serveurs Jellyfin locaux",
|
||||
"username": "Nom d'utilisateur",
|
||||
"password": "Mot de passe",
|
||||
"signIn": "Se connecter",
|
||||
|
||||
@@ -36,6 +36,7 @@
|
||||
"yes": "Sì",
|
||||
"no": "No",
|
||||
"delete": "Elimina",
|
||||
"edit": "Modifica",
|
||||
"shuffle": "Casuale",
|
||||
"addTo": "Aggiungi a...",
|
||||
"createNew": "Crea",
|
||||
@@ -125,6 +126,8 @@
|
||||
"showEpisodeNumberOnCardsDescription": "Mostra stagione ed episodio sulle schede episodio",
|
||||
"showSeasonPostersOnTabs": "Mostra poster delle stagioni sulle schede",
|
||||
"showSeasonPostersOnTabsDescription": "Mostra il poster di ogni stagione sopra la sua scheda",
|
||||
"tvFullCardLayout": "Schede TV piene",
|
||||
"tvFullCardLayoutDescription": "Usa schede TV solo immagine con i nomi degli attori sovrapposti",
|
||||
"hideSpoilers": "Nascondi spoiler per episodi non visti",
|
||||
"hideSpoilersDescription": "Sfoca miniature e descrizioni degli episodi non visti",
|
||||
"playerBackend": "Motore di riproduzione",
|
||||
@@ -248,12 +251,20 @@
|
||||
"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",
|
||||
"forceTvModeDescription": "Forza layout TV. Per dispositivi non rilevati automaticamente. Richiede riavvio.",
|
||||
"startInFullscreen": "Avvia a schermo intero",
|
||||
"startInFullscreenDescription": "Apri Plezy a schermo intero all'avvio",
|
||||
"exitFullscreenOnPlayerClose": "Esci dallo schermo intero alla chiusura del player",
|
||||
"exitFullscreenOnPlayerCloseDescription": "Esci automaticamente dallo schermo intero quando il lettore video viene chiuso",
|
||||
"autoHidePerformanceOverlay": "Nascondi automaticamente overlay prestazioni",
|
||||
"autoHidePerformanceOverlayDescription": "Dissolvi l'overlay prestazioni con i controlli di riproduzione",
|
||||
"showNavBarLabels": "Mostra etichette barra di navigazione",
|
||||
@@ -297,10 +308,14 @@
|
||||
"speedIncrease": "Aumenta velocità",
|
||||
"speedDecrease": "Diminuisci velocità",
|
||||
"speedReset": "Ripristina velocità",
|
||||
"zoomIn": "Aumenta zoom",
|
||||
"zoomOut": "Riduci zoom",
|
||||
"zoomReset": "Ripristina zoom",
|
||||
"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 +362,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",
|
||||
@@ -379,6 +407,10 @@
|
||||
"unlockRotation": "Sblocca rotazione",
|
||||
"timerActive": "Timer attivo",
|
||||
"playbackWillPauseIn": "La riproduzione si interromperà tra ${duration}",
|
||||
"sleepTimerEndOfVideo": "Fine del video corrente",
|
||||
"sleepTimerStopAtHeader": "Interrompi a",
|
||||
"sleepTimerDurationHeader": "Timer",
|
||||
"playbackWillPauseAtEnd": "La riproduzione si interromperà alla fine di questo video",
|
||||
"stillWatching": "Stai ancora guardando?",
|
||||
"pausingIn": "Pausa tra ${seconds}s",
|
||||
"continueWatching": "Continua",
|
||||
@@ -394,7 +426,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 +452,8 @@
|
||||
"endsAt": "Finisce alle ${time}",
|
||||
"pipActive": "Riproduzione in Picture-in-Picture",
|
||||
"pipFailed": "Impossibile avviare la modalità Picture-in-Picture",
|
||||
"screenshotSaved": "Schermata salvata",
|
||||
"zoomPercent": "Zoom ${percent}%",
|
||||
"pipErrors": {
|
||||
"androidVersion": "Richiede Android 8.0 o versioni successive",
|
||||
"iosVersion": "Richiede iOS 15.0 o versioni successive",
|
||||
@@ -588,7 +622,9 @@
|
||||
"addConnectionSubtitleScoped": "Aggiungi a ${displayName}: Plex, Jellyfin o un'altra connessione profilo",
|
||||
"sessionExpiredOne": "Sessione scaduta per ${name}",
|
||||
"sessionExpiredMany": "Sessione scaduta per ${count} server",
|
||||
"signInAgain": "Accedi di nuovo"
|
||||
"signInAgain": "Accedi di nuovo",
|
||||
"editJellyfinTitle": "Modifica connessione Jellyfin",
|
||||
"editJellyfinIntro": "Aggiungi o rimuovi URL per ${serverName}. Plezy userà l'URL raggiungibile con la latenza più bassa."
|
||||
},
|
||||
"discover": {
|
||||
"title": "Esplora",
|
||||
@@ -684,15 +720,26 @@
|
||||
"genre": "Genere",
|
||||
"year": "Anno",
|
||||
"contentRating": "Classificazione",
|
||||
"tag": "Tag"
|
||||
"tag": "Tag",
|
||||
"unwatched": "Non visti"
|
||||
},
|
||||
"sortLabels": {
|
||||
"title": "Titolo",
|
||||
"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,8 +1092,8 @@
|
||||
}
|
||||
},
|
||||
"videoSettings": {
|
||||
"playbackSettings": "Impostazioni di riproduzione",
|
||||
"playbackSpeed": "Velocità di riproduzione",
|
||||
"zoom": "Zoom",
|
||||
"sleepTimer": "Timer di spegnimento",
|
||||
"audioSync": "Sincronizzazione audio",
|
||||
"subtitleSync": "Sincronizzazione sottotitoli",
|
||||
@@ -1225,8 +1272,12 @@
|
||||
"addServer": {
|
||||
"addJellyfinTitle": "Aggiungi server Jellyfin",
|
||||
"jellyfinUrlIntro": "Inserisci l'URL del server, es. `https://jellyfin.example.com`.",
|
||||
"jellyfinUrlsIntro": "Inserisci uno o più URL del server, separati da virgole o nuove righe. Plezy userà l'URL raggiungibile con la latenza più bassa.",
|
||||
"serverUrl": "URL del server",
|
||||
"serverUrls": "URL del server",
|
||||
"findServer": "Trova server",
|
||||
"searchingLocalServers": "Ricerca server Jellyfin locali...",
|
||||
"localServers": "Server Jellyfin locali",
|
||||
"username": "Nome utente",
|
||||
"password": "Password",
|
||||
"signIn": "Accedi",
|
||||
|
||||
@@ -36,6 +36,7 @@
|
||||
"yes": "はい",
|
||||
"no": "いいえ",
|
||||
"delete": "削除",
|
||||
"edit": "編集",
|
||||
"shuffle": "シャッフル",
|
||||
"addTo": "追加...",
|
||||
"createNew": "新規作成",
|
||||
@@ -125,6 +126,8 @@
|
||||
"showEpisodeNumberOnCardsDescription": "エピソードカードにシーズン番号とエピソード番号を表示します",
|
||||
"showSeasonPostersOnTabs": "タブにシーズンポスターを表示",
|
||||
"showSeasonPostersOnTabsDescription": "各シーズンのポスターをタブの上に表示します",
|
||||
"tvFullCardLayout": "フルTVカード",
|
||||
"tvFullCardLayoutDescription": "TVカードを画像のみで表示し、俳優名を重ねて表示します",
|
||||
"hideSpoilers": "未視聴エピソードのネタバレを非表示",
|
||||
"hideSpoilersDescription": "未視聴エピソードのサムネイルと説明をぼかします",
|
||||
"playerBackend": "プレーヤーバックエンド",
|
||||
@@ -248,12 +251,20 @@
|
||||
"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モードを強制",
|
||||
"forceTvModeDescription": "TVレイアウトを強制します。自動検出しないデバイス向けです。再起動が必要です。",
|
||||
"startInFullscreen": "全画面表示で起動",
|
||||
"startInFullscreenDescription": "起動時にPlezyを全画面モードで開きます",
|
||||
"exitFullscreenOnPlayerClose": "プレイヤーを閉じたときに全画面を終了",
|
||||
"exitFullscreenOnPlayerCloseDescription": "ビデオプレイヤーを閉じたときに自動的に全画面モードを終了します",
|
||||
"autoHidePerformanceOverlay": "パフォーマンスオーバーレイを自動非表示",
|
||||
"autoHidePerformanceOverlayDescription": "再生コントロールと一緒にパフォーマンスオーバーレイをフェードする",
|
||||
"showNavBarLabels": "ナビゲーションバーラベルを表示",
|
||||
@@ -297,10 +308,14 @@
|
||||
"speedIncrease": "速度を上げる",
|
||||
"speedDecrease": "速度を下げる",
|
||||
"speedReset": "速度をリセット",
|
||||
"zoomIn": "ズームイン",
|
||||
"zoomOut": "ズームアウト",
|
||||
"zoomReset": "ズームをリセット",
|
||||
"subSeekNext": "次の字幕にシーク",
|
||||
"subSeekPrev": "前の字幕にシーク",
|
||||
"shaderToggle": "シェーダー切替",
|
||||
"skipMarker": "イントロ/クレジットをスキップ"
|
||||
"skipMarker": "イントロ/クレジットをスキップ",
|
||||
"screenshot": "スクリーンショットを撮る"
|
||||
}
|
||||
},
|
||||
"fileInfo": {
|
||||
@@ -347,6 +362,19 @@
|
||||
"playFromBeginning": "最初から再生",
|
||||
"playVersion": "バージョンを再生..."
|
||||
},
|
||||
"rateSheet": {
|
||||
"title": "評価",
|
||||
"server": "サーバー",
|
||||
"starValue": "${rating} / 5",
|
||||
"scoreValue": "${score} / 10",
|
||||
"setScore": "スコアを設定",
|
||||
"notRated": "未評価",
|
||||
"liked": "いいね済み",
|
||||
"notLiked": "いいねなし",
|
||||
"saved": "保存済み",
|
||||
"notAvailable": "一致なし",
|
||||
"noConnectedTrackers": "設定でトラッカーを接続すると、そこで評価できます。"
|
||||
},
|
||||
"accessibility": {
|
||||
"mediaCardMovie": "${title}、映画",
|
||||
"mediaCardShow": "${title}、テレビ番組",
|
||||
@@ -379,6 +407,10 @@
|
||||
"unlockRotation": "回転のロックを解除",
|
||||
"timerActive": "タイマー動作中",
|
||||
"playbackWillPauseIn": "再生は${duration}後に一時停止します",
|
||||
"sleepTimerEndOfVideo": "現在の動画の最後",
|
||||
"sleepTimerStopAtHeader": "停止のタイミング",
|
||||
"sleepTimerDurationHeader": "タイマー",
|
||||
"playbackWillPauseAtEnd": "再生はこの動画の最後に一時停止します",
|
||||
"stillWatching": "まだ視聴中ですか?",
|
||||
"pausingIn": "${seconds}秒後に一時停止",
|
||||
"continueWatching": "続ける",
|
||||
@@ -394,7 +426,7 @@
|
||||
"nextChapterButton": "次のチャプター",
|
||||
"muteButton": "ミュート",
|
||||
"unmuteButton": "ミュート解除",
|
||||
"settingsButton": "動画設定",
|
||||
"settingsButton": "再生設定",
|
||||
"tracksButton": "音声と字幕",
|
||||
"chaptersButton": "チャプター",
|
||||
"versionsButton": "動画バージョン",
|
||||
@@ -420,6 +452,8 @@
|
||||
"endsAt": "${time}に終了",
|
||||
"pipActive": "ピクチャーインピクチャーで再生中",
|
||||
"pipFailed": "ピクチャーインピクチャーの開始に失敗しました",
|
||||
"screenshotSaved": "スクリーンショットを保存しました",
|
||||
"zoomPercent": "ズーム ${percent}%",
|
||||
"pipErrors": {
|
||||
"androidVersion": "Android 8.0以降が必要です",
|
||||
"iosVersion": "iOS 15.0以降が必要です",
|
||||
@@ -588,7 +622,9 @@
|
||||
"addConnectionSubtitleScoped": "${displayName}に追加: Plex、Jellyfin、または別プロフィールの接続",
|
||||
"sessionExpiredOne": "${name} のセッションの有効期限が切れました",
|
||||
"sessionExpiredMany": "${count} 台のサーバーのセッションの有効期限が切れました",
|
||||
"signInAgain": "再度サインイン"
|
||||
"signInAgain": "再度サインイン",
|
||||
"editJellyfinTitle": "Jellyfin接続を編集",
|
||||
"editJellyfinIntro": "${serverName} のURLを追加または削除します。Plezyは到達可能なURLのうち最も低遅延のものを使用します。"
|
||||
},
|
||||
"discover": {
|
||||
"title": "探す",
|
||||
@@ -684,15 +720,26 @@
|
||||
"genre": "ジャンル",
|
||||
"year": "年",
|
||||
"contentRating": "視聴年齢区分",
|
||||
"tag": "タグ"
|
||||
"tag": "タグ",
|
||||
"unwatched": "未視聴"
|
||||
},
|
||||
"sortLabels": {
|
||||
"title": "タイトル",
|
||||
"dateAdded": "追加日",
|
||||
"releaseDate": "リリース日",
|
||||
"rating": "評価",
|
||||
"communityRating": "コミュニティ評価",
|
||||
"criticRating": "批評家評価",
|
||||
"lastPlayed": "最終再生",
|
||||
"datePlayed": "再生日",
|
||||
"playCount": "再生回数",
|
||||
"productionYear": "製作年",
|
||||
"runtime": "再生時間",
|
||||
"officialRating": "公式レーティング",
|
||||
"premiereDate": "プレミア日",
|
||||
"startDate": "開始日",
|
||||
"airTime": "放送時刻",
|
||||
"studio": "スタジオ",
|
||||
"random": "ランダム",
|
||||
"dateShared": "共有日",
|
||||
"latestEpisodeAirDate": "最新エピソード放送日"
|
||||
@@ -1045,8 +1092,8 @@
|
||||
}
|
||||
},
|
||||
"videoSettings": {
|
||||
"playbackSettings": "再生設定",
|
||||
"playbackSpeed": "再生速度",
|
||||
"zoom": "ズーム",
|
||||
"sleepTimer": "スリープタイマー",
|
||||
"audioSync": "音声同期",
|
||||
"subtitleSync": "字幕同期",
|
||||
@@ -1225,8 +1272,12 @@
|
||||
"addServer": {
|
||||
"addJellyfinTitle": "Jellyfinサーバーを追加",
|
||||
"jellyfinUrlIntro": "サーバーURLを入力してください。例: `https://jellyfin.example.com`。",
|
||||
"jellyfinUrlsIntro": "サーバーURLを1つ以上、カンマまたは改行で区切って入力してください。Plezyは到達可能なURLのうち最も低遅延のものを使用します。",
|
||||
"serverUrl": "サーバーURL",
|
||||
"serverUrls": "サーバーURL",
|
||||
"findServer": "サーバーを検索",
|
||||
"searchingLocalServers": "ローカル Jellyfin サーバーを検索中...",
|
||||
"localServers": "ローカル Jellyfin サーバー",
|
||||
"username": "ユーザー名",
|
||||
"password": "パスワード",
|
||||
"signIn": "サインイン",
|
||||
|
||||
@@ -36,6 +36,7 @@
|
||||
"yes": "예",
|
||||
"no": "아니오",
|
||||
"delete": "삭제",
|
||||
"edit": "편집",
|
||||
"shuffle": "무작위 재생",
|
||||
"addTo": "추가하기...",
|
||||
"createNew": "새로 만들기",
|
||||
@@ -125,6 +126,8 @@
|
||||
"showEpisodeNumberOnCardsDescription": "에피소드 카드에 시즌 및 에피소드 번호 표시",
|
||||
"showSeasonPostersOnTabs": "탭에 시즌 포스터 표시",
|
||||
"showSeasonPostersOnTabsDescription": "각 시즌 포스터를 탭 위에 표시",
|
||||
"tvFullCardLayout": "전체 TV 카드",
|
||||
"tvFullCardLayoutDescription": "TV 카드에 이미지만 표시하고 배우 이름을 오버레이로 표시",
|
||||
"hideSpoilers": "미시청 에피소드 스포일러 숨기기",
|
||||
"hideSpoilersDescription": "시청하지 않은 에피소드의 썸네일과 설명을 흐리게 처리",
|
||||
"playerBackend": "플레이어 백엔드",
|
||||
@@ -248,12 +251,20 @@
|
||||
"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 모드 강제 사용",
|
||||
"forceTvModeDescription": "TV 레이아웃을 강제합니다. 자동 감지되지 않는 기기용입니다. 재시작이 필요합니다.",
|
||||
"startInFullscreen": "전체화면으로 시작",
|
||||
"startInFullscreenDescription": "실행 시 Plezy를 전체화면 모드로 엽니다",
|
||||
"exitFullscreenOnPlayerClose": "플레이어 닫을 때 전체화면 종료",
|
||||
"exitFullscreenOnPlayerCloseDescription": "비디오 플레이어를 닫을 때 자동으로 전체화면을 종료합니다",
|
||||
"autoHidePerformanceOverlay": "성능 오버레이 자동 숨기기",
|
||||
"autoHidePerformanceOverlayDescription": "재생 컨트롤과 함께 성능 오버레이를 페이드 처리",
|
||||
"showNavBarLabels": "내비게이션 바 라벨 표시",
|
||||
@@ -297,10 +308,14 @@
|
||||
"speedIncrease": "속도 높이기",
|
||||
"speedDecrease": "속도 낮추기",
|
||||
"speedReset": "속도 초기화",
|
||||
"zoomIn": "확대",
|
||||
"zoomOut": "축소",
|
||||
"zoomReset": "확대/축소 초기화",
|
||||
"subSeekNext": "다음 자막으로 이동",
|
||||
"subSeekPrev": "이전 자막으로 이동",
|
||||
"shaderToggle": "셰이더 전환",
|
||||
"skipMarker": "인트로/크레딧 건너뛰기"
|
||||
"skipMarker": "인트로/크레딧 건너뛰기",
|
||||
"screenshot": "스크린샷 찍기"
|
||||
}
|
||||
},
|
||||
"fileInfo": {
|
||||
@@ -347,6 +362,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 프로그램",
|
||||
@@ -379,6 +407,10 @@
|
||||
"unlockRotation": "회전 잠금 해제",
|
||||
"timerActive": "타이머 활성화됨",
|
||||
"playbackWillPauseIn": "재생이 ${duration} 후에 일시 중지 됩니다",
|
||||
"sleepTimerEndOfVideo": "현재 비디오의 끝",
|
||||
"sleepTimerStopAtHeader": "정지 시점",
|
||||
"sleepTimerDurationHeader": "타이머",
|
||||
"playbackWillPauseAtEnd": "재생이 이 비디오의 끝에서 일시 중지됩니다",
|
||||
"stillWatching": "아직 시청 중이신가요?",
|
||||
"pausingIn": "${seconds}초 후 일시 정지",
|
||||
"continueWatching": "계속",
|
||||
@@ -394,7 +426,7 @@
|
||||
"nextChapterButton": "다음 챕터",
|
||||
"muteButton": "음소거",
|
||||
"unmuteButton": "음소거 해제",
|
||||
"settingsButton": "동영상 설정",
|
||||
"settingsButton": "재생 설정",
|
||||
"tracksButton": "오디오 및 자막",
|
||||
"chaptersButton": "챕터",
|
||||
"versionsButton": "동영상 버전",
|
||||
@@ -420,6 +452,8 @@
|
||||
"endsAt": "${time}에 종료",
|
||||
"pipActive": "화면 속 화면으로 재생 중",
|
||||
"pipFailed": "화면 속 화면 모드를 시작할 수 없습니다",
|
||||
"screenshotSaved": "스크린샷 저장됨",
|
||||
"zoomPercent": "확대/축소 ${percent}%",
|
||||
"pipErrors": {
|
||||
"androidVersion": "Android 8.0 이상이 필요합니다",
|
||||
"iosVersion": "iOS 15.0 이상이 필요합니다",
|
||||
@@ -588,7 +622,9 @@
|
||||
"addConnectionSubtitleScoped": "${displayName}에 추가: Plex, Jellyfin 또는 다른 프로필 연결",
|
||||
"sessionExpiredOne": "${name} 의 세션이 만료되었습니다",
|
||||
"sessionExpiredMany": "${count} 개의 서버에서 세션이 만료되었습니다",
|
||||
"signInAgain": "다시 로그인"
|
||||
"signInAgain": "다시 로그인",
|
||||
"editJellyfinTitle": "Jellyfin 연결 편집",
|
||||
"editJellyfinIntro": "${serverName}의 URL을 추가하거나 제거하세요. Plezy는 연결 가능한 URL 중 지연 시간이 가장 낮은 URL을 사용합니다."
|
||||
},
|
||||
"discover": {
|
||||
"title": "발견",
|
||||
@@ -684,15 +720,26 @@
|
||||
"genre": "장르",
|
||||
"year": "연도",
|
||||
"contentRating": "시청 등급",
|
||||
"tag": "태그"
|
||||
"tag": "태그",
|
||||
"unwatched": "미시청"
|
||||
},
|
||||
"sortLabels": {
|
||||
"title": "제목",
|
||||
"dateAdded": "추가된 날짜",
|
||||
"releaseDate": "출시일",
|
||||
"rating": "평점",
|
||||
"communityRating": "커뮤니티 평점",
|
||||
"criticRating": "평론가 평점",
|
||||
"lastPlayed": "마지막 재생",
|
||||
"datePlayed": "재생일",
|
||||
"playCount": "재생 횟수",
|
||||
"productionYear": "제작 연도",
|
||||
"runtime": "재생 시간",
|
||||
"officialRating": "공식 등급",
|
||||
"premiereDate": "최초 공개일",
|
||||
"startDate": "시작일",
|
||||
"airTime": "방영 시간",
|
||||
"studio": "스튜디오",
|
||||
"random": "무작위",
|
||||
"dateShared": "공유된 날짜",
|
||||
"latestEpisodeAirDate": "최신 에피소드 방영일"
|
||||
@@ -1045,8 +1092,8 @@
|
||||
}
|
||||
},
|
||||
"videoSettings": {
|
||||
"playbackSettings": "재생 설정",
|
||||
"playbackSpeed": "재생 속도",
|
||||
"zoom": "확대/축소",
|
||||
"sleepTimer": "취침 타이머",
|
||||
"audioSync": "오디오 동기화",
|
||||
"subtitleSync": "자막 동기화",
|
||||
@@ -1225,8 +1272,12 @@
|
||||
"addServer": {
|
||||
"addJellyfinTitle": "Jellyfin 서버 추가",
|
||||
"jellyfinUrlIntro": "서버 URL을 입력하세요. 예: `https://jellyfin.example.com`.",
|
||||
"jellyfinUrlsIntro": "서버 URL을 하나 이상 쉼표나 줄바꿈으로 구분해 입력하세요. Plezy는 연결 가능한 URL 중 지연 시간이 가장 낮은 URL을 사용합니다.",
|
||||
"serverUrl": "서버 URL",
|
||||
"serverUrls": "서버 URL",
|
||||
"findServer": "서버 찾기",
|
||||
"searchingLocalServers": "로컬 Jellyfin 서버 검색 중...",
|
||||
"localServers": "로컬 Jellyfin 서버",
|
||||
"username": "사용자 이름",
|
||||
"password": "비밀번호",
|
||||
"signIn": "로그인",
|
||||
|
||||
@@ -36,6 +36,7 @@
|
||||
"yes": "Ja",
|
||||
"no": "Nei",
|
||||
"delete": "Slett",
|
||||
"edit": "Rediger",
|
||||
"shuffle": "Tilfeldig",
|
||||
"addTo": "Legg til i...",
|
||||
"createNew": "Opprett ny",
|
||||
@@ -125,6 +126,8 @@
|
||||
"showEpisodeNumberOnCardsDescription": "Vis sesong- og episodenummer på episodekort",
|
||||
"showSeasonPostersOnTabs": "Vis sesongplakater på faner",
|
||||
"showSeasonPostersOnTabsDescription": "Vis hver sesongs plakat over fanen",
|
||||
"tvFullCardLayout": "Fulle TV-kort",
|
||||
"tvFullCardLayoutDescription": "Bruk bildebaserte TV-kort med skuespillernavn lagt over",
|
||||
"hideSpoilers": "Skjul spoilere for usette episoder",
|
||||
"hideSpoilersDescription": "Slør miniatyrbilder og beskrivelser for usette episoder",
|
||||
"playerBackend": "Spillermotor",
|
||||
@@ -248,12 +251,20 @@
|
||||
"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",
|
||||
"forceTvModeDescription": "Tving TV-oppsett. For enheter som ikke oppdages automatisk. Krever omstart.",
|
||||
"startInFullscreen": "Start i fullskjerm",
|
||||
"startInFullscreenDescription": "Åpne Plezy i fullskjermmodus ved oppstart",
|
||||
"exitFullscreenOnPlayerClose": "Avslutt fullskjerm ved lukking av avspiller",
|
||||
"exitFullscreenOnPlayerCloseDescription": "Avslutt fullskjerm automatisk når videospilleren lukkes",
|
||||
"autoHidePerformanceOverlay": "Skjul ytelsesoverlegg automatisk",
|
||||
"autoHidePerformanceOverlayDescription": "Fade ytelsesoverlegget med avspillingskontrollene",
|
||||
"showNavBarLabels": "Vis navigasjonsfeltlabeler",
|
||||
@@ -297,10 +308,14 @@
|
||||
"speedIncrease": "Øk hastighet",
|
||||
"speedDecrease": "Reduser hastighet",
|
||||
"speedReset": "Tilbakestill hastighet",
|
||||
"zoomIn": "Zoom inn",
|
||||
"zoomOut": "Zoom ut",
|
||||
"zoomReset": "Tilbakestill zoom",
|
||||
"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 +362,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",
|
||||
@@ -379,6 +407,10 @@
|
||||
"unlockRotation": "Lås opp rotasjon",
|
||||
"timerActive": "Timer aktiv",
|
||||
"playbackWillPauseIn": "Avspilling vil pause om ${duration}",
|
||||
"sleepTimerEndOfVideo": "Slutten av gjeldende video",
|
||||
"sleepTimerStopAtHeader": "Stopp ved",
|
||||
"sleepTimerDurationHeader": "Timer",
|
||||
"playbackWillPauseAtEnd": "Avspilling vil pause på slutten av denne videoen",
|
||||
"stillWatching": "Ser du fortsatt?",
|
||||
"pausingIn": "Pauser om ${seconds}s",
|
||||
"continueWatching": "Fortsett",
|
||||
@@ -394,7 +426,7 @@
|
||||
"nextChapterButton": "Neste kapittel",
|
||||
"muteButton": "Demp",
|
||||
"unmuteButton": "Opphev demping",
|
||||
"settingsButton": "Videoinnstillinger",
|
||||
"settingsButton": "Avspillingsinnstillinger",
|
||||
"tracksButton": "Lyd og undertekster",
|
||||
"chaptersButton": "Kapitler",
|
||||
"versionsButton": "Videoversjoner",
|
||||
@@ -420,6 +452,8 @@
|
||||
"endsAt": "Slutter kl. ${time}",
|
||||
"pipActive": "Spiller i bilde-i-bilde",
|
||||
"pipFailed": "Bilde-i-bilde kunne ikke starte",
|
||||
"screenshotSaved": "Skjermbilde lagret",
|
||||
"zoomPercent": "Zoom ${percent}%",
|
||||
"pipErrors": {
|
||||
"androidVersion": "Krever Android 8.0 eller nyere",
|
||||
"iosVersion": "Krever iOS 15.0 eller nyere",
|
||||
@@ -588,7 +622,9 @@
|
||||
"addConnectionSubtitleScoped": "Legg til for ${displayName}: Plex, Jellyfin eller en annen profiltilkobling",
|
||||
"sessionExpiredOne": "Økten er utløpt for ${name}",
|
||||
"sessionExpiredMany": "Økten er utløpt for ${count} servere",
|
||||
"signInAgain": "Logg inn igjen"
|
||||
"signInAgain": "Logg inn igjen",
|
||||
"editJellyfinTitle": "Rediger Jellyfin-tilkobling",
|
||||
"editJellyfinIntro": "Legg til eller fjern URL-er for ${serverName}. Plezy bruker den tilgjengelige URL-en med lavest forsinkelse."
|
||||
},
|
||||
"discover": {
|
||||
"title": "Oppdag",
|
||||
@@ -684,15 +720,26 @@
|
||||
"genre": "Sjanger",
|
||||
"year": "År",
|
||||
"contentRating": "Aldersgrense",
|
||||
"tag": "Tag"
|
||||
"tag": "Tag",
|
||||
"unwatched": "Usette"
|
||||
},
|
||||
"sortLabels": {
|
||||
"title": "Tittel",
|
||||
"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,8 +1092,8 @@
|
||||
}
|
||||
},
|
||||
"videoSettings": {
|
||||
"playbackSettings": "Avspillingsinnstillinger",
|
||||
"playbackSpeed": "Avspillingshastighet",
|
||||
"zoom": "Zoom",
|
||||
"sleepTimer": "Søvntimer",
|
||||
"audioSync": "Lydsynkronisering",
|
||||
"subtitleSync": "Undertekstsynkronisering",
|
||||
@@ -1225,8 +1272,12 @@
|
||||
"addServer": {
|
||||
"addJellyfinTitle": "Legg til Jellyfin-server",
|
||||
"jellyfinUrlIntro": "Skriv inn server-URL-en, f.eks. `https://jellyfin.example.com`.",
|
||||
"jellyfinUrlsIntro": "Skriv inn én eller flere server-URL-er, adskilt med kommaer eller nye linjer. Plezy bruker den tilgjengelige URL-en med lavest forsinkelse.",
|
||||
"serverUrl": "Server-URL",
|
||||
"serverUrls": "Server-URL-er",
|
||||
"findServer": "Finn server",
|
||||
"searchingLocalServers": "Søker etter lokale Jellyfin-servere...",
|
||||
"localServers": "Lokale Jellyfin-servere",
|
||||
"username": "Brukernavn",
|
||||
"password": "Passord",
|
||||
"signIn": "Logg på",
|
||||
|
||||
@@ -36,6 +36,7 @@
|
||||
"yes": "Ja",
|
||||
"no": "Nee",
|
||||
"delete": "Verwijderen",
|
||||
"edit": "Bewerken",
|
||||
"shuffle": "Willekeurig",
|
||||
"addTo": "Toevoegen aan...",
|
||||
"createNew": "Nieuw aanmaken",
|
||||
@@ -125,6 +126,8 @@
|
||||
"showEpisodeNumberOnCardsDescription": "Toon seizoen- en afleveringsnummer op afleveringskaarten",
|
||||
"showSeasonPostersOnTabs": "Toon seizoensposters op tabbladen",
|
||||
"showSeasonPostersOnTabsDescription": "Toon de poster van elk seizoen boven het tabblad",
|
||||
"tvFullCardLayout": "Volledige tv-kaarten",
|
||||
"tvFullCardLayoutDescription": "Gebruik tv-kaarten met alleen afbeeldingen en namen van acteurs als overlay",
|
||||
"hideSpoilers": "Spoilers voor ongekeken afleveringen verbergen",
|
||||
"hideSpoilersDescription": "Vervaag miniaturen en beschrijvingen voor niet-bekeken afleveringen",
|
||||
"playerBackend": "Speler backend",
|
||||
@@ -248,12 +251,20 @@
|
||||
"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",
|
||||
"forceTvModeDescription": "Forceer TV-indeling. Voor apparaten zonder autodetectie. Herstart vereist.",
|
||||
"startInFullscreen": "Starten in volledig scherm",
|
||||
"startInFullscreenDescription": "Open Plezy bij het starten in volledig scherm",
|
||||
"exitFullscreenOnPlayerClose": "Volledig scherm verlaten bij sluiten speler",
|
||||
"exitFullscreenOnPlayerCloseDescription": "Verlaat automatisch volledig scherm wanneer de videospeler wordt gesloten",
|
||||
"autoHidePerformanceOverlay": "Prestatie-overlay automatisch verbergen",
|
||||
"autoHidePerformanceOverlayDescription": "Laat de prestatie-overlay meevervagen met de afspeelknoppen",
|
||||
"showNavBarLabels": "Navigatiebalk labels tonen",
|
||||
@@ -297,10 +308,14 @@
|
||||
"speedIncrease": "Snelheid verhogen",
|
||||
"speedDecrease": "Snelheid verlagen",
|
||||
"speedReset": "Snelheid resetten",
|
||||
"zoomIn": "Inzoomen",
|
||||
"zoomOut": "Uitzoomen",
|
||||
"zoomReset": "Zoom resetten",
|
||||
"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 +362,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",
|
||||
@@ -379,6 +407,10 @@
|
||||
"unlockRotation": "Ontgrendel rotatie",
|
||||
"timerActive": "Timer actief",
|
||||
"playbackWillPauseIn": "Afspelen wordt gepauzeerd over ${duration}",
|
||||
"sleepTimerEndOfVideo": "Einde van huidige video",
|
||||
"sleepTimerStopAtHeader": "Stoppen bij",
|
||||
"sleepTimerDurationHeader": "Timer",
|
||||
"playbackWillPauseAtEnd": "Afspelen wordt gepauzeerd aan het einde van deze video",
|
||||
"stillWatching": "Kijk je nog?",
|
||||
"pausingIn": "Pauze over ${seconds}s",
|
||||
"continueWatching": "Doorgaan",
|
||||
@@ -394,7 +426,7 @@
|
||||
"nextChapterButton": "Volgend hoofdstuk",
|
||||
"muteButton": "Dempen",
|
||||
"unmuteButton": "Dempen opheffen",
|
||||
"settingsButton": "Video-instellingen",
|
||||
"settingsButton": "Afspeelinstellingen",
|
||||
"tracksButton": "Audio en ondertitels",
|
||||
"chaptersButton": "Hoofdstukken",
|
||||
"versionsButton": "Videoversies",
|
||||
@@ -420,6 +452,8 @@
|
||||
"endsAt": "Eindigt om ${time}",
|
||||
"pipActive": "Afspelen in beeld-in-beeld",
|
||||
"pipFailed": "Beeld-in-beeld kon niet worden gestart",
|
||||
"screenshotSaved": "Schermafbeelding opgeslagen",
|
||||
"zoomPercent": "Zoom ${percent}%",
|
||||
"pipErrors": {
|
||||
"androidVersion": "Vereist Android 8.0 of nieuwer",
|
||||
"iosVersion": "Vereist iOS 15.0 of nieuwer",
|
||||
@@ -588,7 +622,9 @@
|
||||
"addConnectionSubtitleScoped": "Toevoegen aan ${displayName}: Plex, Jellyfin of een andere profielverbinding",
|
||||
"sessionExpiredOne": "Sessie verlopen voor ${name}",
|
||||
"sessionExpiredMany": "Sessie verlopen voor ${count} servers",
|
||||
"signInAgain": "Opnieuw aanmelden"
|
||||
"signInAgain": "Opnieuw aanmelden",
|
||||
"editJellyfinTitle": "Jellyfin-verbinding bewerken",
|
||||
"editJellyfinIntro": "Voeg URL's voor ${serverName} toe of verwijder ze. Plezy gebruikt de bereikbare URL met de laagste latentie."
|
||||
},
|
||||
"discover": {
|
||||
"title": "Ontdekken",
|
||||
@@ -684,15 +720,26 @@
|
||||
"genre": "Genre",
|
||||
"year": "Jaar",
|
||||
"contentRating": "Leeftijdsclassificatie",
|
||||
"tag": "Tag"
|
||||
"tag": "Tag",
|
||||
"unwatched": "Onbekeken"
|
||||
},
|
||||
"sortLabels": {
|
||||
"title": "Titel",
|
||||
"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,8 +1092,8 @@
|
||||
}
|
||||
},
|
||||
"videoSettings": {
|
||||
"playbackSettings": "Afspeelinstellingen",
|
||||
"playbackSpeed": "Afspeelsnelheid",
|
||||
"zoom": "Zoom",
|
||||
"sleepTimer": "Slaaptimer",
|
||||
"audioSync": "Audio synchronisatie",
|
||||
"subtitleSync": "Ondertitel synchronisatie",
|
||||
@@ -1225,8 +1272,12 @@
|
||||
"addServer": {
|
||||
"addJellyfinTitle": "Jellyfin-server toevoegen",
|
||||
"jellyfinUrlIntro": "Voer de server-URL in, bijv. `https://jellyfin.example.com`.",
|
||||
"jellyfinUrlsIntro": "Voer een of meer server-URL's in, gescheiden door komma's of nieuwe regels. Plezy gebruikt de bereikbare URL met de laagste latentie.",
|
||||
"serverUrl": "Server-URL",
|
||||
"serverUrls": "Server-URL's",
|
||||
"findServer": "Server zoeken",
|
||||
"searchingLocalServers": "Lokale Jellyfin-servers zoeken...",
|
||||
"localServers": "Lokale Jellyfin-servers",
|
||||
"username": "Gebruikersnaam",
|
||||
"password": "Wachtwoord",
|
||||
"signIn": "Inloggen",
|
||||
|
||||
@@ -36,6 +36,7 @@
|
||||
"yes": "Tak",
|
||||
"no": "Nie",
|
||||
"delete": "Usuń",
|
||||
"edit": "Edytuj",
|
||||
"shuffle": "Losowo",
|
||||
"addTo": "Dodaj do...",
|
||||
"createNew": "Utwórz nowy",
|
||||
@@ -125,6 +126,8 @@
|
||||
"showEpisodeNumberOnCardsDescription": "Pokazuj numer sezonu i odcinka na kartach odcinków",
|
||||
"showSeasonPostersOnTabs": "Pokaż plakaty sezonów na zakładkach",
|
||||
"showSeasonPostersOnTabsDescription": "Pokazuj plakat każdego sezonu nad jego kartą",
|
||||
"tvFullCardLayout": "Pełne karty TV",
|
||||
"tvFullCardLayoutDescription": "Używaj kart TV tylko z obrazem i nałożonymi nazwiskami aktorów",
|
||||
"hideSpoilers": "Ukryj spoilery nieobejrzanych odcinków",
|
||||
"hideSpoilersDescription": "Rozmywaj miniatury i opisy nieobejrzanych odcinków",
|
||||
"playerBackend": "Backend odtwarzacza",
|
||||
@@ -248,12 +251,20 @@
|
||||
"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",
|
||||
"forceTvModeDescription": "Wymuś układ TV. Dla urządzeń bez autodetekcji. Wymaga restartu.",
|
||||
"startInFullscreen": "Uruchom na pełnym ekranie",
|
||||
"startInFullscreenDescription": "Otwiera Plezy w trybie pełnoekranowym przy uruchomieniu",
|
||||
"exitFullscreenOnPlayerClose": "Wyjdź z pełnego ekranu przy zamykaniu odtwarzacza",
|
||||
"exitFullscreenOnPlayerCloseDescription": "Automatycznie wychodzi z trybu pełnoekranowego po zamknięciu odtwarzacza wideo",
|
||||
"autoHidePerformanceOverlay": "Automatycznie ukrywaj nakładkę wydajności",
|
||||
"autoHidePerformanceOverlayDescription": "Wygaszaj nakładkę wydajności wraz z kontrolkami odtwarzania",
|
||||
"showNavBarLabels": "Pokaż etykiety paska nawigacji",
|
||||
@@ -297,10 +308,14 @@
|
||||
"speedIncrease": "Zwiększ prędkość",
|
||||
"speedDecrease": "Zmniejsz prędkość",
|
||||
"speedReset": "Zresetuj prędkość",
|
||||
"zoomIn": "Powiększ",
|
||||
"zoomOut": "Pomniejsz",
|
||||
"zoomReset": "Zresetuj zoom",
|
||||
"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 +362,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",
|
||||
@@ -379,6 +407,10 @@
|
||||
"unlockRotation": "Odblokuj obrót",
|
||||
"timerActive": "Wyłącznik aktywny",
|
||||
"playbackWillPauseIn": "Odtwarzanie zatrzyma się za ${duration}",
|
||||
"sleepTimerEndOfVideo": "Koniec bieżącego wideo",
|
||||
"sleepTimerStopAtHeader": "Zatrzymaj na",
|
||||
"sleepTimerDurationHeader": "Minutnik",
|
||||
"playbackWillPauseAtEnd": "Odtwarzanie zatrzyma się na końcu tego wideo",
|
||||
"stillWatching": "Nadal oglądasz?",
|
||||
"pausingIn": "Pauza za ${seconds}s",
|
||||
"continueWatching": "Kontynuuj",
|
||||
@@ -394,7 +426,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 +452,8 @@
|
||||
"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",
|
||||
"zoomPercent": "Zoom ${percent}%",
|
||||
"pipErrors": {
|
||||
"androidVersion": "Wymaga Androida 8.0 lub nowszego",
|
||||
"iosVersion": "Wymaga iOS 15.0 lub nowszego",
|
||||
@@ -588,7 +622,9 @@
|
||||
"addConnectionSubtitleScoped": "Dodaj do ${displayName}: Plex, Jellyfin lub połączenie innego profilu",
|
||||
"sessionExpiredOne": "Sesja wygasła dla ${name}",
|
||||
"sessionExpiredMany": "Sesja wygasła dla ${count} serwerów",
|
||||
"signInAgain": "Zaloguj się ponownie"
|
||||
"signInAgain": "Zaloguj się ponownie",
|
||||
"editJellyfinTitle": "Edytuj połączenie Jellyfin",
|
||||
"editJellyfinIntro": "Dodaj lub usuń adresy URL dla ${serverName}. Plezy użyje osiągalnego URL-a o najniższym opóźnieniu."
|
||||
},
|
||||
"discover": {
|
||||
"title": "Odkryj",
|
||||
@@ -684,15 +720,26 @@
|
||||
"genre": "Gatunek",
|
||||
"year": "Rok",
|
||||
"contentRating": "Klasyfikacja wiekowa",
|
||||
"tag": "Tag"
|
||||
"tag": "Tag",
|
||||
"unwatched": "Nieobejrzane"
|
||||
},
|
||||
"sortLabels": {
|
||||
"title": "Tytuł",
|
||||
"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,8 +1092,8 @@
|
||||
}
|
||||
},
|
||||
"videoSettings": {
|
||||
"playbackSettings": "Ustawienia odtwarzania",
|
||||
"playbackSpeed": "Prędkość odtwarzania",
|
||||
"zoom": "Zoom",
|
||||
"sleepTimer": "Wyłącznik czasowy",
|
||||
"audioSync": "Synchronizacja audio",
|
||||
"subtitleSync": "Synchronizacja napisów",
|
||||
@@ -1225,8 +1272,12 @@
|
||||
"addServer": {
|
||||
"addJellyfinTitle": "Dodaj serwer Jellyfin",
|
||||
"jellyfinUrlIntro": "Wpisz URL serwera, np. `https://jellyfin.example.com`.",
|
||||
"jellyfinUrlsIntro": "Wpisz co najmniej jeden URL serwera, oddzielając je przecinkami lub nowymi wierszami. Plezy użyje osiągalnego URL-a o najniższym opóźnieniu.",
|
||||
"serverUrl": "URL serwera",
|
||||
"serverUrls": "URL-e serwera",
|
||||
"findServer": "Znajdź serwer",
|
||||
"searchingLocalServers": "Szukanie lokalnych serwerów Jellyfin...",
|
||||
"localServers": "Lokalne serwery Jellyfin",
|
||||
"username": "Nazwa użytkownika",
|
||||
"password": "Hasło",
|
||||
"signIn": "Zaloguj się",
|
||||
|
||||
@@ -36,6 +36,7 @@
|
||||
"yes": "Sim",
|
||||
"no": "Não",
|
||||
"delete": "Excluir",
|
||||
"edit": "Editar",
|
||||
"shuffle": "Aleatório",
|
||||
"addTo": "Adicionar a...",
|
||||
"createNew": "Criar novo",
|
||||
@@ -125,6 +126,8 @@
|
||||
"showEpisodeNumberOnCardsDescription": "Mostrar temporada e episódio nos cartões de episódio",
|
||||
"showSeasonPostersOnTabs": "Mostrar Pôsteres de Temporada nas Abas",
|
||||
"showSeasonPostersOnTabsDescription": "Mostrar o pôster de cada temporada acima da aba",
|
||||
"tvFullCardLayout": "Cartões TV completos",
|
||||
"tvFullCardLayoutDescription": "Usar cartões de TV só com imagem e nomes dos atores sobrepostos",
|
||||
"hideSpoilers": "Ocultar Spoilers de Episódios Não Assistidos",
|
||||
"hideSpoilersDescription": "Desfocar miniaturas e descrições de episódios não vistos",
|
||||
"playerBackend": "Backend do Player",
|
||||
@@ -248,12 +251,20 @@
|
||||
"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",
|
||||
"forceTvModeDescription": "Forçar layout TV. Para dispositivos sem detecção automática. Requer reinício.",
|
||||
"startInFullscreen": "Iniciar em tela cheia",
|
||||
"startInFullscreenDescription": "Abrir o Plezy em modo de tela cheia ao iniciar",
|
||||
"exitFullscreenOnPlayerClose": "Sair do ecrã inteiro ao fechar o leitor",
|
||||
"exitFullscreenOnPlayerCloseDescription": "Sair automaticamente do modo de ecrã inteiro ao fechar o leitor de vídeo",
|
||||
"autoHidePerformanceOverlay": "Ocultar overlay de desempenho automaticamente",
|
||||
"autoHidePerformanceOverlayDescription": "Desvanecer o overlay de desempenho com os controles de reprodução",
|
||||
"showNavBarLabels": "Mostrar Rótulos da Barra de Navegação",
|
||||
@@ -297,10 +308,14 @@
|
||||
"speedIncrease": "Aumentar Velocidade",
|
||||
"speedDecrease": "Diminuir Velocidade",
|
||||
"speedReset": "Redefinir Velocidade",
|
||||
"zoomIn": "Aumentar zoom",
|
||||
"zoomOut": "Diminuir zoom",
|
||||
"zoomReset": "Redefinir zoom",
|
||||
"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 +362,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",
|
||||
@@ -379,6 +407,10 @@
|
||||
"unlockRotation": "Destravar rotação",
|
||||
"timerActive": "Timer Ativo",
|
||||
"playbackWillPauseIn": "A reprodução pausará em ${duration}",
|
||||
"sleepTimerEndOfVideo": "Fim do vídeo atual",
|
||||
"sleepTimerStopAtHeader": "Parar em",
|
||||
"sleepTimerDurationHeader": "Timer",
|
||||
"playbackWillPauseAtEnd": "A reprodução pausará no final deste vídeo",
|
||||
"stillWatching": "Ainda assistindo?",
|
||||
"pausingIn": "Pausando em ${seconds}s",
|
||||
"continueWatching": "Continuar",
|
||||
@@ -394,7 +426,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 +452,8 @@
|
||||
"endsAt": "Termina às ${time}",
|
||||
"pipActive": "Reproduzindo em Picture-in-Picture",
|
||||
"pipFailed": "Falha ao iniciar picture-in-picture",
|
||||
"screenshotSaved": "Captura de tela salva",
|
||||
"zoomPercent": "Zoom ${percent}%",
|
||||
"pipErrors": {
|
||||
"androidVersion": "Requer Android 8.0 ou superior",
|
||||
"iosVersion": "Requer iOS 15.0 ou superior",
|
||||
@@ -588,7 +622,9 @@
|
||||
"addConnectionSubtitleScoped": "Adicionar a ${displayName}: Plex, Jellyfin ou outra conexão de perfil",
|
||||
"sessionExpiredOne": "Sessão expirada para ${name}",
|
||||
"sessionExpiredMany": "Sessão expirada para ${count} servidores",
|
||||
"signInAgain": "Entrar novamente"
|
||||
"signInAgain": "Entrar novamente",
|
||||
"editJellyfinTitle": "Editar conexão Jellyfin",
|
||||
"editJellyfinIntro": "Adicione ou remova URLs de ${serverName}. O Plezy usará a URL acessível com a menor latência."
|
||||
},
|
||||
"discover": {
|
||||
"title": "Descobrir",
|
||||
@@ -684,15 +720,26 @@
|
||||
"genre": "Gênero",
|
||||
"year": "Ano",
|
||||
"contentRating": "Classificação",
|
||||
"tag": "Tag"
|
||||
"tag": "Tag",
|
||||
"unwatched": "Não assistidos"
|
||||
},
|
||||
"sortLabels": {
|
||||
"title": "Título",
|
||||
"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,8 +1092,8 @@
|
||||
}
|
||||
},
|
||||
"videoSettings": {
|
||||
"playbackSettings": "Configurações de Reprodução",
|
||||
"playbackSpeed": "Velocidade de Reprodução",
|
||||
"zoom": "Zoom",
|
||||
"sleepTimer": "Timer de Sono",
|
||||
"audioSync": "Sincronia de Áudio",
|
||||
"subtitleSync": "Sincronia de Legendas",
|
||||
@@ -1225,8 +1272,12 @@
|
||||
"addServer": {
|
||||
"addJellyfinTitle": "Adicionar servidor Jellyfin",
|
||||
"jellyfinUrlIntro": "Insira a URL do servidor, ex. `https://jellyfin.example.com`.",
|
||||
"jellyfinUrlsIntro": "Insira uma ou mais URLs do servidor, separadas por vírgulas ou novas linhas. O Plezy usará a URL acessível com a menor latência.",
|
||||
"serverUrl": "URL do servidor",
|
||||
"serverUrls": "URLs do servidor",
|
||||
"findServer": "Encontrar servidor",
|
||||
"searchingLocalServers": "A procurar servidores Jellyfin locais...",
|
||||
"localServers": "Servidores Jellyfin locais",
|
||||
"username": "Usuário",
|
||||
"password": "Senha",
|
||||
"signIn": "Entrar",
|
||||
|
||||
@@ -36,6 +36,7 @@
|
||||
"yes": "Да",
|
||||
"no": "Нет",
|
||||
"delete": "Удалить",
|
||||
"edit": "Редактировать",
|
||||
"shuffle": "Перемешать",
|
||||
"addTo": "Добавить в...",
|
||||
"createNew": "Создать новый",
|
||||
@@ -125,6 +126,8 @@
|
||||
"showEpisodeNumberOnCardsDescription": "Показывать номер сезона и серии на карточках серий",
|
||||
"showSeasonPostersOnTabs": "Показывать постеры сезонов на вкладках",
|
||||
"showSeasonPostersOnTabsDescription": "Показывать постер каждого сезона над его вкладкой",
|
||||
"tvFullCardLayout": "Полные TV-карточки",
|
||||
"tvFullCardLayoutDescription": "Использовать TV-карточки только с изображением и именами актёров поверх него",
|
||||
"hideSpoilers": "Скрыть спойлеры непросмотренных эпизодов",
|
||||
"hideSpoilersDescription": "Размывать миниатюры и описания непросмотренных серий",
|
||||
"playerBackend": "Бэкенд плеера",
|
||||
@@ -248,12 +251,20 @@
|
||||
"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": "Принудительный режим ТВ",
|
||||
"forceTvModeDescription": "Принудительно включить ТВ-интерфейс. Для устройств без автоопределения. Требуется перезапуск.",
|
||||
"startInFullscreen": "Запускать в полноэкранном режиме",
|
||||
"startInFullscreenDescription": "Открывать Plezy в полноэкранном режиме при запуске",
|
||||
"exitFullscreenOnPlayerClose": "Выходить из полноэкранного режима при закрытии плеера",
|
||||
"exitFullscreenOnPlayerCloseDescription": "Автоматически выходить из полноэкранного режима при закрытии видеоплеера",
|
||||
"autoHidePerformanceOverlay": "Автоскрытие оверлея производительности",
|
||||
"autoHidePerformanceOverlayDescription": "Скрывать оверлей производительности вместе с элементами управления воспроизведением",
|
||||
"showNavBarLabels": "Показывать подписи панели навигации",
|
||||
@@ -297,10 +308,14 @@
|
||||
"speedIncrease": "Увеличить скорость",
|
||||
"speedDecrease": "Уменьшить скорость",
|
||||
"speedReset": "Сбросить скорость",
|
||||
"zoomIn": "Увеличить масштаб",
|
||||
"zoomOut": "Уменьшить масштаб",
|
||||
"zoomReset": "Сбросить масштаб",
|
||||
"subSeekNext": "К следующему субтитру",
|
||||
"subSeekPrev": "К предыдущему субтитру",
|
||||
"shaderToggle": "Вкл./выкл. шейдеры",
|
||||
"skipMarker": "Пропустить вступление/титры"
|
||||
"skipMarker": "Пропустить вступление/титры",
|
||||
"screenshot": "Сделать снимок экрана"
|
||||
}
|
||||
},
|
||||
"fileInfo": {
|
||||
@@ -347,6 +362,19 @@
|
||||
"playFromBeginning": "Воспроизвести сначала",
|
||||
"playVersion": "Воспроизвести версию..."
|
||||
},
|
||||
"rateSheet": {
|
||||
"title": "Оценить",
|
||||
"server": "Сервер",
|
||||
"starValue": "${rating} / 5",
|
||||
"scoreValue": "${score} / 10",
|
||||
"setScore": "Установить оценку",
|
||||
"notRated": "Без оценки",
|
||||
"liked": "Понравилось",
|
||||
"notLiked": "Не отмечено понравившимся",
|
||||
"saved": "Сохранено",
|
||||
"notAvailable": "Совпадений не найдено",
|
||||
"noConnectedTrackers": "Подключите трекер в настройках, чтобы оценивать там."
|
||||
},
|
||||
"accessibility": {
|
||||
"mediaCardMovie": "${title}, фильм",
|
||||
"mediaCardShow": "${title}, сериал",
|
||||
@@ -379,6 +407,10 @@
|
||||
"unlockRotation": "Разблокировать поворот",
|
||||
"timerActive": "Таймер активен",
|
||||
"playbackWillPauseIn": "Воспроизведение будет приостановлено через ${duration}",
|
||||
"sleepTimerEndOfVideo": "Конец текущего видео",
|
||||
"sleepTimerStopAtHeader": "Остановить на",
|
||||
"sleepTimerDurationHeader": "Таймер",
|
||||
"playbackWillPauseAtEnd": "Воспроизведение будет приостановлено в конце этого видео",
|
||||
"stillWatching": "Всё ещё смотрите?",
|
||||
"pausingIn": "Пауза через ${seconds}с",
|
||||
"continueWatching": "Продолжить",
|
||||
@@ -394,7 +426,7 @@
|
||||
"nextChapterButton": "Следующая глава",
|
||||
"muteButton": "Без звука",
|
||||
"unmuteButton": "Включить звук",
|
||||
"settingsButton": "Настройки видео",
|
||||
"settingsButton": "Настройки воспроизведения",
|
||||
"tracksButton": "Аудио и субтитры",
|
||||
"chaptersButton": "Главы",
|
||||
"versionsButton": "Версии видео",
|
||||
@@ -420,6 +452,8 @@
|
||||
"endsAt": "Закончится в ${time}",
|
||||
"pipActive": "Воспроизводится в режиме «картинка в картинке»",
|
||||
"pipFailed": "Не удалось запустить режим «картинка в картинке»",
|
||||
"screenshotSaved": "Снимок экрана сохранён",
|
||||
"zoomPercent": "Масштаб ${percent}%",
|
||||
"pipErrors": {
|
||||
"androidVersion": "Требуется Android 8.0 или новее",
|
||||
"iosVersion": "Требуется iOS 15.0 или новее",
|
||||
@@ -588,7 +622,9 @@
|
||||
"addConnectionSubtitleScoped": "Добавить к ${displayName}: Plex, Jellyfin или подключение другого профиля",
|
||||
"sessionExpiredOne": "Сессия истекла для ${name}",
|
||||
"sessionExpiredMany": "Сессия истекла для ${count} серверов",
|
||||
"signInAgain": "Войти снова"
|
||||
"signInAgain": "Войти снова",
|
||||
"editJellyfinTitle": "Изменить подключение Jellyfin",
|
||||
"editJellyfinIntro": "Добавьте или удалите URL для ${serverName}. Plezy будет использовать доступный URL с минимальной задержкой."
|
||||
},
|
||||
"discover": {
|
||||
"title": "Обзор",
|
||||
@@ -684,15 +720,26 @@
|
||||
"genre": "Жанр",
|
||||
"year": "Год",
|
||||
"contentRating": "Возрастной рейтинг",
|
||||
"tag": "Тег"
|
||||
"tag": "Тег",
|
||||
"unwatched": "Непросмотренные"
|
||||
},
|
||||
"sortLabels": {
|
||||
"title": "Название",
|
||||
"dateAdded": "Дата добавления",
|
||||
"releaseDate": "Дата выхода",
|
||||
"rating": "Рейтинг",
|
||||
"communityRating": "Оценка сообщества",
|
||||
"criticRating": "Оценка критиков",
|
||||
"lastPlayed": "Последний просмотр",
|
||||
"datePlayed": "Дата просмотра",
|
||||
"playCount": "Количество просмотров",
|
||||
"productionYear": "Год производства",
|
||||
"runtime": "Длительность",
|
||||
"officialRating": "Официальный рейтинг",
|
||||
"premiereDate": "Дата премьеры",
|
||||
"startDate": "Дата начала",
|
||||
"airTime": "Время эфира",
|
||||
"studio": "Студия",
|
||||
"random": "Случайно",
|
||||
"dateShared": "Дата открытия доступа",
|
||||
"latestEpisodeAirDate": "Дата выхода последнего эпизода"
|
||||
@@ -1045,8 +1092,8 @@
|
||||
}
|
||||
},
|
||||
"videoSettings": {
|
||||
"playbackSettings": "Настройки воспроизведения",
|
||||
"playbackSpeed": "Скорость воспроизведения",
|
||||
"zoom": "Масштаб",
|
||||
"sleepTimer": "Таймер сна",
|
||||
"audioSync": "Синхронизация аудио",
|
||||
"subtitleSync": "Синхронизация субтитров",
|
||||
@@ -1225,8 +1272,12 @@
|
||||
"addServer": {
|
||||
"addJellyfinTitle": "Добавить сервер Jellyfin",
|
||||
"jellyfinUrlIntro": "Введите URL сервера, например `https://jellyfin.example.com`.",
|
||||
"jellyfinUrlsIntro": "Введите один или несколько URL сервера, разделяя их запятыми или новыми строками. Plezy будет использовать доступный URL с минимальной задержкой.",
|
||||
"serverUrl": "URL сервера",
|
||||
"serverUrls": "URL сервера",
|
||||
"findServer": "Найти сервер",
|
||||
"searchingLocalServers": "Поиск локальных серверов Jellyfin...",
|
||||
"localServers": "Локальные серверы Jellyfin",
|
||||
"username": "Имя пользователя",
|
||||
"password": "Пароль",
|
||||
"signIn": "Войти",
|
||||
|
||||
@@ -3,10 +3,8 @@
|
||||
/// Source: lib/i18n
|
||||
/// To regenerate, run: `dart run slang`
|
||||
///
|
||||
/// Locales: 15
|
||||
/// Strings: 17145 (1143 per locale)
|
||||
///
|
||||
/// Built on 2026-05-11 at 02:36 UTC
|
||||
/// Locales: 16
|
||||
/// Strings: 19072 (1192 per locale)
|
||||
|
||||
// coverage:ignore-file
|
||||
// ignore_for_file: type=lint, unused_import
|
||||
@@ -18,6 +16,7 @@ import 'package:slang/generated.dart';
|
||||
import 'package:slang_flutter/slang_flutter.dart';
|
||||
export 'package:slang_flutter/slang_flutter.dart';
|
||||
|
||||
import 'strings_bg.g.dart' deferred as l_bg;
|
||||
import 'strings_da.g.dart' deferred as l_da;
|
||||
import 'strings_de.g.dart' deferred as l_de;
|
||||
import 'strings_es.g.dart' deferred as l_es;
|
||||
@@ -42,6 +41,7 @@ part 'strings_en.g.dart';
|
||||
/// - if (LocaleSettings.currentLocale == AppLocale.en) // locale check
|
||||
enum AppLocale with BaseAppLocale<AppLocale, Translations> {
|
||||
en(languageCode: 'en'),
|
||||
bg(languageCode: 'bg'),
|
||||
da(languageCode: 'da'),
|
||||
de(languageCode: 'de'),
|
||||
es(languageCode: 'es'),
|
||||
@@ -80,6 +80,13 @@ enum AppLocale with BaseAppLocale<AppLocale, Translations> {
|
||||
cardinalResolver: cardinalResolver,
|
||||
ordinalResolver: ordinalResolver,
|
||||
);
|
||||
case AppLocale.bg:
|
||||
await l_bg.loadLibrary();
|
||||
return l_bg.TranslationsBg(
|
||||
overrides: overrides,
|
||||
cardinalResolver: cardinalResolver,
|
||||
ordinalResolver: ordinalResolver,
|
||||
);
|
||||
case AppLocale.da:
|
||||
await l_da.loadLibrary();
|
||||
return l_da.TranslationsDa(
|
||||
@@ -194,6 +201,12 @@ enum AppLocale with BaseAppLocale<AppLocale, Translations> {
|
||||
cardinalResolver: cardinalResolver,
|
||||
ordinalResolver: ordinalResolver,
|
||||
);
|
||||
case AppLocale.bg:
|
||||
return l_bg.TranslationsBg(
|
||||
overrides: overrides,
|
||||
cardinalResolver: cardinalResolver,
|
||||
ordinalResolver: ordinalResolver,
|
||||
);
|
||||
case AppLocale.da:
|
||||
return l_da.TranslationsDa(
|
||||
overrides: overrides,
|
||||
|
||||
@@ -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);
|
||||
@@ -142,6 +143,7 @@ class _TranslationsCommonDa extends TranslationsCommonEn {
|
||||
@override String get yes => 'Ja';
|
||||
@override String get no => 'Nej';
|
||||
@override String get delete => 'Slet';
|
||||
@override String get edit => 'Rediger';
|
||||
@override String get shuffle => 'Bland';
|
||||
@override String get addTo => 'Tilføj til...';
|
||||
@override String get createNew => 'Opret ny';
|
||||
@@ -252,6 +254,8 @@ class _TranslationsSettingsDa extends TranslationsSettingsEn {
|
||||
@override String get showEpisodeNumberOnCardsDescription => 'Vis sæson- og episodenummer på episodekort';
|
||||
@override String get showSeasonPostersOnTabs => 'Vis sæsonplakater på faner';
|
||||
@override String get showSeasonPostersOnTabsDescription => 'Vis hver sæsons plakat over dens fane';
|
||||
@override String get tvFullCardLayout => 'Fuldflade TV-kort';
|
||||
@override String get tvFullCardLayoutDescription => 'Brug TV-kort kun med billeder og skuespillernavne ovenpå';
|
||||
@override String get hideSpoilers => 'Skjul spoilere for usete episoder';
|
||||
@override String get hideSpoilersDescription => 'Slør miniaturebilleder og beskrivelser for usete episoder';
|
||||
@override String get playerBackend => 'Afspillerbackend';
|
||||
@@ -375,12 +379,20 @@ 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';
|
||||
@override String get forceTvModeDescription => 'Tving TV-layout. Til enheder, der ikke registreres automatisk. Kræver genstart.';
|
||||
@override String get startInFullscreen => 'Start i fuldskærm';
|
||||
@override String get startInFullscreenDescription => 'Åbn Plezy i fuldskærmstilstand ved opstart';
|
||||
@override String get exitFullscreenOnPlayerClose => 'Forlad fuldskærm ved lukning af afspiller';
|
||||
@override String get exitFullscreenOnPlayerCloseDescription => 'Afslut automatisk fuldskærm, når videoafspilleren lukkes';
|
||||
@override String get autoHidePerformanceOverlay => 'Skjul ydelses-overlay automatisk';
|
||||
@override String get autoHidePerformanceOverlayDescription => 'Fade ydelses-overlayet med afspilningskontrollerne';
|
||||
@override String get showNavBarLabels => 'Vis navigationsbarlabels';
|
||||
@@ -481,6 +493,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);
|
||||
@@ -533,6 +565,10 @@ class _TranslationsVideoControlsDa extends TranslationsVideoControlsEn {
|
||||
@override String get unlockRotation => 'Lås rotation op';
|
||||
@override String get timerActive => 'Timer aktiv';
|
||||
@override String playbackWillPauseIn({required Object duration}) => 'Afspilning pauses om ${duration}';
|
||||
@override String get sleepTimerEndOfVideo => 'Slutningen af aktuel video';
|
||||
@override String get sleepTimerStopAtHeader => 'Stop ved';
|
||||
@override String get sleepTimerDurationHeader => 'Timer';
|
||||
@override String get playbackWillPauseAtEnd => 'Afspilning pauses i slutningen af denne video';
|
||||
@override String get stillWatching => 'Ser du stadig?';
|
||||
@override String pausingIn({required Object seconds}) => 'Pauser om ${seconds}s';
|
||||
@override String get continueWatching => 'Fortsæt';
|
||||
@@ -548,7 +584,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 +610,8 @@ 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 String zoomPercent({required Object percent}) => 'Zoom ${percent}%';
|
||||
@override late final _TranslationsVideoControlsPipErrorsDa pipErrors = _TranslationsVideoControlsPipErrorsDa._(_root);
|
||||
@override String get chapters => 'Kapitler';
|
||||
@override String get noChaptersAvailable => 'Ingen kapitler tilgængelige';
|
||||
@@ -784,6 +822,8 @@ class _TranslationsConnectionsDa extends TranslationsConnectionsEn {
|
||||
@override String sessionExpiredOne({required Object name}) => 'Sessionen er udløbet for ${name}';
|
||||
@override String sessionExpiredMany({required Object count}) => 'Sessionen er udløbet for ${count} servere';
|
||||
@override String get signInAgain => 'Log ind igen';
|
||||
@override String get editJellyfinTitle => 'Rediger Jellyfin-forbindelse';
|
||||
@override String editJellyfinIntro({required Object serverName}) => 'Tilføj eller fjern URL\'er for ${serverName}. Plezy bruger den tilgængelige URL med lavest latenstid.';
|
||||
}
|
||||
|
||||
// Path: discover
|
||||
@@ -1274,8 +1314,8 @@ class _TranslationsVideoSettingsDa extends TranslationsVideoSettingsEn {
|
||||
final TranslationsDa _root; // ignore: unused_field
|
||||
|
||||
// Translations
|
||||
@override String get playbackSettings => 'Afspilningsindstillinger';
|
||||
@override String get playbackSpeed => 'Afspilningshastighed';
|
||||
@override String get zoom => 'Zoom';
|
||||
@override String get sleepTimer => 'Sove-timer';
|
||||
@override String get audioSync => 'Lydsynkronisering';
|
||||
@override String get subtitleSync => 'Undertekstsynkronisering';
|
||||
@@ -1475,8 +1515,12 @@ class _TranslationsAddServerDa extends TranslationsAddServerEn {
|
||||
// Translations
|
||||
@override String get addJellyfinTitle => 'Tilføj Jellyfin-server';
|
||||
@override String get jellyfinUrlIntro => 'Indtast server-URL\'en, f.eks. `https://jellyfin.example.com`.';
|
||||
@override String get jellyfinUrlsIntro => 'Indtast en eller flere server-URL\'er, adskilt med kommaer eller nye linjer. Plezy bruger den tilgængelige URL med lavest latenstid.';
|
||||
@override String get serverUrl => 'Server-URL';
|
||||
@override String get serverUrls => 'Server-URL\'er';
|
||||
@override String get findServer => 'Find server';
|
||||
@override String get searchingLocalServers => 'Søger efter lokale Jellyfin-servere...';
|
||||
@override String get localServers => 'Lokale Jellyfin-servere';
|
||||
@override String get username => 'Brugernavn';
|
||||
@override String get password => 'Adgangskode';
|
||||
@override String get signIn => 'Log ind';
|
||||
@@ -1531,10 +1575,14 @@ class _TranslationsHotkeysActionsDa extends TranslationsHotkeysActionsEn {
|
||||
@override String get speedIncrease => 'Øg hastighed';
|
||||
@override String get speedDecrease => 'Sænk hastighed';
|
||||
@override String get speedReset => 'Nulstil hastighed';
|
||||
@override String get zoomIn => 'Zoom ind';
|
||||
@override String get zoomOut => 'Zoom ud';
|
||||
@override String get zoomReset => 'Nulstil zoom';
|
||||
@override String get subSeekNext => 'Søg til næste undertekst';
|
||||
@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
|
||||
@@ -1593,6 +1641,7 @@ class _TranslationsLibrariesFilterCategoriesDa extends TranslationsLibrariesFilt
|
||||
@override String get year => 'År';
|
||||
@override String get contentRating => 'Aldersvurdering';
|
||||
@override String get tag => 'Tag';
|
||||
@override String get unwatched => 'Usete';
|
||||
}
|
||||
|
||||
// Path: libraries.sortLabels
|
||||
@@ -1606,8 +1655,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';
|
||||
@@ -1794,6 +1853,7 @@ extension on TranslationsDa {
|
||||
'common.yes' => 'Ja',
|
||||
'common.no' => 'Nej',
|
||||
'common.delete' => 'Slet',
|
||||
'common.edit' => 'Rediger',
|
||||
'common.shuffle' => 'Bland',
|
||||
'common.addTo' => 'Tilføj til...',
|
||||
'common.createNew' => 'Opret ny',
|
||||
@@ -1877,6 +1937,8 @@ extension on TranslationsDa {
|
||||
'settings.showEpisodeNumberOnCardsDescription' => 'Vis sæson- og episodenummer på episodekort',
|
||||
'settings.showSeasonPostersOnTabs' => 'Vis sæsonplakater på faner',
|
||||
'settings.showSeasonPostersOnTabsDescription' => 'Vis hver sæsons plakat over dens fane',
|
||||
'settings.tvFullCardLayout' => 'Fuldflade TV-kort',
|
||||
'settings.tvFullCardLayoutDescription' => 'Brug TV-kort kun med billeder og skuespillernavne ovenpå',
|
||||
'settings.hideSpoilers' => 'Skjul spoilere for usete episoder',
|
||||
'settings.hideSpoilersDescription' => 'Slør miniaturebilleder og beskrivelser for usete episoder',
|
||||
'settings.playerBackend' => 'Afspillerbackend',
|
||||
@@ -2000,12 +2062,20 @@ 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',
|
||||
'settings.forceTvModeDescription' => 'Tving TV-layout. Til enheder, der ikke registreres automatisk. Kræver genstart.',
|
||||
'settings.startInFullscreen' => 'Start i fuldskærm',
|
||||
'settings.startInFullscreenDescription' => 'Åbn Plezy i fuldskærmstilstand ved opstart',
|
||||
'settings.exitFullscreenOnPlayerClose' => 'Forlad fuldskærm ved lukning af afspiller',
|
||||
'settings.exitFullscreenOnPlayerCloseDescription' => 'Afslut automatisk fuldskærm, når videoafspilleren lukkes',
|
||||
'settings.autoHidePerformanceOverlay' => 'Skjul ydelses-overlay automatisk',
|
||||
'settings.autoHidePerformanceOverlayDescription' => 'Fade ydelses-overlayet med afspilningskontrollerne',
|
||||
'settings.showNavBarLabels' => 'Vis navigationsbarlabels',
|
||||
@@ -2044,10 +2114,14 @@ extension on TranslationsDa {
|
||||
'hotkeys.actions.speedIncrease' => 'Øg hastighed',
|
||||
'hotkeys.actions.speedDecrease' => 'Sænk hastighed',
|
||||
'hotkeys.actions.speedReset' => 'Nulstil hastighed',
|
||||
'hotkeys.actions.zoomIn' => 'Zoom ind',
|
||||
'hotkeys.actions.zoomOut' => 'Zoom ud',
|
||||
'hotkeys.actions.zoomReset' => 'Nulstil zoom',
|
||||
'hotkeys.actions.subSeekNext' => 'Søg til næste undertekst',
|
||||
'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 +2162,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}',
|
||||
@@ -2115,6 +2200,10 @@ extension on TranslationsDa {
|
||||
'videoControls.unlockRotation' => 'Lås rotation op',
|
||||
'videoControls.timerActive' => 'Timer aktiv',
|
||||
'videoControls.playbackWillPauseIn' => ({required Object duration}) => 'Afspilning pauses om ${duration}',
|
||||
'videoControls.sleepTimerEndOfVideo' => 'Slutningen af aktuel video',
|
||||
'videoControls.sleepTimerStopAtHeader' => 'Stop ved',
|
||||
'videoControls.sleepTimerDurationHeader' => 'Timer',
|
||||
'videoControls.playbackWillPauseAtEnd' => 'Afspilning pauses i slutningen af denne video',
|
||||
'videoControls.stillWatching' => 'Ser du stadig?',
|
||||
'videoControls.pausingIn' => ({required Object seconds}) => 'Pauser om ${seconds}s',
|
||||
'videoControls.continueWatching' => 'Fortsæt',
|
||||
@@ -2130,7 +2219,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 +2245,8 @@ 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.zoomPercent' => ({required Object percent}) => 'Zoom ${percent}%',
|
||||
'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.',
|
||||
@@ -2242,6 +2333,8 @@ extension on TranslationsDa {
|
||||
'mpvConfig.presetSaved' => 'Forudindstilling gemt',
|
||||
'mpvConfig.presetLoaded' => 'Forudindstilling indlæst',
|
||||
'mpvConfig.presetDeleted' => 'Forudindstilling slettet',
|
||||
_ => null,
|
||||
} ?? switch (path) {
|
||||
'mpvConfig.confirmDeletePreset' => 'Er du sikker på, at du vil slette denne forudindstilling?',
|
||||
'mpvConfig.configPlaceholder' => 'gpu-api=vulkan\nhwdec=auto\n# comment',
|
||||
'dialog.confirmAction' => 'Bekræft handling',
|
||||
@@ -2274,8 +2367,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',
|
||||
@@ -2311,6 +2402,8 @@ extension on TranslationsDa {
|
||||
'connections.sessionExpiredOne' => ({required Object name}) => 'Sessionen er udløbet for ${name}',
|
||||
'connections.sessionExpiredMany' => ({required Object count}) => 'Sessionen er udløbet for ${count} servere',
|
||||
'connections.signInAgain' => 'Log ind igen',
|
||||
'connections.editJellyfinTitle' => 'Rediger Jellyfin-forbindelse',
|
||||
'connections.editJellyfinIntro' => ({required Object serverName}) => 'Tilføj eller fjern URL\'er for ${serverName}. Plezy bruger den tilgængelige URL med lavest latenstid.',
|
||||
'discover.title' => 'Opdag',
|
||||
'discover.switchProfile' => 'Skift profil',
|
||||
'discover.noContentAvailable' => 'Intet indhold tilgængeligt',
|
||||
@@ -2396,12 +2489,23 @@ extension on TranslationsDa {
|
||||
'libraries.filterCategories.year' => 'År',
|
||||
'libraries.filterCategories.contentRating' => 'Aldersvurdering',
|
||||
'libraries.filterCategories.tag' => 'Tag',
|
||||
'libraries.filterCategories.unwatched' => 'Usete',
|
||||
'libraries.sortLabels.title' => 'Titel',
|
||||
'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,8 +2823,8 @@ 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.zoom' => 'Zoom',
|
||||
'videoSettings.sleepTimer' => 'Sove-timer',
|
||||
'videoSettings.audioSync' => 'Lydsynkronisering',
|
||||
'videoSettings.subtitleSync' => 'Undertekstsynkronisering',
|
||||
@@ -2743,6 +2847,8 @@ extension on TranslationsDa {
|
||||
'externalPlayer.off' => 'Fra',
|
||||
'externalPlayer.launchFailed' => 'Kunne ikke åbne ekstern afspiller',
|
||||
'externalPlayer.appNotInstalled' => ({required Object name}) => '${name} er ikke installeret',
|
||||
_ => null,
|
||||
} ?? switch (path) {
|
||||
'externalPlayer.playInExternalPlayer' => 'Afspil i ekstern afspiller',
|
||||
'metadataEdit.editMetadata' => 'Redigér...',
|
||||
'metadataEdit.screenTitle' => 'Redigér metadata',
|
||||
@@ -2788,8 +2894,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',
|
||||
@@ -2879,8 +2983,12 @@ extension on TranslationsDa {
|
||||
'trackers.libraryFilter.noLibraries' => 'Ingen biblioteker tilgængelige',
|
||||
'addServer.addJellyfinTitle' => 'Tilføj Jellyfin-server',
|
||||
'addServer.jellyfinUrlIntro' => 'Indtast server-URL\'en, f.eks. `https://jellyfin.example.com`.',
|
||||
'addServer.jellyfinUrlsIntro' => 'Indtast en eller flere server-URL\'er, adskilt med kommaer eller nye linjer. Plezy bruger den tilgængelige URL med lavest latenstid.',
|
||||
'addServer.serverUrl' => 'Server-URL',
|
||||
'addServer.serverUrls' => 'Server-URL\'er',
|
||||
'addServer.findServer' => 'Find server',
|
||||
'addServer.searchingLocalServers' => 'Søger efter lokale Jellyfin-servere...',
|
||||
'addServer.localServers' => 'Lokale Jellyfin-servere',
|
||||
'addServer.username' => 'Brugernavn',
|
||||
'addServer.password' => 'Adgangskode',
|
||||
'addServer.signIn' => 'Log ind',
|
||||
|
||||
@@ -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);
|
||||
@@ -142,6 +143,7 @@ class _TranslationsCommonDe extends TranslationsCommonEn {
|
||||
@override String get yes => 'Ja';
|
||||
@override String get no => 'Nein';
|
||||
@override String get delete => 'Löschen';
|
||||
@override String get edit => 'Bearbeiten';
|
||||
@override String get shuffle => 'Zufall';
|
||||
@override String get addTo => 'Hinzufügen zu...';
|
||||
@override String get createNew => 'Neu erstellen';
|
||||
@@ -252,6 +254,8 @@ class _TranslationsSettingsDe extends TranslationsSettingsEn {
|
||||
@override String get showEpisodeNumberOnCardsDescription => 'Staffel- und Episodennummer auf Episodenkarten anzeigen';
|
||||
@override String get showSeasonPostersOnTabs => 'Staffelposter auf Tabs anzeigen';
|
||||
@override String get showSeasonPostersOnTabsDescription => 'Poster jeder Staffel über ihrem Tab anzeigen';
|
||||
@override String get tvFullCardLayout => 'Vollflächige TV-Karten';
|
||||
@override String get tvFullCardLayoutDescription => 'TV-Karten nur mit Bild verwenden und Darstellernamen einblenden';
|
||||
@override String get hideSpoilers => 'Spoiler für nicht gesehene Episoden verbergen';
|
||||
@override String get hideSpoilersDescription => 'Vorschaubilder und Beschreibungen ungesehener Episoden verwischen';
|
||||
@override String get playerBackend => 'Player-Backend';
|
||||
@@ -375,12 +379,20 @@ 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';
|
||||
@override String get forceTvModeDescription => 'TV-Layout erzwingen. Für Geräte ohne automatische Erkennung. Neustart erforderlich.';
|
||||
@override String get startInFullscreen => 'Im Vollbildmodus starten';
|
||||
@override String get startInFullscreenDescription => 'Plezy beim Start im Vollbildmodus öffnen';
|
||||
@override String get exitFullscreenOnPlayerClose => 'Vollbild beim Schließen des Players beenden';
|
||||
@override String get exitFullscreenOnPlayerCloseDescription => 'Vollbildmodus automatisch beenden, wenn der Videoplayer geschlossen wird';
|
||||
@override String get autoHidePerformanceOverlay => 'Leistungsoverlay automatisch ausblenden';
|
||||
@override String get autoHidePerformanceOverlayDescription => 'Leistungsoverlay mit den Wiedergabesteuerungen ein-/ausblenden';
|
||||
@override String get showNavBarLabels => 'Navigationsleisten-Beschriftungen anzeigen';
|
||||
@@ -481,6 +493,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);
|
||||
@@ -533,6 +565,10 @@ class _TranslationsVideoControlsDe extends TranslationsVideoControlsEn {
|
||||
@override String get unlockRotation => 'Rotation entsperren';
|
||||
@override String get timerActive => 'Schlaftimer aktiv';
|
||||
@override String playbackWillPauseIn({required Object duration}) => 'Wiedergabe wird in ${duration} pausiert';
|
||||
@override String get sleepTimerEndOfVideo => 'Ende des aktuellen Videos';
|
||||
@override String get sleepTimerStopAtHeader => 'Beenden bei';
|
||||
@override String get sleepTimerDurationHeader => 'Timer';
|
||||
@override String get playbackWillPauseAtEnd => 'Wiedergabe wird am Ende dieses Videos pausiert';
|
||||
@override String get stillWatching => 'Schaust du noch?';
|
||||
@override String pausingIn({required Object seconds}) => 'Pause in ${seconds}s';
|
||||
@override String get continueWatching => 'Weiter';
|
||||
@@ -548,7 +584,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 +610,8 @@ 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 String zoomPercent({required Object percent}) => 'Zoom ${percent}%';
|
||||
@override late final _TranslationsVideoControlsPipErrorsDe pipErrors = _TranslationsVideoControlsPipErrorsDe._(_root);
|
||||
@override String get chapters => 'Kapitel';
|
||||
@override String get noChaptersAvailable => 'Keine Kapitel verfügbar';
|
||||
@@ -784,6 +822,8 @@ class _TranslationsConnectionsDe extends TranslationsConnectionsEn {
|
||||
@override String sessionExpiredOne({required Object name}) => 'Sitzung für ${name} abgelaufen';
|
||||
@override String sessionExpiredMany({required Object count}) => 'Sitzungen für ${count} Server abgelaufen';
|
||||
@override String get signInAgain => 'Erneut anmelden';
|
||||
@override String get editJellyfinTitle => 'Jellyfin-Verbindung bearbeiten';
|
||||
@override String editJellyfinIntro({required Object serverName}) => 'Füge URLs für ${serverName} hinzu oder entferne sie. Plezy verwendet die erreichbare URL mit der geringsten Latenz.';
|
||||
}
|
||||
|
||||
// Path: discover
|
||||
@@ -1274,8 +1314,8 @@ class _TranslationsVideoSettingsDe extends TranslationsVideoSettingsEn {
|
||||
final TranslationsDe _root; // ignore: unused_field
|
||||
|
||||
// Translations
|
||||
@override String get playbackSettings => 'Wiedergabeeinstellungen';
|
||||
@override String get playbackSpeed => 'Wiedergabegeschwindigkeit';
|
||||
@override String get zoom => 'Zoom';
|
||||
@override String get sleepTimer => 'Schlaftimer';
|
||||
@override String get audioSync => 'Audio-Synchronisation';
|
||||
@override String get subtitleSync => 'Untertitel-Synchronisation';
|
||||
@@ -1475,8 +1515,12 @@ class _TranslationsAddServerDe extends TranslationsAddServerEn {
|
||||
// Translations
|
||||
@override String get addJellyfinTitle => 'Jellyfin-Server hinzufügen';
|
||||
@override String get jellyfinUrlIntro => 'Gib die Server-URL ein, z. B. `https://jellyfin.example.com`.';
|
||||
@override String get jellyfinUrlsIntro => 'Gib eine oder mehrere Server-URLs ein, getrennt durch Kommas oder neue Zeilen. Plezy verwendet die erreichbare URL mit der geringsten Latenz.';
|
||||
@override String get serverUrl => 'Server-URL';
|
||||
@override String get serverUrls => 'Server-URLs';
|
||||
@override String get findServer => 'Server finden';
|
||||
@override String get searchingLocalServers => 'Suche nach lokalen Jellyfin-Servern...';
|
||||
@override String get localServers => 'Lokale Jellyfin-Server';
|
||||
@override String get username => 'Benutzername';
|
||||
@override String get password => 'Passwort';
|
||||
@override String get signIn => 'Anmelden';
|
||||
@@ -1531,10 +1575,14 @@ class _TranslationsHotkeysActionsDe extends TranslationsHotkeysActionsEn {
|
||||
@override String get speedIncrease => 'Geschwindigkeit erhöhen';
|
||||
@override String get speedDecrease => 'Geschwindigkeit verringern';
|
||||
@override String get speedReset => 'Geschwindigkeit zurücksetzen';
|
||||
@override String get zoomIn => 'Vergrößern';
|
||||
@override String get zoomOut => 'Verkleinern';
|
||||
@override String get zoomReset => 'Zoom zurücksetzen';
|
||||
@override String get subSeekNext => 'Zum nächsten Untertitel springen';
|
||||
@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
|
||||
@@ -1593,6 +1641,7 @@ class _TranslationsLibrariesFilterCategoriesDe extends TranslationsLibrariesFilt
|
||||
@override String get year => 'Jahr';
|
||||
@override String get contentRating => 'Altersfreigabe';
|
||||
@override String get tag => 'Tag';
|
||||
@override String get unwatched => 'Ungesehene';
|
||||
}
|
||||
|
||||
// Path: libraries.sortLabels
|
||||
@@ -1606,8 +1655,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';
|
||||
@@ -1794,6 +1853,7 @@ extension on TranslationsDe {
|
||||
'common.yes' => 'Ja',
|
||||
'common.no' => 'Nein',
|
||||
'common.delete' => 'Löschen',
|
||||
'common.edit' => 'Bearbeiten',
|
||||
'common.shuffle' => 'Zufall',
|
||||
'common.addTo' => 'Hinzufügen zu...',
|
||||
'common.createNew' => 'Neu erstellen',
|
||||
@@ -1877,6 +1937,8 @@ extension on TranslationsDe {
|
||||
'settings.showEpisodeNumberOnCardsDescription' => 'Staffel- und Episodennummer auf Episodenkarten anzeigen',
|
||||
'settings.showSeasonPostersOnTabs' => 'Staffelposter auf Tabs anzeigen',
|
||||
'settings.showSeasonPostersOnTabsDescription' => 'Poster jeder Staffel über ihrem Tab anzeigen',
|
||||
'settings.tvFullCardLayout' => 'Vollflächige TV-Karten',
|
||||
'settings.tvFullCardLayoutDescription' => 'TV-Karten nur mit Bild verwenden und Darstellernamen einblenden',
|
||||
'settings.hideSpoilers' => 'Spoiler für nicht gesehene Episoden verbergen',
|
||||
'settings.hideSpoilersDescription' => 'Vorschaubilder und Beschreibungen ungesehener Episoden verwischen',
|
||||
'settings.playerBackend' => 'Player-Backend',
|
||||
@@ -2000,12 +2062,20 @@ 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',
|
||||
'settings.forceTvModeDescription' => 'TV-Layout erzwingen. Für Geräte ohne automatische Erkennung. Neustart erforderlich.',
|
||||
'settings.startInFullscreen' => 'Im Vollbildmodus starten',
|
||||
'settings.startInFullscreenDescription' => 'Plezy beim Start im Vollbildmodus öffnen',
|
||||
'settings.exitFullscreenOnPlayerClose' => 'Vollbild beim Schließen des Players beenden',
|
||||
'settings.exitFullscreenOnPlayerCloseDescription' => 'Vollbildmodus automatisch beenden, wenn der Videoplayer geschlossen wird',
|
||||
'settings.autoHidePerformanceOverlay' => 'Leistungsoverlay automatisch ausblenden',
|
||||
'settings.autoHidePerformanceOverlayDescription' => 'Leistungsoverlay mit den Wiedergabesteuerungen ein-/ausblenden',
|
||||
'settings.showNavBarLabels' => 'Navigationsleisten-Beschriftungen anzeigen',
|
||||
@@ -2044,10 +2114,14 @@ extension on TranslationsDe {
|
||||
'hotkeys.actions.speedIncrease' => 'Geschwindigkeit erhöhen',
|
||||
'hotkeys.actions.speedDecrease' => 'Geschwindigkeit verringern',
|
||||
'hotkeys.actions.speedReset' => 'Geschwindigkeit zurücksetzen',
|
||||
'hotkeys.actions.zoomIn' => 'Vergrößern',
|
||||
'hotkeys.actions.zoomOut' => 'Verkleinern',
|
||||
'hotkeys.actions.zoomReset' => 'Zoom zurücksetzen',
|
||||
'hotkeys.actions.subSeekNext' => 'Zum nächsten Untertitel springen',
|
||||
'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 +2162,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}',
|
||||
@@ -2115,6 +2200,10 @@ extension on TranslationsDe {
|
||||
'videoControls.unlockRotation' => 'Rotation entsperren',
|
||||
'videoControls.timerActive' => 'Schlaftimer aktiv',
|
||||
'videoControls.playbackWillPauseIn' => ({required Object duration}) => 'Wiedergabe wird in ${duration} pausiert',
|
||||
'videoControls.sleepTimerEndOfVideo' => 'Ende des aktuellen Videos',
|
||||
'videoControls.sleepTimerStopAtHeader' => 'Beenden bei',
|
||||
'videoControls.sleepTimerDurationHeader' => 'Timer',
|
||||
'videoControls.playbackWillPauseAtEnd' => 'Wiedergabe wird am Ende dieses Videos pausiert',
|
||||
'videoControls.stillWatching' => 'Schaust du noch?',
|
||||
'videoControls.pausingIn' => ({required Object seconds}) => 'Pause in ${seconds}s',
|
||||
'videoControls.continueWatching' => 'Weiter',
|
||||
@@ -2130,7 +2219,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 +2245,8 @@ 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.zoomPercent' => ({required Object percent}) => 'Zoom ${percent}%',
|
||||
'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.',
|
||||
@@ -2242,6 +2333,8 @@ extension on TranslationsDe {
|
||||
'mpvConfig.presetSaved' => 'Voreinstellung gespeichert',
|
||||
'mpvConfig.presetLoaded' => 'Voreinstellung geladen',
|
||||
'mpvConfig.presetDeleted' => 'Voreinstellung gelöscht',
|
||||
_ => null,
|
||||
} ?? switch (path) {
|
||||
'mpvConfig.confirmDeletePreset' => 'Möchten Sie diese Voreinstellung wirklich löschen?',
|
||||
'mpvConfig.configPlaceholder' => 'gpu-api=vulkan\nhwdec=auto\n# comment',
|
||||
'dialog.confirmAction' => 'Aktion bestätigen',
|
||||
@@ -2274,8 +2367,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',
|
||||
@@ -2311,6 +2402,8 @@ extension on TranslationsDe {
|
||||
'connections.sessionExpiredOne' => ({required Object name}) => 'Sitzung für ${name} abgelaufen',
|
||||
'connections.sessionExpiredMany' => ({required Object count}) => 'Sitzungen für ${count} Server abgelaufen',
|
||||
'connections.signInAgain' => 'Erneut anmelden',
|
||||
'connections.editJellyfinTitle' => 'Jellyfin-Verbindung bearbeiten',
|
||||
'connections.editJellyfinIntro' => ({required Object serverName}) => 'Füge URLs für ${serverName} hinzu oder entferne sie. Plezy verwendet die erreichbare URL mit der geringsten Latenz.',
|
||||
'discover.title' => 'Entdecken',
|
||||
'discover.switchProfile' => 'Profil wechseln',
|
||||
'discover.noContentAvailable' => 'Kein Inhalt verfügbar',
|
||||
@@ -2396,12 +2489,23 @@ extension on TranslationsDe {
|
||||
'libraries.filterCategories.year' => 'Jahr',
|
||||
'libraries.filterCategories.contentRating' => 'Altersfreigabe',
|
||||
'libraries.filterCategories.tag' => 'Tag',
|
||||
'libraries.filterCategories.unwatched' => 'Ungesehene',
|
||||
'libraries.sortLabels.title' => 'Titel',
|
||||
'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,8 +2823,8 @@ extension on TranslationsDe {
|
||||
'companionRemote.remote.subtitles' => 'Untertitel',
|
||||
'companionRemote.remote.audio' => 'Audio',
|
||||
'companionRemote.remote.searchHint' => 'Auf Desktop suchen...',
|
||||
'videoSettings.playbackSettings' => 'Wiedergabeeinstellungen',
|
||||
'videoSettings.playbackSpeed' => 'Wiedergabegeschwindigkeit',
|
||||
'videoSettings.zoom' => 'Zoom',
|
||||
'videoSettings.sleepTimer' => 'Schlaftimer',
|
||||
'videoSettings.audioSync' => 'Audio-Synchronisation',
|
||||
'videoSettings.subtitleSync' => 'Untertitel-Synchronisation',
|
||||
@@ -2743,6 +2847,8 @@ extension on TranslationsDe {
|
||||
'externalPlayer.off' => 'Aus',
|
||||
'externalPlayer.launchFailed' => 'Externer Player konnte nicht geöffnet werden',
|
||||
'externalPlayer.appNotInstalled' => ({required Object name}) => '${name} ist nicht installiert',
|
||||
_ => null,
|
||||
} ?? switch (path) {
|
||||
'externalPlayer.playInExternalPlayer' => 'In externem Player abspielen',
|
||||
'metadataEdit.editMetadata' => 'Bearbeiten...',
|
||||
'metadataEdit.screenTitle' => 'Metadaten bearbeiten',
|
||||
@@ -2788,8 +2894,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',
|
||||
@@ -2879,8 +2983,12 @@ extension on TranslationsDe {
|
||||
'trackers.libraryFilter.noLibraries' => 'Keine Bibliotheken verfügbar',
|
||||
'addServer.addJellyfinTitle' => 'Jellyfin-Server hinzufügen',
|
||||
'addServer.jellyfinUrlIntro' => 'Gib die Server-URL ein, z. B. `https://jellyfin.example.com`.',
|
||||
'addServer.jellyfinUrlsIntro' => 'Gib eine oder mehrere Server-URLs ein, getrennt durch Kommas oder neue Zeilen. Plezy verwendet die erreichbare URL mit der geringsten Latenz.',
|
||||
'addServer.serverUrl' => 'Server-URL',
|
||||
'addServer.serverUrls' => 'Server-URLs',
|
||||
'addServer.findServer' => 'Server finden',
|
||||
'addServer.searchingLocalServers' => 'Suche nach lokalen Jellyfin-Servern...',
|
||||
'addServer.localServers' => 'Lokale Jellyfin-Server',
|
||||
'addServer.username' => 'Benutzername',
|
||||
'addServer.password' => 'Passwort',
|
||||
'addServer.signIn' => 'Anmelden',
|
||||
|
||||
@@ -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);
|
||||
@@ -208,6 +209,9 @@ class TranslationsCommonEn {
|
||||
/// en: 'Delete'
|
||||
String get delete => 'Delete';
|
||||
|
||||
/// en: 'Edit'
|
||||
String get edit => 'Edit';
|
||||
|
||||
/// en: 'Shuffle'
|
||||
String get shuffle => 'Shuffle';
|
||||
|
||||
@@ -484,6 +488,12 @@ class TranslationsSettingsEn {
|
||||
/// en: 'Show each season's poster above its tab'
|
||||
String get showSeasonPostersOnTabsDescription => 'Show each season\'s poster above its tab';
|
||||
|
||||
/// en: 'Full TV Cards'
|
||||
String get tvFullCardLayout => 'Full TV Cards';
|
||||
|
||||
/// en: 'Use image-only TV cards with actor names overlaid'
|
||||
String get tvFullCardLayoutDescription => 'Use image-only TV cards with actor names overlaid';
|
||||
|
||||
/// en: 'Hide Spoilers for Unwatched Episodes'
|
||||
String get hideSpoilers => 'Hide Spoilers for Unwatched Episodes';
|
||||
|
||||
@@ -853,6 +863,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';
|
||||
|
||||
@@ -871,6 +899,12 @@ class TranslationsSettingsEn {
|
||||
/// en: 'Open Plezy in fullscreen mode at launch'
|
||||
String get startInFullscreenDescription => 'Open Plezy in fullscreen mode at launch';
|
||||
|
||||
/// en: 'Exit fullscreen on player close'
|
||||
String get exitFullscreenOnPlayerClose => 'Exit fullscreen on player close';
|
||||
|
||||
/// en: 'Automatically exit fullscreen when closing the video player'
|
||||
String get exitFullscreenOnPlayerCloseDescription => 'Automatically exit fullscreen when closing the video player';
|
||||
|
||||
/// en: 'Auto-Hide Performance Overlay'
|
||||
String get autoHidePerformanceOverlay => 'Auto-Hide Performance Overlay';
|
||||
|
||||
@@ -1093,6 +1127,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);
|
||||
@@ -1200,6 +1276,18 @@ class TranslationsVideoControlsEn {
|
||||
/// en: 'Playback will pause in ${duration}'
|
||||
String playbackWillPauseIn({required Object duration}) => 'Playback will pause in ${duration}';
|
||||
|
||||
/// en: 'End of current video'
|
||||
String get sleepTimerEndOfVideo => 'End of current video';
|
||||
|
||||
/// en: 'Stop at'
|
||||
String get sleepTimerStopAtHeader => 'Stop at';
|
||||
|
||||
/// en: 'Timer'
|
||||
String get sleepTimerDurationHeader => 'Timer';
|
||||
|
||||
/// en: 'Playback will pause at the end of this video'
|
||||
String get playbackWillPauseAtEnd => 'Playback will pause at the end of this video';
|
||||
|
||||
/// en: 'Still watching?'
|
||||
String get stillWatching => 'Still watching?';
|
||||
|
||||
@@ -1245,8 +1333,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 +1411,12 @@ 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';
|
||||
|
||||
/// en: 'Zoom ${percent}%'
|
||||
String zoomPercent({required Object percent}) => 'Zoom ${percent}%';
|
||||
|
||||
late final TranslationsVideoControlsPipErrorsEn pipErrors = TranslationsVideoControlsPipErrorsEn.internal(_root);
|
||||
|
||||
/// en: 'Chapters'
|
||||
@@ -1825,6 +1919,12 @@ class TranslationsConnectionsEn {
|
||||
|
||||
/// en: 'Sign in again'
|
||||
String get signInAgain => 'Sign in again';
|
||||
|
||||
/// en: 'Edit Jellyfin connection'
|
||||
String get editJellyfinTitle => 'Edit Jellyfin connection';
|
||||
|
||||
/// en: 'Add or remove URLs for ${serverName}. Plezy will use the reachable URL with the lowest latency.'
|
||||
String editJellyfinIntro({required Object serverName}) => 'Add or remove URLs for ${serverName}. Plezy will use the reachable URL with the lowest latency.';
|
||||
}
|
||||
|
||||
// Path: discover
|
||||
@@ -2978,12 +3078,12 @@ class TranslationsVideoSettingsEn {
|
||||
|
||||
// Translations
|
||||
|
||||
/// en: 'Playback Settings'
|
||||
String get playbackSettings => 'Playback Settings';
|
||||
|
||||
/// en: 'Playback Speed'
|
||||
String get playbackSpeed => 'Playback Speed';
|
||||
|
||||
/// en: 'Zoom'
|
||||
String get zoom => 'Zoom';
|
||||
|
||||
/// en: 'Sleep Timer'
|
||||
String get sleepTimer => 'Sleep Timer';
|
||||
|
||||
@@ -3448,12 +3548,24 @@ class TranslationsAddServerEn {
|
||||
/// en: 'Enter the server URL, e.g. `https://jellyfin.example.com`.'
|
||||
String get jellyfinUrlIntro => 'Enter the server URL, e.g. `https://jellyfin.example.com`.';
|
||||
|
||||
/// en: 'Enter one or more server URLs, separated by commas or new lines. Plezy will use the reachable URL with the lowest latency.'
|
||||
String get jellyfinUrlsIntro => 'Enter one or more server URLs, separated by commas or new lines. Plezy will use the reachable URL with the lowest latency.';
|
||||
|
||||
/// en: 'Server URL'
|
||||
String get serverUrl => 'Server URL';
|
||||
|
||||
/// en: 'Server URLs'
|
||||
String get serverUrls => 'Server URLs';
|
||||
|
||||
/// en: 'Find server'
|
||||
String get findServer => 'Find server';
|
||||
|
||||
/// en: 'Looking for local Jellyfin servers...'
|
||||
String get searchingLocalServers => 'Looking for local Jellyfin servers...';
|
||||
|
||||
/// en: 'Local Jellyfin servers'
|
||||
String get localServers => 'Local Jellyfin servers';
|
||||
|
||||
/// en: 'Username'
|
||||
String get username => 'Username';
|
||||
|
||||
@@ -3598,6 +3710,15 @@ class TranslationsHotkeysActionsEn {
|
||||
/// en: 'Reset Speed'
|
||||
String get speedReset => 'Reset Speed';
|
||||
|
||||
/// en: 'Zoom In'
|
||||
String get zoomIn => 'Zoom In';
|
||||
|
||||
/// en: 'Zoom Out'
|
||||
String get zoomOut => 'Zoom Out';
|
||||
|
||||
/// en: 'Reset Zoom'
|
||||
String get zoomReset => 'Reset Zoom';
|
||||
|
||||
/// en: 'Seek to Next Subtitle'
|
||||
String get subSeekNext => 'Seek to Next Subtitle';
|
||||
|
||||
@@ -3609,6 +3730,9 @@ class TranslationsHotkeysActionsEn {
|
||||
|
||||
/// en: 'Skip Intro/Credits'
|
||||
String get skipMarker => 'Skip Intro/Credits';
|
||||
|
||||
/// en: 'Take Screenshot'
|
||||
String get screenshot => 'Take Screenshot';
|
||||
}
|
||||
|
||||
// Path: videoControls.pipErrors
|
||||
@@ -3711,6 +3835,9 @@ class TranslationsLibrariesFilterCategoriesEn {
|
||||
|
||||
/// en: 'Tag'
|
||||
String get tag => 'Tag';
|
||||
|
||||
/// en: 'Unwatched'
|
||||
String get unwatched => 'Unwatched';
|
||||
}
|
||||
|
||||
// Path: libraries.sortLabels
|
||||
@@ -3733,12 +3860,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';
|
||||
|
||||
@@ -4086,6 +4243,7 @@ extension on Translations {
|
||||
'common.yes' => 'Yes',
|
||||
'common.no' => 'No',
|
||||
'common.delete' => 'Delete',
|
||||
'common.edit' => 'Edit',
|
||||
'common.shuffle' => 'Shuffle',
|
||||
'common.addTo' => 'Add to...',
|
||||
'common.createNew' => 'Create new',
|
||||
@@ -4169,6 +4327,8 @@ extension on Translations {
|
||||
'settings.showEpisodeNumberOnCardsDescription' => 'Show season and episode number on episode cards',
|
||||
'settings.showSeasonPostersOnTabs' => 'Show Season Posters on Tabs',
|
||||
'settings.showSeasonPostersOnTabsDescription' => 'Show each season\'s poster above its tab',
|
||||
'settings.tvFullCardLayout' => 'Full TV Cards',
|
||||
'settings.tvFullCardLayoutDescription' => 'Use image-only TV cards with actor names overlaid',
|
||||
'settings.hideSpoilers' => 'Hide Spoilers for Unwatched Episodes',
|
||||
'settings.hideSpoilersDescription' => 'Blur thumbnails and descriptions for unwatched episodes',
|
||||
'settings.playerBackend' => 'Player Backend',
|
||||
@@ -4292,12 +4452,20 @@ 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',
|
||||
'settings.forceTvModeDescription' => 'Force TV layout. For devices that don\'t auto-detect. Requires restart.',
|
||||
'settings.startInFullscreen' => 'Start in fullscreen',
|
||||
'settings.startInFullscreenDescription' => 'Open Plezy in fullscreen mode at launch',
|
||||
'settings.exitFullscreenOnPlayerClose' => 'Exit fullscreen on player close',
|
||||
'settings.exitFullscreenOnPlayerCloseDescription' => 'Automatically exit fullscreen when closing the video player',
|
||||
'settings.autoHidePerformanceOverlay' => 'Auto-Hide Performance Overlay',
|
||||
'settings.autoHidePerformanceOverlayDescription' => 'Fade the performance overlay with the playback controls',
|
||||
'settings.showNavBarLabels' => 'Show Navigation Bar Labels',
|
||||
@@ -4336,10 +4504,14 @@ extension on Translations {
|
||||
'hotkeys.actions.speedIncrease' => 'Increase Speed',
|
||||
'hotkeys.actions.speedDecrease' => 'Decrease Speed',
|
||||
'hotkeys.actions.speedReset' => 'Reset Speed',
|
||||
'hotkeys.actions.zoomIn' => 'Zoom In',
|
||||
'hotkeys.actions.zoomOut' => 'Zoom Out',
|
||||
'hotkeys.actions.zoomReset' => 'Reset Zoom',
|
||||
'hotkeys.actions.subSeekNext' => 'Seek to Next Subtitle',
|
||||
'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 +4552,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}',
|
||||
@@ -4407,6 +4590,10 @@ extension on Translations {
|
||||
'videoControls.unlockRotation' => 'Unlock rotation',
|
||||
'videoControls.timerActive' => 'Timer Active',
|
||||
'videoControls.playbackWillPauseIn' => ({required Object duration}) => 'Playback will pause in ${duration}',
|
||||
'videoControls.sleepTimerEndOfVideo' => 'End of current video',
|
||||
'videoControls.sleepTimerStopAtHeader' => 'Stop at',
|
||||
'videoControls.sleepTimerDurationHeader' => 'Timer',
|
||||
'videoControls.playbackWillPauseAtEnd' => 'Playback will pause at the end of this video',
|
||||
'videoControls.stillWatching' => 'Still watching?',
|
||||
'videoControls.pausingIn' => ({required Object seconds}) => 'Pausing in ${seconds}s',
|
||||
'videoControls.continueWatching' => 'Continue',
|
||||
@@ -4422,7 +4609,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 +4635,8 @@ 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.zoomPercent' => ({required Object percent}) => 'Zoom ${percent}%',
|
||||
'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.',
|
||||
@@ -4534,6 +4723,8 @@ extension on Translations {
|
||||
'mpvConfig.presetSaved' => 'Preset saved',
|
||||
'mpvConfig.presetLoaded' => 'Preset loaded',
|
||||
'mpvConfig.presetDeleted' => 'Preset deleted',
|
||||
_ => null,
|
||||
} ?? switch (path) {
|
||||
'mpvConfig.confirmDeletePreset' => 'Are you sure you want to delete this preset?',
|
||||
'mpvConfig.configPlaceholder' => 'gpu-api=vulkan\nhwdec=auto\n# comment',
|
||||
'dialog.confirmAction' => 'Confirm Action',
|
||||
@@ -4566,8 +4757,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',
|
||||
@@ -4603,6 +4792,8 @@ extension on Translations {
|
||||
'connections.sessionExpiredOne' => ({required Object name}) => 'Session expired for ${name}',
|
||||
'connections.sessionExpiredMany' => ({required Object count}) => 'Session expired for ${count} servers',
|
||||
'connections.signInAgain' => 'Sign in again',
|
||||
'connections.editJellyfinTitle' => 'Edit Jellyfin connection',
|
||||
'connections.editJellyfinIntro' => ({required Object serverName}) => 'Add or remove URLs for ${serverName}. Plezy will use the reachable URL with the lowest latency.',
|
||||
'discover.title' => 'Discover',
|
||||
'discover.switchProfile' => 'Switch Profile',
|
||||
'discover.noContentAvailable' => 'No content available',
|
||||
@@ -4688,12 +4879,23 @@ extension on Translations {
|
||||
'libraries.filterCategories.year' => 'Year',
|
||||
'libraries.filterCategories.contentRating' => 'Content Rating',
|
||||
'libraries.filterCategories.tag' => 'Tag',
|
||||
'libraries.filterCategories.unwatched' => 'Unwatched',
|
||||
'libraries.sortLabels.title' => 'Title',
|
||||
'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,8 +5213,8 @@ 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.zoom' => 'Zoom',
|
||||
'videoSettings.sleepTimer' => 'Sleep Timer',
|
||||
'videoSettings.audioSync' => 'Audio Sync',
|
||||
'videoSettings.subtitleSync' => 'Subtitle Sync',
|
||||
@@ -5035,6 +5237,8 @@ extension on Translations {
|
||||
'externalPlayer.off' => 'Off',
|
||||
'externalPlayer.launchFailed' => 'Failed to open external player',
|
||||
'externalPlayer.appNotInstalled' => ({required Object name}) => '${name} is not installed',
|
||||
_ => null,
|
||||
} ?? switch (path) {
|
||||
'externalPlayer.playInExternalPlayer' => 'Play in External Player',
|
||||
'metadataEdit.editMetadata' => 'Edit...',
|
||||
'metadataEdit.screenTitle' => 'Edit Metadata',
|
||||
@@ -5080,8 +5284,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',
|
||||
@@ -5171,8 +5373,12 @@ extension on Translations {
|
||||
'trackers.libraryFilter.noLibraries' => 'No libraries available',
|
||||
'addServer.addJellyfinTitle' => 'Add Jellyfin server',
|
||||
'addServer.jellyfinUrlIntro' => 'Enter the server URL, e.g. `https://jellyfin.example.com`.',
|
||||
'addServer.jellyfinUrlsIntro' => 'Enter one or more server URLs, separated by commas or new lines. Plezy will use the reachable URL with the lowest latency.',
|
||||
'addServer.serverUrl' => 'Server URL',
|
||||
'addServer.serverUrls' => 'Server URLs',
|
||||
'addServer.findServer' => 'Find server',
|
||||
'addServer.searchingLocalServers' => 'Looking for local Jellyfin servers...',
|
||||
'addServer.localServers' => 'Local Jellyfin servers',
|
||||
'addServer.username' => 'Username',
|
||||
'addServer.password' => 'Password',
|
||||
'addServer.signIn' => 'Sign in',
|
||||
|
||||
@@ -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);
|
||||
@@ -142,6 +143,7 @@ class _TranslationsCommonEs extends TranslationsCommonEn {
|
||||
@override String get yes => 'Sí';
|
||||
@override String get no => 'No';
|
||||
@override String get delete => 'Eliminar';
|
||||
@override String get edit => 'Editar';
|
||||
@override String get shuffle => 'Aleatorio';
|
||||
@override String get addTo => 'Añadir a...';
|
||||
@override String get createNew => 'Crear';
|
||||
@@ -252,6 +254,8 @@ class _TranslationsSettingsEs extends TranslationsSettingsEn {
|
||||
@override String get showEpisodeNumberOnCardsDescription => 'Mostrar temporada y episodio en tarjetas de episodio';
|
||||
@override String get showSeasonPostersOnTabs => 'Mostrar pósters de temporada en las pestañas';
|
||||
@override String get showSeasonPostersOnTabsDescription => 'Mostrar el póster de cada temporada sobre su pestaña';
|
||||
@override String get tvFullCardLayout => 'Tarjetas TV completas';
|
||||
@override String get tvFullCardLayoutDescription => 'Usar tarjetas TV solo con imagen y nombres de actores superpuestos';
|
||||
@override String get hideSpoilers => 'Ocultar spoilers de episodios no vistos';
|
||||
@override String get hideSpoilersDescription => 'Desenfocar miniaturas y descripciones de episodios no vistos';
|
||||
@override String get playerBackend => 'Reproductor';
|
||||
@@ -375,12 +379,20 @@ 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';
|
||||
@override String get forceTvModeDescription => 'Forzar diseño TV. Para dispositivos que no lo detectan. Requiere reinicio.';
|
||||
@override String get startInFullscreen => 'Iniciar en pantalla completa';
|
||||
@override String get startInFullscreenDescription => 'Abrir Plezy en modo pantalla completa al iniciar';
|
||||
@override String get exitFullscreenOnPlayerClose => 'Salir de pantalla completa al cerrar el reproductor';
|
||||
@override String get exitFullscreenOnPlayerCloseDescription => 'Salir automáticamente del modo de pantalla completa al cerrar el reproductor de vídeo';
|
||||
@override String get autoHidePerformanceOverlay => 'Ocultar superposición de rendimiento automáticamente';
|
||||
@override String get autoHidePerformanceOverlayDescription => 'Desvanecer la superposición de rendimiento con los controles de reproducción';
|
||||
@override String get showNavBarLabels => 'Mostrar etiquetas de la barra de navegación';
|
||||
@@ -481,6 +493,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);
|
||||
@@ -533,6 +565,10 @@ class _TranslationsVideoControlsEs extends TranslationsVideoControlsEn {
|
||||
@override String get unlockRotation => 'Desbloquear rotación';
|
||||
@override String get timerActive => 'Temporizador Activo';
|
||||
@override String playbackWillPauseIn({required Object duration}) => 'La reproducción se pausará en ${duration}';
|
||||
@override String get sleepTimerEndOfVideo => 'Fin del video actual';
|
||||
@override String get sleepTimerStopAtHeader => 'Detener en';
|
||||
@override String get sleepTimerDurationHeader => 'Temporizador';
|
||||
@override String get playbackWillPauseAtEnd => 'La reproducción se pausará al final de este video';
|
||||
@override String get stillWatching => '¿Sigues viendo?';
|
||||
@override String pausingIn({required Object seconds}) => 'Pausa en ${seconds}s';
|
||||
@override String get continueWatching => 'Continuar';
|
||||
@@ -548,7 +584,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 +610,8 @@ 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 String zoomPercent({required Object percent}) => 'Zoom ${percent}%';
|
||||
@override late final _TranslationsVideoControlsPipErrorsEs pipErrors = _TranslationsVideoControlsPipErrorsEs._(_root);
|
||||
@override String get chapters => 'Capítulos';
|
||||
@override String get noChaptersAvailable => 'No hay capítulos disponibles';
|
||||
@@ -784,6 +822,8 @@ class _TranslationsConnectionsEs extends TranslationsConnectionsEn {
|
||||
@override String sessionExpiredOne({required Object name}) => 'Sesión caducada para ${name}';
|
||||
@override String sessionExpiredMany({required Object count}) => 'Sesión caducada para ${count} servidores';
|
||||
@override String get signInAgain => 'Iniciar sesión de nuevo';
|
||||
@override String get editJellyfinTitle => 'Editar conexión de Jellyfin';
|
||||
@override String editJellyfinIntro({required Object serverName}) => 'Añade o elimina URL para ${serverName}. Plezy usará la URL accesible con menor latencia.';
|
||||
}
|
||||
|
||||
// Path: discover
|
||||
@@ -1274,8 +1314,8 @@ 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 zoom => 'Zoom';
|
||||
@override String get sleepTimer => 'Temporizador de apagado';
|
||||
@override String get audioSync => 'Sincronización de audio';
|
||||
@override String get subtitleSync => 'Sincronización de subtítulos';
|
||||
@@ -1475,8 +1515,12 @@ class _TranslationsAddServerEs extends TranslationsAddServerEn {
|
||||
// Translations
|
||||
@override String get addJellyfinTitle => 'Añadir servidor Jellyfin';
|
||||
@override String get jellyfinUrlIntro => 'Introduce la URL del servidor, p. ej. `https://jellyfin.example.com`.';
|
||||
@override String get jellyfinUrlsIntro => 'Introduce una o más URL del servidor, separadas por comas o líneas nuevas. Plezy usará la URL accesible con menor latencia.';
|
||||
@override String get serverUrl => 'URL del servidor';
|
||||
@override String get serverUrls => 'URL del servidor';
|
||||
@override String get findServer => 'Buscar servidor';
|
||||
@override String get searchingLocalServers => 'Buscando servidores Jellyfin locales...';
|
||||
@override String get localServers => 'Servidores Jellyfin locales';
|
||||
@override String get username => 'Usuario';
|
||||
@override String get password => 'Contraseña';
|
||||
@override String get signIn => 'Iniciar sesión';
|
||||
@@ -1531,10 +1575,14 @@ class _TranslationsHotkeysActionsEs extends TranslationsHotkeysActionsEn {
|
||||
@override String get speedIncrease => 'Aumentar Velocidad';
|
||||
@override String get speedDecrease => 'Disminuir Velocidad';
|
||||
@override String get speedReset => 'Restablecer Velocidad';
|
||||
@override String get zoomIn => 'Acercar';
|
||||
@override String get zoomOut => 'Alejar';
|
||||
@override String get zoomReset => 'Restablecer zoom';
|
||||
@override String get subSeekNext => 'Ir al Siguiente Subtítulo';
|
||||
@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
|
||||
@@ -1593,6 +1641,7 @@ class _TranslationsLibrariesFilterCategoriesEs extends TranslationsLibrariesFilt
|
||||
@override String get year => 'Año';
|
||||
@override String get contentRating => 'Clasificación';
|
||||
@override String get tag => 'Etiqueta';
|
||||
@override String get unwatched => 'No vistos';
|
||||
}
|
||||
|
||||
// Path: libraries.sortLabels
|
||||
@@ -1606,8 +1655,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';
|
||||
@@ -1794,6 +1853,7 @@ extension on TranslationsEs {
|
||||
'common.yes' => 'Sí',
|
||||
'common.no' => 'No',
|
||||
'common.delete' => 'Eliminar',
|
||||
'common.edit' => 'Editar',
|
||||
'common.shuffle' => 'Aleatorio',
|
||||
'common.addTo' => 'Añadir a...',
|
||||
'common.createNew' => 'Crear',
|
||||
@@ -1877,6 +1937,8 @@ extension on TranslationsEs {
|
||||
'settings.showEpisodeNumberOnCardsDescription' => 'Mostrar temporada y episodio en tarjetas de episodio',
|
||||
'settings.showSeasonPostersOnTabs' => 'Mostrar pósters de temporada en las pestañas',
|
||||
'settings.showSeasonPostersOnTabsDescription' => 'Mostrar el póster de cada temporada sobre su pestaña',
|
||||
'settings.tvFullCardLayout' => 'Tarjetas TV completas',
|
||||
'settings.tvFullCardLayoutDescription' => 'Usar tarjetas TV solo con imagen y nombres de actores superpuestos',
|
||||
'settings.hideSpoilers' => 'Ocultar spoilers de episodios no vistos',
|
||||
'settings.hideSpoilersDescription' => 'Desenfocar miniaturas y descripciones de episodios no vistos',
|
||||
'settings.playerBackend' => 'Reproductor',
|
||||
@@ -2000,12 +2062,20 @@ 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',
|
||||
'settings.forceTvModeDescription' => 'Forzar diseño TV. Para dispositivos que no lo detectan. Requiere reinicio.',
|
||||
'settings.startInFullscreen' => 'Iniciar en pantalla completa',
|
||||
'settings.startInFullscreenDescription' => 'Abrir Plezy en modo pantalla completa al iniciar',
|
||||
'settings.exitFullscreenOnPlayerClose' => 'Salir de pantalla completa al cerrar el reproductor',
|
||||
'settings.exitFullscreenOnPlayerCloseDescription' => 'Salir automáticamente del modo de pantalla completa al cerrar el reproductor de vídeo',
|
||||
'settings.autoHidePerformanceOverlay' => 'Ocultar superposición de rendimiento automáticamente',
|
||||
'settings.autoHidePerformanceOverlayDescription' => 'Desvanecer la superposición de rendimiento con los controles de reproducción',
|
||||
'settings.showNavBarLabels' => 'Mostrar etiquetas de la barra de navegación',
|
||||
@@ -2044,10 +2114,14 @@ extension on TranslationsEs {
|
||||
'hotkeys.actions.speedIncrease' => 'Aumentar Velocidad',
|
||||
'hotkeys.actions.speedDecrease' => 'Disminuir Velocidad',
|
||||
'hotkeys.actions.speedReset' => 'Restablecer Velocidad',
|
||||
'hotkeys.actions.zoomIn' => 'Acercar',
|
||||
'hotkeys.actions.zoomOut' => 'Alejar',
|
||||
'hotkeys.actions.zoomReset' => 'Restablecer zoom',
|
||||
'hotkeys.actions.subSeekNext' => 'Ir al Siguiente Subtítulo',
|
||||
'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 +2162,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}',
|
||||
@@ -2115,6 +2200,10 @@ extension on TranslationsEs {
|
||||
'videoControls.unlockRotation' => 'Desbloquear rotación',
|
||||
'videoControls.timerActive' => 'Temporizador Activo',
|
||||
'videoControls.playbackWillPauseIn' => ({required Object duration}) => 'La reproducción se pausará en ${duration}',
|
||||
'videoControls.sleepTimerEndOfVideo' => 'Fin del video actual',
|
||||
'videoControls.sleepTimerStopAtHeader' => 'Detener en',
|
||||
'videoControls.sleepTimerDurationHeader' => 'Temporizador',
|
||||
'videoControls.playbackWillPauseAtEnd' => 'La reproducción se pausará al final de este video',
|
||||
'videoControls.stillWatching' => '¿Sigues viendo?',
|
||||
'videoControls.pausingIn' => ({required Object seconds}) => 'Pausa en ${seconds}s',
|
||||
'videoControls.continueWatching' => 'Continuar',
|
||||
@@ -2130,7 +2219,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 +2245,8 @@ 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.zoomPercent' => ({required Object percent}) => 'Zoom ${percent}%',
|
||||
'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.',
|
||||
@@ -2242,6 +2333,8 @@ extension on TranslationsEs {
|
||||
'mpvConfig.presetSaved' => 'Ajuste guardado',
|
||||
'mpvConfig.presetLoaded' => 'Ajuste cargado',
|
||||
'mpvConfig.presetDeleted' => 'Ajuste eliminado',
|
||||
_ => null,
|
||||
} ?? switch (path) {
|
||||
'mpvConfig.confirmDeletePreset' => '¿Estás seguro de que quieres eliminar este ajuste?',
|
||||
'mpvConfig.configPlaceholder' => 'gpu-api=vulkan\nhwdec=auto\n# comment',
|
||||
'dialog.confirmAction' => 'Confirmar Acción',
|
||||
@@ -2274,8 +2367,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',
|
||||
@@ -2311,6 +2402,8 @@ extension on TranslationsEs {
|
||||
'connections.sessionExpiredOne' => ({required Object name}) => 'Sesión caducada para ${name}',
|
||||
'connections.sessionExpiredMany' => ({required Object count}) => 'Sesión caducada para ${count} servidores',
|
||||
'connections.signInAgain' => 'Iniciar sesión de nuevo',
|
||||
'connections.editJellyfinTitle' => 'Editar conexión de Jellyfin',
|
||||
'connections.editJellyfinIntro' => ({required Object serverName}) => 'Añade o elimina URL para ${serverName}. Plezy usará la URL accesible con menor latencia.',
|
||||
'discover.title' => 'Descubrir',
|
||||
'discover.switchProfile' => 'Cambiar Perfil',
|
||||
'discover.noContentAvailable' => 'No hay contenido disponible',
|
||||
@@ -2396,12 +2489,23 @@ extension on TranslationsEs {
|
||||
'libraries.filterCategories.year' => 'Año',
|
||||
'libraries.filterCategories.contentRating' => 'Clasificación',
|
||||
'libraries.filterCategories.tag' => 'Etiqueta',
|
||||
'libraries.filterCategories.unwatched' => 'No vistos',
|
||||
'libraries.sortLabels.title' => 'Título',
|
||||
'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,8 +2823,8 @@ 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.zoom' => 'Zoom',
|
||||
'videoSettings.sleepTimer' => 'Temporizador de apagado',
|
||||
'videoSettings.audioSync' => 'Sincronización de audio',
|
||||
'videoSettings.subtitleSync' => 'Sincronización de subtítulos',
|
||||
@@ -2743,6 +2847,8 @@ extension on TranslationsEs {
|
||||
'externalPlayer.off' => 'Desactivado',
|
||||
'externalPlayer.launchFailed' => 'No se pudo abrir el reproductor externo',
|
||||
'externalPlayer.appNotInstalled' => ({required Object name}) => '${name} no está instalado',
|
||||
_ => null,
|
||||
} ?? switch (path) {
|
||||
'externalPlayer.playInExternalPlayer' => 'Reproducir en reproductor externo',
|
||||
'metadataEdit.editMetadata' => 'Editar...',
|
||||
'metadataEdit.screenTitle' => 'Editar metadatos',
|
||||
@@ -2788,8 +2894,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',
|
||||
@@ -2879,8 +2983,12 @@ extension on TranslationsEs {
|
||||
'trackers.libraryFilter.noLibraries' => 'No hay bibliotecas disponibles',
|
||||
'addServer.addJellyfinTitle' => 'Añadir servidor Jellyfin',
|
||||
'addServer.jellyfinUrlIntro' => 'Introduce la URL del servidor, p. ej. `https://jellyfin.example.com`.',
|
||||
'addServer.jellyfinUrlsIntro' => 'Introduce una o más URL del servidor, separadas por comas o líneas nuevas. Plezy usará la URL accesible con menor latencia.',
|
||||
'addServer.serverUrl' => 'URL del servidor',
|
||||
'addServer.serverUrls' => 'URL del servidor',
|
||||
'addServer.findServer' => 'Buscar servidor',
|
||||
'addServer.searchingLocalServers' => 'Buscando servidores Jellyfin locales...',
|
||||
'addServer.localServers' => 'Servidores Jellyfin locales',
|
||||
'addServer.username' => 'Usuario',
|
||||
'addServer.password' => 'Contraseña',
|
||||
'addServer.signIn' => 'Iniciar sesión',
|
||||
|
||||
@@ -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);
|
||||
@@ -142,6 +143,7 @@ class _TranslationsCommonFr extends TranslationsCommonEn {
|
||||
@override String get yes => 'Oui';
|
||||
@override String get no => 'Non';
|
||||
@override String get delete => 'Supprimer';
|
||||
@override String get edit => 'Modifier';
|
||||
@override String get shuffle => 'Mélanger';
|
||||
@override String get addTo => 'Ajouter à...';
|
||||
@override String get createNew => 'Créer';
|
||||
@@ -252,6 +254,8 @@ class _TranslationsSettingsFr extends TranslationsSettingsEn {
|
||||
@override String get showEpisodeNumberOnCardsDescription => 'Afficher la saison et l\'épisode sur les cartes d\'épisode';
|
||||
@override String get showSeasonPostersOnTabs => 'Afficher les posters de saison sur les onglets';
|
||||
@override String get showSeasonPostersOnTabsDescription => 'Afficher l\'affiche de chaque saison au-dessus de son onglet';
|
||||
@override String get tvFullCardLayout => 'Cartes TV pleines';
|
||||
@override String get tvFullCardLayoutDescription => 'Utiliser des cartes TV avec image seule et noms des acteurs superposés';
|
||||
@override String get hideSpoilers => 'Masquer les spoilers des épisodes non vus';
|
||||
@override String get hideSpoilersDescription => 'Flouter les miniatures et descriptions des épisodes non vus';
|
||||
@override String get playerBackend => 'Moteur de lecture';
|
||||
@@ -375,12 +379,20 @@ 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';
|
||||
@override String get forceTvModeDescription => 'Forcer l\'interface TV. Pour appareils non détectés automatiquement. Redémarrage requis.';
|
||||
@override String get startInFullscreen => 'Démarrer en plein écran';
|
||||
@override String get startInFullscreenDescription => 'Ouvrir Plezy en mode plein écran au lancement';
|
||||
@override String get exitFullscreenOnPlayerClose => 'Quitter le plein écran à la fermeture du lecteur';
|
||||
@override String get exitFullscreenOnPlayerCloseDescription => 'Quitter automatiquement le plein écran lors de la fermeture du lecteur vidéo';
|
||||
@override String get autoHidePerformanceOverlay => 'Masquer auto. superposition performances';
|
||||
@override String get autoHidePerformanceOverlayDescription => 'Faire apparaître/disparaître la superposition avec les contrôles de lecture';
|
||||
@override String get showNavBarLabels => 'Afficher les libellés de la barre de navigation';
|
||||
@@ -481,6 +493,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);
|
||||
@@ -533,6 +565,10 @@ class _TranslationsVideoControlsFr extends TranslationsVideoControlsEn {
|
||||
@override String get unlockRotation => 'Déverrouiller la rotation';
|
||||
@override String get timerActive => 'Minuterie active';
|
||||
@override String playbackWillPauseIn({required Object duration}) => 'La lecture sera mise en pause dans ${duration}';
|
||||
@override String get sleepTimerEndOfVideo => 'Fin de la vidéo actuelle';
|
||||
@override String get sleepTimerStopAtHeader => 'Arrêter à';
|
||||
@override String get sleepTimerDurationHeader => 'Minuterie';
|
||||
@override String get playbackWillPauseAtEnd => 'La lecture sera mise en pause à la fin de cette vidéo';
|
||||
@override String get stillWatching => 'Toujours en train de regarder ?';
|
||||
@override String pausingIn({required Object seconds}) => 'Pause dans ${seconds}s';
|
||||
@override String get continueWatching => 'Continuer';
|
||||
@@ -548,7 +584,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 +610,8 @@ 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 String zoomPercent({required Object percent}) => 'Zoom ${percent} %';
|
||||
@override late final _TranslationsVideoControlsPipErrorsFr pipErrors = _TranslationsVideoControlsPipErrorsFr._(_root);
|
||||
@override String get chapters => 'Chapitres';
|
||||
@override String get noChaptersAvailable => 'Aucun chapitre disponible';
|
||||
@@ -784,6 +822,8 @@ class _TranslationsConnectionsFr extends TranslationsConnectionsEn {
|
||||
@override String sessionExpiredOne({required Object name}) => 'Session expirée pour ${name}';
|
||||
@override String sessionExpiredMany({required Object count}) => 'Session expirée pour ${count} serveurs';
|
||||
@override String get signInAgain => 'Se reconnecter';
|
||||
@override String get editJellyfinTitle => 'Modifier la connexion Jellyfin';
|
||||
@override String editJellyfinIntro({required Object serverName}) => 'Ajoutez ou supprimez des URL pour ${serverName}. Plezy utilisera l\'URL joignable avec la latence la plus faible.';
|
||||
}
|
||||
|
||||
// Path: discover
|
||||
@@ -1274,8 +1314,8 @@ 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 zoom => 'Zoom';
|
||||
@override String get sleepTimer => 'Minuterie de mise en veille';
|
||||
@override String get audioSync => 'Synchronisation audio';
|
||||
@override String get subtitleSync => 'Synchronisation des sous-titres';
|
||||
@@ -1475,8 +1515,12 @@ class _TranslationsAddServerFr extends TranslationsAddServerEn {
|
||||
// Translations
|
||||
@override String get addJellyfinTitle => 'Ajouter un serveur Jellyfin';
|
||||
@override String get jellyfinUrlIntro => 'Saisissez l\'URL du serveur, par ex. `https://jellyfin.example.com`.';
|
||||
@override String get jellyfinUrlsIntro => 'Saisissez une ou plusieurs URL de serveur, séparées par des virgules ou des retours à la ligne. Plezy utilisera l\'URL joignable avec la latence la plus faible.';
|
||||
@override String get serverUrl => 'URL du serveur';
|
||||
@override String get serverUrls => 'URL du serveur';
|
||||
@override String get findServer => 'Rechercher un serveur';
|
||||
@override String get searchingLocalServers => 'Recherche de serveurs Jellyfin locaux...';
|
||||
@override String get localServers => 'Serveurs Jellyfin locaux';
|
||||
@override String get username => 'Nom d\'utilisateur';
|
||||
@override String get password => 'Mot de passe';
|
||||
@override String get signIn => 'Se connecter';
|
||||
@@ -1531,10 +1575,14 @@ class _TranslationsHotkeysActionsFr extends TranslationsHotkeysActionsEn {
|
||||
@override String get speedIncrease => 'Augmenter la vitesse';
|
||||
@override String get speedDecrease => 'Réduire la vitesse';
|
||||
@override String get speedReset => 'Réinitialiser la vitesse';
|
||||
@override String get zoomIn => 'Zoom avant';
|
||||
@override String get zoomOut => 'Zoom arrière';
|
||||
@override String get zoomReset => 'Réinitialiser le zoom';
|
||||
@override String get subSeekNext => 'Rechercher le sous-titre suivant';
|
||||
@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
|
||||
@@ -1593,6 +1641,7 @@ class _TranslationsLibrariesFilterCategoriesFr extends TranslationsLibrariesFilt
|
||||
@override String get year => 'Année';
|
||||
@override String get contentRating => 'Classification';
|
||||
@override String get tag => 'Tag';
|
||||
@override String get unwatched => 'Non vus';
|
||||
}
|
||||
|
||||
// Path: libraries.sortLabels
|
||||
@@ -1606,8 +1655,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';
|
||||
@@ -1794,6 +1853,7 @@ extension on TranslationsFr {
|
||||
'common.yes' => 'Oui',
|
||||
'common.no' => 'Non',
|
||||
'common.delete' => 'Supprimer',
|
||||
'common.edit' => 'Modifier',
|
||||
'common.shuffle' => 'Mélanger',
|
||||
'common.addTo' => 'Ajouter à...',
|
||||
'common.createNew' => 'Créer',
|
||||
@@ -1877,6 +1937,8 @@ extension on TranslationsFr {
|
||||
'settings.showEpisodeNumberOnCardsDescription' => 'Afficher la saison et l\'épisode sur les cartes d\'épisode',
|
||||
'settings.showSeasonPostersOnTabs' => 'Afficher les posters de saison sur les onglets',
|
||||
'settings.showSeasonPostersOnTabsDescription' => 'Afficher l\'affiche de chaque saison au-dessus de son onglet',
|
||||
'settings.tvFullCardLayout' => 'Cartes TV pleines',
|
||||
'settings.tvFullCardLayoutDescription' => 'Utiliser des cartes TV avec image seule et noms des acteurs superposés',
|
||||
'settings.hideSpoilers' => 'Masquer les spoilers des épisodes non vus',
|
||||
'settings.hideSpoilersDescription' => 'Flouter les miniatures et descriptions des épisodes non vus',
|
||||
'settings.playerBackend' => 'Moteur de lecture',
|
||||
@@ -2000,12 +2062,20 @@ 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',
|
||||
'settings.forceTvModeDescription' => 'Forcer l\'interface TV. Pour appareils non détectés automatiquement. Redémarrage requis.',
|
||||
'settings.startInFullscreen' => 'Démarrer en plein écran',
|
||||
'settings.startInFullscreenDescription' => 'Ouvrir Plezy en mode plein écran au lancement',
|
||||
'settings.exitFullscreenOnPlayerClose' => 'Quitter le plein écran à la fermeture du lecteur',
|
||||
'settings.exitFullscreenOnPlayerCloseDescription' => 'Quitter automatiquement le plein écran lors de la fermeture du lecteur vidéo',
|
||||
'settings.autoHidePerformanceOverlay' => 'Masquer auto. superposition performances',
|
||||
'settings.autoHidePerformanceOverlayDescription' => 'Faire apparaître/disparaître la superposition avec les contrôles de lecture',
|
||||
'settings.showNavBarLabels' => 'Afficher les libellés de la barre de navigation',
|
||||
@@ -2044,10 +2114,14 @@ extension on TranslationsFr {
|
||||
'hotkeys.actions.speedIncrease' => 'Augmenter la vitesse',
|
||||
'hotkeys.actions.speedDecrease' => 'Réduire la vitesse',
|
||||
'hotkeys.actions.speedReset' => 'Réinitialiser la vitesse',
|
||||
'hotkeys.actions.zoomIn' => 'Zoom avant',
|
||||
'hotkeys.actions.zoomOut' => 'Zoom arrière',
|
||||
'hotkeys.actions.zoomReset' => 'Réinitialiser le zoom',
|
||||
'hotkeys.actions.subSeekNext' => 'Rechercher le sous-titre suivant',
|
||||
'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 +2162,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}',
|
||||
@@ -2115,6 +2200,10 @@ extension on TranslationsFr {
|
||||
'videoControls.unlockRotation' => 'Déverrouiller la rotation',
|
||||
'videoControls.timerActive' => 'Minuterie active',
|
||||
'videoControls.playbackWillPauseIn' => ({required Object duration}) => 'La lecture sera mise en pause dans ${duration}',
|
||||
'videoControls.sleepTimerEndOfVideo' => 'Fin de la vidéo actuelle',
|
||||
'videoControls.sleepTimerStopAtHeader' => 'Arrêter à',
|
||||
'videoControls.sleepTimerDurationHeader' => 'Minuterie',
|
||||
'videoControls.playbackWillPauseAtEnd' => 'La lecture sera mise en pause à la fin de cette vidéo',
|
||||
'videoControls.stillWatching' => 'Toujours en train de regarder ?',
|
||||
'videoControls.pausingIn' => ({required Object seconds}) => 'Pause dans ${seconds}s',
|
||||
'videoControls.continueWatching' => 'Continuer',
|
||||
@@ -2130,7 +2219,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 +2245,8 @@ 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.zoomPercent' => ({required Object percent}) => 'Zoom ${percent} %',
|
||||
'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.',
|
||||
@@ -2242,6 +2333,8 @@ extension on TranslationsFr {
|
||||
'mpvConfig.presetSaved' => 'Préréglage enregistré',
|
||||
'mpvConfig.presetLoaded' => 'Préréglage chargé',
|
||||
'mpvConfig.presetDeleted' => 'Préréglage supprimé',
|
||||
_ => null,
|
||||
} ?? switch (path) {
|
||||
'mpvConfig.confirmDeletePreset' => 'Êtes-vous sûr de vouloir supprimer ce préréglage ?',
|
||||
'mpvConfig.configPlaceholder' => 'gpu-api=vulkan\nhwdec=auto\n# comment',
|
||||
'dialog.confirmAction' => 'Confirmer l\'action',
|
||||
@@ -2274,8 +2367,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',
|
||||
@@ -2311,6 +2402,8 @@ extension on TranslationsFr {
|
||||
'connections.sessionExpiredOne' => ({required Object name}) => 'Session expirée pour ${name}',
|
||||
'connections.sessionExpiredMany' => ({required Object count}) => 'Session expirée pour ${count} serveurs',
|
||||
'connections.signInAgain' => 'Se reconnecter',
|
||||
'connections.editJellyfinTitle' => 'Modifier la connexion Jellyfin',
|
||||
'connections.editJellyfinIntro' => ({required Object serverName}) => 'Ajoutez ou supprimez des URL pour ${serverName}. Plezy utilisera l\'URL joignable avec la latence la plus faible.',
|
||||
'discover.title' => 'Découvrez',
|
||||
'discover.switchProfile' => 'Changer de profil',
|
||||
'discover.noContentAvailable' => 'Aucun contenu disponible',
|
||||
@@ -2396,12 +2489,23 @@ extension on TranslationsFr {
|
||||
'libraries.filterCategories.year' => 'Année',
|
||||
'libraries.filterCategories.contentRating' => 'Classification',
|
||||
'libraries.filterCategories.tag' => 'Tag',
|
||||
'libraries.filterCategories.unwatched' => 'Non vus',
|
||||
'libraries.sortLabels.title' => 'Titre',
|
||||
'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,8 +2823,8 @@ 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.zoom' => 'Zoom',
|
||||
'videoSettings.sleepTimer' => 'Minuterie de mise en veille',
|
||||
'videoSettings.audioSync' => 'Synchronisation audio',
|
||||
'videoSettings.subtitleSync' => 'Synchronisation des sous-titres',
|
||||
@@ -2743,6 +2847,8 @@ extension on TranslationsFr {
|
||||
'externalPlayer.off' => 'Désactivé',
|
||||
'externalPlayer.launchFailed' => 'Impossible d\'ouvrir le lecteur externe',
|
||||
'externalPlayer.appNotInstalled' => ({required Object name}) => '${name} n\'est pas installé',
|
||||
_ => null,
|
||||
} ?? switch (path) {
|
||||
'externalPlayer.playInExternalPlayer' => 'Lire dans un lecteur externe',
|
||||
'metadataEdit.editMetadata' => 'Modifier...',
|
||||
'metadataEdit.screenTitle' => 'Modifier les métadonnées',
|
||||
@@ -2788,8 +2894,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',
|
||||
@@ -2879,8 +2983,12 @@ extension on TranslationsFr {
|
||||
'trackers.libraryFilter.noLibraries' => 'Aucune bibliothèque disponible',
|
||||
'addServer.addJellyfinTitle' => 'Ajouter un serveur Jellyfin',
|
||||
'addServer.jellyfinUrlIntro' => 'Saisissez l\'URL du serveur, par ex. `https://jellyfin.example.com`.',
|
||||
'addServer.jellyfinUrlsIntro' => 'Saisissez une ou plusieurs URL de serveur, séparées par des virgules ou des retours à la ligne. Plezy utilisera l\'URL joignable avec la latence la plus faible.',
|
||||
'addServer.serverUrl' => 'URL du serveur',
|
||||
'addServer.serverUrls' => 'URL du serveur',
|
||||
'addServer.findServer' => 'Rechercher un serveur',
|
||||
'addServer.searchingLocalServers' => 'Recherche de serveurs Jellyfin locaux...',
|
||||
'addServer.localServers' => 'Serveurs Jellyfin locaux',
|
||||
'addServer.username' => 'Nom d\'utilisateur',
|
||||
'addServer.password' => 'Mot de passe',
|
||||
'addServer.signIn' => 'Se connecter',
|
||||
|
||||
@@ -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);
|
||||
@@ -142,6 +143,7 @@ class _TranslationsCommonIt extends TranslationsCommonEn {
|
||||
@override String get yes => 'Sì';
|
||||
@override String get no => 'No';
|
||||
@override String get delete => 'Elimina';
|
||||
@override String get edit => 'Modifica';
|
||||
@override String get shuffle => 'Casuale';
|
||||
@override String get addTo => 'Aggiungi a...';
|
||||
@override String get createNew => 'Crea';
|
||||
@@ -252,6 +254,8 @@ class _TranslationsSettingsIt extends TranslationsSettingsEn {
|
||||
@override String get showEpisodeNumberOnCardsDescription => 'Mostra stagione ed episodio sulle schede episodio';
|
||||
@override String get showSeasonPostersOnTabs => 'Mostra poster delle stagioni sulle schede';
|
||||
@override String get showSeasonPostersOnTabsDescription => 'Mostra il poster di ogni stagione sopra la sua scheda';
|
||||
@override String get tvFullCardLayout => 'Schede TV piene';
|
||||
@override String get tvFullCardLayoutDescription => 'Usa schede TV solo immagine con i nomi degli attori sovrapposti';
|
||||
@override String get hideSpoilers => 'Nascondi spoiler per episodi non visti';
|
||||
@override String get hideSpoilersDescription => 'Sfoca miniature e descrizioni degli episodi non visti';
|
||||
@override String get playerBackend => 'Motore di riproduzione';
|
||||
@@ -375,12 +379,20 @@ 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';
|
||||
@override String get forceTvModeDescription => 'Forza layout TV. Per dispositivi non rilevati automaticamente. Richiede riavvio.';
|
||||
@override String get startInFullscreen => 'Avvia a schermo intero';
|
||||
@override String get startInFullscreenDescription => 'Apri Plezy a schermo intero all\'avvio';
|
||||
@override String get exitFullscreenOnPlayerClose => 'Esci dallo schermo intero alla chiusura del player';
|
||||
@override String get exitFullscreenOnPlayerCloseDescription => 'Esci automaticamente dallo schermo intero quando il lettore video viene chiuso';
|
||||
@override String get autoHidePerformanceOverlay => 'Nascondi automaticamente overlay prestazioni';
|
||||
@override String get autoHidePerformanceOverlayDescription => 'Dissolvi l\'overlay prestazioni con i controlli di riproduzione';
|
||||
@override String get showNavBarLabels => 'Mostra etichette barra di navigazione';
|
||||
@@ -481,6 +493,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);
|
||||
@@ -533,6 +565,10 @@ class _TranslationsVideoControlsIt extends TranslationsVideoControlsEn {
|
||||
@override String get unlockRotation => 'Sblocca rotazione';
|
||||
@override String get timerActive => 'Timer attivo';
|
||||
@override String playbackWillPauseIn({required Object duration}) => 'La riproduzione si interromperà tra ${duration}';
|
||||
@override String get sleepTimerEndOfVideo => 'Fine del video corrente';
|
||||
@override String get sleepTimerStopAtHeader => 'Interrompi a';
|
||||
@override String get sleepTimerDurationHeader => 'Timer';
|
||||
@override String get playbackWillPauseAtEnd => 'La riproduzione si interromperà alla fine di questo video';
|
||||
@override String get stillWatching => 'Stai ancora guardando?';
|
||||
@override String pausingIn({required Object seconds}) => 'Pausa tra ${seconds}s';
|
||||
@override String get continueWatching => 'Continua';
|
||||
@@ -548,7 +584,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 +610,8 @@ 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 String zoomPercent({required Object percent}) => 'Zoom ${percent}%';
|
||||
@override late final _TranslationsVideoControlsPipErrorsIt pipErrors = _TranslationsVideoControlsPipErrorsIt._(_root);
|
||||
@override String get chapters => 'Capitoli';
|
||||
@override String get noChaptersAvailable => 'Nessun capitolo disponibile';
|
||||
@@ -784,6 +822,8 @@ class _TranslationsConnectionsIt extends TranslationsConnectionsEn {
|
||||
@override String sessionExpiredOne({required Object name}) => 'Sessione scaduta per ${name}';
|
||||
@override String sessionExpiredMany({required Object count}) => 'Sessione scaduta per ${count} server';
|
||||
@override String get signInAgain => 'Accedi di nuovo';
|
||||
@override String get editJellyfinTitle => 'Modifica connessione Jellyfin';
|
||||
@override String editJellyfinIntro({required Object serverName}) => 'Aggiungi o rimuovi URL per ${serverName}. Plezy userà l\'URL raggiungibile con la latenza più bassa.';
|
||||
}
|
||||
|
||||
// Path: discover
|
||||
@@ -1274,8 +1314,8 @@ 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 zoom => 'Zoom';
|
||||
@override String get sleepTimer => 'Timer di spegnimento';
|
||||
@override String get audioSync => 'Sincronizzazione audio';
|
||||
@override String get subtitleSync => 'Sincronizzazione sottotitoli';
|
||||
@@ -1475,8 +1515,12 @@ class _TranslationsAddServerIt extends TranslationsAddServerEn {
|
||||
// Translations
|
||||
@override String get addJellyfinTitle => 'Aggiungi server Jellyfin';
|
||||
@override String get jellyfinUrlIntro => 'Inserisci l\'URL del server, es. `https://jellyfin.example.com`.';
|
||||
@override String get jellyfinUrlsIntro => 'Inserisci uno o più URL del server, separati da virgole o nuove righe. Plezy userà l\'URL raggiungibile con la latenza più bassa.';
|
||||
@override String get serverUrl => 'URL del server';
|
||||
@override String get serverUrls => 'URL del server';
|
||||
@override String get findServer => 'Trova server';
|
||||
@override String get searchingLocalServers => 'Ricerca server Jellyfin locali...';
|
||||
@override String get localServers => 'Server Jellyfin locali';
|
||||
@override String get username => 'Nome utente';
|
||||
@override String get password => 'Password';
|
||||
@override String get signIn => 'Accedi';
|
||||
@@ -1531,10 +1575,14 @@ class _TranslationsHotkeysActionsIt extends TranslationsHotkeysActionsEn {
|
||||
@override String get speedIncrease => 'Aumenta velocità';
|
||||
@override String get speedDecrease => 'Diminuisci velocità';
|
||||
@override String get speedReset => 'Ripristina velocità';
|
||||
@override String get zoomIn => 'Aumenta zoom';
|
||||
@override String get zoomOut => 'Riduci zoom';
|
||||
@override String get zoomReset => 'Ripristina zoom';
|
||||
@override String get subSeekNext => 'Vai al sottotitolo successivo';
|
||||
@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
|
||||
@@ -1593,6 +1641,7 @@ class _TranslationsLibrariesFilterCategoriesIt extends TranslationsLibrariesFilt
|
||||
@override String get year => 'Anno';
|
||||
@override String get contentRating => 'Classificazione';
|
||||
@override String get tag => 'Tag';
|
||||
@override String get unwatched => 'Non visti';
|
||||
}
|
||||
|
||||
// Path: libraries.sortLabels
|
||||
@@ -1606,8 +1655,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';
|
||||
@@ -1794,6 +1853,7 @@ extension on TranslationsIt {
|
||||
'common.yes' => 'Sì',
|
||||
'common.no' => 'No',
|
||||
'common.delete' => 'Elimina',
|
||||
'common.edit' => 'Modifica',
|
||||
'common.shuffle' => 'Casuale',
|
||||
'common.addTo' => 'Aggiungi a...',
|
||||
'common.createNew' => 'Crea',
|
||||
@@ -1877,6 +1937,8 @@ extension on TranslationsIt {
|
||||
'settings.showEpisodeNumberOnCardsDescription' => 'Mostra stagione ed episodio sulle schede episodio',
|
||||
'settings.showSeasonPostersOnTabs' => 'Mostra poster delle stagioni sulle schede',
|
||||
'settings.showSeasonPostersOnTabsDescription' => 'Mostra il poster di ogni stagione sopra la sua scheda',
|
||||
'settings.tvFullCardLayout' => 'Schede TV piene',
|
||||
'settings.tvFullCardLayoutDescription' => 'Usa schede TV solo immagine con i nomi degli attori sovrapposti',
|
||||
'settings.hideSpoilers' => 'Nascondi spoiler per episodi non visti',
|
||||
'settings.hideSpoilersDescription' => 'Sfoca miniature e descrizioni degli episodi non visti',
|
||||
'settings.playerBackend' => 'Motore di riproduzione',
|
||||
@@ -2000,12 +2062,20 @@ 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',
|
||||
'settings.forceTvModeDescription' => 'Forza layout TV. Per dispositivi non rilevati automaticamente. Richiede riavvio.',
|
||||
'settings.startInFullscreen' => 'Avvia a schermo intero',
|
||||
'settings.startInFullscreenDescription' => 'Apri Plezy a schermo intero all\'avvio',
|
||||
'settings.exitFullscreenOnPlayerClose' => 'Esci dallo schermo intero alla chiusura del player',
|
||||
'settings.exitFullscreenOnPlayerCloseDescription' => 'Esci automaticamente dallo schermo intero quando il lettore video viene chiuso',
|
||||
'settings.autoHidePerformanceOverlay' => 'Nascondi automaticamente overlay prestazioni',
|
||||
'settings.autoHidePerformanceOverlayDescription' => 'Dissolvi l\'overlay prestazioni con i controlli di riproduzione',
|
||||
'settings.showNavBarLabels' => 'Mostra etichette barra di navigazione',
|
||||
@@ -2044,10 +2114,14 @@ extension on TranslationsIt {
|
||||
'hotkeys.actions.speedIncrease' => 'Aumenta velocità',
|
||||
'hotkeys.actions.speedDecrease' => 'Diminuisci velocità',
|
||||
'hotkeys.actions.speedReset' => 'Ripristina velocità',
|
||||
'hotkeys.actions.zoomIn' => 'Aumenta zoom',
|
||||
'hotkeys.actions.zoomOut' => 'Riduci zoom',
|
||||
'hotkeys.actions.zoomReset' => 'Ripristina zoom',
|
||||
'hotkeys.actions.subSeekNext' => 'Vai al sottotitolo successivo',
|
||||
'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 +2162,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}',
|
||||
@@ -2115,6 +2200,10 @@ extension on TranslationsIt {
|
||||
'videoControls.unlockRotation' => 'Sblocca rotazione',
|
||||
'videoControls.timerActive' => 'Timer attivo',
|
||||
'videoControls.playbackWillPauseIn' => ({required Object duration}) => 'La riproduzione si interromperà tra ${duration}',
|
||||
'videoControls.sleepTimerEndOfVideo' => 'Fine del video corrente',
|
||||
'videoControls.sleepTimerStopAtHeader' => 'Interrompi a',
|
||||
'videoControls.sleepTimerDurationHeader' => 'Timer',
|
||||
'videoControls.playbackWillPauseAtEnd' => 'La riproduzione si interromperà alla fine di questo video',
|
||||
'videoControls.stillWatching' => 'Stai ancora guardando?',
|
||||
'videoControls.pausingIn' => ({required Object seconds}) => 'Pausa tra ${seconds}s',
|
||||
'videoControls.continueWatching' => 'Continua',
|
||||
@@ -2130,7 +2219,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 +2245,8 @@ 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.zoomPercent' => ({required Object percent}) => 'Zoom ${percent}%',
|
||||
'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.',
|
||||
@@ -2242,6 +2333,8 @@ extension on TranslationsIt {
|
||||
'mpvConfig.presetSaved' => 'Preset salvato',
|
||||
'mpvConfig.presetLoaded' => 'Preset caricato',
|
||||
'mpvConfig.presetDeleted' => 'Preset eliminato',
|
||||
_ => null,
|
||||
} ?? switch (path) {
|
||||
'mpvConfig.confirmDeletePreset' => 'Sei sicuro di voler eliminare questo preset?',
|
||||
'mpvConfig.configPlaceholder' => 'gpu-api=vulkan\nhwdec=auto\n# comment',
|
||||
'dialog.confirmAction' => 'Conferma azione',
|
||||
@@ -2274,8 +2367,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',
|
||||
@@ -2311,6 +2402,8 @@ extension on TranslationsIt {
|
||||
'connections.sessionExpiredOne' => ({required Object name}) => 'Sessione scaduta per ${name}',
|
||||
'connections.sessionExpiredMany' => ({required Object count}) => 'Sessione scaduta per ${count} server',
|
||||
'connections.signInAgain' => 'Accedi di nuovo',
|
||||
'connections.editJellyfinTitle' => 'Modifica connessione Jellyfin',
|
||||
'connections.editJellyfinIntro' => ({required Object serverName}) => 'Aggiungi o rimuovi URL per ${serverName}. Plezy userà l\'URL raggiungibile con la latenza più bassa.',
|
||||
'discover.title' => 'Esplora',
|
||||
'discover.switchProfile' => 'Cambia profilo',
|
||||
'discover.noContentAvailable' => 'Nessun contenuto disponibile',
|
||||
@@ -2396,12 +2489,23 @@ extension on TranslationsIt {
|
||||
'libraries.filterCategories.year' => 'Anno',
|
||||
'libraries.filterCategories.contentRating' => 'Classificazione',
|
||||
'libraries.filterCategories.tag' => 'Tag',
|
||||
'libraries.filterCategories.unwatched' => 'Non visti',
|
||||
'libraries.sortLabels.title' => 'Titolo',
|
||||
'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,8 +2823,8 @@ 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.zoom' => 'Zoom',
|
||||
'videoSettings.sleepTimer' => 'Timer di spegnimento',
|
||||
'videoSettings.audioSync' => 'Sincronizzazione audio',
|
||||
'videoSettings.subtitleSync' => 'Sincronizzazione sottotitoli',
|
||||
@@ -2743,6 +2847,8 @@ extension on TranslationsIt {
|
||||
'externalPlayer.off' => 'Disattivato',
|
||||
'externalPlayer.launchFailed' => 'Impossibile aprire il lettore esterno',
|
||||
'externalPlayer.appNotInstalled' => ({required Object name}) => '${name} non è installato',
|
||||
_ => null,
|
||||
} ?? switch (path) {
|
||||
'externalPlayer.playInExternalPlayer' => 'Riproduci in lettore esterno',
|
||||
'metadataEdit.editMetadata' => 'Modifica...',
|
||||
'metadataEdit.screenTitle' => 'Modifica metadati',
|
||||
@@ -2788,8 +2894,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',
|
||||
@@ -2879,8 +2983,12 @@ extension on TranslationsIt {
|
||||
'trackers.libraryFilter.noLibraries' => 'Nessuna libreria disponibile',
|
||||
'addServer.addJellyfinTitle' => 'Aggiungi server Jellyfin',
|
||||
'addServer.jellyfinUrlIntro' => 'Inserisci l\'URL del server, es. `https://jellyfin.example.com`.',
|
||||
'addServer.jellyfinUrlsIntro' => 'Inserisci uno o più URL del server, separati da virgole o nuove righe. Plezy userà l\'URL raggiungibile con la latenza più bassa.',
|
||||
'addServer.serverUrl' => 'URL del server',
|
||||
'addServer.serverUrls' => 'URL del server',
|
||||
'addServer.findServer' => 'Trova server',
|
||||
'addServer.searchingLocalServers' => 'Ricerca server Jellyfin locali...',
|
||||
'addServer.localServers' => 'Server Jellyfin locali',
|
||||
'addServer.username' => 'Nome utente',
|
||||
'addServer.password' => 'Password',
|
||||
'addServer.signIn' => 'Accedi',
|
||||
|
||||
@@ -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);
|
||||
@@ -142,6 +143,7 @@ class _TranslationsCommonJa extends TranslationsCommonEn {
|
||||
@override String get yes => 'はい';
|
||||
@override String get no => 'いいえ';
|
||||
@override String get delete => '削除';
|
||||
@override String get edit => '編集';
|
||||
@override String get shuffle => 'シャッフル';
|
||||
@override String get addTo => '追加...';
|
||||
@override String get createNew => '新規作成';
|
||||
@@ -252,6 +254,8 @@ class _TranslationsSettingsJa extends TranslationsSettingsEn {
|
||||
@override String get showEpisodeNumberOnCardsDescription => 'エピソードカードにシーズン番号とエピソード番号を表示します';
|
||||
@override String get showSeasonPostersOnTabs => 'タブにシーズンポスターを表示';
|
||||
@override String get showSeasonPostersOnTabsDescription => '各シーズンのポスターをタブの上に表示します';
|
||||
@override String get tvFullCardLayout => 'フルTVカード';
|
||||
@override String get tvFullCardLayoutDescription => 'TVカードを画像のみで表示し、俳優名を重ねて表示します';
|
||||
@override String get hideSpoilers => '未視聴エピソードのネタバレを非表示';
|
||||
@override String get hideSpoilersDescription => '未視聴エピソードのサムネイルと説明をぼかします';
|
||||
@override String get playerBackend => 'プレーヤーバックエンド';
|
||||
@@ -375,12 +379,20 @@ 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モードを強制';
|
||||
@override String get forceTvModeDescription => 'TVレイアウトを強制します。自動検出しないデバイス向けです。再起動が必要です。';
|
||||
@override String get startInFullscreen => '全画面表示で起動';
|
||||
@override String get startInFullscreenDescription => '起動時にPlezyを全画面モードで開きます';
|
||||
@override String get exitFullscreenOnPlayerClose => 'プレイヤーを閉じたときに全画面を終了';
|
||||
@override String get exitFullscreenOnPlayerCloseDescription => 'ビデオプレイヤーを閉じたときに自動的に全画面モードを終了します';
|
||||
@override String get autoHidePerformanceOverlay => 'パフォーマンスオーバーレイを自動非表示';
|
||||
@override String get autoHidePerformanceOverlayDescription => '再生コントロールと一緒にパフォーマンスオーバーレイをフェードする';
|
||||
@override String get showNavBarLabels => 'ナビゲーションバーラベルを表示';
|
||||
@@ -481,6 +493,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);
|
||||
@@ -533,6 +565,10 @@ class _TranslationsVideoControlsJa extends TranslationsVideoControlsEn {
|
||||
@override String get unlockRotation => '回転のロックを解除';
|
||||
@override String get timerActive => 'タイマー動作中';
|
||||
@override String playbackWillPauseIn({required Object duration}) => '再生は${duration}後に一時停止します';
|
||||
@override String get sleepTimerEndOfVideo => '現在の動画の最後';
|
||||
@override String get sleepTimerStopAtHeader => '停止のタイミング';
|
||||
@override String get sleepTimerDurationHeader => 'タイマー';
|
||||
@override String get playbackWillPauseAtEnd => '再生はこの動画の最後に一時停止します';
|
||||
@override String get stillWatching => 'まだ視聴中ですか?';
|
||||
@override String pausingIn({required Object seconds}) => '${seconds}秒後に一時停止';
|
||||
@override String get continueWatching => '続ける';
|
||||
@@ -548,7 +584,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 +610,8 @@ class _TranslationsVideoControlsJa extends TranslationsVideoControlsEn {
|
||||
@override String endsAt({required Object time}) => '${time}に終了';
|
||||
@override String get pipActive => 'ピクチャーインピクチャーで再生中';
|
||||
@override String get pipFailed => 'ピクチャーインピクチャーの開始に失敗しました';
|
||||
@override String get screenshotSaved => 'スクリーンショットを保存しました';
|
||||
@override String zoomPercent({required Object percent}) => 'ズーム ${percent}%';
|
||||
@override late final _TranslationsVideoControlsPipErrorsJa pipErrors = _TranslationsVideoControlsPipErrorsJa._(_root);
|
||||
@override String get chapters => 'チャプター';
|
||||
@override String get noChaptersAvailable => 'チャプターがありません';
|
||||
@@ -784,6 +822,8 @@ class _TranslationsConnectionsJa extends TranslationsConnectionsEn {
|
||||
@override String sessionExpiredOne({required Object name}) => '${name} のセッションの有効期限が切れました';
|
||||
@override String sessionExpiredMany({required Object count}) => '${count} 台のサーバーのセッションの有効期限が切れました';
|
||||
@override String get signInAgain => '再度サインイン';
|
||||
@override String get editJellyfinTitle => 'Jellyfin接続を編集';
|
||||
@override String editJellyfinIntro({required Object serverName}) => '${serverName} のURLを追加または削除します。Plezyは到達可能なURLのうち最も低遅延のものを使用します。';
|
||||
}
|
||||
|
||||
// Path: discover
|
||||
@@ -1274,8 +1314,8 @@ class _TranslationsVideoSettingsJa extends TranslationsVideoSettingsEn {
|
||||
final TranslationsJa _root; // ignore: unused_field
|
||||
|
||||
// Translations
|
||||
@override String get playbackSettings => '再生設定';
|
||||
@override String get playbackSpeed => '再生速度';
|
||||
@override String get zoom => 'ズーム';
|
||||
@override String get sleepTimer => 'スリープタイマー';
|
||||
@override String get audioSync => '音声同期';
|
||||
@override String get subtitleSync => '字幕同期';
|
||||
@@ -1475,8 +1515,12 @@ class _TranslationsAddServerJa extends TranslationsAddServerEn {
|
||||
// Translations
|
||||
@override String get addJellyfinTitle => 'Jellyfinサーバーを追加';
|
||||
@override String get jellyfinUrlIntro => 'サーバーURLを入力してください。例: `https://jellyfin.example.com`。';
|
||||
@override String get jellyfinUrlsIntro => 'サーバーURLを1つ以上、カンマまたは改行で区切って入力してください。Plezyは到達可能なURLのうち最も低遅延のものを使用します。';
|
||||
@override String get serverUrl => 'サーバーURL';
|
||||
@override String get serverUrls => 'サーバーURL';
|
||||
@override String get findServer => 'サーバーを検索';
|
||||
@override String get searchingLocalServers => 'ローカル Jellyfin サーバーを検索中...';
|
||||
@override String get localServers => 'ローカル Jellyfin サーバー';
|
||||
@override String get username => 'ユーザー名';
|
||||
@override String get password => 'パスワード';
|
||||
@override String get signIn => 'サインイン';
|
||||
@@ -1531,10 +1575,14 @@ class _TranslationsHotkeysActionsJa extends TranslationsHotkeysActionsEn {
|
||||
@override String get speedIncrease => '速度を上げる';
|
||||
@override String get speedDecrease => '速度を下げる';
|
||||
@override String get speedReset => '速度をリセット';
|
||||
@override String get zoomIn => 'ズームイン';
|
||||
@override String get zoomOut => 'ズームアウト';
|
||||
@override String get zoomReset => 'ズームをリセット';
|
||||
@override String get subSeekNext => '次の字幕にシーク';
|
||||
@override String get subSeekPrev => '前の字幕にシーク';
|
||||
@override String get shaderToggle => 'シェーダー切替';
|
||||
@override String get skipMarker => 'イントロ/クレジットをスキップ';
|
||||
@override String get screenshot => 'スクリーンショットを撮る';
|
||||
}
|
||||
|
||||
// Path: videoControls.pipErrors
|
||||
@@ -1593,6 +1641,7 @@ class _TranslationsLibrariesFilterCategoriesJa extends TranslationsLibrariesFilt
|
||||
@override String get year => '年';
|
||||
@override String get contentRating => '視聴年齢区分';
|
||||
@override String get tag => 'タグ';
|
||||
@override String get unwatched => '未視聴';
|
||||
}
|
||||
|
||||
// Path: libraries.sortLabels
|
||||
@@ -1606,8 +1655,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 => '最新エピソード放送日';
|
||||
@@ -1794,6 +1853,7 @@ extension on TranslationsJa {
|
||||
'common.yes' => 'はい',
|
||||
'common.no' => 'いいえ',
|
||||
'common.delete' => '削除',
|
||||
'common.edit' => '編集',
|
||||
'common.shuffle' => 'シャッフル',
|
||||
'common.addTo' => '追加...',
|
||||
'common.createNew' => '新規作成',
|
||||
@@ -1877,6 +1937,8 @@ extension on TranslationsJa {
|
||||
'settings.showEpisodeNumberOnCardsDescription' => 'エピソードカードにシーズン番号とエピソード番号を表示します',
|
||||
'settings.showSeasonPostersOnTabs' => 'タブにシーズンポスターを表示',
|
||||
'settings.showSeasonPostersOnTabsDescription' => '各シーズンのポスターをタブの上に表示します',
|
||||
'settings.tvFullCardLayout' => 'フルTVカード',
|
||||
'settings.tvFullCardLayoutDescription' => 'TVカードを画像のみで表示し、俳優名を重ねて表示します',
|
||||
'settings.hideSpoilers' => '未視聴エピソードのネタバレを非表示',
|
||||
'settings.hideSpoilersDescription' => '未視聴エピソードのサムネイルと説明をぼかします',
|
||||
'settings.playerBackend' => 'プレーヤーバックエンド',
|
||||
@@ -2000,12 +2062,20 @@ 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モードを強制',
|
||||
'settings.forceTvModeDescription' => 'TVレイアウトを強制します。自動検出しないデバイス向けです。再起動が必要です。',
|
||||
'settings.startInFullscreen' => '全画面表示で起動',
|
||||
'settings.startInFullscreenDescription' => '起動時にPlezyを全画面モードで開きます',
|
||||
'settings.exitFullscreenOnPlayerClose' => 'プレイヤーを閉じたときに全画面を終了',
|
||||
'settings.exitFullscreenOnPlayerCloseDescription' => 'ビデオプレイヤーを閉じたときに自動的に全画面モードを終了します',
|
||||
'settings.autoHidePerformanceOverlay' => 'パフォーマンスオーバーレイを自動非表示',
|
||||
'settings.autoHidePerformanceOverlayDescription' => '再生コントロールと一緒にパフォーマンスオーバーレイをフェードする',
|
||||
'settings.showNavBarLabels' => 'ナビゲーションバーラベルを表示',
|
||||
@@ -2044,10 +2114,14 @@ extension on TranslationsJa {
|
||||
'hotkeys.actions.speedIncrease' => '速度を上げる',
|
||||
'hotkeys.actions.speedDecrease' => '速度を下げる',
|
||||
'hotkeys.actions.speedReset' => '速度をリセット',
|
||||
'hotkeys.actions.zoomIn' => 'ズームイン',
|
||||
'hotkeys.actions.zoomOut' => 'ズームアウト',
|
||||
'hotkeys.actions.zoomReset' => 'ズームをリセット',
|
||||
'hotkeys.actions.subSeekNext' => '次の字幕にシーク',
|
||||
'hotkeys.actions.subSeekPrev' => '前の字幕にシーク',
|
||||
'hotkeys.actions.shaderToggle' => 'シェーダー切替',
|
||||
'hotkeys.actions.skipMarker' => 'イントロ/クレジットをスキップ',
|
||||
'hotkeys.actions.screenshot' => 'スクリーンショットを撮る',
|
||||
'fileInfo.title' => 'ファイル情報',
|
||||
'fileInfo.video' => '映像',
|
||||
'fileInfo.audio' => '音声',
|
||||
@@ -2088,6 +2162,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}',
|
||||
@@ -2115,6 +2200,10 @@ extension on TranslationsJa {
|
||||
'videoControls.unlockRotation' => '回転のロックを解除',
|
||||
'videoControls.timerActive' => 'タイマー動作中',
|
||||
'videoControls.playbackWillPauseIn' => ({required Object duration}) => '再生は${duration}後に一時停止します',
|
||||
'videoControls.sleepTimerEndOfVideo' => '現在の動画の最後',
|
||||
'videoControls.sleepTimerStopAtHeader' => '停止のタイミング',
|
||||
'videoControls.sleepTimerDurationHeader' => 'タイマー',
|
||||
'videoControls.playbackWillPauseAtEnd' => '再生はこの動画の最後に一時停止します',
|
||||
'videoControls.stillWatching' => 'まだ視聴中ですか?',
|
||||
'videoControls.pausingIn' => ({required Object seconds}) => '${seconds}秒後に一時停止',
|
||||
'videoControls.continueWatching' => '続ける',
|
||||
@@ -2130,7 +2219,7 @@ extension on TranslationsJa {
|
||||
'videoControls.nextChapterButton' => '次のチャプター',
|
||||
'videoControls.muteButton' => 'ミュート',
|
||||
'videoControls.unmuteButton' => 'ミュート解除',
|
||||
'videoControls.settingsButton' => '動画設定',
|
||||
'videoControls.settingsButton' => '再生設定',
|
||||
'videoControls.tracksButton' => '音声と字幕',
|
||||
'videoControls.chaptersButton' => 'チャプター',
|
||||
'videoControls.versionsButton' => '動画バージョン',
|
||||
@@ -2156,6 +2245,8 @@ extension on TranslationsJa {
|
||||
'videoControls.endsAt' => ({required Object time}) => '${time}に終了',
|
||||
'videoControls.pipActive' => 'ピクチャーインピクチャーで再生中',
|
||||
'videoControls.pipFailed' => 'ピクチャーインピクチャーの開始に失敗しました',
|
||||
'videoControls.screenshotSaved' => 'スクリーンショットを保存しました',
|
||||
'videoControls.zoomPercent' => ({required Object percent}) => 'ズーム ${percent}%',
|
||||
'videoControls.pipErrors.androidVersion' => 'Android 8.0以降が必要です',
|
||||
'videoControls.pipErrors.iosVersion' => 'iOS 15.0以降が必要です',
|
||||
'videoControls.pipErrors.permissionDisabled' => 'ピクチャーインピクチャーが無効です。システム設定で有効にしてください。',
|
||||
@@ -2242,6 +2333,8 @@ extension on TranslationsJa {
|
||||
'mpvConfig.presetSaved' => 'プリセットを保存しました',
|
||||
'mpvConfig.presetLoaded' => 'プリセットを読み込みました',
|
||||
'mpvConfig.presetDeleted' => 'プリセットを削除しました',
|
||||
_ => null,
|
||||
} ?? switch (path) {
|
||||
'mpvConfig.confirmDeletePreset' => 'このプリセットを削除してもよろしいですか?',
|
||||
'mpvConfig.configPlaceholder' => 'gpu-api=vulkan\nhwdec=auto\n# comment',
|
||||
'dialog.confirmAction' => '操作の確認',
|
||||
@@ -2274,8 +2367,6 @@ extension on TranslationsJa {
|
||||
'profiles.confirmPinTitle' => 'PINを確認',
|
||||
'profiles.pinSet' => 'PIN設定済み',
|
||||
'profiles.changePin' => '変更',
|
||||
_ => null,
|
||||
} ?? switch (path) {
|
||||
'profiles.removePin' => '削除',
|
||||
'profiles.connectionsLabel' => '接続',
|
||||
'profiles.add' => '追加',
|
||||
@@ -2311,6 +2402,8 @@ extension on TranslationsJa {
|
||||
'connections.sessionExpiredOne' => ({required Object name}) => '${name} のセッションの有効期限が切れました',
|
||||
'connections.sessionExpiredMany' => ({required Object count}) => '${count} 台のサーバーのセッションの有効期限が切れました',
|
||||
'connections.signInAgain' => '再度サインイン',
|
||||
'connections.editJellyfinTitle' => 'Jellyfin接続を編集',
|
||||
'connections.editJellyfinIntro' => ({required Object serverName}) => '${serverName} のURLを追加または削除します。Plezyは到達可能なURLのうち最も低遅延のものを使用します。',
|
||||
'discover.title' => '探す',
|
||||
'discover.switchProfile' => 'プロフィール切替',
|
||||
'discover.noContentAvailable' => 'コンテンツがありません',
|
||||
@@ -2396,12 +2489,23 @@ extension on TranslationsJa {
|
||||
'libraries.filterCategories.year' => '年',
|
||||
'libraries.filterCategories.contentRating' => '視聴年齢区分',
|
||||
'libraries.filterCategories.tag' => 'タグ',
|
||||
'libraries.filterCategories.unwatched' => '未視聴',
|
||||
'libraries.sortLabels.title' => 'タイトル',
|
||||
'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,8 +2823,8 @@ extension on TranslationsJa {
|
||||
'companionRemote.remote.subtitles' => '字幕',
|
||||
'companionRemote.remote.audio' => '音声',
|
||||
'companionRemote.remote.searchHint' => 'デスクトップで検索...',
|
||||
'videoSettings.playbackSettings' => '再生設定',
|
||||
'videoSettings.playbackSpeed' => '再生速度',
|
||||
'videoSettings.zoom' => 'ズーム',
|
||||
'videoSettings.sleepTimer' => 'スリープタイマー',
|
||||
'videoSettings.audioSync' => '音声同期',
|
||||
'videoSettings.subtitleSync' => '字幕同期',
|
||||
@@ -2743,6 +2847,8 @@ extension on TranslationsJa {
|
||||
'externalPlayer.off' => 'オフ',
|
||||
'externalPlayer.launchFailed' => '外部プレーヤーの起動に失敗しました',
|
||||
'externalPlayer.appNotInstalled' => ({required Object name}) => '${name}がインストールされていません',
|
||||
_ => null,
|
||||
} ?? switch (path) {
|
||||
'externalPlayer.playInExternalPlayer' => '外部プレーヤーで再生',
|
||||
'metadataEdit.editMetadata' => '編集...',
|
||||
'metadataEdit.screenTitle' => 'メタデータを編集',
|
||||
@@ -2788,8 +2894,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ヶ月後',
|
||||
@@ -2879,8 +2983,12 @@ extension on TranslationsJa {
|
||||
'trackers.libraryFilter.noLibraries' => '利用できるライブラリがありません',
|
||||
'addServer.addJellyfinTitle' => 'Jellyfinサーバーを追加',
|
||||
'addServer.jellyfinUrlIntro' => 'サーバーURLを入力してください。例: `https://jellyfin.example.com`。',
|
||||
'addServer.jellyfinUrlsIntro' => 'サーバーURLを1つ以上、カンマまたは改行で区切って入力してください。Plezyは到達可能なURLのうち最も低遅延のものを使用します。',
|
||||
'addServer.serverUrl' => 'サーバーURL',
|
||||
'addServer.serverUrls' => 'サーバーURL',
|
||||
'addServer.findServer' => 'サーバーを検索',
|
||||
'addServer.searchingLocalServers' => 'ローカル Jellyfin サーバーを検索中...',
|
||||
'addServer.localServers' => 'ローカル Jellyfin サーバー',
|
||||
'addServer.username' => 'ユーザー名',
|
||||
'addServer.password' => 'パスワード',
|
||||
'addServer.signIn' => 'サインイン',
|
||||
|
||||
@@ -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);
|
||||
@@ -142,6 +143,7 @@ class _TranslationsCommonKo extends TranslationsCommonEn {
|
||||
@override String get yes => '예';
|
||||
@override String get no => '아니오';
|
||||
@override String get delete => '삭제';
|
||||
@override String get edit => '편집';
|
||||
@override String get shuffle => '무작위 재생';
|
||||
@override String get addTo => '추가하기...';
|
||||
@override String get createNew => '새로 만들기';
|
||||
@@ -252,6 +254,8 @@ class _TranslationsSettingsKo extends TranslationsSettingsEn {
|
||||
@override String get showEpisodeNumberOnCardsDescription => '에피소드 카드에 시즌 및 에피소드 번호 표시';
|
||||
@override String get showSeasonPostersOnTabs => '탭에 시즌 포스터 표시';
|
||||
@override String get showSeasonPostersOnTabsDescription => '각 시즌 포스터를 탭 위에 표시';
|
||||
@override String get tvFullCardLayout => '전체 TV 카드';
|
||||
@override String get tvFullCardLayoutDescription => 'TV 카드에 이미지만 표시하고 배우 이름을 오버레이로 표시';
|
||||
@override String get hideSpoilers => '미시청 에피소드 스포일러 숨기기';
|
||||
@override String get hideSpoilersDescription => '시청하지 않은 에피소드의 썸네일과 설명을 흐리게 처리';
|
||||
@override String get playerBackend => '플레이어 백엔드';
|
||||
@@ -375,12 +379,20 @@ 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 모드 강제 사용';
|
||||
@override String get forceTvModeDescription => 'TV 레이아웃을 강제합니다. 자동 감지되지 않는 기기용입니다. 재시작이 필요합니다.';
|
||||
@override String get startInFullscreen => '전체화면으로 시작';
|
||||
@override String get startInFullscreenDescription => '실행 시 Plezy를 전체화면 모드로 엽니다';
|
||||
@override String get exitFullscreenOnPlayerClose => '플레이어 닫을 때 전체화면 종료';
|
||||
@override String get exitFullscreenOnPlayerCloseDescription => '비디오 플레이어를 닫을 때 자동으로 전체화면을 종료합니다';
|
||||
@override String get autoHidePerformanceOverlay => '성능 오버레이 자동 숨기기';
|
||||
@override String get autoHidePerformanceOverlayDescription => '재생 컨트롤과 함께 성능 오버레이를 페이드 처리';
|
||||
@override String get showNavBarLabels => '내비게이션 바 라벨 표시';
|
||||
@@ -481,6 +493,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);
|
||||
@@ -533,6 +565,10 @@ class _TranslationsVideoControlsKo extends TranslationsVideoControlsEn {
|
||||
@override String get unlockRotation => '회전 잠금 해제';
|
||||
@override String get timerActive => '타이머 활성화됨';
|
||||
@override String playbackWillPauseIn({required Object duration}) => '재생이 ${duration} 후에 일시 중지 됩니다';
|
||||
@override String get sleepTimerEndOfVideo => '현재 비디오의 끝';
|
||||
@override String get sleepTimerStopAtHeader => '정지 시점';
|
||||
@override String get sleepTimerDurationHeader => '타이머';
|
||||
@override String get playbackWillPauseAtEnd => '재생이 이 비디오의 끝에서 일시 중지됩니다';
|
||||
@override String get stillWatching => '아직 시청 중이신가요?';
|
||||
@override String pausingIn({required Object seconds}) => '${seconds}초 후 일시 정지';
|
||||
@override String get continueWatching => '계속';
|
||||
@@ -548,7 +584,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 +610,8 @@ class _TranslationsVideoControlsKo extends TranslationsVideoControlsEn {
|
||||
@override String endsAt({required Object time}) => '${time}에 종료';
|
||||
@override String get pipActive => '화면 속 화면으로 재생 중';
|
||||
@override String get pipFailed => '화면 속 화면 모드를 시작할 수 없습니다';
|
||||
@override String get screenshotSaved => '스크린샷 저장됨';
|
||||
@override String zoomPercent({required Object percent}) => '확대/축소 ${percent}%';
|
||||
@override late final _TranslationsVideoControlsPipErrorsKo pipErrors = _TranslationsVideoControlsPipErrorsKo._(_root);
|
||||
@override String get chapters => '챕터';
|
||||
@override String get noChaptersAvailable => '사용 가능한 챕터가 없습니다';
|
||||
@@ -784,6 +822,8 @@ class _TranslationsConnectionsKo extends TranslationsConnectionsEn {
|
||||
@override String sessionExpiredOne({required Object name}) => '${name} 의 세션이 만료되었습니다';
|
||||
@override String sessionExpiredMany({required Object count}) => '${count} 개의 서버에서 세션이 만료되었습니다';
|
||||
@override String get signInAgain => '다시 로그인';
|
||||
@override String get editJellyfinTitle => 'Jellyfin 연결 편집';
|
||||
@override String editJellyfinIntro({required Object serverName}) => '${serverName}의 URL을 추가하거나 제거하세요. Plezy는 연결 가능한 URL 중 지연 시간이 가장 낮은 URL을 사용합니다.';
|
||||
}
|
||||
|
||||
// Path: discover
|
||||
@@ -1274,8 +1314,8 @@ class _TranslationsVideoSettingsKo extends TranslationsVideoSettingsEn {
|
||||
final TranslationsKo _root; // ignore: unused_field
|
||||
|
||||
// Translations
|
||||
@override String get playbackSettings => '재생 설정';
|
||||
@override String get playbackSpeed => '재생 속도';
|
||||
@override String get zoom => '확대/축소';
|
||||
@override String get sleepTimer => '취침 타이머';
|
||||
@override String get audioSync => '오디오 동기화';
|
||||
@override String get subtitleSync => '자막 동기화';
|
||||
@@ -1475,8 +1515,12 @@ class _TranslationsAddServerKo extends TranslationsAddServerEn {
|
||||
// Translations
|
||||
@override String get addJellyfinTitle => 'Jellyfin 서버 추가';
|
||||
@override String get jellyfinUrlIntro => '서버 URL을 입력하세요. 예: `https://jellyfin.example.com`.';
|
||||
@override String get jellyfinUrlsIntro => '서버 URL을 하나 이상 쉼표나 줄바꿈으로 구분해 입력하세요. Plezy는 연결 가능한 URL 중 지연 시간이 가장 낮은 URL을 사용합니다.';
|
||||
@override String get serverUrl => '서버 URL';
|
||||
@override String get serverUrls => '서버 URL';
|
||||
@override String get findServer => '서버 찾기';
|
||||
@override String get searchingLocalServers => '로컬 Jellyfin 서버 검색 중...';
|
||||
@override String get localServers => '로컬 Jellyfin 서버';
|
||||
@override String get username => '사용자 이름';
|
||||
@override String get password => '비밀번호';
|
||||
@override String get signIn => '로그인';
|
||||
@@ -1531,10 +1575,14 @@ class _TranslationsHotkeysActionsKo extends TranslationsHotkeysActionsEn {
|
||||
@override String get speedIncrease => '속도 높이기';
|
||||
@override String get speedDecrease => '속도 낮추기';
|
||||
@override String get speedReset => '속도 초기화';
|
||||
@override String get zoomIn => '확대';
|
||||
@override String get zoomOut => '축소';
|
||||
@override String get zoomReset => '확대/축소 초기화';
|
||||
@override String get subSeekNext => '다음 자막으로 이동';
|
||||
@override String get subSeekPrev => '이전 자막으로 이동';
|
||||
@override String get shaderToggle => '셰이더 전환';
|
||||
@override String get skipMarker => '인트로/크레딧 건너뛰기';
|
||||
@override String get screenshot => '스크린샷 찍기';
|
||||
}
|
||||
|
||||
// Path: videoControls.pipErrors
|
||||
@@ -1593,6 +1641,7 @@ class _TranslationsLibrariesFilterCategoriesKo extends TranslationsLibrariesFilt
|
||||
@override String get year => '연도';
|
||||
@override String get contentRating => '시청 등급';
|
||||
@override String get tag => '태그';
|
||||
@override String get unwatched => '미시청';
|
||||
}
|
||||
|
||||
// Path: libraries.sortLabels
|
||||
@@ -1606,8 +1655,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 => '최신 에피소드 방영일';
|
||||
@@ -1794,6 +1853,7 @@ extension on TranslationsKo {
|
||||
'common.yes' => '예',
|
||||
'common.no' => '아니오',
|
||||
'common.delete' => '삭제',
|
||||
'common.edit' => '편집',
|
||||
'common.shuffle' => '무작위 재생',
|
||||
'common.addTo' => '추가하기...',
|
||||
'common.createNew' => '새로 만들기',
|
||||
@@ -1877,6 +1937,8 @@ extension on TranslationsKo {
|
||||
'settings.showEpisodeNumberOnCardsDescription' => '에피소드 카드에 시즌 및 에피소드 번호 표시',
|
||||
'settings.showSeasonPostersOnTabs' => '탭에 시즌 포스터 표시',
|
||||
'settings.showSeasonPostersOnTabsDescription' => '각 시즌 포스터를 탭 위에 표시',
|
||||
'settings.tvFullCardLayout' => '전체 TV 카드',
|
||||
'settings.tvFullCardLayoutDescription' => 'TV 카드에 이미지만 표시하고 배우 이름을 오버레이로 표시',
|
||||
'settings.hideSpoilers' => '미시청 에피소드 스포일러 숨기기',
|
||||
'settings.hideSpoilersDescription' => '시청하지 않은 에피소드의 썸네일과 설명을 흐리게 처리',
|
||||
'settings.playerBackend' => '플레이어 백엔드',
|
||||
@@ -2000,12 +2062,20 @@ 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 모드 강제 사용',
|
||||
'settings.forceTvModeDescription' => 'TV 레이아웃을 강제합니다. 자동 감지되지 않는 기기용입니다. 재시작이 필요합니다.',
|
||||
'settings.startInFullscreen' => '전체화면으로 시작',
|
||||
'settings.startInFullscreenDescription' => '실행 시 Plezy를 전체화면 모드로 엽니다',
|
||||
'settings.exitFullscreenOnPlayerClose' => '플레이어 닫을 때 전체화면 종료',
|
||||
'settings.exitFullscreenOnPlayerCloseDescription' => '비디오 플레이어를 닫을 때 자동으로 전체화면을 종료합니다',
|
||||
'settings.autoHidePerformanceOverlay' => '성능 오버레이 자동 숨기기',
|
||||
'settings.autoHidePerformanceOverlayDescription' => '재생 컨트롤과 함께 성능 오버레이를 페이드 처리',
|
||||
'settings.showNavBarLabels' => '내비게이션 바 라벨 표시',
|
||||
@@ -2044,10 +2114,14 @@ extension on TranslationsKo {
|
||||
'hotkeys.actions.speedIncrease' => '속도 높이기',
|
||||
'hotkeys.actions.speedDecrease' => '속도 낮추기',
|
||||
'hotkeys.actions.speedReset' => '속도 초기화',
|
||||
'hotkeys.actions.zoomIn' => '확대',
|
||||
'hotkeys.actions.zoomOut' => '축소',
|
||||
'hotkeys.actions.zoomReset' => '확대/축소 초기화',
|
||||
'hotkeys.actions.subSeekNext' => '다음 자막으로 이동',
|
||||
'hotkeys.actions.subSeekPrev' => '이전 자막으로 이동',
|
||||
'hotkeys.actions.shaderToggle' => '셰이더 전환',
|
||||
'hotkeys.actions.skipMarker' => '인트로/크레딧 건너뛰기',
|
||||
'hotkeys.actions.screenshot' => '스크린샷 찍기',
|
||||
'fileInfo.title' => '파일 정보',
|
||||
'fileInfo.video' => '비디오',
|
||||
'fileInfo.audio' => '오디오',
|
||||
@@ -2088,6 +2162,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}',
|
||||
@@ -2115,6 +2200,10 @@ extension on TranslationsKo {
|
||||
'videoControls.unlockRotation' => '회전 잠금 해제',
|
||||
'videoControls.timerActive' => '타이머 활성화됨',
|
||||
'videoControls.playbackWillPauseIn' => ({required Object duration}) => '재생이 ${duration} 후에 일시 중지 됩니다',
|
||||
'videoControls.sleepTimerEndOfVideo' => '현재 비디오의 끝',
|
||||
'videoControls.sleepTimerStopAtHeader' => '정지 시점',
|
||||
'videoControls.sleepTimerDurationHeader' => '타이머',
|
||||
'videoControls.playbackWillPauseAtEnd' => '재생이 이 비디오의 끝에서 일시 중지됩니다',
|
||||
'videoControls.stillWatching' => '아직 시청 중이신가요?',
|
||||
'videoControls.pausingIn' => ({required Object seconds}) => '${seconds}초 후 일시 정지',
|
||||
'videoControls.continueWatching' => '계속',
|
||||
@@ -2130,7 +2219,7 @@ extension on TranslationsKo {
|
||||
'videoControls.nextChapterButton' => '다음 챕터',
|
||||
'videoControls.muteButton' => '음소거',
|
||||
'videoControls.unmuteButton' => '음소거 해제',
|
||||
'videoControls.settingsButton' => '동영상 설정',
|
||||
'videoControls.settingsButton' => '재생 설정',
|
||||
'videoControls.tracksButton' => '오디오 및 자막',
|
||||
'videoControls.chaptersButton' => '챕터',
|
||||
'videoControls.versionsButton' => '동영상 버전',
|
||||
@@ -2156,6 +2245,8 @@ extension on TranslationsKo {
|
||||
'videoControls.endsAt' => ({required Object time}) => '${time}에 종료',
|
||||
'videoControls.pipActive' => '화면 속 화면으로 재생 중',
|
||||
'videoControls.pipFailed' => '화면 속 화면 모드를 시작할 수 없습니다',
|
||||
'videoControls.screenshotSaved' => '스크린샷 저장됨',
|
||||
'videoControls.zoomPercent' => ({required Object percent}) => '확대/축소 ${percent}%',
|
||||
'videoControls.pipErrors.androidVersion' => 'Android 8.0 이상이 필요합니다',
|
||||
'videoControls.pipErrors.iosVersion' => 'iOS 15.0 이상이 필요합니다',
|
||||
'videoControls.pipErrors.permissionDisabled' => '화면 속 화면이 비활성화되어 있습니다. 시스템 설정에서 활성화하세요.',
|
||||
@@ -2242,6 +2333,8 @@ extension on TranslationsKo {
|
||||
'mpvConfig.presetSaved' => '프리셋이 저장 되었습니다',
|
||||
'mpvConfig.presetLoaded' => '프리셋이 로드 되었습니다',
|
||||
'mpvConfig.presetDeleted' => '프리셋이 삭제 되었습니다',
|
||||
_ => null,
|
||||
} ?? switch (path) {
|
||||
'mpvConfig.confirmDeletePreset' => '이 프리셋을 삭제 하시겠습니까?',
|
||||
'mpvConfig.configPlaceholder' => 'gpu-api=vulkan\nhwdec=auto\n# comment',
|
||||
'dialog.confirmAction' => '확인',
|
||||
@@ -2274,8 +2367,6 @@ extension on TranslationsKo {
|
||||
'profiles.confirmPinTitle' => 'PIN 확인',
|
||||
'profiles.pinSet' => 'PIN 설정됨',
|
||||
'profiles.changePin' => '변경',
|
||||
_ => null,
|
||||
} ?? switch (path) {
|
||||
'profiles.removePin' => '제거',
|
||||
'profiles.connectionsLabel' => '연결',
|
||||
'profiles.add' => '추가',
|
||||
@@ -2311,6 +2402,8 @@ extension on TranslationsKo {
|
||||
'connections.sessionExpiredOne' => ({required Object name}) => '${name} 의 세션이 만료되었습니다',
|
||||
'connections.sessionExpiredMany' => ({required Object count}) => '${count} 개의 서버에서 세션이 만료되었습니다',
|
||||
'connections.signInAgain' => '다시 로그인',
|
||||
'connections.editJellyfinTitle' => 'Jellyfin 연결 편집',
|
||||
'connections.editJellyfinIntro' => ({required Object serverName}) => '${serverName}의 URL을 추가하거나 제거하세요. Plezy는 연결 가능한 URL 중 지연 시간이 가장 낮은 URL을 사용합니다.',
|
||||
'discover.title' => '발견',
|
||||
'discover.switchProfile' => '사용자 전환',
|
||||
'discover.noContentAvailable' => '사용 가능한 콘텐츠가 없습니다',
|
||||
@@ -2396,12 +2489,23 @@ extension on TranslationsKo {
|
||||
'libraries.filterCategories.year' => '연도',
|
||||
'libraries.filterCategories.contentRating' => '시청 등급',
|
||||
'libraries.filterCategories.tag' => '태그',
|
||||
'libraries.filterCategories.unwatched' => '미시청',
|
||||
'libraries.sortLabels.title' => '제목',
|
||||
'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,8 +2823,8 @@ extension on TranslationsKo {
|
||||
'companionRemote.remote.subtitles' => '자막',
|
||||
'companionRemote.remote.audio' => '오디오',
|
||||
'companionRemote.remote.searchHint' => '데스크톱에서 검색...',
|
||||
'videoSettings.playbackSettings' => '재생 설정',
|
||||
'videoSettings.playbackSpeed' => '재생 속도',
|
||||
'videoSettings.zoom' => '확대/축소',
|
||||
'videoSettings.sleepTimer' => '취침 타이머',
|
||||
'videoSettings.audioSync' => '오디오 동기화',
|
||||
'videoSettings.subtitleSync' => '자막 동기화',
|
||||
@@ -2743,6 +2847,8 @@ extension on TranslationsKo {
|
||||
'externalPlayer.off' => '꺼짐',
|
||||
'externalPlayer.launchFailed' => '외부 플레이어를 열 수 없습니다',
|
||||
'externalPlayer.appNotInstalled' => ({required Object name}) => '${name}이(가) 설치되어 있지 않습니다',
|
||||
_ => null,
|
||||
} ?? switch (path) {
|
||||
'externalPlayer.playInExternalPlayer' => '외부 플레이어에서 재생',
|
||||
'metadataEdit.editMetadata' => '편집...',
|
||||
'metadataEdit.screenTitle' => '메타데이터 편집',
|
||||
@@ -2788,8 +2894,6 @@ extension on TranslationsKo {
|
||||
'metadataEdit.episodesAddedPastDays' => ({required Object count}) => '최근 ${count}일 내 추가된 에피소드',
|
||||
'metadataEdit.deleteAfterPlaying' => '재생 후 에피소드 삭제',
|
||||
'metadataEdit.never' => '안 함',
|
||||
_ => null,
|
||||
} ?? switch (path) {
|
||||
'metadataEdit.afterADay' => '하루 후',
|
||||
'metadataEdit.afterAWeek' => '일주일 후',
|
||||
'metadataEdit.afterAMonth' => '한 달 후',
|
||||
@@ -2879,8 +2983,12 @@ extension on TranslationsKo {
|
||||
'trackers.libraryFilter.noLibraries' => '사용 가능한 라이브러리가 없습니다',
|
||||
'addServer.addJellyfinTitle' => 'Jellyfin 서버 추가',
|
||||
'addServer.jellyfinUrlIntro' => '서버 URL을 입력하세요. 예: `https://jellyfin.example.com`.',
|
||||
'addServer.jellyfinUrlsIntro' => '서버 URL을 하나 이상 쉼표나 줄바꿈으로 구분해 입력하세요. Plezy는 연결 가능한 URL 중 지연 시간이 가장 낮은 URL을 사용합니다.',
|
||||
'addServer.serverUrl' => '서버 URL',
|
||||
'addServer.serverUrls' => '서버 URL',
|
||||
'addServer.findServer' => '서버 찾기',
|
||||
'addServer.searchingLocalServers' => '로컬 Jellyfin 서버 검색 중...',
|
||||
'addServer.localServers' => '로컬 Jellyfin 서버',
|
||||
'addServer.username' => '사용자 이름',
|
||||
'addServer.password' => '비밀번호',
|
||||
'addServer.signIn' => '로그인',
|
||||
|
||||
@@ -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);
|
||||
@@ -142,6 +143,7 @@ class _TranslationsCommonNb extends TranslationsCommonEn {
|
||||
@override String get yes => 'Ja';
|
||||
@override String get no => 'Nei';
|
||||
@override String get delete => 'Slett';
|
||||
@override String get edit => 'Rediger';
|
||||
@override String get shuffle => 'Tilfeldig';
|
||||
@override String get addTo => 'Legg til i...';
|
||||
@override String get createNew => 'Opprett ny';
|
||||
@@ -252,6 +254,8 @@ class _TranslationsSettingsNb extends TranslationsSettingsEn {
|
||||
@override String get showEpisodeNumberOnCardsDescription => 'Vis sesong- og episodenummer på episodekort';
|
||||
@override String get showSeasonPostersOnTabs => 'Vis sesongplakater på faner';
|
||||
@override String get showSeasonPostersOnTabsDescription => 'Vis hver sesongs plakat over fanen';
|
||||
@override String get tvFullCardLayout => 'Fulle TV-kort';
|
||||
@override String get tvFullCardLayoutDescription => 'Bruk bildebaserte TV-kort med skuespillernavn lagt over';
|
||||
@override String get hideSpoilers => 'Skjul spoilere for usette episoder';
|
||||
@override String get hideSpoilersDescription => 'Slør miniatyrbilder og beskrivelser for usette episoder';
|
||||
@override String get playerBackend => 'Spillermotor';
|
||||
@@ -375,12 +379,20 @@ 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';
|
||||
@override String get forceTvModeDescription => 'Tving TV-oppsett. For enheter som ikke oppdages automatisk. Krever omstart.';
|
||||
@override String get startInFullscreen => 'Start i fullskjerm';
|
||||
@override String get startInFullscreenDescription => 'Åpne Plezy i fullskjermmodus ved oppstart';
|
||||
@override String get exitFullscreenOnPlayerClose => 'Avslutt fullskjerm ved lukking av avspiller';
|
||||
@override String get exitFullscreenOnPlayerCloseDescription => 'Avslutt fullskjerm automatisk når videospilleren lukkes';
|
||||
@override String get autoHidePerformanceOverlay => 'Skjul ytelsesoverlegg automatisk';
|
||||
@override String get autoHidePerformanceOverlayDescription => 'Fade ytelsesoverlegget med avspillingskontrollene';
|
||||
@override String get showNavBarLabels => 'Vis navigasjonsfeltlabeler';
|
||||
@@ -481,6 +493,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);
|
||||
@@ -533,6 +565,10 @@ class _TranslationsVideoControlsNb extends TranslationsVideoControlsEn {
|
||||
@override String get unlockRotation => 'Lås opp rotasjon';
|
||||
@override String get timerActive => 'Timer aktiv';
|
||||
@override String playbackWillPauseIn({required Object duration}) => 'Avspilling vil pause om ${duration}';
|
||||
@override String get sleepTimerEndOfVideo => 'Slutten av gjeldende video';
|
||||
@override String get sleepTimerStopAtHeader => 'Stopp ved';
|
||||
@override String get sleepTimerDurationHeader => 'Timer';
|
||||
@override String get playbackWillPauseAtEnd => 'Avspilling vil pause på slutten av denne videoen';
|
||||
@override String get stillWatching => 'Ser du fortsatt?';
|
||||
@override String pausingIn({required Object seconds}) => 'Pauser om ${seconds}s';
|
||||
@override String get continueWatching => 'Fortsett';
|
||||
@@ -548,7 +584,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 +610,8 @@ 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 String zoomPercent({required Object percent}) => 'Zoom ${percent}%';
|
||||
@override late final _TranslationsVideoControlsPipErrorsNb pipErrors = _TranslationsVideoControlsPipErrorsNb._(_root);
|
||||
@override String get chapters => 'Kapitler';
|
||||
@override String get noChaptersAvailable => 'Ingen kapitler tilgjengelig';
|
||||
@@ -784,6 +822,8 @@ class _TranslationsConnectionsNb extends TranslationsConnectionsEn {
|
||||
@override String sessionExpiredOne({required Object name}) => 'Økten er utløpt for ${name}';
|
||||
@override String sessionExpiredMany({required Object count}) => 'Økten er utløpt for ${count} servere';
|
||||
@override String get signInAgain => 'Logg inn igjen';
|
||||
@override String get editJellyfinTitle => 'Rediger Jellyfin-tilkobling';
|
||||
@override String editJellyfinIntro({required Object serverName}) => 'Legg til eller fjern URL-er for ${serverName}. Plezy bruker den tilgjengelige URL-en med lavest forsinkelse.';
|
||||
}
|
||||
|
||||
// Path: discover
|
||||
@@ -1274,8 +1314,8 @@ class _TranslationsVideoSettingsNb extends TranslationsVideoSettingsEn {
|
||||
final TranslationsNb _root; // ignore: unused_field
|
||||
|
||||
// Translations
|
||||
@override String get playbackSettings => 'Avspillingsinnstillinger';
|
||||
@override String get playbackSpeed => 'Avspillingshastighet';
|
||||
@override String get zoom => 'Zoom';
|
||||
@override String get sleepTimer => 'Søvntimer';
|
||||
@override String get audioSync => 'Lydsynkronisering';
|
||||
@override String get subtitleSync => 'Undertekstsynkronisering';
|
||||
@@ -1475,8 +1515,12 @@ class _TranslationsAddServerNb extends TranslationsAddServerEn {
|
||||
// Translations
|
||||
@override String get addJellyfinTitle => 'Legg til Jellyfin-server';
|
||||
@override String get jellyfinUrlIntro => 'Skriv inn server-URL-en, f.eks. `https://jellyfin.example.com`.';
|
||||
@override String get jellyfinUrlsIntro => 'Skriv inn én eller flere server-URL-er, adskilt med kommaer eller nye linjer. Plezy bruker den tilgjengelige URL-en med lavest forsinkelse.';
|
||||
@override String get serverUrl => 'Server-URL';
|
||||
@override String get serverUrls => 'Server-URL-er';
|
||||
@override String get findServer => 'Finn server';
|
||||
@override String get searchingLocalServers => 'Søker etter lokale Jellyfin-servere...';
|
||||
@override String get localServers => 'Lokale Jellyfin-servere';
|
||||
@override String get username => 'Brukernavn';
|
||||
@override String get password => 'Passord';
|
||||
@override String get signIn => 'Logg på';
|
||||
@@ -1531,10 +1575,14 @@ class _TranslationsHotkeysActionsNb extends TranslationsHotkeysActionsEn {
|
||||
@override String get speedIncrease => 'Øk hastighet';
|
||||
@override String get speedDecrease => 'Reduser hastighet';
|
||||
@override String get speedReset => 'Tilbakestill hastighet';
|
||||
@override String get zoomIn => 'Zoom inn';
|
||||
@override String get zoomOut => 'Zoom ut';
|
||||
@override String get zoomReset => 'Tilbakestill zoom';
|
||||
@override String get subSeekNext => 'Spol til neste undertekst';
|
||||
@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
|
||||
@@ -1593,6 +1641,7 @@ class _TranslationsLibrariesFilterCategoriesNb extends TranslationsLibrariesFilt
|
||||
@override String get year => 'År';
|
||||
@override String get contentRating => 'Aldersgrense';
|
||||
@override String get tag => 'Tag';
|
||||
@override String get unwatched => 'Usette';
|
||||
}
|
||||
|
||||
// Path: libraries.sortLabels
|
||||
@@ -1606,8 +1655,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';
|
||||
@@ -1794,6 +1853,7 @@ extension on TranslationsNb {
|
||||
'common.yes' => 'Ja',
|
||||
'common.no' => 'Nei',
|
||||
'common.delete' => 'Slett',
|
||||
'common.edit' => 'Rediger',
|
||||
'common.shuffle' => 'Tilfeldig',
|
||||
'common.addTo' => 'Legg til i...',
|
||||
'common.createNew' => 'Opprett ny',
|
||||
@@ -1877,6 +1937,8 @@ extension on TranslationsNb {
|
||||
'settings.showEpisodeNumberOnCardsDescription' => 'Vis sesong- og episodenummer på episodekort',
|
||||
'settings.showSeasonPostersOnTabs' => 'Vis sesongplakater på faner',
|
||||
'settings.showSeasonPostersOnTabsDescription' => 'Vis hver sesongs plakat over fanen',
|
||||
'settings.tvFullCardLayout' => 'Fulle TV-kort',
|
||||
'settings.tvFullCardLayoutDescription' => 'Bruk bildebaserte TV-kort med skuespillernavn lagt over',
|
||||
'settings.hideSpoilers' => 'Skjul spoilere for usette episoder',
|
||||
'settings.hideSpoilersDescription' => 'Slør miniatyrbilder og beskrivelser for usette episoder',
|
||||
'settings.playerBackend' => 'Spillermotor',
|
||||
@@ -2000,12 +2062,20 @@ 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',
|
||||
'settings.forceTvModeDescription' => 'Tving TV-oppsett. For enheter som ikke oppdages automatisk. Krever omstart.',
|
||||
'settings.startInFullscreen' => 'Start i fullskjerm',
|
||||
'settings.startInFullscreenDescription' => 'Åpne Plezy i fullskjermmodus ved oppstart',
|
||||
'settings.exitFullscreenOnPlayerClose' => 'Avslutt fullskjerm ved lukking av avspiller',
|
||||
'settings.exitFullscreenOnPlayerCloseDescription' => 'Avslutt fullskjerm automatisk når videospilleren lukkes',
|
||||
'settings.autoHidePerformanceOverlay' => 'Skjul ytelsesoverlegg automatisk',
|
||||
'settings.autoHidePerformanceOverlayDescription' => 'Fade ytelsesoverlegget med avspillingskontrollene',
|
||||
'settings.showNavBarLabels' => 'Vis navigasjonsfeltlabeler',
|
||||
@@ -2044,10 +2114,14 @@ extension on TranslationsNb {
|
||||
'hotkeys.actions.speedIncrease' => 'Øk hastighet',
|
||||
'hotkeys.actions.speedDecrease' => 'Reduser hastighet',
|
||||
'hotkeys.actions.speedReset' => 'Tilbakestill hastighet',
|
||||
'hotkeys.actions.zoomIn' => 'Zoom inn',
|
||||
'hotkeys.actions.zoomOut' => 'Zoom ut',
|
||||
'hotkeys.actions.zoomReset' => 'Tilbakestill zoom',
|
||||
'hotkeys.actions.subSeekNext' => 'Spol til neste undertekst',
|
||||
'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 +2162,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}',
|
||||
@@ -2115,6 +2200,10 @@ extension on TranslationsNb {
|
||||
'videoControls.unlockRotation' => 'Lås opp rotasjon',
|
||||
'videoControls.timerActive' => 'Timer aktiv',
|
||||
'videoControls.playbackWillPauseIn' => ({required Object duration}) => 'Avspilling vil pause om ${duration}',
|
||||
'videoControls.sleepTimerEndOfVideo' => 'Slutten av gjeldende video',
|
||||
'videoControls.sleepTimerStopAtHeader' => 'Stopp ved',
|
||||
'videoControls.sleepTimerDurationHeader' => 'Timer',
|
||||
'videoControls.playbackWillPauseAtEnd' => 'Avspilling vil pause på slutten av denne videoen',
|
||||
'videoControls.stillWatching' => 'Ser du fortsatt?',
|
||||
'videoControls.pausingIn' => ({required Object seconds}) => 'Pauser om ${seconds}s',
|
||||
'videoControls.continueWatching' => 'Fortsett',
|
||||
@@ -2130,7 +2219,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 +2245,8 @@ 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.zoomPercent' => ({required Object percent}) => 'Zoom ${percent}%',
|
||||
'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.',
|
||||
@@ -2242,6 +2333,8 @@ extension on TranslationsNb {
|
||||
'mpvConfig.presetSaved' => 'Forhåndsinnstilling lagret',
|
||||
'mpvConfig.presetLoaded' => 'Forhåndsinnstilling lastet inn',
|
||||
'mpvConfig.presetDeleted' => 'Forhåndsinnstilling slettet',
|
||||
_ => null,
|
||||
} ?? switch (path) {
|
||||
'mpvConfig.confirmDeletePreset' => 'Er du sikker på at du vil slette denne forhåndsinnstillingen?',
|
||||
'mpvConfig.configPlaceholder' => 'gpu-api=vulkan\nhwdec=auto\n# kommentar',
|
||||
'dialog.confirmAction' => 'Bekreft handling',
|
||||
@@ -2274,8 +2367,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',
|
||||
@@ -2311,6 +2402,8 @@ extension on TranslationsNb {
|
||||
'connections.sessionExpiredOne' => ({required Object name}) => 'Økten er utløpt for ${name}',
|
||||
'connections.sessionExpiredMany' => ({required Object count}) => 'Økten er utløpt for ${count} servere',
|
||||
'connections.signInAgain' => 'Logg inn igjen',
|
||||
'connections.editJellyfinTitle' => 'Rediger Jellyfin-tilkobling',
|
||||
'connections.editJellyfinIntro' => ({required Object serverName}) => 'Legg til eller fjern URL-er for ${serverName}. Plezy bruker den tilgjengelige URL-en med lavest forsinkelse.',
|
||||
'discover.title' => 'Oppdag',
|
||||
'discover.switchProfile' => 'Bytt profil',
|
||||
'discover.noContentAvailable' => 'Ingen innhold tilgjengelig',
|
||||
@@ -2396,12 +2489,23 @@ extension on TranslationsNb {
|
||||
'libraries.filterCategories.year' => 'År',
|
||||
'libraries.filterCategories.contentRating' => 'Aldersgrense',
|
||||
'libraries.filterCategories.tag' => 'Tag',
|
||||
'libraries.filterCategories.unwatched' => 'Usette',
|
||||
'libraries.sortLabels.title' => 'Tittel',
|
||||
'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,8 +2823,8 @@ 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.zoom' => 'Zoom',
|
||||
'videoSettings.sleepTimer' => 'Søvntimer',
|
||||
'videoSettings.audioSync' => 'Lydsynkronisering',
|
||||
'videoSettings.subtitleSync' => 'Undertekstsynkronisering',
|
||||
@@ -2743,6 +2847,8 @@ extension on TranslationsNb {
|
||||
'externalPlayer.off' => 'Av',
|
||||
'externalPlayer.launchFailed' => 'Kunne ikke åpne ekstern spiller',
|
||||
'externalPlayer.appNotInstalled' => ({required Object name}) => '${name} er ikke installert',
|
||||
_ => null,
|
||||
} ?? switch (path) {
|
||||
'externalPlayer.playInExternalPlayer' => 'Spill av i ekstern spiller',
|
||||
'metadataEdit.editMetadata' => 'Rediger...',
|
||||
'metadataEdit.screenTitle' => 'Rediger metadata',
|
||||
@@ -2788,8 +2894,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',
|
||||
@@ -2879,8 +2983,12 @@ extension on TranslationsNb {
|
||||
'trackers.libraryFilter.noLibraries' => 'Ingen biblioteker tilgjengelige',
|
||||
'addServer.addJellyfinTitle' => 'Legg til Jellyfin-server',
|
||||
'addServer.jellyfinUrlIntro' => 'Skriv inn server-URL-en, f.eks. `https://jellyfin.example.com`.',
|
||||
'addServer.jellyfinUrlsIntro' => 'Skriv inn én eller flere server-URL-er, adskilt med kommaer eller nye linjer. Plezy bruker den tilgjengelige URL-en med lavest forsinkelse.',
|
||||
'addServer.serverUrl' => 'Server-URL',
|
||||
'addServer.serverUrls' => 'Server-URL-er',
|
||||
'addServer.findServer' => 'Finn server',
|
||||
'addServer.searchingLocalServers' => 'Søker etter lokale Jellyfin-servere...',
|
||||
'addServer.localServers' => 'Lokale Jellyfin-servere',
|
||||
'addServer.username' => 'Brukernavn',
|
||||
'addServer.password' => 'Passord',
|
||||
'addServer.signIn' => 'Logg på',
|
||||
|
||||
@@ -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);
|
||||
@@ -142,6 +143,7 @@ class _TranslationsCommonNl extends TranslationsCommonEn {
|
||||
@override String get yes => 'Ja';
|
||||
@override String get no => 'Nee';
|
||||
@override String get delete => 'Verwijderen';
|
||||
@override String get edit => 'Bewerken';
|
||||
@override String get shuffle => 'Willekeurig';
|
||||
@override String get addTo => 'Toevoegen aan...';
|
||||
@override String get createNew => 'Nieuw aanmaken';
|
||||
@@ -252,6 +254,8 @@ class _TranslationsSettingsNl extends TranslationsSettingsEn {
|
||||
@override String get showEpisodeNumberOnCardsDescription => 'Toon seizoen- en afleveringsnummer op afleveringskaarten';
|
||||
@override String get showSeasonPostersOnTabs => 'Toon seizoensposters op tabbladen';
|
||||
@override String get showSeasonPostersOnTabsDescription => 'Toon de poster van elk seizoen boven het tabblad';
|
||||
@override String get tvFullCardLayout => 'Volledige tv-kaarten';
|
||||
@override String get tvFullCardLayoutDescription => 'Gebruik tv-kaarten met alleen afbeeldingen en namen van acteurs als overlay';
|
||||
@override String get hideSpoilers => 'Spoilers voor ongekeken afleveringen verbergen';
|
||||
@override String get hideSpoilersDescription => 'Vervaag miniaturen en beschrijvingen voor niet-bekeken afleveringen';
|
||||
@override String get playerBackend => 'Speler backend';
|
||||
@@ -375,12 +379,20 @@ 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';
|
||||
@override String get forceTvModeDescription => 'Forceer TV-indeling. Voor apparaten zonder autodetectie. Herstart vereist.';
|
||||
@override String get startInFullscreen => 'Starten in volledig scherm';
|
||||
@override String get startInFullscreenDescription => 'Open Plezy bij het starten in volledig scherm';
|
||||
@override String get exitFullscreenOnPlayerClose => 'Volledig scherm verlaten bij sluiten speler';
|
||||
@override String get exitFullscreenOnPlayerCloseDescription => 'Verlaat automatisch volledig scherm wanneer de videospeler wordt gesloten';
|
||||
@override String get autoHidePerformanceOverlay => 'Prestatie-overlay automatisch verbergen';
|
||||
@override String get autoHidePerformanceOverlayDescription => 'Laat de prestatie-overlay meevervagen met de afspeelknoppen';
|
||||
@override String get showNavBarLabels => 'Navigatiebalk labels tonen';
|
||||
@@ -481,6 +493,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);
|
||||
@@ -533,6 +565,10 @@ class _TranslationsVideoControlsNl extends TranslationsVideoControlsEn {
|
||||
@override String get unlockRotation => 'Ontgrendel rotatie';
|
||||
@override String get timerActive => 'Timer actief';
|
||||
@override String playbackWillPauseIn({required Object duration}) => 'Afspelen wordt gepauzeerd over ${duration}';
|
||||
@override String get sleepTimerEndOfVideo => 'Einde van huidige video';
|
||||
@override String get sleepTimerStopAtHeader => 'Stoppen bij';
|
||||
@override String get sleepTimerDurationHeader => 'Timer';
|
||||
@override String get playbackWillPauseAtEnd => 'Afspelen wordt gepauzeerd aan het einde van deze video';
|
||||
@override String get stillWatching => 'Kijk je nog?';
|
||||
@override String pausingIn({required Object seconds}) => 'Pauze over ${seconds}s';
|
||||
@override String get continueWatching => 'Doorgaan';
|
||||
@@ -548,7 +584,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 +610,8 @@ 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 String zoomPercent({required Object percent}) => 'Zoom ${percent}%';
|
||||
@override late final _TranslationsVideoControlsPipErrorsNl pipErrors = _TranslationsVideoControlsPipErrorsNl._(_root);
|
||||
@override String get chapters => 'Hoofdstukken';
|
||||
@override String get noChaptersAvailable => 'Geen hoofdstukken beschikbaar';
|
||||
@@ -784,6 +822,8 @@ class _TranslationsConnectionsNl extends TranslationsConnectionsEn {
|
||||
@override String sessionExpiredOne({required Object name}) => 'Sessie verlopen voor ${name}';
|
||||
@override String sessionExpiredMany({required Object count}) => 'Sessie verlopen voor ${count} servers';
|
||||
@override String get signInAgain => 'Opnieuw aanmelden';
|
||||
@override String get editJellyfinTitle => 'Jellyfin-verbinding bewerken';
|
||||
@override String editJellyfinIntro({required Object serverName}) => 'Voeg URL\'s voor ${serverName} toe of verwijder ze. Plezy gebruikt de bereikbare URL met de laagste latentie.';
|
||||
}
|
||||
|
||||
// Path: discover
|
||||
@@ -1274,8 +1314,8 @@ class _TranslationsVideoSettingsNl extends TranslationsVideoSettingsEn {
|
||||
final TranslationsNl _root; // ignore: unused_field
|
||||
|
||||
// Translations
|
||||
@override String get playbackSettings => 'Afspeelinstellingen';
|
||||
@override String get playbackSpeed => 'Afspeelsnelheid';
|
||||
@override String get zoom => 'Zoom';
|
||||
@override String get sleepTimer => 'Slaaptimer';
|
||||
@override String get audioSync => 'Audio synchronisatie';
|
||||
@override String get subtitleSync => 'Ondertitel synchronisatie';
|
||||
@@ -1475,8 +1515,12 @@ class _TranslationsAddServerNl extends TranslationsAddServerEn {
|
||||
// Translations
|
||||
@override String get addJellyfinTitle => 'Jellyfin-server toevoegen';
|
||||
@override String get jellyfinUrlIntro => 'Voer de server-URL in, bijv. `https://jellyfin.example.com`.';
|
||||
@override String get jellyfinUrlsIntro => 'Voer een of meer server-URL\'s in, gescheiden door komma\'s of nieuwe regels. Plezy gebruikt de bereikbare URL met de laagste latentie.';
|
||||
@override String get serverUrl => 'Server-URL';
|
||||
@override String get serverUrls => 'Server-URL\'s';
|
||||
@override String get findServer => 'Server zoeken';
|
||||
@override String get searchingLocalServers => 'Lokale Jellyfin-servers zoeken...';
|
||||
@override String get localServers => 'Lokale Jellyfin-servers';
|
||||
@override String get username => 'Gebruikersnaam';
|
||||
@override String get password => 'Wachtwoord';
|
||||
@override String get signIn => 'Inloggen';
|
||||
@@ -1531,10 +1575,14 @@ class _TranslationsHotkeysActionsNl extends TranslationsHotkeysActionsEn {
|
||||
@override String get speedIncrease => 'Snelheid verhogen';
|
||||
@override String get speedDecrease => 'Snelheid verlagen';
|
||||
@override String get speedReset => 'Snelheid resetten';
|
||||
@override String get zoomIn => 'Inzoomen';
|
||||
@override String get zoomOut => 'Uitzoomen';
|
||||
@override String get zoomReset => 'Zoom resetten';
|
||||
@override String get subSeekNext => 'Naar volgende ondertitel';
|
||||
@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
|
||||
@@ -1593,6 +1641,7 @@ class _TranslationsLibrariesFilterCategoriesNl extends TranslationsLibrariesFilt
|
||||
@override String get year => 'Jaar';
|
||||
@override String get contentRating => 'Leeftijdsclassificatie';
|
||||
@override String get tag => 'Tag';
|
||||
@override String get unwatched => 'Onbekeken';
|
||||
}
|
||||
|
||||
// Path: libraries.sortLabels
|
||||
@@ -1606,8 +1655,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';
|
||||
@@ -1794,6 +1853,7 @@ extension on TranslationsNl {
|
||||
'common.yes' => 'Ja',
|
||||
'common.no' => 'Nee',
|
||||
'common.delete' => 'Verwijderen',
|
||||
'common.edit' => 'Bewerken',
|
||||
'common.shuffle' => 'Willekeurig',
|
||||
'common.addTo' => 'Toevoegen aan...',
|
||||
'common.createNew' => 'Nieuw aanmaken',
|
||||
@@ -1877,6 +1937,8 @@ extension on TranslationsNl {
|
||||
'settings.showEpisodeNumberOnCardsDescription' => 'Toon seizoen- en afleveringsnummer op afleveringskaarten',
|
||||
'settings.showSeasonPostersOnTabs' => 'Toon seizoensposters op tabbladen',
|
||||
'settings.showSeasonPostersOnTabsDescription' => 'Toon de poster van elk seizoen boven het tabblad',
|
||||
'settings.tvFullCardLayout' => 'Volledige tv-kaarten',
|
||||
'settings.tvFullCardLayoutDescription' => 'Gebruik tv-kaarten met alleen afbeeldingen en namen van acteurs als overlay',
|
||||
'settings.hideSpoilers' => 'Spoilers voor ongekeken afleveringen verbergen',
|
||||
'settings.hideSpoilersDescription' => 'Vervaag miniaturen en beschrijvingen voor niet-bekeken afleveringen',
|
||||
'settings.playerBackend' => 'Speler backend',
|
||||
@@ -2000,12 +2062,20 @@ 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',
|
||||
'settings.forceTvModeDescription' => 'Forceer TV-indeling. Voor apparaten zonder autodetectie. Herstart vereist.',
|
||||
'settings.startInFullscreen' => 'Starten in volledig scherm',
|
||||
'settings.startInFullscreenDescription' => 'Open Plezy bij het starten in volledig scherm',
|
||||
'settings.exitFullscreenOnPlayerClose' => 'Volledig scherm verlaten bij sluiten speler',
|
||||
'settings.exitFullscreenOnPlayerCloseDescription' => 'Verlaat automatisch volledig scherm wanneer de videospeler wordt gesloten',
|
||||
'settings.autoHidePerformanceOverlay' => 'Prestatie-overlay automatisch verbergen',
|
||||
'settings.autoHidePerformanceOverlayDescription' => 'Laat de prestatie-overlay meevervagen met de afspeelknoppen',
|
||||
'settings.showNavBarLabels' => 'Navigatiebalk labels tonen',
|
||||
@@ -2044,10 +2114,14 @@ extension on TranslationsNl {
|
||||
'hotkeys.actions.speedIncrease' => 'Snelheid verhogen',
|
||||
'hotkeys.actions.speedDecrease' => 'Snelheid verlagen',
|
||||
'hotkeys.actions.speedReset' => 'Snelheid resetten',
|
||||
'hotkeys.actions.zoomIn' => 'Inzoomen',
|
||||
'hotkeys.actions.zoomOut' => 'Uitzoomen',
|
||||
'hotkeys.actions.zoomReset' => 'Zoom resetten',
|
||||
'hotkeys.actions.subSeekNext' => 'Naar volgende ondertitel',
|
||||
'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 +2162,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}',
|
||||
@@ -2115,6 +2200,10 @@ extension on TranslationsNl {
|
||||
'videoControls.unlockRotation' => 'Ontgrendel rotatie',
|
||||
'videoControls.timerActive' => 'Timer actief',
|
||||
'videoControls.playbackWillPauseIn' => ({required Object duration}) => 'Afspelen wordt gepauzeerd over ${duration}',
|
||||
'videoControls.sleepTimerEndOfVideo' => 'Einde van huidige video',
|
||||
'videoControls.sleepTimerStopAtHeader' => 'Stoppen bij',
|
||||
'videoControls.sleepTimerDurationHeader' => 'Timer',
|
||||
'videoControls.playbackWillPauseAtEnd' => 'Afspelen wordt gepauzeerd aan het einde van deze video',
|
||||
'videoControls.stillWatching' => 'Kijk je nog?',
|
||||
'videoControls.pausingIn' => ({required Object seconds}) => 'Pauze over ${seconds}s',
|
||||
'videoControls.continueWatching' => 'Doorgaan',
|
||||
@@ -2130,7 +2219,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 +2245,8 @@ 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.zoomPercent' => ({required Object percent}) => 'Zoom ${percent}%',
|
||||
'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.',
|
||||
@@ -2242,6 +2333,8 @@ extension on TranslationsNl {
|
||||
'mpvConfig.presetSaved' => 'Voorinstelling opgeslagen',
|
||||
'mpvConfig.presetLoaded' => 'Voorinstelling geladen',
|
||||
'mpvConfig.presetDeleted' => 'Voorinstelling verwijderd',
|
||||
_ => null,
|
||||
} ?? switch (path) {
|
||||
'mpvConfig.confirmDeletePreset' => 'Weet je zeker dat je deze voorinstelling wilt verwijderen?',
|
||||
'mpvConfig.configPlaceholder' => 'gpu-api=vulkan\nhwdec=auto\n# comment',
|
||||
'dialog.confirmAction' => 'Bevestig actie',
|
||||
@@ -2274,8 +2367,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',
|
||||
@@ -2311,6 +2402,8 @@ extension on TranslationsNl {
|
||||
'connections.sessionExpiredOne' => ({required Object name}) => 'Sessie verlopen voor ${name}',
|
||||
'connections.sessionExpiredMany' => ({required Object count}) => 'Sessie verlopen voor ${count} servers',
|
||||
'connections.signInAgain' => 'Opnieuw aanmelden',
|
||||
'connections.editJellyfinTitle' => 'Jellyfin-verbinding bewerken',
|
||||
'connections.editJellyfinIntro' => ({required Object serverName}) => 'Voeg URL\'s voor ${serverName} toe of verwijder ze. Plezy gebruikt de bereikbare URL met de laagste latentie.',
|
||||
'discover.title' => 'Ontdekken',
|
||||
'discover.switchProfile' => 'Wissel van profiel',
|
||||
'discover.noContentAvailable' => 'Geen inhoud beschikbaar',
|
||||
@@ -2396,12 +2489,23 @@ extension on TranslationsNl {
|
||||
'libraries.filterCategories.year' => 'Jaar',
|
||||
'libraries.filterCategories.contentRating' => 'Leeftijdsclassificatie',
|
||||
'libraries.filterCategories.tag' => 'Tag',
|
||||
'libraries.filterCategories.unwatched' => 'Onbekeken',
|
||||
'libraries.sortLabels.title' => 'Titel',
|
||||
'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,8 +2823,8 @@ extension on TranslationsNl {
|
||||
'companionRemote.remote.subtitles' => 'Ondertitels',
|
||||
'companionRemote.remote.audio' => 'Audio',
|
||||
'companionRemote.remote.searchHint' => 'Zoeken op desktop...',
|
||||
'videoSettings.playbackSettings' => 'Afspeelinstellingen',
|
||||
'videoSettings.playbackSpeed' => 'Afspeelsnelheid',
|
||||
'videoSettings.zoom' => 'Zoom',
|
||||
'videoSettings.sleepTimer' => 'Slaaptimer',
|
||||
'videoSettings.audioSync' => 'Audio synchronisatie',
|
||||
'videoSettings.subtitleSync' => 'Ondertitel synchronisatie',
|
||||
@@ -2743,6 +2847,8 @@ extension on TranslationsNl {
|
||||
'externalPlayer.off' => 'Uit',
|
||||
'externalPlayer.launchFailed' => 'Kan externe speler niet openen',
|
||||
'externalPlayer.appNotInstalled' => ({required Object name}) => '${name} is niet geïnstalleerd',
|
||||
_ => null,
|
||||
} ?? switch (path) {
|
||||
'externalPlayer.playInExternalPlayer' => 'Afspelen in externe speler',
|
||||
'metadataEdit.editMetadata' => 'Bewerken...',
|
||||
'metadataEdit.screenTitle' => 'Metadata bewerken',
|
||||
@@ -2788,8 +2894,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',
|
||||
@@ -2879,8 +2983,12 @@ extension on TranslationsNl {
|
||||
'trackers.libraryFilter.noLibraries' => 'Geen bibliotheken beschikbaar',
|
||||
'addServer.addJellyfinTitle' => 'Jellyfin-server toevoegen',
|
||||
'addServer.jellyfinUrlIntro' => 'Voer de server-URL in, bijv. `https://jellyfin.example.com`.',
|
||||
'addServer.jellyfinUrlsIntro' => 'Voer een of meer server-URL\'s in, gescheiden door komma\'s of nieuwe regels. Plezy gebruikt de bereikbare URL met de laagste latentie.',
|
||||
'addServer.serverUrl' => 'Server-URL',
|
||||
'addServer.serverUrls' => 'Server-URL\'s',
|
||||
'addServer.findServer' => 'Server zoeken',
|
||||
'addServer.searchingLocalServers' => 'Lokale Jellyfin-servers zoeken...',
|
||||
'addServer.localServers' => 'Lokale Jellyfin-servers',
|
||||
'addServer.username' => 'Gebruikersnaam',
|
||||
'addServer.password' => 'Wachtwoord',
|
||||
'addServer.signIn' => 'Inloggen',
|
||||
|
||||
@@ -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);
|
||||
@@ -142,6 +143,7 @@ class _TranslationsCommonPl extends TranslationsCommonEn {
|
||||
@override String get yes => 'Tak';
|
||||
@override String get no => 'Nie';
|
||||
@override String get delete => 'Usuń';
|
||||
@override String get edit => 'Edytuj';
|
||||
@override String get shuffle => 'Losowo';
|
||||
@override String get addTo => 'Dodaj do...';
|
||||
@override String get createNew => 'Utwórz nowy';
|
||||
@@ -252,6 +254,8 @@ class _TranslationsSettingsPl extends TranslationsSettingsEn {
|
||||
@override String get showEpisodeNumberOnCardsDescription => 'Pokazuj numer sezonu i odcinka na kartach odcinków';
|
||||
@override String get showSeasonPostersOnTabs => 'Pokaż plakaty sezonów na zakładkach';
|
||||
@override String get showSeasonPostersOnTabsDescription => 'Pokazuj plakat każdego sezonu nad jego kartą';
|
||||
@override String get tvFullCardLayout => 'Pełne karty TV';
|
||||
@override String get tvFullCardLayoutDescription => 'Używaj kart TV tylko z obrazem i nałożonymi nazwiskami aktorów';
|
||||
@override String get hideSpoilers => 'Ukryj spoilery nieobejrzanych odcinków';
|
||||
@override String get hideSpoilersDescription => 'Rozmywaj miniatury i opisy nieobejrzanych odcinków';
|
||||
@override String get playerBackend => 'Backend odtwarzacza';
|
||||
@@ -375,12 +379,20 @@ 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';
|
||||
@override String get forceTvModeDescription => 'Wymuś układ TV. Dla urządzeń bez autodetekcji. Wymaga restartu.';
|
||||
@override String get startInFullscreen => 'Uruchom na pełnym ekranie';
|
||||
@override String get startInFullscreenDescription => 'Otwiera Plezy w trybie pełnoekranowym przy uruchomieniu';
|
||||
@override String get exitFullscreenOnPlayerClose => 'Wyjdź z pełnego ekranu przy zamykaniu odtwarzacza';
|
||||
@override String get exitFullscreenOnPlayerCloseDescription => 'Automatycznie wychodzi z trybu pełnoekranowego po zamknięciu odtwarzacza wideo';
|
||||
@override String get autoHidePerformanceOverlay => 'Automatycznie ukrywaj nakładkę wydajności';
|
||||
@override String get autoHidePerformanceOverlayDescription => 'Wygaszaj nakładkę wydajności wraz z kontrolkami odtwarzania';
|
||||
@override String get showNavBarLabels => 'Pokaż etykiety paska nawigacji';
|
||||
@@ -481,6 +493,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);
|
||||
@@ -533,6 +565,10 @@ class _TranslationsVideoControlsPl extends TranslationsVideoControlsEn {
|
||||
@override String get unlockRotation => 'Odblokuj obrót';
|
||||
@override String get timerActive => 'Wyłącznik aktywny';
|
||||
@override String playbackWillPauseIn({required Object duration}) => 'Odtwarzanie zatrzyma się za ${duration}';
|
||||
@override String get sleepTimerEndOfVideo => 'Koniec bieżącego wideo';
|
||||
@override String get sleepTimerStopAtHeader => 'Zatrzymaj na';
|
||||
@override String get sleepTimerDurationHeader => 'Minutnik';
|
||||
@override String get playbackWillPauseAtEnd => 'Odtwarzanie zatrzyma się na końcu tego wideo';
|
||||
@override String get stillWatching => 'Nadal oglądasz?';
|
||||
@override String pausingIn({required Object seconds}) => 'Pauza za ${seconds}s';
|
||||
@override String get continueWatching => 'Kontynuuj';
|
||||
@@ -548,7 +584,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 +610,8 @@ 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 String zoomPercent({required Object percent}) => 'Zoom ${percent}%';
|
||||
@override late final _TranslationsVideoControlsPipErrorsPl pipErrors = _TranslationsVideoControlsPipErrorsPl._(_root);
|
||||
@override String get chapters => 'Rozdziały';
|
||||
@override String get noChaptersAvailable => 'Brak dostępnych rozdziałów';
|
||||
@@ -784,6 +822,8 @@ class _TranslationsConnectionsPl extends TranslationsConnectionsEn {
|
||||
@override String sessionExpiredOne({required Object name}) => 'Sesja wygasła dla ${name}';
|
||||
@override String sessionExpiredMany({required Object count}) => 'Sesja wygasła dla ${count} serwerów';
|
||||
@override String get signInAgain => 'Zaloguj się ponownie';
|
||||
@override String get editJellyfinTitle => 'Edytuj połączenie Jellyfin';
|
||||
@override String editJellyfinIntro({required Object serverName}) => 'Dodaj lub usuń adresy URL dla ${serverName}. Plezy użyje osiągalnego URL-a o najniższym opóźnieniu.';
|
||||
}
|
||||
|
||||
// Path: discover
|
||||
@@ -1274,8 +1314,8 @@ 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 zoom => 'Zoom';
|
||||
@override String get sleepTimer => 'Wyłącznik czasowy';
|
||||
@override String get audioSync => 'Synchronizacja audio';
|
||||
@override String get subtitleSync => 'Synchronizacja napisów';
|
||||
@@ -1475,8 +1515,12 @@ class _TranslationsAddServerPl extends TranslationsAddServerEn {
|
||||
// Translations
|
||||
@override String get addJellyfinTitle => 'Dodaj serwer Jellyfin';
|
||||
@override String get jellyfinUrlIntro => 'Wpisz URL serwera, np. `https://jellyfin.example.com`.';
|
||||
@override String get jellyfinUrlsIntro => 'Wpisz co najmniej jeden URL serwera, oddzielając je przecinkami lub nowymi wierszami. Plezy użyje osiągalnego URL-a o najniższym opóźnieniu.';
|
||||
@override String get serverUrl => 'URL serwera';
|
||||
@override String get serverUrls => 'URL-e serwera';
|
||||
@override String get findServer => 'Znajdź serwer';
|
||||
@override String get searchingLocalServers => 'Szukanie lokalnych serwerów Jellyfin...';
|
||||
@override String get localServers => 'Lokalne serwery Jellyfin';
|
||||
@override String get username => 'Nazwa użytkownika';
|
||||
@override String get password => 'Hasło';
|
||||
@override String get signIn => 'Zaloguj się';
|
||||
@@ -1531,10 +1575,14 @@ class _TranslationsHotkeysActionsPl extends TranslationsHotkeysActionsEn {
|
||||
@override String get speedIncrease => 'Zwiększ prędkość';
|
||||
@override String get speedDecrease => 'Zmniejsz prędkość';
|
||||
@override String get speedReset => 'Zresetuj prędkość';
|
||||
@override String get zoomIn => 'Powiększ';
|
||||
@override String get zoomOut => 'Pomniejsz';
|
||||
@override String get zoomReset => 'Zresetuj zoom';
|
||||
@override String get subSeekNext => 'Przewiń do następnego napisu';
|
||||
@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
|
||||
@@ -1593,6 +1641,7 @@ class _TranslationsLibrariesFilterCategoriesPl extends TranslationsLibrariesFilt
|
||||
@override String get year => 'Rok';
|
||||
@override String get contentRating => 'Klasyfikacja wiekowa';
|
||||
@override String get tag => 'Tag';
|
||||
@override String get unwatched => 'Nieobejrzane';
|
||||
}
|
||||
|
||||
// Path: libraries.sortLabels
|
||||
@@ -1606,8 +1655,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';
|
||||
@@ -1794,6 +1853,7 @@ extension on TranslationsPl {
|
||||
'common.yes' => 'Tak',
|
||||
'common.no' => 'Nie',
|
||||
'common.delete' => 'Usuń',
|
||||
'common.edit' => 'Edytuj',
|
||||
'common.shuffle' => 'Losowo',
|
||||
'common.addTo' => 'Dodaj do...',
|
||||
'common.createNew' => 'Utwórz nowy',
|
||||
@@ -1877,6 +1937,8 @@ extension on TranslationsPl {
|
||||
'settings.showEpisodeNumberOnCardsDescription' => 'Pokazuj numer sezonu i odcinka na kartach odcinków',
|
||||
'settings.showSeasonPostersOnTabs' => 'Pokaż plakaty sezonów na zakładkach',
|
||||
'settings.showSeasonPostersOnTabsDescription' => 'Pokazuj plakat każdego sezonu nad jego kartą',
|
||||
'settings.tvFullCardLayout' => 'Pełne karty TV',
|
||||
'settings.tvFullCardLayoutDescription' => 'Używaj kart TV tylko z obrazem i nałożonymi nazwiskami aktorów',
|
||||
'settings.hideSpoilers' => 'Ukryj spoilery nieobejrzanych odcinków',
|
||||
'settings.hideSpoilersDescription' => 'Rozmywaj miniatury i opisy nieobejrzanych odcinków',
|
||||
'settings.playerBackend' => 'Backend odtwarzacza',
|
||||
@@ -2000,12 +2062,20 @@ 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',
|
||||
'settings.forceTvModeDescription' => 'Wymuś układ TV. Dla urządzeń bez autodetekcji. Wymaga restartu.',
|
||||
'settings.startInFullscreen' => 'Uruchom na pełnym ekranie',
|
||||
'settings.startInFullscreenDescription' => 'Otwiera Plezy w trybie pełnoekranowym przy uruchomieniu',
|
||||
'settings.exitFullscreenOnPlayerClose' => 'Wyjdź z pełnego ekranu przy zamykaniu odtwarzacza',
|
||||
'settings.exitFullscreenOnPlayerCloseDescription' => 'Automatycznie wychodzi z trybu pełnoekranowego po zamknięciu odtwarzacza wideo',
|
||||
'settings.autoHidePerformanceOverlay' => 'Automatycznie ukrywaj nakładkę wydajności',
|
||||
'settings.autoHidePerformanceOverlayDescription' => 'Wygaszaj nakładkę wydajności wraz z kontrolkami odtwarzania',
|
||||
'settings.showNavBarLabels' => 'Pokaż etykiety paska nawigacji',
|
||||
@@ -2044,10 +2114,14 @@ extension on TranslationsPl {
|
||||
'hotkeys.actions.speedIncrease' => 'Zwiększ prędkość',
|
||||
'hotkeys.actions.speedDecrease' => 'Zmniejsz prędkość',
|
||||
'hotkeys.actions.speedReset' => 'Zresetuj prędkość',
|
||||
'hotkeys.actions.zoomIn' => 'Powiększ',
|
||||
'hotkeys.actions.zoomOut' => 'Pomniejsz',
|
||||
'hotkeys.actions.zoomReset' => 'Zresetuj zoom',
|
||||
'hotkeys.actions.subSeekNext' => 'Przewiń do następnego napisu',
|
||||
'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 +2162,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}',
|
||||
@@ -2115,6 +2200,10 @@ extension on TranslationsPl {
|
||||
'videoControls.unlockRotation' => 'Odblokuj obrót',
|
||||
'videoControls.timerActive' => 'Wyłącznik aktywny',
|
||||
'videoControls.playbackWillPauseIn' => ({required Object duration}) => 'Odtwarzanie zatrzyma się za ${duration}',
|
||||
'videoControls.sleepTimerEndOfVideo' => 'Koniec bieżącego wideo',
|
||||
'videoControls.sleepTimerStopAtHeader' => 'Zatrzymaj na',
|
||||
'videoControls.sleepTimerDurationHeader' => 'Minutnik',
|
||||
'videoControls.playbackWillPauseAtEnd' => 'Odtwarzanie zatrzyma się na końcu tego wideo',
|
||||
'videoControls.stillWatching' => 'Nadal oglądasz?',
|
||||
'videoControls.pausingIn' => ({required Object seconds}) => 'Pauza za ${seconds}s',
|
||||
'videoControls.continueWatching' => 'Kontynuuj',
|
||||
@@ -2130,7 +2219,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 +2245,8 @@ 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.zoomPercent' => ({required Object percent}) => 'Zoom ${percent}%',
|
||||
'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.',
|
||||
@@ -2242,6 +2333,8 @@ extension on TranslationsPl {
|
||||
'mpvConfig.presetSaved' => 'Preset zapisany',
|
||||
'mpvConfig.presetLoaded' => 'Preset załadowany',
|
||||
'mpvConfig.presetDeleted' => 'Preset usunięty',
|
||||
_ => null,
|
||||
} ?? switch (path) {
|
||||
'mpvConfig.confirmDeletePreset' => 'Czy na pewno chcesz usunąć ten preset?',
|
||||
'mpvConfig.configPlaceholder' => 'gpu-api=vulkan\nhwdec=auto\n# comment',
|
||||
'dialog.confirmAction' => 'Potwierdź działanie',
|
||||
@@ -2274,8 +2367,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',
|
||||
@@ -2311,6 +2402,8 @@ extension on TranslationsPl {
|
||||
'connections.sessionExpiredOne' => ({required Object name}) => 'Sesja wygasła dla ${name}',
|
||||
'connections.sessionExpiredMany' => ({required Object count}) => 'Sesja wygasła dla ${count} serwerów',
|
||||
'connections.signInAgain' => 'Zaloguj się ponownie',
|
||||
'connections.editJellyfinTitle' => 'Edytuj połączenie Jellyfin',
|
||||
'connections.editJellyfinIntro' => ({required Object serverName}) => 'Dodaj lub usuń adresy URL dla ${serverName}. Plezy użyje osiągalnego URL-a o najniższym opóźnieniu.',
|
||||
'discover.title' => 'Odkryj',
|
||||
'discover.switchProfile' => 'Zmień profil',
|
||||
'discover.noContentAvailable' => 'Brak dostępnych treści',
|
||||
@@ -2396,12 +2489,23 @@ extension on TranslationsPl {
|
||||
'libraries.filterCategories.year' => 'Rok',
|
||||
'libraries.filterCategories.contentRating' => 'Klasyfikacja wiekowa',
|
||||
'libraries.filterCategories.tag' => 'Tag',
|
||||
'libraries.filterCategories.unwatched' => 'Nieobejrzane',
|
||||
'libraries.sortLabels.title' => 'Tytuł',
|
||||
'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,8 +2823,8 @@ 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.zoom' => 'Zoom',
|
||||
'videoSettings.sleepTimer' => 'Wyłącznik czasowy',
|
||||
'videoSettings.audioSync' => 'Synchronizacja audio',
|
||||
'videoSettings.subtitleSync' => 'Synchronizacja napisów',
|
||||
@@ -2743,6 +2847,8 @@ extension on TranslationsPl {
|
||||
'externalPlayer.off' => 'Wyłączony',
|
||||
'externalPlayer.launchFailed' => 'Nie udało się otworzyć zewnętrznego odtwarzacza',
|
||||
'externalPlayer.appNotInstalled' => ({required Object name}) => '${name} nie jest zainstalowany',
|
||||
_ => null,
|
||||
} ?? switch (path) {
|
||||
'externalPlayer.playInExternalPlayer' => 'Odtwórz w zewnętrznym odtwarzaczu',
|
||||
'metadataEdit.editMetadata' => 'Edytuj...',
|
||||
'metadataEdit.screenTitle' => 'Edytuj metadane',
|
||||
@@ -2788,8 +2894,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',
|
||||
@@ -2879,8 +2983,12 @@ extension on TranslationsPl {
|
||||
'trackers.libraryFilter.noLibraries' => 'Brak dostępnych bibliotek',
|
||||
'addServer.addJellyfinTitle' => 'Dodaj serwer Jellyfin',
|
||||
'addServer.jellyfinUrlIntro' => 'Wpisz URL serwera, np. `https://jellyfin.example.com`.',
|
||||
'addServer.jellyfinUrlsIntro' => 'Wpisz co najmniej jeden URL serwera, oddzielając je przecinkami lub nowymi wierszami. Plezy użyje osiągalnego URL-a o najniższym opóźnieniu.',
|
||||
'addServer.serverUrl' => 'URL serwera',
|
||||
'addServer.serverUrls' => 'URL-e serwera',
|
||||
'addServer.findServer' => 'Znajdź serwer',
|
||||
'addServer.searchingLocalServers' => 'Szukanie lokalnych serwerów Jellyfin...',
|
||||
'addServer.localServers' => 'Lokalne serwery Jellyfin',
|
||||
'addServer.username' => 'Nazwa użytkownika',
|
||||
'addServer.password' => 'Hasło',
|
||||
'addServer.signIn' => 'Zaloguj się',
|
||||
|
||||
@@ -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);
|
||||
@@ -142,6 +143,7 @@ class _TranslationsCommonPt extends TranslationsCommonEn {
|
||||
@override String get yes => 'Sim';
|
||||
@override String get no => 'Não';
|
||||
@override String get delete => 'Excluir';
|
||||
@override String get edit => 'Editar';
|
||||
@override String get shuffle => 'Aleatório';
|
||||
@override String get addTo => 'Adicionar a...';
|
||||
@override String get createNew => 'Criar novo';
|
||||
@@ -252,6 +254,8 @@ class _TranslationsSettingsPt extends TranslationsSettingsEn {
|
||||
@override String get showEpisodeNumberOnCardsDescription => 'Mostrar temporada e episódio nos cartões de episódio';
|
||||
@override String get showSeasonPostersOnTabs => 'Mostrar Pôsteres de Temporada nas Abas';
|
||||
@override String get showSeasonPostersOnTabsDescription => 'Mostrar o pôster de cada temporada acima da aba';
|
||||
@override String get tvFullCardLayout => 'Cartões TV completos';
|
||||
@override String get tvFullCardLayoutDescription => 'Usar cartões de TV só com imagem e nomes dos atores sobrepostos';
|
||||
@override String get hideSpoilers => 'Ocultar Spoilers de Episódios Não Assistidos';
|
||||
@override String get hideSpoilersDescription => 'Desfocar miniaturas e descrições de episódios não vistos';
|
||||
@override String get playerBackend => 'Backend do Player';
|
||||
@@ -375,12 +379,20 @@ 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';
|
||||
@override String get forceTvModeDescription => 'Forçar layout TV. Para dispositivos sem detecção automática. Requer reinício.';
|
||||
@override String get startInFullscreen => 'Iniciar em tela cheia';
|
||||
@override String get startInFullscreenDescription => 'Abrir o Plezy em modo de tela cheia ao iniciar';
|
||||
@override String get exitFullscreenOnPlayerClose => 'Sair do ecrã inteiro ao fechar o leitor';
|
||||
@override String get exitFullscreenOnPlayerCloseDescription => 'Sair automaticamente do modo de ecrã inteiro ao fechar o leitor de vídeo';
|
||||
@override String get autoHidePerformanceOverlay => 'Ocultar overlay de desempenho automaticamente';
|
||||
@override String get autoHidePerformanceOverlayDescription => 'Desvanecer o overlay de desempenho com os controles de reprodução';
|
||||
@override String get showNavBarLabels => 'Mostrar Rótulos da Barra de Navegação';
|
||||
@@ -481,6 +493,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);
|
||||
@@ -533,6 +565,10 @@ class _TranslationsVideoControlsPt extends TranslationsVideoControlsEn {
|
||||
@override String get unlockRotation => 'Destravar rotação';
|
||||
@override String get timerActive => 'Timer Ativo';
|
||||
@override String playbackWillPauseIn({required Object duration}) => 'A reprodução pausará em ${duration}';
|
||||
@override String get sleepTimerEndOfVideo => 'Fim do vídeo atual';
|
||||
@override String get sleepTimerStopAtHeader => 'Parar em';
|
||||
@override String get sleepTimerDurationHeader => 'Timer';
|
||||
@override String get playbackWillPauseAtEnd => 'A reprodução pausará no final deste vídeo';
|
||||
@override String get stillWatching => 'Ainda assistindo?';
|
||||
@override String pausingIn({required Object seconds}) => 'Pausando em ${seconds}s';
|
||||
@override String get continueWatching => 'Continuar';
|
||||
@@ -548,7 +584,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 +610,8 @@ 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 String zoomPercent({required Object percent}) => 'Zoom ${percent}%';
|
||||
@override late final _TranslationsVideoControlsPipErrorsPt pipErrors = _TranslationsVideoControlsPipErrorsPt._(_root);
|
||||
@override String get chapters => 'Capítulos';
|
||||
@override String get noChaptersAvailable => 'Nenhum capítulo disponível';
|
||||
@@ -784,6 +822,8 @@ class _TranslationsConnectionsPt extends TranslationsConnectionsEn {
|
||||
@override String sessionExpiredOne({required Object name}) => 'Sessão expirada para ${name}';
|
||||
@override String sessionExpiredMany({required Object count}) => 'Sessão expirada para ${count} servidores';
|
||||
@override String get signInAgain => 'Entrar novamente';
|
||||
@override String get editJellyfinTitle => 'Editar conexão Jellyfin';
|
||||
@override String editJellyfinIntro({required Object serverName}) => 'Adicione ou remova URLs de ${serverName}. O Plezy usará a URL acessível com a menor latência.';
|
||||
}
|
||||
|
||||
// Path: discover
|
||||
@@ -1274,8 +1314,8 @@ 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 zoom => 'Zoom';
|
||||
@override String get sleepTimer => 'Timer de Sono';
|
||||
@override String get audioSync => 'Sincronia de Áudio';
|
||||
@override String get subtitleSync => 'Sincronia de Legendas';
|
||||
@@ -1475,8 +1515,12 @@ class _TranslationsAddServerPt extends TranslationsAddServerEn {
|
||||
// Translations
|
||||
@override String get addJellyfinTitle => 'Adicionar servidor Jellyfin';
|
||||
@override String get jellyfinUrlIntro => 'Insira a URL do servidor, ex. `https://jellyfin.example.com`.';
|
||||
@override String get jellyfinUrlsIntro => 'Insira uma ou mais URLs do servidor, separadas por vírgulas ou novas linhas. O Plezy usará a URL acessível com a menor latência.';
|
||||
@override String get serverUrl => 'URL do servidor';
|
||||
@override String get serverUrls => 'URLs do servidor';
|
||||
@override String get findServer => 'Encontrar servidor';
|
||||
@override String get searchingLocalServers => 'A procurar servidores Jellyfin locais...';
|
||||
@override String get localServers => 'Servidores Jellyfin locais';
|
||||
@override String get username => 'Usuário';
|
||||
@override String get password => 'Senha';
|
||||
@override String get signIn => 'Entrar';
|
||||
@@ -1531,10 +1575,14 @@ class _TranslationsHotkeysActionsPt extends TranslationsHotkeysActionsEn {
|
||||
@override String get speedIncrease => 'Aumentar Velocidade';
|
||||
@override String get speedDecrease => 'Diminuir Velocidade';
|
||||
@override String get speedReset => 'Redefinir Velocidade';
|
||||
@override String get zoomIn => 'Aumentar zoom';
|
||||
@override String get zoomOut => 'Diminuir zoom';
|
||||
@override String get zoomReset => 'Redefinir zoom';
|
||||
@override String get subSeekNext => 'Ir para Próxima Legenda';
|
||||
@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
|
||||
@@ -1593,6 +1641,7 @@ class _TranslationsLibrariesFilterCategoriesPt extends TranslationsLibrariesFilt
|
||||
@override String get year => 'Ano';
|
||||
@override String get contentRating => 'Classificação';
|
||||
@override String get tag => 'Tag';
|
||||
@override String get unwatched => 'Não assistidos';
|
||||
}
|
||||
|
||||
// Path: libraries.sortLabels
|
||||
@@ -1606,8 +1655,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';
|
||||
@@ -1794,6 +1853,7 @@ extension on TranslationsPt {
|
||||
'common.yes' => 'Sim',
|
||||
'common.no' => 'Não',
|
||||
'common.delete' => 'Excluir',
|
||||
'common.edit' => 'Editar',
|
||||
'common.shuffle' => 'Aleatório',
|
||||
'common.addTo' => 'Adicionar a...',
|
||||
'common.createNew' => 'Criar novo',
|
||||
@@ -1877,6 +1937,8 @@ extension on TranslationsPt {
|
||||
'settings.showEpisodeNumberOnCardsDescription' => 'Mostrar temporada e episódio nos cartões de episódio',
|
||||
'settings.showSeasonPostersOnTabs' => 'Mostrar Pôsteres de Temporada nas Abas',
|
||||
'settings.showSeasonPostersOnTabsDescription' => 'Mostrar o pôster de cada temporada acima da aba',
|
||||
'settings.tvFullCardLayout' => 'Cartões TV completos',
|
||||
'settings.tvFullCardLayoutDescription' => 'Usar cartões de TV só com imagem e nomes dos atores sobrepostos',
|
||||
'settings.hideSpoilers' => 'Ocultar Spoilers de Episódios Não Assistidos',
|
||||
'settings.hideSpoilersDescription' => 'Desfocar miniaturas e descrições de episódios não vistos',
|
||||
'settings.playerBackend' => 'Backend do Player',
|
||||
@@ -2000,12 +2062,20 @@ 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',
|
||||
'settings.forceTvModeDescription' => 'Forçar layout TV. Para dispositivos sem detecção automática. Requer reinício.',
|
||||
'settings.startInFullscreen' => 'Iniciar em tela cheia',
|
||||
'settings.startInFullscreenDescription' => 'Abrir o Plezy em modo de tela cheia ao iniciar',
|
||||
'settings.exitFullscreenOnPlayerClose' => 'Sair do ecrã inteiro ao fechar o leitor',
|
||||
'settings.exitFullscreenOnPlayerCloseDescription' => 'Sair automaticamente do modo de ecrã inteiro ao fechar o leitor de vídeo',
|
||||
'settings.autoHidePerformanceOverlay' => 'Ocultar overlay de desempenho automaticamente',
|
||||
'settings.autoHidePerformanceOverlayDescription' => 'Desvanecer o overlay de desempenho com os controles de reprodução',
|
||||
'settings.showNavBarLabels' => 'Mostrar Rótulos da Barra de Navegação',
|
||||
@@ -2044,10 +2114,14 @@ extension on TranslationsPt {
|
||||
'hotkeys.actions.speedIncrease' => 'Aumentar Velocidade',
|
||||
'hotkeys.actions.speedDecrease' => 'Diminuir Velocidade',
|
||||
'hotkeys.actions.speedReset' => 'Redefinir Velocidade',
|
||||
'hotkeys.actions.zoomIn' => 'Aumentar zoom',
|
||||
'hotkeys.actions.zoomOut' => 'Diminuir zoom',
|
||||
'hotkeys.actions.zoomReset' => 'Redefinir zoom',
|
||||
'hotkeys.actions.subSeekNext' => 'Ir para Próxima Legenda',
|
||||
'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 +2162,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}',
|
||||
@@ -2115,6 +2200,10 @@ extension on TranslationsPt {
|
||||
'videoControls.unlockRotation' => 'Destravar rotação',
|
||||
'videoControls.timerActive' => 'Timer Ativo',
|
||||
'videoControls.playbackWillPauseIn' => ({required Object duration}) => 'A reprodução pausará em ${duration}',
|
||||
'videoControls.sleepTimerEndOfVideo' => 'Fim do vídeo atual',
|
||||
'videoControls.sleepTimerStopAtHeader' => 'Parar em',
|
||||
'videoControls.sleepTimerDurationHeader' => 'Timer',
|
||||
'videoControls.playbackWillPauseAtEnd' => 'A reprodução pausará no final deste vídeo',
|
||||
'videoControls.stillWatching' => 'Ainda assistindo?',
|
||||
'videoControls.pausingIn' => ({required Object seconds}) => 'Pausando em ${seconds}s',
|
||||
'videoControls.continueWatching' => 'Continuar',
|
||||
@@ -2130,7 +2219,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 +2245,8 @@ 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.zoomPercent' => ({required Object percent}) => 'Zoom ${percent}%',
|
||||
'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.',
|
||||
@@ -2242,6 +2333,8 @@ extension on TranslationsPt {
|
||||
'mpvConfig.presetSaved' => 'Predefinição salva',
|
||||
'mpvConfig.presetLoaded' => 'Predefinição carregada',
|
||||
'mpvConfig.presetDeleted' => 'Predefinição excluída',
|
||||
_ => null,
|
||||
} ?? switch (path) {
|
||||
'mpvConfig.confirmDeletePreset' => 'Tem certeza que deseja excluir esta predefinição?',
|
||||
'mpvConfig.configPlaceholder' => 'gpu-api=vulkan\nhwdec=auto\n# comment',
|
||||
'dialog.confirmAction' => 'Confirmar Ação',
|
||||
@@ -2274,8 +2367,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',
|
||||
@@ -2311,6 +2402,8 @@ extension on TranslationsPt {
|
||||
'connections.sessionExpiredOne' => ({required Object name}) => 'Sessão expirada para ${name}',
|
||||
'connections.sessionExpiredMany' => ({required Object count}) => 'Sessão expirada para ${count} servidores',
|
||||
'connections.signInAgain' => 'Entrar novamente',
|
||||
'connections.editJellyfinTitle' => 'Editar conexão Jellyfin',
|
||||
'connections.editJellyfinIntro' => ({required Object serverName}) => 'Adicione ou remova URLs de ${serverName}. O Plezy usará a URL acessível com a menor latência.',
|
||||
'discover.title' => 'Descobrir',
|
||||
'discover.switchProfile' => 'Trocar Perfil',
|
||||
'discover.noContentAvailable' => 'Nenhum conteúdo disponível',
|
||||
@@ -2396,12 +2489,23 @@ extension on TranslationsPt {
|
||||
'libraries.filterCategories.year' => 'Ano',
|
||||
'libraries.filterCategories.contentRating' => 'Classificação',
|
||||
'libraries.filterCategories.tag' => 'Tag',
|
||||
'libraries.filterCategories.unwatched' => 'Não assistidos',
|
||||
'libraries.sortLabels.title' => 'Título',
|
||||
'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,8 +2823,8 @@ 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.zoom' => 'Zoom',
|
||||
'videoSettings.sleepTimer' => 'Timer de Sono',
|
||||
'videoSettings.audioSync' => 'Sincronia de Áudio',
|
||||
'videoSettings.subtitleSync' => 'Sincronia de Legendas',
|
||||
@@ -2743,6 +2847,8 @@ extension on TranslationsPt {
|
||||
'externalPlayer.off' => 'Desativado',
|
||||
'externalPlayer.launchFailed' => 'Falha ao abrir player externo',
|
||||
'externalPlayer.appNotInstalled' => ({required Object name}) => '${name} não está instalado',
|
||||
_ => null,
|
||||
} ?? switch (path) {
|
||||
'externalPlayer.playInExternalPlayer' => 'Reproduzir no Player Externo',
|
||||
'metadataEdit.editMetadata' => 'Editar...',
|
||||
'metadataEdit.screenTitle' => 'Editar Metadados',
|
||||
@@ -2788,8 +2894,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',
|
||||
@@ -2879,8 +2983,12 @@ extension on TranslationsPt {
|
||||
'trackers.libraryFilter.noLibraries' => 'Nenhuma biblioteca disponível',
|
||||
'addServer.addJellyfinTitle' => 'Adicionar servidor Jellyfin',
|
||||
'addServer.jellyfinUrlIntro' => 'Insira a URL do servidor, ex. `https://jellyfin.example.com`.',
|
||||
'addServer.jellyfinUrlsIntro' => 'Insira uma ou mais URLs do servidor, separadas por vírgulas ou novas linhas. O Plezy usará a URL acessível com a menor latência.',
|
||||
'addServer.serverUrl' => 'URL do servidor',
|
||||
'addServer.serverUrls' => 'URLs do servidor',
|
||||
'addServer.findServer' => 'Encontrar servidor',
|
||||
'addServer.searchingLocalServers' => 'A procurar servidores Jellyfin locais...',
|
||||
'addServer.localServers' => 'Servidores Jellyfin locais',
|
||||
'addServer.username' => 'Usuário',
|
||||
'addServer.password' => 'Senha',
|
||||
'addServer.signIn' => 'Entrar',
|
||||
|
||||
@@ -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);
|
||||
@@ -142,6 +143,7 @@ class _TranslationsCommonRu extends TranslationsCommonEn {
|
||||
@override String get yes => 'Да';
|
||||
@override String get no => 'Нет';
|
||||
@override String get delete => 'Удалить';
|
||||
@override String get edit => 'Редактировать';
|
||||
@override String get shuffle => 'Перемешать';
|
||||
@override String get addTo => 'Добавить в...';
|
||||
@override String get createNew => 'Создать новый';
|
||||
@@ -252,6 +254,8 @@ class _TranslationsSettingsRu extends TranslationsSettingsEn {
|
||||
@override String get showEpisodeNumberOnCardsDescription => 'Показывать номер сезона и серии на карточках серий';
|
||||
@override String get showSeasonPostersOnTabs => 'Показывать постеры сезонов на вкладках';
|
||||
@override String get showSeasonPostersOnTabsDescription => 'Показывать постер каждого сезона над его вкладкой';
|
||||
@override String get tvFullCardLayout => 'Полные TV-карточки';
|
||||
@override String get tvFullCardLayoutDescription => 'Использовать TV-карточки только с изображением и именами актёров поверх него';
|
||||
@override String get hideSpoilers => 'Скрыть спойлеры непросмотренных эпизодов';
|
||||
@override String get hideSpoilersDescription => 'Размывать миниатюры и описания непросмотренных серий';
|
||||
@override String get playerBackend => 'Бэкенд плеера';
|
||||
@@ -375,12 +379,20 @@ 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 => 'Принудительный режим ТВ';
|
||||
@override String get forceTvModeDescription => 'Принудительно включить ТВ-интерфейс. Для устройств без автоопределения. Требуется перезапуск.';
|
||||
@override String get startInFullscreen => 'Запускать в полноэкранном режиме';
|
||||
@override String get startInFullscreenDescription => 'Открывать Plezy в полноэкранном режиме при запуске';
|
||||
@override String get exitFullscreenOnPlayerClose => 'Выходить из полноэкранного режима при закрытии плеера';
|
||||
@override String get exitFullscreenOnPlayerCloseDescription => 'Автоматически выходить из полноэкранного режима при закрытии видеоплеера';
|
||||
@override String get autoHidePerformanceOverlay => 'Автоскрытие оверлея производительности';
|
||||
@override String get autoHidePerformanceOverlayDescription => 'Скрывать оверлей производительности вместе с элементами управления воспроизведением';
|
||||
@override String get showNavBarLabels => 'Показывать подписи панели навигации';
|
||||
@@ -481,6 +493,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);
|
||||
@@ -533,6 +565,10 @@ class _TranslationsVideoControlsRu extends TranslationsVideoControlsEn {
|
||||
@override String get unlockRotation => 'Разблокировать поворот';
|
||||
@override String get timerActive => 'Таймер активен';
|
||||
@override String playbackWillPauseIn({required Object duration}) => 'Воспроизведение будет приостановлено через ${duration}';
|
||||
@override String get sleepTimerEndOfVideo => 'Конец текущего видео';
|
||||
@override String get sleepTimerStopAtHeader => 'Остановить на';
|
||||
@override String get sleepTimerDurationHeader => 'Таймер';
|
||||
@override String get playbackWillPauseAtEnd => 'Воспроизведение будет приостановлено в конце этого видео';
|
||||
@override String get stillWatching => 'Всё ещё смотрите?';
|
||||
@override String pausingIn({required Object seconds}) => 'Пауза через ${seconds}с';
|
||||
@override String get continueWatching => 'Продолжить';
|
||||
@@ -548,7 +584,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 +610,8 @@ class _TranslationsVideoControlsRu extends TranslationsVideoControlsEn {
|
||||
@override String endsAt({required Object time}) => 'Закончится в ${time}';
|
||||
@override String get pipActive => 'Воспроизводится в режиме «картинка в картинке»';
|
||||
@override String get pipFailed => 'Не удалось запустить режим «картинка в картинке»';
|
||||
@override String get screenshotSaved => 'Снимок экрана сохранён';
|
||||
@override String zoomPercent({required Object percent}) => 'Масштаб ${percent}%';
|
||||
@override late final _TranslationsVideoControlsPipErrorsRu pipErrors = _TranslationsVideoControlsPipErrorsRu._(_root);
|
||||
@override String get chapters => 'Главы';
|
||||
@override String get noChaptersAvailable => 'Главы недоступны';
|
||||
@@ -784,6 +822,8 @@ class _TranslationsConnectionsRu extends TranslationsConnectionsEn {
|
||||
@override String sessionExpiredOne({required Object name}) => 'Сессия истекла для ${name}';
|
||||
@override String sessionExpiredMany({required Object count}) => 'Сессия истекла для ${count} серверов';
|
||||
@override String get signInAgain => 'Войти снова';
|
||||
@override String get editJellyfinTitle => 'Изменить подключение Jellyfin';
|
||||
@override String editJellyfinIntro({required Object serverName}) => 'Добавьте или удалите URL для ${serverName}. Plezy будет использовать доступный URL с минимальной задержкой.';
|
||||
}
|
||||
|
||||
// Path: discover
|
||||
@@ -1274,8 +1314,8 @@ class _TranslationsVideoSettingsRu extends TranslationsVideoSettingsEn {
|
||||
final TranslationsRu _root; // ignore: unused_field
|
||||
|
||||
// Translations
|
||||
@override String get playbackSettings => 'Настройки воспроизведения';
|
||||
@override String get playbackSpeed => 'Скорость воспроизведения';
|
||||
@override String get zoom => 'Масштаб';
|
||||
@override String get sleepTimer => 'Таймер сна';
|
||||
@override String get audioSync => 'Синхронизация аудио';
|
||||
@override String get subtitleSync => 'Синхронизация субтитров';
|
||||
@@ -1475,8 +1515,12 @@ class _TranslationsAddServerRu extends TranslationsAddServerEn {
|
||||
// Translations
|
||||
@override String get addJellyfinTitle => 'Добавить сервер Jellyfin';
|
||||
@override String get jellyfinUrlIntro => 'Введите URL сервера, например `https://jellyfin.example.com`.';
|
||||
@override String get jellyfinUrlsIntro => 'Введите один или несколько URL сервера, разделяя их запятыми или новыми строками. Plezy будет использовать доступный URL с минимальной задержкой.';
|
||||
@override String get serverUrl => 'URL сервера';
|
||||
@override String get serverUrls => 'URL сервера';
|
||||
@override String get findServer => 'Найти сервер';
|
||||
@override String get searchingLocalServers => 'Поиск локальных серверов Jellyfin...';
|
||||
@override String get localServers => 'Локальные серверы Jellyfin';
|
||||
@override String get username => 'Имя пользователя';
|
||||
@override String get password => 'Пароль';
|
||||
@override String get signIn => 'Войти';
|
||||
@@ -1531,10 +1575,14 @@ class _TranslationsHotkeysActionsRu extends TranslationsHotkeysActionsEn {
|
||||
@override String get speedIncrease => 'Увеличить скорость';
|
||||
@override String get speedDecrease => 'Уменьшить скорость';
|
||||
@override String get speedReset => 'Сбросить скорость';
|
||||
@override String get zoomIn => 'Увеличить масштаб';
|
||||
@override String get zoomOut => 'Уменьшить масштаб';
|
||||
@override String get zoomReset => 'Сбросить масштаб';
|
||||
@override String get subSeekNext => 'К следующему субтитру';
|
||||
@override String get subSeekPrev => 'К предыдущему субтитру';
|
||||
@override String get shaderToggle => 'Вкл./выкл. шейдеры';
|
||||
@override String get skipMarker => 'Пропустить вступление/титры';
|
||||
@override String get screenshot => 'Сделать снимок экрана';
|
||||
}
|
||||
|
||||
// Path: videoControls.pipErrors
|
||||
@@ -1593,6 +1641,7 @@ class _TranslationsLibrariesFilterCategoriesRu extends TranslationsLibrariesFilt
|
||||
@override String get year => 'Год';
|
||||
@override String get contentRating => 'Возрастной рейтинг';
|
||||
@override String get tag => 'Тег';
|
||||
@override String get unwatched => 'Непросмотренные';
|
||||
}
|
||||
|
||||
// Path: libraries.sortLabels
|
||||
@@ -1606,8 +1655,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 => 'Дата выхода последнего эпизода';
|
||||
@@ -1794,6 +1853,7 @@ extension on TranslationsRu {
|
||||
'common.yes' => 'Да',
|
||||
'common.no' => 'Нет',
|
||||
'common.delete' => 'Удалить',
|
||||
'common.edit' => 'Редактировать',
|
||||
'common.shuffle' => 'Перемешать',
|
||||
'common.addTo' => 'Добавить в...',
|
||||
'common.createNew' => 'Создать новый',
|
||||
@@ -1877,6 +1937,8 @@ extension on TranslationsRu {
|
||||
'settings.showEpisodeNumberOnCardsDescription' => 'Показывать номер сезона и серии на карточках серий',
|
||||
'settings.showSeasonPostersOnTabs' => 'Показывать постеры сезонов на вкладках',
|
||||
'settings.showSeasonPostersOnTabsDescription' => 'Показывать постер каждого сезона над его вкладкой',
|
||||
'settings.tvFullCardLayout' => 'Полные TV-карточки',
|
||||
'settings.tvFullCardLayoutDescription' => 'Использовать TV-карточки только с изображением и именами актёров поверх него',
|
||||
'settings.hideSpoilers' => 'Скрыть спойлеры непросмотренных эпизодов',
|
||||
'settings.hideSpoilersDescription' => 'Размывать миниатюры и описания непросмотренных серий',
|
||||
'settings.playerBackend' => 'Бэкенд плеера',
|
||||
@@ -2000,12 +2062,20 @@ 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' => 'Принудительный режим ТВ',
|
||||
'settings.forceTvModeDescription' => 'Принудительно включить ТВ-интерфейс. Для устройств без автоопределения. Требуется перезапуск.',
|
||||
'settings.startInFullscreen' => 'Запускать в полноэкранном режиме',
|
||||
'settings.startInFullscreenDescription' => 'Открывать Plezy в полноэкранном режиме при запуске',
|
||||
'settings.exitFullscreenOnPlayerClose' => 'Выходить из полноэкранного режима при закрытии плеера',
|
||||
'settings.exitFullscreenOnPlayerCloseDescription' => 'Автоматически выходить из полноэкранного режима при закрытии видеоплеера',
|
||||
'settings.autoHidePerformanceOverlay' => 'Автоскрытие оверлея производительности',
|
||||
'settings.autoHidePerformanceOverlayDescription' => 'Скрывать оверлей производительности вместе с элементами управления воспроизведением',
|
||||
'settings.showNavBarLabels' => 'Показывать подписи панели навигации',
|
||||
@@ -2044,10 +2114,14 @@ extension on TranslationsRu {
|
||||
'hotkeys.actions.speedIncrease' => 'Увеличить скорость',
|
||||
'hotkeys.actions.speedDecrease' => 'Уменьшить скорость',
|
||||
'hotkeys.actions.speedReset' => 'Сбросить скорость',
|
||||
'hotkeys.actions.zoomIn' => 'Увеличить масштаб',
|
||||
'hotkeys.actions.zoomOut' => 'Уменьшить масштаб',
|
||||
'hotkeys.actions.zoomReset' => 'Сбросить масштаб',
|
||||
'hotkeys.actions.subSeekNext' => 'К следующему субтитру',
|
||||
'hotkeys.actions.subSeekPrev' => 'К предыдущему субтитру',
|
||||
'hotkeys.actions.shaderToggle' => 'Вкл./выкл. шейдеры',
|
||||
'hotkeys.actions.skipMarker' => 'Пропустить вступление/титры',
|
||||
'hotkeys.actions.screenshot' => 'Сделать снимок экрана',
|
||||
'fileInfo.title' => 'Информация о файле',
|
||||
'fileInfo.video' => 'Видео',
|
||||
'fileInfo.audio' => 'Аудио',
|
||||
@@ -2088,6 +2162,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}',
|
||||
@@ -2115,6 +2200,10 @@ extension on TranslationsRu {
|
||||
'videoControls.unlockRotation' => 'Разблокировать поворот',
|
||||
'videoControls.timerActive' => 'Таймер активен',
|
||||
'videoControls.playbackWillPauseIn' => ({required Object duration}) => 'Воспроизведение будет приостановлено через ${duration}',
|
||||
'videoControls.sleepTimerEndOfVideo' => 'Конец текущего видео',
|
||||
'videoControls.sleepTimerStopAtHeader' => 'Остановить на',
|
||||
'videoControls.sleepTimerDurationHeader' => 'Таймер',
|
||||
'videoControls.playbackWillPauseAtEnd' => 'Воспроизведение будет приостановлено в конце этого видео',
|
||||
'videoControls.stillWatching' => 'Всё ещё смотрите?',
|
||||
'videoControls.pausingIn' => ({required Object seconds}) => 'Пауза через ${seconds}с',
|
||||
'videoControls.continueWatching' => 'Продолжить',
|
||||
@@ -2130,7 +2219,7 @@ extension on TranslationsRu {
|
||||
'videoControls.nextChapterButton' => 'Следующая глава',
|
||||
'videoControls.muteButton' => 'Без звука',
|
||||
'videoControls.unmuteButton' => 'Включить звук',
|
||||
'videoControls.settingsButton' => 'Настройки видео',
|
||||
'videoControls.settingsButton' => 'Настройки воспроизведения',
|
||||
'videoControls.tracksButton' => 'Аудио и субтитры',
|
||||
'videoControls.chaptersButton' => 'Главы',
|
||||
'videoControls.versionsButton' => 'Версии видео',
|
||||
@@ -2156,6 +2245,8 @@ extension on TranslationsRu {
|
||||
'videoControls.endsAt' => ({required Object time}) => 'Закончится в ${time}',
|
||||
'videoControls.pipActive' => 'Воспроизводится в режиме «картинка в картинке»',
|
||||
'videoControls.pipFailed' => 'Не удалось запустить режим «картинка в картинке»',
|
||||
'videoControls.screenshotSaved' => 'Снимок экрана сохранён',
|
||||
'videoControls.zoomPercent' => ({required Object percent}) => 'Масштаб ${percent}%',
|
||||
'videoControls.pipErrors.androidVersion' => 'Требуется Android 8.0 или новее',
|
||||
'videoControls.pipErrors.iosVersion' => 'Требуется iOS 15.0 или новее',
|
||||
'videoControls.pipErrors.permissionDisabled' => 'Картинка-в-картинке отключена. Включите ее в системных настройках.',
|
||||
@@ -2242,6 +2333,8 @@ extension on TranslationsRu {
|
||||
'mpvConfig.presetSaved' => 'Пресет сохранён',
|
||||
'mpvConfig.presetLoaded' => 'Пресет загружен',
|
||||
'mpvConfig.presetDeleted' => 'Пресет удалён',
|
||||
_ => null,
|
||||
} ?? switch (path) {
|
||||
'mpvConfig.confirmDeletePreset' => 'Вы уверены, что хотите удалить этот пресет?',
|
||||
'mpvConfig.configPlaceholder' => 'gpu-api=vulkan\nhwdec=auto\n# comment',
|
||||
'dialog.confirmAction' => 'Подтвердить действие',
|
||||
@@ -2274,8 +2367,6 @@ extension on TranslationsRu {
|
||||
'profiles.confirmPinTitle' => 'Подтвердить PIN',
|
||||
'profiles.pinSet' => 'PIN установлен',
|
||||
'profiles.changePin' => 'Изменить',
|
||||
_ => null,
|
||||
} ?? switch (path) {
|
||||
'profiles.removePin' => 'Удалить',
|
||||
'profiles.connectionsLabel' => 'Соединения',
|
||||
'profiles.add' => 'Добавить',
|
||||
@@ -2311,6 +2402,8 @@ extension on TranslationsRu {
|
||||
'connections.sessionExpiredOne' => ({required Object name}) => 'Сессия истекла для ${name}',
|
||||
'connections.sessionExpiredMany' => ({required Object count}) => 'Сессия истекла для ${count} серверов',
|
||||
'connections.signInAgain' => 'Войти снова',
|
||||
'connections.editJellyfinTitle' => 'Изменить подключение Jellyfin',
|
||||
'connections.editJellyfinIntro' => ({required Object serverName}) => 'Добавьте или удалите URL для ${serverName}. Plezy будет использовать доступный URL с минимальной задержкой.',
|
||||
'discover.title' => 'Обзор',
|
||||
'discover.switchProfile' => 'Сменить профиль',
|
||||
'discover.noContentAvailable' => 'Контент недоступен',
|
||||
@@ -2396,12 +2489,23 @@ extension on TranslationsRu {
|
||||
'libraries.filterCategories.year' => 'Год',
|
||||
'libraries.filterCategories.contentRating' => 'Возрастной рейтинг',
|
||||
'libraries.filterCategories.tag' => 'Тег',
|
||||
'libraries.filterCategories.unwatched' => 'Непросмотренные',
|
||||
'libraries.sortLabels.title' => 'Название',
|
||||
'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,8 +2823,8 @@ extension on TranslationsRu {
|
||||
'companionRemote.remote.subtitles' => 'Субтитры',
|
||||
'companionRemote.remote.audio' => 'Аудио',
|
||||
'companionRemote.remote.searchHint' => 'Поиск на десктопе...',
|
||||
'videoSettings.playbackSettings' => 'Настройки воспроизведения',
|
||||
'videoSettings.playbackSpeed' => 'Скорость воспроизведения',
|
||||
'videoSettings.zoom' => 'Масштаб',
|
||||
'videoSettings.sleepTimer' => 'Таймер сна',
|
||||
'videoSettings.audioSync' => 'Синхронизация аудио',
|
||||
'videoSettings.subtitleSync' => 'Синхронизация субтитров',
|
||||
@@ -2743,6 +2847,8 @@ extension on TranslationsRu {
|
||||
'externalPlayer.off' => 'Выкл.',
|
||||
'externalPlayer.launchFailed' => 'Не удалось открыть внешний плеер',
|
||||
'externalPlayer.appNotInstalled' => ({required Object name}) => '${name} не установлен',
|
||||
_ => null,
|
||||
} ?? switch (path) {
|
||||
'externalPlayer.playInExternalPlayer' => 'Воспроизвести во внешнем плеере',
|
||||
'metadataEdit.editMetadata' => 'Редактировать...',
|
||||
'metadataEdit.screenTitle' => 'Редактировать метаданные',
|
||||
@@ -2788,8 +2894,6 @@ extension on TranslationsRu {
|
||||
'metadataEdit.episodesAddedPastDays' => ({required Object count}) => 'Эпизоды, добавленные за последние ${count} дней',
|
||||
'metadataEdit.deleteAfterPlaying' => 'Удалять эпизоды после просмотра',
|
||||
'metadataEdit.never' => 'Никогда',
|
||||
_ => null,
|
||||
} ?? switch (path) {
|
||||
'metadataEdit.afterADay' => 'Через день',
|
||||
'metadataEdit.afterAWeek' => 'Через неделю',
|
||||
'metadataEdit.afterAMonth' => 'Через месяц',
|
||||
@@ -2879,8 +2983,12 @@ extension on TranslationsRu {
|
||||
'trackers.libraryFilter.noLibraries' => 'Библиотеки недоступны',
|
||||
'addServer.addJellyfinTitle' => 'Добавить сервер Jellyfin',
|
||||
'addServer.jellyfinUrlIntro' => 'Введите URL сервера, например `https://jellyfin.example.com`.',
|
||||
'addServer.jellyfinUrlsIntro' => 'Введите один или несколько URL сервера, разделяя их запятыми или новыми строками. Plezy будет использовать доступный URL с минимальной задержкой.',
|
||||
'addServer.serverUrl' => 'URL сервера',
|
||||
'addServer.serverUrls' => 'URL сервера',
|
||||
'addServer.findServer' => 'Найти сервер',
|
||||
'addServer.searchingLocalServers' => 'Поиск локальных серверов Jellyfin...',
|
||||
'addServer.localServers' => 'Локальные серверы Jellyfin',
|
||||
'addServer.username' => 'Имя пользователя',
|
||||
'addServer.password' => 'Пароль',
|
||||
'addServer.signIn' => 'Войти',
|
||||
|
||||
@@ -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);
|
||||
@@ -142,6 +143,7 @@ class _TranslationsCommonSv extends TranslationsCommonEn {
|
||||
@override String get yes => 'Ja';
|
||||
@override String get no => 'Nej';
|
||||
@override String get delete => 'Ta bort';
|
||||
@override String get edit => 'Redigera';
|
||||
@override String get shuffle => 'Blanda';
|
||||
@override String get addTo => 'Lägg till i...';
|
||||
@override String get createNew => 'Skapa ny';
|
||||
@@ -252,6 +254,8 @@ class _TranslationsSettingsSv extends TranslationsSettingsEn {
|
||||
@override String get showEpisodeNumberOnCardsDescription => 'Visa säsongs- och avsnittsnummer på avsnittskort';
|
||||
@override String get showSeasonPostersOnTabs => 'Visa säsongsaffischer på flikar';
|
||||
@override String get showSeasonPostersOnTabsDescription => 'Visa varje säsongs affisch ovanför fliken';
|
||||
@override String get tvFullCardLayout => 'Heltäckande TV-kort';
|
||||
@override String get tvFullCardLayoutDescription => 'Använd TV-kort med enbart bild och skådespelarnamn ovanpå';
|
||||
@override String get hideSpoilers => 'Dölj spoilers för osedda avsnitt';
|
||||
@override String get hideSpoilersDescription => 'Sudda miniatyrbilder och beskrivningar för osedda avsnitt';
|
||||
@override String get playerBackend => 'Spelarmotor';
|
||||
@@ -375,12 +379,20 @@ 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';
|
||||
@override String get forceTvModeDescription => 'Tvinga TV-layout. För enheter som inte upptäcks automatiskt. Kräver omstart.';
|
||||
@override String get startInFullscreen => 'Starta i helskärm';
|
||||
@override String get startInFullscreenDescription => 'Öppna Plezy i helskärm vid start';
|
||||
@override String get exitFullscreenOnPlayerClose => 'Avsluta helskärm vid stängning av spelare';
|
||||
@override String get exitFullscreenOnPlayerCloseDescription => 'Avslutar automatiskt helskärmsläge när videospelaren stängs';
|
||||
@override String get autoHidePerformanceOverlay => 'Dölj prestandaöverlagring automatiskt';
|
||||
@override String get autoHidePerformanceOverlayDescription => 'Tona prestandaöverlagringen med uppspelningskontrollerna';
|
||||
@override String get showNavBarLabels => 'Visa navigeringsfältets etiketter';
|
||||
@@ -481,6 +493,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);
|
||||
@@ -533,6 +565,10 @@ class _TranslationsVideoControlsSv extends TranslationsVideoControlsEn {
|
||||
@override String get unlockRotation => 'Lås upp rotation';
|
||||
@override String get timerActive => 'Timer aktiv';
|
||||
@override String playbackWillPauseIn({required Object duration}) => 'Uppspelningen pausas om ${duration}';
|
||||
@override String get sleepTimerEndOfVideo => 'Slutet av aktuell video';
|
||||
@override String get sleepTimerStopAtHeader => 'Stoppa vid';
|
||||
@override String get sleepTimerDurationHeader => 'Timer';
|
||||
@override String get playbackWillPauseAtEnd => 'Uppspelningen pausas i slutet av denna video';
|
||||
@override String get stillWatching => 'Tittar du fortfarande?';
|
||||
@override String pausingIn({required Object seconds}) => 'Pausar om ${seconds}s';
|
||||
@override String get continueWatching => 'Fortsätt';
|
||||
@@ -548,7 +584,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 +610,8 @@ 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 String zoomPercent({required Object percent}) => 'Zoom ${percent}%';
|
||||
@override late final _TranslationsVideoControlsPipErrorsSv pipErrors = _TranslationsVideoControlsPipErrorsSv._(_root);
|
||||
@override String get chapters => 'Kapitel';
|
||||
@override String get noChaptersAvailable => 'Inga kapitel tillgängliga';
|
||||
@@ -784,6 +822,8 @@ class _TranslationsConnectionsSv extends TranslationsConnectionsEn {
|
||||
@override String sessionExpiredOne({required Object name}) => 'Sessionen har gått ut för ${name}';
|
||||
@override String sessionExpiredMany({required Object count}) => 'Sessionen har gått ut för ${count} servrar';
|
||||
@override String get signInAgain => 'Logga in igen';
|
||||
@override String get editJellyfinTitle => 'Redigera Jellyfin-anslutning';
|
||||
@override String editJellyfinIntro({required Object serverName}) => 'Lägg till eller ta bort URL:er för ${serverName}. Plezy använder den nåbara URL:en med lägst latens.';
|
||||
}
|
||||
|
||||
// Path: discover
|
||||
@@ -1274,8 +1314,8 @@ 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 zoom => 'Zoom';
|
||||
@override String get sleepTimer => 'Sovtimer';
|
||||
@override String get audioSync => 'Ljudsynkronisering';
|
||||
@override String get subtitleSync => 'Undertextsynkronisering';
|
||||
@@ -1475,8 +1515,12 @@ class _TranslationsAddServerSv extends TranslationsAddServerEn {
|
||||
// Translations
|
||||
@override String get addJellyfinTitle => 'Lägg till Jellyfin-server';
|
||||
@override String get jellyfinUrlIntro => 'Ange server-URL, t.ex. `https://jellyfin.example.com`.';
|
||||
@override String get jellyfinUrlsIntro => 'Ange en eller flera server-URL:er, separerade med kommatecken eller nya rader. Plezy använder den nåbara URL:en med lägst latens.';
|
||||
@override String get serverUrl => 'Server-URL';
|
||||
@override String get serverUrls => 'Server-URL:er';
|
||||
@override String get findServer => 'Hitta server';
|
||||
@override String get searchingLocalServers => 'Söker efter lokala Jellyfin-servrar...';
|
||||
@override String get localServers => 'Lokala Jellyfin-servrar';
|
||||
@override String get username => 'Användarnamn';
|
||||
@override String get password => 'Lösenord';
|
||||
@override String get signIn => 'Logga in';
|
||||
@@ -1531,10 +1575,14 @@ class _TranslationsHotkeysActionsSv extends TranslationsHotkeysActionsEn {
|
||||
@override String get speedIncrease => 'Öka hastighet';
|
||||
@override String get speedDecrease => 'Minska hastighet';
|
||||
@override String get speedReset => 'Återställ hastighet';
|
||||
@override String get zoomIn => 'Zooma in';
|
||||
@override String get zoomOut => 'Zooma ut';
|
||||
@override String get zoomReset => 'Återställ zoom';
|
||||
@override String get subSeekNext => 'Hoppa till nästa undertext';
|
||||
@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
|
||||
@@ -1593,6 +1641,7 @@ class _TranslationsLibrariesFilterCategoriesSv extends TranslationsLibrariesFilt
|
||||
@override String get year => 'År';
|
||||
@override String get contentRating => 'Åldersgräns';
|
||||
@override String get tag => 'Tagg';
|
||||
@override String get unwatched => 'Osedda';
|
||||
}
|
||||
|
||||
// Path: libraries.sortLabels
|
||||
@@ -1606,8 +1655,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';
|
||||
@@ -1794,6 +1853,7 @@ extension on TranslationsSv {
|
||||
'common.yes' => 'Ja',
|
||||
'common.no' => 'Nej',
|
||||
'common.delete' => 'Ta bort',
|
||||
'common.edit' => 'Redigera',
|
||||
'common.shuffle' => 'Blanda',
|
||||
'common.addTo' => 'Lägg till i...',
|
||||
'common.createNew' => 'Skapa ny',
|
||||
@@ -1877,6 +1937,8 @@ extension on TranslationsSv {
|
||||
'settings.showEpisodeNumberOnCardsDescription' => 'Visa säsongs- och avsnittsnummer på avsnittskort',
|
||||
'settings.showSeasonPostersOnTabs' => 'Visa säsongsaffischer på flikar',
|
||||
'settings.showSeasonPostersOnTabsDescription' => 'Visa varje säsongs affisch ovanför fliken',
|
||||
'settings.tvFullCardLayout' => 'Heltäckande TV-kort',
|
||||
'settings.tvFullCardLayoutDescription' => 'Använd TV-kort med enbart bild och skådespelarnamn ovanpå',
|
||||
'settings.hideSpoilers' => 'Dölj spoilers för osedda avsnitt',
|
||||
'settings.hideSpoilersDescription' => 'Sudda miniatyrbilder och beskrivningar för osedda avsnitt',
|
||||
'settings.playerBackend' => 'Spelarmotor',
|
||||
@@ -2000,12 +2062,20 @@ 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',
|
||||
'settings.forceTvModeDescription' => 'Tvinga TV-layout. För enheter som inte upptäcks automatiskt. Kräver omstart.',
|
||||
'settings.startInFullscreen' => 'Starta i helskärm',
|
||||
'settings.startInFullscreenDescription' => 'Öppna Plezy i helskärm vid start',
|
||||
'settings.exitFullscreenOnPlayerClose' => 'Avsluta helskärm vid stängning av spelare',
|
||||
'settings.exitFullscreenOnPlayerCloseDescription' => 'Avslutar automatiskt helskärmsläge när videospelaren stängs',
|
||||
'settings.autoHidePerformanceOverlay' => 'Dölj prestandaöverlagring automatiskt',
|
||||
'settings.autoHidePerformanceOverlayDescription' => 'Tona prestandaöverlagringen med uppspelningskontrollerna',
|
||||
'settings.showNavBarLabels' => 'Visa navigeringsfältets etiketter',
|
||||
@@ -2044,10 +2114,14 @@ extension on TranslationsSv {
|
||||
'hotkeys.actions.speedIncrease' => 'Öka hastighet',
|
||||
'hotkeys.actions.speedDecrease' => 'Minska hastighet',
|
||||
'hotkeys.actions.speedReset' => 'Återställ hastighet',
|
||||
'hotkeys.actions.zoomIn' => 'Zooma in',
|
||||
'hotkeys.actions.zoomOut' => 'Zooma ut',
|
||||
'hotkeys.actions.zoomReset' => 'Återställ zoom',
|
||||
'hotkeys.actions.subSeekNext' => 'Hoppa till nästa undertext',
|
||||
'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 +2162,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}',
|
||||
@@ -2115,6 +2200,10 @@ extension on TranslationsSv {
|
||||
'videoControls.unlockRotation' => 'Lås upp rotation',
|
||||
'videoControls.timerActive' => 'Timer aktiv',
|
||||
'videoControls.playbackWillPauseIn' => ({required Object duration}) => 'Uppspelningen pausas om ${duration}',
|
||||
'videoControls.sleepTimerEndOfVideo' => 'Slutet av aktuell video',
|
||||
'videoControls.sleepTimerStopAtHeader' => 'Stoppa vid',
|
||||
'videoControls.sleepTimerDurationHeader' => 'Timer',
|
||||
'videoControls.playbackWillPauseAtEnd' => 'Uppspelningen pausas i slutet av denna video',
|
||||
'videoControls.stillWatching' => 'Tittar du fortfarande?',
|
||||
'videoControls.pausingIn' => ({required Object seconds}) => 'Pausar om ${seconds}s',
|
||||
'videoControls.continueWatching' => 'Fortsätt',
|
||||
@@ -2130,7 +2219,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 +2245,8 @@ 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.zoomPercent' => ({required Object percent}) => 'Zoom ${percent}%',
|
||||
'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.',
|
||||
@@ -2242,6 +2333,8 @@ extension on TranslationsSv {
|
||||
'mpvConfig.presetSaved' => 'Förval sparat',
|
||||
'mpvConfig.presetLoaded' => 'Förval laddat',
|
||||
'mpvConfig.presetDeleted' => 'Förval borttaget',
|
||||
_ => null,
|
||||
} ?? switch (path) {
|
||||
'mpvConfig.confirmDeletePreset' => 'Är du säker på att du vill ta bort detta förval?',
|
||||
'mpvConfig.configPlaceholder' => 'gpu-api=vulkan\nhwdec=auto\n# comment',
|
||||
'dialog.confirmAction' => 'Bekräfta åtgärd',
|
||||
@@ -2274,8 +2367,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',
|
||||
@@ -2311,6 +2402,8 @@ extension on TranslationsSv {
|
||||
'connections.sessionExpiredOne' => ({required Object name}) => 'Sessionen har gått ut för ${name}',
|
||||
'connections.sessionExpiredMany' => ({required Object count}) => 'Sessionen har gått ut för ${count} servrar',
|
||||
'connections.signInAgain' => 'Logga in igen',
|
||||
'connections.editJellyfinTitle' => 'Redigera Jellyfin-anslutning',
|
||||
'connections.editJellyfinIntro' => ({required Object serverName}) => 'Lägg till eller ta bort URL:er för ${serverName}. Plezy använder den nåbara URL:en med lägst latens.',
|
||||
'discover.title' => 'Upptäck',
|
||||
'discover.switchProfile' => 'Byt profil',
|
||||
'discover.noContentAvailable' => 'Inget innehåll tillgängligt',
|
||||
@@ -2396,12 +2489,23 @@ extension on TranslationsSv {
|
||||
'libraries.filterCategories.year' => 'År',
|
||||
'libraries.filterCategories.contentRating' => 'Åldersgräns',
|
||||
'libraries.filterCategories.tag' => 'Tagg',
|
||||
'libraries.filterCategories.unwatched' => 'Osedda',
|
||||
'libraries.sortLabels.title' => 'Titel',
|
||||
'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,8 +2823,8 @@ 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.zoom' => 'Zoom',
|
||||
'videoSettings.sleepTimer' => 'Sovtimer',
|
||||
'videoSettings.audioSync' => 'Ljudsynkronisering',
|
||||
'videoSettings.subtitleSync' => 'Undertextsynkronisering',
|
||||
@@ -2743,6 +2847,8 @@ extension on TranslationsSv {
|
||||
'externalPlayer.off' => 'Av',
|
||||
'externalPlayer.launchFailed' => 'Kunde inte öppna extern spelare',
|
||||
'externalPlayer.appNotInstalled' => ({required Object name}) => '${name} är inte installerad',
|
||||
_ => null,
|
||||
} ?? switch (path) {
|
||||
'externalPlayer.playInExternalPlayer' => 'Spela i extern spelare',
|
||||
'metadataEdit.editMetadata' => 'Redigera...',
|
||||
'metadataEdit.screenTitle' => 'Redigera metadata',
|
||||
@@ -2788,8 +2894,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',
|
||||
@@ -2879,8 +2983,12 @@ extension on TranslationsSv {
|
||||
'trackers.libraryFilter.noLibraries' => 'Inga bibliotek tillgängliga',
|
||||
'addServer.addJellyfinTitle' => 'Lägg till Jellyfin-server',
|
||||
'addServer.jellyfinUrlIntro' => 'Ange server-URL, t.ex. `https://jellyfin.example.com`.',
|
||||
'addServer.jellyfinUrlsIntro' => 'Ange en eller flera server-URL:er, separerade med kommatecken eller nya rader. Plezy använder den nåbara URL:en med lägst latens.',
|
||||
'addServer.serverUrl' => 'Server-URL',
|
||||
'addServer.serverUrls' => 'Server-URL:er',
|
||||
'addServer.findServer' => 'Hitta server',
|
||||
'addServer.searchingLocalServers' => 'Söker efter lokala Jellyfin-servrar...',
|
||||
'addServer.localServers' => 'Lokala Jellyfin-servrar',
|
||||
'addServer.username' => 'Användarnamn',
|
||||
'addServer.password' => 'Lösenord',
|
||||
'addServer.signIn' => 'Logga in',
|
||||
|
||||
@@ -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);
|
||||
@@ -142,6 +143,7 @@ class _TranslationsCommonZh extends TranslationsCommonEn {
|
||||
@override String get yes => '是';
|
||||
@override String get no => '否';
|
||||
@override String get delete => '删除';
|
||||
@override String get edit => '编辑';
|
||||
@override String get shuffle => '随机播放';
|
||||
@override String get addTo => '添加到...';
|
||||
@override String get createNew => '新建';
|
||||
@@ -252,6 +254,8 @@ class _TranslationsSettingsZh extends TranslationsSettingsEn {
|
||||
@override String get showEpisodeNumberOnCardsDescription => '在剧集卡片上显示季和集编号';
|
||||
@override String get showSeasonPostersOnTabs => '在选项卡上显示季海报';
|
||||
@override String get showSeasonPostersOnTabsDescription => '在每季标签上方显示该季海报';
|
||||
@override String get tvFullCardLayout => '完整 TV 卡片';
|
||||
@override String get tvFullCardLayoutDescription => '使用仅显示图片的 TV 卡片,并叠加演员姓名';
|
||||
@override String get hideSpoilers => '隐藏未看剧集的剧透内容';
|
||||
@override String get hideSpoilersDescription => '模糊未观看剧集的缩略图和描述';
|
||||
@override String get playerBackend => '播放器引擎';
|
||||
@@ -375,12 +379,20 @@ 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 模式';
|
||||
@override String get forceTvModeDescription => '强制 TV 布局。适用于无法自动检测的设备。需要重启。';
|
||||
@override String get startInFullscreen => '以全屏模式启动';
|
||||
@override String get startInFullscreenDescription => '启动时以全屏模式打开 Plezy';
|
||||
@override String get exitFullscreenOnPlayerClose => '关闭播放器时退出全屏';
|
||||
@override String get exitFullscreenOnPlayerCloseDescription => '关闭视频播放器时自动退出全屏模式';
|
||||
@override String get autoHidePerformanceOverlay => '自动隐藏性能叠加层';
|
||||
@override String get autoHidePerformanceOverlayDescription => '性能叠加层随播放控件一起淡入淡出';
|
||||
@override String get showNavBarLabels => '显示导航栏标签';
|
||||
@@ -481,6 +493,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);
|
||||
@@ -533,6 +565,10 @@ class _TranslationsVideoControlsZh extends TranslationsVideoControlsEn {
|
||||
@override String get unlockRotation => '解锁旋转';
|
||||
@override String get timerActive => '定时器已激活';
|
||||
@override String playbackWillPauseIn({required Object duration}) => '播放将在 ${duration} 后暂停';
|
||||
@override String get sleepTimerEndOfVideo => '当前视频结束时';
|
||||
@override String get sleepTimerStopAtHeader => '停止于';
|
||||
@override String get sleepTimerDurationHeader => '定时器';
|
||||
@override String get playbackWillPauseAtEnd => '播放将在此视频结束时暂停';
|
||||
@override String get stillWatching => '还在看吗?';
|
||||
@override String pausingIn({required Object seconds}) => '${seconds}秒后暂停';
|
||||
@override String get continueWatching => '继续';
|
||||
@@ -548,7 +584,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 +610,8 @@ class _TranslationsVideoControlsZh extends TranslationsVideoControlsEn {
|
||||
@override String endsAt({required Object time}) => '${time} 结束';
|
||||
@override String get pipActive => '正在画中画模式中播放';
|
||||
@override String get pipFailed => '画中画启动失败';
|
||||
@override String get screenshotSaved => '截图已保存';
|
||||
@override String zoomPercent({required Object percent}) => '缩放 ${percent}%';
|
||||
@override late final _TranslationsVideoControlsPipErrorsZh pipErrors = _TranslationsVideoControlsPipErrorsZh._(_root);
|
||||
@override String get chapters => '章节';
|
||||
@override String get noChaptersAvailable => '没有可用的章节';
|
||||
@@ -784,6 +822,8 @@ class _TranslationsConnectionsZh extends TranslationsConnectionsEn {
|
||||
@override String sessionExpiredOne({required Object name}) => '${name} 的会话已过期';
|
||||
@override String sessionExpiredMany({required Object count}) => '${count} 个服务器的会话已过期';
|
||||
@override String get signInAgain => '重新登录';
|
||||
@override String get editJellyfinTitle => '编辑 Jellyfin 连接';
|
||||
@override String editJellyfinIntro({required Object serverName}) => '添加或移除 ${serverName} 的 URL。Plezy 会使用可访问且延迟最低的 URL。';
|
||||
}
|
||||
|
||||
// Path: discover
|
||||
@@ -1274,8 +1314,8 @@ class _TranslationsVideoSettingsZh extends TranslationsVideoSettingsEn {
|
||||
final TranslationsZh _root; // ignore: unused_field
|
||||
|
||||
// Translations
|
||||
@override String get playbackSettings => '播放设置';
|
||||
@override String get playbackSpeed => '播放速度';
|
||||
@override String get zoom => '缩放';
|
||||
@override String get sleepTimer => '睡眠定时器';
|
||||
@override String get audioSync => '音频同步';
|
||||
@override String get subtitleSync => '字幕同步';
|
||||
@@ -1475,8 +1515,12 @@ class _TranslationsAddServerZh extends TranslationsAddServerEn {
|
||||
// Translations
|
||||
@override String get addJellyfinTitle => '添加 Jellyfin 服务器';
|
||||
@override String get jellyfinUrlIntro => '输入服务器 URL,例如 `https://jellyfin.example.com`。';
|
||||
@override String get jellyfinUrlsIntro => '输入一个或多个服务器 URL,用逗号或换行分隔。Plezy 会使用可访问且延迟最低的 URL。';
|
||||
@override String get serverUrl => '服务器 URL';
|
||||
@override String get serverUrls => '服务器 URL';
|
||||
@override String get findServer => '查找服务器';
|
||||
@override String get searchingLocalServers => '正在查找本地 Jellyfin 服务器...';
|
||||
@override String get localServers => '本地 Jellyfin 服务器';
|
||||
@override String get username => '用户名';
|
||||
@override String get password => '密码';
|
||||
@override String get signIn => '登录';
|
||||
@@ -1531,10 +1575,14 @@ class _TranslationsHotkeysActionsZh extends TranslationsHotkeysActionsEn {
|
||||
@override String get speedIncrease => '加速';
|
||||
@override String get speedDecrease => '减速';
|
||||
@override String get speedReset => '重置速度';
|
||||
@override String get zoomIn => '放大';
|
||||
@override String get zoomOut => '缩小';
|
||||
@override String get zoomReset => '重置缩放';
|
||||
@override String get subSeekNext => '跳转到下一字幕';
|
||||
@override String get subSeekPrev => '跳转到上一字幕';
|
||||
@override String get shaderToggle => '切换着色器';
|
||||
@override String get skipMarker => '跳过片头/片尾';
|
||||
@override String get screenshot => '截图';
|
||||
}
|
||||
|
||||
// Path: videoControls.pipErrors
|
||||
@@ -1593,6 +1641,7 @@ class _TranslationsLibrariesFilterCategoriesZh extends TranslationsLibrariesFilt
|
||||
@override String get year => '年份';
|
||||
@override String get contentRating => '内容分级';
|
||||
@override String get tag => '标签';
|
||||
@override String get unwatched => '未观看';
|
||||
}
|
||||
|
||||
// Path: libraries.sortLabels
|
||||
@@ -1606,8 +1655,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 => '最新一集播出日期';
|
||||
@@ -1794,6 +1853,7 @@ extension on TranslationsZh {
|
||||
'common.yes' => '是',
|
||||
'common.no' => '否',
|
||||
'common.delete' => '删除',
|
||||
'common.edit' => '编辑',
|
||||
'common.shuffle' => '随机播放',
|
||||
'common.addTo' => '添加到...',
|
||||
'common.createNew' => '新建',
|
||||
@@ -1877,6 +1937,8 @@ extension on TranslationsZh {
|
||||
'settings.showEpisodeNumberOnCardsDescription' => '在剧集卡片上显示季和集编号',
|
||||
'settings.showSeasonPostersOnTabs' => '在选项卡上显示季海报',
|
||||
'settings.showSeasonPostersOnTabsDescription' => '在每季标签上方显示该季海报',
|
||||
'settings.tvFullCardLayout' => '完整 TV 卡片',
|
||||
'settings.tvFullCardLayoutDescription' => '使用仅显示图片的 TV 卡片,并叠加演员姓名',
|
||||
'settings.hideSpoilers' => '隐藏未看剧集的剧透内容',
|
||||
'settings.hideSpoilersDescription' => '模糊未观看剧集的缩略图和描述',
|
||||
'settings.playerBackend' => '播放器引擎',
|
||||
@@ -2000,12 +2062,20 @@ 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 模式',
|
||||
'settings.forceTvModeDescription' => '强制 TV 布局。适用于无法自动检测的设备。需要重启。',
|
||||
'settings.startInFullscreen' => '以全屏模式启动',
|
||||
'settings.startInFullscreenDescription' => '启动时以全屏模式打开 Plezy',
|
||||
'settings.exitFullscreenOnPlayerClose' => '关闭播放器时退出全屏',
|
||||
'settings.exitFullscreenOnPlayerCloseDescription' => '关闭视频播放器时自动退出全屏模式',
|
||||
'settings.autoHidePerformanceOverlay' => '自动隐藏性能叠加层',
|
||||
'settings.autoHidePerformanceOverlayDescription' => '性能叠加层随播放控件一起淡入淡出',
|
||||
'settings.showNavBarLabels' => '显示导航栏标签',
|
||||
@@ -2044,10 +2114,14 @@ extension on TranslationsZh {
|
||||
'hotkeys.actions.speedIncrease' => '加速',
|
||||
'hotkeys.actions.speedDecrease' => '减速',
|
||||
'hotkeys.actions.speedReset' => '重置速度',
|
||||
'hotkeys.actions.zoomIn' => '放大',
|
||||
'hotkeys.actions.zoomOut' => '缩小',
|
||||
'hotkeys.actions.zoomReset' => '重置缩放',
|
||||
'hotkeys.actions.subSeekNext' => '跳转到下一字幕',
|
||||
'hotkeys.actions.subSeekPrev' => '跳转到上一字幕',
|
||||
'hotkeys.actions.shaderToggle' => '切换着色器',
|
||||
'hotkeys.actions.skipMarker' => '跳过片头/片尾',
|
||||
'hotkeys.actions.screenshot' => '截图',
|
||||
'fileInfo.title' => '文件信息',
|
||||
'fileInfo.video' => '视频',
|
||||
'fileInfo.audio' => '音频',
|
||||
@@ -2088,6 +2162,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}',
|
||||
@@ -2115,6 +2200,10 @@ extension on TranslationsZh {
|
||||
'videoControls.unlockRotation' => '解锁旋转',
|
||||
'videoControls.timerActive' => '定时器已激活',
|
||||
'videoControls.playbackWillPauseIn' => ({required Object duration}) => '播放将在 ${duration} 后暂停',
|
||||
'videoControls.sleepTimerEndOfVideo' => '当前视频结束时',
|
||||
'videoControls.sleepTimerStopAtHeader' => '停止于',
|
||||
'videoControls.sleepTimerDurationHeader' => '定时器',
|
||||
'videoControls.playbackWillPauseAtEnd' => '播放将在此视频结束时暂停',
|
||||
'videoControls.stillWatching' => '还在看吗?',
|
||||
'videoControls.pausingIn' => ({required Object seconds}) => '${seconds}秒后暂停',
|
||||
'videoControls.continueWatching' => '继续',
|
||||
@@ -2130,7 +2219,7 @@ extension on TranslationsZh {
|
||||
'videoControls.nextChapterButton' => '下一章节',
|
||||
'videoControls.muteButton' => '静音',
|
||||
'videoControls.unmuteButton' => '取消静音',
|
||||
'videoControls.settingsButton' => '视频设置',
|
||||
'videoControls.settingsButton' => '播放设置',
|
||||
'videoControls.tracksButton' => '音频和字幕',
|
||||
'videoControls.chaptersButton' => '章节',
|
||||
'videoControls.versionsButton' => '视频版本',
|
||||
@@ -2156,6 +2245,8 @@ extension on TranslationsZh {
|
||||
'videoControls.endsAt' => ({required Object time}) => '${time} 结束',
|
||||
'videoControls.pipActive' => '正在画中画模式中播放',
|
||||
'videoControls.pipFailed' => '画中画启动失败',
|
||||
'videoControls.screenshotSaved' => '截图已保存',
|
||||
'videoControls.zoomPercent' => ({required Object percent}) => '缩放 ${percent}%',
|
||||
'videoControls.pipErrors.androidVersion' => '需要 Android 8.0 或更高版本',
|
||||
'videoControls.pipErrors.iosVersion' => '需要 iOS 15.0 或更高版本',
|
||||
'videoControls.pipErrors.permissionDisabled' => '画中画已禁用。请在系统设置中启用。',
|
||||
@@ -2242,6 +2333,8 @@ extension on TranslationsZh {
|
||||
'mpvConfig.presetSaved' => '预设已保存',
|
||||
'mpvConfig.presetLoaded' => '预设已加载',
|
||||
'mpvConfig.presetDeleted' => '预设已删除',
|
||||
_ => null,
|
||||
} ?? switch (path) {
|
||||
'mpvConfig.confirmDeletePreset' => '确定要删除此预设吗?',
|
||||
'mpvConfig.configPlaceholder' => 'gpu-api=vulkan\nhwdec=auto\n# comment',
|
||||
'dialog.confirmAction' => '确认操作',
|
||||
@@ -2274,8 +2367,6 @@ extension on TranslationsZh {
|
||||
'profiles.confirmPinTitle' => '确认 PIN',
|
||||
'profiles.pinSet' => '已设置 PIN',
|
||||
'profiles.changePin' => '更改',
|
||||
_ => null,
|
||||
} ?? switch (path) {
|
||||
'profiles.removePin' => '移除',
|
||||
'profiles.connectionsLabel' => '连接',
|
||||
'profiles.add' => '添加',
|
||||
@@ -2311,6 +2402,8 @@ extension on TranslationsZh {
|
||||
'connections.sessionExpiredOne' => ({required Object name}) => '${name} 的会话已过期',
|
||||
'connections.sessionExpiredMany' => ({required Object count}) => '${count} 个服务器的会话已过期',
|
||||
'connections.signInAgain' => '重新登录',
|
||||
'connections.editJellyfinTitle' => '编辑 Jellyfin 连接',
|
||||
'connections.editJellyfinIntro' => ({required Object serverName}) => '添加或移除 ${serverName} 的 URL。Plezy 会使用可访问且延迟最低的 URL。',
|
||||
'discover.title' => '发现',
|
||||
'discover.switchProfile' => '切换用户',
|
||||
'discover.noContentAvailable' => '没有可用内容',
|
||||
@@ -2396,12 +2489,23 @@ extension on TranslationsZh {
|
||||
'libraries.filterCategories.year' => '年份',
|
||||
'libraries.filterCategories.contentRating' => '内容分级',
|
||||
'libraries.filterCategories.tag' => '标签',
|
||||
'libraries.filterCategories.unwatched' => '未观看',
|
||||
'libraries.sortLabels.title' => '标题',
|
||||
'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,8 +2823,8 @@ extension on TranslationsZh {
|
||||
'companionRemote.remote.subtitles' => '字幕',
|
||||
'companionRemote.remote.audio' => '音频',
|
||||
'companionRemote.remote.searchHint' => '在桌面上搜索...',
|
||||
'videoSettings.playbackSettings' => '播放设置',
|
||||
'videoSettings.playbackSpeed' => '播放速度',
|
||||
'videoSettings.zoom' => '缩放',
|
||||
'videoSettings.sleepTimer' => '睡眠定时器',
|
||||
'videoSettings.audioSync' => '音频同步',
|
||||
'videoSettings.subtitleSync' => '字幕同步',
|
||||
@@ -2743,6 +2847,8 @@ extension on TranslationsZh {
|
||||
'externalPlayer.off' => '关闭',
|
||||
'externalPlayer.launchFailed' => '无法打开外部播放器',
|
||||
'externalPlayer.appNotInstalled' => ({required Object name}) => '${name} 未安装',
|
||||
_ => null,
|
||||
} ?? switch (path) {
|
||||
'externalPlayer.playInExternalPlayer' => '在外部播放器中播放',
|
||||
'metadataEdit.editMetadata' => '编辑...',
|
||||
'metadataEdit.screenTitle' => '编辑元数据',
|
||||
@@ -2788,8 +2894,6 @@ extension on TranslationsZh {
|
||||
'metadataEdit.episodesAddedPastDays' => ({required Object count}) => '过去 ${count} 天内添加的剧集',
|
||||
'metadataEdit.deleteAfterPlaying' => '播放后删除剧集',
|
||||
'metadataEdit.never' => '从不',
|
||||
_ => null,
|
||||
} ?? switch (path) {
|
||||
'metadataEdit.afterADay' => '一天后',
|
||||
'metadataEdit.afterAWeek' => '一周后',
|
||||
'metadataEdit.afterAMonth' => '一个月后',
|
||||
@@ -2879,8 +2983,12 @@ extension on TranslationsZh {
|
||||
'trackers.libraryFilter.noLibraries' => '没有可用的媒体库',
|
||||
'addServer.addJellyfinTitle' => '添加 Jellyfin 服务器',
|
||||
'addServer.jellyfinUrlIntro' => '输入服务器 URL,例如 `https://jellyfin.example.com`。',
|
||||
'addServer.jellyfinUrlsIntro' => '输入一个或多个服务器 URL,用逗号或换行分隔。Plezy 会使用可访问且延迟最低的 URL。',
|
||||
'addServer.serverUrl' => '服务器 URL',
|
||||
'addServer.serverUrls' => '服务器 URL',
|
||||
'addServer.findServer' => '查找服务器',
|
||||
'addServer.searchingLocalServers' => '正在查找本地 Jellyfin 服务器...',
|
||||
'addServer.localServers' => '本地 Jellyfin 服务器',
|
||||
'addServer.username' => '用户名',
|
||||
'addServer.password' => '密码',
|
||||
'addServer.signIn' => '登录',
|
||||
|
||||
@@ -36,6 +36,7 @@
|
||||
"yes": "Ja",
|
||||
"no": "Nej",
|
||||
"delete": "Ta bort",
|
||||
"edit": "Redigera",
|
||||
"shuffle": "Blanda",
|
||||
"addTo": "Lägg till i...",
|
||||
"createNew": "Skapa ny",
|
||||
@@ -125,6 +126,8 @@
|
||||
"showEpisodeNumberOnCardsDescription": "Visa säsongs- och avsnittsnummer på avsnittskort",
|
||||
"showSeasonPostersOnTabs": "Visa säsongsaffischer på flikar",
|
||||
"showSeasonPostersOnTabsDescription": "Visa varje säsongs affisch ovanför fliken",
|
||||
"tvFullCardLayout": "Heltäckande TV-kort",
|
||||
"tvFullCardLayoutDescription": "Använd TV-kort med enbart bild och skådespelarnamn ovanpå",
|
||||
"hideSpoilers": "Dölj spoilers för osedda avsnitt",
|
||||
"hideSpoilersDescription": "Sudda miniatyrbilder och beskrivningar för osedda avsnitt",
|
||||
"playerBackend": "Spelarmotor",
|
||||
@@ -248,12 +251,20 @@
|
||||
"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",
|
||||
"forceTvModeDescription": "Tvinga TV-layout. För enheter som inte upptäcks automatiskt. Kräver omstart.",
|
||||
"startInFullscreen": "Starta i helskärm",
|
||||
"startInFullscreenDescription": "Öppna Plezy i helskärm vid start",
|
||||
"exitFullscreenOnPlayerClose": "Avsluta helskärm vid stängning av spelare",
|
||||
"exitFullscreenOnPlayerCloseDescription": "Avslutar automatiskt helskärmsläge när videospelaren stängs",
|
||||
"autoHidePerformanceOverlay": "Dölj prestandaöverlagring automatiskt",
|
||||
"autoHidePerformanceOverlayDescription": "Tona prestandaöverlagringen med uppspelningskontrollerna",
|
||||
"showNavBarLabels": "Visa navigeringsfältets etiketter",
|
||||
@@ -297,10 +308,14 @@
|
||||
"speedIncrease": "Öka hastighet",
|
||||
"speedDecrease": "Minska hastighet",
|
||||
"speedReset": "Återställ hastighet",
|
||||
"zoomIn": "Zooma in",
|
||||
"zoomOut": "Zooma ut",
|
||||
"zoomReset": "Återställ zoom",
|
||||
"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 +362,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",
|
||||
@@ -379,6 +407,10 @@
|
||||
"unlockRotation": "Lås upp rotation",
|
||||
"timerActive": "Timer aktiv",
|
||||
"playbackWillPauseIn": "Uppspelningen pausas om ${duration}",
|
||||
"sleepTimerEndOfVideo": "Slutet av aktuell video",
|
||||
"sleepTimerStopAtHeader": "Stoppa vid",
|
||||
"sleepTimerDurationHeader": "Timer",
|
||||
"playbackWillPauseAtEnd": "Uppspelningen pausas i slutet av denna video",
|
||||
"stillWatching": "Tittar du fortfarande?",
|
||||
"pausingIn": "Pausar om ${seconds}s",
|
||||
"continueWatching": "Fortsätt",
|
||||
@@ -394,7 +426,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 +452,8 @@
|
||||
"endsAt": "Slutar ${time}",
|
||||
"pipActive": "Spelar i bild-i-bild",
|
||||
"pipFailed": "Bild-i-bild kunde inte starta",
|
||||
"screenshotSaved": "Skärmbild sparad",
|
||||
"zoomPercent": "Zoom ${percent}%",
|
||||
"pipErrors": {
|
||||
"androidVersion": "Kräver Android 8.0 eller nyare",
|
||||
"iosVersion": "Kräver iOS 15.0 eller nyare",
|
||||
@@ -588,7 +622,9 @@
|
||||
"addConnectionSubtitleScoped": "Lägg till för ${displayName}: Plex, Jellyfin eller en annan profilanslutning",
|
||||
"sessionExpiredOne": "Sessionen har gått ut för ${name}",
|
||||
"sessionExpiredMany": "Sessionen har gått ut för ${count} servrar",
|
||||
"signInAgain": "Logga in igen"
|
||||
"signInAgain": "Logga in igen",
|
||||
"editJellyfinTitle": "Redigera Jellyfin-anslutning",
|
||||
"editJellyfinIntro": "Lägg till eller ta bort URL:er för ${serverName}. Plezy använder den nåbara URL:en med lägst latens."
|
||||
},
|
||||
"discover": {
|
||||
"title": "Upptäck",
|
||||
@@ -684,15 +720,26 @@
|
||||
"genre": "Genre",
|
||||
"year": "År",
|
||||
"contentRating": "Åldersgräns",
|
||||
"tag": "Tagg"
|
||||
"tag": "Tagg",
|
||||
"unwatched": "Osedda"
|
||||
},
|
||||
"sortLabels": {
|
||||
"title": "Titel",
|
||||
"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,8 +1092,8 @@
|
||||
}
|
||||
},
|
||||
"videoSettings": {
|
||||
"playbackSettings": "Uppspelningsinställningar",
|
||||
"playbackSpeed": "Uppspelningshastighet",
|
||||
"zoom": "Zoom",
|
||||
"sleepTimer": "Sovtimer",
|
||||
"audioSync": "Ljudsynkronisering",
|
||||
"subtitleSync": "Undertextsynkronisering",
|
||||
@@ -1225,8 +1272,12 @@
|
||||
"addServer": {
|
||||
"addJellyfinTitle": "Lägg till Jellyfin-server",
|
||||
"jellyfinUrlIntro": "Ange server-URL, t.ex. `https://jellyfin.example.com`.",
|
||||
"jellyfinUrlsIntro": "Ange en eller flera server-URL:er, separerade med kommatecken eller nya rader. Plezy använder den nåbara URL:en med lägst latens.",
|
||||
"serverUrl": "Server-URL",
|
||||
"serverUrls": "Server-URL:er",
|
||||
"findServer": "Hitta server",
|
||||
"searchingLocalServers": "Söker efter lokala Jellyfin-servrar...",
|
||||
"localServers": "Lokala Jellyfin-servrar",
|
||||
"username": "Användarnamn",
|
||||
"password": "Lösenord",
|
||||
"signIn": "Logga in",
|
||||
|
||||
@@ -36,6 +36,7 @@
|
||||
"yes": "是",
|
||||
"no": "否",
|
||||
"delete": "删除",
|
||||
"edit": "编辑",
|
||||
"shuffle": "随机播放",
|
||||
"addTo": "添加到...",
|
||||
"createNew": "新建",
|
||||
@@ -125,6 +126,8 @@
|
||||
"showEpisodeNumberOnCardsDescription": "在剧集卡片上显示季和集编号",
|
||||
"showSeasonPostersOnTabs": "在选项卡上显示季海报",
|
||||
"showSeasonPostersOnTabsDescription": "在每季标签上方显示该季海报",
|
||||
"tvFullCardLayout": "完整 TV 卡片",
|
||||
"tvFullCardLayoutDescription": "使用仅显示图片的 TV 卡片,并叠加演员姓名",
|
||||
"hideSpoilers": "隐藏未看剧集的剧透内容",
|
||||
"hideSpoilersDescription": "模糊未观看剧集的缩略图和描述",
|
||||
"playerBackend": "播放器引擎",
|
||||
@@ -248,12 +251,20 @@
|
||||
"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 模式",
|
||||
"forceTvModeDescription": "强制 TV 布局。适用于无法自动检测的设备。需要重启。",
|
||||
"startInFullscreen": "以全屏模式启动",
|
||||
"startInFullscreenDescription": "启动时以全屏模式打开 Plezy",
|
||||
"exitFullscreenOnPlayerClose": "关闭播放器时退出全屏",
|
||||
"exitFullscreenOnPlayerCloseDescription": "关闭视频播放器时自动退出全屏模式",
|
||||
"autoHidePerformanceOverlay": "自动隐藏性能叠加层",
|
||||
"autoHidePerformanceOverlayDescription": "性能叠加层随播放控件一起淡入淡出",
|
||||
"showNavBarLabels": "显示导航栏标签",
|
||||
@@ -297,10 +308,14 @@
|
||||
"speedIncrease": "加速",
|
||||
"speedDecrease": "减速",
|
||||
"speedReset": "重置速度",
|
||||
"zoomIn": "放大",
|
||||
"zoomOut": "缩小",
|
||||
"zoomReset": "重置缩放",
|
||||
"subSeekNext": "跳转到下一字幕",
|
||||
"subSeekPrev": "跳转到上一字幕",
|
||||
"shaderToggle": "切换着色器",
|
||||
"skipMarker": "跳过片头/片尾"
|
||||
"skipMarker": "跳过片头/片尾",
|
||||
"screenshot": "截图"
|
||||
}
|
||||
},
|
||||
"fileInfo": {
|
||||
@@ -347,6 +362,19 @@
|
||||
"playFromBeginning": "从头播放",
|
||||
"playVersion": "播放版本..."
|
||||
},
|
||||
"rateSheet": {
|
||||
"title": "评分",
|
||||
"server": "服务器",
|
||||
"starValue": "${rating} / 5",
|
||||
"scoreValue": "${score} / 10",
|
||||
"setScore": "设置分数",
|
||||
"notRated": "未评分",
|
||||
"liked": "已喜欢",
|
||||
"notLiked": "未喜欢",
|
||||
"saved": "已保存",
|
||||
"notAvailable": "未找到匹配项",
|
||||
"noConnectedTrackers": "在设置中连接跟踪器即可在那里评分。"
|
||||
},
|
||||
"accessibility": {
|
||||
"mediaCardMovie": "${title}, 电影",
|
||||
"mediaCardShow": "${title}, 电视剧",
|
||||
@@ -379,6 +407,10 @@
|
||||
"unlockRotation": "解锁旋转",
|
||||
"timerActive": "定时器已激活",
|
||||
"playbackWillPauseIn": "播放将在 ${duration} 后暂停",
|
||||
"sleepTimerEndOfVideo": "当前视频结束时",
|
||||
"sleepTimerStopAtHeader": "停止于",
|
||||
"sleepTimerDurationHeader": "定时器",
|
||||
"playbackWillPauseAtEnd": "播放将在此视频结束时暂停",
|
||||
"stillWatching": "还在看吗?",
|
||||
"pausingIn": "${seconds}秒后暂停",
|
||||
"continueWatching": "继续",
|
||||
@@ -394,7 +426,7 @@
|
||||
"nextChapterButton": "下一章节",
|
||||
"muteButton": "静音",
|
||||
"unmuteButton": "取消静音",
|
||||
"settingsButton": "视频设置",
|
||||
"settingsButton": "播放设置",
|
||||
"tracksButton": "音频和字幕",
|
||||
"chaptersButton": "章节",
|
||||
"versionsButton": "视频版本",
|
||||
@@ -420,6 +452,8 @@
|
||||
"endsAt": "${time} 结束",
|
||||
"pipActive": "正在画中画模式中播放",
|
||||
"pipFailed": "画中画启动失败",
|
||||
"screenshotSaved": "截图已保存",
|
||||
"zoomPercent": "缩放 ${percent}%",
|
||||
"pipErrors": {
|
||||
"androidVersion": "需要 Android 8.0 或更高版本",
|
||||
"iosVersion": "需要 iOS 15.0 或更高版本",
|
||||
@@ -588,7 +622,9 @@
|
||||
"addConnectionSubtitleScoped": "添加到 ${displayName}: Plex、Jellyfin 或其他个人资料连接",
|
||||
"sessionExpiredOne": "${name} 的会话已过期",
|
||||
"sessionExpiredMany": "${count} 个服务器的会话已过期",
|
||||
"signInAgain": "重新登录"
|
||||
"signInAgain": "重新登录",
|
||||
"editJellyfinTitle": "编辑 Jellyfin 连接",
|
||||
"editJellyfinIntro": "添加或移除 ${serverName} 的 URL。Plezy 会使用可访问且延迟最低的 URL。"
|
||||
},
|
||||
"discover": {
|
||||
"title": "发现",
|
||||
@@ -684,15 +720,26 @@
|
||||
"genre": "类型",
|
||||
"year": "年份",
|
||||
"contentRating": "内容分级",
|
||||
"tag": "标签"
|
||||
"tag": "标签",
|
||||
"unwatched": "未观看"
|
||||
},
|
||||
"sortLabels": {
|
||||
"title": "标题",
|
||||
"dateAdded": "添加日期",
|
||||
"releaseDate": "发行日期",
|
||||
"rating": "评分",
|
||||
"communityRating": "社区评分",
|
||||
"criticRating": "影评人评分",
|
||||
"lastPlayed": "最近播放",
|
||||
"datePlayed": "播放日期",
|
||||
"playCount": "播放次数",
|
||||
"productionYear": "制作年份",
|
||||
"runtime": "时长",
|
||||
"officialRating": "官方分级",
|
||||
"premiereDate": "首映日期",
|
||||
"startDate": "开始日期",
|
||||
"airTime": "播出时间",
|
||||
"studio": "工作室",
|
||||
"random": "随机",
|
||||
"dateShared": "共享日期",
|
||||
"latestEpisodeAirDate": "最新一集播出日期"
|
||||
@@ -1045,8 +1092,8 @@
|
||||
}
|
||||
},
|
||||
"videoSettings": {
|
||||
"playbackSettings": "播放设置",
|
||||
"playbackSpeed": "播放速度",
|
||||
"zoom": "缩放",
|
||||
"sleepTimer": "睡眠定时器",
|
||||
"audioSync": "音频同步",
|
||||
"subtitleSync": "字幕同步",
|
||||
@@ -1225,8 +1272,12 @@
|
||||
"addServer": {
|
||||
"addJellyfinTitle": "添加 Jellyfin 服务器",
|
||||
"jellyfinUrlIntro": "输入服务器 URL,例如 `https://jellyfin.example.com`。",
|
||||
"jellyfinUrlsIntro": "输入一个或多个服务器 URL,用逗号或换行分隔。Plezy 会使用可访问且延迟最低的 URL。",
|
||||
"serverUrl": "服务器 URL",
|
||||
"serverUrls": "服务器 URL",
|
||||
"findServer": "查找服务器",
|
||||
"searchingLocalServers": "正在查找本地 Jellyfin 服务器...",
|
||||
"localServers": "本地 Jellyfin 服务器",
|
||||
"username": "用户名",
|
||||
"password": "密码",
|
||||
"signIn": "登录",
|
||||
|
||||
@@ -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,10 +68,12 @@ 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';
|
||||
import 'media/media_server_client.dart';
|
||||
import 'focus/input_mode_tracker.dart';
|
||||
import 'focus/key_event_utils.dart';
|
||||
import 'package:intl/date_symbol_data_local.dart';
|
||||
@@ -80,6 +84,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 +135,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 +160,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;
|
||||
@@ -207,10 +228,10 @@ Future<void> _bootstrapApp() async {
|
||||
|
||||
FullscreenStateManager().startMonitoring();
|
||||
|
||||
// Apply "start in fullscreen" preference on Windows/Linux. macOS is
|
||||
// excluded — its native fullscreen animation is awkward at launch and
|
||||
// the OS already restores window state.
|
||||
if ((Platform.isWindows || Platform.isLinux) && settings.read(SettingsService.startInFullscreen)) {
|
||||
// Apply "start in fullscreen" preference on desktop. macOS does not restore
|
||||
// fullscreen state on its own (frame autosave only persists windowed geometry),
|
||||
// so it needs the same explicit handling as Windows/Linux.
|
||||
if (PlatformDetector.isDesktopOS() && settings.read(SettingsService.startInFullscreen)) {
|
||||
unawaited(FullscreenStateManager().enterFullscreen());
|
||||
}
|
||||
|
||||
@@ -421,6 +442,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 +490,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 +526,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 +712,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 +751,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>(
|
||||
@@ -712,11 +765,15 @@ class _MainAppState extends State<MainApp> with WidgetsBindingObserver {
|
||||
return provider;
|
||||
},
|
||||
),
|
||||
ChangeNotifierProxyProvider<ActiveProfileProvider, WatchStateOverlayProvider>(
|
||||
ChangeNotifierProxyProvider2<ActiveProfileProvider, MultiServerProvider, WatchStateOverlayProvider>(
|
||||
create: (_) => WatchStateOverlayProvider(),
|
||||
update: (_, activeProfile, previous) {
|
||||
update: (_, activeProfile, multiServer, previous) {
|
||||
final provider = previous ?? WatchStateOverlayProvider();
|
||||
provider.setActiveProfileId(activeProfile.activeId);
|
||||
provider.setActiveClientScopesByServer({
|
||||
for (final serverId in multiServer.serverManager.serverIds)
|
||||
serverId: multiServer.serverManager.getClient(serverId)?.cacheServerId,
|
||||
});
|
||||
return provider;
|
||||
},
|
||||
),
|
||||
@@ -797,7 +854,17 @@ class _MainAppState extends State<MainApp> with WidgetsBindingObserver {
|
||||
ChangeNotifierProvider(create: (context) => TraktAccountProvider()),
|
||||
ChangeNotifierProvider(create: (context) => TrackersProvider()),
|
||||
ChangeNotifierProvider(create: (context) => HiddenLibrariesProvider(), lazy: true),
|
||||
ChangeNotifierProvider(create: (context) => LibrariesProvider()),
|
||||
ChangeNotifierProvider(
|
||||
create: (context) {
|
||||
final provider = LibrariesProvider();
|
||||
// Reload libraries when a new server comes online. Servers bind in
|
||||
// waves on sign-in / profile switch and slow ones reconnect after
|
||||
// the initial load; without this they stay missing from the sidebar
|
||||
// until a profile re-switch or restart.
|
||||
context.read<MultiServerProvider>().onOnlineServersChanged = provider.syncToOnlineServers;
|
||||
return provider;
|
||||
},
|
||||
),
|
||||
ChangeNotifierProvider(create: (context) => PlaybackStateProvider()),
|
||||
ChangeNotifierProvider(create: (context) => WatchTogetherProvider()),
|
||||
ChangeNotifierProvider(create: (context) => CompanionRemoteProvider()),
|
||||
@@ -1009,6 +1076,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 +1091,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 +1158,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 +1185,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 +1217,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 +1239,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 +1272,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 +1279,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;
|
||||
}
|
||||
|
||||
|
||||
@@ -47,7 +47,8 @@ class DownloadArtworkSpec {
|
||||
/// version.
|
||||
class DownloadResolution {
|
||||
final String? videoUrl;
|
||||
final String? mediaSourceId;
|
||||
final List<DownloadSubtitleSpec> externalSubtitles;
|
||||
|
||||
const DownloadResolution({required this.videoUrl, this.externalSubtitles = const []});
|
||||
const DownloadResolution({required this.videoUrl, this.mediaSourceId, this.externalSubtitles = const []});
|
||||
}
|
||||
|
||||
@@ -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>;
|
||||
}
|
||||
|
||||
@@ -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]'), '');
|
||||
@@ -465,7 +465,12 @@ sealed class MediaItem with _$MediaItem {
|
||||
|
||||
/// Returns hero art candidates in display-preference order.
|
||||
List<String> heroArtCandidates({required double containerAspectRatio}) {
|
||||
final preferred = containerAspectRatio < 1.39 ? [backgroundSquarePath, artPath] : [artPath, backgroundSquarePath];
|
||||
final preferred = switch (kind) {
|
||||
MediaKind.episode when containerAspectRatio < 1.39 => [backgroundSquarePath, grandparentArtPath, artPath],
|
||||
MediaKind.episode => [grandparentArtPath, artPath, backgroundSquarePath],
|
||||
_ when containerAspectRatio < 1.39 => [backgroundSquarePath, artPath],
|
||||
_ => [artPath, backgroundSquarePath],
|
||||
};
|
||||
|
||||
final candidates = <String>[];
|
||||
for (final path in preferred) {
|
||||
|
||||
@@ -55,7 +55,7 @@ enum MediaKind {
|
||||
'track' || 'audio' => MediaKind.track,
|
||||
'collection' || 'boxset' => MediaKind.collection,
|
||||
'playlist' => MediaKind.playlist,
|
||||
'clip' || 'trailer' => MediaKind.clip,
|
||||
'clip' || 'trailer' || 'video' || 'musicvideo' => MediaKind.clip,
|
||||
'photo' => MediaKind.photo,
|
||||
_ => MediaKind.unknown,
|
||||
};
|
||||
|
||||
@@ -18,6 +18,7 @@ import 'media_item.dart';
|
||||
import 'media_kind.dart';
|
||||
import 'media_library.dart';
|
||||
import 'media_playlist.dart';
|
||||
import 'playback_report_metadata.dart';
|
||||
import 'server_capabilities.dart';
|
||||
|
||||
/// Backend-neutral client for a single media server (Plex or Jellyfin).
|
||||
@@ -61,6 +62,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 +168,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 +207,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 +224,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 +274,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 +327,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
|
||||
@@ -438,19 +494,22 @@ abstract class MediaServerClient {
|
||||
});
|
||||
|
||||
/// End-of-session signal. Plex sends `state=stopped`; Jellyfin closes
|
||||
/// the session row.
|
||||
/// the session row. [report] carries semantic metadata such as offline
|
||||
/// replay timing without leaking backend-specific wire parameter names.
|
||||
Future<void> reportPlaybackStopped({
|
||||
required String itemId,
|
||||
required Duration position,
|
||||
Duration? duration,
|
||||
String? playSessionId,
|
||||
String? mediaSourceId,
|
||||
PlaybackReportMetadata report = const PlaybackReportMetadata.live(),
|
||||
});
|
||||
|
||||
/// 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 selected. Throws
|
||||
/// [PlaybackException] when the item can't be resolved (no MediaSources,
|
||||
/// no playable URL, transcode decision unavailable).
|
||||
///
|
||||
@@ -467,8 +526,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 +540,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
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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
|
||||
@@ -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,
|
||||
};
|
||||
|
||||
@@ -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
|
||||
@@ -24,17 +25,21 @@ class MediaSourceInfo {
|
||||
/// null here and uses [partId] + the BIF service instead.
|
||||
final Map<int, TrickplayInfo>? trickplayByWidth;
|
||||
|
||||
/// Display aspect ratio of the video stream (width / height).
|
||||
final double? videoAspectRatio;
|
||||
|
||||
MediaSourceInfo({
|
||||
required this.videoUrl,
|
||||
required this.audioTracks,
|
||||
required this.subtitleTracks,
|
||||
required this.chapters,
|
||||
this.partId,
|
||||
this.frameRate,
|
||||
this.displayCriteria,
|
||||
this.mediaSourceId,
|
||||
this.defaultAudioStreamIndex,
|
||||
this.defaultSubtitleStreamIndex,
|
||||
this.trickplayByWidth,
|
||||
this.videoAspectRatio,
|
||||
});
|
||||
int? getPartId() => partId;
|
||||
}
|
||||
@@ -93,6 +98,7 @@ class MediaAudioTrack with _TrackLabelMixin {
|
||||
final String? displayTitle;
|
||||
final int? channels;
|
||||
final bool selected;
|
||||
final bool external;
|
||||
|
||||
MediaAudioTrack({
|
||||
required this.id,
|
||||
@@ -104,8 +110,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!));
|
||||
@@ -130,6 +139,7 @@ class MediaSubtitleTrack with _TrackLabelMixin {
|
||||
final bool forced;
|
||||
final String? key;
|
||||
final bool external;
|
||||
final bool usesExternalDelivery;
|
||||
|
||||
MediaSubtitleTrack({
|
||||
required this.id,
|
||||
@@ -143,22 +153,40 @@ class MediaSubtitleTrack with _TrackLabelMixin {
|
||||
required this.forced,
|
||||
this.key,
|
||||
this.external = false,
|
||||
this.usesExternalDelivery = false,
|
||||
});
|
||||
|
||||
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.
|
||||
bool get isExternal => external || (key != null && key!.isNotEmpty);
|
||||
bool get isExternalFile => external;
|
||||
|
||||
bool get isExternal => external || usesExternalDelivery || (key != null && key!.isNotEmpty);
|
||||
}
|
||||
|
||||
class MediaChapter {
|
||||
|
||||