Compare commits

..
93 Commits
Author SHA1 Message Date
github-actions[bot] c5d8f9c62b chore: bump version to 2.4.0 2026-05-31 19:30:17 +00:00
edde746 4ffa3d30f6 fix(player): preserve shader toggle preset
close #1208
2026-05-31 21:25:46 +02:00
edde746 d5c8778074 fix: harden reconnect and playback regressions 2026-05-31 20:33:38 +02:00
edde746 c6c76d6828 fix(dialogs): own text input resources 2026-05-31 15:34:00 +02:00
edde746 9cfc6c0f4a fix(tv): stabilize osk dismissal 2026-05-31 15:22:13 +02:00
edde746 2eae450aa0 fix(jellyfin): preserve add screen dpad focus 2026-05-31 15:00:35 +02:00
edde746 1b5334e72f fix(jellyfin): harden local discovery flow 2026-05-31 14:33:31 +02:00
edde746 e3db54940d feat(jellyfin): add local server discovery
close #1188
2026-05-31 10:51:08 +02:00
edde746 656d512858 ci: add build platform toggles 2026-05-31 09:26:55 +02:00
edde746 d9135e0d25 fix(player): log display HDR capabilities 2026-05-31 08:48:21 +02:00
edde746 4f636dfffd fix(ci): install libmpv scripting deps 2026-05-31 07:54:37 +02:00
edde746 6438b444bf fix(player): clarify Dolby Vision playback logging 2026-05-31 06:56:18 +02:00
edde746 8413e1e5a7 fix(player): reduce sync offset dpad step 2026-05-31 06:38:25 +02:00
edde746 5671f6e5d1 fix(plex): send playback session stream header 2026-05-31 06:30:51 +02:00
edde746 a4a0475fdb fix(player): let macOS shortcuts pass through
close #1206
2026-05-31 03:03:52 +02:00
edde746 9a740b91c1 fix(plex): select available playback version 2026-05-31 02:21:15 +02:00
edde746 63ab80fa82 fix(player): switch refresh rate before ExoPlayer open 2026-05-31 00:28:54 +02:00
edde746 0bb085c70c feat(macos): support start in fullscreen setting
close #1200
2026-05-30 23:58:38 +02:00
edde746 9825ce3c7c fix: select first playable Plex Part instead of always Part[0]
close #1201
2026-05-30 21:37:01 +02:00
edde746 f5012b36ea fix(media-detail): collapse action buttons that overflow small screens 2026-05-30 17:20:16 +02:00
edde746 6111c381af fix(libraries): reload when a server connects after initial load 2026-05-30 14:01:01 +02:00
edde746 00fce3a997 fix(downloads): cap aggregate progress below 100% until all episodes complete
Rounding the smoothed per-episode progress could fill the ring to 100% while a download was still finishing; only report 100% once every queued episode is complete. Also drop the stale episode-count diagnostic log that read leafCount/_totalEpisodeCounts solely for logging after the denominator change.
2026-05-30 08:48:44 +02:00
edde746 b8417f0277 style(downloads): apply dart format to download_utils.dart
Merged via #1195 without formatting; aligns it with the repo's dart format pre-commit gate.
2026-05-30 08:48:03 +02:00
DarkmaddaandGitHub 4148c1c8ff fix(downloads): scope show progress to queued episodes; manage completed downloads (#1195)
Progress ring now measures completion against the episodes actually queued (episodes.length) instead of the show's full leafCount, and advances smoothly using per-episode progress. The completed show/season download button reopens the download-options dialog (with a Delete row) so users can fetch more episodes or switch to sync instead of only deleting.
2026-05-30 08:40:17 +02:00
edde746 9e5098f356 fix(trackers): respect server completion threshold
close #1194
2026-05-30 08:30:06 +02:00
edde746 139eed9ca9 fix(templates): require substantive issue-form fields 2026-05-30 07:33:06 +02:00
23efb02636 fix(browse): keep show in browse after deleting its downloads
The browse grid listens for DeletionEvents and decrements each show's
leafCount, evicting the show when the count hits zero. Download-only
deletions (isDownloadOnly: true) fired one event per episode, so deleting
every downloaded episode of a show drove its leafCount to zero and removed
it from browse - even though the content still exists on the server.

Browse is online-only (the Libraries tab is hidden when offline) and always
reflects server-side content, so it must ignore download-only deletions.
Add a guard at the top of onDeletionEvent, matching the existing
isDownloadOnly contract already honored by media_detail_screen.

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-05-30 07:20:54 +02:00
Timo KoxandGitHub 294996eac1 feat(player): add end-of-video sleep timer option (#1111)
close #540
2026-05-30 07:16:01 +02:00
edde746 a4f0b92b4e fix(windows): stop taskbar icon flashing on minimize after playback 2026-05-30 03:01:48 +02:00
Micah MorrisonandGitHub 7cac050500 feat(playback): add option to exit fullscreen on player close (#1174)
Adds a setting to automatically exit fullscreen when the video player is closed.
2026-05-30 02:38:35 +02:00
edde746 1685ecc991 fix(playback): prevent native subtitle autoselect 2026-05-30 00:05:29 +02:00
edde746 a71711de5f fix(ci): update database schema expectation 2026-05-29 23:45:01 +02:00
edde746 7534a6c60a fix(downloads): apply progress watch snapshots 2026-05-29 21:37:27 +02:00
edde746 dba01f14bb fix(playback): harden watch progress edge cases 2026-05-29 21:16:01 +02:00
edde746 d93ea9813f fix(playback): harden offline source reporting 2026-05-29 19:55:01 +02:00
edde746 7501f461b9 fix(playback): sync downloaded watch progress
close #1171, close #1183
2026-05-29 19:55:01 +02:00
edde746 5e5702c961 fix: resume playback after iOS audio route changes
close #1185
2026-05-29 11:04:27 +02:00
edde746 4b477a4fe3 build(tvos): bump engine to 3.44.0+3 2026-05-29 08:29:18 +02:00
edde746 50ff514be8 feat(tv): wrap on-screen keyboard focus at edges 2026-05-29 05:03:10 +02:00
edde746 1c7a083d6c build(linux): enable lua and javascript in libmpv 2026-05-29 03:32:45 +02:00
edde746 097e48d705 fix(tv): trap d-pad focus at button row edges
close #1181
2026-05-29 03:31:53 +02:00
edde746 a931d5910b fix(tv): let text fields fall back to directional traversal
close #1176
2026-05-29 03:30:54 +02:00
edde746 1cd585eecb feat(android): sync external player progress
close #1175
2026-05-29 00:58:45 +02:00
edde746 9981b277c6 test: cover jellyfin trickplay aspect ratio 2026-05-29 00:18:53 +02:00
edde746 2b7ea5fe02 feat(video): add custom zoom controls
close #1159
2026-05-29 00:06:47 +02:00
edde746 47276e1bac feat(tv): add optional full-card layouts 2026-05-28 22:33:06 +02:00
edde746andGitHub c8670a8d6a Merge pull request #1178 from micahmo/fix/plex-bif-aspect-ratio
Fix scrub preview aspect ratio
2026-05-28 22:05:37 +02:00
Micah Morrison 9cc32e125b Fix BIF scrub preview aspect ratio and raise desktop size limit 2026-05-28 15:46:08 -04:00
edde746 4217da1a8f fix(android): recover ExoPlayer audio failures 2026-05-28 09:31:19 +02:00
edde746 704c37f97f fix(ui): tighten media detail spacing 2026-05-28 08:16:27 +02:00
edde746 0c8e0fc2ec fix(i18n): update Bulgarian generated strings 2026-05-28 05:55:55 +02:00
edde746 d6315a0f75 feat(desktop): improve snackbar behavior 2026-05-28 04:48:36 +02:00
edde746 92cdbdd723 chore: remove local MPVKit checkout 2026-05-28 04:07:27 +02:00
edde746andDimitar Topper Maznekov 3939ba809f feat(i18n): add Bulgarian language
Co-authored-by: Dimitar "Topper" Maznekov <23097319+TopperBG@users.noreply.github.com>
2026-05-28 04:01:37 +02:00
edde746 6642348a96 feat(jellyfin): support multiple server urls 2026-05-28 03:43:46 +02:00
edde746 0b29673a5e fix(plex): use provider continue watching hub
close #1166
2026-05-28 01:29:29 +02:00
edde746 3747a74cb3 fix(pip): guard callbacks after dispose 2026-05-28 01:14:38 +02:00
edde746 bcb7f1d3c1 fix(android): disable flutter deeplink routing 2026-05-28 00:48:59 +02:00
edde746 7b56b90f24 fix(main): guard tvOS menu updates after dispose 2026-05-28 00:37:07 +02:00
edde746 ba62129414 fix(playback): support Apple DV conversion 2026-05-28 00:33:20 +02:00
edde746 e559a6125d fix(detail): isolate overlay sheet scrolling 2026-05-28 00:29:13 +02:00
edde746 869b4fe230 chore: bump MPVKit 2026-05-28 00:14:06 +02:00
edde746 3b4110d7e5 fix(android): improve Dolby Vision fallback 2026-05-27 21:02:48 +02:00
edde746 7b4e399013 chore: bump MPVKit 2026-05-27 06:52:03 +02:00
edde746 5788d93e89 feat(profiles): sort by recent use
close #1151
2026-05-27 06:52:03 +02:00
edde746 08a806e457 fix(playback): restore system ui after video
close #1152
2026-05-27 06:52:03 +02:00
edde746 e45bfadc14 feat(libraries): add nav quick picker
close #1144
2026-05-27 06:52:03 +02:00
edde746 56cfb95af5 fix(playback): apply default quality to jellyfin
close #1150
2026-05-27 00:02:23 +02:00
github-actions[bot] 8e8942fb36 chore: update cask to 2.3.0 2026-05-26 21:34:32 +00:00
github-actions[bot] 02f2657d18 chore: bump version to 2.3.0 2026-05-26 21:13:32 +00:00
edde746 39709e5c42 test(tv): update keyboard focus expectations 2026-05-26 23:00:44 +02:00
edde746 a101ee76d6 fix(downloads): prevent duplicate native tasks
close #1141
2026-05-26 22:43:05 +02:00
edde746 4eadec5b17 fix(tv): pass root menu to system 2026-05-26 18:27:26 +02:00
edde746 be86a33057 fix(discover): hide duplicate continue watching
close #1113
2026-05-26 14:48:16 +02:00
edde746 ce19b9dfa7 fix(ui): theme recommendation text colors 2026-05-26 14:05:26 +02:00
edde746 15cc85147a fix(tv): improve virtual keyboard input 2026-05-26 14:01:20 +02:00
edde746 3fc3baef83 fix(tv): reveal details without input 2026-05-26 12:02:48 +02:00
edde746 91b926acac fix(android): respect vtt subtitle position 2026-05-26 06:34:59 +02:00
edde746 8b2ff18842 fix(android): improve mpeg-ts seeking 2026-05-26 03:14:19 +02:00
edde746 1958f8ca7e feat(jellyfin): add folder browsing and playback 2026-05-26 01:39:39 +02:00
edde746 8e53232961 fix(jellyfin): avoid side-loading negotiated subtitles 2026-05-25 23:39:55 +02:00
edde746 cec8993b80 fix: update win_http 2026-05-25 23:19:59 +02:00
edde746 366ae67341 feat(jellyfin): add unwatched library filter
close #1116
2026-05-25 22:43:39 +02:00
edde746 50be8565d9 fix(tv): prefer show art for episode backdrops
close #1123
2026-05-25 21:08:33 +02:00
edde746 9365fcf246 fix(tv): keep alpha bar alphabet visible 2026-05-25 16:17:27 +02:00
edde746 8d4ef2757a fix(ios): update MPVKit PiP subtitles 2026-05-25 15:31:41 +02:00
edde746 6b147e2053 fix(ios): enable PiP subtitles 2026-05-25 04:47:55 +02:00
github-actions[bot] 5fa8326341 chore: bump version to 2.2.1 2026-05-24 17:06:57 +00:00
edde746 c8cded70ef fix(tv): polish media detail rails
close #1117
2026-05-24 19:06:06 +02:00
edde746 8fe51075be fix(android): force display mode matching 2026-05-24 18:39:41 +02:00
edde746 d24c95f1e1 fix(android): trust Media3 TrueHD passthrough 2026-05-24 18:09:42 +02:00
edde746 1c8be031ae chore(ios): declare export compliance 2026-05-24 15:10:58 +02:00
github-actions[bot] 83c47b529c chore: update cask to 2.2.0 2026-05-24 06:17:35 +00:00
273 changed files with 19519 additions and 2291 deletions
+4
View File
@@ -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
+7 -2
View File
@@ -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
+81 -33
View File
@@ -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
@@ -101,6 +131,7 @@ jobs:
plezy-android-x86_64.tar.gz
build-ios:
if: ${{ inputs.build_ios }}
runs-on: macos-26
permissions:
id-token: write
@@ -166,6 +197,7 @@ jobs:
path: plezy-ios.ipa
build-macos:
if: ${{ inputs.build_macos }}
runs-on: macos-26
permissions:
id-token: write
@@ -337,6 +369,7 @@ jobs:
macos-dmg-size.txt
build-windows-x64:
if: ${{ inputs.build_windows }}
runs-on: windows-latest
permissions:
contents: read
@@ -385,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
@@ -441,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
@@ -523,6 +558,7 @@ jobs:
win-installer-size.txt
build-linux-x64:
if: ${{ inputs.build_linux }}
runs-on: ubuntu-latest
permissions:
id-token: write
@@ -549,20 +585,12 @@ 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: |
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
)
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
@@ -657,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
@@ -683,20 +712,12 @@ 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: |
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
)
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
@@ -801,7 +822,8 @@ jobs:
plezy-linux-arm64.pkg.tar.zst
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
@@ -812,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
@@ -940,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
+2 -2
View File
@@ -1,6 +1,6 @@
cask "plezy" do
version "2.1.0"
sha256 "9219831cab16f33b3b7a1223f3a120aa8aed44a28352839f3ec5fb569be77cd6"
version "2.3.0"
sha256 "2255247656fb352e95184986ee2918bbc8e452a2adee0e27749b2e9ec77d892b"
url "https://github.com/edde746/plezy/releases/download/#{version}/plezy-macos.dmg"
name "Plezy"
+3
View File
@@ -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"/>
+1 -1
View File
@@ -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
@@ -42,6 +43,31 @@ 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
}
@@ -54,6 +80,7 @@ class MainActivity : FlutterActivity() {
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) {
@@ -250,6 +277,67 @@ class MainActivity : FlutterActivity() {
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) {
@@ -382,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,
@@ -11,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
@@ -22,8 +23,7 @@ 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.
*/
@@ -47,6 +47,10 @@ 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
@@ -79,11 +83,17 @@ class DoviConvertingTrackOutput(
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
logInfo("DV Profile 7 detected ($codecs), mode=$dvMode")
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=$codecs, " +
"Original format: mime=${format.sampleMimeType}, codecs=$codecString, " +
"initData=${format.initializationData.size} entries " +
"(${format.initializationData.mapIndexed { i, d -> "$i:${d.size}B" }.joinToString()})"
)
@@ -92,7 +102,7 @@ class DoviConvertingTrackOutput(
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)
logInfo("DV81: rewriting to $newCodecs, config=${dvConfigRecord.size}B")
@@ -360,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) {
@@ -368,16 +377,15 @@ 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++
}
}
@@ -428,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) {
@@ -436,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++
}
@@ -461,7 +467,17 @@ class DoviConvertingTrackOutput(
}
}
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)
@@ -565,7 +581,6 @@ class DoviConvertingTrackOutput(
System.arraycopy(ANNEX_B_START_CODE, 0, outputBuf, outputLen, 4)
outputLen += 4
System.arraycopy(data, nalStart, outputBuf, outputLen, nalLen)
normalizeLayerId(outputBuf, outputLen)
outputLen += nalLen
kept++
}
@@ -617,25 +632,22 @@ class DoviConvertingTrackOutput(
/** 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
val nuhLayerId = ((data[offset].toInt() and 1) shl 5) or
((data[offset + 1].toInt() ushr 3) and 0x1F)
return when {
nalType == NAL_TYPE_UNSPEC62 && convertRpu -> NalAction.CONVERT
nalType == NAL_TYPE_UNSPEC62 || nalType == NAL_TYPE_UNSPEC63 || nuhLayerId > 0 -> NalAction.STRIP
nalType == NAL_TYPE_UNSPEC62 -> NalAction.STRIP_RPU
nalType == NAL_TYPE_UNSPEC63 -> NalAction.STRIP_EL
else -> NalAction.KEEP
}
}
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 writeInt32BE(buf: ByteArray, offset: Int, value: Int) {
buf[offset] = ((value ushr 24) and 0xFF).toByte()
buf[offset + 1] = ((value ushr 16) and 0xFF).toByte()
@@ -43,6 +43,7 @@ import androidx.media3.datasource.cronet.CronetDataSource
import androidx.media3.exoplayer.DecoderReuseEvaluation
import androidx.media3.exoplayer.DefaultLoadControl
import androidx.media3.exoplayer.DefaultRenderersFactory
import androidx.media3.exoplayer.ExoPlaybackException
import androidx.media3.exoplayer.ExoPlayer
import androidx.media3.exoplayer.RenderersFactory
import androidx.media3.exoplayer.analytics.AnalyticsListener
@@ -56,6 +57,7 @@ import androidx.media3.extractor.DefaultExtractorsFactory
import androidx.media3.extractor.mkv.MatroskaExtractor
import androidx.media3.extractor.mp4.FragmentedMp4Extractor
import androidx.media3.extractor.mp4.Mp4Extractor
import androidx.media3.extractor.ts.TsExtractor
import androidx.media3.ui.AspectRatioFrameLayout
import androidx.media3.ui.CaptionStyleCompat
import androidx.media3.ui.SubtitleView
@@ -95,7 +97,10 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
private const val WATCHDOG_CHECK_INTERVAL_MS = 1000L
private const val WATCHDOG_TIMEOUT_MS = 8000L
private const val DECODER_HANG_TIMEOUT_MS = 5000L
private const val MAX_AUDIO_RECOVERY_ATTEMPTS = 2
private const val FPS_SAMPLE_COUNT = 8
private const val TS_TIMESTAMP_SEARCH_PACKETS = 1800
private val DV_CODEC_PROFILE_REGEX = Regex("""(?:^|,)\s*dvh[1e]\.(\d{2})""")
// Codec capability caches — codec support doesn't change at runtime
private val hwAudioDecoderCache = HashMap<String, Boolean>()
@@ -118,12 +123,16 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
private var surfaceContainer: FrameLayout? = null
private var videoAspectContainer: AspectRatioFrameLayout? = null
private var subtitleView: SubtitleView? = null
private var videoZoomScale: Float = 1.0f
private var assHandler: AssHandler? = null
private var overlayLayoutListener: ViewTreeObserver.OnGlobalLayoutListener? = null
private var lastVideoSize: VideoSize? = null
private var exoPlayer: ExoPlayer? = null
private var renderersFactory: PlezyRenderersFactory? = null
private val subtitleDelayUs = AtomicLong(0L)
private var subtitlePositionPercent: Int = 100
private var subtitleFontSize: Float = 55f
private var lastSubtitleCues: List<Cue> = emptyList()
private var httpDataSourceFactory: HttpDataSource.Factory? = null
private var dataSourceFactory: DefaultDataSource.Factory? = null
private var trackSelector: DefaultTrackSelector? = null
@@ -131,8 +140,9 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
private var tunnelingDisabledForAudioCodec: Boolean = false
private var tunnelingDisabledForVideoCodec: Boolean = false
private var tunnelingDisabledForDecodedTrueHdPcm: Boolean = false
private var tunnelingDisabledForAudioRecovery: Boolean = false
private val tunnelingDisabledForCodec: Boolean
get() = tunnelingDisabledForAudioCodec || tunnelingDisabledForVideoCodec || tunnelingDisabledForDecodedTrueHdPcm
get() = tunnelingDisabledForAudioCodec || tunnelingDisabledForVideoCodec || tunnelingDisabledForDecodedTrueHdPcm || tunnelingDisabledForAudioRecovery
private var currentTunneledPlayback: Boolean = false
private var lastSeekable: Boolean? = null
@@ -148,6 +158,13 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
private var decoderHangRunnable: Runnable? = null
private var decoderInitName: String? = null
private var audioDecoderInitName: String? = null
private var lastAudioTrackConfig: AudioSink.AudioTrackConfig? = null
private val directAudioOutputBlockedAfterFailure = mutableSetOf<String>()
private val loggedDirectAudioRecoveryBlocks = mutableSetOf<String>()
private var audioRecoveryAttempts: Int = 0
private var lastAudioRecoveryAction: String? = null
private var lastAudioRecoveryReason: String? = null
private var lastAudioSinkError: String? = null
private var loggedEwasteEac3Workaround: Boolean = false
private var lastTrueHdDirectOutputLogKey: String? = null
private var loggedDecodedTrueHdTunnelingGuard: Boolean = false
@@ -220,6 +237,13 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
val score: Int
)
private data class DvPlaybackInfo(
val sourceProfile: Int,
val path: String,
val reason: String,
val decoder: String
)
private fun emitLog(level: String, prefix: String, message: String) {
when (level) {
"error" -> Log.e(TAG, "[$prefix] $message")
@@ -295,12 +319,24 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
private var dvMode: DvConversionMode = DvConversionMode.DISABLED
private var debugDvModeOverride: DvConversionMode? = null
private var dv7RetryAttempted = false
private var currentVideoFormat: Format? = null
private var loggedNativeDvSelectionKey: String? = null
private var loggedNativeDvFirstFrame = false
private var loggedDvPlaybackPathKey: String? = null
private var lastDvPlaybackInfo: DvPlaybackInfo? = null
@Volatile private var activeDoviMkvWrapper: DoviExtractorWrapper? = null
@Volatile private var activeDoviMp4Wrapper: DoviExtractorWrapper? = null
private fun getConfiguredDvMode(): DvConversionMode = debugDvModeOverride ?: DoviBridge.getConversionMode()
private fun getConfiguredDvMode(): DvConversionMode {
val override = debugDvModeOverride
if (override != null) return override
val decision = DoviBridge.getConversionDecision(activity)
emitLog("info", "dv-auto", decision.logMessage())
return decision.mode
}
fun initialize(bufferSizeBytes: Int? = null, tunnelingEnabled: Boolean = true): Boolean {
if (isInitialized) {
@@ -310,10 +346,10 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
tunnelingUserEnabled = tunnelingEnabled
this.dvMode = getConfiguredDvMode()
DoviBridge.logSupportSummary(activity)
Log.i(
TAG,
"DV conversion: mode=$dvMode, bridge=${DoviBridge.isAvailable()}, " +
"deviceDV7=${DoviBridge.deviceSupportsDvProfile7}, deviceDV8=${DoviBridge.deviceSupportsDvProfile8}"
"DV conversion: mode=$dvMode, override=${debugDvModeOverride?.name ?: "AUTO"}"
)
disposing = false
@@ -421,7 +457,6 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
// encoded audio track when capabilities come back. See androidx/media#2258.
.setAllowInvalidateSelectionsOnRendererCapabilitiesChange(true)
.setTrackTypeDisabled(C.TRACK_TYPE_TEXT, false)
.setPreferredTextLanguage("en")
)
}
@@ -431,7 +466,7 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
// Use DefaultRenderersFactory with FFmpeg fallback for unsupported or blocked audio codecs.
val renderersFactory = PlezyRenderersFactory(activity).apply {
audioDiagnosticsLogger = { level, prefix, message -> emitLog(level, prefix, message) }
shouldBlockDirectTrueHd = { format -> this@ExoPlayerCore.shouldBlockDirectTrueHd(format, "sink support") }
shouldBlockDirectAudioOutput = { format -> this@ExoPlayerCore.shouldBlockDirectAudioOutput(format, "sink support") }
onAudioCapabilitiesChanged = { updateAudioDecoderPolicy("audio capabilities changed") }
setEnableDecoderFallback(true)
setExtensionRendererMode(DefaultRenderersFactory.EXTENSION_RENDERER_MODE_ON)
@@ -456,6 +491,9 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
.setReadTimeoutMs(10_000)
dataSourceFactory = DefaultDataSource.Factory(activity, httpDataSourceFactory!!)
val extractorsFactory = DefaultExtractorsFactory()
// High-bitrate Plex DVR MPEG-TS recordings can have sparse PCR packets; the default
// 600-packet window may leave duration unknown and seeking disabled.
.setTsExtractorTimestampSearchBytes(TS_TIMESTAMP_SEARCH_PACKETS * TsExtractor.TS_PACKET_SIZE)
// Inline buildWithAssSupport to retain AssHandler reference for font scale control.
// OVERLAY_OPEN_GL uses TextureView which follows normal View hierarchy z-ordering,
@@ -723,12 +761,15 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
// With OVERLAY_CANVAS mode, ASS subtitles are rendered directly by AssSubtitleView
// This callback is for non-ASS subtitles (SRT, VTT, etc.)
val incoming = cueGroup.cues
val outgoing = stackUnpositionedCues(incoming)
lastSubtitleCues = incoming
val stacked = stackUnpositionedCues(incoming)
val outgoing = applySubtitlePosition(stacked)
if (incoming.isNotEmpty()) {
Log.d(
TAG,
"onCues: received ${incoming.size} cues (non-ASS)" +
if (outgoing !== incoming) " — stacked" else ""
(if (stacked !== incoming) " - stacked" else "") +
(if (outgoing !== stacked) " - positioned" else "")
)
}
subtitleView?.setCues(outgoing)
@@ -762,6 +803,44 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
return rebuilt
}
private fun applySubtitlePosition(cues: List<Cue>): List<Cue> {
val clampedPosition = subtitlePositionPercent.coerceIn(0, 100)
if (clampedPosition == 100 || cues.isEmpty()) return cues
val baseLine = clampedPosition / 100f
val rowHeight = (subtitleFontSize / 720f * 1.2f).coerceAtLeast(0.01f)
var changed = false
val rebuilt = cues.map { cue ->
if (!usesDefaultVerticalPlacement(cue)) return@map cue
val rowOffset = if (cue.lineType == Cue.LINE_TYPE_NUMBER && cue.line < 0f) {
(-cue.line - 1f).coerceAtLeast(0f)
} else {
0f
}
val line = if (clampedPosition == 0) {
(rowOffset * rowHeight).coerceAtMost(1f)
} else {
(baseLine - rowOffset * rowHeight).coerceIn(0f, 1f)
}
val lineAnchor = if (clampedPosition == 0) Cue.ANCHOR_TYPE_START else Cue.ANCHOR_TYPE_END
changed = true
cue.buildUpon()
.setLine(line, Cue.LINE_TYPE_FRACTION)
.setLineAnchor(lineAnchor)
.build()
}
return if (changed) rebuilt else cues
}
private fun usesDefaultVerticalPlacement(cue: Cue): Boolean {
if (cue.text == null || cue.bitmap != null || cue.verticalType != Cue.TYPE_UNSET) return false
return cue.line == Cue.DIMEN_UNSET || (cue.lineType == Cue.LINE_TYPE_NUMBER && cue.line < 0f)
}
override fun onIsPlayingChanged(isPlaying: Boolean) {
Log.d(TAG, "onIsPlayingChanged: $isPlaying")
if (isPlaying) pendingPlayWhenReady = null
@@ -840,11 +919,16 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
val audioGroup = tracks.groups.firstOrNull { it.type == C.TRACK_TYPE_AUDIO && it.isSelected }
if (videoGroup != null) {
val vf = videoGroup.mediaTrackGroup.getFormat(0)
currentVideoFormat = vf
val hdr = vf.colorInfo?.let { ci ->
val transfer = ci.colorTransfer
if (transfer != null && transfer != 0) " HDR(transfer=$transfer)" else ""
} ?: ""
emitLog("info", "tracks", "Video: ${vf.codecs} ${vf.width}x${vf.height}$hdr")
logNativeDvSelectionIfNeeded(vf)
logDolbyVisionPlaybackPathIfNeeded()
} else {
currentVideoFormat = null
}
if (audioGroup != null) {
val af = audioGroup.mediaTrackGroup.getFormat(0)
@@ -897,6 +981,8 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
return
}
if (retryAfterAudioTrackError(error, causeChain)) return
if (currentMediaUri != null) {
Log.w(TAG, "ExoPlayer error (code ${error.errorCode}) - attempting fallback to MPV")
val handled = delegate?.onFormatUnsupported(
@@ -918,22 +1004,227 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
)
}
private fun retryAfterAudioTrackError(error: PlaybackException, causeChain: String): Boolean {
if (!isAudioTrackError(error.errorCode)) return false
val player = exoPlayer ?: return false
val uri = currentMediaUri ?: return false
if (audioRecoveryAttempts >= MAX_AUDIO_RECOVERY_ATTEMPTS) {
emitLog(
"warn",
"audio-recovery",
"ExoPlayer audio recovery exhausted after $audioRecoveryAttempts attempts for ${PlaybackException.getErrorCodeName(error.errorCode)}"
)
return false
}
val selectedFormat = selectedAudioFormat()
val errorFormat = (error as? ExoPlaybackException)?.rendererFormat?.takeIf { format ->
format.sampleMimeType?.startsWith("audio/") == true
}
val recoveryFormat = selectedFormat ?: errorFormat
val actions = mutableListOf<String>()
recoveryFormat?.sampleMimeType
?.takeIf { isEncodedAudioMimeType(it) }
?.let { mimeType ->
if (directAudioOutputBlockedAfterFailure.add(mimeType)) {
actions.add("force-decoded-pcm($mimeType)")
}
}
if (!tunnelingDisabledForAudioRecovery) {
tunnelingDisabledForAudioRecovery = true
actions.add("disable-tunneling")
}
if (actions.isEmpty()) actions.add("reload")
audioRecoveryAttempts++
val savedPosition = maxOf(player.currentPosition, lastPosition, pendingStartPositionMs)
val savedPlayWhenReady = player.playWhenReady
val previousAudioTrackConfig = lastAudioTrackConfig
pendingStartPositionMs = savedPosition
pendingPlayWhenReady = savedPlayWhenReady
audioDecoderInitName = null
lastAudioTrackConfig = null
lastAudioRecoveryAction = actions.joinToString(",")
lastAudioRecoveryReason = "${PlaybackException.getErrorCodeName(error.errorCode)}: ${error.message ?: causeChain.ifEmpty { "unknown" }}"
stopFrameWatchdog()
cancelDecoderHangCheck()
applyTrackSelectorPolicy(reason = "audio recovery", forceSelector = true)
emitLog(
"warn",
"audio-recovery",
"Retrying in ExoPlayer ($audioRecoveryAttempts/$MAX_AUDIO_RECOVERY_ATTEMPTS) at ${savedPosition}ms; " +
"format=${recoveryFormat?.let { formatAudioSummary(it) } ?: "unknown"}, " +
"lastOutput=${describeAudioTrackConfig(previousAudioTrackConfig)}, actions=$lastAudioRecoveryAction"
)
if (!setCurrentMediaForRetry(player, uri, savedPosition)) return false
player.prepare()
player.playWhenReady = savedPlayWhenReady
return true
}
private fun isAudioTrackError(errorCode: Int): Boolean = when (errorCode) {
PlaybackException.ERROR_CODE_AUDIO_TRACK_INIT_FAILED,
PlaybackException.ERROR_CODE_AUDIO_TRACK_WRITE_FAILED,
PlaybackException.ERROR_CODE_AUDIO_TRACK_OFFLOAD_INIT_FAILED,
PlaybackException.ERROR_CODE_AUDIO_TRACK_OFFLOAD_WRITE_FAILED -> true
else -> false
}
private fun isEncodedAudioMimeType(mimeType: String): Boolean = mimeType.startsWith("audio/") && mimeType != MimeTypes.AUDIO_RAW
private fun setCurrentMediaForRetry(player: ExoPlayer, uri: String, positionMs: Long): Boolean {
if (currentMediaIsLive) {
val factory = dataSourceFactory ?: return false
val extractorsFactory = androidx.media3.extractor.ExtractorsFactory {
arrayOf(MatroskaExtractor(MatroskaExtractor.FLAG_DISABLE_SEEK_FOR_CUES))
}
val mediaSource = ProgressiveMediaSource.Factory(factory, extractorsFactory)
.createMediaSource(MediaItem.fromUri(uri))
player.setMediaSource(mediaSource, positionMs)
} else {
player.setMediaItem(buildMediaItem(uri), positionMs)
}
return true
}
private fun activeDoviTrackOutput(): DoviConvertingTrackOutput? = activeDoviMkvWrapper?.doviTrackOutput ?: activeDoviMp4Wrapper?.doviTrackOutput
private fun dolbyVisionProfile(format: Format?): Int? {
val codecs = format?.codecs?.lowercase() ?: return null
return DV_CODEC_PROFILE_REGEX.find(codecs)?.groupValues?.getOrNull(1)?.toIntOrNull()
}
private fun isDvProfile7Format(format: Format): Boolean = dolbyVisionProfile(format) == 7
private fun buildDvPlaybackInfo(format: Format?, decoderName: String?): DvPlaybackInfo? {
val doviTrack = activeDoviTrackOutput()
val conversionActive = doviTrack?.conversionActive == true
val sourceProfile = if (conversionActive) 7 else (dolbyVisionProfile(format) ?: return null)
val decoder = decoderName ?: decoderInitName ?: getVideoDecoderInfo(format) ?: "unknown"
val mimeType = format?.sampleMimeType
val (path, reason) = when {
sourceProfile == 7 && dvMode == DvConversionMode.DV81 ->
"P7 -> P8.1" to "Profile 7 conversion is active; RPU metadata is converted to Profile 8.1"
sourceProfile == 7 && dvMode == DvConversionMode.HEVC_STRIP ->
"P7 -> HEVC" to "Profile 7 HEVC strip is active; DV RPU/EL metadata is removed"
sourceProfile == 7 ->
"Native DV P7" to "Profile 7 conversion is disabled; trying native Dolby Vision decode"
sourceProfile == 8 && mimeType != MimeTypes.VIDEO_DOLBY_VISION ->
"HDR fallback" to "Profile 8 is being decoded through the HEVC/HDR10-compatible path"
sourceProfile == 8 ->
"DV P8 passthrough" to "Profile 8 is being passed through the native Dolby Vision-capable path"
else ->
"Native DV P$sourceProfile" to "Dolby Vision profile $sourceProfile is being sent to the native decoder path"
}
return DvPlaybackInfo(
sourceProfile = sourceProfile,
path = path,
reason = reason,
decoder = decoder
)
}
private fun logDolbyVisionPlaybackPathIfNeeded(decoderName: String? = decoderInitName) {
val format = currentVideoFormat ?: exoPlayer?.videoFormat ?: return
val info = buildDvPlaybackInfo(format, decoderName) ?: return
lastDvPlaybackInfo = info
val key = "${info.sourceProfile}|${format.sampleMimeType}|${format.codecs}|${info.decoder}|${info.path}|$dvMode"
if (loggedDvPlaybackPathKey == key) return
loggedDvPlaybackPathKey = key
emitLog(
"info",
"dv-playback",
"DV source: profile=${info.sourceProfile}, path=${info.path}, reason=${info.reason}, " +
"mime=${format.sampleMimeType}, codecs=${format.codecs}, decoder=${info.decoder}, p7Mode=$dvMode, " +
"displayDV=${DoviBridge.displaySupportsDolbyVision(activity)}, " +
"advertisedP7=${DoviBridge.deviceSupportsDvProfile7}, advertisedP8=${DoviBridge.deviceSupportsDvProfile8}"
)
}
private fun findDv7VideoFormat(): Format? {
currentVideoFormat?.takeIf { isDvProfile7Format(it) }?.let { return it }
val tracks = exoPlayer?.currentTracks ?: return null
for (group in tracks.groups) {
if (group.type != C.TRACK_TYPE_VIDEO) continue
for (i in 0 until group.mediaTrackGroup.length) {
val format = group.mediaTrackGroup.getFormat(i)
if (isDvProfile7Format(format)) return format
}
}
return null
}
private fun describeVideoFormat(format: Format?): String {
if (format == null) return "none"
return "mime=${format.sampleMimeType}, codecs=${format.codecs}, size=${format.width}x${format.height}"
}
private fun logNativeDvSelectionIfNeeded(format: Format) {
if (dvMode != DvConversionMode.DISABLED || !isDvProfile7Format(format)) return
val key = "${format.sampleMimeType}|${format.codecs}|${format.width}x${format.height}"
if (loggedNativeDvSelectionKey == key) return
loggedNativeDvSelectionKey = key
emitLog(
"info",
"dv-native",
"Selected DV Profile 7 for native playback: ${describeVideoFormat(format)}, " +
"displayDV=${DoviBridge.displaySupportsDolbyVision(activity)}, " +
"nativeDecoder=${DoviBridge.hasNativeDolbyVisionDecoder}, " +
"advertisedP7=${DoviBridge.deviceSupportsDvProfile7}, advertisedP8=${DoviBridge.deviceSupportsDvProfile8}"
)
}
private fun logNativeDvFirstFrameIfNeeded() {
if (loggedNativeDvFirstFrame || dvMode != DvConversionMode.DISABLED) return
val format = currentVideoFormat ?: return
if (!isDvProfile7Format(format)) return
loggedNativeDvFirstFrame = true
emitLog(
"info",
"dv-native",
"Native DV Profile 7 playback confirmed: ${describeVideoFormat(format)}, decoder=${decoderInitName ?: "unknown"}"
)
}
/**
* When native DV7 decoding fails (device falsely advertises DV7 support),
* upgrade to DV7→8.1 conversion or HEVC strip and reload the media.
* Returns true if retry was initiated.
* When native DV7 decoding fails, upgrade to DV7→8.1 conversion or HEVC strip
* and reload the media. Returns true if retry was initiated.
*/
private fun retryWithDvConversion(reason: String): Boolean {
if (dv7RetryAttempted) return false
if (debugDvModeOverride == DvConversionMode.DISABLED) return false
if (dvMode != DvConversionMode.DISABLED) return false
if (!DoviBridge.isAvailable()) return false
if (debugDvModeOverride == DvConversionMode.DISABLED) {
emitLog("debug", "dv-fallback", "Skipping DV conversion retry for $reason: native/disabled mode is forced")
return false
}
if (dvMode != DvConversionMode.DISABLED) {
emitLog("debug", "dv-fallback", "Skipping DV conversion retry for $reason: conversion already active ($dvMode)")
return false
}
if (currentMediaUri == null) return false
val dv7Format = findDv7VideoFormat()
if (dv7Format == null) {
emitLog(
"debug",
"dv-fallback",
"Skipping DV conversion retry for $reason: current video is not DV Profile 7 (${describeVideoFormat(currentVideoFormat)})"
)
return false
}
dv7RetryAttempted = true
val newMode = DoviBridge.getDv7FallbackMode()
val fallbackDecision = DoviBridge.getDv7FallbackDecision(activity)
val newMode = fallbackDecision.mode
dvMode = newMode
Log.i(TAG, "Native DV7 playback failed ($reason), retrying with $newMode")
Log.i(TAG, "Native DV7 playback failed ($reason, ${describeVideoFormat(dv7Format)}), retrying with $newMode")
emitLog("info", "dv-fallback", "${fallbackDecision.logMessage()}; trigger=$reason")
emitLog("info", "dv-fallback", "DV7 native failed ($reason), retrying as $newMode")
return reloadCurrentMediaForDvMode()
@@ -973,18 +1264,26 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
val containerHeight = contentView.height
if (containerWidth == 0 || containerHeight == 0) return
// In cover/stretch modes subtitles stay at container size so they never get
// cropped or distorted. In letterbox mode they follow the video rect so they
// anchor to the bottom of the video (matching MPV's default sub positioning).
// In cover/stretch/zoomed-in modes subtitles stay at container size so they
// never get cropped. In letterbox mode they follow the visible video rect.
val isLetterbox = videoAspectContainer?.resizeMode == AspectRatioFrameLayout.RESIZE_MODE_FIT
val (subWidth, subHeight) = if (isLetterbox) {
val videoAspect = (videoWidth * pixelRatio) / videoHeight
val containerAspect = containerWidth.toFloat() / containerHeight
if (videoAspect > containerAspect) {
val (baseWidth, baseHeight) = if (videoAspect > containerAspect) {
containerWidth to (containerWidth / videoAspect).toInt()
} else {
(containerHeight * videoAspect).toInt() to containerHeight
}
if (videoZoomScale < 0.999f) {
val zoomedWidth = ((baseWidth * videoZoomScale).toInt()).coerceAtLeast(1)
val zoomedHeight = ((baseHeight * videoZoomScale).toInt()).coerceAtLeast(1)
zoomedWidth to zoomedHeight
} else if (videoZoomScale > 1.001f) {
containerWidth to containerHeight
} else {
baseWidth to baseHeight
}
} else {
containerWidth to containerHeight
}
@@ -1015,6 +1314,21 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
}
}
fun setVideoZoom(scale: Double) {
if (disposing) return
val clamped = scale.coerceIn(0.5, 2.0).toFloat()
activity.runOnUiThread {
videoZoomScale = clamped
videoAspectContainer?.scaleX = clamped
videoAspectContainer?.scaleY = clamped
lastVideoSize?.let { vs ->
if (vs.width > 0 && vs.height > 0) {
updateSubtitleViewSize(vs.width, vs.height, vs.pixelWidthHeightRatio)
}
}
}
}
private fun emitTrackList() {
val player = exoPlayer ?: return
val tracks = player.currentTracks
@@ -1342,6 +1656,7 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
private data class TrueHdDirectOutputDecision(
val blockDirectOutput: Boolean,
val decisionSource: String,
val platformProbe: String,
val media3Probe: String,
val routeSummary: String
@@ -1353,6 +1668,21 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
return decision.blockDirectOutput
}
private fun shouldBlockDirectAudioOutput(format: Format, reason: String): Boolean {
val mimeType = format.sampleMimeType ?: return false
if (directAudioOutputBlockedAfterFailure.contains(mimeType)) {
if (loggedDirectAudioRecoveryBlocks.add("$mimeType|$reason")) {
emitLog(
"info",
"audio-recovery",
"Direct $mimeType output disabled after AudioTrack failure (reason=$reason); decoded PCM will be preferred"
)
}
return true
}
return mimeType == MimeTypes.AUDIO_TRUEHD && shouldBlockDirectTrueHd(format, reason)
}
private fun updateAudioDecoderPolicy(reason: String, format: Format? = null) {
if (format != null && format.sampleMimeType != MimeTypes.AUDIO_TRUEHD) return
val decision = evaluateTrueHdDirectOutput(format)
@@ -1408,15 +1738,19 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
"media3Passthrough=error(${e.javaClass.simpleName}: ${e.message})"
}
val blockDirectOutput = when {
Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU && platformSupported != null -> !platformSupported
media3Supported != null -> !media3Supported
platformSupported != null -> !platformSupported
else -> false
// Match the Media3 sink selection path first; Android's direct bitstream flag can
// disagree on TV routes and incorrectly force TrueHD/Atmos to decoded PCM.
val (blockDirectOutput, decisionSource) = when {
media3Supported == true -> false to "media3-passthrough"
media3Supported == false -> true to "media3-passthrough"
platformSupported == true -> false to "platform-direct"
platformSupported == false -> true to "platform-direct"
else -> false to "unknown-allow"
}
return TrueHdDirectOutputDecision(
blockDirectOutput = blockDirectOutput,
decisionSource = decisionSource,
platformProbe = platformProbe,
media3Probe = media3Probe,
routeSummary = summarizeAudioOutputRoutes(audioAttributes)
@@ -1426,6 +1760,7 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
private fun logTrueHdDirectOutputDecision(reason: String, format: Format?, decision: TrueHdDirectOutputDecision) {
val key = listOf(
decision.blockDirectOutput,
decision.decisionSource,
decision.platformProbe,
decision.media3Probe,
decision.routeSummary,
@@ -1440,7 +1775,7 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
"info",
"audio",
"TrueHD direct output ${if (decision.blockDirectOutput) "disabled (decoded PCM fallback)" else "allowed"} " +
"(reason=$reason, format=${formatAudioSummary(trueHdProbeFormat(format))}, " +
"(reason=$reason, decision=${decision.decisionSource}, format=${formatAudioSummary(trueHdProbeFormat(format))}, " +
"${decision.platformProbe}, ${decision.media3Probe}, route=${decision.routeSummary})"
)
}
@@ -1700,7 +2035,7 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
currentTunneledPlayback = shouldTunnel
val speed = exoPlayer?.playbackParameters?.speed ?: 1f
val audioDelayActive = (renderersFactory?.audioDelayUs?.get() ?: 0L) != 0L
emitLog("info", "tunneling", "Toggling tunneling=$shouldTunnel (reason=$reason, user=$tunnelingUserEnabled, speed=$speed, audioCodecDisabled=$tunnelingDisabledForAudioCodec, videoCodecDisabled=$tunnelingDisabledForVideoCodec, decodedTrueHdPcmDisabled=$tunnelingDisabledForDecodedTrueHdPcm, audioDelay=$audioDelayActive)")
emitLog("info", "tunneling", "Toggling tunneling=$shouldTunnel (reason=$reason, user=$tunnelingUserEnabled, speed=$speed, audioCodecDisabled=$tunnelingDisabledForAudioCodec, videoCodecDisabled=$tunnelingDisabledForVideoCodec, decodedTrueHdPcmDisabled=$tunnelingDisabledForDecodedTrueHdPcm, audioRecoveryDisabled=$tunnelingDisabledForAudioRecovery, audioDelay=$audioDelayActive)")
return true
}
@@ -1767,6 +2102,13 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
return parts.joinToString(", ")
}
private fun describeAudioTrackConfig(config: AudioSink.AudioTrackConfig?): String {
if (config == null) return "none"
return "encoding=${config.encoding}, channels=${Integer.bitCount(config.channelConfig)}, " +
"channelConfig=0x${config.channelConfig.toString(16)}, buffer=${config.bufferSize}B, " +
"tunneling=${config.tunneling}, offload=${config.offload}"
}
// Decoder hang detection via AnalyticsListener:
// Tracks the gap between onVideoDecoderInitialized and onRenderedFirstFrame.
// If the decoder is initialized and fed input but never produces output, it's hung
@@ -1781,6 +2123,7 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
decoderInitName = decoderName
firstFrameRendered = false
emitLog("debug", "decoder-hang", "Decoder initialized: $decoderName (${initializationDurationMs}ms)")
logDolbyVisionPlaybackPathIfNeeded(decoderName)
startDecoderHangCheck(decoderName)
}
@@ -1825,6 +2168,7 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
}
override fun onAudioSinkError(eventTime: AnalyticsListener.EventTime, audioSinkError: Exception) {
lastAudioSinkError = "${audioSinkError.javaClass.name}: ${audioSinkError.message}"
emitLog("warn", "audio", "Sink error: ${audioSinkError.javaClass.name}: ${audioSinkError.message}")
}
@@ -1836,14 +2180,14 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
eventTime: AnalyticsListener.EventTime,
audioTrackConfig: AudioSink.AudioTrackConfig
) {
lastAudioTrackConfig = audioTrackConfig
val audioFormat = selectedAudioFormat()
emitLog(
"info",
"audio",
"AudioTrack initialized: encoding=${audioTrackConfig.encoding}, sampleRate=${audioTrackConfig.sampleRate}, " +
"channelConfig=0x${audioTrackConfig.channelConfig.toString(16)}, buffer=${audioTrackConfig.bufferSize}B, " +
"tunneling=${audioTrackConfig.tunneling}, offload=${audioTrackConfig.offload}"
"AudioTrack initialized: input=${audioFormat?.let { formatAudioSummary(it) } ?: "unknown"}, " +
"decoder=${audioDecoderInitName ?: "direct/bypass"}, ${describeAudioTrackConfig(audioTrackConfig)}"
)
val audioFormat = selectedAudioFormat()
if (audioFormat?.sampleMimeType == MimeTypes.AUDIO_TRUEHD) {
if (audioTrackConfig.tunneling && isPcmEncoding(audioTrackConfig.encoding)) {
if (!loggedDecodedTrueHdTunnelingGuard) {
@@ -1883,6 +2227,8 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
firstFrameRendered = true
cancelDecoderHangCheck()
emitLog("debug", "decoder-hang", "First frame rendered — decoder OK")
logNativeDvFirstFrameIfNeeded()
logDolbyVisionPlaybackPathIfNeeded()
// STATE_READY fires when the player has enough buffered to start, but
// the first frame may not be on screen yet (decoder init + keyframe
// decode). The MPV-parity `playback-restart` event consumers (Dart
@@ -2005,7 +2351,7 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
startPositionMs: Long,
autoPlay: Boolean,
isLive: Boolean = false,
externalSubtitleList: List<Map<String, String?>>? = null
externalSubtitleList: List<Map<String, Any?>>? = null
) {
if (!isInitialized) return
@@ -2023,6 +2369,18 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
decoderInitName = null
audioDecoderInitName = null
lastAudioTrackConfig = null
lastAudioSinkError = null
audioRecoveryAttempts = 0
lastAudioRecoveryAction = null
lastAudioRecoveryReason = null
directAudioOutputBlockedAfterFailure.clear()
loggedDirectAudioRecoveryBlocks.clear()
currentVideoFormat = null
loggedNativeDvSelectionKey = null
loggedNativeDvFirstFrame = false
loggedDvPlaybackPathKey = null
lastDvPlaybackInfo = null
loggedDecodedTrueHdTunnelingGuard = false
updateAudioDecoderPolicy("open")
currentMediaUri = uri
@@ -2037,6 +2395,7 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
externalSubtitles.clear()
externalSubtitleUris.clear()
lastSubtitleCues = emptyList()
audioTrackGroupMap.clear()
subtitleTrackGroupMap.clear()
selectedAudioTrackId = null
@@ -2045,12 +2404,22 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
// Build external subtitle configurations (attached to MediaItem before prepare)
externalSubtitleList?.forEachIndexed { index, sub ->
val subUri = sub["uri"] ?: return@forEachIndexed
val subUri = sub["uri"] as? String ?: return@forEachIndexed
val title = sub["title"] as? String
val language = sub["language"] as? String
val codec = sub["codec"] as? String
val mimeType = sub["mimeType"] as? String
val isDefault = sub["isDefault"] as? Boolean ?: false
val isForced = sub["isForced"] as? Boolean ?: false
val selectionFlags =
(if (isDefault) C.SELECTION_FLAG_DEFAULT else 0) or
(if (isForced) C.SELECTION_FLAG_FORCED else 0)
val config = MediaItem.SubtitleConfiguration.Builder(Uri.parse(subUri))
.setId("external_$index")
.setLabel(sub["title"] ?: "External")
.setLanguage(sub["language"])
.setMimeType(sub["mimeType"] ?: detectSubtitleMimeType(subUri))
.setLabel(title ?: "External")
.setLanguage(language)
.setMimeType(mimeType ?: subtitleMimeTypeForCodec(codec) ?: detectSubtitleMimeType(subUri))
.setSelectionFlags(selectionFlags)
.build()
externalSubtitles.add(config)
externalSubtitleUris.add(subUri)
@@ -2058,6 +2427,7 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
tunnelingDisabledForAudioCodec = false
tunnelingDisabledForVideoCodec = false
tunnelingDisabledForDecodedTrueHdPcm = false
tunnelingDisabledForAudioRecovery = false
currentTunneledPlayback = false
pendingStartPositionMs = startPositionMs
pendingPlayWhenReady = autoPlay
@@ -2065,7 +2435,8 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
reason = "open",
forceSelector = true,
clearAudioOverrides = true,
clearTextOverrides = true
clearTextOverrides = true,
textDisabled = true
)
emitSeekable(false, force = true)
@@ -2126,7 +2497,7 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
activeDoviMkvWrapper = null
activeDoviMp4Wrapper = null
val debugMode = override?.name ?: "AUTO"
emitLog("info", "dv-debug", "Debug DV conversion mode set to $debugMode (active=$dvMode)")
emitLog("info", "dv-debug", "P7 DV conversion mode set to $debugMode (active=$dvMode)")
reloadCurrentMediaForDvMode()
return true
}
@@ -2153,6 +2524,11 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
detectedFrameRate = -1f
fpsTimestampCount = 0
firstFrameRendered = false
currentVideoFormat = null
loggedNativeDvSelectionKey = null
loggedNativeDvFirstFrame = false
loggedDvPlaybackPathKey = null
lastDvPlaybackInfo = null
activeDoviMkvWrapper = null
activeDoviMp4Wrapper = null
stopFrameWatchdog()
@@ -2329,6 +2705,14 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
}
}
private fun subtitleMimeTypeForCodec(codec: String?): String? = when (codec?.lowercase()) {
"srt", "subrip" -> MimeTypes.APPLICATION_SUBRIP
"ass", "ssa" -> MimeTypes.TEXT_SSA
"webvtt", "vtt" -> MimeTypes.TEXT_VTT
"ttml" -> MimeTypes.APPLICATION_TTML
else -> null
}
fun setVisible(visible: Boolean) {
if (disposing) return
currentVisible = visible
@@ -2391,24 +2775,24 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
val fraction = fontSize / 720f
subtitleView?.setFractionalTextSize(fraction)
// Subtitle position: adjust gravity and bottom padding
// Subtitle position: VTT default cues arrive with explicit line numbers,
// so app positioning is applied at cue level below.
val clampedPosition = subtitlePosition.coerceIn(0, 100)
val gravity = when {
clampedPosition <= 33 -> Gravity.TOP
clampedPosition <= 66 -> Gravity.CENTER
else -> Gravity.BOTTOM
}
(subtitleView?.layoutParams as? FrameLayout.LayoutParams)?.let { params ->
params.gravity = gravity or Gravity.CENTER_HORIZONTAL
subtitleView?.layoutParams = params
}
// Fine-grained positioning within bottom region via bottom padding fraction
subtitlePositionPercent = clampedPosition
subtitleFontSize = fontSize
// Cue-level positioning handles default VTT/SRT placement, whose line
// numbers bypass SubtitleView bottom padding. Authored VTT line positions
// are preserved in applySubtitlePosition().
if (clampedPosition > 66) {
val bottomFraction = (100 - clampedPosition) / 100f
subtitleView?.setBottomPaddingFraction(bottomFraction)
} else {
subtitleView?.setBottomPaddingFraction(0f)
}
if (lastSubtitleCues.isNotEmpty()) {
subtitleView?.setCues(applySubtitlePosition(stackUnpositionedCues(lastSubtitleCues)))
}
// 2. ASS subtitles: font scale via libass
// MPV default sub-font-size is 38
@@ -2474,7 +2858,7 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
onComplete(false)
return
}
mgr.setVideoFrameRate(fps, videoDurationMs, surfaceView?.holder?.surface, extraDelayMs, onComplete)
mgr.setVideoFrameRate(fps, videoDurationMs, extraDelayMs, onComplete)
}
fun clearVideoFrameRate() {
@@ -2501,9 +2885,12 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
val player = exoPlayer ?: return emptyMap()
val videoFormat = player.videoFormat
val audioFormat = player.audioFormat
val audioTrackConfig = lastAudioTrackConfig
// Get decoder info from the format's codecs field and check if hardware accelerated
val videoDecoderInfo = getVideoDecoderInfo(videoFormat)
val videoDecoderName = decoderInitName ?: videoDecoderInfo
val dvPlaybackInfo = buildDvPlaybackInfo(videoFormat, videoDecoderName) ?: lastDvPlaybackInfo
return mapOf(
// Video metrics
@@ -2513,7 +2900,7 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
"videoHeight" to videoFormat?.height,
"videoFps" to (videoFormat?.frameRate?.takeIf { it > 0 } ?: detectedFrameRate.takeIf { it > 0 }),
"videoBitrate" to videoFormat?.bitrate,
"videoDecoderName" to (decoderInitName ?: videoDecoderInfo),
"videoDecoderName" to videoDecoderName,
"videoDroppedFrames" to player.videoDecoderCounters?.droppedBufferCount,
"videoRenderedFrames" to player.videoDecoderCounters?.renderedOutputBufferCount,
// Color info
@@ -2528,6 +2915,17 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
"audioChannels" to audioFormat?.channelCount,
"audioBitrate" to audioFormat?.bitrate,
"audioDecoderName" to audioDecoderInitName,
"audioOutputEncoding" to audioTrackConfig?.encoding,
"audioOutputChannels" to audioTrackConfig?.channelConfig?.let { Integer.bitCount(it) },
"audioOutputChannelConfig" to audioTrackConfig?.channelConfig,
"audioOutputTunneling" to audioTrackConfig?.tunneling,
"audioOutputOffload" to audioTrackConfig?.offload,
"audioOutputBufferSize" to audioTrackConfig?.bufferSize,
"audioLastSinkError" to lastAudioSinkError,
"audioRecoveryAttempts" to audioRecoveryAttempts,
"audioRecoveryLastAction" to lastAudioRecoveryAction,
"audioRecoveryLastReason" to lastAudioRecoveryReason,
"audioDirectOutputBlockedMimes" to directAudioOutputBlockedAfterFailure.toList(),
// Tunneling
"tunneledPlayback" to currentTunneledPlayback,
"tunnelingStatus" to getTunnelingStatus(player),
@@ -2548,8 +2946,13 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
"dvConversionActive" to (dovi?.conversionActive == true),
"dvConversionMode" to dvMode.name,
"dvConversionDebugMode" to (debugDvModeOverride?.name ?: "AUTO"),
"dvSourceProfile" to dvPlaybackInfo?.sourceProfile,
"dvPlaybackPath" to dvPlaybackInfo?.path,
"dvPlaybackReason" to dvPlaybackInfo?.reason,
"dvStrippedInitNals" to (dovi?.strippedInitNalCount ?: 0L),
"dvStrippedNals" to (dovi?.strippedNalCount ?: 0L),
"dvStrippedRpuNals" to (dovi?.strippedRpuNalCount ?: 0L),
"dvStrippedElNals" to (dovi?.strippedElNalCount ?: 0L),
"dvConvertedRpus" to (dovi?.convertedRpuCount ?: 0L),
"dvRpuConversionFailures" to (dovi?.rpuConversionFailureCount ?: 0L),
"dvRpuOutputTooSmall" to (dovi?.rpuOutputTooSmallCount ?: 0L),
@@ -2590,6 +2993,7 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
if (currentTunneledPlayback) return "Active"
if (!tunnelingUserEnabled) return "Disabled by user"
if (player.playbackParameters.speed != 1f) return "Off (speed ≠ 1×)"
if (tunnelingDisabledForAudioRecovery) return "Off (audio recovery)"
if (tunnelingDisabledForDecodedTrueHdPcm) return "Off (decoded TrueHD PCM)"
if (tunnelingDisabledForVideoCodec) return "Off (video codec unsupported)"
if (tunnelingDisabledForAudioCodec) return "Off (no HW audio decoder)"
@@ -2626,9 +3030,17 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
decoderInitName = null
audioDecoderInitName = null
lastAudioTrackConfig = null
lastAudioSinkError = null
audioRecoveryAttempts = 0
lastAudioRecoveryAction = null
lastAudioRecoveryReason = null
directAudioOutputBlockedAfterFailure.clear()
loggedDirectAudioRecoveryBlocks.clear()
tunnelingDisabledForAudioCodec = false
tunnelingDisabledForVideoCodec = false
tunnelingDisabledForDecodedTrueHdPcm = false
tunnelingDisabledForAudioRecovery = false
currentTunneledPlayback = false
pendingStartPositionMs = 0L
pendingPlayWhenReady = null
@@ -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)
@@ -239,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)
@@ -259,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")
}
@@ -550,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) {
@@ -5,7 +5,6 @@ import android.media.AudioDeviceInfo
import android.os.Build
import androidx.annotation.OptIn
import androidx.media3.common.Format
import androidx.media3.common.MimeTypes
import androidx.media3.common.PlaybackParameters
import androidx.media3.common.util.Clock
import androidx.media3.common.util.UnstableApi
@@ -29,8 +28,8 @@ class PlezyRenderersFactory(context: Context) : DefaultRenderersFactory(context)
/** Audio delay in microseconds. Shared with PositionFixAudioSink for live updates. */
val audioDelayUs = AtomicLong(0L)
/** Returns whether direct TrueHD output should be hidden so decoded PCM output can be selected. */
var shouldBlockDirectTrueHd: ((Format) -> Boolean)? = null
/** 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
@@ -68,7 +67,7 @@ class PlezyRenderersFactory(context: Context) : DefaultRenderersFactory(context)
defaultSink,
rawPositionUs,
audioDelayUs,
shouldBlockDirectTrueHd,
shouldBlockDirectAudioOutput,
onAudioCapabilitiesChanged,
audioDiagnosticsLogger
)
@@ -101,7 +100,7 @@ private class PositionFixAudioSink(
sink: AudioSink,
private val rawPositionUs: AtomicLong,
private val audioDelayUs: AtomicLong,
private val shouldBlockDirectTrueHd: ((Format) -> Boolean)?,
private val shouldBlockDirectAudioOutput: ((Format) -> Boolean)?,
private val onAudioCapabilitiesChanged: (() -> Unit)?,
private val log: ((String, String, String) -> Unit)?
) : ForwardingAudioSink(sink) {
@@ -117,27 +116,27 @@ private class PositionFixAudioSink(
// Transient counter-offset: after seek/flush, ramp offset from 0 to full
// over recoveryDurationUs to prevent video frame drops.
private var recoveryDurationUs = 0L
private var loggedTrueHdDirectBlock = false
private val loggedDirectBlockMimeTypes = mutableSetOf<String>()
private var loggedFirstBuffer = false
override fun supportsFormat(format: Format): Boolean {
if (blocksDirectTrueHd(format)) return false
if (blocksDirectAudioOutput(format)) return false
return super.supportsFormat(format)
}
override fun getFormatSupport(format: Format): Int {
if (blocksDirectTrueHd(format)) return AudioSink.SINK_FORMAT_UNSUPPORTED
if (blocksDirectAudioOutput(format)) return AudioSink.SINK_FORMAT_UNSUPPORTED
return super.getFormatSupport(format)
}
private fun blocksDirectTrueHd(format: Format): Boolean {
if (format.sampleMimeType != MimeTypes.AUDIO_TRUEHD || shouldBlockDirectTrueHd?.invoke(format) != true) return false
if (!loggedTrueHdDirectBlock) {
loggedTrueHdDirectBlock = true
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 TrueHD output; route does not report TrueHD bitstream support, decoded PCM output will be preferred"
"Blocking direct $mimeType output; decoded PCM output will be preferred"
)
}
return true
@@ -349,6 +348,7 @@ private class RawPositionAudioOutput(
private var loggedFirstWrite = false
private var writeCount = 0L
private var writtenBytes = 0L
private var failed = false
override fun getPositionUs(): Long {
val pos = delegate.getPositionUs()
@@ -362,7 +362,14 @@ private class RawPositionAudioOutput(
@Throws(AudioOutput.WriteException::class)
override fun write(buffer: ByteBuffer, size: Int, presentationTimeUs: Long): Boolean {
val before = buffer.position()
val handled = delegate.write(buffer, size, presentationTimeUs)
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++
@@ -391,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()
@@ -789,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)
}
@@ -7,7 +7,6 @@ import android.os.Build
import android.os.Handler
import android.util.Log
import android.view.Display
import android.view.Surface
import android.view.WindowManager
import androidx.annotation.RequiresApi
import kotlin.math.abs
@@ -20,7 +19,6 @@ 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
@@ -32,11 +30,6 @@ class FrameRateManager(
val error: Float
)
private data class RefreshRateCandidate(
val refreshRate: Float,
val match: RefreshRateMatch
)
@RequiresApi(Build.VERSION_CODES.M)
private data class DisplayModeCandidate(
val mode: Display.Mode,
@@ -53,18 +46,16 @@ class FrameRateManager(
// 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
// 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 with `switched=true` if the real event never arrives, so
// the caller doesn't hang.
// - 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
) {
@@ -80,20 +71,10 @@ class FrameRateManager(
"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)
}
}
@@ -191,14 +172,6 @@ class FrameRateManager(
return null
}
private fun bestRefreshRateCandidate(fps: Float, refreshRates: FloatArray): RefreshRateCandidate? = refreshRates.asSequence()
.mapNotNull { rate -> matchRefreshRate(rate, fps)?.let { RefreshRateCandidate(rate, it) } }
.minWithOrNull(
compareBy<RefreshRateCandidate> { it.match.priority }
.thenBy { it.match.error }
.thenBy { it.refreshRate }
)
private fun currentRateMatch(fps: Float): RefreshRateMatch? {
val current = if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {
currentDisplayMode()?.refreshRate
@@ -215,13 +188,16 @@ class FrameRateManager(
}
@RequiresApi(Build.VERSION_CODES.M)
private fun currentDisplayMode(): Display.Mode? = if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.R) {
activity.display?.mode
private fun currentDisplay(): Display? = if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.R) {
activity.display
} else {
@Suppress("DEPRECATION")
(activity.getSystemService(Context.WINDOW_SERVICE) as WindowManager).defaultDisplay?.mode
(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"
@@ -244,88 +220,12 @@ class FrameRateManager(
.thenBy { abs(it.mode.refreshRate - currentMode.refreshRate) }
)
@RequiresApi(Build.VERSION_CODES.S)
private fun setFrameRateS(
fps: Float,
surface: Surface,
videoDurationMs: Long,
extraDelayMs: Long,
onComplete: (switched: Boolean) -> Unit
) {
log("setFrameRateS fps=$fps, duration=${videoDurationMs}ms, currentMode=${currentModeDescription()}")
// 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.
val currentMatch = currentRateMatch(fps)
if (currentMatch != null) {
log("current display rate already matches ${fps}fps (${currentMatch.reason}), 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("short video (${videoDurationMs}ms), using seamless-only switching")
surface.setFrameRate(
fps,
Surface.FRAME_RATE_COMPATIBILITY_FIXED_SOURCE,
Surface.CHANGE_FRAME_RATE_ONLY_IF_SEAMLESS
)
onComplete(false)
return
}
val alternativeRates = activity.display?.mode?.alternativeRefreshRates ?: floatArrayOf()
val seamlessMatch = bestRefreshRateCandidate(fps, alternativeRates)
log("alternative refresh rates=${alternativeRates.joinToString(prefix = "[", postfix = "]")}")
if (seamlessMatch != null) {
log(
"seamless switch available for ${fps}fps: " +
"${seamlessMatch.refreshRate}Hz (${seamlessMatch.match.reason}, error=${seamlessMatch.match.error})"
)
surface.setFrameRate(
fps,
Surface.FRAME_RATE_COMPATIBILITY_FIXED_SOURCE,
Surface.CHANGE_FRAME_RATE_ALWAYS
)
registerDisplayListener(fps, extraDelayMs, onComplete)
} else {
val userPreference = getDisplayManager().matchContentFrameRateUserPreference
if (userPreference == DisplayManager.MATCH_CONTENT_FRAMERATE_ALWAYS) {
log("user preference allows non-seamless switch, requesting CHANGE_FRAME_RATE_ALWAYS")
surface.setFrameRate(
fps,
Surface.FRAME_RATE_COMPATIBILITY_FIXED_SOURCE,
Surface.CHANGE_FRAME_RATE_ALWAYS
)
registerDisplayListener(fps, extraDelayMs, onComplete)
} else {
log("non-seamless switch not allowed (preference=$userPreference), using seamless-only")
surface.setFrameRate(
fps,
Surface.FRAME_RATE_COMPATIBILITY_FIXED_SOURCE,
Surface.CHANGE_FRAME_RATE_ONLY_IF_SEAMLESS
)
onComplete(false)
}
}
}
@RequiresApi(Build.VERSION_CODES.M)
private fun setFrameRateM(fps: Float, extraDelayMs: Long, onComplete: (switched: Boolean) -> Unit) {
log("setFrameRateM fps=$fps")
val wm = activity.getSystemService(Context.WINDOW_SERVICE) as WindowManager
@Suppress("DEPRECATION")
val display = wm.defaultDisplay
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
}
@@ -357,10 +257,13 @@ class FrameRateManager(
"switching to ${describeMode(modeToUse)} for ${fps}fps " +
"(${modeMatch.match.reason}, error=${modeMatch.match.error})"
)
activity.window?.attributes?.let { attrs ->
attrs.preferredDisplayModeId = modeToUse.modeId
activity.window?.attributes = attrs
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 -1
View File
@@ -789,7 +789,7 @@
repositoryURL = "https://github.com/edde746/MPVKit";
requirement = {
kind = revision;
revision = 42dcc3123000361d0be54fbaec981043b77e1e05;
revision = 6f711b36920b37d22e81353dda5a7df7965b1a44;
};
};
/* End XCRemoteSwiftPackageReference section */
@@ -40,7 +40,7 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/edde746/MPVKit",
"state" : {
"revision" : "42dcc3123000361d0be54fbaec981043b77e1e05"
"revision" : "6f711b36920b37d22e81353dda5a7df7965b1a44"
}
},
{
@@ -40,7 +40,7 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/edde746/MPVKit",
"state" : {
"revision" : "42dcc3123000361d0be54fbaec981043b77e1e05"
"revision" : "6f711b36920b37d22e81353dda5a7df7965b1a44"
}
},
{
+2
View File
@@ -24,6 +24,8 @@
<string>????</string>
<key>CFBundleVersion</key>
<string>$(FLUTTER_BUILD_NUMBER)</string>
<key>ITSAppUsesNonExemptEncryption</key>
<false/>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>LSSupportsOpeningDocumentsInPlace</key>
@@ -188,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()
@@ -232,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
+42 -5
View File
@@ -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? ?? '',
+107 -47
View File
@@ -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;
}
+80 -3
View File
@@ -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)))
+8
View File
@@ -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(
+1
View File
@@ -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.
+34 -1
View File
@@ -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,
),
],
);
}
+3
View File
@@ -140,6 +140,9 @@ 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: ClickableCursor(
+131 -29
View File
@@ -9,7 +9,7 @@ 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;
@@ -74,6 +74,7 @@ class _NativeTvTextInputFocusBridge {
KeyEventResult _handleInputKey({
required TextEditingController controller,
required FocusNode node,
required bool usesTvKeyboard,
required bool enabled,
required VoidCallback openKeyboard,
@@ -150,24 +151,52 @@ KeyEventResult _handleInputKey({
if (!event.isActionable) return finish(KeyEventResult.ignored, 'non-actionable');
if (key.isUpKey && onNavigateUp != null) {
onNavigateUp();
return finish(KeyEventResult.handled, 'onNavigateUp');
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 finish(KeyEventResult.handled, 'onNavigateDown');
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 finish(KeyEventResult.handled, 'onNavigateLeft-at-start');
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 finish(KeyEventResult.handled, 'onNavigateRight-at-end');
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');
}
}
@@ -541,9 +570,9 @@ abstract class _FocusableTextInputBase extends StatelessWidget {
return null;
}
void _showTvKeyboard(BuildContext context) {
if (!enabled) return;
showTvVirtualKeyboard(
Future<void> _showTvKeyboard(BuildContext context) {
if (!enabled) return Future.value();
return showTvVirtualKeyboard(
context: context,
controller: controller,
hintText: _keyboardHint(decoration),
@@ -571,12 +600,13 @@ abstract class _FocusableTextInputBase extends StatelessWidget {
}
}
KeyEventResult _handleKey(BuildContext context, FocusNode _, KeyEvent event) {
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,
@@ -595,14 +625,17 @@ abstract class _FocusableTextInputBase extends StatelessWidget {
);
}
Widget buildFocusableInput(BuildContext context, Widget Function(bool usesTvKeyboard, FocusNode focusNode) builder) {
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) builder;
final Widget Function(bool usesTvKeyboard, FocusNode focusNode, VoidCallback openKeyboard) builder;
const _FocusableTextInputHost({required this.input, required this.builder});
@@ -615,9 +648,12 @@ class _FocusableTextInputHostState extends State<_FocusableTextInputHost> {
FocusNode? _installedFocusNode;
FocusOnKeyEventCallback? _previousOnKeyEvent;
late final FocusOnKeyEventCallback _keyHandler = _handleKey;
late final VoidCallback _focusListener = _syncNativeTextInputFocus;
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'));
@@ -627,8 +663,10 @@ class _FocusableTextInputHostState extends State<_FocusableTextInputHost> {
super.didUpdateWidget(oldWidget);
if (oldWidget.input.focusNode != widget.input.focusNode) {
_restoreInstalledHandler();
_suppressTvKeyboardAutoOpen = false;
_tvKeyboardOpenScheduled = false;
}
_syncNativeTextInputFocus();
_handleFocusChanged();
}
@override
@@ -638,6 +676,11 @@ class _FocusableTextInputHostState extends State<_FocusableTextInputHost> {
super.dispose();
}
void _handleFocusChanged() {
_syncNativeTextInputFocus();
_syncTvKeyboardAutoOpen();
}
void _syncNativeTextInputFocus() {
final focused = _installedFocusNode?.hasFocus == true && widget.input.enabled && widget.input._usesNativeTvKeyboard;
_logTvTextInput(
@@ -648,6 +691,65 @@ class _FocusableTextInputHostState extends State<_FocusableTextInputHost> {
_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');
@@ -667,7 +769,7 @@ class _FocusableTextInputHostState extends State<_FocusableTextInputHost> {
);
if (result != KeyEventResult.ignored) return result;
}
return widget.input._handleKey(context, node, event);
return widget.input._handleKey(context, node, event, _openTvKeyboard);
}
void _installKeyHandler(FocusNode node) {
@@ -707,8 +809,8 @@ class _FocusableTextInputHostState extends State<_FocusableTextInputHost> {
Widget build(BuildContext context) {
final focusNode = _effectiveFocusNode;
_installKeyHandler(focusNode);
_syncNativeTextInputFocus();
return widget.builder(widget.input._hasTvKeyboard, focusNode);
_handleFocusChanged();
return widget.builder(widget.input._hasTvKeyboard, focusNode, _openTvKeyboard);
}
}
@@ -756,7 +858,7 @@ class FocusableTextField extends _FocusableTextInputBase {
Widget build(BuildContext context) {
return buildFocusableInput(
context,
(usesTvKeyboard, effectiveFocusNode) => TextField(
(usesTvKeyboard, effectiveFocusNode, openKeyboard) => TextField(
controller: controller,
focusNode: effectiveFocusNode,
enabled: enabled,
@@ -780,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,
),
);
}
@@ -831,7 +933,7 @@ class FocusableTextFormField extends _FocusableTextInputBase {
Widget build(BuildContext context) {
return buildFocusableInput(
context,
(usesTvKeyboard, effectiveFocusNode) => TextFormField(
(usesTvKeyboard, effectiveFocusNode, openKeyboard) => TextFormField(
controller: controller,
focusNode: effectiveFocusNode,
enabled: enabled,
@@ -858,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,
),
);
}
+39 -5
View File
@@ -106,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.
@@ -136,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,
});
@@ -149,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;
@@ -178,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));
}
@@ -200,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
@@ -447,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,
@@ -471,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,
),
);
+35 -6
View File
@@ -120,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.
///
@@ -140,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
@@ -160,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.
///
File diff suppressed because it is too large Load Diff
+23 -2
View File
@@ -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",
@@ -260,6 +263,8 @@
"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",
@@ -303,6 +308,9 @@
"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",
@@ -399,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",
@@ -441,6 +453,7 @@
"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",
@@ -609,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",
@@ -705,7 +720,8 @@
"genre": "Genre",
"year": "År",
"contentRating": "Aldersvurdering",
"tag": "Tag"
"tag": "Tag",
"unwatched": "Usete"
},
"sortLabels": {
"title": "Titel",
@@ -1077,6 +1093,7 @@
},
"videoSettings": {
"playbackSpeed": "Afspilningshastighed",
"zoom": "Zoom",
"sleepTimer": "Sove-timer",
"audioSync": "Lydsynkronisering",
"subtitleSync": "Undertekstsynkronisering",
@@ -1255,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",
+23 -2
View File
@@ -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",
@@ -260,6 +263,8 @@
"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",
@@ -303,6 +308,9 @@
"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",
@@ -399,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",
@@ -441,6 +453,7 @@
"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",
@@ -609,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",
@@ -705,7 +720,8 @@
"genre": "Genre",
"year": "Jahr",
"contentRating": "Altersfreigabe",
"tag": "Tag"
"tag": "Tag",
"unwatched": "Ungesehene"
},
"sortLabels": {
"title": "Titel",
@@ -1077,6 +1093,7 @@
},
"videoSettings": {
"playbackSpeed": "Wiedergabegeschwindigkeit",
"zoom": "Zoom",
"sleepTimer": "Schlaftimer",
"audioSync": "Audio-Synchronisation",
"subtitleSync": "Untertitel-Synchronisation",
@@ -1255,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",
+23 -2
View File
@@ -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",
@@ -260,6 +263,8 @@
"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",
@@ -303,6 +308,9 @@
"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",
@@ -399,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",
@@ -441,6 +453,7 @@
"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",
@@ -609,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",
@@ -705,7 +720,8 @@
"genre": "Genre",
"year": "Year",
"contentRating": "Content Rating",
"tag": "Tag"
"tag": "Tag",
"unwatched": "Unwatched"
},
"sortLabels": {
"title": "Title",
@@ -1077,6 +1093,7 @@
},
"videoSettings": {
"playbackSpeed": "Playback Speed",
"zoom": "Zoom",
"sleepTimer": "Sleep Timer",
"audioSync": "Audio Sync",
"subtitleSync": "Subtitle Sync",
@@ -1255,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",
+23 -2
View File
@@ -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",
@@ -260,6 +263,8 @@
"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",
@@ -303,6 +308,9 @@
"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",
@@ -399,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",
@@ -441,6 +453,7 @@
"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",
@@ -609,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",
@@ -705,7 +720,8 @@
"genre": "Género",
"year": "Año",
"contentRating": "Clasificación",
"tag": "Etiqueta"
"tag": "Etiqueta",
"unwatched": "No vistos"
},
"sortLabels": {
"title": "Título",
@@ -1077,6 +1093,7 @@
},
"videoSettings": {
"playbackSpeed": "Velocidad de reproducción",
"zoom": "Zoom",
"sleepTimer": "Temporizador de apagado",
"audioSync": "Sincronización de audio",
"subtitleSync": "Sincronización de subtítulos",
@@ -1255,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",
+23 -2
View File
@@ -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",
@@ -260,6 +263,8 @@
"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",
@@ -303,6 +308,9 @@
"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",
@@ -399,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",
@@ -441,6 +453,7 @@
"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",
@@ -609,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",
@@ -705,7 +720,8 @@
"genre": "Genre",
"year": "Année",
"contentRating": "Classification",
"tag": "Tag"
"tag": "Tag",
"unwatched": "Non vus"
},
"sortLabels": {
"title": "Titre",
@@ -1077,6 +1093,7 @@
},
"videoSettings": {
"playbackSpeed": "Vitesse de lecture",
"zoom": "Zoom",
"sleepTimer": "Minuterie de mise en veille",
"audioSync": "Synchronisation audio",
"subtitleSync": "Synchronisation des sous-titres",
@@ -1255,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",
+23 -2
View File
@@ -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",
@@ -260,6 +263,8 @@
"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",
@@ -303,6 +308,9 @@
"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",
@@ -399,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",
@@ -441,6 +453,7 @@
"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",
@@ -609,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",
@@ -705,7 +720,8 @@
"genre": "Genere",
"year": "Anno",
"contentRating": "Classificazione",
"tag": "Tag"
"tag": "Tag",
"unwatched": "Non visti"
},
"sortLabels": {
"title": "Titolo",
@@ -1077,6 +1093,7 @@
},
"videoSettings": {
"playbackSpeed": "Velocità di riproduzione",
"zoom": "Zoom",
"sleepTimer": "Timer di spegnimento",
"audioSync": "Sincronizzazione audio",
"subtitleSync": "Sincronizzazione sottotitoli",
@@ -1255,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",
+23 -2
View File
@@ -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": "プレーヤーバックエンド",
@@ -260,6 +263,8 @@
"forceTvModeDescription": "TVレイアウトを強制します。自動検出しないデバイス向けです。再起動が必要です。",
"startInFullscreen": "全画面表示で起動",
"startInFullscreenDescription": "起動時にPlezyを全画面モードで開きます",
"exitFullscreenOnPlayerClose": "プレイヤーを閉じたときに全画面を終了",
"exitFullscreenOnPlayerCloseDescription": "ビデオプレイヤーを閉じたときに自動的に全画面モードを終了します",
"autoHidePerformanceOverlay": "パフォーマンスオーバーレイを自動非表示",
"autoHidePerformanceOverlayDescription": "再生コントロールと一緒にパフォーマンスオーバーレイをフェードする",
"showNavBarLabels": "ナビゲーションバーラベルを表示",
@@ -303,6 +308,9 @@
"speedIncrease": "速度を上げる",
"speedDecrease": "速度を下げる",
"speedReset": "速度をリセット",
"zoomIn": "ズームイン",
"zoomOut": "ズームアウト",
"zoomReset": "ズームをリセット",
"subSeekNext": "次の字幕にシーク",
"subSeekPrev": "前の字幕にシーク",
"shaderToggle": "シェーダー切替",
@@ -399,6 +407,10 @@
"unlockRotation": "回転のロックを解除",
"timerActive": "タイマー動作中",
"playbackWillPauseIn": "再生は${duration}後に一時停止します",
"sleepTimerEndOfVideo": "現在の動画の最後",
"sleepTimerStopAtHeader": "停止のタイミング",
"sleepTimerDurationHeader": "タイマー",
"playbackWillPauseAtEnd": "再生はこの動画の最後に一時停止します",
"stillWatching": "まだ視聴中ですか?",
"pausingIn": "${seconds}秒後に一時停止",
"continueWatching": "続ける",
@@ -441,6 +453,7 @@
"pipActive": "ピクチャーインピクチャーで再生中",
"pipFailed": "ピクチャーインピクチャーの開始に失敗しました",
"screenshotSaved": "スクリーンショットを保存しました",
"zoomPercent": "ズーム ${percent}%",
"pipErrors": {
"androidVersion": "Android 8.0以降が必要です",
"iosVersion": "iOS 15.0以降が必要です",
@@ -609,7 +622,9 @@
"addConnectionSubtitleScoped": "${displayName}に追加: Plex、Jellyfin、または別プロフィールの接続",
"sessionExpiredOne": "${name} のセッションの有効期限が切れました",
"sessionExpiredMany": "${count} 台のサーバーのセッションの有効期限が切れました",
"signInAgain": "再度サインイン"
"signInAgain": "再度サインイン",
"editJellyfinTitle": "Jellyfin接続を編集",
"editJellyfinIntro": "${serverName} のURLを追加または削除します。Plezyは到達可能なURLのうち最も低遅延のものを使用します。"
},
"discover": {
"title": "探す",
@@ -705,7 +720,8 @@
"genre": "ジャンル",
"year": "年",
"contentRating": "視聴年齢区分",
"tag": "タグ"
"tag": "タグ",
"unwatched": "未視聴"
},
"sortLabels": {
"title": "タイトル",
@@ -1077,6 +1093,7 @@
},
"videoSettings": {
"playbackSpeed": "再生速度",
"zoom": "ズーム",
"sleepTimer": "スリープタイマー",
"audioSync": "音声同期",
"subtitleSync": "字幕同期",
@@ -1255,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": "サインイン",
+23 -2
View File
@@ -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": "플레이어 백엔드",
@@ -260,6 +263,8 @@
"forceTvModeDescription": "TV 레이아웃을 강제합니다. 자동 감지되지 않는 기기용입니다. 재시작이 필요합니다.",
"startInFullscreen": "전체화면으로 시작",
"startInFullscreenDescription": "실행 시 Plezy를 전체화면 모드로 엽니다",
"exitFullscreenOnPlayerClose": "플레이어 닫을 때 전체화면 종료",
"exitFullscreenOnPlayerCloseDescription": "비디오 플레이어를 닫을 때 자동으로 전체화면을 종료합니다",
"autoHidePerformanceOverlay": "성능 오버레이 자동 숨기기",
"autoHidePerformanceOverlayDescription": "재생 컨트롤과 함께 성능 오버레이를 페이드 처리",
"showNavBarLabels": "내비게이션 바 라벨 표시",
@@ -303,6 +308,9 @@
"speedIncrease": "속도 높이기",
"speedDecrease": "속도 낮추기",
"speedReset": "속도 초기화",
"zoomIn": "확대",
"zoomOut": "축소",
"zoomReset": "확대/축소 초기화",
"subSeekNext": "다음 자막으로 이동",
"subSeekPrev": "이전 자막으로 이동",
"shaderToggle": "셰이더 전환",
@@ -399,6 +407,10 @@
"unlockRotation": "회전 잠금 해제",
"timerActive": "타이머 활성화됨",
"playbackWillPauseIn": "재생이 ${duration} 후에 일시 중지 됩니다",
"sleepTimerEndOfVideo": "현재 비디오의 끝",
"sleepTimerStopAtHeader": "정지 시점",
"sleepTimerDurationHeader": "타이머",
"playbackWillPauseAtEnd": "재생이 이 비디오의 끝에서 일시 중지됩니다",
"stillWatching": "아직 시청 중이신가요?",
"pausingIn": "${seconds}초 후 일시 정지",
"continueWatching": "계속",
@@ -441,6 +453,7 @@
"pipActive": "화면 속 화면으로 재생 중",
"pipFailed": "화면 속 화면 모드를 시작할 수 없습니다",
"screenshotSaved": "스크린샷 저장됨",
"zoomPercent": "확대/축소 ${percent}%",
"pipErrors": {
"androidVersion": "Android 8.0 이상이 필요합니다",
"iosVersion": "iOS 15.0 이상이 필요합니다",
@@ -609,7 +622,9 @@
"addConnectionSubtitleScoped": "${displayName}에 추가: Plex, Jellyfin 또는 다른 프로필 연결",
"sessionExpiredOne": "${name} 의 세션이 만료되었습니다",
"sessionExpiredMany": "${count} 개의 서버에서 세션이 만료되었습니다",
"signInAgain": "다시 로그인"
"signInAgain": "다시 로그인",
"editJellyfinTitle": "Jellyfin 연결 편집",
"editJellyfinIntro": "${serverName}의 URL을 추가하거나 제거하세요. Plezy는 연결 가능한 URL 중 지연 시간이 가장 낮은 URL을 사용합니다."
},
"discover": {
"title": "발견",
@@ -705,7 +720,8 @@
"genre": "장르",
"year": "연도",
"contentRating": "시청 등급",
"tag": "태그"
"tag": "태그",
"unwatched": "미시청"
},
"sortLabels": {
"title": "제목",
@@ -1077,6 +1093,7 @@
},
"videoSettings": {
"playbackSpeed": "재생 속도",
"zoom": "확대/축소",
"sleepTimer": "취침 타이머",
"audioSync": "오디오 동기화",
"subtitleSync": "자막 동기화",
@@ -1255,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": "로그인",
+23 -2
View File
@@ -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",
@@ -260,6 +263,8 @@
"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",
@@ -303,6 +308,9 @@
"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",
@@ -399,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",
@@ -441,6 +453,7 @@
"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",
@@ -609,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",
@@ -705,7 +720,8 @@
"genre": "Sjanger",
"year": "År",
"contentRating": "Aldersgrense",
"tag": "Tag"
"tag": "Tag",
"unwatched": "Usette"
},
"sortLabels": {
"title": "Tittel",
@@ -1077,6 +1093,7 @@
},
"videoSettings": {
"playbackSpeed": "Avspillingshastighet",
"zoom": "Zoom",
"sleepTimer": "Søvntimer",
"audioSync": "Lydsynkronisering",
"subtitleSync": "Undertekstsynkronisering",
@@ -1255,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å",
+23 -2
View File
@@ -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",
@@ -260,6 +263,8 @@
"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",
@@ -303,6 +308,9 @@
"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",
@@ -399,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",
@@ -441,6 +453,7 @@
"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",
@@ -609,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",
@@ -705,7 +720,8 @@
"genre": "Genre",
"year": "Jaar",
"contentRating": "Leeftijdsclassificatie",
"tag": "Tag"
"tag": "Tag",
"unwatched": "Onbekeken"
},
"sortLabels": {
"title": "Titel",
@@ -1077,6 +1093,7 @@
},
"videoSettings": {
"playbackSpeed": "Afspeelsnelheid",
"zoom": "Zoom",
"sleepTimer": "Slaaptimer",
"audioSync": "Audio synchronisatie",
"subtitleSync": "Ondertitel synchronisatie",
@@ -1255,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",
+23 -2
View File
@@ -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",
@@ -260,6 +263,8 @@
"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",
@@ -303,6 +308,9 @@
"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",
@@ -399,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",
@@ -441,6 +453,7 @@
"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",
@@ -609,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",
@@ -705,7 +720,8 @@
"genre": "Gatunek",
"year": "Rok",
"contentRating": "Klasyfikacja wiekowa",
"tag": "Tag"
"tag": "Tag",
"unwatched": "Nieobejrzane"
},
"sortLabels": {
"title": "Tytuł",
@@ -1077,6 +1093,7 @@
},
"videoSettings": {
"playbackSpeed": "Prędkość odtwarzania",
"zoom": "Zoom",
"sleepTimer": "Wyłącznik czasowy",
"audioSync": "Synchronizacja audio",
"subtitleSync": "Synchronizacja napisów",
@@ -1255,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ę",
+23 -2
View File
@@ -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",
@@ -260,6 +263,8 @@
"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",
@@ -303,6 +308,9 @@
"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",
@@ -399,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",
@@ -441,6 +453,7 @@
"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",
@@ -609,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",
@@ -705,7 +720,8 @@
"genre": "Gênero",
"year": "Ano",
"contentRating": "Classificação",
"tag": "Tag"
"tag": "Tag",
"unwatched": "Não assistidos"
},
"sortLabels": {
"title": "Título",
@@ -1077,6 +1093,7 @@
},
"videoSettings": {
"playbackSpeed": "Velocidade de Reprodução",
"zoom": "Zoom",
"sleepTimer": "Timer de Sono",
"audioSync": "Sincronia de Áudio",
"subtitleSync": "Sincronia de Legendas",
@@ -1255,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",
+23 -2
View File
@@ -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": "Бэкенд плеера",
@@ -260,6 +263,8 @@
"forceTvModeDescription": "Принудительно включить ТВ-интерфейс. Для устройств без автоопределения. Требуется перезапуск.",
"startInFullscreen": "Запускать в полноэкранном режиме",
"startInFullscreenDescription": "Открывать Plezy в полноэкранном режиме при запуске",
"exitFullscreenOnPlayerClose": "Выходить из полноэкранного режима при закрытии плеера",
"exitFullscreenOnPlayerCloseDescription": "Автоматически выходить из полноэкранного режима при закрытии видеоплеера",
"autoHidePerformanceOverlay": "Автоскрытие оверлея производительности",
"autoHidePerformanceOverlayDescription": "Скрывать оверлей производительности вместе с элементами управления воспроизведением",
"showNavBarLabels": "Показывать подписи панели навигации",
@@ -303,6 +308,9 @@
"speedIncrease": "Увеличить скорость",
"speedDecrease": "Уменьшить скорость",
"speedReset": "Сбросить скорость",
"zoomIn": "Увеличить масштаб",
"zoomOut": "Уменьшить масштаб",
"zoomReset": "Сбросить масштаб",
"subSeekNext": "К следующему субтитру",
"subSeekPrev": "К предыдущему субтитру",
"shaderToggle": "Вкл./выкл. шейдеры",
@@ -399,6 +407,10 @@
"unlockRotation": "Разблокировать поворот",
"timerActive": "Таймер активен",
"playbackWillPauseIn": "Воспроизведение будет приостановлено через ${duration}",
"sleepTimerEndOfVideo": "Конец текущего видео",
"sleepTimerStopAtHeader": "Остановить на",
"sleepTimerDurationHeader": "Таймер",
"playbackWillPauseAtEnd": "Воспроизведение будет приостановлено в конце этого видео",
"stillWatching": "Всё ещё смотрите?",
"pausingIn": "Пауза через ${seconds}с",
"continueWatching": "Продолжить",
@@ -441,6 +453,7 @@
"pipActive": "Воспроизводится в режиме «картинка в картинке»",
"pipFailed": "Не удалось запустить режим «картинка в картинке»",
"screenshotSaved": "Снимок экрана сохранён",
"zoomPercent": "Масштаб ${percent}%",
"pipErrors": {
"androidVersion": "Требуется Android 8.0 или новее",
"iosVersion": "Требуется iOS 15.0 или новее",
@@ -609,7 +622,9 @@
"addConnectionSubtitleScoped": "Добавить к ${displayName}: Plex, Jellyfin или подключение другого профиля",
"sessionExpiredOne": "Сессия истекла для ${name}",
"sessionExpiredMany": "Сессия истекла для ${count} серверов",
"signInAgain": "Войти снова"
"signInAgain": "Войти снова",
"editJellyfinTitle": "Изменить подключение Jellyfin",
"editJellyfinIntro": "Добавьте или удалите URL для ${serverName}. Plezy будет использовать доступный URL с минимальной задержкой."
},
"discover": {
"title": "Обзор",
@@ -705,7 +720,8 @@
"genre": "Жанр",
"year": "Год",
"contentRating": "Возрастной рейтинг",
"tag": "Тег"
"tag": "Тег",
"unwatched": "Непросмотренные"
},
"sortLabels": {
"title": "Название",
@@ -1077,6 +1093,7 @@
},
"videoSettings": {
"playbackSpeed": "Скорость воспроизведения",
"zoom": "Масштаб",
"sleepTimer": "Таймер сна",
"audioSync": "Синхронизация аудио",
"subtitleSync": "Синхронизация субтитров",
@@ -1255,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": "Войти",
+17 -2
View File
@@ -3,8 +3,8 @@
/// Source: lib/i18n
/// To regenerate, run: `dart run slang`
///
/// Locales: 15
/// Strings: 17565 (1171 per locale)
/// Locales: 16
/// Strings: 19072 (1192 per locale)
// coverage:ignore-file
// ignore_for_file: type=lint, unused_import
@@ -16,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;
@@ -40,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'),
@@ -78,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(
@@ -192,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,
File diff suppressed because it is too large Load Diff
+46 -4
View File
@@ -143,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';
@@ -253,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';
@@ -388,6 +391,8 @@ class _TranslationsSettingsDa extends TranslationsSettingsEn {
@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';
@@ -560,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';
@@ -602,6 +611,7 @@ class _TranslationsVideoControlsDa extends TranslationsVideoControlsEn {
@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';
@@ -812,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
@@ -1303,6 +1315,7 @@ class _TranslationsVideoSettingsDa extends TranslationsVideoSettingsEn {
// Translations
@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';
@@ -1502,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';
@@ -1558,6 +1575,9 @@ 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';
@@ -1621,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
@@ -1832,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',
@@ -1915,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',
@@ -2050,6 +2074,8 @@ extension on TranslationsDa {
'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',
@@ -2088,6 +2114,9 @@ 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',
@@ -2171,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',
@@ -2213,6 +2246,7 @@ extension on TranslationsDa {
'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.',
@@ -2299,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',
@@ -2312,8 +2348,6 @@ extension on TranslationsDa {
'profiles.signOut' => 'Log ud',
'profiles.signOutPlexTitle' => 'Log ud af Plex?',
'profiles.signOutPlexMessage' => ({required Object displayName}) => 'Fjern ${displayName} og alle Plex Home-brugere? Log ind igen når som helst.',
_ => null,
} ?? switch (path) {
'profiles.signedOutPlex' => 'Logget ud af Plex.',
'profiles.signOutFailed' => 'Log ud mislykkedes.',
'profiles.sectionTitle' => 'Profiler',
@@ -2368,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',
@@ -2453,6 +2489,7 @@ 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',
@@ -2787,6 +2824,7 @@ extension on TranslationsDa {
'companionRemote.remote.audio' => 'Lyd',
'companionRemote.remote.searchHint' => 'Søg på desktop...',
'videoSettings.playbackSpeed' => 'Afspilningshastighed',
'videoSettings.zoom' => 'Zoom',
'videoSettings.sleepTimer' => 'Sove-timer',
'videoSettings.audioSync' => 'Lydsynkronisering',
'videoSettings.subtitleSync' => 'Undertekstsynkronisering',
@@ -2809,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',
@@ -2826,8 +2866,6 @@ extension on TranslationsDa {
'metadataEdit.poster' => 'Plakat',
'metadataEdit.background' => 'Baggrund',
'metadataEdit.logo' => 'Logo',
_ => null,
} ?? switch (path) {
'metadataEdit.squareArt' => 'Kvadratisk billede',
'metadataEdit.selectPoster' => 'Vælg plakat',
'metadataEdit.selectBackground' => 'Vælg baggrund',
@@ -2945,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',
+46 -4
View File
@@ -143,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';
@@ -253,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';
@@ -388,6 +391,8 @@ class _TranslationsSettingsDe extends TranslationsSettingsEn {
@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';
@@ -560,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';
@@ -602,6 +611,7 @@ class _TranslationsVideoControlsDe extends TranslationsVideoControlsEn {
@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';
@@ -812,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
@@ -1303,6 +1315,7 @@ class _TranslationsVideoSettingsDe extends TranslationsVideoSettingsEn {
// Translations
@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';
@@ -1502,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';
@@ -1558,6 +1575,9 @@ 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';
@@ -1621,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
@@ -1832,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',
@@ -1915,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',
@@ -2050,6 +2074,8 @@ extension on TranslationsDe {
'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',
@@ -2088,6 +2114,9 @@ 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',
@@ -2171,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',
@@ -2213,6 +2246,7 @@ extension on TranslationsDe {
'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.',
@@ -2299,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',
@@ -2312,8 +2348,6 @@ extension on TranslationsDe {
'profiles.signOut' => 'Abmelden',
'profiles.signOutPlexTitle' => 'Von Plex abmelden?',
'profiles.signOutPlexMessage' => ({required Object displayName}) => '${displayName} und alle Plex Home-Benutzer entfernen? Du kannst dich jederzeit wieder anmelden.',
_ => null,
} ?? switch (path) {
'profiles.signedOutPlex' => 'Von Plex abgemeldet.',
'profiles.signOutFailed' => 'Abmeldung fehlgeschlagen.',
'profiles.sectionTitle' => 'Profile',
@@ -2368,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',
@@ -2453,6 +2489,7 @@ 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',
@@ -2787,6 +2824,7 @@ extension on TranslationsDe {
'companionRemote.remote.audio' => 'Audio',
'companionRemote.remote.searchHint' => 'Auf Desktop suchen...',
'videoSettings.playbackSpeed' => 'Wiedergabegeschwindigkeit',
'videoSettings.zoom' => 'Zoom',
'videoSettings.sleepTimer' => 'Schlaftimer',
'videoSettings.audioSync' => 'Audio-Synchronisation',
'videoSettings.subtitleSync' => 'Untertitel-Synchronisation',
@@ -2809,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',
@@ -2826,8 +2866,6 @@ extension on TranslationsDe {
'metadataEdit.poster' => 'Poster',
'metadataEdit.background' => 'Hintergrund',
'metadataEdit.logo' => 'Logo',
_ => null,
} ?? switch (path) {
'metadataEdit.squareArt' => 'Quadratisches Bild',
'metadataEdit.selectPoster' => 'Poster auswählen',
'metadataEdit.selectBackground' => 'Hintergrund auswählen',
@@ -2945,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',
+88 -4
View File
@@ -209,6 +209,9 @@ class TranslationsCommonEn {
/// en: 'Delete'
String get delete => 'Delete';
/// en: 'Edit'
String get edit => 'Edit';
/// en: 'Shuffle'
String get shuffle => 'Shuffle';
@@ -485,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';
@@ -890,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';
@@ -1261,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?';
@@ -1387,6 +1414,9 @@ class TranslationsVideoControlsEn {
/// 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'
@@ -1889,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
@@ -3045,6 +3081,9 @@ class TranslationsVideoSettingsEn {
/// en: 'Playback Speed'
String get playbackSpeed => 'Playback Speed';
/// en: 'Zoom'
String get zoom => 'Zoom';
/// en: 'Sleep Timer'
String get sleepTimer => 'Sleep Timer';
@@ -3509,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';
@@ -3659,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';
@@ -3775,6 +3835,9 @@ class TranslationsLibrariesFilterCategoriesEn {
/// en: 'Tag'
String get tag => 'Tag';
/// en: 'Unwatched'
String get unwatched => 'Unwatched';
}
// Path: libraries.sortLabels
@@ -4180,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',
@@ -4263,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',
@@ -4398,6 +4464,8 @@ extension on Translations {
'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',
@@ -4436,6 +4504,9 @@ 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',
@@ -4519,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',
@@ -4561,6 +4636,7 @@ extension on Translations {
'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.',
@@ -4647,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',
@@ -4660,8 +4738,6 @@ extension on Translations {
'profiles.signOut' => 'Sign out',
'profiles.signOutPlexTitle' => 'Sign out of Plex?',
'profiles.signOutPlexMessage' => ({required Object displayName}) => 'Remove ${displayName} and all Plex Home users? Sign back in anytime.',
_ => null,
} ?? switch (path) {
'profiles.signedOutPlex' => 'Signed out of Plex.',
'profiles.signOutFailed' => 'Sign out failed.',
'profiles.sectionTitle' => 'Profiles',
@@ -4716,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',
@@ -4801,6 +4879,7 @@ 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',
@@ -5135,6 +5214,7 @@ extension on Translations {
'companionRemote.remote.audio' => 'Audio',
'companionRemote.remote.searchHint' => 'Search on desktop...',
'videoSettings.playbackSpeed' => 'Playback Speed',
'videoSettings.zoom' => 'Zoom',
'videoSettings.sleepTimer' => 'Sleep Timer',
'videoSettings.audioSync' => 'Audio Sync',
'videoSettings.subtitleSync' => 'Subtitle Sync',
@@ -5157,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',
@@ -5174,8 +5256,6 @@ extension on Translations {
'metadataEdit.poster' => 'Poster',
'metadataEdit.background' => 'Background',
'metadataEdit.logo' => 'Logo',
_ => null,
} ?? switch (path) {
'metadataEdit.squareArt' => 'Square Art',
'metadataEdit.selectPoster' => 'Select Poster',
'metadataEdit.selectBackground' => 'Select Background',
@@ -5293,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',
+46 -4
View File
@@ -143,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';
@@ -253,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';
@@ -388,6 +391,8 @@ class _TranslationsSettingsEs extends TranslationsSettingsEn {
@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';
@@ -560,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';
@@ -602,6 +611,7 @@ class _TranslationsVideoControlsEs extends TranslationsVideoControlsEn {
@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';
@@ -812,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
@@ -1303,6 +1315,7 @@ class _TranslationsVideoSettingsEs extends TranslationsVideoSettingsEn {
// Translations
@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';
@@ -1502,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';
@@ -1558,6 +1575,9 @@ 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';
@@ -1621,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
@@ -1832,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',
@@ -1915,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',
@@ -2050,6 +2074,8 @@ extension on TranslationsEs {
'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',
@@ -2088,6 +2114,9 @@ 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',
@@ -2171,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',
@@ -2213,6 +2246,7 @@ extension on TranslationsEs {
'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.',
@@ -2299,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',
@@ -2312,8 +2348,6 @@ extension on TranslationsEs {
'profiles.signOut' => 'Cerrar sesión',
'profiles.signOutPlexTitle' => '¿Cerrar sesión de Plex?',
'profiles.signOutPlexMessage' => ({required Object displayName}) => '¿Eliminar ${displayName} y todos los usuarios de Plex Home? Puedes iniciar sesión de nuevo cuando quieras.',
_ => null,
} ?? switch (path) {
'profiles.signedOutPlex' => 'Sesión de Plex cerrada.',
'profiles.signOutFailed' => 'Error al cerrar sesión.',
'profiles.sectionTitle' => 'Perfiles',
@@ -2368,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',
@@ -2453,6 +2489,7 @@ 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',
@@ -2787,6 +2824,7 @@ extension on TranslationsEs {
'companionRemote.remote.audio' => 'Audio',
'companionRemote.remote.searchHint' => 'Buscar en escritorio...',
'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',
@@ -2809,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',
@@ -2826,8 +2866,6 @@ extension on TranslationsEs {
'metadataEdit.poster' => 'Póster',
'metadataEdit.background' => 'Fondo',
'metadataEdit.logo' => 'Logo',
_ => null,
} ?? switch (path) {
'metadataEdit.squareArt' => 'Imagen cuadrada',
'metadataEdit.selectPoster' => 'Seleccionar póster',
'metadataEdit.selectBackground' => 'Seleccionar fondo',
@@ -2945,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',
+46 -4
View File
@@ -143,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';
@@ -253,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';
@@ -388,6 +391,8 @@ class _TranslationsSettingsFr extends TranslationsSettingsEn {
@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';
@@ -560,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';
@@ -602,6 +611,7 @@ class _TranslationsVideoControlsFr extends TranslationsVideoControlsEn {
@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';
@@ -812,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
@@ -1303,6 +1315,7 @@ class _TranslationsVideoSettingsFr extends TranslationsVideoSettingsEn {
// Translations
@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';
@@ -1502,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';
@@ -1558,6 +1575,9 @@ 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';
@@ -1621,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
@@ -1832,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',
@@ -1915,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',
@@ -2050,6 +2074,8 @@ extension on TranslationsFr {
'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',
@@ -2088,6 +2114,9 @@ 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',
@@ -2171,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',
@@ -2213,6 +2246,7 @@ extension on TranslationsFr {
'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.',
@@ -2299,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',
@@ -2312,8 +2348,6 @@ extension on TranslationsFr {
'profiles.signOut' => 'Se déconnecter',
'profiles.signOutPlexTitle' => 'Se déconnecter de Plex ?',
'profiles.signOutPlexMessage' => ({required Object displayName}) => 'Supprimer ${displayName} et tous les utilisateurs Plex Home ? Reconnexion possible à tout moment.',
_ => null,
} ?? switch (path) {
'profiles.signedOutPlex' => 'Déconnecté de Plex.',
'profiles.signOutFailed' => 'Échec de la déconnexion.',
'profiles.sectionTitle' => 'Profils',
@@ -2368,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',
@@ -2453,6 +2489,7 @@ 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',
@@ -2787,6 +2824,7 @@ extension on TranslationsFr {
'companionRemote.remote.audio' => 'Audio',
'companionRemote.remote.searchHint' => 'Rechercher sur le bureau...',
'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',
@@ -2809,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',
@@ -2826,8 +2866,6 @@ extension on TranslationsFr {
'metadataEdit.poster' => 'Affiche',
'metadataEdit.background' => 'Arrière-plan',
'metadataEdit.logo' => 'Logo',
_ => null,
} ?? switch (path) {
'metadataEdit.squareArt' => 'Image carrée',
'metadataEdit.selectPoster' => 'Sélectionner l\'affiche',
'metadataEdit.selectBackground' => 'Sélectionner l\'arrière-plan',
@@ -2945,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',
+46 -4
View File
@@ -143,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';
@@ -253,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';
@@ -388,6 +391,8 @@ class _TranslationsSettingsIt extends TranslationsSettingsEn {
@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';
@@ -560,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';
@@ -602,6 +611,7 @@ class _TranslationsVideoControlsIt extends TranslationsVideoControlsEn {
@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';
@@ -812,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
@@ -1303,6 +1315,7 @@ class _TranslationsVideoSettingsIt extends TranslationsVideoSettingsEn {
// Translations
@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';
@@ -1502,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';
@@ -1558,6 +1575,9 @@ 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';
@@ -1621,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
@@ -1832,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',
@@ -1915,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',
@@ -2050,6 +2074,8 @@ extension on TranslationsIt {
'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',
@@ -2088,6 +2114,9 @@ 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',
@@ -2171,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',
@@ -2213,6 +2246,7 @@ extension on TranslationsIt {
'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.',
@@ -2299,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',
@@ -2312,8 +2348,6 @@ extension on TranslationsIt {
'profiles.signOut' => 'Esci',
'profiles.signOutPlexTitle' => 'Uscire da Plex?',
'profiles.signOutPlexMessage' => ({required Object displayName}) => 'Rimuovere ${displayName} e tutti gli utenti Plex Home? Puoi accedere di nuovo quando vuoi.',
_ => null,
} ?? switch (path) {
'profiles.signedOutPlex' => 'Uscito da Plex.',
'profiles.signOutFailed' => 'Uscita non riuscita.',
'profiles.sectionTitle' => 'Profili',
@@ -2368,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',
@@ -2453,6 +2489,7 @@ 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',
@@ -2787,6 +2824,7 @@ extension on TranslationsIt {
'companionRemote.remote.audio' => 'Audio',
'companionRemote.remote.searchHint' => 'Cerca sul desktop...',
'videoSettings.playbackSpeed' => 'Velocità di riproduzione',
'videoSettings.zoom' => 'Zoom',
'videoSettings.sleepTimer' => 'Timer di spegnimento',
'videoSettings.audioSync' => 'Sincronizzazione audio',
'videoSettings.subtitleSync' => 'Sincronizzazione sottotitoli',
@@ -2809,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',
@@ -2826,8 +2866,6 @@ extension on TranslationsIt {
'metadataEdit.poster' => 'Poster',
'metadataEdit.background' => 'Sfondo',
'metadataEdit.logo' => 'Logo',
_ => null,
} ?? switch (path) {
'metadataEdit.squareArt' => 'Immagine quadrata',
'metadataEdit.selectPoster' => 'Seleziona poster',
'metadataEdit.selectBackground' => 'Seleziona sfondo',
@@ -2945,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',
+46 -4
View File
@@ -143,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 => '新規作成';
@@ -253,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 => 'プレーヤーバックエンド';
@@ -388,6 +391,8 @@ class _TranslationsSettingsJa extends TranslationsSettingsEn {
@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 => 'ナビゲーションバーラベルを表示';
@@ -560,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 => '続ける';
@@ -602,6 +611,7 @@ class _TranslationsVideoControlsJa extends TranslationsVideoControlsEn {
@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 => 'チャプターがありません';
@@ -812,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
@@ -1303,6 +1315,7 @@ class _TranslationsVideoSettingsJa extends TranslationsVideoSettingsEn {
// Translations
@override String get playbackSpeed => '再生速度';
@override String get zoom => 'ズーム';
@override String get sleepTimer => 'スリープタイマー';
@override String get audioSync => '音声同期';
@override String get subtitleSync => '字幕同期';
@@ -1502,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 => 'サインイン';
@@ -1558,6 +1575,9 @@ 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 => 'シェーダー切替';
@@ -1621,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
@@ -1832,6 +1853,7 @@ extension on TranslationsJa {
'common.yes' => 'はい',
'common.no' => 'いいえ',
'common.delete' => '削除',
'common.edit' => '編集',
'common.shuffle' => 'シャッフル',
'common.addTo' => '追加...',
'common.createNew' => '新規作成',
@@ -1915,6 +1937,8 @@ extension on TranslationsJa {
'settings.showEpisodeNumberOnCardsDescription' => 'エピソードカードにシーズン番号とエピソード番号を表示します',
'settings.showSeasonPostersOnTabs' => 'タブにシーズンポスターを表示',
'settings.showSeasonPostersOnTabsDescription' => '各シーズンのポスターをタブの上に表示します',
'settings.tvFullCardLayout' => 'フルTVカード',
'settings.tvFullCardLayoutDescription' => 'TVカードを画像のみで表示し、俳優名を重ねて表示します',
'settings.hideSpoilers' => '未視聴エピソードのネタバレを非表示',
'settings.hideSpoilersDescription' => '未視聴エピソードのサムネイルと説明をぼかします',
'settings.playerBackend' => 'プレーヤーバックエンド',
@@ -2050,6 +2074,8 @@ extension on TranslationsJa {
'settings.forceTvModeDescription' => 'TVレイアウトを強制します。自動検出しないデバイス向けです。再起動が必要です。',
'settings.startInFullscreen' => '全画面表示で起動',
'settings.startInFullscreenDescription' => '起動時にPlezyを全画面モードで開きます',
'settings.exitFullscreenOnPlayerClose' => 'プレイヤーを閉じたときに全画面を終了',
'settings.exitFullscreenOnPlayerCloseDescription' => 'ビデオプレイヤーを閉じたときに自動的に全画面モードを終了します',
'settings.autoHidePerformanceOverlay' => 'パフォーマンスオーバーレイを自動非表示',
'settings.autoHidePerformanceOverlayDescription' => '再生コントロールと一緒にパフォーマンスオーバーレイをフェードする',
'settings.showNavBarLabels' => 'ナビゲーションバーラベルを表示',
@@ -2088,6 +2114,9 @@ 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' => 'シェーダー切替',
@@ -2171,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' => '続ける',
@@ -2213,6 +2246,7 @@ extension on TranslationsJa {
'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' => 'ピクチャーインピクチャーが無効です。システム設定で有効にしてください。',
@@ -2299,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' => '操作の確認',
@@ -2312,8 +2348,6 @@ extension on TranslationsJa {
'profiles.signOut' => 'サインアウト',
'profiles.signOutPlexTitle' => 'Plex からサインアウトしますか?',
'profiles.signOutPlexMessage' => ({required Object displayName}) => '${displayName}とすべてのPlex Homeユーザーを削除しますか?いつでも再サインインできます。',
_ => null,
} ?? switch (path) {
'profiles.signedOutPlex' => 'Plex からサインアウトしました。',
'profiles.signOutFailed' => 'サインアウトに失敗しました。',
'profiles.sectionTitle' => 'プロファイル',
@@ -2368,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' => 'コンテンツがありません',
@@ -2453,6 +2489,7 @@ extension on TranslationsJa {
'libraries.filterCategories.year' => '年',
'libraries.filterCategories.contentRating' => '視聴年齢区分',
'libraries.filterCategories.tag' => 'タグ',
'libraries.filterCategories.unwatched' => '未視聴',
'libraries.sortLabels.title' => 'タイトル',
'libraries.sortLabels.dateAdded' => '追加日',
'libraries.sortLabels.releaseDate' => 'リリース日',
@@ -2787,6 +2824,7 @@ extension on TranslationsJa {
'companionRemote.remote.audio' => '音声',
'companionRemote.remote.searchHint' => 'デスクトップで検索...',
'videoSettings.playbackSpeed' => '再生速度',
'videoSettings.zoom' => 'ズーム',
'videoSettings.sleepTimer' => 'スリープタイマー',
'videoSettings.audioSync' => '音声同期',
'videoSettings.subtitleSync' => '字幕同期',
@@ -2809,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' => 'メタデータを編集',
@@ -2826,8 +2866,6 @@ extension on TranslationsJa {
'metadataEdit.poster' => 'ポスター',
'metadataEdit.background' => '背景',
'metadataEdit.logo' => 'ロゴ',
_ => null,
} ?? switch (path) {
'metadataEdit.squareArt' => '正方形アート',
'metadataEdit.selectPoster' => 'ポスターを選択',
'metadataEdit.selectBackground' => '背景を選択',
@@ -2945,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' => 'サインイン',
+46 -4
View File
@@ -143,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 => '새로 만들기';
@@ -253,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 => '플레이어 백엔드';
@@ -388,6 +391,8 @@ class _TranslationsSettingsKo extends TranslationsSettingsEn {
@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 => '내비게이션 바 라벨 표시';
@@ -560,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 => '계속';
@@ -602,6 +611,7 @@ class _TranslationsVideoControlsKo extends TranslationsVideoControlsEn {
@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 => '사용 가능한 챕터가 없습니다';
@@ -812,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
@@ -1303,6 +1315,7 @@ class _TranslationsVideoSettingsKo extends TranslationsVideoSettingsEn {
// Translations
@override String get playbackSpeed => '재생 속도';
@override String get zoom => '확대/축소';
@override String get sleepTimer => '취침 타이머';
@override String get audioSync => '오디오 동기화';
@override String get subtitleSync => '자막 동기화';
@@ -1502,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 => '로그인';
@@ -1558,6 +1575,9 @@ 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 => '셰이더 전환';
@@ -1621,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
@@ -1832,6 +1853,7 @@ extension on TranslationsKo {
'common.yes' => '예',
'common.no' => '아니오',
'common.delete' => '삭제',
'common.edit' => '편집',
'common.shuffle' => '무작위 재생',
'common.addTo' => '추가하기...',
'common.createNew' => '새로 만들기',
@@ -1915,6 +1937,8 @@ extension on TranslationsKo {
'settings.showEpisodeNumberOnCardsDescription' => '에피소드 카드에 시즌 및 에피소드 번호 표시',
'settings.showSeasonPostersOnTabs' => '탭에 시즌 포스터 표시',
'settings.showSeasonPostersOnTabsDescription' => '각 시즌 포스터를 탭 위에 표시',
'settings.tvFullCardLayout' => '전체 TV 카드',
'settings.tvFullCardLayoutDescription' => 'TV 카드에 이미지만 표시하고 배우 이름을 오버레이로 표시',
'settings.hideSpoilers' => '미시청 에피소드 스포일러 숨기기',
'settings.hideSpoilersDescription' => '시청하지 않은 에피소드의 썸네일과 설명을 흐리게 처리',
'settings.playerBackend' => '플레이어 백엔드',
@@ -2050,6 +2074,8 @@ extension on TranslationsKo {
'settings.forceTvModeDescription' => 'TV 레이아웃을 강제합니다. 자동 감지되지 않는 기기용입니다. 재시작이 필요합니다.',
'settings.startInFullscreen' => '전체화면으로 시작',
'settings.startInFullscreenDescription' => '실행 시 Plezy를 전체화면 모드로 엽니다',
'settings.exitFullscreenOnPlayerClose' => '플레이어 닫을 때 전체화면 종료',
'settings.exitFullscreenOnPlayerCloseDescription' => '비디오 플레이어를 닫을 때 자동으로 전체화면을 종료합니다',
'settings.autoHidePerformanceOverlay' => '성능 오버레이 자동 숨기기',
'settings.autoHidePerformanceOverlayDescription' => '재생 컨트롤과 함께 성능 오버레이를 페이드 처리',
'settings.showNavBarLabels' => '내비게이션 바 라벨 표시',
@@ -2088,6 +2114,9 @@ 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' => '셰이더 전환',
@@ -2171,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' => '계속',
@@ -2213,6 +2246,7 @@ extension on TranslationsKo {
'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' => '화면 속 화면이 비활성화되어 있습니다. 시스템 설정에서 활성화하세요.',
@@ -2299,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' => '확인',
@@ -2312,8 +2348,6 @@ extension on TranslationsKo {
'profiles.signOut' => '로그아웃',
'profiles.signOutPlexTitle' => 'Plex에서 로그아웃하시겠습니까?',
'profiles.signOutPlexMessage' => ({required Object displayName}) => '${displayName} 및 모든 Plex Home 사용자를 제거할까요? 언제든 다시 로그인할 수 있습니다.',
_ => null,
} ?? switch (path) {
'profiles.signedOutPlex' => 'Plex에서 로그아웃되었습니다.',
'profiles.signOutFailed' => '로그아웃에 실패했습니다.',
'profiles.sectionTitle' => '프로필',
@@ -2368,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' => '사용 가능한 콘텐츠가 없습니다',
@@ -2453,6 +2489,7 @@ extension on TranslationsKo {
'libraries.filterCategories.year' => '연도',
'libraries.filterCategories.contentRating' => '시청 등급',
'libraries.filterCategories.tag' => '태그',
'libraries.filterCategories.unwatched' => '미시청',
'libraries.sortLabels.title' => '제목',
'libraries.sortLabels.dateAdded' => '추가된 날짜',
'libraries.sortLabels.releaseDate' => '출시일',
@@ -2787,6 +2824,7 @@ extension on TranslationsKo {
'companionRemote.remote.audio' => '오디오',
'companionRemote.remote.searchHint' => '데스크톱에서 검색...',
'videoSettings.playbackSpeed' => '재생 속도',
'videoSettings.zoom' => '확대/축소',
'videoSettings.sleepTimer' => '취침 타이머',
'videoSettings.audioSync' => '오디오 동기화',
'videoSettings.subtitleSync' => '자막 동기화',
@@ -2809,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' => '메타데이터 편집',
@@ -2826,8 +2866,6 @@ extension on TranslationsKo {
'metadataEdit.poster' => '포스터',
'metadataEdit.background' => '배경',
'metadataEdit.logo' => '로고',
_ => null,
} ?? switch (path) {
'metadataEdit.squareArt' => '정사각형 아트',
'metadataEdit.selectPoster' => '포스터 선택',
'metadataEdit.selectBackground' => '배경 선택',
@@ -2945,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' => '로그인',
+46 -4
View File
@@ -143,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';
@@ -253,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';
@@ -388,6 +391,8 @@ class _TranslationsSettingsNb extends TranslationsSettingsEn {
@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';
@@ -560,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';
@@ -602,6 +611,7 @@ class _TranslationsVideoControlsNb extends TranslationsVideoControlsEn {
@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';
@@ -812,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
@@ -1303,6 +1315,7 @@ class _TranslationsVideoSettingsNb extends TranslationsVideoSettingsEn {
// Translations
@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';
@@ -1502,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å';
@@ -1558,6 +1575,9 @@ 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';
@@ -1621,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
@@ -1832,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',
@@ -1915,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',
@@ -2050,6 +2074,8 @@ extension on TranslationsNb {
'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',
@@ -2088,6 +2114,9 @@ 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',
@@ -2171,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',
@@ -2213,6 +2246,7 @@ extension on TranslationsNb {
'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.',
@@ -2299,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',
@@ -2312,8 +2348,6 @@ extension on TranslationsNb {
'profiles.signOut' => 'Logg ut',
'profiles.signOutPlexTitle' => 'Logge ut av Plex?',
'profiles.signOutPlexMessage' => ({required Object displayName}) => 'Fjerne ${displayName} og alle Plex Home-brukere? Du kan logge inn igjen når som helst.',
_ => null,
} ?? switch (path) {
'profiles.signedOutPlex' => 'Logget ut av Plex.',
'profiles.signOutFailed' => 'Utlogging mislyktes.',
'profiles.sectionTitle' => 'Profiler',
@@ -2368,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',
@@ -2453,6 +2489,7 @@ 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',
@@ -2787,6 +2824,7 @@ extension on TranslationsNb {
'companionRemote.remote.audio' => 'Lyd',
'companionRemote.remote.searchHint' => 'Søk på stasjonær...',
'videoSettings.playbackSpeed' => 'Avspillingshastighet',
'videoSettings.zoom' => 'Zoom',
'videoSettings.sleepTimer' => 'Søvntimer',
'videoSettings.audioSync' => 'Lydsynkronisering',
'videoSettings.subtitleSync' => 'Undertekstsynkronisering',
@@ -2809,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',
@@ -2826,8 +2866,6 @@ extension on TranslationsNb {
'metadataEdit.poster' => 'Plakat',
'metadataEdit.background' => 'Bakgrunn',
'metadataEdit.logo' => 'Logo',
_ => null,
} ?? switch (path) {
'metadataEdit.squareArt' => 'Kvadratisk bilde',
'metadataEdit.selectPoster' => 'Velg plakat',
'metadataEdit.selectBackground' => 'Velg bakgrunn',
@@ -2945,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å',
+46 -4
View File
@@ -143,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';
@@ -253,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';
@@ -388,6 +391,8 @@ class _TranslationsSettingsNl extends TranslationsSettingsEn {
@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';
@@ -560,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';
@@ -602,6 +611,7 @@ class _TranslationsVideoControlsNl extends TranslationsVideoControlsEn {
@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';
@@ -812,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
@@ -1303,6 +1315,7 @@ class _TranslationsVideoSettingsNl extends TranslationsVideoSettingsEn {
// Translations
@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';
@@ -1502,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';
@@ -1558,6 +1575,9 @@ 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';
@@ -1621,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
@@ -1832,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',
@@ -1915,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',
@@ -2050,6 +2074,8 @@ extension on TranslationsNl {
'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',
@@ -2088,6 +2114,9 @@ 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',
@@ -2171,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',
@@ -2213,6 +2246,7 @@ extension on TranslationsNl {
'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.',
@@ -2299,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',
@@ -2312,8 +2348,6 @@ extension on TranslationsNl {
'profiles.signOut' => 'Afmelden',
'profiles.signOutPlexTitle' => 'Afmelden bij Plex?',
'profiles.signOutPlexMessage' => ({required Object displayName}) => '${displayName} en alle Plex Home-gebruikers verwijderen? Je kunt altijd opnieuw inloggen.',
_ => null,
} ?? switch (path) {
'profiles.signedOutPlex' => 'Afgemeld bij Plex.',
'profiles.signOutFailed' => 'Afmelden mislukt.',
'profiles.sectionTitle' => 'Profielen',
@@ -2368,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',
@@ -2453,6 +2489,7 @@ 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',
@@ -2787,6 +2824,7 @@ extension on TranslationsNl {
'companionRemote.remote.audio' => 'Audio',
'companionRemote.remote.searchHint' => 'Zoeken op desktop...',
'videoSettings.playbackSpeed' => 'Afspeelsnelheid',
'videoSettings.zoom' => 'Zoom',
'videoSettings.sleepTimer' => 'Slaaptimer',
'videoSettings.audioSync' => 'Audio synchronisatie',
'videoSettings.subtitleSync' => 'Ondertitel synchronisatie',
@@ -2809,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',
@@ -2826,8 +2866,6 @@ extension on TranslationsNl {
'metadataEdit.poster' => 'Poster',
'metadataEdit.background' => 'Achtergrond',
'metadataEdit.logo' => 'Logo',
_ => null,
} ?? switch (path) {
'metadataEdit.squareArt' => 'Vierkante afbeelding',
'metadataEdit.selectPoster' => 'Poster selecteren',
'metadataEdit.selectBackground' => 'Achtergrond selecteren',
@@ -2945,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',
+46 -4
View File
@@ -143,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';
@@ -253,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';
@@ -388,6 +391,8 @@ class _TranslationsSettingsPl extends TranslationsSettingsEn {
@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';
@@ -560,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';
@@ -602,6 +611,7 @@ class _TranslationsVideoControlsPl extends TranslationsVideoControlsEn {
@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';
@@ -812,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
@@ -1303,6 +1315,7 @@ class _TranslationsVideoSettingsPl extends TranslationsVideoSettingsEn {
// Translations
@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';
@@ -1502,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ę';
@@ -1558,6 +1575,9 @@ 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';
@@ -1621,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
@@ -1832,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',
@@ -1915,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',
@@ -2050,6 +2074,8 @@ extension on TranslationsPl {
'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',
@@ -2088,6 +2114,9 @@ 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',
@@ -2171,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',
@@ -2213,6 +2246,7 @@ extension on TranslationsPl {
'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.',
@@ -2299,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',
@@ -2312,8 +2348,6 @@ extension on TranslationsPl {
'profiles.signOut' => 'Wyloguj się',
'profiles.signOutPlexTitle' => 'Wylogować się z Plex?',
'profiles.signOutPlexMessage' => ({required Object displayName}) => 'Usunąć ${displayName} i wszystkich użytkowników Plex Home? Możesz zalogować się ponownie w każdej chwili.',
_ => null,
} ?? switch (path) {
'profiles.signedOutPlex' => 'Wylogowano z Plex.',
'profiles.signOutFailed' => 'Wylogowanie nie powiodło się.',
'profiles.sectionTitle' => 'Profile',
@@ -2368,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',
@@ -2453,6 +2489,7 @@ 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',
@@ -2787,6 +2824,7 @@ extension on TranslationsPl {
'companionRemote.remote.audio' => 'Audio',
'companionRemote.remote.searchHint' => 'Szukaj na komputerze...',
'videoSettings.playbackSpeed' => 'Prędkość odtwarzania',
'videoSettings.zoom' => 'Zoom',
'videoSettings.sleepTimer' => 'Wyłącznik czasowy',
'videoSettings.audioSync' => 'Synchronizacja audio',
'videoSettings.subtitleSync' => 'Synchronizacja napisów',
@@ -2809,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',
@@ -2826,8 +2866,6 @@ extension on TranslationsPl {
'metadataEdit.poster' => 'Plakat',
'metadataEdit.background' => 'Tło',
'metadataEdit.logo' => 'Logo',
_ => null,
} ?? switch (path) {
'metadataEdit.squareArt' => 'Kwadratowy obraz',
'metadataEdit.selectPoster' => 'Wybierz plakat',
'metadataEdit.selectBackground' => 'Wybierz tło',
@@ -2945,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ę',
+46 -4
View File
@@ -143,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';
@@ -253,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';
@@ -388,6 +391,8 @@ class _TranslationsSettingsPt extends TranslationsSettingsEn {
@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';
@@ -560,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';
@@ -602,6 +611,7 @@ class _TranslationsVideoControlsPt extends TranslationsVideoControlsEn {
@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';
@@ -812,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
@@ -1303,6 +1315,7 @@ class _TranslationsVideoSettingsPt extends TranslationsVideoSettingsEn {
// Translations
@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';
@@ -1502,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';
@@ -1558,6 +1575,9 @@ 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';
@@ -1621,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
@@ -1832,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',
@@ -1915,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',
@@ -2050,6 +2074,8 @@ extension on TranslationsPt {
'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',
@@ -2088,6 +2114,9 @@ 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',
@@ -2171,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',
@@ -2213,6 +2246,7 @@ extension on TranslationsPt {
'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.',
@@ -2299,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',
@@ -2312,8 +2348,6 @@ extension on TranslationsPt {
'profiles.signOut' => 'Sair',
'profiles.signOutPlexTitle' => 'Sair do Plex?',
'profiles.signOutPlexMessage' => ({required Object displayName}) => 'Remover ${displayName} e todos os usuários Plex Home? Você pode entrar novamente quando quiser.',
_ => null,
} ?? switch (path) {
'profiles.signedOutPlex' => 'Saiu do Plex.',
'profiles.signOutFailed' => 'Falha ao sair.',
'profiles.sectionTitle' => 'Perfis',
@@ -2368,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',
@@ -2453,6 +2489,7 @@ 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',
@@ -2787,6 +2824,7 @@ extension on TranslationsPt {
'companionRemote.remote.audio' => 'Áudio',
'companionRemote.remote.searchHint' => 'Buscar no desktop...',
'videoSettings.playbackSpeed' => 'Velocidade de Reprodução',
'videoSettings.zoom' => 'Zoom',
'videoSettings.sleepTimer' => 'Timer de Sono',
'videoSettings.audioSync' => 'Sincronia de Áudio',
'videoSettings.subtitleSync' => 'Sincronia de Legendas',
@@ -2809,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',
@@ -2826,8 +2866,6 @@ extension on TranslationsPt {
'metadataEdit.poster' => 'Poster',
'metadataEdit.background' => 'Plano de Fundo',
'metadataEdit.logo' => 'Logo',
_ => null,
} ?? switch (path) {
'metadataEdit.squareArt' => 'Imagem Quadrada',
'metadataEdit.selectPoster' => 'Selecionar Poster',
'metadataEdit.selectBackground' => 'Selecionar Plano de Fundo',
@@ -2945,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',
+46 -4
View File
@@ -143,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 => 'Создать новый';
@@ -253,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 => 'Бэкенд плеера';
@@ -388,6 +391,8 @@ class _TranslationsSettingsRu extends TranslationsSettingsEn {
@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 => 'Показывать подписи панели навигации';
@@ -560,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 => 'Продолжить';
@@ -602,6 +611,7 @@ class _TranslationsVideoControlsRu extends TranslationsVideoControlsEn {
@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 => 'Главы недоступны';
@@ -812,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
@@ -1303,6 +1315,7 @@ class _TranslationsVideoSettingsRu extends TranslationsVideoSettingsEn {
// Translations
@override String get playbackSpeed => 'Скорость воспроизведения';
@override String get zoom => 'Масштаб';
@override String get sleepTimer => 'Таймер сна';
@override String get audioSync => 'Синхронизация аудио';
@override String get subtitleSync => 'Синхронизация субтитров';
@@ -1502,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 => 'Войти';
@@ -1558,6 +1575,9 @@ 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 => 'Вкл./выкл. шейдеры';
@@ -1621,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
@@ -1832,6 +1853,7 @@ extension on TranslationsRu {
'common.yes' => 'Да',
'common.no' => 'Нет',
'common.delete' => 'Удалить',
'common.edit' => 'Редактировать',
'common.shuffle' => 'Перемешать',
'common.addTo' => 'Добавить в...',
'common.createNew' => 'Создать новый',
@@ -1915,6 +1937,8 @@ extension on TranslationsRu {
'settings.showEpisodeNumberOnCardsDescription' => 'Показывать номер сезона и серии на карточках серий',
'settings.showSeasonPostersOnTabs' => 'Показывать постеры сезонов на вкладках',
'settings.showSeasonPostersOnTabsDescription' => 'Показывать постер каждого сезона над его вкладкой',
'settings.tvFullCardLayout' => 'Полные TV-карточки',
'settings.tvFullCardLayoutDescription' => 'Использовать TV-карточки только с изображением и именами актёров поверх него',
'settings.hideSpoilers' => 'Скрыть спойлеры непросмотренных эпизодов',
'settings.hideSpoilersDescription' => 'Размывать миниатюры и описания непросмотренных серий',
'settings.playerBackend' => 'Бэкенд плеера',
@@ -2050,6 +2074,8 @@ extension on TranslationsRu {
'settings.forceTvModeDescription' => 'Принудительно включить ТВ-интерфейс. Для устройств без автоопределения. Требуется перезапуск.',
'settings.startInFullscreen' => 'Запускать в полноэкранном режиме',
'settings.startInFullscreenDescription' => 'Открывать Plezy в полноэкранном режиме при запуске',
'settings.exitFullscreenOnPlayerClose' => 'Выходить из полноэкранного режима при закрытии плеера',
'settings.exitFullscreenOnPlayerCloseDescription' => 'Автоматически выходить из полноэкранного режима при закрытии видеоплеера',
'settings.autoHidePerformanceOverlay' => 'Автоскрытие оверлея производительности',
'settings.autoHidePerformanceOverlayDescription' => 'Скрывать оверлей производительности вместе с элементами управления воспроизведением',
'settings.showNavBarLabels' => 'Показывать подписи панели навигации',
@@ -2088,6 +2114,9 @@ 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' => 'Вкл./выкл. шейдеры',
@@ -2171,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' => 'Продолжить',
@@ -2213,6 +2246,7 @@ extension on TranslationsRu {
'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' => 'Картинка-в-картинке отключена. Включите ее в системных настройках.',
@@ -2299,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' => 'Подтвердить действие',
@@ -2312,8 +2348,6 @@ extension on TranslationsRu {
'profiles.signOut' => 'Выйти',
'profiles.signOutPlexTitle' => 'Выйти из Plex?',
'profiles.signOutPlexMessage' => ({required Object displayName}) => 'Удалить ${displayName} и всех пользователей Plex Home? Вы сможете войти снова в любое время.',
_ => null,
} ?? switch (path) {
'profiles.signedOutPlex' => 'Вы вышли из Plex.',
'profiles.signOutFailed' => 'Не удалось выйти.',
'profiles.sectionTitle' => 'Профили',
@@ -2368,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' => 'Контент недоступен',
@@ -2453,6 +2489,7 @@ extension on TranslationsRu {
'libraries.filterCategories.year' => 'Год',
'libraries.filterCategories.contentRating' => 'Возрастной рейтинг',
'libraries.filterCategories.tag' => 'Тег',
'libraries.filterCategories.unwatched' => 'Непросмотренные',
'libraries.sortLabels.title' => 'Название',
'libraries.sortLabels.dateAdded' => 'Дата добавления',
'libraries.sortLabels.releaseDate' => 'Дата выхода',
@@ -2787,6 +2824,7 @@ extension on TranslationsRu {
'companionRemote.remote.audio' => 'Аудио',
'companionRemote.remote.searchHint' => 'Поиск на десктопе...',
'videoSettings.playbackSpeed' => 'Скорость воспроизведения',
'videoSettings.zoom' => 'Масштаб',
'videoSettings.sleepTimer' => 'Таймер сна',
'videoSettings.audioSync' => 'Синхронизация аудио',
'videoSettings.subtitleSync' => 'Синхронизация субтитров',
@@ -2809,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' => 'Редактировать метаданные',
@@ -2826,8 +2866,6 @@ extension on TranslationsRu {
'metadataEdit.poster' => 'Постер',
'metadataEdit.background' => 'Фон',
'metadataEdit.logo' => 'Логотип',
_ => null,
} ?? switch (path) {
'metadataEdit.squareArt' => 'Квадратное изображение',
'metadataEdit.selectPoster' => 'Выбрать постер',
'metadataEdit.selectBackground' => 'Выбрать фон',
@@ -2945,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' => 'Войти',
+46 -4
View File
@@ -143,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';
@@ -253,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';
@@ -388,6 +391,8 @@ class _TranslationsSettingsSv extends TranslationsSettingsEn {
@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';
@@ -560,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';
@@ -602,6 +611,7 @@ class _TranslationsVideoControlsSv extends TranslationsVideoControlsEn {
@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';
@@ -812,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
@@ -1303,6 +1315,7 @@ class _TranslationsVideoSettingsSv extends TranslationsVideoSettingsEn {
// Translations
@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';
@@ -1502,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';
@@ -1558,6 +1575,9 @@ 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';
@@ -1621,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
@@ -1832,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',
@@ -1915,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',
@@ -2050,6 +2074,8 @@ extension on TranslationsSv {
'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',
@@ -2088,6 +2114,9 @@ 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',
@@ -2171,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',
@@ -2213,6 +2246,7 @@ extension on TranslationsSv {
'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.',
@@ -2299,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',
@@ -2312,8 +2348,6 @@ extension on TranslationsSv {
'profiles.signOut' => 'Logga ut',
'profiles.signOutPlexTitle' => 'Logga ut från Plex?',
'profiles.signOutPlexMessage' => ({required Object displayName}) => 'Ta bort ${displayName} och alla Plex Home-användare? Du kan logga in igen när som helst.',
_ => null,
} ?? switch (path) {
'profiles.signedOutPlex' => 'Utloggad från Plex.',
'profiles.signOutFailed' => 'Utloggningen misslyckades.',
'profiles.sectionTitle' => 'Profiler',
@@ -2368,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',
@@ -2453,6 +2489,7 @@ 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',
@@ -2787,6 +2824,7 @@ extension on TranslationsSv {
'companionRemote.remote.audio' => 'Ljud',
'companionRemote.remote.searchHint' => 'Sök på datorn...',
'videoSettings.playbackSpeed' => 'Uppspelningshastighet',
'videoSettings.zoom' => 'Zoom',
'videoSettings.sleepTimer' => 'Sovtimer',
'videoSettings.audioSync' => 'Ljudsynkronisering',
'videoSettings.subtitleSync' => 'Undertextsynkronisering',
@@ -2809,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',
@@ -2826,8 +2866,6 @@ extension on TranslationsSv {
'metadataEdit.poster' => 'Poster',
'metadataEdit.background' => 'Bakgrund',
'metadataEdit.logo' => 'Logotyp',
_ => null,
} ?? switch (path) {
'metadataEdit.squareArt' => 'Kvadratisk bild',
'metadataEdit.selectPoster' => 'Välj poster',
'metadataEdit.selectBackground' => 'Välj bakgrund',
@@ -2945,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',
+46 -4
View File
@@ -143,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 => '新建';
@@ -253,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 => '播放器引擎';
@@ -388,6 +391,8 @@ class _TranslationsSettingsZh extends TranslationsSettingsEn {
@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 => '显示导航栏标签';
@@ -560,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 => '继续';
@@ -602,6 +611,7 @@ class _TranslationsVideoControlsZh extends TranslationsVideoControlsEn {
@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 => '没有可用的章节';
@@ -812,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
@@ -1303,6 +1315,7 @@ class _TranslationsVideoSettingsZh extends TranslationsVideoSettingsEn {
// Translations
@override String get playbackSpeed => '播放速度';
@override String get zoom => '缩放';
@override String get sleepTimer => '睡眠定时器';
@override String get audioSync => '音频同步';
@override String get subtitleSync => '字幕同步';
@@ -1502,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 => '登录';
@@ -1558,6 +1575,9 @@ 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 => '切换着色器';
@@ -1621,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
@@ -1832,6 +1853,7 @@ extension on TranslationsZh {
'common.yes' => '是',
'common.no' => '否',
'common.delete' => '删除',
'common.edit' => '编辑',
'common.shuffle' => '随机播放',
'common.addTo' => '添加到...',
'common.createNew' => '新建',
@@ -1915,6 +1937,8 @@ extension on TranslationsZh {
'settings.showEpisodeNumberOnCardsDescription' => '在剧集卡片上显示季和集编号',
'settings.showSeasonPostersOnTabs' => '在选项卡上显示季海报',
'settings.showSeasonPostersOnTabsDescription' => '在每季标签上方显示该季海报',
'settings.tvFullCardLayout' => '完整 TV 卡片',
'settings.tvFullCardLayoutDescription' => '使用仅显示图片的 TV 卡片,并叠加演员姓名',
'settings.hideSpoilers' => '隐藏未看剧集的剧透内容',
'settings.hideSpoilersDescription' => '模糊未观看剧集的缩略图和描述',
'settings.playerBackend' => '播放器引擎',
@@ -2050,6 +2074,8 @@ extension on TranslationsZh {
'settings.forceTvModeDescription' => '强制 TV 布局。适用于无法自动检测的设备。需要重启。',
'settings.startInFullscreen' => '以全屏模式启动',
'settings.startInFullscreenDescription' => '启动时以全屏模式打开 Plezy',
'settings.exitFullscreenOnPlayerClose' => '关闭播放器时退出全屏',
'settings.exitFullscreenOnPlayerCloseDescription' => '关闭视频播放器时自动退出全屏模式',
'settings.autoHidePerformanceOverlay' => '自动隐藏性能叠加层',
'settings.autoHidePerformanceOverlayDescription' => '性能叠加层随播放控件一起淡入淡出',
'settings.showNavBarLabels' => '显示导航栏标签',
@@ -2088,6 +2114,9 @@ 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' => '切换着色器',
@@ -2171,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' => '继续',
@@ -2213,6 +2246,7 @@ extension on TranslationsZh {
'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' => '画中画已禁用。请在系统设置中启用。',
@@ -2299,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' => '确认操作',
@@ -2312,8 +2348,6 @@ extension on TranslationsZh {
'profiles.signOut' => '退出登录',
'profiles.signOutPlexTitle' => '退出 Plex 登录?',
'profiles.signOutPlexMessage' => ({required Object displayName}) => '要移除 ${displayName} 和所有 Plex Home 用户吗?可随时重新登录。',
_ => null,
} ?? switch (path) {
'profiles.signedOutPlex' => '已退出 Plex 登录。',
'profiles.signOutFailed' => '退出登录失败。',
'profiles.sectionTitle' => '配置文件',
@@ -2368,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' => '没有可用内容',
@@ -2453,6 +2489,7 @@ extension on TranslationsZh {
'libraries.filterCategories.year' => '年份',
'libraries.filterCategories.contentRating' => '内容分级',
'libraries.filterCategories.tag' => '标签',
'libraries.filterCategories.unwatched' => '未观看',
'libraries.sortLabels.title' => '标题',
'libraries.sortLabels.dateAdded' => '添加日期',
'libraries.sortLabels.releaseDate' => '发行日期',
@@ -2787,6 +2824,7 @@ extension on TranslationsZh {
'companionRemote.remote.audio' => '音频',
'companionRemote.remote.searchHint' => '在桌面上搜索...',
'videoSettings.playbackSpeed' => '播放速度',
'videoSettings.zoom' => '缩放',
'videoSettings.sleepTimer' => '睡眠定时器',
'videoSettings.audioSync' => '音频同步',
'videoSettings.subtitleSync' => '字幕同步',
@@ -2809,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' => '编辑元数据',
@@ -2826,8 +2866,6 @@ extension on TranslationsZh {
'metadataEdit.poster' => '海报',
'metadataEdit.background' => '背景',
'metadataEdit.logo' => '标志',
_ => null,
} ?? switch (path) {
'metadataEdit.squareArt' => '方形图片',
'metadataEdit.selectPoster' => '选择海报',
'metadataEdit.selectBackground' => '选择背景',
@@ -2945,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' => '登录',
+23 -2
View File
@@ -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",
@@ -260,6 +263,8 @@
"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",
@@ -303,6 +308,9 @@
"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",
@@ -399,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",
@@ -441,6 +453,7 @@
"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",
@@ -609,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",
@@ -705,7 +720,8 @@
"genre": "Genre",
"year": "År",
"contentRating": "Åldersgräns",
"tag": "Tagg"
"tag": "Tagg",
"unwatched": "Osedda"
},
"sortLabels": {
"title": "Titel",
@@ -1077,6 +1093,7 @@
},
"videoSettings": {
"playbackSpeed": "Uppspelningshastighet",
"zoom": "Zoom",
"sleepTimer": "Sovtimer",
"audioSync": "Ljudsynkronisering",
"subtitleSync": "Undertextsynkronisering",
@@ -1255,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",
+23 -2
View File
@@ -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": "播放器引擎",
@@ -260,6 +263,8 @@
"forceTvModeDescription": "强制 TV 布局。适用于无法自动检测的设备。需要重启。",
"startInFullscreen": "以全屏模式启动",
"startInFullscreenDescription": "启动时以全屏模式打开 Plezy",
"exitFullscreenOnPlayerClose": "关闭播放器时退出全屏",
"exitFullscreenOnPlayerCloseDescription": "关闭视频播放器时自动退出全屏模式",
"autoHidePerformanceOverlay": "自动隐藏性能叠加层",
"autoHidePerformanceOverlayDescription": "性能叠加层随播放控件一起淡入淡出",
"showNavBarLabels": "显示导航栏标签",
@@ -303,6 +308,9 @@
"speedIncrease": "加速",
"speedDecrease": "减速",
"speedReset": "重置速度",
"zoomIn": "放大",
"zoomOut": "缩小",
"zoomReset": "重置缩放",
"subSeekNext": "跳转到下一字幕",
"subSeekPrev": "跳转到上一字幕",
"shaderToggle": "切换着色器",
@@ -399,6 +407,10 @@
"unlockRotation": "解锁旋转",
"timerActive": "定时器已激活",
"playbackWillPauseIn": "播放将在 ${duration} 后暂停",
"sleepTimerEndOfVideo": "当前视频结束时",
"sleepTimerStopAtHeader": "停止于",
"sleepTimerDurationHeader": "定时器",
"playbackWillPauseAtEnd": "播放将在此视频结束时暂停",
"stillWatching": "还在看吗?",
"pausingIn": "${seconds}秒后暂停",
"continueWatching": "继续",
@@ -441,6 +453,7 @@
"pipActive": "正在画中画模式中播放",
"pipFailed": "画中画启动失败",
"screenshotSaved": "截图已保存",
"zoomPercent": "缩放 ${percent}%",
"pipErrors": {
"androidVersion": "需要 Android 8.0 或更高版本",
"iosVersion": "需要 iOS 15.0 或更高版本",
@@ -609,7 +622,9 @@
"addConnectionSubtitleScoped": "添加到 ${displayName}: Plex、Jellyfin 或其他个人资料连接",
"sessionExpiredOne": "${name} 的会话已过期",
"sessionExpiredMany": "${count} 个服务器的会话已过期",
"signInAgain": "重新登录"
"signInAgain": "重新登录",
"editJellyfinTitle": "编辑 Jellyfin 连接",
"editJellyfinIntro": "添加或移除 ${serverName} 的 URL。Plezy 会使用可访问且延迟最低的 URL。"
},
"discover": {
"title": "发现",
@@ -705,7 +720,8 @@
"genre": "类型",
"year": "年份",
"contentRating": "内容分级",
"tag": "标签"
"tag": "标签",
"unwatched": "未观看"
},
"sortLabels": {
"title": "标题",
@@ -1077,6 +1093,7 @@
},
"videoSettings": {
"playbackSpeed": "播放速度",
"zoom": "缩放",
"sleepTimer": "睡眠定时器",
"audioSync": "音频同步",
"subtitleSync": "字幕同步",
@@ -1255,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": "登录",
+22 -7
View File
@@ -73,6 +73,7 @@ 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';
@@ -227,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());
}
@@ -764,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;
},
),
@@ -849,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()),
+2 -1
View File
@@ -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 []});
}
+6 -1
View File
@@ -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) {
+1 -1
View File
@@ -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,
};
+5 -2
View File
@@ -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).
@@ -493,20 +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 asks PlaybackInfo for a matching stream when a
/// non-original preset is explicitly selected. Throws
/// non-original preset is selected. Throws
/// [PlaybackException] when the item can't be resolved (no MediaSources,
/// no playable URL, transcode decision unavailable).
///
+9 -1
View File
@@ -25,6 +25,9 @@ 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,
@@ -36,6 +39,7 @@ class MediaSourceInfo {
this.defaultAudioStreamIndex,
this.defaultSubtitleStreamIndex,
this.trickplayByWidth,
this.videoAspectRatio,
});
int? getPartId() => partId;
}
@@ -135,6 +139,7 @@ class MediaSubtitleTrack with _TrackLabelMixin {
final bool forced;
final String? key;
final bool external;
final bool usesExternalDelivery;
MediaSubtitleTrack({
required this.id,
@@ -148,6 +153,7 @@ class MediaSubtitleTrack with _TrackLabelMixin {
required this.forced,
this.key,
this.external = false,
this.usesExternalDelivery = false,
});
String get label {
@@ -178,7 +184,9 @@ class MediaSubtitleTrack with _TrackLabelMixin {
/// 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 {
+3 -4
View File
@@ -23,10 +23,9 @@ class MediaStream {
// Subtitle
final bool forced;
/// Backend-resolved location for sidecar subtitle download. For Plex this
/// is the Plex-specific `/library/streams/{id}` path; for Jellyfin this is
/// the `DeliveryUrl` returned by `/Items/{id}/PlaybackInfo`. Null for
/// embedded streams.
/// Backend-resolved location for true sidecar subtitle download. Null for
/// embedded streams, even when Jellyfin can expose them through temporary
/// external delivery URLs during playback negotiation.
final String? sidecarPath;
const MediaStream({
+1 -1
View File
@@ -65,7 +65,7 @@ class MediaVersion {
/// Defaults to true when file-access fields are absent. Plex only populates
/// them when metadata is fetched with `checkFiles=1`.
bool get isPlayable => parts.isEmpty || parts.first.isPlayable;
bool get isPlayable => parts.isEmpty || parts.any((part) => part.isPlayable);
/// Display label with detailed information: "1080p H.264 MKV (8.5 Mbps)".
/// When [name] is set, it prefixes the technical label so a user can tell
+23
View File
@@ -0,0 +1,23 @@
/// Backend-neutral metadata attached to a playback report.
///
/// This deliberately describes user/client intent rather than backend wire
/// parameters. Plex maps offline replays to `offline`, `updated`, and
/// `continuing` timeline query params; backends without equivalent semantics
/// can ignore the fields.
enum PlaybackReportOrigin { live, offlineReplay }
class PlaybackReportMetadata {
final PlaybackReportOrigin origin;
final DateTime? recordedAt;
final bool? willContinue;
const PlaybackReportMetadata({this.origin = PlaybackReportOrigin.live, this.recordedAt, this.willContinue});
const PlaybackReportMetadata.live({bool? willContinue})
: this(origin: PlaybackReportOrigin.live, willContinue: willContinue);
const PlaybackReportMetadata.offlineReplay({required DateTime recordedAt, bool willContinue = false})
: this(origin: PlaybackReportOrigin.offlineReplay, recordedAt: recordedAt, willContinue: willContinue);
bool get isOfflineReplay => origin == PlaybackReportOrigin.offlineReplay;
}
+8 -7
View File
@@ -75,9 +75,9 @@ class ServerCapabilities {
/// still works but choices don't follow the user across devices.
final bool trackPreferencePersistence;
/// Multi-endpoint connection model with relay/local/remote racing
/// (Plex `findBestWorkingConnection`). Jellyfin servers expose a single
/// URL, so this is false there.
/// Multi-endpoint connection model with endpoint racing/failover. Plex gets
/// local/remote/relay candidates from plex.tv; Jellyfin uses user-entered
/// URLs for the same server.
final bool endpointFailover;
/// Watch progress can be queued offline and replayed when reconnected
@@ -102,9 +102,9 @@ class ServerCapabilities {
/// gates whether the player attempts the load at all.
final bool scrubThumbnails;
/// Library section exposes a folder hierarchy (Plex
/// `/library/sections/{id}/folders`). Jellyfin has no equivalent endpoint,
/// so the "Folders" grouping option is hidden when this is false.
/// Library section exposes a folder hierarchy. Plex uses
/// `/library/sections/{id}/folders`; Jellyfin uses direct-child
/// `/Items?ParentId=...&Recursive=false` queries.
final bool folderGrouping;
const ServerCapabilities({
@@ -173,12 +173,13 @@ class ServerCapabilities {
numericUserRating: false,
externalSubtitleSearch: false,
trackPreferencePersistence: true,
endpointFailover: false,
endpointFailover: true,
offlineWatchQueue: false,
discordRpc: false,
richMetadataEdit: false,
alphaBar: AlphaBarMode.nameStartsWithFilter,
scrubThumbnails: true,
folderGrouping: true,
);
ServerCapabilities copyWith({
@@ -12,11 +12,17 @@ class PlexVideoPlaybackData {
final List<MediaMarker> markers;
final int selectedMediaIndex;
final int selectedPartIndex;
PlexVideoPlaybackData({
required this.videoUrl,
required this.mediaInfo,
required this.availableVersions,
this.markers = const [],
this.selectedMediaIndex = 0,
this.selectedPartIndex = 0,
});
bool get hasValidVideoUrl => videoUrl != null && videoUrl!.isNotEmpty;
+3 -3
View File
@@ -1,8 +1,8 @@
/// Video transcode quality presets modeled on Plex Web's custom-quality table.
///
/// When a non-[original] preset is selected, playback goes through Plex's
/// `/video/:/transcode/universal/decision` + `start` flow. [original] bypasses
/// transcoding entirely and uses the direct-play URL.
/// When a non-[original] preset is selected, playback asks the active backend
/// for a capped transcode stream. [original] bypasses transcoding entirely and
/// uses the direct-play URL.
enum TranscodeQualityPreset {
original(null, null, null),
p240_320(320, '420x240', 30),
+17 -2
View File
@@ -70,8 +70,23 @@ sealed class SubtitleTrack with _$SubtitleTrack {
String? uri,
}) = _SubtitleTrack;
factory SubtitleTrack.uri(String uri, {String? title, String? language}) =>
SubtitleTrack(id: 'external:$uri', title: title, language: language, isExternal: true, uri: uri);
factory SubtitleTrack.uri(
String uri, {
String? title,
String? language,
String? codec,
bool isDefault = false,
bool isForced = false,
}) => SubtitleTrack(
id: 'external:$uri',
title: title,
language: language,
codec: codec,
isDefault: isDefault,
isForced: isForced,
isExternal: true,
uri: uri,
);
static const auto = SubtitleTrack(id: 'auto', title: 'Auto');
+16 -2
View File
@@ -120,7 +120,16 @@ class PlayerAndroid extends PlayerBase {
if (externalSubtitles != null && externalSubtitles.isNotEmpty)
'externalSubtitles': externalSubtitles
.where((s) => s.uri != null)
.map((s) => {'uri': s.uri, 'title': s.title, 'language': s.language})
.map(
(s) => {
'uri': s.uri,
'title': s.title,
'language': s.language,
'codec': s.codec,
'isDefault': s.isDefault,
'isForced': s.isForced,
},
)
.toList(),
});
}
@@ -372,6 +381,12 @@ class PlayerAndroid extends PlayerBase {
await invoke('setBoxFitMode', {'mode': mode});
}
/// Apply custom zoom to the native ExoPlayer layer.
Future<void> setVideoZoom(double scale) async {
if (disposed || !initialized) return;
await invoke('setVideoZoom', {'scale': scale});
}
@override
Future<bool> setVideoFrameRate(double fps, int durationMs, {int extraDelayMs = 0}) async {
if (disposed || !initialized) return false;
@@ -411,7 +426,6 @@ class PlayerAndroid extends PlayerBase {
@override
Future<void> setLogLevel(String level) async {
if (disposed) return;
await _ensureInitialized();
await invoke('setLogLevel', {'level': level});
}
}
+68 -1
View File
@@ -11,6 +11,8 @@ import 'player_base.dart';
/// or FlTextureGL (Linux).
class PlayerNative extends PlayerBase {
int? _textureIdValue;
String _dvConversionMode = 'auto';
String _dvConversionLog = 'no';
@override
int? get textureId => _textureIdValue;
@@ -34,6 +36,52 @@ class PlayerNative extends PlayerBase {
/// but as JSON strings on Android/Windows.
static final String _nodeFormat = (Platform.isAndroid || Platform.isWindows) ? 'string' : 'node';
static String _normalizeDvConversionMode(String value) {
return switch (value.toLowerCase()) {
'disabled' || 'native' => 'disabled',
'dv81' || 'p8' || 'p7_to_p8' || 'p7-to-p8' => 'dv81',
'hevc' || 'hevc_strip' || 'p7_to_hevc' || 'p7-to-hevc' => 'hevc_strip',
_ => 'auto',
};
}
static String _normalizeBoolProperty(String value) {
return switch (value.toLowerCase()) {
'1' || 'true' || 'yes' || 'on' => 'yes',
_ => 'no',
};
}
MediaDisplayCriteria? _effectiveDisplayCriteria(MediaDisplayCriteria? criteria) {
if (criteria == null || (criteria.doviProfile ?? 0) != 7) return criteria;
final convertToDv81 = _dvConversionMode == 'auto' || _dvConversionMode == 'dv81';
if (convertToDv81) {
return MediaDisplayCriteria(
fps: criteria.fps,
width: criteria.width,
height: criteria.height,
doviProfile: 8,
doviLevel: criteria.doviLevel,
doviCompatibilityId: 1,
transfer: criteria.transfer ?? 'smpte2084',
primaries: criteria.primaries ?? 'bt2020',
matrix: criteria.matrix ?? 'bt2020nc',
);
}
return MediaDisplayCriteria(
fps: criteria.fps,
width: criteria.width,
height: criteria.height,
doviProfile: 0,
doviCompatibilityId: criteria.doviCompatibilityId ?? 1,
transfer: criteria.transfer ?? 'smpte2084',
primaries: criteria.primaries ?? 'bt2020',
matrix: criteria.matrix ?? 'bt2020nc',
);
}
// Memoizes the in-flight init Future so concurrent callers (e.g. the
// parallel `requestAudioFocus()` and `setProperty()` paths kicked off in
// VideoPlayerScreen._initializePlayer) share one `invoke('initialize')`.
@@ -132,6 +180,11 @@ class PlayerNative extends PlayerBase {
await setProperty('pause', 'yes');
}
// Prevent mpv's own default subtitle selection from racing the
// server-backed TrackManager decision applied after tracks are discovered.
await setProperty('sid', 'no');
await setProperty('secondary-sid', 'no');
// Convert content:// URIs to fdclose:// for MPV on Android (SAF SD card downloads)
var uri = media.uri;
if (Platform.isAndroid && uri.startsWith('content://')) {
@@ -209,6 +262,14 @@ class PlayerNative extends PlayerBase {
@override
Future<void> setProperty(String name, String value) async {
if (disposed) return;
if ((Platform.isIOS || Platform.isMacOS) && name == 'dv-conversion-mode') {
value = _normalizeDvConversionMode(value);
_dvConversionMode = value;
}
if ((Platform.isIOS || Platform.isMacOS) && name == 'dv-conversion-log') {
value = _normalizeBoolProperty(value);
_dvConversionLog = value;
}
await _ensureInitialized();
await invoke('setProperty', {'name': name, 'value': value});
}
@@ -216,6 +277,12 @@ class PlayerNative extends PlayerBase {
@override
Future<String?> getProperty(String name) async {
if (disposed) return null;
if ((Platform.isIOS || Platform.isMacOS) && name == 'dv-conversion-mode') {
return _dvConversionMode;
}
if ((Platform.isIOS || Platform.isMacOS) && name == 'dv-conversion-log') {
return _dvConversionLog;
}
await _ensureInitialized();
return await invoke<String>('getProperty', {'name': name});
}
@@ -231,7 +298,7 @@ class PlayerNative extends PlayerBase {
Future<void> setDisplayCriteria(MediaDisplayCriteria? criteria) async {
if (disposed || !Platform.isIOS) return;
await _ensureInitialized();
await invoke('setDisplayCriteria', {'criteria': criteria?.toJson()});
await invoke('setDisplayCriteria', {'criteria': _effectiveDisplayCriteria(criteria)?.toJson()});
}
@override
+3 -1
View File
@@ -223,7 +223,9 @@ class ActiveProfileProvider extends ChangeNotifier with DisposableChangeNotifier
await storage.setActiveProfileId(profile.id);
final now = DateTime.now();
await storage.markProfileUsed(profile.id, now);
_active = profile.copyWith(lastUsedAt: now);
final activated = profile.copyWith(lastUsedAt: now);
_active = activated;
_profiles = sortProfilesByLastUsed([for (final p in _profiles) p.id == profile.id ? activated : p]);
safeNotifyListeners();
appLogger.i('ActiveProfileProvider: activated ${profile.displayName} (${profile.id})');
if (profile.isLocal) {
+30 -2
View File
@@ -13,7 +13,7 @@ List<Profile> mergeLocalWithPlexHome({
required Map<String, Connection> connectionsById,
StorageService? storage,
}) {
final out = <Profile>[...locals];
final out = <Profile>[for (final local in locals) _withLatestStoredLastUsed(local, storage)];
for (final entry in plexHomeByConnectionId.entries) {
final connectionId = entry.key;
if (!connectionsById.containsKey(connectionId)) continue;
@@ -29,5 +29,33 @@ List<Profile> mergeLocalWithPlexHome({
);
}
}
return out;
return sortProfilesByLastUsed(out);
}
List<Profile> sortProfilesByLastUsed(List<Profile> profiles) {
final indexed = profiles.indexed.toList();
indexed.sort((a, b) {
final aLastUsed = a.$2.lastUsedAt;
final bLastUsed = b.$2.lastUsedAt;
if (aLastUsed == null && bLastUsed == null) return a.$1.compareTo(b.$1);
if (aLastUsed == null) return 1;
if (bLastUsed == null) return -1;
final byLastUsed = bLastUsed.compareTo(aLastUsed);
if (byLastUsed != 0) return byLastUsed;
return a.$1.compareTo(b.$1);
});
return [for (final entry in indexed) entry.$2];
}
Profile _withLatestStoredLastUsed(Profile profile, StorageService? storage) {
final storedLastUsed = storage?.getProfileLastUsed(profile.id);
final currentLastUsed = profile.lastUsedAt;
final lastUsedAt = switch ((currentLastUsed, storedLastUsed)) {
(null, final stored?) => stored,
(final current?, null) => current,
(final current?, final stored?) => stored.isAfter(current) ? stored : current,
_ => null,
};
if (lastUsedAt == currentLastUsed) return profile;
return profile.copyWith(lastUsedAt: lastUsedAt);
}
+75 -68
View File
@@ -17,6 +17,7 @@ import '../services/download_storage_service.dart';
import '../services/multi_server_manager.dart';
import '../services/offline_mode_source.dart';
import '../services/storage_service.dart';
import '../services/watch_state_resolver.dart';
import '../media/media_server_client.dart';
import '../services/sync_rule_executor.dart';
import '../utils/app_logger.dart';
@@ -361,7 +362,7 @@ class DownloadProvider extends ChangeNotifier with DisposableChangeNotifierMixin
scopes[key] = await _offlineWatchScopeForGlobalKey(key);
}
final profileId = _activeProfileId;
final actions = await _database.getLatestWatchActionsForKeys(
final actions = await _database.getWatchActionsForKeys(
keys,
profileId: profileId,
filterProfile: profileId != null,
@@ -371,21 +372,9 @@ class DownloadProvider extends ChangeNotifier with DisposableChangeNotifierMixin
for (final entry in actions.entries) {
final base = _metadata[entry.key];
if (base == null) continue;
final action = entry.value;
bool? isWatched;
switch (action.actionType) {
case 'watched':
isWatched = true;
case 'unwatched':
isWatched = false;
case 'progress':
isWatched = action.shouldMarkWatched;
}
if (isWatched == null) continue;
_metadata[entry.key] = base.copyWith(
viewCount: isWatched ? 1 : 0,
viewOffsetMs: isWatched ? base.viewOffsetMs : 0,
);
final snapshot = WatchStateResolver.fromActions(entry.value);
if (snapshot.isEmpty) continue;
_metadata[entry.key] = snapshot.apply(base);
}
} catch (e) {
appLogger.w('Failed to apply offline watch overlay', error: e);
@@ -494,26 +483,41 @@ class DownloadProvider extends ChangeNotifier with DisposableChangeNotifierMixin
}
void _onWatchStateChanged(WatchStateEvent event) {
// Progress ticks fire continuously during playback; only react to discrete
// watched/unwatched flips so we don't churn listeners on every frame.
if (event.changeType == WatchStateChangeType.progressUpdate) return;
if (event.isNowWatched == null) return;
final snapshot = WatchStateResolver.fromEvent(event);
if (snapshot.isEmpty) return;
final globalKey = buildGlobalKey(event.serverId, event.itemId);
final base = _metadata[globalKey];
if (base == null) return;
final eventScope = event.cacheServerId;
final activeScope = _downloadManager.activeClientScopeIdForServer(event.serverId);
if (eventScope != null && eventScope.isNotEmpty && eventScope != event.serverId && eventScope != activeScope) {
return;
}
_metadata[globalKey] = snapshot.apply(base);
final isWatched = snapshot.isWatched;
// Sub-threshold progress ticks are frequent; offline reloads re-apply them
// from queued watch actions, so only durable watch flips hit the cache here.
final shouldPersistToCache =
isWatched != null && (event.changeType != WatchStateChangeType.progressUpdate || event.isNowWatched == true);
final isWatched = event.isNowWatched!;
_metadata[globalKey] = base.copyWith(viewCount: isWatched ? 1 : 0, viewOffsetMs: isWatched ? base.viewOffsetMs : 0);
// Persist into the per-backend pinned cache so the patch survives reloads
// (`_loadPersistedDownloads` rehydrates `_metadata` from the cache).
unawaited(
ApiCache.forBackend(base.backend)
.applyWatchState(serverId: event.cacheServerId ?? event.serverId, itemId: event.itemId, isWatched: isWatched)
.catchError((Object e) {
appLogger.w('Failed to apply watch state to cache for $globalKey', error: e);
}),
);
if (shouldPersistToCache) {
unawaited(
ApiCache.forBackend(base.backend)
.applyWatchState(
serverId: event.cacheServerId ?? event.serverId,
itemId: event.itemId,
isWatched: isWatched,
)
.catchError((Object e) {
appLogger.w('Failed to apply watch state to cache for $globalKey', error: e);
}),
);
}
safeNotifyListeners();
}
@@ -660,42 +664,18 @@ class DownloadProvider extends ChangeNotifier with DisposableChangeNotifierMixin
}) {
final globalKey = buildGlobalKey(serverId, ratingKey);
// DIAGNOSTIC: Check all sources of episode count
final meta = _metadata[globalKey];
final metadataLeafCount = meta?.leafCount;
final storedCount = _totalEpisodeCounts[globalKey];
final downloadedCount = episodes.length;
// The progress ring reflects only the episodes the user actually queued for
// this show/season — not the show's full episode count. _getEpisodeDownloads
// returns just the owned download records, so episodes.length IS the queued
// count. Downloading 5 of a 50-episode show therefore reaches 100% at 5/5.
//
// NOTE: the show's full episode count (metadata.leafCount / _totalEpisodeCounts)
// is intentionally not used as the denominator here.
// TODO: remove the now-unread _totalEpisodeCounts plumbing in a dedicated cleanup.
final int totalEpisodes = episodes.length;
appLogger.d(
'📊 Episode count sources for $entityType $ratingKey:\n'
' - Metadata leafCount: $metadataLeafCount\n'
' - Stored count: $storedCount\n'
' - Downloaded episodes: $downloadedCount\n'
' - Metadata exists: ${meta != null}\n'
' - Type: ${meta?.kind.id}\n'
' - Title: ${meta?.title}',
);
// Get total episode count - Use metadata.leafCount as primary source
int totalEpisodes;
String countSource;
if (metadataLeafCount != null && metadataLeafCount > 0) {
totalEpisodes = metadataLeafCount;
countSource = 'metadata.leafCount';
} else if (storedCount != null && storedCount > 0) {
totalEpisodes = storedCount;
countSource = 'stored count (StorageService)';
} else {
totalEpisodes = downloadedCount;
countSource = 'downloaded episodes (fallback)';
}
appLogger.d('✅ Using totalEpisodes=$totalEpisodes from [$countSource] for $entityType $ratingKey');
// If we have stored count but no downloads, check if it's a valid partial state
if (totalEpisodes == 0 || (episodes.isEmpty && totalEpisodes > 0)) {
appLogger.d('⚠️ No valid downloads for $entityType $ratingKey, returning null');
if (totalEpisodes == 0) {
appLogger.d('⚠️ No queued downloads for $entityType $ratingKey, returning null');
return null;
}
@@ -704,8 +684,10 @@ class DownloadProvider extends ChangeNotifier with DisposableChangeNotifierMixin
int downloadingCount = 0;
int queuedCount = 0;
int failedCount = 0;
int summedProgress = 0; // sum of per-episode progress (completed counts as 100)
for (final ep in episodes) {
summedProgress += ep.status == DownloadStatus.completed ? 100 : ep.progress;
switch (ep.status) {
case DownloadStatus.completed:
completedCount++;
@@ -736,8 +718,13 @@ class DownloadProvider extends ChangeNotifier with DisposableChangeNotifierMixin
return null;
}
// Calculate overall progress percentage based on TOTAL episodes
final int overallProgress = totalEpisodes > 0 ? ((completedCount * 100) / totalEpisodes).round() : 0;
// Smooth percentage across the queued episodes: an in-flight episode
// contributes its partial progress so the ring advances continuously,
// rather than jumping only when whole episodes complete. Cap below 100%
// until every episode is actually complete — otherwise rounding (e.g.
// 99.8 → 100) could fill the ring while a download is still finishing.
final int rawProgress = (summedProgress / totalEpisodes).round();
final int overallProgress = completedCount == totalEpisodes ? 100 : (rawProgress > 99 ? 99 : rawProgress);
appLogger.d(
'Aggregate progress for $entityType $ratingKey: $overallProgress% '
@@ -828,7 +815,7 @@ class DownloadProvider extends ChangeNotifier with DisposableChangeNotifierMixin
/// Get the local video file path for a downloaded item
/// Returns null if not downloaded or file doesn't exist
Future<String?> getVideoFilePath(String globalKey) async {
Future<String?> getVideoFilePath(String globalKey, {int? mediaIndex, String? mediaSourceId}) async {
appLogger.d('getVideoFilePath called with globalKey: $globalKey');
if (!_ownsDownloadKey(globalKey)) {
appLogger.w('Profile does not own downloaded item: $globalKey');
@@ -844,6 +831,25 @@ class DownloadProvider extends ChangeNotifier with DisposableChangeNotifierMixin
appLogger.w('Download not complete. Status: ${downloadedItem.status}');
return null;
}
final expectedSourceId = mediaSourceId?.trim();
final downloadedSourceId = downloadedItem.mediaSourceId;
final comparedBySourceId =
expectedSourceId != null &&
expectedSourceId.isNotEmpty &&
downloadedSourceId != null &&
downloadedSourceId.isNotEmpty;
if (comparedBySourceId && expectedSourceId != downloadedSourceId) {
appLogger.w(
'Downloaded media source mismatch for $globalKey: have $downloadedSourceId, expected $expectedSourceId',
);
return null;
}
if (!comparedBySourceId && mediaIndex != null && downloadedItem.mediaIndex != mediaIndex) {
appLogger.w(
'Downloaded media index mismatch for $globalKey: have ${downloadedItem.mediaIndex}, expected $mediaIndex',
);
return null;
}
if (downloadedItem.videoFilePath == null) {
appLogger.w('Video file path is null for globalKey: $globalKey');
return null;
@@ -1006,7 +1012,8 @@ class DownloadProvider extends ChangeNotifier with DisposableChangeNotifierMixin
final existing = _downloads[globalKey]!;
if (existing.status == DownloadStatus.downloading ||
existing.status == DownloadStatus.completed ||
existing.status == DownloadStatus.queued) {
existing.status == DownloadStatus.queued ||
existing.status == DownloadStatus.paused) {
final claimed = await _claimDownloadForActiveProfile(globalKey);
if (claimed) safeNotifyListeners();
return claimed;
+86 -11
View File
@@ -23,6 +23,20 @@ class LibrariesProvider extends ChangeNotifier with DisposableChangeNotifierMixi
/// see the same in-flight result instead of racing two separate fetches.
Future<void>? _inFlightLoad;
/// Server ids whose library fetch *succeeded* in the current [_libraries], as
/// reported by [DataAggregationService.getMediaLibrariesFromAllServers].
/// Keyed on fetch success (not on which servers returned libraries) so a
/// server that genuinely has zero libraries still counts as loaded, while a
/// server whose fetch failed does not — the latter is retried on the next
/// status emission instead of being cached as "loaded" forever. Drives
/// [syncToOnlineServers].
Set<String> _loadedServerIds = {};
/// Set when a (re)load is requested while one is already in flight, so the
/// loop runs another pass: a server that comes online *during* a load would
/// otherwise be lost to the coalesced [_inFlightLoad].
bool _hasPendingLoad = false;
/// Unmodifiable list of all libraries (filtered for supported types, ordered)
List<MediaLibrary> get libraries => List.unmodifiable(_libraries);
@@ -47,30 +61,77 @@ class LibrariesProvider extends ChangeNotifier with DisposableChangeNotifierMixi
_aggregationService = service;
}
/// Load libraries from all connected servers.
/// Filters out music libraries and applies saved ordering.
Future<void> loadLibraries() {
return _inFlightLoad ??= _loadLibrariesInternal().whenComplete(() => _inFlightLoad = null);
/// Reload libraries when the set of online servers has grown since the last
/// load. Servers connect in waves — the owner Plex account, then each
/// borrowed/shared connection, then Jellyfin, plus slow servers that
/// reconnect after timing out — and each wave must surface in the sidebar
/// without a profile re-switch or app restart.
///
/// No-op when uninitialized, when [onlineServerIds] is empty, or when every
/// id is already represented in the current load. That last guard keeps the
/// many unrelated reasons the server-status stream fires (visibility churn,
/// auth errors, Live TV probes, a server going offline) from causing reload
/// storms.
Future<void> syncToOnlineServers(Set<String> onlineServerIds) {
if (_aggregationService == null || onlineServerIds.isEmpty) return Future<void>.value();
if (_loadState == LibrariesLoadState.loaded && _loadedServerIds.containsAll(onlineServerIds)) {
return Future<void>.value();
}
return _load();
}
Future<void> _loadLibrariesInternal() async {
/// Load libraries from all connected servers, unconditionally. Used by
/// pull-to-refresh, inline connection-add, and library reordering.
/// Filters out music libraries and applies saved ordering.
Future<void> loadLibraries() => _load();
/// Single entry point for every (re)load. Concurrent callers coalesce onto
/// one in-flight pass; a request that arrives mid-pass is replayed by
/// [_runLoadLoop] so it isn't masked by that coalescing. Each pass fetches
/// whatever is online at fetch time, so no caller needs to specify a target.
Future<void> _load() {
_hasPendingLoad = true;
return _inFlightLoad ??= _runLoadLoop().whenComplete(() => _inFlightLoad = null);
}
Future<void> _runLoadLoop() async {
while (_hasPendingLoad) {
_hasPendingLoad = false;
final succeeded = await _loadLibrariesInternal();
// Stop on failure so a persistently failing fetch can't hot-loop; the
// next server-status emission re-drives the sync.
if (!succeeded) break;
}
}
/// Returns `true` on a successful load, `false` on error.
Future<bool> _loadLibrariesInternal() async {
if (_aggregationService == null) {
appLogger.w('LibrariesProvider: Cannot load libraries - not initialized');
return;
return false;
}
_loadState = LibrariesLoadState.loading;
_errorMessage = null;
safeNotifyListeners();
// Reloading over an already-loaded list (a reactive server-connect sync, an
// inline connection add, a reorder) must not flip the UI back to a loading
// state: screens such as LibrariesScreen replace their whole body with a
// spinner whenever `isLoading` is true. Keep the current list visible and
// swap in the fuller one when the fetch completes; only the first load (or
// a reload after clear()/error) surfaces the spinner.
final reloadInPlace = _loadState == LibrariesLoadState.loaded;
if (!reloadInPlace) {
_loadState = LibrariesLoadState.loading;
_errorMessage = null;
safeNotifyListeners();
}
try {
// Fetch libraries from every connected backend (Plex + Jellyfin).
// The aggregation service converts Plex-typed responses to MediaLibrary
// internally; Jellyfin clients return MediaLibrary natively.
final allLibraries = await _aggregationService!.getMediaLibrariesFromAllServers();
final result = await _aggregationService!.getMediaLibrariesFromAllServers();
// Filter out music libraries (not supported)
final filteredLibraries = allLibraries.where((lib) => !ContentTypeHelper.isMusicLibrary(lib)).toList();
final filteredLibraries = result.libraries.where((lib) => !ContentTypeHelper.isMusicLibrary(lib)).toList();
// Apply saved library order
final storage = await StorageService.getInstance();
@@ -78,16 +139,28 @@ class LibrariesProvider extends ChangeNotifier with DisposableChangeNotifierMixi
final orderedLibraries = _applyLibraryOrder(filteredLibraries, savedOrder);
_libraries = orderedLibraries;
// Track which servers actually responded so [syncToOnlineServers] can tell
// a genuinely new server from one already covered. Keyed on fetch success
// (not on which servers returned libraries) so a zero-library server still
// counts as loaded, while a server whose fetch failed is left out and
// retried on the next status emission.
_loadedServerIds = result.succeededServerIds;
_loadState = LibrariesLoadState.loaded;
_errorMessage = null;
appLogger.i('LibrariesProvider: Loaded ${_libraries.length} libraries');
safeNotifyListeners();
return true;
} catch (e, stackTrace) {
appLogger.e('LibrariesProvider: Failed to load libraries', error: e, stackTrace: stackTrace);
// A refresh that fails over an existing list keeps the last good data and
// `loaded` state instead of blanking to an error screen; the next status
// emission re-drives the sync.
if (reloadInPlace) return false;
_loadState = LibrariesLoadState.error;
_errorMessage = e.toString();
safeNotifyListeners();
return false;
}
}
@@ -118,6 +191,8 @@ class LibrariesProvider extends ChangeNotifier with DisposableChangeNotifierMixi
_libraries = [];
_loadState = LibrariesLoadState.initial;
_errorMessage = null;
_loadedServerIds = {};
_hasPendingLoad = false;
safeNotifyListeners();
appLogger.d('LibrariesProvider: Cleared library data');
}
+26
View File
@@ -40,6 +40,14 @@ class MultiServerProvider extends ChangeNotifier with DisposableChangeNotifierMi
/// Previously-seen set of online server IDs, used to detect new servers
Set<String> _previousOnlineServerIds = {};
/// Invoked with the current visibility-filtered online server ids whenever
/// the manager's status stream fires (a server connects, reconnects, drops,
/// or its auth state changes). Lets `LibrariesProvider` reload when the
/// online set grows — servers bind in waves and slow ones reconnect after
/// the initial load — without coupling the two providers by type. Wired once
/// in `main.dart`.
void Function(Set<String> onlineServerIds)? onOnlineServersChanged;
/// Visibility filter applied by the active app profile. `null` means
/// "all servers visible" (no profile restriction); otherwise only server
/// ids in the set surface through [serverIds] / [onlineServerIds].
@@ -130,12 +138,19 @@ class MultiServerProvider extends ChangeNotifier with DisposableChangeNotifierMi
MultiServerProvider(this._serverManager, this._aggregationService) {
// Listen to server status changes
_statusSubscription = _serverManager.statusStream.listen((_) {
_promoteOnlineExpectedServers();
final currentOnline = Set<String>.from(onlineServerIds);
final hasNewServer = currentOnline.any((id) => !_previousOnlineServerIds.contains(id));
_previousOnlineServerIds = currentOnline;
safeNotifyListeners();
// Reload libraries when the online set changes. LibrariesProvider owns
// the "is anything actually new to me?" decision (its loaded set can
// differ from _previousOnlineServerIds after a load error or a profile
// switch that cleared it), so notify unconditionally and let it decide.
onOnlineServersChanged?.call(currentOnline);
// Only re-check live TV when a new server came online
if (hasNewServer) {
checkLiveTvAvailability();
@@ -143,6 +158,17 @@ class MultiServerProvider extends ChangeNotifier with DisposableChangeNotifierMi
});
}
void _promoteOnlineExpectedServers() {
final visible = _visibleServerIds;
final expected = _expectedVisibleServerIds;
if (visible == null || expected == null || expected.isEmpty) return;
final onlineExpected = _serverManager.onlineServerIds.where(expected.contains).where((id) => !visible.contains(id));
if (onlineExpected.isEmpty) return;
_visibleServerIds = {...visible, ...onlineExpected};
}
/// Get the multi-server manager
MultiServerManager get serverManager => _serverManager;
@@ -76,6 +76,9 @@ class OfflineWatchProvider extends ChangeNotifier with DisposableChangeNotifierM
return localOffset;
}
final localStatus = await _syncService.getLocalWatchStatus(globalKey);
if (localStatus == true) return null;
// Fall back to cached metadata
final metadata = _downloadProvider.getMetadata(globalKey);
return metadata?.viewOffsetMs;
+4 -3
View File
@@ -74,9 +74,10 @@ class ShaderProvider extends ChangeNotifier with DisposableChangeNotifierMixin {
Future<void> setPreset(ShaderPreset preset) async {
final service = _settingsService ?? await SettingsService.getInstance();
await service.write(SettingsService.globalShaderPreset, preset.id);
if (_savedPresetListenable == null) {
_savedPreset = preset;
_currentPreset = preset;
final changed = _savedPreset.id != preset.id || _currentPreset.id != preset.id;
_savedPreset = preset;
_currentPreset = preset;
if (changed || _savedPresetListenable == null) {
safeNotifyListeners();
}
}
+49 -22
View File
@@ -4,6 +4,8 @@ import 'package:flutter/foundation.dart';
import '../media/media_item.dart';
import '../mixins/disposable_change_notifier_mixin.dart';
import '../services/watch_state_resolver.dart';
import '../utils/global_key_utils.dart';
import '../utils/watch_state_notifier.dart';
@immutable
@@ -14,6 +16,12 @@ class WatchStateOverlayPatch {
const WatchStateOverlayPatch({this.isWatched, this.hasViewOffsetMs = false, this.viewOffsetMs});
factory WatchStateOverlayPatch.fromSnapshot(WatchStateSnapshot snapshot) => WatchStateOverlayPatch(
isWatched: snapshot.isWatched,
hasViewOffsetMs: snapshot.hasViewOffsetMs,
viewOffsetMs: snapshot.viewOffsetMs,
);
@override
bool operator ==(Object other) =>
identical(this, other) ||
@@ -26,6 +34,13 @@ class WatchStateOverlayPatch {
int get hashCode => Object.hash(isWatched, hasViewOffsetMs, viewOffsetMs);
}
class _WatchStateOverlayEntry {
final WatchStateOverlayPatch patch;
final int sequence;
const _WatchStateOverlayEntry(this.patch, this.sequence);
}
/// Session-local watch-state overlay for immediate UI freshness.
///
/// Server fetches remain the source of truth; this only patches stale
@@ -36,10 +51,25 @@ class WatchStateOverlayProvider extends ChangeNotifier with DisposableChangeNoti
}
StreamSubscription<WatchStateEvent>? _subscription;
final Map<String, WatchStateOverlayPatch> _patches = {};
final Map<String, _WatchStateOverlayEntry> _patches = {};
String? _activeProfileId;
Map<String, String?> _activeClientScopesByServer = const {};
int _sequence = 0;
WatchStateOverlayPatch? patchForGlobalKey(String globalKey) => _patches[globalKey];
WatchStateOverlayPatch? patchForGlobalKey(String globalKey) {
_WatchStateOverlayEntry? scopedEntry;
final parsed = parseGlobalKey(globalKey);
if (parsed != null) {
final scoped = _activeClientScopesByServer[parsed.serverId];
if (scoped != null && scoped.isNotEmpty) {
scopedEntry = _patches[buildGlobalKey(scoped, parsed.ratingKey)];
}
}
final unscopedEntry = _patches[globalKey];
if (scopedEntry == null) return unscopedEntry?.patch;
if (unscopedEntry == null) return scopedEntry.patch;
return scopedEntry.sequence >= unscopedEntry.sequence ? scopedEntry.patch : unscopedEntry.patch;
}
WatchStateOverlayPatch? patchForItem(MediaItem item) => patchForGlobalKey(item.globalKey);
@@ -69,29 +99,26 @@ class WatchStateOverlayProvider extends ChangeNotifier with DisposableChangeNoti
safeNotifyListeners();
}
void _onWatchStateEvent(WatchStateEvent event) {
final patch = switch (event.changeType) {
WatchStateChangeType.watched => const WatchStateOverlayPatch(
isWatched: true,
hasViewOffsetMs: true,
viewOffsetMs: 0,
),
WatchStateChangeType.unwatched => const WatchStateOverlayPatch(
isWatched: false,
hasViewOffsetMs: true,
viewOffsetMs: 0,
),
WatchStateChangeType.progressUpdate => WatchStateOverlayPatch(
hasViewOffsetMs: event.viewOffset != null,
viewOffsetMs: event.viewOffset,
),
WatchStateChangeType.removedFromContinueWatching => null,
void setActiveClientScopesByServer(Map<String, String?> scopes) {
final normalized = <String, String?>{
for (final entry in scopes.entries)
if (entry.value != null && entry.value!.isNotEmpty && entry.value != entry.key) entry.key: entry.value,
};
if (mapEquals(_activeClientScopesByServer, normalized)) return;
_activeClientScopesByServer = Map.unmodifiable(normalized);
if (_patches.isNotEmpty) safeNotifyListeners();
}
if (patch == null) return;
void _onWatchStateEvent(WatchStateEvent event) {
final snapshot = WatchStateResolver.fromEvent(event);
if (snapshot.isEmpty) return;
final patch = WatchStateOverlayPatch.fromSnapshot(snapshot);
if (_patches[event.globalKey] == patch) return;
_patches[event.globalKey] = patch;
final cacheServerId = event.cacheServerId;
final key = cacheServerId != null && cacheServerId.isNotEmpty && cacheServerId != event.serverId
? buildGlobalKey(cacheServerId, event.itemId)
: event.globalKey;
_patches[key] = _WatchStateOverlayEntry(patch, ++_sequence);
safeNotifyListeners();
}
+21 -21
View File
@@ -1217,15 +1217,18 @@ class _DiscoverScreenState extends State<DiscoverScreen>
Widget _buildOverlaidAppBar() {
final statusBarHeight = MediaQuery.paddingOf(context).top;
final colorScheme = Theme.of(context).colorScheme;
final overlayColor = colorScheme.brightness == Brightness.dark ? Colors.black : colorScheme.surface;
final foregroundColor = colorScheme.onSurface;
return DecoratedBox(
decoration: BoxDecoration(
gradient: LinearGradient(
begin: Alignment.topCenter,
end: Alignment.bottomCenter,
colors: [
Colors.black.withValues(alpha: 0.7),
Colors.black.withValues(alpha: 0.5),
Colors.black.withValues(alpha: 0.3),
overlayColor.withValues(alpha: 0.7),
overlayColor.withValues(alpha: 0.5),
overlayColor.withValues(alpha: 0.3),
Colors.transparent,
],
stops: const [0.0, 0.3, 0.6, 1.0],
@@ -1242,20 +1245,23 @@ class _DiscoverScreenState extends State<DiscoverScreen>
t.discover.title,
style: Theme.of(
context,
).textTheme.titleLarge?.copyWith(color: Colors.white, fontWeight: FontWeight.bold),
).textTheme.titleLarge?.copyWith(color: foregroundColor, fontWeight: FontWeight.bold),
),
const Spacer(),
Consumer2<WatchTogetherProvider, CompanionRemoteProvider>(
builder: (context, watchTogether, companionRemote, _) {
final isDesktop = PlatformDetector.shouldActAsRemoteHost(context);
final colorScheme = Theme.of(context).colorScheme;
return FocusableActionBar(
key: _actionBarKey,
onNavigateLeft: _navigateToSidebar,
onNavigateDown: _focusContentFromAppBar,
actions: [
FocusableAction(icon: Symbols.refresh_rounded, iconColor: Colors.white, onPressed: _loadContent),
FocusableAction(
icon: Symbols.refresh_rounded,
iconColor: foregroundColor,
onPressed: _loadContent,
),
// Watch Together
FocusableAction(
onPressed: () =>
@@ -1266,7 +1272,7 @@ class _DiscoverScreenState extends State<DiscoverScreen>
icon: AppIcon(
Symbols.group_rounded,
fill: watchTogether.isInSession ? 1 : 0,
color: watchTogether.isInSession ? colorScheme.primary : Colors.white,
color: watchTogether.isInSession ? colorScheme.primary : foregroundColor,
),
onPressed: () => Navigator.push(
context,
@@ -1315,7 +1321,7 @@ class _DiscoverScreenState extends State<DiscoverScreen>
icon: AppIcon(
Symbols.phone_android_rounded,
fill: companionRemote.isConnected ? 1 : 0,
color: companionRemote.isConnected ? colorScheme.primary : Colors.white,
color: companionRemote.isConnected ? colorScheme.primary : foregroundColor,
),
onPressed: () {
if (isDesktop) {
@@ -1336,10 +1342,10 @@ class _DiscoverScreenState extends State<DiscoverScreen>
child: Container(
width: 8,
height: 8,
decoration: const BoxDecoration(
decoration: BoxDecoration(
color: Colors.green,
shape: BoxShape.circle,
border: Border.fromBorderSide(BorderSide(color: Colors.white, width: 1)),
border: Border.fromBorderSide(BorderSide(color: foregroundColor, width: 1)),
),
),
),
@@ -1548,6 +1554,7 @@ class _DiscoverScreenState extends State<DiscoverScreen>
hubs: browseHubs,
density: svc.read(SettingsService.libraryDensity),
episodePosterMode: svc.read(SettingsService.episodePosterMode),
fullCardLayout: svc.read(SettingsService.tvFullCardLayout),
tallPosterScale: TvBrowseRailLayout.compactTallPosterScale,
);
final spotlightTop = (size.height * 0.075).clamp(64.0 * scale, 120.0 * scale).toDouble();
@@ -1995,7 +2002,7 @@ class _DiscoverScreenState extends State<DiscoverScreen>
if (heroItem.year != null) heroItem.year.toString(),
].join(' • '),
style: TextStyle(
color: Colors.white,
color: colorScheme.onSurface,
fontSize: isTv ? 18 : 14,
fontWeight: FontWeight.w600,
),
@@ -2015,9 +2022,7 @@ class _DiscoverScreenState extends State<DiscoverScreen>
textAlign: alignLeft ? TextAlign.left : TextAlign.center,
text: TextSpan(
style: TextStyle(
color: alignLeft
? Colors.white.withValues(alpha: 0.7)
: colorScheme.onSurface.withValues(alpha: 0.7),
color: colorScheme.onSurface.withValues(alpha: 0.7),
fontSize: isTv ? 18 : 14,
height: isTv ? 1.45 : 1.4,
),
@@ -2025,10 +2030,7 @@ class _DiscoverScreenState extends State<DiscoverScreen>
if (isEpisode && heroItem.parentIndex != null && heroItem.index != null)
TextSpan(
text: 'S${heroItem.parentIndex}, E${heroItem.index}: ',
style: TextStyle(
fontWeight: FontWeight.bold,
color: alignLeft ? Colors.white : colorScheme.onSurface,
),
style: TextStyle(fontWeight: FontWeight.bold, color: colorScheme.onSurface),
),
TextSpan(
text: heroItem.summary?.isNotEmpty == true
@@ -2049,9 +2051,7 @@ class _DiscoverScreenState extends State<DiscoverScreen>
overflow: TextOverflow.ellipsis,
textAlign: alignLeft ? TextAlign.left : TextAlign.center,
style: TextStyle(
color: alignLeft
? Colors.white.withValues(alpha: 0.7)
: colorScheme.onSurface.withValues(alpha: 0.7),
color: colorScheme.onSurface.withValues(alpha: 0.7),
fontSize: isTv ? 18 : 14,
height: isTv ? 1.45 : 1.4,
),
+18 -5
View File
@@ -317,21 +317,33 @@ class _DownloadsGridContentState extends State<_DownloadsGridContent> {
// Extra top padding for focus decoration (scale + border extends beyond item bounds)
const effectivePadding = EdgeInsets.only(left: 8, right: 8, top: 8);
return SettingValueBuilder<int>(
pref: SettingsService.libraryDensity,
builder: (context, density, _) {
return SettingsBuilder(
prefs: const [SettingsService.libraryDensity, SettingsService.tvFullCardLayout],
builder: (context) {
final settings = SettingsService.instanceOrNull!;
final density = settings.read(SettingsService.libraryDensity);
final fullCardLayout = PlatformDetector.isTV() && settings.read(SettingsService.tvFullCardLayout);
final maxCrossAxisExtent = GridSizeCalculator.getMaxCrossAxisExtent(context, density);
// Use LayoutBuilder to get actual available width (accounting for sidebar)
return LayoutBuilder(
builder: (context, constraints) {
final availableWidth = constraints.maxWidth - effectivePadding.left - effectivePadding.right;
final columnCount = GridSizeCalculator.getColumnCount(availableWidth, maxCrossAxisExtent);
final gridSpacing = MediaGridDelegate.spacingFor(context: context, fullBleedImage: fullCardLayout);
final columnCount = GridSizeCalculator.getColumnCount(
availableWidth,
maxCrossAxisExtent,
crossAxisSpacing: gridSpacing,
);
return GridView.builder(
padding: effectivePadding,
// Allow focus decoration to render outside scroll bounds
clipBehavior: Clip.none,
gridDelegate: MediaGridDelegate.createDelegate(context: context, density: density),
gridDelegate: MediaGridDelegate.createDelegate(
context: context,
density: density,
fullBleedImage: fullCardLayout,
),
itemCount: items.length,
itemBuilder: (context, index) {
final item = items[index];
@@ -342,6 +354,7 @@ class _DownloadsGridContentState extends State<_DownloadsGridContent> {
focusNode: isFirst ? _firstItemFocusNode : null,
onBack: widget.onBack,
isOffline: true, // Downloaded content works without server
fullBleedImage: fullCardLayout,
onNavigateLeft: isFirstColumn ? _navigateToSidebar : null,
);
},
+28 -6
View File
@@ -169,11 +169,12 @@ mixin FocusableDetailScreenMixin<T extends StatefulWidget> on State<T>, GridFocu
VoidCallback? onListRefresh,
}) {
return SettingsBuilder(
prefs: const [SettingsService.viewMode, SettingsService.libraryDensity],
prefs: const [SettingsService.viewMode, SettingsService.libraryDensity, SettingsService.tvFullCardLayout],
builder: (context) {
final svc = SettingsService.instanceOrNull!;
final isListMode = svc.read(SettingsService.viewMode) == ViewMode.list;
final libraryDensity = svc.read(SettingsService.libraryDensity);
final fullCardLayout = PlatformDetector.isTV() && svc.read(SettingsService.tvFullCardLayout);
if (isListMode) {
return SliverPadding(
@@ -206,9 +207,18 @@ mixin FocusableDetailScreenMixin<T extends StatefulWidget> on State<T>, GridFocu
padding: const EdgeInsets.all(8),
sliver: SliverLayoutBuilder(
builder: (context, constraints) {
final columnCount = GridSizeCalculator.getColumnCount(constraints.crossAxisExtent, maxExtent);
final gridSpacing = MediaGridDelegate.spacingFor(context: context, fullBleedImage: fullCardLayout);
final columnCount = GridSizeCalculator.getColumnCount(
constraints.crossAxisExtent,
maxExtent,
crossAxisSpacing: gridSpacing,
);
return SliverGrid.builder(
gridDelegate: MediaGridDelegate.createDelegate(context: context, density: libraryDensity),
gridDelegate: MediaGridDelegate.createDelegate(
context: context,
density: libraryDensity,
fullBleedImage: fullCardLayout,
),
itemCount: items.length,
itemBuilder: (context, index) {
final item = items[index];
@@ -222,6 +232,7 @@ mixin FocusableDetailScreenMixin<T extends StatefulWidget> on State<T>, GridFocu
onRefresh: onRefresh,
collectionId: collectionId,
onListRefresh: onListRefresh,
fullBleedImage: fullCardLayout,
onNavigateUp: inFirstRow ? navigateToAppBar : null,
onBack: handleBackFromContent,
onFocusChange: (hasFocus) => trackGridItemFocus(index, hasFocus),
@@ -248,11 +259,12 @@ mixin FocusableDetailScreenMixin<T extends StatefulWidget> on State<T>, GridFocu
VoidCallback? onListRefresh,
}) {
return SettingsBuilder(
prefs: const [SettingsService.viewMode, SettingsService.libraryDensity],
prefs: const [SettingsService.viewMode, SettingsService.libraryDensity, SettingsService.tvFullCardLayout],
builder: (context) {
final svc = SettingsService.instanceOrNull!;
final isListMode = svc.read(SettingsService.viewMode) == ViewMode.list;
final libraryDensity = svc.read(SettingsService.libraryDensity);
final fullCardLayout = PlatformDetector.isTV() && svc.read(SettingsService.tvFullCardLayout);
Widget buildTile(int index, {required bool inFirstRow, required bool disableScale}) {
final item = itemAt(index);
@@ -269,6 +281,7 @@ mixin FocusableDetailScreenMixin<T extends StatefulWidget> on State<T>, GridFocu
onRefresh: onRefresh,
collectionId: collectionId,
onListRefresh: onListRefresh,
fullBleedImage: fullCardLayout && !disableScale,
onNavigateUp: inFirstRow ? navigateToAppBar : null,
onBack: handleBackFromContent,
onFocusChange: (hasFocus) => trackGridItemFocus(index, hasFocus),
@@ -290,9 +303,18 @@ mixin FocusableDetailScreenMixin<T extends StatefulWidget> on State<T>, GridFocu
padding: const EdgeInsets.all(8),
sliver: SliverLayoutBuilder(
builder: (context, constraints) {
final columnCount = GridSizeCalculator.getColumnCount(constraints.crossAxisExtent, maxExtent);
final gridSpacing = MediaGridDelegate.spacingFor(context: context, fullBleedImage: fullCardLayout);
final columnCount = GridSizeCalculator.getColumnCount(
constraints.crossAxisExtent,
maxExtent,
crossAxisSpacing: gridSpacing,
);
return SliverGrid.builder(
gridDelegate: MediaGridDelegate.createDelegate(context: context, density: libraryDensity),
gridDelegate: MediaGridDelegate.createDelegate(
context: context,
density: libraryDensity,
fullBleedImage: fullCardLayout,
),
itemCount: totalItems,
itemBuilder: (context, index) => buildTile(
index,
+9
View File
@@ -510,12 +510,14 @@ class _HubDetailScreenState extends State<HubDetailScreen>
SettingsService.viewMode,
SettingsService.episodePosterMode,
SettingsService.libraryDensity,
SettingsService.tvFullCardLayout,
],
builder: (context) {
final svc = SettingsService.instanceOrNull!;
final isListMode = svc.read(SettingsService.viewMode) == ViewMode.list;
final episodePosterMode = svc.read(SettingsService.episodePosterMode);
final libraryDensity = svc.read(SettingsService.libraryDensity);
final fullCardLayout = PlatformDetector.isTV() && svc.read(SettingsService.tvFullCardLayout);
// Determine hub content type for layout decisions
final hasEpisodes = _filteredItems.any((item) => item.usesWideAspectRatio(episodePosterMode));
@@ -570,9 +572,14 @@ class _HubDetailScreenState extends State<HubDetailScreen>
libraryDensity,
16,
);
final gridSpacing = MediaGridDelegate.spacingFor(
context: context,
fullBleedImage: fullCardLayout,
);
final columnCount = GridSizeCalculator.getColumnCount(
constraints.crossAxisExtent,
useWideLayout ? maxExtent * 1.8 : maxExtent,
crossAxisSpacing: gridSpacing,
);
return SliverGrid(
@@ -582,6 +589,7 @@ class _HubDetailScreenState extends State<HubDetailScreen>
usePaddingAware: true,
horizontalPadding: 16,
useWideAspectRatio: useWideLayout,
fullBleedImage: fullCardLayout,
),
delegate: SliverChildBuilderDelegate((context, index) {
final item = _filteredItems[index];
@@ -602,6 +610,7 @@ class _HubDetailScreenState extends State<HubDetailScreen>
onBack: handleBackFromContent,
onFocusChange: (hasFocus) => trackGridItemFocus(index, hasFocus),
mixedHubContext: isMixedHub,
fullBleedImage: fullCardLayout,
);
}, childCount: _filteredItems.length),
);
+18 -9
View File
@@ -12,8 +12,8 @@ import 'alpha_jump_helper.dart';
///
/// Pre-computes a cumulative index map from [firstCharacters] data so that
/// tapping a letter triggers [onJump] with the item index where that letter
/// begins. When more letters exist than fit vertically, the bar keeps the
/// highest-count letters (by item size) and drops the rest.
/// begins. Alphabet-sized lists stay complete and compact vertically when
/// needed; larger character sets are thinned to the highest-count letters.
/// Supports both touch (tap/drag) and D-pad (up/down/select) input.
class AlphaJumpBar extends StatefulWidget {
final List<LibraryFirstCharacter> firstCharacters;
@@ -63,6 +63,10 @@ class _AlphaJumpBarState extends State<AlphaJumpBar> {
/// Minimum vertical space per letter slot.
static const double _minLetterHeight = 20.0;
/// Keep canonical alphabet bars complete instead of hiding trailing letters
/// on shorter TV viewports.
static const int _maxCompactLetterCount = 27;
@override
void initState() {
super.initState();
@@ -100,7 +104,9 @@ class _AlphaJumpBarState extends State<AlphaJumpBar> {
final maxLetters = (availableHeight / _minLetterHeight).floor();
if (maxLetters == _lastMaxLetters) return;
_lastMaxLetters = maxLetters;
_displayed = _helper.displayLetters(maxLetters);
_displayed = _helper.letters.length <= _maxCompactLetterCount
? _helper.letters
: _helper.displayLetters(maxLetters);
_clampHighlight();
}
@@ -209,6 +215,9 @@ class _AlphaJumpBarState extends State<AlphaJumpBar> {
if (_displayed.isEmpty) return const SizedBox.shrink();
final currentLetter = _nearestDisplayed(widget.currentLetter);
final letterSlotHeight = constraints.maxHeight / _displayed.length;
final markerSize = (letterSlotHeight - 2).clamp(10.0, 18.0).toDouble();
final fontSize = (letterSlotHeight * 0.58).clamp(7.0, 10.0).toDouble();
return ClickableCursor(
child: GestureDetector(
@@ -226,10 +235,10 @@ class _AlphaJumpBarState extends State<AlphaJumpBar> {
}
},
child: Container(
width: 28,
width: 20,
decoration: BoxDecoration(
color: colorScheme.surface.withValues(alpha: 0.7),
borderRadius: const BorderRadius.all(Radius.circular(14)),
borderRadius: const BorderRadius.all(Radius.circular(10)),
),
child: Column(
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
@@ -258,17 +267,17 @@ class _AlphaJumpBarState extends State<AlphaJumpBar> {
}
return SizedBox(
height: constraints.maxHeight / _displayed.length,
height: letterSlotHeight,
child: Center(
child: Container(
width: 22,
height: 22,
width: markerSize,
height: markerSize,
decoration: decoration,
alignment: Alignment.center,
child: Text(
letter,
style: TextStyle(
fontSize: 10,
fontSize: fontSize,
fontWeight: (isCurrent || isHighlighted) ? FontWeight.bold : FontWeight.normal,
color: letterColor,
),
+27 -14
View File
@@ -65,6 +65,18 @@ class FolderTreeItem extends StatelessWidget {
};
}
String _rowTitle() {
final title = item.title?.trim();
if (title != null && title.isNotEmpty) return title;
return item.displayTitle;
}
String? _dedupeSubtitle(String? subtitle) {
final value = subtitle?.trim();
if (value == null || value.isEmpty || value == _rowTitle()) return null;
return value;
}
void _handleTap() {
if (isFolder) {
onExpand?.call();
@@ -79,15 +91,12 @@ class FolderTreeItem extends StatelessWidget {
if (item.parentIndex != null && item.index != null) {
parts.add('S${item.parentIndex} E${item.index}');
}
if (item.title != null && item.title!.isNotEmpty) {
parts.add(item.title!);
}
return parts.isNotEmpty ? parts.join(' · ') : null;
return parts.isNotEmpty ? parts.join(' · ') : _dedupeSubtitle(item.displaySubtitle);
}
if (item.isSeason) {
return item.displaySubtitle;
return _dedupeSubtitle(item.displaySubtitle);
}
return item.displaySubtitle;
return _dedupeSubtitle(item.displaySubtitle);
}
String _buildMetadataLine() {
@@ -126,7 +135,7 @@ class FolderTreeItem extends StatelessWidget {
const SizedBox(width: 12),
Expanded(
child: Text(
item.displayTitle,
_rowTitle(),
style: const TextStyle(fontSize: 14, fontWeight: FontWeight.w500),
maxLines: 1,
overflow: TextOverflow.ellipsis,
@@ -181,7 +190,7 @@ class FolderTreeItem extends StatelessWidget {
mainAxisSize: MainAxisSize.min,
children: [
Text(
item.displayTitle,
_rowTitle(),
style: const TextStyle(fontSize: 13, fontWeight: FontWeight.w500, height: 1.2),
maxLines: 1,
overflow: TextOverflow.ellipsis,
@@ -336,6 +345,8 @@ class FolderTreeItem extends StatelessWidget {
@override
Widget build(BuildContext context) {
final playAll = onPlayAll;
final shuffle = onShuffle;
final rowContent = isFolder
? _buildFolderRow(context)
: SettingsBuilder(
@@ -362,13 +373,13 @@ class FolderTreeItem extends StatelessWidget {
),
),
// Play/Shuffle buttons for folders
if (isFolder) ...[
// Play/Shuffle buttons for folders when the backend supports them.
if (isFolder && playAll != null) ...[
FocusableButton(
useBackgroundFocus: true,
onPressed: onPlayAll,
onPressed: playAll,
child: IconButton(
onPressed: onPlayAll,
onPressed: playAll,
icon: AppIcon(
Symbols.play_arrow_rounded,
fill: 1,
@@ -382,11 +393,13 @@ class FolderTreeItem extends StatelessWidget {
visualDensity: VisualDensity.compact,
),
),
],
if (isFolder && shuffle != null) ...[
FocusableButton(
useBackgroundFocus: true,
onPressed: onShuffle,
onPressed: shuffle,
child: IconButton(
onPressed: onShuffle,
onPressed: shuffle,
icon: AppIcon(
Symbols.shuffle_rounded,
fill: 1,
+106 -42
View File
@@ -1,8 +1,13 @@
import 'package:flutter/material.dart';
import 'package:material_symbols_icons/symbols.dart';
import '../../media/media_backend.dart';
import '../../media/media_item.dart';
import '../../media/media_kind.dart';
import '../../media/media_server_client.dart';
import '../../services/jellyfin_client.dart';
import '../../services/jellyfin_sequential_launcher.dart';
import '../../services/play_queue_launcher.dart';
import '../../services/plex_client.dart';
import '../../utils/app_logger.dart';
import '../../utils/error_message_utils.dart';
import '../../utils/media_navigation_helper.dart';
@@ -17,6 +22,7 @@ import 'state_messages.dart';
class FolderTreeView extends StatefulWidget {
final String libraryKey;
final String? serverId; // Server this library belongs to
final MediaKind? libraryKind;
final void Function(String)? onRefresh;
final FocusNode? firstItemFocusNode;
final VoidCallback? onNavigateUp;
@@ -25,6 +31,7 @@ class FolderTreeView extends StatefulWidget {
super.key,
required this.libraryKey,
this.serverId,
this.libraryKind,
this.onRefresh,
this.firstItemFocusNode,
this.onNavigateUp,
@@ -39,10 +46,9 @@ class FolderTreeViewState extends State<FolderTreeView> {
/// Reload the root folders. Exposed for parent-driven pull-to-refresh.
Future<void> refresh() => _loadRootFolders();
/// Folders/items returned by the Plex `/library/sections/{id}/folder`
/// endpoint, mapped to neutral [MediaItem]s. The Plex `key` (folder URL)
/// survives in [MediaItem.raw] under the `'key'` slot — see
/// [_folderKey].
/// Folders/items returned by the backend's folder API and mapped to neutral
/// [MediaItem]s. Plex folder URLs survive in [MediaItem.raw]['key'];
/// Jellyfin folders use the item id as their recursive parent id.
List<MediaItem> _rootFolders = [];
final Map<String, List<MediaItem>> _childrenCache = {};
final Set<String> _expandedFolders = {};
@@ -51,11 +57,18 @@ class FolderTreeViewState extends State<FolderTreeView> {
String? _errorMessage;
/// Resolve the Plex folder key from a [MediaItem]'s `raw` map. The key is
/// a relative URL (e.g. `/library/sections/1/folder?parent=...`) used as
/// the cache key and to recursively fetch children from
/// [PlexClient.getFolderChildren].
/// a relative URL (e.g. `/library/sections/1/folder?parent=...`) used to
/// recursively fetch children from [PlexClient.fetchFolderChildren].
String? _folderKey(MediaItem item) => item.raw?['key'] as String?;
String? _itemType(MediaItem item) => (item.raw?['Type'] as String? ?? item.raw?['type'] as String?)?.toLowerCase();
String? _folderIdentity(MediaItem item) {
if (item.backend == MediaBackend.plex) return _folderKey(item);
if (_isFolder(item)) return item.id;
return null;
}
@override
void initState() {
super.initState();
@@ -69,11 +82,8 @@ class FolderTreeViewState extends State<FolderTreeView> {
});
try {
final client = context.getPlexClientForServer(widget.serverId!);
// PlexClient.fetchLibraryFolders returns neutral [MediaItem]s; folders
// come back already tagged with the client's serverId/serverName.
final folders = await client.fetchLibraryFolders(widget.libraryKey);
final client = context.getMediaClientForServer(widget.serverId!);
final folders = await _fetchRootFolders(client);
if (!mounted) return;
@@ -94,40 +104,34 @@ class FolderTreeViewState extends State<FolderTreeView> {
}
Future<void> _loadFolderChildren(MediaItem folder) async {
final folderKey = _folderKey(folder);
if (folderKey == null) return;
final folderIdentity = _folderIdentity(folder);
if (folderIdentity == null) return;
// Already loading this folder
if (_loadingFolders.contains(folderKey)) return;
if (_loadingFolders.contains(folderIdentity)) return;
// Already loaded and cached
if (_childrenCache.containsKey(folderKey)) {
if (_childrenCache.containsKey(folderIdentity)) {
setState(() {
_expandedFolders.add(folderKey);
_expandedFolders.add(folderIdentity);
});
return;
}
setState(() {
_loadingFolders.add(folderKey);
_loadingFolders.add(folderIdentity);
});
try {
final client = context.getPlexClientForServer(widget.serverId!);
// Items are automatically tagged with server info by PlexClient.
final children = await client.fetchFolderChildren(
folderKey,
libraryId: folder.libraryId,
libraryTitle: folder.libraryTitle,
);
final client = context.getMediaClientForServer(widget.serverId!);
final children = await _fetchFolderChildren(client, folder);
if (!mounted) return;
setState(() {
_childrenCache[folderKey] = children;
_expandedFolders.add(folderKey);
_loadingFolders.remove(folderKey);
_childrenCache[folderIdentity] = children;
_expandedFolders.add(folderIdentity);
_loadingFolders.remove(folderIdentity);
});
appLogger.d('Loaded ${children.length} children for folder: ${folder.title}');
@@ -136,7 +140,7 @@ class FolderTreeViewState extends State<FolderTreeView> {
final message = mapUnexpectedErrorToMessage(e, context: t.libraries.folders);
setState(() {
_loadingFolders.remove(folderKey);
_loadingFolders.remove(folderIdentity);
});
if (mounted) {
@@ -146,11 +150,11 @@ class FolderTreeViewState extends State<FolderTreeView> {
}
void _toggleFolder(MediaItem folder) {
final folderKey = _folderKey(folder);
if (folderKey == null) return;
if (_expandedFolders.contains(folderKey)) {
final folderIdentity = _folderIdentity(folder);
if (folderIdentity == null) return;
if (_expandedFolders.contains(folderIdentity)) {
setState(() {
_expandedFolders.remove(folderKey);
_expandedFolders.remove(folderIdentity);
});
} else {
_loadFolderChildren(folder);
@@ -158,10 +162,26 @@ class FolderTreeViewState extends State<FolderTreeView> {
}
Future<void> _handleItemTap(MediaItem item) async {
await navigateToMediaItem(context, item, onRefresh: widget.onRefresh);
final result = await navigateToMediaItem(context, item, onRefresh: widget.onRefresh);
if (!context.mounted) return;
switch (result) {
case MediaNavigationResult.unsupported:
showAppSnackBar(context, t.messages.musicNotSupported);
case MediaNavigationResult.listRefreshNeeded:
widget.onRefresh?.call(item.id);
case MediaNavigationResult.navigated:
case MediaNavigationResult.librarySelected:
break;
}
}
Future<void> _handleFolderPlay(MediaItem folder) async {
if (folder.backend == MediaBackend.jellyfin) {
final launcher = JellyfinSequentialLauncher(context: context);
await launcher.launchFromFolder(folder: folder, shuffle: false);
return;
}
final folderKey = _folderKey(folder);
if (folderKey == null) return;
final client = context.getPlexClientForServer(widget.serverId!);
@@ -175,6 +195,12 @@ class FolderTreeViewState extends State<FolderTreeView> {
}
Future<void> _handleFolderShuffle(MediaItem folder) async {
if (folder.backend == MediaBackend.jellyfin) {
final launcher = JellyfinSequentialLauncher(context: context);
await launcher.launchFromFolder(folder: folder, shuffle: true);
return;
}
final folderKey = _folderKey(folder);
if (folderKey == null) return;
final client = context.getPlexClientForServer(widget.serverId!);
@@ -188,10 +214,47 @@ class FolderTreeViewState extends State<FolderTreeView> {
}
bool _isFolder(MediaItem item) {
// Folders typically have no media kind (Plex returns `type: 'folder'`,
// mapped to [MediaKind.unknown]) or expose `/folder` in their key.
if (item.backend == MediaBackend.jellyfin) {
return _isJellyfinFilesystemFolder(item) || _isJellyfinMediaContainer(item);
}
// Plex folders typically have no media kind (mapped to [MediaKind.unknown])
// or expose `/folder` in their key.
final folderKey = _folderKey(item);
return folderKey?.contains('/folder') == true || item.kind == MediaKind.unknown;
final type = _itemType(item);
return folderKey?.contains('/folder') == true || type == 'folder' || item.kind == MediaKind.unknown;
}
bool _isJellyfinFilesystemFolder(MediaItem item) {
final type = _itemType(item);
return type == 'folder' || type == 'collectionfolder' || (type == null && item.raw?['IsFolder'] == true);
}
bool _isJellyfinMediaContainer(MediaItem item) => item.kind == MediaKind.show || item.kind == MediaKind.season;
bool _canPlayFolder(MediaItem item) {
if (item.backend == MediaBackend.plex) return true;
if (item.backend == MediaBackend.jellyfin) return widget.libraryKind?.isMusic != true;
return false;
}
Future<List<MediaItem>> _fetchRootFolders(MediaServerClient client) {
if (client is PlexClient) return client.fetchLibraryFolders(widget.libraryKey);
if (client is JellyfinClient) return client.fetchLibraryFolders(widget.libraryKey);
throw UnsupportedError('Folder browsing is not supported for ${client.backend.id}');
}
Future<List<MediaItem>> _fetchFolderChildren(MediaServerClient client, MediaItem folder) {
if (client is PlexClient) {
final folderKey = _folderKey(folder);
if (folderKey == null) return Future.value(const <MediaItem>[]);
return client.fetchFolderChildren(folderKey, libraryId: folder.libraryId, libraryTitle: folder.libraryTitle);
}
if (client is JellyfinClient) {
if (_isJellyfinMediaContainer(folder)) return client.fetchChildren(folder.id);
return client.fetchFolderChildren(folder.id);
}
throw UnsupportedError('Folder browsing is not supported for ${client.backend.id}');
}
/// Flatten the visible tree into a list of (item, depth, path) tuples so
@@ -207,7 +270,7 @@ class FolderTreeViewState extends State<FolderTreeView> {
final itemPath = parentPath.isEmpty ? '$i' : '$parentPath-$i';
out.add((item: item, depth: depth, path: itemPath));
final folderKey = _folderKey(item);
final folderKey = _folderIdentity(item);
if (_isFolder(item) &&
folderKey != null &&
_expandedFolders.contains(folderKey) &&
@@ -253,10 +316,11 @@ class FolderTreeViewState extends State<FolderTreeView> {
final entry = flattened[index];
final item = entry.item;
final isFolder = _isFolder(item);
final folderKey = _folderKey(item);
final folderKey = _folderIdentity(item);
final isExpanded = folderKey != null && _expandedFolders.contains(folderKey);
final isLoading = folderKey != null && _loadingFolders.contains(folderKey);
final isFirstRootItem = index == 0;
final canPlayFolder = isFolder && _canPlayFolder(item);
return FolderTreeItem(
key: ValueKey(entry.path),
@@ -268,8 +332,8 @@ class FolderTreeViewState extends State<FolderTreeView> {
serverId: widget.serverId,
onExpand: isFolder ? () => _toggleFolder(item) : null,
onTap: !isFolder ? () => _handleItemTap(item) : null,
onPlayAll: isFolder ? () => _handleFolderPlay(item) : null,
onShuffle: isFolder ? () => _handleFolderShuffle(item) : null,
onPlayAll: canPlayFolder ? () => _handleFolderPlay(item) : null,
onShuffle: canPlayFolder ? () => _handleFolderShuffle(item) : null,
focusNode: isFirstRootItem ? widget.firstItemFocusNode : null,
onNavigateUp: isFirstRootItem ? widget.onNavigateUp : null,
);
+3 -1
View File
@@ -71,8 +71,9 @@ class ContextMenuItem {
class LibrariesScreen extends StatefulWidget {
final VoidCallback? onLibraryOrderChanged;
final ValueChanged<String>? onLibrarySelected;
const LibrariesScreen({super.key, this.onLibraryOrderChanged});
const LibrariesScreen({super.key, this.onLibraryOrderChanged, this.onLibrarySelected});
@override
State<LibrariesScreen> createState() => _LibrariesScreenState();
@@ -469,6 +470,7 @@ class _LibrariesScreenState extends State<LibrariesScreen>
// Clear loaded tabs tracking for new library
_loadedTabs.clear();
});
widget.onLibrarySelected?.call(libraryGlobalKey);
// The new TabBarView mounts with fresh inner positions at offset 0;
// bring the floating header back too. Also covers the case where the
@@ -0,0 +1,167 @@
import 'package:flutter/material.dart';
import 'package:material_symbols_icons/symbols.dart';
import '../../i18n/strings.g.dart';
import '../../media/media_library.dart';
import '../../utils/content_utils.dart';
import '../../utils/library_grouping.dart';
import '../../widgets/app_icon.dart';
import '../../widgets/backend_badge.dart';
import '../../widgets/focusable_list_tile.dart';
class LibraryQuickPickerSheet extends StatelessWidget {
final List<MediaLibrary> libraries;
final String? selectedLibraryKey;
final bool isLoading;
final bool groupByServer;
final String emptyMessage;
final ValueChanged<String> onSelected;
const LibraryQuickPickerSheet({
super.key,
required this.libraries,
required this.selectedLibraryKey,
required this.isLoading,
required this.groupByServer,
required this.emptyMessage,
required this.onSelected,
});
bool get _showServerHeaders {
final serverIds = libraries.where((library) => library.serverId != null).map((library) => library.serverId).toSet();
return serverIds.length > 1 && groupByServer;
}
Set<String> _getNonUniqueLibraryNames() {
final nameCounts = <String, int>{};
for (final library in libraries) {
nameCounts[library.title] = (nameCounts[library.title] ?? 0) + 1;
}
return nameCounts.entries.where((entry) => entry.value > 1).map((entry) => entry.key).toSet();
}
List<Widget> _buildLibraryRows(BuildContext context) {
if (!_showServerHeaders) {
final nonUniqueNames = _getNonUniqueLibraryNames();
return libraries.map((library) {
return _buildLibraryTile(
context,
library,
showServerName: library.serverName != null && nonUniqueNames.contains(library.title),
);
}).toList();
}
final grouped = groupLibrariesByFirstAppearance(libraries);
final rows = <Widget>[];
for (final serverKey in grouped.serverOrder) {
final bucket = grouped.byServer[serverKey]!;
if (serverKey.isNotEmpty) {
rows.add(_buildServerHeader(context, bucket.first, serverKey));
}
for (final library in bucket) {
rows.add(_buildLibraryTile(context, library, showServerName: false));
}
}
return rows;
}
Widget _buildServerHeader(BuildContext context, MediaLibrary library, String fallbackServerName) {
final theme = Theme.of(context);
final labelStyle = theme.textTheme.labelSmall?.copyWith(
fontWeight: FontWeight.w600,
letterSpacing: 0.4,
color: theme.textTheme.bodySmall?.color?.withValues(alpha: 0.65),
);
return Padding(
padding: const EdgeInsets.fromLTRB(16, 12, 16, 4),
child: Row(
children: [
BackendBadge(backend: library.backend, size: 12, color: labelStyle?.color),
const SizedBox(width: 6),
Expanded(
child: Text(
library.serverName ?? fallbackServerName,
style: labelStyle,
maxLines: 1,
overflow: TextOverflow.ellipsis,
),
),
],
),
);
}
Widget _buildServerSubtitle(BuildContext context, MediaLibrary library) {
final style = Theme.of(
context,
).textTheme.bodySmall?.copyWith(color: Theme.of(context).textTheme.bodySmall?.color?.withValues(alpha: 0.6));
return Row(
mainAxisSize: MainAxisSize.min,
children: [
BackendBadge(backend: library.backend, size: 10, color: style?.color),
const SizedBox(width: 4),
Flexible(
child: Text(library.serverName!, style: style, maxLines: 1, overflow: TextOverflow.ellipsis),
),
],
);
}
Widget _buildLibraryTile(BuildContext context, MediaLibrary library, {required bool showServerName}) {
final colorScheme = Theme.of(context).colorScheme;
final isSelected = library.globalKey == selectedLibraryKey;
final foregroundColor = isSelected ? colorScheme.primary : null;
return FocusableListTile(
key: ValueKey('library_quick_picker_${library.globalKey}'),
dense: false,
visualDensity: VisualDensity.standard,
selected: isSelected,
contentPadding: const EdgeInsets.symmetric(horizontal: 16, vertical: 2),
leading: AppIcon(ContentTypeHelper.getLibraryIcon(library.kind.id), fill: 1, size: 22, color: foregroundColor),
title: Text(
library.title,
maxLines: 1,
overflow: TextOverflow.ellipsis,
style: TextStyle(fontWeight: isSelected ? FontWeight.w600 : FontWeight.w400, color: foregroundColor),
),
subtitle: showServerName ? _buildServerSubtitle(context, library) : null,
trailing: isSelected ? AppIcon(Symbols.check_rounded, fill: 1, color: colorScheme.primary) : null,
onTap: () => onSelected(library.globalKey),
);
}
@override
Widget build(BuildContext context) {
final theme = Theme.of(context);
return Column(
mainAxisSize: MainAxisSize.min,
children: [
Padding(
padding: const EdgeInsets.fromLTRB(16, 4, 16, 8),
child: Align(
alignment: Alignment.centerLeft,
child: Text(t.libraries.selectLibrary, style: theme.textTheme.titleMedium),
),
),
if (isLoading && libraries.isEmpty)
const Padding(padding: EdgeInsets.symmetric(vertical: 32), child: CircularProgressIndicator())
else if (libraries.isEmpty)
Padding(
padding: const EdgeInsets.fromLTRB(24, 24, 24, 32),
child: Text(emptyMessage, textAlign: TextAlign.center, style: theme.textTheme.bodyMedium),
)
else
Flexible(
child: ListView(
shrinkWrap: true,
padding: const EdgeInsets.only(bottom: 8),
children: _buildLibraryRows(context),
),
),
],
);
}
}
@@ -153,6 +153,13 @@ class _LibraryBrowseTabState extends BaseLibraryTabState<MediaItem, LibraryBrows
@override
void onDeletionEvent(DeletionEvent event) {
// Browse is online-only (the Libraries tab is hidden when offline), so it
// always reflects server-side content. A download-only deletion removes
// local files but leaves the item on the server, so it must not affect the
// browse grid. Without this guard, deleting every downloaded episode of a
// show drives its leafCount to zero and evicts the show from browse.
if (event.isDownloadOnly) return;
// If we have an item that matches the rating key exactly, remove it and rebuild indices
final matchEntry = loadedItems.entries.where((e) => e.value.id == event.itemId).firstOrNull;
if (matchEntry != null) {
@@ -689,10 +696,8 @@ class _LibraryBrowseTabState extends BaseLibraryTabState<MediaItem, LibraryBrows
List<String> _getGroupingOptions() {
final type = widget.library.kind.id.toLowerCase();
// Folder browsing relies on a section folder API
// (Plex `/library/sections/{id}/folders`); gated by capability so any
// future backend that exposes the same can opt in without touching
// this method.
// Folder browsing is gated by backend capability: Plex uses its section
// folder API, while Jellyfin uses direct non-recursive Items queries.
final canFolder = context.tryGetMediaClientForServer(widget.library.serverId)?.capabilities.folderGrouping ?? false;
if (type == 'show') {
return ['shows', 'seasons', 'episodes', if (canFolder) 'folders'];
@@ -1491,6 +1496,7 @@ class _LibraryBrowseTabState extends BaseLibraryTabState<MediaItem, LibraryBrows
key: _folderTreeKey,
libraryKey: widget.library.id,
serverId: widget.library.serverId,
libraryKind: widget.library.kind,
onRefresh: updateItem,
firstItemFocusNode: firstItemFocusNode,
onNavigateUp: _navigateToChips,
@@ -1512,7 +1518,12 @@ class _LibraryBrowseTabState extends BaseLibraryTabState<MediaItem, LibraryBrows
return [
SettingsBuilder(
prefs: const [SettingsService.viewMode, SettingsService.libraryDensity, SettingsService.episodePosterMode],
prefs: const [
SettingsService.viewMode,
SettingsService.libraryDensity,
SettingsService.episodePosterMode,
SettingsService.tvFullCardLayout,
],
builder: (context) => _buildItemsSliver(context),
),
];
@@ -1569,6 +1580,7 @@ class _LibraryBrowseTabState extends BaseLibraryTabState<MediaItem, LibraryBrows
final viewMode = svc.read(SettingsService.viewMode);
final libraryDensity = svc.read(SettingsService.libraryDensity);
final episodePosterMode = svc.read(SettingsService.episodePosterMode);
final fullCardLayout = PlatformDetector.isTV() && svc.read(SettingsService.tvFullCardLayout);
final itemCount = totalSize;
final isPhone = _isPhone(context);
final topPadding = isPhone ? _gridTopPaddingPhone : _gridTopPadding;
@@ -1612,17 +1624,28 @@ class _LibraryBrowseTabState extends BaseLibraryTabState<MediaItem, LibraryBrows
padding: EdgeInsets.fromLTRB(8, topPadding, rightPadding, 8),
sliver: SliverLayoutBuilder(
builder: (context, constraints) {
final gridSpacing = MediaGridDelegate.spacingFor(context: context, fullBleedImage: fullCardLayout);
// Compute column count from the width the grid would have without the alpha
// bar's reservation, so toggling the bar doesn't repack the grid into one
// fewer column and blow up poster size.
final baselineWidth = constraints.crossAxisExtent + (rightPadding - 8.0);
final columnCount = GridSizeCalculator.getColumnCount(baselineWidth, effectiveMaxExtent);
final columnCount = GridSizeCalculator.getColumnCount(
baselineWidth,
effectiveMaxExtent,
crossAxisSpacing: gridSpacing,
);
// Cache grid metrics for alpha jump bar scroll calculations
final itemWidth = constraints.crossAxisExtent / columnCount;
final itemHeight = itemWidth / GridLayoutConstants.posterAspectRatio;
final itemWidth = GridSizeCalculator.getCellWidthForColumnCount(
constraints.crossAxisExtent,
columnCount,
crossAxisSpacing: gridSpacing,
);
final itemHeight =
itemWidth /
MediaGridDelegate.aspectRatioFor(useWideAspectRatio: useWideRatio, fullBleedImage: fullCardLayout);
_scrollMetrics = LibraryAlphaScrollMetrics(
columnCount: columnCount,
rowHeight: itemHeight + GridLayoutConstants.mainAxisSpacing,
rowHeight: itemHeight + gridSpacing,
itemWidth: itemWidth,
itemHeight: itemHeight,
);
@@ -1631,7 +1654,8 @@ class _LibraryBrowseTabState extends BaseLibraryTabState<MediaItem, LibraryBrows
context: context,
density: libraryDensity,
useWideAspectRatio: useWideRatio,
maxCrossAxisExtentOverride: hasAlphaBarReservation ? constraints.crossAxisExtent / columnCount : null,
fullBleedImage: fullCardLayout,
maxCrossAxisExtentOverride: hasAlphaBarReservation ? itemWidth : null,
),
itemCount: itemCount,
itemBuilder: (context, index) => _buildMediaCardItem(
@@ -1641,6 +1665,7 @@ class _LibraryBrowseTabState extends BaseLibraryTabState<MediaItem, LibraryBrows
isLastColumn: (index % columnCount) == (columnCount - 1),
columnCount: columnCount,
itemCount: itemCount,
fullBleedImage: fullCardLayout,
),
);
},
@@ -1655,6 +1680,7 @@ class _LibraryBrowseTabState extends BaseLibraryTabState<MediaItem, LibraryBrows
required bool isFirstColumn,
bool isLastColumn = false,
bool disableScale = false,
bool fullBleedImage = false,
int columnCount = 1,
int itemCount = 0,
}) {
@@ -1712,6 +1738,7 @@ class _LibraryBrowseTabState extends BaseLibraryTabState<MediaItem, LibraryBrows
onBack: widget.onBack,
onFocusChange: (hasFocus) => trackGridItemFocus(index, hasFocus),
onListRefresh: _loadItems,
fullBleedImage: fullBleedImage,
);
}
@@ -10,6 +10,7 @@ import '../../../utils/grid_size_calculator.dart';
import '../../../utils/layout_constants.dart';
import '../../../utils/library_refresh_notifier.dart';
import '../../../utils/media_server_http_client.dart';
import '../../../utils/platform_detector.dart';
import '../../../widgets/focusable_media_card.dart';
import '../../../widgets/media_grid_delegate.dart';
import '../../../widgets/settings_builder.dart';
@@ -106,16 +107,20 @@ class _LibraryCollectionsTabState extends BaseLibraryTabState<MediaItem, Library
@override
Widget buildContent(List<MediaItem> items) {
return SettingsBuilder(
prefs: const [SettingsService.viewMode, SettingsService.libraryDensity],
prefs: const [SettingsService.viewMode, SettingsService.libraryDensity, SettingsService.tvFullCardLayout],
builder: (context) {
final settings = SettingsService.instanceOrNull!;
final viewMode = settings.read(SettingsService.viewMode);
final density = settings.read(SettingsService.libraryDensity);
final fullCardLayout = PlatformDetector.isTV() && settings.read(SettingsService.tvFullCardLayout);
return CustomScrollView(
clipBehavior: Clip.none,
slivers: [
SliverOverlapInjector(handle: NestedScrollView.sliverOverlapAbsorberHandleFor(context)),
if (viewMode == ViewMode.list) _buildListSliver(density) else _buildGridSliver(density),
if (viewMode == ViewMode.list)
_buildListSliver(density)
else
_buildGridSliver(density, fullCardLayout: fullCardLayout),
],
);
},
@@ -139,25 +144,42 @@ class _LibraryCollectionsTabState extends BaseLibraryTabState<MediaItem, Library
);
}
Widget _buildGridSliver(int density) {
Widget _buildGridSliver(int density, {required bool fullCardLayout}) {
return SliverPadding(
padding: _effectivePadding,
sliver: SliverLayoutBuilder(
builder: (context, constraints) {
final maxCrossAxisExtent = GridSizeCalculator.getMaxCrossAxisExtent(context, density);
final columnCount = GridSizeCalculator.getColumnCount(constraints.crossAxisExtent, maxCrossAxisExtent);
final gridSpacing = MediaGridDelegate.spacingFor(context: context, fullBleedImage: fullCardLayout);
final columnCount = GridSizeCalculator.getColumnCount(
constraints.crossAxisExtent,
maxCrossAxisExtent,
crossAxisSpacing: gridSpacing,
);
return SliverGrid.builder(
gridDelegate: MediaGridDelegate.createDelegate(context: context, density: density),
gridDelegate: MediaGridDelegate.createDelegate(
context: context,
density: density,
fullBleedImage: fullCardLayout,
),
itemCount: totalSize,
itemBuilder: (context, index) =>
_buildMediaCardItem(index, isFirstColumn: GridSizeCalculator.isFirstColumn(index, columnCount)),
itemBuilder: (context, index) => _buildMediaCardItem(
index,
isFirstColumn: GridSizeCalculator.isFirstColumn(index, columnCount),
fullBleedImage: fullCardLayout,
),
);
},
),
);
}
Widget _buildMediaCardItem(int index, {required bool isFirstColumn, bool disableScale = false}) {
Widget _buildMediaCardItem(
int index, {
required bool isFirstColumn,
bool disableScale = false,
bool fullBleedImage = false,
}) {
final item = loadedItems[index];
if (item == null) {
ensureIndexLoaded(index, pageSize: _pageSize);
@@ -169,6 +191,7 @@ class _LibraryCollectionsTabState extends BaseLibraryTabState<MediaItem, Library
item: item,
focusNode: index == 0 ? firstItemFocusNode : null,
disableScale: disableScale,
fullBleedImage: fullBleedImage,
onListRefresh: loadItems,
onBack: widget.onBack,
onNavigateLeft: isFirstColumn ? _navigateToSidebar : null,
@@ -10,6 +10,7 @@ import '../../../utils/grid_size_calculator.dart';
import '../../../utils/layout_constants.dart';
import '../../../utils/library_refresh_notifier.dart';
import '../../../utils/media_server_http_client.dart';
import '../../../utils/platform_detector.dart';
import '../../../widgets/focusable_media_card.dart';
import '../../../widgets/media_grid_delegate.dart';
import '../../../widgets/settings_builder.dart';
@@ -108,16 +109,20 @@ class _LibraryPlaylistsTabState extends BaseLibraryTabState<MediaPlaylist, Libra
@override
Widget buildContent(List<MediaPlaylist> items) {
return SettingsBuilder(
prefs: const [SettingsService.viewMode, SettingsService.libraryDensity],
prefs: const [SettingsService.viewMode, SettingsService.libraryDensity, SettingsService.tvFullCardLayout],
builder: (context) {
final settings = SettingsService.instanceOrNull!;
final viewMode = settings.read(SettingsService.viewMode);
final density = settings.read(SettingsService.libraryDensity);
final fullCardLayout = PlatformDetector.isTV() && settings.read(SettingsService.tvFullCardLayout);
return CustomScrollView(
clipBehavior: Clip.none,
slivers: [
SliverOverlapInjector(handle: NestedScrollView.sliverOverlapAbsorberHandleFor(context)),
if (viewMode == ViewMode.list) _buildListSliver(density) else _buildGridSliver(density),
if (viewMode == ViewMode.list)
_buildListSliver(density)
else
_buildGridSliver(density, fullCardLayout: fullCardLayout),
],
);
},
@@ -141,25 +146,42 @@ class _LibraryPlaylistsTabState extends BaseLibraryTabState<MediaPlaylist, Libra
);
}
Widget _buildGridSliver(int density) {
Widget _buildGridSliver(int density, {required bool fullCardLayout}) {
return SliverPadding(
padding: _effectivePadding,
sliver: SliverLayoutBuilder(
builder: (context, constraints) {
final maxCrossAxisExtent = GridSizeCalculator.getMaxCrossAxisExtent(context, density);
final columnCount = GridSizeCalculator.getColumnCount(constraints.crossAxisExtent, maxCrossAxisExtent);
final gridSpacing = MediaGridDelegate.spacingFor(context: context, fullBleedImage: fullCardLayout);
final columnCount = GridSizeCalculator.getColumnCount(
constraints.crossAxisExtent,
maxCrossAxisExtent,
crossAxisSpacing: gridSpacing,
);
return SliverGrid.builder(
gridDelegate: MediaGridDelegate.createDelegate(context: context, density: density),
gridDelegate: MediaGridDelegate.createDelegate(
context: context,
density: density,
fullBleedImage: fullCardLayout,
),
itemCount: totalSize,
itemBuilder: (context, index) =>
_buildPlaylistCard(index, isFirstColumn: GridSizeCalculator.isFirstColumn(index, columnCount)),
itemBuilder: (context, index) => _buildPlaylistCard(
index,
isFirstColumn: GridSizeCalculator.isFirstColumn(index, columnCount),
fullBleedImage: fullCardLayout,
),
);
},
),
);
}
Widget _buildPlaylistCard(int index, {required bool isFirstColumn, bool disableScale = false}) {
Widget _buildPlaylistCard(
int index, {
required bool isFirstColumn,
bool disableScale = false,
bool fullBleedImage = false,
}) {
final playlist = loadedItems[index];
if (playlist == null) {
ensureIndexLoaded(index, pageSize: _pageSize);
@@ -171,6 +193,7 @@ class _LibraryPlaylistsTabState extends BaseLibraryTabState<MediaPlaylist, Libra
item: playlist,
focusNode: index == 0 ? firstItemFocusNode : null,
disableScale: disableScale,
fullBleedImage: fullBleedImage,
onListRefresh: loadItems,
onBack: widget.onBack,
onNavigateLeft: isFirstColumn ? _navigateToSidebar : null,
@@ -316,6 +316,7 @@ class _LibraryRecommendedTabState extends BaseLibraryTabState<MediaHub, LibraryR
hubs: tvHubs,
density: svc.read(SettingsService.libraryDensity),
episodePosterMode: svc.read(SettingsService.episodePosterMode),
fullCardLayout: svc.read(SettingsService.tvFullCardLayout),
tallPosterScale: TvBrowseRailLayout.compactTallPosterScale,
);
final spotlightTop = (size.height * 0.075).clamp(64.0 * scale, 120.0 * scale).toDouble();
+219 -39
View File
@@ -9,6 +9,7 @@ import 'package:provider/provider.dart';
import 'package:window_manager/window_manager.dart';
import '../i18n/strings.g.dart';
import '../services/app_exit_service.dart';
import '../services/tvos_system_navigation_service.dart';
import '../services/update_service.dart';
import '../utils/app_logger.dart';
import '../widgets/auth_error_banner.dart';
@@ -46,6 +47,7 @@ import '../widgets/side_navigation_rail.dart';
import '../focus/dpad_navigator.dart';
import '../focus/key_event_utils.dart';
import 'discover_screen.dart';
import 'libraries/library_quick_picker_sheet.dart';
import 'libraries/libraries_screen.dart';
import 'livetv/live_tv_screen.dart';
import 'search_screen.dart';
@@ -176,6 +178,25 @@ bool shouldRenderMainScreenOffline({
return providerOffline || (startupOfflineUntilConnected && !hasVisibleConnectedServers);
}
@visibleForTesting
bool shouldPassTvosMenuToSystem({
required bool isAppleTV,
required bool isShowingProfileSelection,
required bool isOverlaySheetOpen,
required bool isRouteCurrent,
required bool isSidebarFocused,
required bool hasVisibleTabs,
required bool isCurrentTabRoot,
}) {
return isAppleTV &&
isSidebarFocused &&
!isShowingProfileSelection &&
!isOverlaySheetOpen &&
isRouteCurrent &&
hasVisibleTabs &&
isCurrentTabRoot;
}
class MainScreen extends StatefulWidget {
final bool isOfflineMode;
@@ -241,6 +262,7 @@ class _MainScreenState extends State<MainScreen>
final FocusScopeNode _contentFocusScope = FocusScopeNode(debugLabel: 'Content');
bool _isSidebarFocused = false;
bool _isSidebarInteractionExpanded = false;
bool _isOverlaySheetOpen = false;
/// The binder is now owned by a top-level [Provider] (see main.dart) so
/// the splash can await its first settle before navigating here. We just
@@ -316,32 +338,35 @@ class _MainScreenState extends State<MainScreen>
// Wire profile binder + tracker bootstrap (skip in offline mode)
WidgetsBinding.instance.addPostFrameCallback((_) async {
if (mounted) {
final activeProfile = context.read<ActiveProfileProvider>();
_activeProfileForListener = activeProfile;
_lastSeenProfileId = activeProfile.activeId;
activeProfile.addListener(_onActiveProfileChanged);
_plexHomeService = context.read<PlexHomeService>();
unawaited(_plexHomeService!.start());
final manager = context.read<MultiServerProvider>().serverManager;
// Read the binder so the Provider's `lazy: false` create has fired
// for sure; start only in online mode so explicit startup offline does
// not immediately kick off the same connection attempts it skipped.
final binder = context.read<ActiveProfileBinder>();
if (!_isOffline) binder.start();
_runStartupOnFirstOnlineServer(manager);
}
if (!mounted) return;
final activeProfile = context.read<ActiveProfileProvider>();
_activeProfileForListener = activeProfile;
_lastSeenProfileId = activeProfile.activeId;
activeProfile.addListener(_onActiveProfileChanged);
_plexHomeService = context.read<PlexHomeService>();
unawaited(_plexHomeService!.start());
final manager = context.read<MultiServerProvider>().serverManager;
// Read the binder so the Provider's `lazy: false` create has fired
// for sure; start only in online mode so explicit startup offline does
// not immediately kick off the same connection attempts it skipped.
final binder = context.read<ActiveProfileBinder>();
if (!_isOffline) binder.start();
_runStartupOnFirstOnlineServer(manager);
if (!_isOffline) {
// Settings-only initialization — profile identity is managed by
// ActiveProfileProvider + ActiveProfileBinder.
final userProfileProvider = context.userProfile;
await userProfileProvider.initialize();
if (!mounted) return;
// Ensure first login (or any unset profile state) requires explicit selection.
await _promptForInitialProfileSelection();
if (!mounted) return;
// Auto-start companion remote server once the active profile is known.
if (_companionRemoteSetup && mounted) {
if (_companionRemoteSetup) {
unawaited(_autoStartCompanionRemoteServer());
}
}
@@ -352,6 +377,8 @@ class _MainScreenState extends State<MainScreen>
_contentFocusScope.requestFocus();
}
_updateTvosMenuPassthrough();
// Check for updates on startup
unawaited(_checkForUpdatesOnStartup());
});
@@ -549,10 +576,13 @@ class _MainScreenState extends State<MainScreen>
if (!hasNoActive && !requireOnOpen) return;
_isShowingProfileSelection = true;
_setTvosMenuPassthrough(false);
await Navigator.of(
context,
).push(MaterialPageRoute(builder: (context) => const ProfileSwitchScreen(requireSelection: true)));
if (!mounted) return;
_isShowingProfileSelection = false;
_updateTvosMenuPassthrough();
}
Future<void> _checkForUpdatesOnStartup() async {
@@ -785,6 +815,7 @@ class _MainScreenState extends State<MainScreen>
_startupSettleTimeout = null;
_sidebarFocusScope.dispose();
_contentFocusScope.dispose();
_setTvosMenuPassthrough(false);
// Clean up companion remote callbacks
if (_companionRemoteSetup) {
@@ -829,10 +860,13 @@ class _MainScreenState extends State<MainScreen>
if (!activeProfile.hasMultipleProfiles) return;
_isShowingProfileSelection = true;
_setTvosMenuPassthrough(false);
await Navigator.of(
context,
).push(MaterialPageRoute(builder: (context) => const ProfileSwitchScreen(requireSelection: true)));
if (!mounted) return;
_isShowingProfileSelection = false;
_updateTvosMenuPassthrough();
}
/// IndexedStack that disables tickers for offscreen children to prevent
@@ -862,6 +896,7 @@ class _MainScreenState extends State<MainScreen>
NavigationTabId.libraries => LibrariesScreen(
key: _librariesKey,
onLibraryOrderChanged: _onLibraryOrderChanged,
onLibrarySelected: _handleLibrariesScreenSelected,
),
NavigationTabId.liveTv => LiveTvScreen(key: _liveTvKey),
NavigationTabId.search => SearchScreen(key: _searchKey),
@@ -932,6 +967,7 @@ class _MainScreenState extends State<MainScreen>
_screens = _buildScreens(_isOffline);
_currentTab = _normalizeTabForMode(_currentTab, _isOffline);
});
_updateTvosMenuPassthrough();
}
void _handleOfflineStatusChanged() {
@@ -977,6 +1013,7 @@ class _MainScreenState extends State<MainScreen>
_autoSwitchedToDownloads = false;
}
});
_updateTvosMenuPassthrough();
// Refresh sidebar focus after rebuilding navigation
WidgetsBinding.instance.addPostFrameCallback((_) {
@@ -1005,6 +1042,7 @@ class _MainScreenState extends State<MainScreen>
// and overwrites lastFocusedKey (e.g. to the Libraries toggle button).
final targetKey = _sideNavKey.currentState?.lastFocusedKey;
setState(() => _isSidebarFocused = true);
_updateTvosMenuPassthrough();
_sidebarFocusScope.requestFocus();
// Focus the active item after the focus scope has focus
WidgetsBinding.instance.addPostFrameCallback((_) {
@@ -1012,13 +1050,23 @@ class _MainScreenState extends State<MainScreen>
});
}
void _focusContent() {
void _focusContent({bool restorePreviousFocus = true}) {
setState(() => _isSidebarFocused = false);
_contentFocusScope.requestFocus();
_updateTvosMenuPassthrough();
if (restorePreviousFocus) {
_contentFocusScope.requestFocus();
}
// Only programmatically focus if the scope didn't auto-restore a child.
// This preserves the user's focus position when returning from sidebar.
WidgetsBinding.instance.addPostFrameCallback((_) {
if (_contentFocusScope.focusedChild == null) {
if (!mounted) return;
if (restorePreviousFocus) {
if (_contentFocusScope.focusedChild == null) {
if (_screenKeyFor(_currentTab)?.currentState case final FocusableTab focusable) {
focusable.focusActiveTabIfReady();
}
}
} else {
if (_screenKeyFor(_currentTab)?.currentState case final FocusableTab focusable) {
focusable.focusActiveTabIfReady();
}
@@ -1031,6 +1079,12 @@ class _MainScreenState extends State<MainScreen>
setState(() => _isSidebarInteractionExpanded = expanded);
}
void _handleOverlaySheetOpenChanged(bool open) {
if (_isOverlaySheetOpen == open) return;
_isOverlaySheetOpen = open;
_updateTvosMenuPassthrough();
}
double _sideNavigationWidth(BuildContext context, {required bool alwaysExpanded}) {
final isExpanded = alwaysExpanded || _isSidebarFocused || _isSidebarInteractionExpanded;
return isExpanded
@@ -1038,12 +1092,35 @@ class _MainScreenState extends State<MainScreen>
: SideNavigationRailState.collapsedWidthForContext(context);
}
bool get _shouldPassTvosMenuToSystem {
final tabs = _getVisibleTabs(_isOffline);
return shouldPassTvosMenuToSystem(
isAppleTV: PlatformDetector.isAppleTV(),
isShowingProfileSelection: _isShowingProfileSelection,
isOverlaySheetOpen: _isOverlaySheetOpen,
isRouteCurrent: ModalRoute.of(context)?.isCurrent == true,
isSidebarFocused: _isSidebarFocused,
hasVisibleTabs: tabs.isNotEmpty,
isCurrentTabRoot: tabs.isNotEmpty && _currentTab == tabs.first.id,
);
}
void _setTvosMenuPassthrough(bool enabled) {
if (!PlatformDetector.isAppleTV()) return;
unawaited(TvosSystemNavigationService.setMenuPassthroughEnabled(enabled));
}
void _updateTvosMenuPassthrough() {
if (!mounted) return;
_setTvosMenuPassthrough(_shouldPassTvosMenuToSystem);
}
/// Suppress stray back events after a child route pops.
/// On Android TV the platform popRoute can arrive before the key events,
/// so BackKeySuppressorObserver misses them and they leak into _handleBackKey.
bool _suppressBackAfterPop = false;
KeyEventResult _handleMainBack({bool allowTvSystemExit = false}) {
KeyEventResult _handleMainBack() {
final tabs = _getVisibleTabs(_isOffline);
if (tabs.isEmpty) return KeyEventResult.handled;
@@ -1054,11 +1131,18 @@ class _MainScreenState extends State<MainScreen>
return KeyEventResult.handled;
}
// The tvOS engine normally passes root Menu presses through to UIKit. If a
// stale event still reaches Flutter, avoid showing an exit prompt that
// cannot be honored app-side.
if (PlatformDetector.isAppleTV()) {
_lastBackPressAt = null;
return KeyEventResult.handled;
}
final now = DateTime.now();
final lastBackPressAt = _lastBackPressAt;
if (lastBackPressAt != null && now.difference(lastBackPressAt) < _backExitWindow) {
_lastBackPressAt = null;
if (allowTvSystemExit && PlatformDetector.isAppleTV()) return KeyEventResult.skipRemainingHandlers;
unawaited(AppExitService.requestExit());
return KeyEventResult.handled;
}
@@ -1079,7 +1163,7 @@ class _MainScreenState extends State<MainScreen>
// matching comment in handleBackKeyAction for why the suppressor pattern
// doesn't fit here.
if (PlatformDetector.isAppleTV() && event is KeyDownEvent) {
final result = _handleMainBack(allowTvSystemExit: true);
final result = _handleMainBack();
if (result == KeyEventResult.handled) {
BackKeyCoordinator.markHandled();
}
@@ -1090,7 +1174,7 @@ class _MainScreenState extends State<MainScreen>
}
if (event is KeyUpEvent) {
final result = _handleMainBack(allowTvSystemExit: PlatformDetector.isAppleTV());
final result = _handleMainBack();
if (result == KeyEventResult.handled) {
BackKeyCoordinator.markHandled();
}
@@ -1167,6 +1251,7 @@ class _MainScreenState extends State<MainScreen>
@override
void didPushNext() {
_setTvosMenuPassthrough(false);
// Called when a child route is pushed on top (e.g., video player)
if (_currentTab == NavigationTabId.discover) {
if (_discoverKey.currentState case final TabVisibilityAware aware) {
@@ -1187,6 +1272,7 @@ class _MainScreenState extends State<MainScreen>
});
// Called when returning to this route from a child route (e.g., from video player)
_updateTvosMenuPassthrough();
if (_currentTab == NavigationTabId.discover) {
if (_discoverKey.currentState case final TabVisibilityAware aware) {
aware.onTabShown();
@@ -1273,6 +1359,7 @@ class _MainScreenState extends State<MainScreen>
_autoSwitchedToDownloads = false;
}
});
_updateTvosMenuPassthrough();
if (previousTab != tab) {
// Notify previous screen it's being hidden
@@ -1317,6 +1404,63 @@ class _MainScreenState extends State<MainScreen>
}
}
void _handleLibrariesScreenSelected(String libraryGlobalKey) {
if (_selectedLibraryGlobalKey == libraryGlobalKey) return;
setState(() => _selectedLibraryGlobalKey = libraryGlobalKey);
}
void _showLibraryQuickPicker(BuildContext context) {
if (_isOffline) return;
final controller = OverlaySheetController.of(context);
final groupByServer = SettingsService.instanceOrNull?.read(SettingsService.groupLibrariesByServer) ?? false;
final maxHeight = MediaQuery.sizeOf(context).height * 0.62;
controller
.show<String>(
showDragHandle: true,
constraints: BoxConstraints(maxHeight: maxHeight),
builder: (sheetContext) {
return Consumer2<LibrariesProvider, HiddenLibrariesProvider>(
builder: (context, librariesProvider, hiddenLibrariesProvider, _) {
if (!hiddenLibrariesProvider.isInitialized) {
return LibraryQuickPickerSheet(
libraries: const [],
selectedLibraryKey: _selectedLibraryGlobalKey,
isLoading: true,
groupByServer: groupByServer,
emptyMessage: t.libraries.noLibrariesFound,
onSelected: (libraryGlobalKey) => controller.close(libraryGlobalKey),
);
}
final allLibraries = librariesProvider.libraries;
final hiddenKeys = hiddenLibrariesProvider.hiddenLibraryKeys;
final visibleLibraries = allLibraries
.where((library) => !hiddenKeys.contains(library.globalKey))
.toList();
final emptyMessage = allLibraries.isEmpty
? t.libraries.noLibrariesFound
: t.libraries.allLibrariesHidden;
return LibraryQuickPickerSheet(
libraries: visibleLibraries,
selectedLibraryKey: _selectedLibraryGlobalKey,
isLoading: librariesProvider.isLoading,
groupByServer: groupByServer,
emptyMessage: emptyMessage,
onSelected: (libraryGlobalKey) => controller.close(libraryGlobalKey),
);
},
);
},
)
.then((libraryGlobalKey) {
if (!mounted || libraryGlobalKey == null) return;
_selectLibrary(libraryGlobalKey);
});
}
/// Whether the Live TV tab is currently visible
/// Use the synchronized value so screens list and nav bar always agree.
/// Updated by _handleLiveTvChanged when the provider notifies.
@@ -1339,9 +1483,52 @@ class _MainScreenState extends State<MainScreen>
};
}
/// Build navigation destinations for bottom navigation bar.
List<NavigationDestination> _buildNavDestinations(bool isOffline) {
return _getVisibleTabs(isOffline).map((tab) => tab.toDestination()).toList();
Widget _buildBottomNavigationBar(BuildContext context, {required bool hideLabels}) {
final tabs = _getVisibleTabs(_isOffline);
final navigationBar = NavigationBar(
selectedIndex: _currentIndex,
onDestinationSelected: (i) {
if (i >= 0 && i < tabs.length) _selectTab(tabs[i].id);
},
labelBehavior: hideLabels
? NavigationDestinationLabelBehavior.alwaysHide
: NavigationDestinationLabelBehavior.alwaysShow,
destinations: tabs.map((tab) => tab.toDestination()).toList(),
);
final librariesIndex = tabs.indexWhere((tab) => tab.id == NavigationTabId.libraries);
if (librariesIndex < 0 || tabs.isEmpty) return navigationBar;
return LayoutBuilder(
builder: (context, constraints) {
if (!constraints.hasBoundedWidth) return navigationBar;
final itemWidth = constraints.maxWidth / tabs.length;
final isRtl = Directionality.of(context) == TextDirection.rtl;
final left = isRtl ? constraints.maxWidth - (itemWidth * (librariesIndex + 1)) : itemWidth * librariesIndex;
return Stack(
children: [
navigationBar,
Positioned(
left: left,
top: 0,
bottom: 0,
width: itemWidth,
child: GestureDetector(
behavior: HitTestBehavior.translucent,
excludeFromSemantics: true,
onLongPress: () {
Feedback.forLongPress(context);
_showLibraryQuickPicker(context);
},
child: const SizedBox.expand(),
),
),
],
);
},
);
}
@override
@@ -1362,6 +1549,7 @@ class _MainScreenState extends State<MainScreen>
: SideNavigationRailState.collapsedWidthForContext(context);
return OverlaySheetHost(
onOpenChanged: _handleOverlaySheetOpenChanged,
child: PopScope(
canPop: false, // Prevent system back from popping on Android TV
// ignore: no-empty-block - required callback, back navigation handled by _handleBackKey
@@ -1430,12 +1618,13 @@ class _MainScreenState extends State<MainScreen>
isReconnecting: _isReconnecting,
onInteractionExpandedChanged: _handleSidebarInteractionExpandedChanged,
onDestinationSelected: (tab) {
final restorePreviousFocus = tab == _currentTab;
_selectTab(tab);
_focusContent();
_focusContent(restorePreviousFocus: restorePreviousFocus);
},
onLibrarySelected: (key) {
_selectLibrary(key);
_focusContent();
_focusContent(restorePreviousFocus: false);
},
onNavigateToContent: _focusContent,
onReconnect: _triggerReconnect,
@@ -1464,6 +1653,7 @@ class _MainScreenState extends State<MainScreen>
_handleMainBack();
},
child: OverlaySheetHost(
onOpenChanged: _handleOverlaySheetOpenChanged,
child: ScaffoldMessenger(
key: mainScaffoldMessengerKey,
child: Scaffold(
@@ -1513,17 +1703,7 @@ class _MainScreenState extends State<MainScreen>
final hideLabels = !showNavBarLabels;
return NavigationBarTheme(
data: NavigationBarTheme.of(context).copyWith(height: hideLabels ? 56 : null),
child: NavigationBar(
selectedIndex: _currentIndex,
onDestinationSelected: (i) {
final tabs = _getVisibleTabs(_isOffline);
if (i >= 0 && i < tabs.length) _selectTab(tabs[i].id);
},
labelBehavior: hideLabels
? NavigationDestinationLabelBehavior.alwaysHide
: NavigationDestinationLabelBehavior.alwaysShow,
destinations: _buildNavDestinations(_isOffline),
),
child: _buildBottomNavigationBar(context, hideLabels: hideLabels),
);
},
),
+177 -81
View File
@@ -6,7 +6,9 @@ extension _MediaDetailActionButtons on _MediaDetailScreenState {
final tvScale = TvLayoutConstants.scaleOf(context);
final actionSize = isTv ? _tvDetailActionSize * tvScale : 48.0;
final playButtonLabel = _getPlayButtonLabel(metadata);
final playButtonIcon = AppIcon(_getPlayButtonIcon(metadata), fill: 1, size: isTv ? 22 * tvScale : 20);
final playIconSize = isTv ? 22 * tvScale : 20.0;
final playTextStyle = TextStyle(fontSize: isTv ? 17 * tvScale : 16, fontWeight: FontWeight.w700);
final playButtonIcon = AppIcon(_getPlayButtonIcon(metadata), fill: 1, size: playIconSize);
Future<void> onPlayPressed() async {
// For TV shows, play the OnDeck episode if available
@@ -96,79 +98,143 @@ extension _MediaDetailActionButtons on _MediaDetailScreenState {
);
}
// Plays the resolved trailer. Shared by the row's trailer button and the
// ⋮ menu item so the trailer stays reachable when the row hides its button.
final VoidCallback? onPlayTrailer = primaryTrailer == null
? null
: () => unawaited(navigateToVideoPlayer(context, metadata: primaryTrailer));
final gap = isTv ? 8.0 * tvScale : 12.0;
final playButton = SizedBox(
height: actionSize,
child: FilledButton(
focusNode: _playButtonFocusNode,
autofocus: isKeyboardMode,
onPressed: onPlayPressed,
style: actionButtonStyle(
padding: EdgeInsets.symmetric(horizontal: isTv ? 17 * tvScale : 16, vertical: isTv ? 9 * tvScale : 0),
),
child: playButtonLabel.isNotEmpty
? Row(
mainAxisSize: MainAxisSize.min,
children: [
playButtonIcon,
SizedBox(width: isTv ? 7 * tvScale : 8),
Text(playButtonLabel, style: playTextStyle),
],
)
: playButtonIcon,
),
);
final trailerButton = primaryTrailer == null
? null
: IconButton.filledTonal(
onPressed: onPlayTrailer,
icon: const AppIcon(Symbols.theaters_rounded, fill: 1),
tooltip: t.tooltips.playTrailer,
iconSize: isTv ? 21 * tvScale : 20,
style: actionButtonStyle(),
);
final shuffleButton = (metadata.isShow || metadata.isSeason)
? IconButton.filledTonal(
onPressed: () async {
await _handleShufflePlayWithQueue(context, metadata);
},
icon: const AppIcon(Symbols.shuffle_rounded, fill: 1),
tooltip: t.tooltips.shufflePlay,
iconSize: isTv ? 21 * tvScale : 20,
style: actionButtonStyle(),
)
: null;
final downloadButton = !widget.isOffline && !PlatformDetector.isAppleTV()
? _buildDownloadButton(metadata, actionButtonStyle, tvScale)
: null;
final watchedButton = _buildWatchedToggleButton(metadata, actionButtonStyle, tvScale);
final moreActionsButton = widget.isOffline
? null
: _buildMoreActionsButton(metadata, actionButtonStyle, tvScale, onPlayTrailer: onPlayTrailer);
Row actionRow(List<Widget> buttons) {
return Row(
children: [
for (var i = 0; i < buttons.length; i++) ...[if (i > 0) SizedBox(width: gap), buttons[i]],
],
);
}
final allButtons = <Widget>[
playButton,
if (trailerButton != null) trailerButton,
if (shuffleButton != null) shuffleButton,
if (downloadButton != null) downloadButton,
watchedButton,
if (moreActionsButton != null) moreActionsButton,
];
double playButtonWidthEstimate() {
if (playButtonLabel.isEmpty) return 64.0;
final textPainter = TextPainter(
text: TextSpan(text: playButtonLabel, style: playTextStyle),
maxLines: 1,
textDirection: Directionality.of(context),
)..layout();
final textWidth = textPainter.width;
textPainter.dispose();
final horizontalPadding = isTv ? 34.0 * tvScale : 32.0;
final iconGap = isTv ? 7.0 * tvScale : 8.0;
return (horizontalPadding + playIconSize + iconGap + textWidth).clamp(64.0, double.infinity).toDouble();
}
final estimatedPlayWidth = playButtonWidthEstimate();
double estimatedRowWidth(List<Widget> buttons) {
if (buttons.isEmpty) return 0;
return estimatedPlayWidth + (buttons.length - 1) * actionSize + (buttons.length - 1) * gap;
}
List<Widget> compactButtonsFor(double maxWidth) {
if (widget.isOffline) {
final compact = <Widget>[playButton, watchedButton];
if (maxWidth.isFinite && estimatedRowWidth(compact) > maxWidth) return [playButton];
return compact;
}
final medium = <Widget>[
playButton,
if (downloadButton != null) downloadButton,
watchedButton,
if (moreActionsButton != null) moreActionsButton,
];
if (!maxWidth.isFinite || estimatedRowWidth(medium) <= maxWidth) return medium;
final compact = <Widget>[playButton, watchedButton, if (moreActionsButton != null) moreActionsButton];
if (estimatedRowWidth(compact) <= maxWidth) return compact;
return [playButton, if (moreActionsButton != null) moreActionsButton];
}
return Focus(
skipTraversal: true,
onFocusChange: (hasFocus) {
if (isTv) _setTvDetailActionRowFocus(hasFocus);
},
onKeyEvent: _handlePlayButtonKeyEvent,
child: Row(
children: [
SizedBox(
height: actionSize,
child: FilledButton(
focusNode: _playButtonFocusNode,
autofocus: isKeyboardMode,
onPressed: onPlayPressed,
style: actionButtonStyle(
padding: EdgeInsets.symmetric(horizontal: isTv ? 17 * tvScale : 16, vertical: isTv ? 9 * tvScale : 0),
),
child: playButtonLabel.isNotEmpty
? Row(
mainAxisSize: MainAxisSize.min,
children: [
playButtonIcon,
SizedBox(width: isTv ? 7 * tvScale : 8),
Text(
playButtonLabel,
style: TextStyle(fontSize: isTv ? 17 * tvScale : 16, fontWeight: FontWeight.w700),
),
],
)
: playButtonIcon,
),
),
SizedBox(width: isTv ? 8 * tvScale : 12),
// Trailer button (only if trailer is available)
if (primaryTrailer != null) ...[
IconButton.filledTonal(
onPressed: () async {
await navigateToVideoPlayer(context, metadata: primaryTrailer);
// TV screens are wide and D-pad focus should see every direct action.
// On smaller online screens, hidden actions remain available from ⋮.
child: isTv
? actionRow(allButtons)
: LayoutBuilder(
builder: (context, constraints) {
final maxWidth = constraints.maxWidth;
if (!maxWidth.isFinite || estimatedRowWidth(allButtons) <= maxWidth) {
return actionRow(allButtons);
}
return actionRow(compactButtonsFor(maxWidth));
},
icon: const AppIcon(Symbols.theaters_rounded, fill: 1),
tooltip: t.tooltips.playTrailer,
iconSize: isTv ? 21 * tvScale : 20,
style: actionButtonStyle(),
),
SizedBox(width: isTv ? 8 * tvScale : 12),
],
// Shuffle button (only for shows and seasons)
if (metadata.isShow || metadata.isSeason) ...[
IconButton.filledTonal(
onPressed: () async {
await _handleShufflePlayWithQueue(context, metadata);
},
icon: const AppIcon(Symbols.shuffle_rounded, fill: 1),
tooltip: t.tooltips.shufflePlay,
iconSize: isTv ? 21 * tvScale : 20,
style: actionButtonStyle(),
),
SizedBox(width: isTv ? 8 * tvScale : 12),
],
// Download button (hide in offline mode - already downloaded,
// and on Apple TV where there's no user file storage).
if (!widget.isOffline && !PlatformDetector.isAppleTV())
_buildDownloadButton(metadata, actionButtonStyle, tvScale),
SizedBox(width: isTv ? 8 * tvScale : 12),
// Mark as watched/unwatched toggle (works offline too)
_buildWatchedToggleButton(metadata, actionButtonStyle, tvScale),
// Three-dots menu button (hidden in offline mode)
if (!widget.isOffline) ...[
SizedBox(width: isTv ? 8 * tvScale : 12),
_buildMoreActionsButton(metadata, actionButtonStyle, tvScale),
],
],
),
);
}
@@ -231,12 +297,14 @@ extension _MediaDetailActionButtons on _MediaDetailScreenState {
Widget _buildMoreActionsButton(
MediaItem metadata,
ButtonStyle Function({Color? foregroundColor, EdgeInsetsGeometry? padding}) actionButtonStyle,
double tvScale,
) {
double tvScale, {
VoidCallback? onPlayTrailer,
}) {
return MediaContextMenu(
key: _contextMenuKey,
item: metadata,
onRefresh: (itemId) => unawaited(_refreshItemInPlace(itemId)),
onPlayTrailer: onPlayTrailer,
child: Builder(
builder: (buttonContext) => IconButton.filledTonal(
onPressed: () {
@@ -487,26 +555,54 @@ extension _MediaDetailActionButtons on _MediaDetailScreenState {
);
}
// Shows/seasons may have more episodes to fetch; movies/episodes don't.
final canDownloadMore = metadata.isShow || metadata.isSeason;
Future<void> confirmAndDelete() async {
final confirmed = await showDeleteConfirmation(
context,
title: t.downloads.deleteDownload,
message: t.downloads.deleteConfirm(title: metadata.displayTitle),
);
if (confirmed && context.mounted) {
await downloadProvider.deleteDownload(globalKey);
if (context.mounted) {
showSuccessSnackBar(context, t.downloads.downloadDeleted);
}
}
}
return IconButton.filledTonal(
onPressed: () async {
// Show delete download confirmation
final confirmed = await showDeleteConfirmation(
context,
title: t.downloads.deleteDownload,
message: t.downloads.deleteConfirm(title: metadata.displayTitle),
);
if (confirmed && context.mounted) {
await downloadProvider.deleteDownload(globalKey);
// Movies/episodes: nothing more to download, so delete directly.
if (!canDownloadMore) {
await confirmAndDelete();
return;
}
// Shows/seasons: reopen the download options menu so the user can
// grab more episodes (or switch to sync), with delete as a row.
final client = _getMediaClientForMetadata(context);
if (client == null) return;
try {
final result = await showDownloadOptionsAndQueue(
context,
metadata: metadata,
client: client,
downloadProvider: downloadProvider,
onDelete: confirmAndDelete,
);
if (result == null || !context.mounted) return;
showSuccessSnackBar(context, result.toSnackBarMessage());
} on CellularDownloadBlockedException {
if (context.mounted) {
showSuccessSnackBar(context, t.downloads.downloadDeleted);
showErrorSnackBar(context, t.settings.cellularDownloadBlocked);
}
}
},
icon: const AppIcon(Symbols.file_download_done_rounded, fill: 1),
tooltip: t.downloads.deleteDownload,
icon: const AppIcon(Symbols.download_rounded, fill: 1),
tooltip: canDownloadMore ? t.downloads.manage : t.downloads.deleteDownload,
iconSize: iconSize,
style: actionButtonStyle(foregroundColor: Colors.green),
style: actionButtonStyle(foregroundColor: Colors.orange),
);
}

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