Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
db50cb4837 | ||
|
|
b4b90eec63 | ||
|
|
beff313814 | ||
|
|
0dc9cd38af | ||
|
|
8ff7676e60 | ||
|
|
bfe35220aa | ||
|
|
843faee4c5 | ||
|
|
f8bfeb0ec6 | ||
|
|
dd441fee66 | ||
|
|
2204b05d6c | ||
|
|
a1841804b6 | ||
|
|
5e31ad9c67 | ||
|
|
477b92291b | ||
|
|
fcc6186796 | ||
|
|
23179f6d17 | ||
|
|
996e8621fa | ||
|
|
8ad1cb988f | ||
|
|
4cef99dda2 | ||
|
|
4beeedd318 | ||
|
|
23043c61f4 | ||
|
|
8d56171bd2 | ||
|
|
ff0fafe938 | ||
|
|
8b7f369c16 | ||
|
|
5c0e40bddb | ||
|
|
58b0bf5306 | ||
|
|
9bd2774820 | ||
|
|
cc7da5bbc9 | ||
|
|
bd4e30e653 | ||
|
|
e759dafa87 | ||
|
|
3ae2488adf | ||
|
|
2f5b596fff | ||
|
|
472ac90fea | ||
|
|
e9dfee6870 | ||
|
|
48e57fd375 | ||
|
|
4b05ed79ea | ||
|
|
4365e70a78 | ||
|
|
e8c02d04ae | ||
|
|
0539c1d869 | ||
|
|
1980ce92d5 | ||
|
|
b5576fa6de | ||
|
|
d355e07e10 | ||
|
|
09ff47e19f | ||
|
|
4ee4a766d6 | ||
|
|
7ebbf75cb9 | ||
|
|
e95b768350 | ||
|
|
82f0d46acc | ||
|
|
bafba0b151 | ||
|
|
7a68218439 | ||
|
|
2d37d37596 | ||
|
|
d64c72f40e | ||
|
|
efe375f817 | ||
|
|
1f8dfd3587 | ||
|
|
60eae5d14f | ||
|
|
5123a5ec48 | ||
|
|
dbb3ae38b3 | ||
|
|
fbf6fc988b | ||
|
|
17da465e4e | ||
|
|
e096a4ccb8 | ||
|
|
079417ad3e | ||
|
|
edb2120f98 | ||
|
|
cc0305d84a | ||
|
|
3f78686661 | ||
|
|
13604cca01 | ||
|
|
eae4eacf00 | ||
|
|
4119824048 | ||
|
|
8bdf2b53d3 | ||
|
|
fb4f17a898 | ||
|
|
ad0623334c | ||
|
|
13dcfd7551 | ||
|
|
053884a147 | ||
|
|
4f893cb826 | ||
|
|
94aa966f46 | ||
|
|
0fcdcf3c1f | ||
|
|
4147bd0d86 | ||
|
|
3ea3455772 | ||
|
|
a82c3d2d2d | ||
|
|
04ef1b8ad2 | ||
|
|
b009dd9c80 | ||
|
|
e9f1979e6c | ||
|
|
23906dd65d | ||
|
|
630755cf7b | ||
|
|
3c2f72d15f | ||
|
|
ff5cf06e60 | ||
|
|
9798486724 | ||
|
|
db6161d84e | ||
|
|
af0de5c0a9 | ||
|
|
e0d9b4ee93 | ||
|
|
551be5bbef | ||
|
|
bbc7f0f665 | ||
|
|
8433d59432 | ||
|
|
59b3e6ce81 | ||
|
|
a5629c54f6 | ||
|
|
45726a57ce | ||
|
|
5f597ef567 | ||
|
|
bf464b257d | ||
|
|
0100b2a2ea | ||
|
|
360c3356cf | ||
|
|
5f18efcfb3 | ||
|
|
79888168ae | ||
|
|
2427a55901 | ||
|
|
ac397f32a3 | ||
|
|
d236e7fec6 | ||
|
|
6d7cdc4ef4 | ||
|
|
9a296b3da8 | ||
|
|
f27861748c | ||
|
|
c9668af2ae | ||
|
|
9c2253616f | ||
|
|
cfb8bf04d6 | ||
|
|
9efdd5a17d | ||
|
|
dd11e8d3b2 | ||
|
|
cde6e99a17 | ||
|
|
045e68ca10 | ||
|
|
4f736c555b | ||
|
|
642c49b1ea | ||
|
|
e13b16f13c | ||
|
|
1f9fa9ba4f | ||
|
|
849ef6efe5 | ||
|
|
e968a20f4c | ||
|
|
7a6b866c28 | ||
|
|
6ccbaed3fd | ||
|
|
d01628a262 | ||
|
|
675ac84486 | ||
|
|
e84dc93910 | ||
|
|
3d30ea1342 | ||
|
|
efd28d3ca3 | ||
|
|
8a28a2c398 | ||
|
|
c6fa6afa9b | ||
|
|
912ebc2f90 | ||
|
|
f04b49e260 | ||
|
|
a17458ff9b | ||
|
|
c062dd944e | ||
|
|
1a4516bdd1 | ||
|
|
5538e0627b | ||
|
|
7febfa9771 | ||
|
|
160be52f02 | ||
|
|
828d57af24 | ||
|
|
1f7fb2201c | ||
|
|
32ae51142f | ||
|
|
7014df7a0e | ||
|
|
cb0ed15c0c | ||
|
|
d4e9364d29 | ||
|
|
4681d60850 | ||
|
|
78052dc07f | ||
|
|
67c66ff0c1 | ||
|
|
d1bb99635a | ||
|
|
69092e3656 | ||
|
|
98138a4f35 | ||
|
|
25c7f325b6 | ||
|
|
5dbaf961b7 | ||
|
|
b4471fab49 | ||
|
|
307fd354d6 | ||
|
|
a3b5557185 | ||
|
|
3c491be690 | ||
|
|
580c1d82e5 | ||
|
|
4cc83006ec | ||
|
|
4954c9c569 | ||
|
|
8f1b40d143 |
@@ -5,6 +5,7 @@ on:
|
||||
|
||||
env:
|
||||
SENTRY_DART_DEFINE: ${{ github.repository == 'edde746/plezy' && '--dart-define=ENABLE_SENTRY=true' || '' }}
|
||||
GIT_COMMIT_DART_DEFINE: --dart-define=GIT_COMMIT=${{ github.sha }}
|
||||
|
||||
jobs:
|
||||
build-android:
|
||||
@@ -61,7 +62,7 @@ jobs:
|
||||
EOF
|
||||
|
||||
- name: Build APKs
|
||||
run: flutter build apk --release --split-per-abi --dart-define=ENABLE_UPDATE_CHECK=true ${{ env.SENTRY_DART_DEFINE }}
|
||||
run: flutter build apk --release --split-per-abi --dart-define=ENABLE_UPDATE_CHECK=true ${{ env.SENTRY_DART_DEFINE }} ${{ env.GIT_COMMIT_DART_DEFINE }}
|
||||
|
||||
- name: Clean up keystore
|
||||
if: always()
|
||||
@@ -129,7 +130,7 @@ jobs:
|
||||
run: flutter pub get
|
||||
|
||||
- name: Build iOS (no codesign)
|
||||
run: flutter build ios --release --no-codesign --dart-define=ENABLE_UPDATE_CHECK=true ${{ env.SENTRY_DART_DEFINE }}
|
||||
run: flutter build ios --release --no-codesign --dart-define=ENABLE_UPDATE_CHECK=true ${{ env.SENTRY_DART_DEFINE }} ${{ env.GIT_COMMIT_DART_DEFINE }}
|
||||
|
||||
- name: Create IPA
|
||||
run: |
|
||||
@@ -187,7 +188,7 @@ jobs:
|
||||
run: flutter pub get
|
||||
|
||||
- name: Build macOS
|
||||
run: flutter build macos --release --dart-define=ENABLE_UPDATE_CHECK=true ${{ env.SENTRY_DART_DEFINE }}
|
||||
run: flutter build macos --release --dart-define=ENABLE_UPDATE_CHECK=true ${{ env.SENTRY_DART_DEFINE }} ${{ env.GIT_COMMIT_DART_DEFINE }}
|
||||
|
||||
- name: Import Code Signing Certificate
|
||||
env:
|
||||
@@ -338,7 +339,7 @@ jobs:
|
||||
run: flutter pub get
|
||||
|
||||
- name: Build Windows x64
|
||||
run: flutter build windows --release --dart-define=ENABLE_UPDATE_CHECK=true ${{ env.SENTRY_DART_DEFINE }}
|
||||
run: flutter build windows --release --dart-define=ENABLE_UPDATE_CHECK=true ${{ env.SENTRY_DART_DEFINE }} ${{ env.GIT_COMMIT_DART_DEFINE }}
|
||||
|
||||
- name: Upload x64 build
|
||||
uses: actions/upload-artifact@v4
|
||||
@@ -375,7 +376,7 @@ jobs:
|
||||
run: flutter pub get
|
||||
|
||||
- name: Build Windows arm64
|
||||
run: flutter build windows --release --dart-define=ENABLE_UPDATE_CHECK=true ${{ env.SENTRY_DART_DEFINE }}
|
||||
run: flutter build windows --release --dart-define=ENABLE_UPDATE_CHECK=true ${{ env.SENTRY_DART_DEFINE }} ${{ env.GIT_COMMIT_DART_DEFINE }}
|
||||
|
||||
- name: Upload arm64 build
|
||||
uses: actions/upload-artifact@v4
|
||||
@@ -519,7 +520,7 @@ jobs:
|
||||
run: flutter pub get
|
||||
|
||||
- name: Build Linux x64
|
||||
run: flutter build linux --release --dart-define=ENABLE_UPDATE_CHECK=true ${{ env.SENTRY_DART_DEFINE }}
|
||||
run: flutter build linux --release --dart-define=ENABLE_UPDATE_CHECK=true ${{ env.SENTRY_DART_DEFINE }} ${{ env.GIT_COMMIT_DART_DEFINE }}
|
||||
env:
|
||||
PKG_CONFIG_PATH: ${{ github.workspace }}/libmpv-prefix/lib/pkgconfig:${{ github.workspace }}/libmpv-prefix/lib/x86_64-linux-gnu/pkgconfig
|
||||
|
||||
@@ -627,7 +628,7 @@ jobs:
|
||||
run: flutter pub get
|
||||
|
||||
- name: Build Linux arm64
|
||||
run: flutter build linux --release --dart-define=ENABLE_UPDATE_CHECK=true ${{ env.SENTRY_DART_DEFINE }}
|
||||
run: flutter build linux --release --dart-define=ENABLE_UPDATE_CHECK=true ${{ env.SENTRY_DART_DEFINE }} ${{ env.GIT_COMMIT_DART_DEFINE }}
|
||||
env:
|
||||
PKG_CONFIG_PATH: ${{ github.workspace }}/libmpv-prefix/lib/pkgconfig:${{ github.workspace }}/libmpv-prefix/lib/aarch64-linux-gnu/pkgconfig
|
||||
|
||||
|
||||
@@ -52,3 +52,27 @@ jobs:
|
||||
identifier: edde746.Plezy
|
||||
installers-regex: 'plezy-windows-installer\.exe$'
|
||||
token: ${{ secrets.WINGET_TOKEN }}
|
||||
|
||||
update-appcast-branch:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: write
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Download appcast.xml from release
|
||||
run: |
|
||||
gh release download "${{ github.event.release.tag_name }}" \
|
||||
--pattern "appcast.xml"
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Push to appcast branch
|
||||
run: |
|
||||
VERSION="${{ github.event.release.tag_name }}"
|
||||
git config user.name "github-actions[bot]"
|
||||
git config user.email "github-actions[bot]@users.noreply.github.com"
|
||||
BLOB=$(git hash-object -w appcast.xml)
|
||||
TREE=$(printf "100644 blob %s\tappcast.xml\n" "$BLOB" | git mktree)
|
||||
COMMIT=$(git commit-tree "$TREE" -m "Update appcast for $VERSION")
|
||||
git push origin "$COMMIT:refs/heads/appcast" --force
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
cask "plezy" do
|
||||
version "1.25.1"
|
||||
sha256 "213d75905ab81ce6ae9142771bd3ce130499612c52ede15b5af65f609f43bd65"
|
||||
version "1.29.0"
|
||||
sha256 "5f856275e7d5fe66f25238708a41e9f04fa4d327a932a16626b1424807b05866"
|
||||
|
||||
url "https://github.com/edde746/plezy/releases/download/#{version}/plezy-macos.dmg"
|
||||
name "Plezy"
|
||||
|
||||
@@ -26,6 +26,10 @@ A modern Plex client for desktop and mobile. Built with Flutter for native perfo
|
||||
brew tap edde746/plezy https://github.com/edde746/plezy
|
||||
brew install --cask plezy
|
||||
```
|
||||
- [AUR](https://aur.archlinux.org/packages/plezy-bin) (Arch Linux) - Community maintained by [@jianglai](https://github.com/jianglai):
|
||||
```bash
|
||||
yay -S plezy-bin
|
||||
```
|
||||
- **WinGet** (Windows):
|
||||
```bash
|
||||
winget install edde746.plezy
|
||||
|
||||
@@ -8,6 +8,39 @@ plugins {
|
||||
id("dev.flutter.flutter-gradle-plugin")
|
||||
}
|
||||
|
||||
val mpvVersion = "v1.0.6"
|
||||
val mpvDir = layout.buildDirectory.dir("libmpv").get().asFile
|
||||
val mpvAar = "libmpv-release.aar"
|
||||
|
||||
val downloadLibmpv by tasks.registering {
|
||||
val stamp = File(mpvDir, ".version")
|
||||
outputs.upToDateWhen { stamp.exists() && stamp.readText().trim() == mpvVersion }
|
||||
doLast {
|
||||
mpvDir.mkdirs()
|
||||
val url = "https://github.com/edde746/libmpv-android/releases/download/$mpvVersion/$mpvAar"
|
||||
exec { commandLine("curl", "-sfL", url, "-o", File(mpvDir, mpvAar).absolutePath) }
|
||||
stamp.writeText(mpvVersion)
|
||||
}
|
||||
}
|
||||
|
||||
val assVersion = "safety-2"
|
||||
val assDir = layout.buildDirectory.dir("libass").get().asFile
|
||||
val assAars = listOf("lib_ass-release.aar", "lib_ass_kt-release.aar", "lib_ass_media-release.aar")
|
||||
|
||||
val downloadLibass by tasks.registering {
|
||||
val stamp = File(assDir, ".version")
|
||||
outputs.upToDateWhen { stamp.exists() && stamp.readText().trim() == assVersion }
|
||||
doLast {
|
||||
assDir.mkdirs()
|
||||
val baseUrl = "https://github.com/edde746/libass-android/releases/download/$assVersion"
|
||||
assAars.forEach { name ->
|
||||
val dest = File(assDir, name)
|
||||
exec { commandLine("curl", "-sfL", "$baseUrl/$name", "-o", dest.absolutePath) }
|
||||
}
|
||||
stamp.writeText(assVersion)
|
||||
}
|
||||
}
|
||||
|
||||
val doviVersion = "2.3.1"
|
||||
val doviDir = layout.buildDirectory.dir("libdovi").get().asFile
|
||||
val doviAbis = mapOf(
|
||||
@@ -127,8 +160,16 @@ tasks.matching { it.name.contains("CMake") || it.name.contains("externalNative")
|
||||
dependsOn(downloadLibdovi)
|
||||
}
|
||||
|
||||
// Download libmpv and libass AARs before compilation
|
||||
tasks.matching { it.name.startsWith("pre") && it.name.endsWith("Build") }.configureEach {
|
||||
dependsOn(downloadLibmpv)
|
||||
dependsOn(downloadLibass)
|
||||
}
|
||||
|
||||
|
||||
dependencies {
|
||||
implementation("dev.jdtech.mpv:libmpv:0.5.1")
|
||||
implementation(files(File(mpvDir, mpvAar)))
|
||||
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.9.0")
|
||||
|
||||
// Android TV Watch Next integration
|
||||
implementation("androidx.tvprovider:tvprovider:1.0.0")
|
||||
@@ -138,11 +179,13 @@ dependencies {
|
||||
implementation("androidx.media3:media3-ui:1.9.2")
|
||||
implementation("androidx.media3:media3-common:1.9.2")
|
||||
|
||||
// Cronet for HTTP/2 multiplexing + better connection management
|
||||
implementation("androidx.media3:media3-datasource-cronet:1.9.2")
|
||||
implementation("org.chromium.net:cronet-embedded:143.7445.0")
|
||||
|
||||
// FFmpeg audio decoder for unsupported codecs (ALAC, DTS, TrueHD, etc.)
|
||||
implementation("org.jellyfin.media3:media3-ffmpeg-decoder:1.9.0+1")
|
||||
|
||||
// libass-android for ASS/SSA subtitle rendering
|
||||
implementation("io.github.peerless2012:ass-media:0.4.0")
|
||||
// ass-kt core library (needed for AssRender.setFontScale)
|
||||
implementation("io.github.peerless2012:ass-kt:0.4.0")
|
||||
assAars.forEach { implementation(files(File(assDir, it))) }
|
||||
}
|
||||
|
||||
@@ -1,20 +1,26 @@
|
||||
package com.edde746.plezy
|
||||
|
||||
import android.content.Intent
|
||||
import android.graphics.SurfaceTexture
|
||||
import android.net.Uri
|
||||
import android.os.Build
|
||||
import android.os.Bundle
|
||||
import android.os.Handler
|
||||
import android.os.Looper
|
||||
import android.app.AppOpsManager
|
||||
import android.app.PictureInPictureParams
|
||||
import android.content.Context
|
||||
import android.content.res.Configuration
|
||||
import android.util.Rational
|
||||
import android.view.KeyEvent
|
||||
import android.view.TextureView
|
||||
import android.view.ViewGroup
|
||||
import android.view.inputmethod.InputMethodManager
|
||||
import android.widget.FrameLayout
|
||||
import androidx.core.content.FileProvider
|
||||
import io.flutter.embedding.android.FlutterActivity
|
||||
import io.flutter.embedding.engine.FlutterShellArgs
|
||||
import io.flutter.embedding.android.FlutterTextureView
|
||||
import io.flutter.embedding.android.RenderMode
|
||||
import io.flutter.embedding.android.TransparencyMode
|
||||
import io.flutter.embedding.engine.FlutterEngine
|
||||
@@ -27,6 +33,10 @@ import java.io.File
|
||||
|
||||
class MainActivity : FlutterActivity() {
|
||||
|
||||
companion object {
|
||||
var usingSkia = false
|
||||
}
|
||||
|
||||
private val PIP_CHANNEL = "com.plezy/pip"
|
||||
private val EXTERNAL_PLAYER_CHANNEL = "com.plezy/external_player"
|
||||
private val THEME_CHANNEL = "com.plezy/theme"
|
||||
@@ -108,6 +118,28 @@ class MainActivity : FlutterActivity() {
|
||||
}
|
||||
}
|
||||
|
||||
override fun getFlutterShellArgs(): FlutterShellArgs {
|
||||
val args = super.getFlutterShellArgs()
|
||||
usingSkia = shouldDisableImpeller()
|
||||
if (usingSkia) args.add("--enable-impeller=false")
|
||||
return args
|
||||
}
|
||||
|
||||
private fun shouldDisableImpeller(): Boolean {
|
||||
// Android TV devices — weaker GPUs, less Impeller testing
|
||||
if (packageManager.hasSystemFeature("android.software.leanback")) return true
|
||||
// Google Tensor SoC (Mali GPU) — Pixel 6+
|
||||
// SOC_MODEL may return marketing name ("Tensor G2") or internal ID ("GS201")
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S) {
|
||||
val soc = Build.SOC_MODEL
|
||||
if (soc.startsWith("Tensor", ignoreCase = true) ||
|
||||
soc.startsWith("GS", ignoreCase = true)) return true
|
||||
}
|
||||
// NVIDIA Tegra (Shield TV)
|
||||
if (Build.MANUFACTURER.equals("NVIDIA", ignoreCase = true)) return true
|
||||
return false
|
||||
}
|
||||
|
||||
override fun getRenderMode(): RenderMode {
|
||||
// Use TextureView so Flutter doesn't occupy a SurfaceView layer.
|
||||
// This allows the libass subtitle SurfaceView to sit between video and Flutter UI.
|
||||
@@ -119,6 +151,40 @@ class MainActivity : FlutterActivity() {
|
||||
return TransparencyMode.transparent
|
||||
}
|
||||
|
||||
override fun onFlutterTextureViewCreated(flutterTextureView: FlutterTextureView) {
|
||||
val original = flutterTextureView.surfaceTextureListener ?: return
|
||||
val handler = Handler(Looper.getMainLooper())
|
||||
var pendingResize: Runnable? = null
|
||||
var lastWidth = 0
|
||||
var lastHeight = 0
|
||||
|
||||
flutterTextureView.surfaceTextureListener = object : TextureView.SurfaceTextureListener {
|
||||
override fun onSurfaceTextureAvailable(surface: SurfaceTexture, w: Int, h: Int) {
|
||||
original.onSurfaceTextureAvailable(surface, w, h)
|
||||
}
|
||||
override fun onSurfaceTextureSizeChanged(surface: SurfaceTexture, w: Int, h: Int) {
|
||||
if (w == lastWidth && h == lastHeight) return
|
||||
lastWidth = w; lastHeight = h
|
||||
pendingResize?.let { handler.removeCallbacks(it) }
|
||||
pendingResize = Runnable {
|
||||
if (flutterTextureView.isAvailable) {
|
||||
original.onSurfaceTextureSizeChanged(surface, w, h)
|
||||
}
|
||||
}
|
||||
handler.postDelayed(pendingResize!!, 100)
|
||||
}
|
||||
override fun onSurfaceTextureUpdated(surface: SurfaceTexture) {
|
||||
original.onSurfaceTextureUpdated(surface)
|
||||
}
|
||||
override fun onSurfaceTextureDestroyed(surface: SurfaceTexture): Boolean {
|
||||
pendingResize?.let { handler.removeCallbacks(it) }
|
||||
pendingResize = null
|
||||
lastWidth = 0; lastHeight = 0
|
||||
return original.onSurfaceTextureDestroyed(surface)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
override fun configureFlutterEngine(flutterEngine: FlutterEngine) {
|
||||
super.configureFlutterEngine(flutterEngine)
|
||||
flutterEngine.plugins.add(MpvPlayerPlugin())
|
||||
@@ -177,6 +243,7 @@ class MainActivity : FlutterActivity() {
|
||||
// Splash screen theme: persist user's chosen theme for next launch (API 31+)
|
||||
MethodChannel(flutterEngine.dartExecutor.binaryMessenger, THEME_CHANNEL).setMethodCallHandler { call, result ->
|
||||
when (call.method) {
|
||||
"getRenderer" -> result.success(if (usingSkia) "Skia" else "Impeller")
|
||||
"setSplashTheme" -> {
|
||||
val mode = call.argument<String>("mode")
|
||||
|
||||
@@ -265,11 +332,11 @@ class MainActivity : FlutterActivity() {
|
||||
|
||||
override fun onPictureInPictureModeChanged(isInPictureInPictureMode: Boolean,newConfig: Configuration) {
|
||||
super.onPictureInPictureModeChanged(isInPictureInPictureMode, newConfig)
|
||||
MethodChannel( flutterEngine!!.dartExecutor.binaryMessenger, PIP_CHANNEL ).invokeMethod( "onPipChanged" , isInPictureInPictureMode)
|
||||
|
||||
// Notify ExoPlayer plugin to resize video surface for PiP
|
||||
flutterEngine?.plugins?.get(ExoPlayerPlugin::class.java)?.let { plugin ->
|
||||
(plugin as? ExoPlayerPlugin)?.onPipModeChanged(isInPictureInPictureMode)
|
||||
flutterEngine?.let { engine ->
|
||||
MethodChannel(engine.dartExecutor.binaryMessenger, PIP_CHANNEL).invokeMethod("onPipChanged", isInPictureInPictureMode)
|
||||
engine.plugins.get(ExoPlayerPlugin::class.java)?.let { plugin ->
|
||||
(plugin as? ExoPlayerPlugin)?.onPipModeChanged(isInPictureInPictureMode)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+167
@@ -0,0 +1,167 @@
|
||||
package com.edde746.plezy.exoplayer
|
||||
|
||||
import android.util.Log
|
||||
import androidx.media3.common.C
|
||||
import androidx.media3.extractor.Extractor
|
||||
import androidx.media3.extractor.ExtractorInput
|
||||
import androidx.media3.extractor.ExtractorOutput
|
||||
import androidx.media3.extractor.PositionHolder
|
||||
import androidx.media3.extractor.SeekMap
|
||||
import androidx.media3.extractor.SeekPoint
|
||||
import androidx.media3.extractor.TrackOutput
|
||||
|
||||
/**
|
||||
* Extractor wrapper that enables approximate seeking for MKV files without Cues.
|
||||
*
|
||||
* When the underlying extractor reports an [SeekMap.Unseekable] seek map (i.e. the MKV
|
||||
* has no Cues element), this wrapper replaces it with a proportional byte-position
|
||||
* estimate and scans for the nearest Cluster boundary after seeking.
|
||||
*/
|
||||
@androidx.media3.common.util.UnstableApi
|
||||
class CuelessSeekExtractorWrapper(
|
||||
private val delegate: Extractor,
|
||||
) : Extractor {
|
||||
|
||||
companion object {
|
||||
private const val TAG = "CuelessSeek"
|
||||
// MKV Cluster element ID: 0x1F43B675 (4-byte EBML Class-D ID)
|
||||
private val CLUSTER_ID = byteArrayOf(0x1F, 0x43, 0xB6.toByte(), 0x75)
|
||||
private const val SCAN_BUFFER_SIZE = 8192
|
||||
// Max bytes to scan for a Cluster boundary before giving up
|
||||
private const val MAX_SCAN_BYTES = 1024 * 1024 // 1 MB
|
||||
}
|
||||
|
||||
private var inputLength: Long = C.LENGTH_UNSET.toLong()
|
||||
private var needsClusterResync = false
|
||||
private var isApproximateSeeking = false
|
||||
private var pendingSeekTimeUs: Long = C.TIME_UNSET
|
||||
|
||||
override fun sniff(input: ExtractorInput): Boolean = delegate.sniff(input)
|
||||
|
||||
override fun init(output: ExtractorOutput) {
|
||||
delegate.init(SeekInterceptingOutput(output))
|
||||
}
|
||||
|
||||
override fun read(input: ExtractorInput, seekPosition: PositionHolder): Int {
|
||||
if (inputLength == C.LENGTH_UNSET.toLong()) {
|
||||
inputLength = input.length
|
||||
}
|
||||
if (needsClusterResync) {
|
||||
needsClusterResync = false
|
||||
return scanForCluster(input, seekPosition)
|
||||
}
|
||||
return delegate.read(input, seekPosition)
|
||||
}
|
||||
|
||||
override fun seek(position: Long, timeUs: Long) {
|
||||
if (isApproximateSeeking && position > 0) {
|
||||
needsClusterResync = true
|
||||
pendingSeekTimeUs = timeUs
|
||||
}
|
||||
delegate.seek(position, timeUs)
|
||||
}
|
||||
|
||||
override fun release() = delegate.release()
|
||||
|
||||
/**
|
||||
* Scan forward from the current input position to find the next MKV Cluster
|
||||
* element ID (0x1F43B675). Returns [Extractor.RESULT_SEEK] with the Cluster's
|
||||
* byte position so ExoPlayer repositions the DataSource there.
|
||||
*/
|
||||
private fun scanForCluster(input: ExtractorInput, seekPosition: PositionHolder): Int {
|
||||
val buffer = ByteArray(SCAN_BUFFER_SIZE)
|
||||
var totalScanned = 0L
|
||||
// Carry over last 3 bytes across buffer boundaries to detect split IDs
|
||||
var carry = ByteArray(0)
|
||||
|
||||
while (totalScanned < MAX_SCAN_BYTES) {
|
||||
val toRead = minOf(SCAN_BUFFER_SIZE, (MAX_SCAN_BYTES - totalScanned).toInt())
|
||||
val bytesRead: Int
|
||||
try {
|
||||
bytesRead = input.read(buffer, 0, toRead)
|
||||
} catch (_: Exception) {
|
||||
break
|
||||
}
|
||||
if (bytesRead == C.RESULT_END_OF_INPUT) break
|
||||
|
||||
// Combine carry + new data for scanning
|
||||
val scanData = if (carry.isNotEmpty()) carry + buffer.copyOf(bytesRead) else buffer.copyOf(bytesRead)
|
||||
|
||||
for (i in 0..scanData.size - 4) {
|
||||
if (scanData[i] == CLUSTER_ID[0] &&
|
||||
scanData[i + 1] == CLUSTER_ID[1] &&
|
||||
scanData[i + 2] == CLUSTER_ID[2] &&
|
||||
scanData[i + 3] == CLUSTER_ID[3]
|
||||
) {
|
||||
// Compute the absolute byte position of this Cluster
|
||||
val clusterPosition = input.position - bytesRead - carry.size + i
|
||||
Log.d(TAG, "Found Cluster at byte $clusterPosition (scanned ${totalScanned + i} bytes)")
|
||||
seekPosition.position = clusterPosition
|
||||
delegate.seek(clusterPosition, pendingSeekTimeUs)
|
||||
pendingSeekTimeUs = C.TIME_UNSET
|
||||
return Extractor.RESULT_SEEK
|
||||
}
|
||||
}
|
||||
|
||||
// Keep last 3 bytes as carry for next iteration
|
||||
carry = if (scanData.size >= 3) scanData.copyOfRange(scanData.size - 3, scanData.size) else scanData.copyOf()
|
||||
totalScanned += bytesRead
|
||||
}
|
||||
|
||||
// Failed to find a Cluster — fall back to position 0
|
||||
Log.w(TAG, "No Cluster found after scanning $totalScanned bytes, resetting to start")
|
||||
seekPosition.position = 0
|
||||
delegate.seek(0, 0)
|
||||
return Extractor.RESULT_SEEK
|
||||
}
|
||||
|
||||
/**
|
||||
* ExtractorOutput wrapper that intercepts [seekMap] calls to replace
|
||||
* [SeekMap.Unseekable] with an approximate proportional SeekMap.
|
||||
*/
|
||||
private inner class SeekInterceptingOutput(
|
||||
private val delegate: ExtractorOutput,
|
||||
) : ExtractorOutput {
|
||||
|
||||
override fun track(id: Int, type: Int): TrackOutput = delegate.track(id, type)
|
||||
override fun endTracks() = delegate.endTracks()
|
||||
|
||||
override fun seekMap(seekMap: SeekMap) {
|
||||
if (seekMap is SeekMap.Unseekable) {
|
||||
val durationUs = seekMap.durationUs
|
||||
if (durationUs != C.TIME_UNSET && durationUs > 0) {
|
||||
Log.i(TAG, "Replacing Unseekable with approximate SeekMap (duration=${durationUs / 1_000_000}s)")
|
||||
isApproximateSeeking = true
|
||||
delegate.seekMap(ApproximateSeekMap(durationUs))
|
||||
return
|
||||
}
|
||||
}
|
||||
// File has real Cues or unknown duration — pass through
|
||||
isApproximateSeeking = false
|
||||
delegate.seekMap(seekMap)
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Approximate SeekMap that estimates byte positions proportionally.
|
||||
* Used when the MKV has no Cues but has a known duration.
|
||||
*/
|
||||
private inner class ApproximateSeekMap(
|
||||
private val durationUs: Long,
|
||||
) : SeekMap {
|
||||
|
||||
override fun isSeekable(): Boolean = true
|
||||
|
||||
override fun getDurationUs(): Long = durationUs
|
||||
|
||||
override fun getSeekPoints(timeUs: Long): SeekMap.SeekPoints {
|
||||
val length = inputLength
|
||||
if (length == C.LENGTH_UNSET.toLong() || durationUs <= 0) {
|
||||
return SeekMap.SeekPoints(SeekPoint(0, 0))
|
||||
}
|
||||
val clampedTimeUs = timeUs.coerceIn(0, durationUs)
|
||||
val position = (clampedTimeUs.toDouble() / durationUs * length).toLong().coerceIn(0, length)
|
||||
return SeekMap.SeekPoints(SeekPoint(clampedTimeUs, position))
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -11,7 +11,7 @@ import androidx.media3.extractor.TrackOutput
|
||||
/**
|
||||
* ExtractorOutput wrapper that intercepts video track creation
|
||||
* to insert DoviConvertingTrackOutput for DV processing.
|
||||
* Shared by DoviExtractorWrapper (MP4) and DoviMatroskaExtractor (MKV).
|
||||
* Shared by DoviExtractorWrapper for both MP4 and MKV containers.
|
||||
*/
|
||||
class DoviExtractorOutputWrapper(
|
||||
private val delegate: ExtractorOutput,
|
||||
|
||||
@@ -1,149 +0,0 @@
|
||||
package com.edde746.plezy.exoplayer
|
||||
|
||||
import android.util.Log
|
||||
import androidx.media3.extractor.ExtractorInput
|
||||
import androidx.media3.extractor.ExtractorOutput
|
||||
import androidx.media3.extractor.mkv.MatroskaExtractor
|
||||
import androidx.media3.extractor.text.SubtitleParser
|
||||
import io.github.peerless2012.ass.media.AssHandler
|
||||
|
||||
/**
|
||||
* MatroskaExtractor subclass that adds:
|
||||
* 1. ASS subtitle support (font extraction from MKV attachments, video size reporting)
|
||||
* 2. Dolby Vision Profile 7 → 8.1 conversion (RPU capture from BlockAdditions)
|
||||
*
|
||||
* Replaces both AssMatroskaExtractor and adds DV handling on top.
|
||||
* Font extraction and video size reporting are replicated from AssMatroskaExtractor
|
||||
* since that class is final and cannot be extended.
|
||||
*/
|
||||
class DoviMatroskaExtractor(
|
||||
subtitleParserFactory: SubtitleParser.Factory,
|
||||
private val assHandler: AssHandler,
|
||||
private val dvMode: DvConversionMode = DvConversionMode.HEVC_STRIP,
|
||||
) : MatroskaExtractor(subtitleParserFactory) {
|
||||
|
||||
companion object {
|
||||
private const val TAG = "DoviMkvExtractor"
|
||||
|
||||
// Matroska element IDs for attachments
|
||||
private const val ID_ATTACHMENTS = 0x1941A469
|
||||
private const val ID_ATTACHED_FILE = 0x61A7
|
||||
private const val ID_FILE_NAME = 0x466E
|
||||
private const val ID_FILE_MIME_TYPE = 0x4660
|
||||
private const val ID_FILE_DATA = 0x465C
|
||||
|
||||
// Track video element
|
||||
private const val ID_VIDEO = 0xE0
|
||||
|
||||
// EBML header - hook point for output wrapping
|
||||
private const val ID_EBML = 0x1A45DFA3
|
||||
|
||||
// MKV element type constants (matching MatroskaExtractor internals)
|
||||
private const val TYPE_MASTER = 1
|
||||
private const val TYPE_STRING = 3
|
||||
private const val TYPE_BINARY = 4
|
||||
|
||||
private val FONT_MIME_TYPES = setOf(
|
||||
"application/x-truetype-font",
|
||||
"application/x-font-truetype",
|
||||
"application/vnd.ms-opentype",
|
||||
"font/sfnt",
|
||||
"font/ttf",
|
||||
"font/otf",
|
||||
"font/collection",
|
||||
)
|
||||
|
||||
private val extractorOutputField by lazy {
|
||||
try {
|
||||
MatroskaExtractor::class.java.getDeclaredField("extractorOutput").apply {
|
||||
isAccessible = true
|
||||
}
|
||||
} catch (e: Exception) {
|
||||
Log.w(TAG, "Cannot access extractorOutput field: ${e.message}")
|
||||
null
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// ASS font attachment state
|
||||
private var currentAttachmentName: String? = null
|
||||
private var currentAttachmentMime: String? = null
|
||||
|
||||
// DV conversion state
|
||||
@Volatile var doviTrackOutput: DoviConvertingTrackOutput? = null
|
||||
internal set
|
||||
|
||||
// ===== Matroska element overrides =====
|
||||
|
||||
override fun getElementType(id: Int): Int = when (id) {
|
||||
ID_ATTACHMENTS, ID_ATTACHED_FILE -> TYPE_MASTER
|
||||
ID_FILE_NAME, ID_FILE_MIME_TYPE -> TYPE_STRING
|
||||
ID_FILE_DATA -> TYPE_BINARY
|
||||
else -> super.getElementType(id)
|
||||
}
|
||||
|
||||
override fun isLevel1Element(id: Int): Boolean =
|
||||
super.isLevel1Element(id) || id == ID_ATTACHMENTS
|
||||
|
||||
override fun startMasterElement(id: Int, contentPosition: Long, contentSize: Long) {
|
||||
when (id) {
|
||||
ID_EBML -> {
|
||||
wrapExtractorOutput()
|
||||
super.startMasterElement(id, contentPosition, contentSize)
|
||||
}
|
||||
ID_ATTACHED_FILE -> clearAttachment()
|
||||
else -> super.startMasterElement(id, contentPosition, contentSize)
|
||||
}
|
||||
}
|
||||
|
||||
override fun endMasterElement(id: Int) {
|
||||
when (id) {
|
||||
ID_VIDEO -> {
|
||||
val track = getCurrentTrack(id)
|
||||
assHandler.setVideoSize(track.width, track.height)
|
||||
super.endMasterElement(id)
|
||||
}
|
||||
ID_ATTACHED_FILE -> clearAttachment()
|
||||
else -> super.endMasterElement(id)
|
||||
}
|
||||
}
|
||||
|
||||
override fun stringElement(id: Int, value: String) {
|
||||
when (id) {
|
||||
ID_FILE_NAME -> currentAttachmentName = value
|
||||
ID_FILE_MIME_TYPE -> currentAttachmentMime = value
|
||||
else -> super.stringElement(id, value)
|
||||
}
|
||||
}
|
||||
|
||||
override fun binaryElement(id: Int, size: Int, input: ExtractorInput) {
|
||||
if (id == ID_FILE_DATA) {
|
||||
val mime = currentAttachmentMime
|
||||
val name = currentAttachmentName
|
||||
if (mime != null && name != null && mime in FONT_MIME_TYPES) {
|
||||
val data = ByteArray(size)
|
||||
input.readFully(data, 0, size)
|
||||
assHandler.addFont(name, data)
|
||||
} else {
|
||||
input.skipFully(size)
|
||||
}
|
||||
clearAttachment()
|
||||
} else {
|
||||
super.binaryElement(id, size, input)
|
||||
}
|
||||
}
|
||||
|
||||
// ===== ExtractorOutput wrapping =====
|
||||
|
||||
private fun wrapExtractorOutput() {
|
||||
val field = extractorOutputField ?: return
|
||||
val output = field.get(this) as? ExtractorOutput ?: return
|
||||
if (output is DoviExtractorOutputWrapper) return
|
||||
field.set(this, DoviExtractorOutputWrapper(output, dvMode) { doviTrackOutput = it })
|
||||
}
|
||||
|
||||
private fun clearAttachment() {
|
||||
currentAttachmentName = null
|
||||
currentAttachmentMime = null
|
||||
}
|
||||
}
|
||||
@@ -9,7 +9,6 @@ import android.net.Uri
|
||||
import android.os.Build
|
||||
import android.os.Handler
|
||||
import android.os.Looper
|
||||
import android.os.SystemClock
|
||||
import android.util.Log
|
||||
import android.view.Gravity
|
||||
import android.view.SurfaceView
|
||||
@@ -31,7 +30,12 @@ import androidx.media3.common.Tracks
|
||||
import androidx.media3.common.VideoSize
|
||||
import androidx.media3.common.util.UnstableApi
|
||||
import androidx.media3.exoplayer.analytics.AnalyticsListener
|
||||
import androidx.media3.datasource.DataSpec
|
||||
import androidx.media3.datasource.DefaultDataSource
|
||||
import androidx.media3.datasource.HttpDataSource
|
||||
import androidx.media3.datasource.cronet.CronetDataSource
|
||||
import org.chromium.net.CronetEngine
|
||||
import java.util.concurrent.Executors
|
||||
import androidx.media3.exoplayer.DefaultLoadControl
|
||||
import androidx.media3.exoplayer.DefaultRenderersFactory
|
||||
import androidx.media3.exoplayer.mediacodec.MediaCodecSelector
|
||||
@@ -49,7 +53,7 @@ import com.edde746.plezy.shared.AudioFocusManager
|
||||
import com.edde746.plezy.shared.FlutterOverlayHelper
|
||||
import com.edde746.plezy.shared.FrameRateManager
|
||||
import io.github.peerless2012.ass.media.AssHandler
|
||||
import io.github.peerless2012.ass.media.extractor.AssMatroskaExtractor
|
||||
|
||||
import io.github.peerless2012.ass.media.factory.AssRenderersFactory
|
||||
import io.github.peerless2012.ass.media.parser.AssSubtitleParserFactory
|
||||
import io.github.peerless2012.ass.media.type.AssRenderType
|
||||
@@ -73,28 +77,31 @@ interface ExoPlayerDelegate : com.edde746.plezy.shared.PlayerDelegate {
|
||||
@OptIn(UnstableApi::class)
|
||||
class ExoPlayerCore(private val activity: Activity) : Player.Listener {
|
||||
|
||||
private data class SubtitleStyleState(
|
||||
val fontSize: Float,
|
||||
val textColor: String,
|
||||
val borderSize: Float,
|
||||
val borderColor: String,
|
||||
val bgColor: String,
|
||||
val bgOpacity: Int,
|
||||
val subtitlePosition: Int,
|
||||
)
|
||||
|
||||
companion object {
|
||||
private const val TAG = "ExoPlayerCore"
|
||||
|
||||
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 FPS_SAMPLE_COUNT = 8
|
||||
|
||||
// Codec capability caches — codec support doesn't change at runtime
|
||||
private val hwAudioDecoderCache = HashMap<String, Boolean>()
|
||||
private val tunneledPlaybackCache = HashMap<String, Boolean>()
|
||||
|
||||
private var assGlCrashHandlerInstalled = false
|
||||
|
||||
private var cronetEngine: CronetEngine? = null
|
||||
private fun getCronetEngine(context: Context): CronetEngine {
|
||||
return cronetEngine ?: synchronized(this) {
|
||||
cronetEngine ?: CronetEngine.Builder(context.applicationContext)
|
||||
.enableHttp2(true)
|
||||
.enableQuic(true)
|
||||
.build()
|
||||
.also { cronetEngine = it }
|
||||
}
|
||||
}
|
||||
private val cronetExecutor by lazy { Executors.newSingleThreadExecutor() }
|
||||
}
|
||||
|
||||
private var surfaceView: SurfaceView? = null
|
||||
@@ -104,6 +111,8 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
|
||||
private var overlayLayoutListener: ViewTreeObserver.OnGlobalLayoutListener? = null
|
||||
private var lastVideoSize: VideoSize? = null
|
||||
private var exoPlayer: ExoPlayer? = null
|
||||
private var httpDataSourceFactory: HttpDataSource.Factory? = null
|
||||
private var dataSourceFactory: DefaultDataSource.Factory? = null
|
||||
private var trackSelector: DefaultTrackSelector? = null
|
||||
private var tunnelingUserEnabled: Boolean = true
|
||||
private var tunnelingDisabledForAudioCodec: Boolean = false
|
||||
@@ -111,12 +120,7 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
|
||||
private val tunnelingDisabledForCodec: Boolean
|
||||
get() = tunnelingDisabledForAudioCodec || tunnelingDisabledForVideoCodec
|
||||
private var currentTunneledPlayback: Boolean = false
|
||||
private var tunnelingCorrectionInProgress: Boolean = false
|
||||
private var pendingRestoredAudioTrackId: String? = null
|
||||
private var pendingRestoredSubtitleTrackId: String? = null
|
||||
private var lastSeekable: Boolean? = null
|
||||
private var lastTunnelingCorrectionTarget: Boolean? = null
|
||||
private var lastTunnelingCorrectionAtMs: Long = 0L
|
||||
@Volatile private var disposing: Boolean = false
|
||||
private var pendingStartPositionMs: Long = 0L
|
||||
|
||||
@@ -137,26 +141,33 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
|
||||
private var frameRateManager: FrameRateManager? = null
|
||||
private val handler = Handler(Looper.getMainLooper())
|
||||
|
||||
// FPS detection from frame timestamps (fallback when Format.frameRate is NO_VALUE)
|
||||
@Volatile private var detectedFrameRate: Float = -1f
|
||||
private val fpsTimestamps = LongArray(FPS_SAMPLE_COUNT)
|
||||
@Volatile private var fpsTimestampCount = 0
|
||||
|
||||
// Audio focus
|
||||
private var audioFocusManager: AudioFocusManager? = null
|
||||
|
||||
// Track state for event emission
|
||||
private var lastPosition: Long = 0
|
||||
/** Position to use for fallback: max of current position and pending start position. */
|
||||
private val effectivePosition: Long get() = maxOf(lastPosition, pendingStartPositionMs)
|
||||
private var lastDuration: Long = 0
|
||||
private var lastBufferedPosition: Long = 0
|
||||
private var positionUpdateRunnable: Runnable? = null
|
||||
|
||||
// External subtitles added dynamically
|
||||
private val externalSubtitles = mutableListOf<MediaItem.SubtitleConfiguration>()
|
||||
private val externalSubtitleUris = mutableListOf<String>()
|
||||
private var currentMediaUri: String? = null
|
||||
private var currentHeaders: Map<String, String>? = null
|
||||
private var currentMediaIsLive: Boolean = false
|
||||
private var currentVisible: Boolean = false
|
||||
private var selectedAudioTrackId: String? = null
|
||||
private var selectedSubtitleTrackId: String? = null
|
||||
private var selectedExternalSubtitleIndex: Int? = null
|
||||
private var subtitleStyleState: SubtitleStyleState? = null
|
||||
private var reapplySubtitleStyleOnNextReady: Boolean = false
|
||||
private val audioTrackGroupMap = mutableMapOf<String, TrackGroup>()
|
||||
private val subtitleTrackGroupMap = mutableMapOf<String, TrackGroup>()
|
||||
|
||||
private fun emitLog(level: String, prefix: String, message: String) {
|
||||
when (level) {
|
||||
@@ -222,7 +233,7 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
|
||||
// DV conversion state
|
||||
private var dvMode: DvConversionMode = DvConversionMode.DISABLED
|
||||
private var dv7RetryAttempted = false
|
||||
@Volatile private var activeDoviMkvExtractor: DoviMatroskaExtractor? = null
|
||||
@Volatile private var activeDoviMkvWrapper: DoviExtractorWrapper? = null
|
||||
@Volatile private var activeDoviMp4Wrapper: DoviExtractorWrapper? = null
|
||||
|
||||
fun initialize(bufferSizeBytes: Int? = null, tunnelingEnabled: Boolean = true): Boolean {
|
||||
@@ -250,8 +261,8 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
|
||||
activity = activity,
|
||||
handler = handler,
|
||||
onDisplayChanged = {
|
||||
if (exoPlayer?.isPlaying == false && audioFocusManager?.wasPlayingBeforeFocusLoss == true) {
|
||||
Log.d(TAG, "Display changed, resuming playback")
|
||||
if (exoPlayer?.isPlaying == false) {
|
||||
Log.d(TAG, "Display changed after frame rate switch, resuming playback")
|
||||
exoPlayer?.play()
|
||||
}
|
||||
},
|
||||
@@ -323,7 +334,7 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
|
||||
trackSelector = DefaultTrackSelector(activity).apply {
|
||||
setParameters(
|
||||
buildUponParameters()
|
||||
.setTunnelingEnabled(false)
|
||||
.setTunnelingEnabled(tunnelingUserEnabled)
|
||||
.setTrackTypeDisabled(C.TRACK_TYPE_TEXT, false)
|
||||
.setPreferredTextLanguage("en")
|
||||
)
|
||||
@@ -352,8 +363,11 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
|
||||
}
|
||||
}
|
||||
|
||||
// Create factories for buildWithAssSupport (like AndroidTV-FireTV)
|
||||
val dataSourceFactory = DefaultDataSource.Factory(activity)
|
||||
// Cronet DataSource for HTTP/2 multiplexing — all range requests share one connection
|
||||
httpDataSourceFactory = CronetDataSource.Factory(getCronetEngine(activity), cronetExecutor)
|
||||
.setConnectionTimeoutMs(15_000)
|
||||
.setReadTimeoutMs(10_000)
|
||||
dataSourceFactory = DefaultDataSource.Factory(activity, httpDataSourceFactory!!)
|
||||
val extractorsFactory = DefaultExtractorsFactory()
|
||||
|
||||
// Inline buildWithAssSupport to retain AssHandler reference for font scale control.
|
||||
@@ -377,13 +391,16 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
|
||||
extractorsFactory.createExtractors().map { extractor ->
|
||||
when {
|
||||
extractor is MatroskaExtractor -> {
|
||||
if (doviEnabled) {
|
||||
DoviMatroskaExtractor(assParserFactory, handler, currentDvMode).also {
|
||||
activeDoviMkvExtractor = it
|
||||
val assExtractor = ZlibMatroskaExtractor(assParserFactory, handler)
|
||||
val inner = if (doviEnabled) {
|
||||
DoviExtractorWrapper(assExtractor, currentDvMode).also {
|
||||
activeDoviMkvWrapper = it
|
||||
}
|
||||
} else {
|
||||
AssMatroskaExtractor(assParserFactory, handler)
|
||||
assExtractor
|
||||
}
|
||||
// Wrap with approximate seeking for MKV files without Cues
|
||||
CuelessSeekExtractorWrapper(inner)
|
||||
}
|
||||
doviEnabled && (extractor is Mp4Extractor || extractor is FragmentedMp4Extractor) -> {
|
||||
DoviExtractorWrapper(extractor, currentDvMode).also {
|
||||
@@ -395,7 +412,7 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
|
||||
}.toTypedArray()
|
||||
}
|
||||
|
||||
val mediaSourceFactory = DefaultMediaSourceFactory(dataSourceFactory, wrappedExtractorsFactory)
|
||||
val mediaSourceFactory = DefaultMediaSourceFactory(dataSourceFactory!!, wrappedExtractorsFactory)
|
||||
.setSubtitleParserFactory(assParserFactory)
|
||||
|
||||
val wrappedRenderersFactory = AssRenderersFactory(handler, renderersFactory)
|
||||
@@ -409,12 +426,13 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
|
||||
val targetBufferBytes = if (bufferSizeBytes != null && bufferSizeBytes > 0) {
|
||||
bufferSizeBytes
|
||||
} else {
|
||||
// Scale buffer to available memory to reduce hardware decoder pressure
|
||||
// Scale buffer to available memory to reduce hardware decoder pressure.
|
||||
// Larger buffers reduce oscillation frequency at high bitrates (50-100Mbps).
|
||||
when {
|
||||
availableMB <= 512 -> 30 * 1024 * 1024
|
||||
availableMB <= 1024 -> 50 * 1024 * 1024
|
||||
availableMB <= 2048 -> 60 * 1024 * 1024
|
||||
else -> 130 * 1024 * 1024
|
||||
availableMB <= 1024 -> 80 * 1024 * 1024
|
||||
availableMB <= 2048 -> 120 * 1024 * 1024
|
||||
else -> 200 * 1024 * 1024
|
||||
}
|
||||
}
|
||||
|
||||
@@ -422,12 +440,12 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
|
||||
setTargetBufferBytes(targetBufferBytes)
|
||||
setPrioritizeTimeOverSizeThresholds(false)
|
||||
if (availableMB <= 2048) {
|
||||
setBufferDurationsMs(15_000, 50_000, 2_500, 5_000)
|
||||
setBufferDurationsMs(15_000, 50_000, 1_000, 5_000)
|
||||
} else {
|
||||
setBufferDurationsMs(30_000, 60_000, 2_500, 5_000)
|
||||
setBufferDurationsMs(30_000, 60_000, 1_000, 5_000)
|
||||
}
|
||||
}.build()
|
||||
emitLog("info", "init", "Buffer: ${targetBufferBytes / 1024 / 1024}MB limit, available=${availableMB}MB, tunneling=${tunnelingUserEnabled}")
|
||||
emitLog("info", "init", "Buffer: ${targetBufferBytes / 1024 / 1024}MB limit, available=${availableMB}MB, tunneling=${tunnelingUserEnabled}, dataSource=Cronet")
|
||||
|
||||
exoPlayer = ExoPlayer.Builder(activity)
|
||||
.setTrackSelector(trackSelector!!)
|
||||
@@ -465,6 +483,17 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
|
||||
|
||||
exoPlayer!!.addListener(this)
|
||||
exoPlayer!!.addAnalyticsListener(decoderHangListener)
|
||||
exoPlayer!!.setVideoFrameMetadataListener { presentationTimeUs, _, _, _ ->
|
||||
val count = fpsTimestampCount
|
||||
if (count < FPS_SAMPLE_COUNT) {
|
||||
fpsTimestamps[count] = presentationTimeUs
|
||||
fpsTimestampCount = count + 1
|
||||
if (count + 1 == FPS_SAMPLE_COUNT) {
|
||||
detectedFrameRate = computeFrameRate(fpsTimestamps)
|
||||
Log.d(TAG, "Detected frame rate: $detectedFrameRate fps")
|
||||
}
|
||||
}
|
||||
}
|
||||
surfaceView?.let { exoPlayer!!.setVideoSurfaceView(it) }
|
||||
|
||||
Log.d(TAG, "SubtitleView childCount after ASS setup: ${subtitleView?.childCount}")
|
||||
@@ -602,7 +631,6 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
|
||||
}
|
||||
delegate?.onPropertyChange("paused-for-cache", false)
|
||||
delegate?.onEvent("playback-restart", null)
|
||||
applyStoredSubtitleStyleIfNeeded()
|
||||
emitTrackList()
|
||||
|
||||
// Start frame watchdog to detect black screen (HDR tunneling issue)
|
||||
@@ -643,7 +671,7 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
|
||||
delegate?.onFormatUnsupported(
|
||||
uri = currentMediaUri!!,
|
||||
headers = currentHeaders,
|
||||
positionMs = lastPosition,
|
||||
positionMs = effectivePosition,
|
||||
errorMessage = "Video track present but no decoder available"
|
||||
)
|
||||
return
|
||||
@@ -651,17 +679,21 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
|
||||
|
||||
evaluateAudioCodecForTunneling()
|
||||
evaluateVideoCodecForTunneling()
|
||||
captureSelectedTrackIds(tracks)
|
||||
if (maybeRestoreTrackSelectionsAfterReopen()) {
|
||||
emitTrackList()
|
||||
return
|
||||
}
|
||||
updateTunnelingState("tracks changed")
|
||||
emitTrackList()
|
||||
}
|
||||
|
||||
override fun onPlayerError(error: PlaybackException) {
|
||||
emitLog("error", "player", "Error code=${error.errorCode}: ${error.message}, cause=${error.cause?.javaClass?.simpleName}")
|
||||
// Log full exception chain unminified — R8 mangles simpleName but not toString/message
|
||||
val causeChain = buildString {
|
||||
var t: Throwable? = error.cause
|
||||
while (t != null) {
|
||||
if (isNotEmpty()) append(" → ")
|
||||
append("${t.javaClass.name}: ${t.message}")
|
||||
t = t.cause
|
||||
}
|
||||
}
|
||||
emitLog("error", "player", "Error code=${error.errorCode}: ${error.message}, cause=${causeChain.ifEmpty { "none" }}")
|
||||
stopFrameWatchdog()
|
||||
cancelDecoderHangCheck()
|
||||
emitSeekable(false, force = true)
|
||||
@@ -674,7 +706,7 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
|
||||
val handled = delegate?.onFormatUnsupported(
|
||||
uri = currentMediaUri!!,
|
||||
headers = currentHeaders,
|
||||
positionMs = lastPosition,
|
||||
positionMs = effectivePosition,
|
||||
errorMessage = error.message ?: "Unknown error"
|
||||
) ?: false
|
||||
|
||||
@@ -769,6 +801,8 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
|
||||
val tracks = player.currentTracks
|
||||
|
||||
val trackList = mutableListOf<Map<String, Any?>>()
|
||||
audioTrackGroupMap.clear()
|
||||
subtitleTrackGroupMap.clear()
|
||||
|
||||
// Group tracks by type and use group index as track ID (matching select functions)
|
||||
val audioGroups = tracks.groups.filter { it.type == C.TRACK_TYPE_AUDIO }
|
||||
@@ -784,6 +818,7 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
|
||||
// Use first format in group as the representative track
|
||||
val format = trackGroup.getFormat(0)
|
||||
val trackId = "${C.TRACK_TYPE_AUDIO}_$groupIndex"
|
||||
audioTrackGroupMap[trackId] = trackGroup
|
||||
val isSelected = group.isSelected
|
||||
|
||||
val track = mutableMapOf<String, Any?>(
|
||||
@@ -804,15 +839,21 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
|
||||
}
|
||||
}
|
||||
|
||||
// Process subtitle tracks
|
||||
// Process subtitle tracks (embedded + side-loaded external)
|
||||
Log.d(TAG, "emitTrackList: found ${textGroups.size} subtitle track groups")
|
||||
textGroups.forEachIndexed { groupIndex, group ->
|
||||
val trackGroup = group.mediaTrackGroup
|
||||
val format = trackGroup.getFormat(0)
|
||||
val trackId = "${C.TRACK_TYPE_TEXT}_$groupIndex"
|
||||
subtitleTrackGroupMap[trackId] = trackGroup
|
||||
val isSelected = group.isSelected
|
||||
|
||||
Log.d(TAG, "Subtitle track $groupIndex: codec=${format.codecs}, lang=${format.language}, selected=$isSelected")
|
||||
// Detect external (side-loaded) subtitle by the ID prefix set in open()
|
||||
val isExternal = format.id?.startsWith("external_") == true
|
||||
val externalIndex = if (isExternal) format.id?.removePrefix("external_")?.toIntOrNull() else null
|
||||
val externalUri = externalIndex?.takeIf { it in externalSubtitleUris.indices }?.let { externalSubtitleUris[it] }
|
||||
|
||||
Log.d(TAG, "Subtitle track $groupIndex: codec=${format.codecs}, lang=${format.language}, selected=$isSelected, external=$isExternal")
|
||||
|
||||
val track = mutableMapOf<String, Any?>(
|
||||
"type" to "sub",
|
||||
@@ -821,8 +862,10 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
|
||||
"lang" to format.language,
|
||||
"codec" to format.codecs,
|
||||
"default" to (format.selectionFlags and C.SELECTION_FLAG_DEFAULT != 0),
|
||||
"forced" to (format.selectionFlags and C.SELECTION_FLAG_FORCED != 0),
|
||||
"selected" to isSelected,
|
||||
"external" to false
|
||||
"external" to isExternal,
|
||||
"external-filename" to externalUri
|
||||
)
|
||||
trackList.add(track)
|
||||
|
||||
@@ -855,31 +898,12 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
|
||||
delegate?.onPropertyChange("aid", selectedAudioId)
|
||||
}
|
||||
|
||||
val effectiveSubtitleId = when {
|
||||
selectedExternalSubtitleIndex != null -> "ext_sub_$selectedExternalSubtitleIndex"
|
||||
selectedSubId != null -> selectedSubId
|
||||
textGroups.isNotEmpty() || externalSubtitles.isNotEmpty() -> "no"
|
||||
else -> null
|
||||
}
|
||||
if (effectiveSubtitleId != null) {
|
||||
selectedSubtitleTrackId = effectiveSubtitleId
|
||||
delegate?.onPropertyChange("sid", effectiveSubtitleId)
|
||||
}
|
||||
|
||||
// Add external subtitles to track list
|
||||
externalSubtitles.forEachIndexed { index, subtitle ->
|
||||
val extTrackId = "ext_sub_$index"
|
||||
trackList.add(mapOf(
|
||||
"type" to "sub",
|
||||
"id" to extTrackId,
|
||||
"title" to (subtitle.label ?: "External"),
|
||||
"lang" to subtitle.language,
|
||||
"codec" to subtitle.mimeType,
|
||||
"default" to false,
|
||||
"selected" to (selectedExternalSubtitleIndex == index),
|
||||
"external" to true,
|
||||
"external-filename" to subtitle.uri.toString()
|
||||
))
|
||||
if (selectedSubId != null) {
|
||||
selectedSubtitleTrackId = selectedSubId
|
||||
delegate?.onPropertyChange("sid", selectedSubId)
|
||||
} else if (textGroups.isNotEmpty()) {
|
||||
selectedSubtitleTrackId = "no"
|
||||
delegate?.onPropertyChange("sid", "no")
|
||||
}
|
||||
|
||||
delegate?.onPropertyChange("track-list", trackList)
|
||||
@@ -976,11 +1000,15 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
|
||||
}
|
||||
|
||||
private fun updateTunnelingState(reason: String) {
|
||||
val selector = trackSelector ?: return
|
||||
val player = exoPlayer ?: return
|
||||
val desiredTunneling = desiredTunnelingMode(player)
|
||||
if (desiredTunneling == currentTunneledPlayback) return
|
||||
emitLog("info", "tunneling", "Mode mismatch current=$currentTunneledPlayback desired=$desiredTunneling (reason=$reason, user=$tunnelingUserEnabled, speed=${player.playbackParameters.speed}, audioCodecDisabled=$tunnelingDisabledForAudioCodec, videoCodecDisabled=$tunnelingDisabledForVideoCodec)")
|
||||
requestTunnelingCorrectionReopen(desiredTunneling, reason)
|
||||
val shouldTunnel = tunnelingUserEnabled && (player.playbackParameters.speed == 1f) && !tunnelingDisabledForCodec
|
||||
if (shouldTunnel == currentTunneledPlayback) return
|
||||
currentTunneledPlayback = shouldTunnel
|
||||
emitLog("info", "tunneling", "Toggling tunneling=$shouldTunnel (reason=$reason, user=$tunnelingUserEnabled, speed=${player.playbackParameters.speed}, audioCodecDisabled=$tunnelingDisabledForAudioCodec, videoCodecDisabled=$tunnelingDisabledForVideoCodec)")
|
||||
selector.setParameters(
|
||||
selector.buildUponParameters().setTunnelingEnabled(shouldTunnel)
|
||||
)
|
||||
}
|
||||
|
||||
private fun evaluateAudioCodecForTunneling() {
|
||||
@@ -999,193 +1027,17 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
|
||||
}
|
||||
}
|
||||
|
||||
private fun desiredTunnelingMode(player: ExoPlayer): Boolean {
|
||||
if (!tunnelingUserEnabled) return false
|
||||
if (player.playbackParameters.speed != 1f) return false
|
||||
|
||||
val selectedVideoGroup = player.currentTracks.groups.firstOrNull {
|
||||
it.type == C.TRACK_TYPE_VIDEO && it.isSelected
|
||||
} ?: return false
|
||||
val selectedAudioGroup = player.currentTracks.groups.firstOrNull {
|
||||
it.type == C.TRACK_TYPE_AUDIO && it.isSelected
|
||||
} ?: return false
|
||||
|
||||
val videoMimeType = selectedVideoGroup.mediaTrackGroup.getFormat(0).sampleMimeType ?: return false
|
||||
val audioMimeType = selectedAudioGroup.mediaTrackGroup.getFormat(0).sampleMimeType ?: return false
|
||||
|
||||
return videoCodecSupportsTunneledPlayback(videoMimeType) && hasHardwareAudioDecoder(audioMimeType)
|
||||
}
|
||||
|
||||
private fun requestTunnelingCorrectionReopen(targetTunneledPlayback: Boolean, reason: String) {
|
||||
val uri = currentMediaUri ?: return
|
||||
val player = exoPlayer ?: return
|
||||
|
||||
if (tunnelingCorrectionInProgress) {
|
||||
emitLog("debug", "tunneling", "Skipping reopen to $targetTunneledPlayback while correction is already in progress")
|
||||
return
|
||||
}
|
||||
|
||||
val now = SystemClock.elapsedRealtime()
|
||||
if (lastTunnelingCorrectionTarget == targetTunneledPlayback &&
|
||||
now - lastTunnelingCorrectionAtMs < 3000L) {
|
||||
emitLog("warn", "tunneling", "Skipping reopen to $targetTunneledPlayback to avoid correction loop")
|
||||
return
|
||||
}
|
||||
|
||||
val shouldResume = player.playWhenReady
|
||||
tunnelingCorrectionInProgress = true
|
||||
pendingRestoredAudioTrackId = selectedAudioTrackId
|
||||
pendingRestoredSubtitleTrackId = selectedSubtitleTrackId
|
||||
lastTunnelingCorrectionTarget = targetTunneledPlayback
|
||||
lastTunnelingCorrectionAtMs = now
|
||||
currentTunneledPlayback = targetTunneledPlayback
|
||||
tunnelingDisabledForAudioCodec = false
|
||||
tunnelingDisabledForVideoCodec = false
|
||||
pendingStartPositionMs = player.currentPosition
|
||||
reapplySubtitleStyleOnNextReady = true
|
||||
applyTunnelingMode(targetTunneledPlayback)
|
||||
|
||||
emitLog(
|
||||
"info",
|
||||
"tunneling",
|
||||
"Reopening playback with tunneling=$targetTunneledPlayback (reason=$reason, position=${pendingStartPositionMs}ms, audio=$pendingRestoredAudioTrackId, subtitle=$pendingRestoredSubtitleTrackId)"
|
||||
)
|
||||
|
||||
if (currentMediaIsLive) {
|
||||
val reopenHeaders = currentHeaders
|
||||
val dataSourceFactory = if (!reopenHeaders.isNullOrEmpty()) {
|
||||
DefaultDataSource.Factory(activity,
|
||||
androidx.media3.datasource.DefaultHttpDataSource.Factory()
|
||||
.setDefaultRequestProperties(reopenHeaders))
|
||||
} else {
|
||||
DefaultDataSource.Factory(activity)
|
||||
}
|
||||
|
||||
val extractorsFactory = androidx.media3.extractor.ExtractorsFactory {
|
||||
arrayOf(MatroskaExtractor(MatroskaExtractor.FLAG_DISABLE_SEEK_FOR_CUES))
|
||||
}
|
||||
|
||||
val mediaSource = ProgressiveMediaSource.Factory(dataSourceFactory, extractorsFactory)
|
||||
.createMediaSource(MediaItem.fromUri(uri))
|
||||
|
||||
player.setMediaSource(mediaSource, pendingStartPositionMs)
|
||||
player.prepare()
|
||||
player.playWhenReady = shouldResume
|
||||
setVisible(currentVisible)
|
||||
return
|
||||
}
|
||||
|
||||
player.setMediaItem(buildMediaItem(uri), pendingStartPositionMs)
|
||||
player.prepare()
|
||||
player.playWhenReady = shouldResume
|
||||
setVisible(currentVisible)
|
||||
}
|
||||
|
||||
private fun captureSelectedTrackIds(tracks: Tracks) {
|
||||
val audioGroups = tracks.groups.filter { it.type == C.TRACK_TYPE_AUDIO }
|
||||
val textGroups = tracks.groups.filter { it.type == C.TRACK_TYPE_TEXT }
|
||||
val selectedAudioIndex = audioGroups.indexOfFirst { it.isSelected }
|
||||
val selectedSubtitleIndex = textGroups.indexOfFirst { it.isSelected }
|
||||
|
||||
selectedAudioTrackId = selectedAudioIndex.takeIf { it >= 0 }?.let { "${C.TRACK_TYPE_AUDIO}_$it" }
|
||||
selectedSubtitleTrackId = when {
|
||||
selectedExternalSubtitleIndex != null -> "ext_sub_$selectedExternalSubtitleIndex"
|
||||
selectedSubtitleIndex >= 0 -> "${C.TRACK_TYPE_TEXT}_$selectedSubtitleIndex"
|
||||
textGroups.isNotEmpty() || externalSubtitles.isNotEmpty() -> "no"
|
||||
else -> null
|
||||
}
|
||||
}
|
||||
|
||||
private fun maybeRestoreTrackSelectionsAfterReopen(): Boolean {
|
||||
if (!tunnelingCorrectionInProgress) return false
|
||||
|
||||
val audioToRestore = pendingRestoredAudioTrackId
|
||||
if (audioToRestore != null && audioToRestore != selectedAudioTrackId) {
|
||||
val audioIndex = audioToRestore.substringAfter('_', "").toIntOrNull()
|
||||
val player = exoPlayer
|
||||
if (player != null && audioIndex != null) {
|
||||
val audioGroups = player.currentTracks.groups.filter { it.type == C.TRACK_TYPE_AUDIO }
|
||||
if (audioIndex in audioGroups.indices) {
|
||||
emitLog("info", "tunneling", "Restoring audio track $audioToRestore after reopen")
|
||||
selectAudioTrack(audioToRestore)
|
||||
return true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
val subtitleToRestore = pendingRestoredSubtitleTrackId
|
||||
if (subtitleToRestore != null && subtitleToRestore != selectedSubtitleTrackId) {
|
||||
when {
|
||||
subtitleToRestore == "no" -> {
|
||||
emitLog("info", "tunneling", "Restoring subtitles off after reopen")
|
||||
selectSubtitleTrack("no")
|
||||
return true
|
||||
}
|
||||
subtitleToRestore.startsWith("ext_sub_") -> {
|
||||
val externalIndex = subtitleToRestore.removePrefix("ext_sub_").toIntOrNull()
|
||||
if (externalIndex != null && selectedExternalSubtitleIndex != externalIndex && externalIndex in externalSubtitles.indices) {
|
||||
emitLog("info", "tunneling", "Restoring external subtitle $subtitleToRestore after reopen")
|
||||
selectSubtitleTrack(subtitleToRestore)
|
||||
return true
|
||||
}
|
||||
}
|
||||
else -> {
|
||||
val subtitleIndex = subtitleToRestore.substringAfter('_', "").toIntOrNull()
|
||||
val player = exoPlayer
|
||||
if (player != null && subtitleIndex != null) {
|
||||
val textGroups = player.currentTracks.groups.filter { it.type == C.TRACK_TYPE_TEXT }
|
||||
if (subtitleIndex in textGroups.indices) {
|
||||
emitLog("info", "tunneling", "Restoring subtitle track $subtitleToRestore after reopen")
|
||||
selectSubtitleTrack(subtitleToRestore)
|
||||
return true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
pendingRestoredAudioTrackId = null
|
||||
pendingRestoredSubtitleTrackId = null
|
||||
tunnelingCorrectionInProgress = false
|
||||
emitLog("info", "tunneling", "Tunneling correction reopen completed")
|
||||
return false
|
||||
}
|
||||
|
||||
private fun applyTunnelingMode(enabled: Boolean) {
|
||||
val selector = trackSelector ?: return
|
||||
selector.parameters = selector.buildUponParameters()
|
||||
.setTunnelingEnabled(enabled)
|
||||
.build()
|
||||
}
|
||||
|
||||
private fun buildMediaItem(uri: String): MediaItem {
|
||||
val mediaItemBuilder = MediaItem.Builder()
|
||||
.setUri(uri)
|
||||
|
||||
selectedExternalSubtitleIndex?.takeIf { it in externalSubtitles.indices }?.let { subtitleIndex ->
|
||||
mediaItemBuilder.setSubtitleConfigurations(listOf(externalSubtitles[subtitleIndex]))
|
||||
if (externalSubtitles.isNotEmpty()) {
|
||||
mediaItemBuilder.setSubtitleConfigurations(externalSubtitles.toList())
|
||||
}
|
||||
|
||||
return mediaItemBuilder.build()
|
||||
}
|
||||
|
||||
private fun applyStoredSubtitleStyleIfNeeded() {
|
||||
if (!reapplySubtitleStyleOnNextReady) return
|
||||
reapplySubtitleStyleOnNextReady = false
|
||||
|
||||
subtitleStyleState?.let {
|
||||
setSubtitleStyle(
|
||||
fontSize = it.fontSize,
|
||||
textColor = it.textColor,
|
||||
borderSize = it.borderSize,
|
||||
borderColor = it.borderColor,
|
||||
bgColor = it.bgColor,
|
||||
bgOpacity = it.bgOpacity,
|
||||
subtitlePosition = it.subtitlePosition,
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
// 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
|
||||
@@ -1244,7 +1096,7 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
|
||||
delegate?.onFormatUnsupported(
|
||||
uri = uri,
|
||||
headers = currentHeaders,
|
||||
positionMs = lastPosition,
|
||||
positionMs = effectivePosition,
|
||||
errorMessage = "Decoder hang: $decoderName accepted input but produced no output"
|
||||
)
|
||||
}
|
||||
@@ -1326,12 +1178,17 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
|
||||
|
||||
// Public API
|
||||
|
||||
fun open(uri: String, headers: Map<String, String>?, startPositionMs: Long, autoPlay: Boolean, isLive: Boolean = false) {
|
||||
fun open(uri: String, headers: Map<String, String>?, startPositionMs: Long, autoPlay: Boolean, isLive: Boolean = false,
|
||||
externalSubtitleList: List<Map<String, String?>>? = null) {
|
||||
if (!isInitialized) return
|
||||
|
||||
stopFrameWatchdog()
|
||||
cancelDecoderHangCheck()
|
||||
|
||||
// Reset FPS detection for new content
|
||||
detectedFrameRate = -1f
|
||||
fpsTimestampCount = 0
|
||||
|
||||
// Reset DV7 retry flag when opening a different file
|
||||
if (uri != currentMediaUri) {
|
||||
dv7RetryAttempted = false
|
||||
@@ -1342,40 +1199,53 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
|
||||
currentMediaUri = uri
|
||||
currentHeaders = headers
|
||||
currentMediaIsLive = isLive
|
||||
|
||||
// Apply auth/custom headers to the HTTP DataSource for this session
|
||||
httpDataSourceFactory?.setDefaultRequestProperties(
|
||||
if (!headers.isNullOrEmpty()) headers else emptyMap()
|
||||
)
|
||||
|
||||
externalSubtitles.clear()
|
||||
selectedExternalSubtitleIndex = null
|
||||
externalSubtitleUris.clear()
|
||||
audioTrackGroupMap.clear()
|
||||
subtitleTrackGroupMap.clear()
|
||||
selectedAudioTrackId = null
|
||||
selectedSubtitleTrackId = null
|
||||
pendingRestoredAudioTrackId = null
|
||||
pendingRestoredSubtitleTrackId = null
|
||||
tunnelingCorrectionInProgress = false
|
||||
lastTunnelingCorrectionTarget = null
|
||||
lastTunnelingCorrectionAtMs = 0L
|
||||
reapplySubtitleStyleOnNextReady = false
|
||||
|
||||
// Build external subtitle configurations (attached to MediaItem before prepare)
|
||||
externalSubtitleList?.forEachIndexed { index, sub ->
|
||||
val subUri = sub["uri"] ?: return@forEachIndexed
|
||||
val config = MediaItem.SubtitleConfiguration.Builder(Uri.parse(subUri))
|
||||
.setId("external_$index")
|
||||
.setLabel(sub["title"] ?: "External")
|
||||
.setLanguage(sub["language"])
|
||||
.setMimeType(sub["mimeType"] ?: detectSubtitleMimeType(subUri))
|
||||
.build()
|
||||
externalSubtitles.add(config)
|
||||
externalSubtitleUris.add(subUri)
|
||||
}
|
||||
tunnelingDisabledForAudioCodec = false
|
||||
tunnelingDisabledForVideoCodec = false
|
||||
currentTunneledPlayback = false
|
||||
currentTunneledPlayback = tunnelingUserEnabled
|
||||
pendingStartPositionMs = startPositionMs
|
||||
applyTunnelingMode(false)
|
||||
trackSelector?.setParameters(
|
||||
trackSelector!!.buildUponParameters()
|
||||
.setTunnelingEnabled(tunnelingUserEnabled)
|
||||
.clearOverridesOfType(C.TRACK_TYPE_AUDIO)
|
||||
.clearOverridesOfType(C.TRACK_TYPE_TEXT)
|
||||
)
|
||||
emitSeekable(false, force = true)
|
||||
|
||||
if (isLive) {
|
||||
// Live MKV streams lack Cues (seek index). FLAG_DISABLE_SEEK_FOR_CUES tells
|
||||
// MatroskaExtractor to not seek for them, treating the stream as unseekable
|
||||
// so data flows immediately without hanging.
|
||||
val dataSourceFactory = if (!headers.isNullOrEmpty()) {
|
||||
DefaultDataSource.Factory(activity,
|
||||
androidx.media3.datasource.DefaultHttpDataSource.Factory()
|
||||
.setDefaultRequestProperties(headers))
|
||||
} else {
|
||||
DefaultDataSource.Factory(activity)
|
||||
}
|
||||
|
||||
// Headers already applied to httpDataSourceFactory above.
|
||||
val extractorsFactory = androidx.media3.extractor.ExtractorsFactory {
|
||||
arrayOf(MatroskaExtractor(MatroskaExtractor.FLAG_DISABLE_SEEK_FOR_CUES))
|
||||
}
|
||||
|
||||
val mediaSource = ProgressiveMediaSource.Factory(dataSourceFactory, extractorsFactory)
|
||||
val mediaSource = ProgressiveMediaSource.Factory(dataSourceFactory!!, extractorsFactory)
|
||||
.createMediaSource(MediaItem.fromUri(uri))
|
||||
|
||||
exoPlayer?.apply {
|
||||
@@ -1432,35 +1302,22 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
|
||||
}
|
||||
|
||||
fun selectAudioTrack(trackId: String) {
|
||||
val player = exoPlayer ?: return
|
||||
val selector = trackSelector ?: return
|
||||
val trackGroup = audioTrackGroupMap[trackId] ?: return
|
||||
|
||||
// Parse track ID (format: "type_index")
|
||||
val parts = trackId.split("_")
|
||||
if (parts.size < 2) return
|
||||
selector.parameters = selector.buildUponParameters()
|
||||
.setOverrideForType(TrackSelectionOverride(trackGroup, 0))
|
||||
.setTrackTypeDisabled(C.TRACK_TYPE_AUDIO, false)
|
||||
.build()
|
||||
|
||||
val trackIndex = parts[1].toIntOrNull() ?: return
|
||||
|
||||
val audioGroups = player.currentTracks.groups.filter { it.type == C.TRACK_TYPE_AUDIO }
|
||||
if (trackIndex >= 0 && trackIndex < audioGroups.size) {
|
||||
val group = audioGroups[trackIndex]
|
||||
selector.parameters = selector.buildUponParameters()
|
||||
.setOverrideForType(TrackSelectionOverride(group.mediaTrackGroup, 0))
|
||||
.setTrackTypeDisabled(C.TRACK_TYPE_AUDIO, false)
|
||||
.build()
|
||||
|
||||
selectedAudioTrackId = trackId
|
||||
delegate?.onPropertyChange("aid", trackId)
|
||||
}
|
||||
selectedAudioTrackId = trackId
|
||||
delegate?.onPropertyChange("aid", trackId)
|
||||
}
|
||||
|
||||
fun selectSubtitleTrack(trackId: String?) {
|
||||
val player = exoPlayer ?: return
|
||||
val selector = trackSelector ?: return
|
||||
|
||||
if (trackId == null || trackId == "no") {
|
||||
// Disable subtitles
|
||||
selectedExternalSubtitleIndex = null
|
||||
selectedSubtitleTrackId = "no"
|
||||
selector.parameters = selector.buildUponParameters()
|
||||
.setTrackTypeDisabled(C.TRACK_TYPE_TEXT, true)
|
||||
@@ -1469,80 +1326,42 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
|
||||
return
|
||||
}
|
||||
|
||||
// Check if external subtitle
|
||||
if (trackId.startsWith("ext_sub_")) {
|
||||
val index = trackId.removePrefix("ext_sub_").toIntOrNull() ?: return
|
||||
if (index >= 0 && index < externalSubtitles.size) {
|
||||
// Reload media with selected external subtitle
|
||||
selectedExternalSubtitleIndex = index
|
||||
selectedSubtitleTrackId = trackId
|
||||
reloadWithExternalSubtitle(index)
|
||||
return
|
||||
}
|
||||
}
|
||||
|
||||
// Parse track ID for embedded subtitles
|
||||
val parts = trackId.split("_")
|
||||
if (parts.size < 2) return
|
||||
|
||||
val trackIndex = parts[1].toIntOrNull() ?: return
|
||||
|
||||
val textGroups = player.currentTracks.groups.filter { it.type == C.TRACK_TYPE_TEXT }
|
||||
if (trackIndex >= 0 && trackIndex < textGroups.size) {
|
||||
val group = textGroups[trackIndex]
|
||||
selectedExternalSubtitleIndex = null
|
||||
selectedSubtitleTrackId = trackId
|
||||
selector.parameters = selector.buildUponParameters()
|
||||
.setOverrideForType(TrackSelectionOverride(group.mediaTrackGroup, 0))
|
||||
.setTrackTypeDisabled(C.TRACK_TYPE_TEXT, false)
|
||||
.build()
|
||||
|
||||
delegate?.onPropertyChange("sid", trackId)
|
||||
}
|
||||
}
|
||||
|
||||
private fun reloadWithExternalSubtitle(subtitleIndex: Int) {
|
||||
val uri = currentMediaUri ?: return
|
||||
val player = exoPlayer ?: return
|
||||
|
||||
val currentPosition = player.currentPosition
|
||||
val shouldResume = player.playWhenReady
|
||||
selectedExternalSubtitleIndex = subtitleIndex
|
||||
selectedSubtitleTrackId = "ext_sub_$subtitleIndex"
|
||||
val mediaItem = buildMediaItem(uri)
|
||||
|
||||
player.setMediaItem(mediaItem, currentPosition)
|
||||
player.prepare()
|
||||
player.playWhenReady = shouldResume
|
||||
|
||||
delegate?.onPropertyChange("sid", "ext_sub_$subtitleIndex")
|
||||
val trackGroup = subtitleTrackGroupMap[trackId] ?: return
|
||||
selectedSubtitleTrackId = trackId
|
||||
selector.parameters = selector.buildUponParameters()
|
||||
.setOverrideForType(TrackSelectionOverride(trackGroup, 0))
|
||||
.setTrackTypeDisabled(C.TRACK_TYPE_TEXT, false)
|
||||
.build()
|
||||
delegate?.onPropertyChange("sid", trackId)
|
||||
}
|
||||
|
||||
fun addSubtitleTrack(uri: String, title: String?, language: String?, mimeType: String?, select: Boolean) {
|
||||
val index = externalSubtitles.size
|
||||
val subtitleConfig = MediaItem.SubtitleConfiguration.Builder(Uri.parse(uri))
|
||||
.setId("external_$index")
|
||||
.setLabel(title ?: "External")
|
||||
.setLanguage(language)
|
||||
.setMimeType(mimeType ?: detectSubtitleMimeType(uri))
|
||||
.setSelectionFlags(if (select) C.SELECTION_FLAG_DEFAULT else 0)
|
||||
.build()
|
||||
|
||||
externalSubtitles.add(subtitleConfig)
|
||||
externalSubtitleUris.add(uri)
|
||||
|
||||
// Emit updated track list
|
||||
// Note: ExoPlayer won't see these until the media is reloaded.
|
||||
// On Android, external subs are normally passed at open() time.
|
||||
// This path is only reached if the Flutter layer calls addSubtitleTrack
|
||||
// while ExoPlayer (not MPV fallback) is active.
|
||||
emitTrackList()
|
||||
|
||||
if (select) {
|
||||
selectSubtitleTrack("ext_sub_${externalSubtitles.size - 1}")
|
||||
}
|
||||
}
|
||||
|
||||
private fun detectSubtitleMimeType(uri: String): String {
|
||||
val lowerUri = uri.lowercase()
|
||||
// Strip query params before checking extension (Plex URLs have ?X-Plex-Token=...)
|
||||
val path = Uri.parse(uri).path?.lowercase() ?: uri.lowercase()
|
||||
return when {
|
||||
lowerUri.endsWith(".srt") -> MimeTypes.APPLICATION_SUBRIP
|
||||
lowerUri.endsWith(".ass") || lowerUri.endsWith(".ssa") -> MimeTypes.TEXT_SSA
|
||||
lowerUri.endsWith(".vtt") -> MimeTypes.TEXT_VTT
|
||||
lowerUri.endsWith(".ttml") -> MimeTypes.APPLICATION_TTML
|
||||
path.endsWith(".srt") -> MimeTypes.APPLICATION_SUBRIP
|
||||
path.endsWith(".ass") || path.endsWith(".ssa") -> MimeTypes.TEXT_SSA
|
||||
path.endsWith(".vtt") -> MimeTypes.TEXT_VTT
|
||||
path.endsWith(".ttml") -> MimeTypes.APPLICATION_TTML
|
||||
else -> MimeTypes.APPLICATION_SUBRIP
|
||||
}
|
||||
}
|
||||
@@ -1567,15 +1386,6 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
|
||||
bgOpacity: Int,
|
||||
subtitlePosition: Int = 100
|
||||
) {
|
||||
subtitleStyleState = SubtitleStyleState(
|
||||
fontSize = fontSize,
|
||||
textColor = textColor,
|
||||
borderSize = borderSize,
|
||||
borderColor = borderColor,
|
||||
bgColor = bgColor,
|
||||
bgOpacity = bgOpacity,
|
||||
subtitlePosition = subtitlePosition,
|
||||
)
|
||||
activity.runOnUiThread {
|
||||
// 1. Non-ASS subtitles: CaptionStyleCompat on SubtitleView
|
||||
val fgColor = Color.parseColor(textColor)
|
||||
@@ -1666,6 +1476,20 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
|
||||
frameRateManager?.clearVideoFrameRate()
|
||||
}
|
||||
|
||||
private fun computeFrameRate(timestamps: LongArray): Float {
|
||||
val deltas = (1 until FPS_SAMPLE_COUNT).map { timestamps[it] - timestamps[it - 1] }.filter { it > 0 }
|
||||
if (deltas.isEmpty()) return -1f
|
||||
val medianDelta = deltas.sorted()[deltas.size / 2]
|
||||
val rawFps = 1_000_000.0 / medianDelta
|
||||
return normalizeFrameRate(rawFps)
|
||||
}
|
||||
|
||||
private fun normalizeFrameRate(fps: Double): Float {
|
||||
val knownRates = doubleArrayOf(23.976, 24.0, 25.0, 29.97, 30.0, 48.0, 50.0, 59.94, 60.0)
|
||||
val nearest = knownRates.minByOrNull { kotlin.math.abs(it - fps) } ?: fps
|
||||
return if (kotlin.math.abs(nearest - fps) < 0.5) nearest.toFloat() else fps.toFloat()
|
||||
}
|
||||
|
||||
// Stats
|
||||
|
||||
fun getStats(): Map<String, Any?> {
|
||||
@@ -1682,7 +1506,7 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
|
||||
"videoMimeType" to videoFormat?.sampleMimeType,
|
||||
"videoWidth" to videoFormat?.width,
|
||||
"videoHeight" to videoFormat?.height,
|
||||
"videoFps" to videoFormat?.frameRate,
|
||||
"videoFps" to (videoFormat?.frameRate?.takeIf { it > 0 } ?: detectedFrameRate.takeIf { it > 0 }),
|
||||
"videoBitrate" to videoFormat?.bitrate,
|
||||
"videoDecoderName" to (decoderInitName ?: videoDecoderInfo),
|
||||
"videoDroppedFrames" to player.videoDecoderCounters?.droppedBufferCount,
|
||||
@@ -1711,7 +1535,7 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
|
||||
"isPlaying" to player.isPlaying,
|
||||
"playbackState" to player.playbackState,
|
||||
// DV conversion (query extractor's track output, which is set during extraction)
|
||||
*(activeDoviMkvExtractor?.doviTrackOutput
|
||||
*(activeDoviMkvWrapper?.doviTrackOutput
|
||||
?: activeDoviMp4Wrapper?.doviTrackOutput).let { dovi ->
|
||||
arrayOf(
|
||||
"dvConversionActive" to (dovi?.conversionActive == true),
|
||||
@@ -1758,11 +1582,18 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
|
||||
return "Off"
|
||||
}
|
||||
|
||||
fun triggerFallback() {
|
||||
val uri = currentMediaUri ?: return
|
||||
val pos = exoPlayer?.currentPosition ?: 0L
|
||||
delegate?.onFormatUnsupported(uri, currentHeaders, pos, "debug: manual fallback trigger")
|
||||
}
|
||||
|
||||
// Cleanup
|
||||
|
||||
fun dispose() {
|
||||
if (disposing) return
|
||||
disposing = true
|
||||
check(Looper.myLooper() == Looper.getMainLooper())
|
||||
Log.d(TAG, "Disposing")
|
||||
|
||||
stopFrameWatchdog()
|
||||
@@ -1779,48 +1610,55 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
|
||||
tunnelingDisabledForAudioCodec = false
|
||||
tunnelingDisabledForVideoCodec = false
|
||||
currentTunneledPlayback = false
|
||||
tunnelingCorrectionInProgress = false
|
||||
pendingRestoredAudioTrackId = null
|
||||
pendingRestoredSubtitleTrackId = null
|
||||
lastTunnelingCorrectionTarget = null
|
||||
lastTunnelingCorrectionAtMs = 0L
|
||||
pendingStartPositionMs = 0L
|
||||
currentMediaIsLive = false
|
||||
currentVisible = false
|
||||
emitSeekable(false, force = true)
|
||||
selectedAudioTrackId = null
|
||||
selectedSubtitleTrackId = null
|
||||
selectedExternalSubtitleIndex = null
|
||||
reapplySubtitleStyleOnNextReady = false
|
||||
audioTrackGroupMap.clear()
|
||||
subtitleTrackGroupMap.clear()
|
||||
exoPlayer?.clearVideoSurface()
|
||||
exoPlayer?.removeListener(this)
|
||||
exoPlayer?.release()
|
||||
exoPlayer = null
|
||||
trackSelector = null
|
||||
httpDataSourceFactory = null
|
||||
dataSourceFactory = null
|
||||
assHandler?.release()
|
||||
assHandler = null
|
||||
|
||||
// Capture locals for deferred cleanup
|
||||
val cb = surfaceCallback
|
||||
val sv = surfaceView
|
||||
val container = surfaceContainer
|
||||
val contentView = activity.findViewById<ViewGroup>(android.R.id.content)
|
||||
|
||||
// Synchronous ownership invalidation — stale code can no longer
|
||||
// reach surface state through instance fields.
|
||||
surfaceContainer = null
|
||||
surfaceView = null
|
||||
subtitleView = null
|
||||
|
||||
// Remove layout listener synchronously
|
||||
overlayLayoutListener?.let { listener ->
|
||||
val contentView = activity.findViewById<ViewGroup>(android.R.id.content)
|
||||
contentView.viewTreeObserver.removeOnGlobalLayoutListener(listener)
|
||||
}
|
||||
overlayLayoutListener = null
|
||||
|
||||
// Defer all view removal to avoid AOSP bug where
|
||||
// dispatchWindowVisibilityChanged iterates stale children array
|
||||
// when removeView() runs during an active performTraversals pass.
|
||||
val container = surfaceContainer
|
||||
val contentView = activity.findViewById<ViewGroup>(android.R.id.content)
|
||||
contentView.post {
|
||||
isInitialized = false
|
||||
|
||||
// Deferred view removal only — uses captured locals.
|
||||
// postAtFrontOfQueue as defense-in-depth: orders removal before
|
||||
// queued initialize messages.
|
||||
Handler(Looper.getMainLooper()).postAtFrontOfQueue {
|
||||
sv?.holder?.removeCallback(cb)
|
||||
container?.let { contentView.removeView(it) }
|
||||
surfaceContainer = null
|
||||
surfaceView = null
|
||||
subtitleView = null
|
||||
if (container?.parent != null) {
|
||||
contentView.removeView(container)
|
||||
}
|
||||
}
|
||||
|
||||
isInitialized = false
|
||||
Log.d(TAG, "Disposed")
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -2,8 +2,11 @@ package com.edde746.plezy.exoplayer
|
||||
|
||||
import android.app.Activity
|
||||
import android.app.ActivityManager
|
||||
import android.content.ContentResolver
|
||||
import android.content.Context
|
||||
import android.net.Uri
|
||||
import android.os.Handler
|
||||
import android.os.Looper
|
||||
import android.util.Log
|
||||
import com.edde746.plezy.mpv.MpvPlayerCore
|
||||
import io.flutter.embedding.engine.plugins.FlutterPlugin
|
||||
@@ -32,8 +35,10 @@ class ExoPlayerPlugin : FlutterPlugin, MethodChannel.MethodCallHandler,
|
||||
private var activity: Activity? = null
|
||||
private var activityBinding: ActivityPluginBinding? = null
|
||||
private val nameToId = mutableMapOf<String, Int>()
|
||||
private val mainHandler = Handler(Looper.getMainLooper())
|
||||
private var configuredBufferSizeBytes: Int? = null
|
||||
|
||||
private var sessionGeneration = 0
|
||||
private var debugLoggingEnabled: Boolean = false
|
||||
private val pendingMpvProperties = mutableListOf<Pair<String, String>>()
|
||||
|
||||
@@ -64,6 +69,7 @@ class ExoPlayerPlugin : FlutterPlugin, MethodChannel.MethodCallHandler,
|
||||
}
|
||||
|
||||
override fun onDetachedFromActivity() {
|
||||
sessionGeneration++
|
||||
playerCore?.dispose()
|
||||
playerCore = null
|
||||
mpvCore?.dispose()
|
||||
@@ -82,6 +88,8 @@ class ExoPlayerPlugin : FlutterPlugin, MethodChannel.MethodCallHandler,
|
||||
}
|
||||
|
||||
override fun onDetachedFromActivityForConfigChanges() {
|
||||
sessionGeneration++
|
||||
fallbackInProgress = false
|
||||
activity = null
|
||||
activityBinding = null
|
||||
Log.d(TAG, "Detached from activity for config changes")
|
||||
@@ -139,6 +147,10 @@ class ExoPlayerPlugin : FlutterPlugin, MethodChannel.MethodCallHandler,
|
||||
playerCore?.debugLoggingEnabled = debugLoggingEnabled
|
||||
result.success(null)
|
||||
}
|
||||
"triggerFallback" -> {
|
||||
playerCore?.triggerFallback()
|
||||
result.success(null)
|
||||
}
|
||||
else -> result.notImplemented()
|
||||
}
|
||||
}
|
||||
@@ -161,6 +173,15 @@ class ExoPlayerPlugin : FlutterPlugin, MethodChannel.MethodCallHandler,
|
||||
configuredBufferSizeBytes = bufferSizeBytes
|
||||
|
||||
currentActivity.runOnUiThread {
|
||||
sessionGeneration++
|
||||
|
||||
if (mpvCore != null || fallbackInProgress) {
|
||||
mpvCore?.dispose()
|
||||
mpvCore = null
|
||||
usingMpvFallback = false
|
||||
fallbackInProgress = false
|
||||
}
|
||||
|
||||
try {
|
||||
playerCore = ExoPlayerCore(currentActivity).apply {
|
||||
delegate = this@ExoPlayerPlugin
|
||||
@@ -185,6 +206,7 @@ class ExoPlayerPlugin : FlutterPlugin, MethodChannel.MethodCallHandler,
|
||||
|
||||
private fun handleDispose(result: MethodChannel.Result) {
|
||||
activity?.runOnUiThread {
|
||||
sessionGeneration++
|
||||
playerCore?.dispose()
|
||||
playerCore = null
|
||||
mpvCore?.dispose()
|
||||
@@ -196,20 +218,25 @@ class ExoPlayerPlugin : FlutterPlugin, MethodChannel.MethodCallHandler,
|
||||
} ?: result.success(null)
|
||||
}
|
||||
|
||||
@Suppress("UNCHECKED_CAST")
|
||||
private fun handleOpen(call: MethodCall, result: MethodChannel.Result) {
|
||||
val uri = call.argument<String>("uri")
|
||||
val headers = call.argument<Map<String, String>>("headers")
|
||||
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")
|
||||
|
||||
if (uri == null) {
|
||||
result.error("INVALID_ARGS", "Missing 'uri'", null)
|
||||
return
|
||||
}
|
||||
|
||||
// New media = fresh slate for pending MPV properties
|
||||
pendingMpvProperties.clear()
|
||||
// Only clear pending MPV properties when MPV is the active backend.
|
||||
// When ExoPlayer is active, keep them for potential ExoPlayer→MPV fallback.
|
||||
if (usingMpvFallback) {
|
||||
pendingMpvProperties.clear()
|
||||
}
|
||||
|
||||
activity?.runOnUiThread {
|
||||
if (usingMpvFallback) {
|
||||
@@ -226,7 +253,7 @@ class ExoPlayerPlugin : FlutterPlugin, MethodChannel.MethodCallHandler,
|
||||
val mpvUri = openContentFd(uri)?.let { "fdclose://$it" } ?: uri
|
||||
mpvCore?.command(arrayOf("loadfile", mpvUri, "replace", "-1", optionsStr))
|
||||
} else {
|
||||
playerCore?.open(uri, headers, startPositionMs, autoPlay, isLive)
|
||||
playerCore?.open(uri, headers, startPositionMs, autoPlay, isLive, externalSubtitles)
|
||||
}
|
||||
result.success(null)
|
||||
} ?: result.error("NO_ACTIVITY", "Activity not available", null)
|
||||
@@ -331,9 +358,8 @@ class ExoPlayerPlugin : FlutterPlugin, MethodChannel.MethodCallHandler,
|
||||
|
||||
activity?.runOnUiThread {
|
||||
if (usingMpvFallback) {
|
||||
// MPV uses numeric track IDs - extract from string format
|
||||
val numericId = trackId.split("_").lastOrNull()?.toIntOrNull() ?: 1
|
||||
mpvCore?.setProperty("aid", numericId.toString())
|
||||
// After fallback, track IDs come from mpv's track-list (already 1-indexed)
|
||||
mpvCore?.setProperty("aid", trackId)
|
||||
} else {
|
||||
playerCore?.selectAudioTrack(trackId)
|
||||
}
|
||||
@@ -347,12 +373,7 @@ class ExoPlayerPlugin : FlutterPlugin, MethodChannel.MethodCallHandler,
|
||||
// trackId can be null or "no" to disable subtitles
|
||||
activity?.runOnUiThread {
|
||||
if (usingMpvFallback) {
|
||||
if (trackId == null || trackId == "no") {
|
||||
mpvCore?.setProperty("sid", "no")
|
||||
} else {
|
||||
val numericId = trackId.split("_").lastOrNull()?.toIntOrNull() ?: 1
|
||||
mpvCore?.setProperty("sid", numericId.toString())
|
||||
}
|
||||
mpvCore?.setProperty("sid", trackId ?: "no")
|
||||
} else {
|
||||
playerCore?.selectSubtitleTrack(trackId)
|
||||
}
|
||||
@@ -493,16 +514,17 @@ class ExoPlayerPlugin : FlutterPlugin, MethodChannel.MethodCallHandler,
|
||||
}
|
||||
|
||||
private fun handleGetStats(result: MethodChannel.Result) {
|
||||
activity?.runOnUiThread {
|
||||
val stats = if (usingMpvFallback) {
|
||||
// For MPV fallback, query MPV properties directly
|
||||
getMpvStats()
|
||||
} else {
|
||||
if (usingMpvFallback) {
|
||||
Thread {
|
||||
val stats = getMpvStats()
|
||||
activity?.runOnUiThread { result.success(stats) }
|
||||
}.start()
|
||||
} else {
|
||||
activity?.runOnUiThread {
|
||||
val coreStats = playerCore?.getStats() ?: emptyMap()
|
||||
coreStats + mapOf("playerType" to "exoplayer")
|
||||
}
|
||||
result.success(stats)
|
||||
} ?: result.success(mapOf("playerType" to "unknown"))
|
||||
result.success(coreStats + mapOf("playerType" to "exoplayer"))
|
||||
} ?: result.success(mapOf("playerType" to "unknown"))
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -521,6 +543,8 @@ class ExoPlayerPlugin : FlutterPlugin, MethodChannel.MethodCallHandler,
|
||||
"video-codec" to mpv.getProperty("video-codec"),
|
||||
"video-params/w" to mpv.getProperty("video-params/w"),
|
||||
"video-params/h" to mpv.getProperty("video-params/h"),
|
||||
"videoWidth" to mpv.getProperty("dwidth"),
|
||||
"videoHeight" to mpv.getProperty("dheight"),
|
||||
"container-fps" to mpv.getProperty("container-fps"),
|
||||
"estimated-vf-fps" to mpv.getProperty("estimated-vf-fps"),
|
||||
"video-bitrate" to mpv.getProperty("video-bitrate"),
|
||||
@@ -576,7 +600,7 @@ class ExoPlayerPlugin : FlutterPlugin, MethodChannel.MethodCallHandler,
|
||||
|
||||
override fun onPropertyChange(name: String, value: Any?) {
|
||||
val propId = nameToId[name] ?: return
|
||||
eventSink?.success(listOf(propId, value))
|
||||
mainHandler.post { eventSink?.success(listOf(propId, value)) }
|
||||
}
|
||||
|
||||
override fun onEvent(name: String, data: Map<String, Any>?) {
|
||||
@@ -585,7 +609,7 @@ class ExoPlayerPlugin : FlutterPlugin, MethodChannel.MethodCallHandler,
|
||||
"name" to name
|
||||
)
|
||||
data?.let { event["data"] = it }
|
||||
eventSink?.success(event)
|
||||
mainHandler.post { eventSink?.success(event) }
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -593,11 +617,14 @@ class ExoPlayerPlugin : FlutterPlugin, MethodChannel.MethodCallHandler,
|
||||
* or null if the URI is not a content:// scheme or opening fails.
|
||||
* The returned FD is detached so MPV can own and close it via fdclose://.
|
||||
*/
|
||||
private fun openContentFd(uriString: String): Int? {
|
||||
private fun openContentFd(
|
||||
uriString: String,
|
||||
resolver: ContentResolver? = activity?.contentResolver
|
||||
): Int? {
|
||||
if (!uriString.startsWith("content://")) return null
|
||||
return try {
|
||||
val uri = Uri.parse(uriString)
|
||||
val pfd = activity?.contentResolver?.openFileDescriptor(uri, "r") ?: return null
|
||||
val pfd = resolver?.openFileDescriptor(uri, "r") ?: return null
|
||||
val fd = pfd.detachFd()
|
||||
Log.d(TAG, "Opened content FD $fd for $uriString")
|
||||
fd
|
||||
@@ -636,87 +663,136 @@ class ExoPlayerPlugin : FlutterPlugin, MethodChannel.MethodCallHandler,
|
||||
playerCore = null
|
||||
mpvCore?.dispose()
|
||||
mpvCore = null
|
||||
usingMpvFallback = false // Clear before handoff
|
||||
|
||||
// Create and initialize MPV
|
||||
mpvCore = MpvPlayerCore(currentActivity).apply {
|
||||
delegate = this@ExoPlayerPlugin
|
||||
}
|
||||
mpvCore?.initialize { success ->
|
||||
if (!success) {
|
||||
val generation = sessionGeneration
|
||||
|
||||
Handler(Looper.getMainLooper()).post {
|
||||
if (generation != sessionGeneration) {
|
||||
fallbackInProgress = false
|
||||
Log.e(TAG, "Failed to initialize MPV fallback")
|
||||
onEvent("end-file", mapOf("reason" to "error", "message" to "Fallback failed: $errorMessage"))
|
||||
return@initialize
|
||||
return@post
|
||||
}
|
||||
val act = activity
|
||||
if (act == null) {
|
||||
fallbackInProgress = false
|
||||
return@post
|
||||
}
|
||||
|
||||
usingMpvFallback = true
|
||||
fallbackInProgress = false
|
||||
|
||||
// Configure basic MPV properties for Plex playback
|
||||
mpvCore?.setProperty("hwdec", "mediacodec,mediacodec-copy")
|
||||
mpvCore?.setProperty("vo", "gpu")
|
||||
mpvCore?.setProperty("ao", "audiotrack")
|
||||
|
||||
// Forward user's buffer config to MPV fallback
|
||||
configuredBufferSizeBytes?.let { bytes ->
|
||||
if (bytes > 0) {
|
||||
mpvCore?.setProperty("demuxer-max-bytes", bytes.toString())
|
||||
try {
|
||||
val core = MpvPlayerCore(act).apply {
|
||||
delegate = this@ExoPlayerPlugin
|
||||
}
|
||||
mpvCore = core // publish so dispose/init can reach it
|
||||
|
||||
core.initialize { success ->
|
||||
if (generation != sessionGeneration) {
|
||||
if (mpvCore === core) {
|
||||
core.dispose()
|
||||
mpvCore = null
|
||||
}
|
||||
fallbackInProgress = false
|
||||
return@initialize
|
||||
}
|
||||
if (!success) {
|
||||
if (mpvCore === core) {
|
||||
core.dispose()
|
||||
mpvCore = null
|
||||
}
|
||||
fallbackInProgress = false
|
||||
Log.e(TAG, "Failed to initialize MPV fallback")
|
||||
onEvent("end-file", mapOf("reason" to "error", "message" to "Fallback failed: $errorMessage"))
|
||||
return@initialize
|
||||
}
|
||||
|
||||
usingMpvFallback = true
|
||||
fallbackInProgress = false
|
||||
|
||||
// Snapshot pending properties on main thread before clearing
|
||||
val pendingProps = pendingMpvProperties.toList()
|
||||
pendingMpvProperties.clear()
|
||||
|
||||
// Compute content FD on main thread (needs contentResolver)
|
||||
val mpvUri = openContentFd(uri, act.contentResolver)
|
||||
?.let { "fdclose://$it" } ?: uri
|
||||
|
||||
// Buffer size for closure
|
||||
val bufferSize = configuredBufferSizeBytes
|
||||
|
||||
if (mpvCore !== core) {
|
||||
core.dispose()
|
||||
fallbackInProgress = false
|
||||
return@initialize
|
||||
}
|
||||
// Configure basic MPV properties for Plex playback
|
||||
core.setProperty("hwdec", "mediacodec,mediacodec-copy")
|
||||
core.setProperty("vo", "gpu")
|
||||
core.setProperty("ao", "audiotrack")
|
||||
|
||||
// Forward user's buffer config to MPV fallback
|
||||
if (bufferSize != null && bufferSize > 0) {
|
||||
core.setProperty("demuxer-max-bytes", bufferSize.toString())
|
||||
}
|
||||
|
||||
// Apply pending MPV properties from Dart
|
||||
for ((propName, propValue) in pendingProps) {
|
||||
core.setProperty(propName, propValue)
|
||||
}
|
||||
|
||||
// Setup property observers
|
||||
core.observeProperty("time-pos", "double")
|
||||
core.observeProperty("duration", "double")
|
||||
core.observeProperty("seekable", "flag")
|
||||
core.observeProperty("pause", "flag")
|
||||
core.observeProperty("paused-for-cache", "flag")
|
||||
core.observeProperty("demuxer-cache-time", "double")
|
||||
core.observeProperty("eof-reached", "flag")
|
||||
core.observeProperty("track-list", "string")
|
||||
core.observeProperty("aid", "string")
|
||||
core.observeProperty("sid", "string")
|
||||
core.observeProperty("volume", "double")
|
||||
core.observeProperty("speed", "double")
|
||||
|
||||
// Show the MPV surface (internally posts to UI)
|
||||
core.setVisible(true)
|
||||
|
||||
// Load media at the same position
|
||||
val startSeconds = positionMs / 1000.0
|
||||
val options = mutableListOf<String>()
|
||||
options.add("start=$startSeconds")
|
||||
headers?.forEach { (key, value) ->
|
||||
options.add("http-header-fields-append=$key: $value")
|
||||
}
|
||||
val optionsStr = options.joinToString(",")
|
||||
core.command(arrayOf("loadfile", mpvUri, "replace", "-1", optionsStr))
|
||||
|
||||
// On GPUs without compute shaders, MPV can't do dynamic peak detection
|
||||
// and spline tone-mapping produces dim/washed-out results with extreme
|
||||
// static HDR peak metadata. Use reinhard which handles this better.
|
||||
Thread {
|
||||
val peakDetection = core.getProperty("hdr-compute-peak")
|
||||
if (peakDetection == "no") {
|
||||
Log.i(TAG, "No compute shaders — overriding tone-mapping to reinhard")
|
||||
core.setProperty("tone-mapping", "reinhard")
|
||||
core.setProperty("tone-mapping-param", "0.7")
|
||||
core.setProperty("tone-mapping-mode", "luma")
|
||||
}
|
||||
}.start()
|
||||
|
||||
// Request audio focus
|
||||
core.requestAudioFocus()
|
||||
|
||||
// Emit backend-switched event on main thread
|
||||
activity?.runOnUiThread {
|
||||
onEvent("backend-switched", null)
|
||||
}
|
||||
|
||||
Log.i(TAG, "Successfully switched to MPV fallback")
|
||||
}
|
||||
} catch (e: Exception) {
|
||||
fallbackInProgress = false
|
||||
Log.e(TAG, "Failed to switch to MPV fallback", e)
|
||||
onEvent("end-file", mapOf("reason" to "error", "message" to "Fallback failed: ${e.message}"))
|
||||
}
|
||||
|
||||
// Apply any pending MPV properties from Dart
|
||||
for ((propName, propValue) in pendingMpvProperties) {
|
||||
mpvCore?.setProperty(propName, propValue)
|
||||
}
|
||||
pendingMpvProperties.clear()
|
||||
|
||||
// Setup property observers
|
||||
mpvCore?.observeProperty("time-pos", "double")
|
||||
mpvCore?.observeProperty("duration", "double")
|
||||
mpvCore?.observeProperty("seekable", "flag")
|
||||
mpvCore?.observeProperty("pause", "flag")
|
||||
mpvCore?.observeProperty("paused-for-cache", "flag")
|
||||
mpvCore?.observeProperty("demuxer-cache-time", "double")
|
||||
mpvCore?.observeProperty("eof-reached", "flag")
|
||||
mpvCore?.observeProperty("track-list", "string")
|
||||
mpvCore?.observeProperty("aid", "string")
|
||||
mpvCore?.observeProperty("sid", "string")
|
||||
mpvCore?.observeProperty("volume", "double")
|
||||
mpvCore?.observeProperty("speed", "double")
|
||||
|
||||
// Show the MPV surface
|
||||
mpvCore?.setVisible(true)
|
||||
|
||||
// Load media at the same position
|
||||
val startSeconds = positionMs / 1000.0
|
||||
val options = mutableListOf<String>()
|
||||
options.add("start=$startSeconds")
|
||||
headers?.forEach { (key, value) ->
|
||||
options.add("http-header-fields-append=$key: $value")
|
||||
}
|
||||
val optionsStr = options.joinToString(",")
|
||||
// Convert content:// URIs to fdclose:// for MPV (SAF SD card downloads)
|
||||
val mpvUri = openContentFd(uri)?.let { "fdclose://$it" } ?: uri
|
||||
mpvCore?.command(arrayOf("loadfile", mpvUri, "replace", "-1", optionsStr))
|
||||
|
||||
// On GPUs without compute shaders, MPV can't do dynamic peak detection
|
||||
// and spline tone-mapping produces dim/washed-out results with extreme
|
||||
// static HDR peak metadata. Use reinhard which handles this better.
|
||||
val peakDetection = mpvCore?.getProperty("hdr-compute-peak")
|
||||
if (peakDetection == "no") {
|
||||
Log.i(TAG, "No compute shaders — overriding tone-mapping to reinhard")
|
||||
mpvCore?.setProperty("tone-mapping", "reinhard")
|
||||
mpvCore?.setProperty("tone-mapping-param", "0.7")
|
||||
mpvCore?.setProperty("tone-mapping-mode", "luma")
|
||||
}
|
||||
|
||||
// Request audio focus
|
||||
mpvCore?.requestAudioFocus()
|
||||
|
||||
// Emit backend-switched event so Flutter can show notification
|
||||
onEvent("backend-switched", null)
|
||||
|
||||
Log.i(TAG, "Successfully switched to MPV fallback")
|
||||
}
|
||||
} catch (e: Exception) {
|
||||
fallbackInProgress = false
|
||||
|
||||
@@ -0,0 +1,123 @@
|
||||
package com.edde746.plezy.exoplayer
|
||||
|
||||
import android.util.Log
|
||||
import androidx.media3.common.DataReader
|
||||
import androidx.media3.common.Format
|
||||
import androidx.media3.common.util.ParsableByteArray
|
||||
import androidx.media3.extractor.TrackOutput
|
||||
import java.util.zip.DataFormatException
|
||||
import java.util.zip.Inflater
|
||||
|
||||
/**
|
||||
* TrackOutput wrapper that inflates zlib-compressed sample data (MKV ContentCompAlgo 0).
|
||||
* Each MKV block is independently zlib-compressed; this wrapper decompresses per-sample
|
||||
* between sampleData() and sampleMetadata() calls.
|
||||
*
|
||||
* All buffers are reused across samples to minimize GC pressure on the hot path.
|
||||
*/
|
||||
class ZlibInflatingTrackOutput(
|
||||
private val delegate: TrackOutput,
|
||||
) : TrackOutput {
|
||||
|
||||
companion object {
|
||||
private const val TAG = "ZlibTrackOutput"
|
||||
private const val INITIAL_BUFFER_SIZE = 256 * 1024
|
||||
private const val INFLATE_CHUNK = 64 * 1024
|
||||
}
|
||||
|
||||
var active = false
|
||||
|
||||
private val inflater = Inflater()
|
||||
|
||||
// Reusable buffers — grown as needed, never shrunk
|
||||
private var compressedBuf = ByteArray(INITIAL_BUFFER_SIZE)
|
||||
private var compressedLen = 0
|
||||
private var inflateBuf = ByteArray(INITIAL_BUFFER_SIZE)
|
||||
private var readBuf = ByteArray(INFLATE_CHUNK)
|
||||
private val outputParsable = ParsableByteArray()
|
||||
private var buffering = false
|
||||
|
||||
override fun format(format: Format) = delegate.format(format)
|
||||
|
||||
override fun sampleData(
|
||||
input: DataReader, length: Int, allowEndOfInput: Boolean, sampleDataPart: Int
|
||||
): Int {
|
||||
if (!active) return delegate.sampleData(input, length, allowEndOfInput, sampleDataPart)
|
||||
|
||||
buffering = true
|
||||
if (readBuf.size < length) readBuf = ByteArray(length)
|
||||
val bytesRead = input.read(readBuf, 0, length)
|
||||
if (bytesRead > 0) appendCompressed(readBuf, 0, bytesRead)
|
||||
return bytesRead
|
||||
}
|
||||
|
||||
override fun sampleData(data: ParsableByteArray, length: Int, sampleDataPart: Int) {
|
||||
if (!active) {
|
||||
delegate.sampleData(data, length, sampleDataPart)
|
||||
return
|
||||
}
|
||||
|
||||
buffering = true
|
||||
ensureCompressedCapacity(compressedLen + length)
|
||||
data.readBytes(compressedBuf, compressedLen, length)
|
||||
compressedLen += length
|
||||
}
|
||||
|
||||
override fun sampleMetadata(
|
||||
timeUs: Long, flags: Int, size: Int, offset: Int, cryptoData: TrackOutput.CryptoData?
|
||||
) {
|
||||
if (!active || !buffering) {
|
||||
delegate.sampleMetadata(timeUs, flags, size, offset, cryptoData)
|
||||
return
|
||||
}
|
||||
|
||||
buffering = false
|
||||
val srcLen = compressedLen
|
||||
compressedLen = 0
|
||||
|
||||
val inflatedLen = try {
|
||||
inflater.reset()
|
||||
inflater.setInput(compressedBuf, 0, srcLen)
|
||||
var written = 0
|
||||
while (!inflater.finished()) {
|
||||
if (written == inflateBuf.size) growInflateBuf()
|
||||
val count = inflater.inflate(inflateBuf, written, inflateBuf.size - written)
|
||||
if (count == 0 && !inflater.finished()) break
|
||||
written += count
|
||||
}
|
||||
written
|
||||
} catch (e: DataFormatException) {
|
||||
Log.e(TAG, "Zlib inflate failed (${srcLen}B), passing raw", e)
|
||||
// Fall back to raw compressed data
|
||||
ensureInflateCapacity(srcLen)
|
||||
System.arraycopy(compressedBuf, 0, inflateBuf, 0, srcLen)
|
||||
srcLen
|
||||
}
|
||||
|
||||
outputParsable.reset(inflateBuf, inflatedLen)
|
||||
delegate.sampleData(outputParsable, inflatedLen, TrackOutput.SAMPLE_DATA_PART_MAIN)
|
||||
delegate.sampleMetadata(timeUs, flags, inflatedLen, 0, cryptoData)
|
||||
}
|
||||
|
||||
private fun appendCompressed(src: ByteArray, offset: Int, length: Int) {
|
||||
ensureCompressedCapacity(compressedLen + length)
|
||||
System.arraycopy(src, offset, compressedBuf, compressedLen, length)
|
||||
compressedLen += length
|
||||
}
|
||||
|
||||
private fun ensureCompressedCapacity(needed: Int) {
|
||||
if (compressedBuf.size < needed) {
|
||||
compressedBuf = compressedBuf.copyOf(maxOf(needed, compressedBuf.size * 2))
|
||||
}
|
||||
}
|
||||
|
||||
private fun ensureInflateCapacity(needed: Int) {
|
||||
if (inflateBuf.size < needed) {
|
||||
inflateBuf = ByteArray(maxOf(needed, inflateBuf.size * 2))
|
||||
}
|
||||
}
|
||||
|
||||
private fun growInflateBuf() {
|
||||
inflateBuf = inflateBuf.copyOf(inflateBuf.size * 2)
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,116 @@
|
||||
package com.edde746.plezy.exoplayer
|
||||
|
||||
import android.util.Log
|
||||
import androidx.media3.extractor.ExtractorInput
|
||||
import androidx.media3.extractor.ExtractorOutput
|
||||
import androidx.media3.extractor.SeekMap
|
||||
import androidx.media3.extractor.TrackOutput
|
||||
import androidx.media3.extractor.mkv.MatroskaExtractor
|
||||
import io.github.peerless2012.ass.media.AssHandler
|
||||
import io.github.peerless2012.ass.media.extractor.AssMatroskaExtractor
|
||||
import androidx.media3.extractor.text.SubtitleParser
|
||||
|
||||
/**
|
||||
* Extends AssMatroskaExtractor to add support for MKV ContentCompAlgo 0 (zlib).
|
||||
*
|
||||
* Media3's MatroskaExtractor only supports ContentCompAlgo 3 (header stripping).
|
||||
* This subclass intercepts the compression algorithm during track header parsing:
|
||||
* - Tells the parent it's header stripping (algo 3) to avoid the ParserException
|
||||
* - Wraps TrackOutputs with ZlibInflatingTrackOutput to decompress per-sample data
|
||||
* - Skips ContentCompSettings for zlib tracks (not applicable)
|
||||
*/
|
||||
class ZlibMatroskaExtractor(
|
||||
subtitleParserFactory: SubtitleParser.Factory,
|
||||
assHandler: AssHandler,
|
||||
) : AssMatroskaExtractor(subtitleParserFactory, assHandler) {
|
||||
|
||||
companion object {
|
||||
private const val TAG = "ZlibMkvExtractor"
|
||||
|
||||
// Matroska EBML element IDs
|
||||
private const val ID_SEGMENT = 0x18538067
|
||||
private const val ID_TRACK_ENTRY = 0xAE
|
||||
private const val ID_CONTENT_COMPRESSION_ALGORITHM = 0x4254
|
||||
private const val ID_CONTENT_COMPRESSION_SETTINGS = 0x4255
|
||||
|
||||
private val extractorOutputField by lazy {
|
||||
MatroskaExtractor::class.java.getDeclaredField("extractorOutput").apply {
|
||||
isAccessible = true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private var zlibOutput: ZlibExtractorOutputWrapper? = null
|
||||
private var currentTrackUsesZlib = false
|
||||
|
||||
override fun startMasterElement(id: Int, contentPosition: Long, contentSize: Long) {
|
||||
super.startMasterElement(id, contentPosition, contentSize)
|
||||
|
||||
// After super installs AssSubtitleExtractorOutput, wrap it with our zlib layer
|
||||
if (id == ID_SEGMENT && zlibOutput == null) {
|
||||
val currentOutput = extractorOutputField.get(this) as ExtractorOutput
|
||||
val wrapper = ZlibExtractorOutputWrapper(currentOutput)
|
||||
zlibOutput = wrapper
|
||||
extractorOutputField.set(this, wrapper)
|
||||
Log.d(TAG, "Installed zlib ExtractorOutput wrapper")
|
||||
}
|
||||
}
|
||||
|
||||
override fun integerElement(id: Int, value: Long) {
|
||||
if (id == ID_CONTENT_COMPRESSION_ALGORITHM && value == 0L) {
|
||||
currentTrackUsesZlib = true
|
||||
Log.i(TAG, "Track uses ContentCompAlgo 0 (zlib), will inflate samples")
|
||||
// Tell parent it's header stripping (algo 3) to avoid ParserException
|
||||
super.integerElement(id, 3)
|
||||
return
|
||||
}
|
||||
super.integerElement(id, value)
|
||||
}
|
||||
|
||||
override fun binaryElement(id: Int, contentSize: Int, input: ExtractorInput) {
|
||||
if (id == ID_CONTENT_COMPRESSION_SETTINGS && currentTrackUsesZlib) {
|
||||
// Skip ContentCompSettings for zlib tracks — parent would store these as
|
||||
// sampleStrippedBytes and prepend them to every sample, corrupting output.
|
||||
input.skipFully(contentSize)
|
||||
return
|
||||
}
|
||||
super.binaryElement(id, contentSize, input)
|
||||
}
|
||||
|
||||
override fun endMasterElement(id: Int) {
|
||||
val wasZlib = currentTrackUsesZlib
|
||||
super.endMasterElement(id)
|
||||
|
||||
if (id == ID_TRACK_ENTRY && wasZlib) {
|
||||
zlibOutput?.activateLast()
|
||||
currentTrackUsesZlib = false
|
||||
Log.i(TAG, "Activated zlib inflation for track")
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* ExtractorOutput wrapper that wraps all TrackOutputs with ZlibInflatingTrackOutput.
|
||||
* Tracks are created inactive; activateLast() enables inflation for the most recently
|
||||
* created track (called when we know a track uses zlib compression).
|
||||
*/
|
||||
private class ZlibExtractorOutputWrapper(
|
||||
private val delegate: ExtractorOutput,
|
||||
) : ExtractorOutput {
|
||||
|
||||
private var lastCreatedWrapper: ZlibInflatingTrackOutput? = null
|
||||
|
||||
override fun track(id: Int, type: Int): TrackOutput {
|
||||
val original = delegate.track(id, type)
|
||||
val wrapper = ZlibInflatingTrackOutput(original)
|
||||
lastCreatedWrapper = wrapper
|
||||
return wrapper
|
||||
}
|
||||
|
||||
fun activateLast() {
|
||||
lastCreatedWrapper?.active = true
|
||||
}
|
||||
|
||||
override fun endTracks() = delegate.endTracks()
|
||||
override fun seekMap(seekMap: SeekMap) = delegate.seekMap(seekMap)
|
||||
}
|
||||
}
|
||||
@@ -1,9 +1,7 @@
|
||||
package com.edde746.plezy.mpv
|
||||
|
||||
import android.app.Activity
|
||||
import android.content.Context
|
||||
import android.graphics.Color
|
||||
import android.os.Build
|
||||
import android.os.Handler
|
||||
import android.os.Looper
|
||||
import android.util.Log
|
||||
@@ -17,41 +15,18 @@ import com.edde746.plezy.shared.AudioFocusManager
|
||||
import com.edde746.plezy.shared.FlutterOverlayHelper
|
||||
import com.edde746.plezy.shared.FrameRateManager
|
||||
import com.edde746.plezy.shared.PlayerDelegate
|
||||
import dev.jdtech.mpv.MPVLib
|
||||
import io.flutter.plugin.common.MethodChannel
|
||||
import java.util.concurrent.Executors
|
||||
import dev.jdtech.mpv.*
|
||||
import kotlinx.coroutines.*
|
||||
|
||||
class MpvPlayerCore(private val activity: Activity) :
|
||||
SurfaceHolder.Callback,
|
||||
MPVLib.EventObserver,
|
||||
MPVLib.LogObserver {
|
||||
class MpvPlayerCore(private val activity: Activity) : SurfaceHolder.Callback {
|
||||
|
||||
companion object {
|
||||
private const val TAG = "MpvPlayerCore"
|
||||
|
||||
// Guards MPVLib.create/destroy which share global native state
|
||||
private val mpvLock = Object()
|
||||
|
||||
// JNI's NewStringUTF may produce Java Strings with lone surrogates when
|
||||
// mpv passes invalid UTF-8 (log messages, system-encoded paths, etc.).
|
||||
// Lone surrogates cause FormatException in Flutter's StandardMessageCodec
|
||||
// when it encodes them as UTF-8. Re-encoding strips these invalid chars.
|
||||
private fun safeString(s: String): String {
|
||||
for (c in s) {
|
||||
if (c.isSurrogate()) {
|
||||
// Slow path: re-encode through UTF-8 to replace lone surrogates with U+FFFD
|
||||
return s.encodeToByteArray().decodeToString()
|
||||
}
|
||||
}
|
||||
return s // Fast path: no surrogates, string is safe
|
||||
}
|
||||
}
|
||||
|
||||
private var surfaceView: SurfaceView? = null
|
||||
private var surfaceContainer: android.widget.FrameLayout? = null
|
||||
private var overlayLayoutListener: ViewTreeObserver.OnGlobalLayoutListener? =
|
||||
null
|
||||
@Volatile private var nativeReady: Boolean = false
|
||||
private var overlayLayoutListener: ViewTreeObserver.OnGlobalLayoutListener? = null
|
||||
@Volatile private var disposing: Boolean = false
|
||||
private var pendingSurface: Surface? = null
|
||||
private var lastSurfaceSize: String? = null
|
||||
@@ -59,8 +34,8 @@ class MpvPlayerCore(private val activity: Activity) :
|
||||
var isInitialized: Boolean = false
|
||||
private set
|
||||
|
||||
// Executor for running MPV commands off the UI thread to prevent ANR
|
||||
private val commandExecutor = Executors.newSingleThreadExecutor()
|
||||
private var player: MpvPlayer? = null
|
||||
private var scope = CoroutineScope(SupervisorJob() + Dispatchers.Main)
|
||||
|
||||
// Frame rate matching
|
||||
private var frameRateManager: FrameRateManager? = null
|
||||
@@ -68,6 +43,7 @@ class MpvPlayerCore(private val activity: Activity) :
|
||||
|
||||
// Audio focus
|
||||
private var audioFocusManager: AudioFocusManager? = null
|
||||
@Volatile private var cachedPaused: Boolean = true
|
||||
|
||||
private var flutterOverlayApplied = false
|
||||
|
||||
@@ -96,6 +72,7 @@ class MpvPlayerCore(private val activity: Activity) :
|
||||
|
||||
try {
|
||||
disposing = false
|
||||
cachedPaused = true
|
||||
pendingSurface = null
|
||||
|
||||
// Initialize audio focus handling
|
||||
@@ -103,40 +80,37 @@ class MpvPlayerCore(private val activity: Activity) :
|
||||
context = activity,
|
||||
handler = handler,
|
||||
onPause = {
|
||||
if (isInitialized) {
|
||||
try { MPVLib.setPropertyBoolean("pause", true) }
|
||||
scope.launch {
|
||||
try { player?.setProperty("pause", true) }
|
||||
catch (e: Exception) { Log.w(TAG, "Failed to pause on focus loss", e) }
|
||||
}
|
||||
},
|
||||
onResume = {
|
||||
if (isInitialized) {
|
||||
try { MPVLib.setPropertyBoolean("pause", false) }
|
||||
scope.launch {
|
||||
try { player?.setProperty("pause", false) }
|
||||
catch (e: Exception) { Log.w(TAG, "Failed to resume after focus gain", e) }
|
||||
}
|
||||
},
|
||||
isPaused = {
|
||||
try { MPVLib.getPropertyBoolean("pause") }
|
||||
catch (e: Exception) { true }
|
||||
}
|
||||
isPaused = { cachedPaused }
|
||||
)
|
||||
frameRateManager = FrameRateManager(
|
||||
activity = activity,
|
||||
handler = handler,
|
||||
onDisplayChanged = {
|
||||
try {
|
||||
if (MPVLib.getPropertyBoolean("pause")) {
|
||||
Log.d(TAG, "Display changed, resuming playback")
|
||||
MPVLib.setPropertyBoolean("pause", false)
|
||||
scope.launch {
|
||||
try {
|
||||
if (player?.getFlag("pause") == true) {
|
||||
Log.d(TAG, "Display changed, resuming playback")
|
||||
player?.setProperty("pause", false)
|
||||
}
|
||||
} catch (e: Exception) {
|
||||
Log.w(TAG, "Failed to resume after display change", e)
|
||||
}
|
||||
} catch (e: Exception) {
|
||||
Log.w(TAG, "Failed to resume after display change", e)
|
||||
}
|
||||
}
|
||||
)
|
||||
|
||||
// Create FrameLayout container for video (matches ExoPlayer pattern)
|
||||
// Setting visibility on container instead of SurfaceView directly allows
|
||||
// the surface to be created even when hidden (required with RenderMode.texture)
|
||||
// Create FrameLayout container for video
|
||||
surfaceContainer = android.widget.FrameLayout(activity).apply {
|
||||
layoutParams = ViewGroup.LayoutParams(
|
||||
ViewGroup.LayoutParams.MATCH_PARENT,
|
||||
@@ -152,8 +126,6 @@ class MpvPlayerCore(private val activity: Activity) :
|
||||
android.widget.FrameLayout.LayoutParams.MATCH_PARENT
|
||||
)
|
||||
holder.addCallback(this@MpvPlayerCore)
|
||||
|
||||
// Critical: Ensure SurfaceView renders BEHIND Flutter's view
|
||||
setZOrderOnTop(false)
|
||||
setZOrderMediaOverlay(false)
|
||||
}
|
||||
@@ -170,11 +142,9 @@ class MpvPlayerCore(private val activity: Activity) :
|
||||
FlutterOverlayHelper.configureFlutterZOrder(contentView, container, zOrderOnTop = true)
|
||||
flutterOverlayApplied = true
|
||||
}
|
||||
// Repeat after layout settles to catch late-added Flutter surfaces (release builds)
|
||||
ensureFlutterOverlayOnTop()
|
||||
overlayLayoutListener = ViewTreeObserver.OnGlobalLayoutListener {
|
||||
ensureFlutterOverlayOnTop()
|
||||
// Re-apply surface size on layout change (orientation transitions)
|
||||
val sv = surfaceView
|
||||
if (sv != null) applySurfaceSize(sv.width, sv.height)
|
||||
}
|
||||
@@ -182,77 +152,102 @@ class MpvPlayerCore(private val activity: Activity) :
|
||||
|
||||
Log.d(TAG, "SurfaceView added to content view")
|
||||
|
||||
// Native MPVLib init on background thread — waits for any
|
||||
// in-flight destroy to finish without blocking the UI thread.
|
||||
val ctx = activity.applicationContext
|
||||
Thread {
|
||||
// Create MpvPlayer on background thread via coroutine
|
||||
scope.launch {
|
||||
try {
|
||||
synchronized(mpvLock) {
|
||||
if (disposing) {
|
||||
handler.post { onResult(false) }
|
||||
return@Thread
|
||||
}
|
||||
MPVLib.create(ctx)
|
||||
setupMpvDefaults()
|
||||
MPVLib.init()
|
||||
nativeReady = true
|
||||
if (disposing) {
|
||||
onResult(false)
|
||||
return@launch
|
||||
}
|
||||
handler.post {
|
||||
if (disposing) {
|
||||
if (nativeReady) {
|
||||
Thread {
|
||||
synchronized(mpvLock) {
|
||||
try {
|
||||
MPVLib.destroy()
|
||||
} catch (_: Exception) {
|
||||
} finally {
|
||||
nativeReady = false
|
||||
}
|
||||
}
|
||||
}.start()
|
||||
}
|
||||
onResult(false)
|
||||
return@post
|
||||
}
|
||||
|
||||
MPVLib.addObserver(this)
|
||||
MPVLib.addLogObserver(this)
|
||||
isInitialized = true
|
||||
|
||||
// surfaceCreated can fire before MPV init finishes.
|
||||
// Defer attaching the surface until native init is ready.
|
||||
pendingSurface?.takeIf { it.isValid }?.let {
|
||||
attachSurfaceInternal(it)
|
||||
}
|
||||
pendingSurface = null
|
||||
|
||||
Log.d(TAG, "Initialized successfully")
|
||||
onResult(true)
|
||||
val p = MpvPlayer.create(activity.applicationContext) {
|
||||
setOption("vo", "gpu")
|
||||
setOption("gpu-context", "android")
|
||||
setOption("opengl-es", "yes")
|
||||
setOption("vd-lavc-film-grain", "cpu")
|
||||
setOption("ao", "audiotrack,opensles")
|
||||
}
|
||||
|
||||
if (disposing) {
|
||||
p.close()
|
||||
onResult(false)
|
||||
return@launch
|
||||
}
|
||||
|
||||
player = p
|
||||
isInitialized = true
|
||||
|
||||
// Attach pending surface
|
||||
pendingSurface?.takeIf { it.isValid }?.let { attachSurfaceInternal(it) }
|
||||
pendingSurface = null
|
||||
|
||||
// Start collecting events/properties/logs
|
||||
collectEvents(p)
|
||||
collectPropertyChanges(p)
|
||||
collectLogMessages(p)
|
||||
|
||||
Log.d(TAG, "Initialized successfully")
|
||||
onResult(true)
|
||||
} catch (e: Exception) {
|
||||
Log.e(TAG, "Failed to initialize native: ${e.message}", e)
|
||||
nativeReady = false
|
||||
handler.post { onResult(false) }
|
||||
onResult(false)
|
||||
}
|
||||
}.start()
|
||||
}
|
||||
} catch (e: Exception) {
|
||||
Log.e(TAG, "Failed to initialize: ${e.message}", e)
|
||||
onResult(false)
|
||||
}
|
||||
}
|
||||
|
||||
private fun setupMpvDefaults() {
|
||||
// Video output configuration
|
||||
MPVLib.setOptionString("vo", "gpu")
|
||||
MPVLib.setOptionString("gpu-context", "android")
|
||||
MPVLib.setOptionString("opengl-es", "yes")
|
||||
// hwdec is set from Flutter via setProperty based on user preference
|
||||
// Flow collectors
|
||||
|
||||
// Prevent crashes/artifacts from hardware film grain synthesis (mpv #14651)
|
||||
MPVLib.setOptionString("vd-lavc-film-grain", "cpu")
|
||||
private fun collectEvents(p: MpvPlayer) {
|
||||
scope.launch(start = CoroutineStart.UNDISPATCHED) {
|
||||
p.eventFlow.collect { event ->
|
||||
when (event) {
|
||||
is MpvEvent.EndFile -> {
|
||||
val data = event.reason?.let { mapOf("reason" to it.id) }
|
||||
delegate?.onEvent("end-file", data)
|
||||
}
|
||||
is MpvEvent.FileLoaded -> delegate?.onEvent("file-loaded", null)
|
||||
is MpvEvent.PlaybackRestart -> delegate?.onEvent("playback-restart", null)
|
||||
else -> {}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Audio configuration
|
||||
MPVLib.setOptionString("ao", "audiotrack,opensles")
|
||||
private fun collectPropertyChanges(p: MpvPlayer) {
|
||||
scope.launch(start = CoroutineStart.UNDISPATCHED) {
|
||||
p.propertyFlow.collect { change ->
|
||||
// Skip None — matches old MPVLib behavior where eventProperty(name)
|
||||
// with no value was a no-op. Forwarding null would incorrectly clear
|
||||
// track selections (aid/sid) before the file loads.
|
||||
if (change is PropertyChange.None) return@collect
|
||||
val value: Any? = when (change) {
|
||||
is PropertyChange.Flag -> change.value
|
||||
is PropertyChange.Int64 -> change.value
|
||||
is PropertyChange.Double -> change.value
|
||||
is PropertyChange.Str -> change.value
|
||||
is PropertyChange.None -> null
|
||||
}
|
||||
if (change.name == "pause" && change is PropertyChange.Flag) {
|
||||
cachedPaused = change.value
|
||||
}
|
||||
delegate?.onPropertyChange(change.name, value)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private fun collectLogMessages(p: MpvPlayer) {
|
||||
scope.launch(start = CoroutineStart.UNDISPATCHED) {
|
||||
p.logFlow.collect { msg ->
|
||||
delegate?.onEvent("log-message", mapOf(
|
||||
"prefix" to msg.prefix,
|
||||
"level" to msg.level.name.lowercase(),
|
||||
"text" to msg.text
|
||||
))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Audio Focus
|
||||
@@ -268,14 +263,13 @@ class MpvPlayerCore(private val activity: Activity) :
|
||||
if (disposing) return
|
||||
|
||||
val surface = holder.surface
|
||||
if (!nativeReady) {
|
||||
if (player == null) {
|
||||
pendingSurface = surface
|
||||
Log.d(TAG, "Deferring surface attach until MPV native init completes")
|
||||
Log.d(TAG, "Deferring surface attach until MPV init completes")
|
||||
return
|
||||
}
|
||||
|
||||
attachSurfaceInternal(surface)
|
||||
// Reassert overlay order whenever the surface is recreated
|
||||
flutterOverlayApplied = false
|
||||
ensureFlutterOverlayOnTop()
|
||||
}
|
||||
@@ -288,247 +282,86 @@ class MpvPlayerCore(private val activity: Activity) :
|
||||
override fun surfaceDestroyed(holder: SurfaceHolder) {
|
||||
Log.d(TAG, "Surface destroyed")
|
||||
pendingSurface = null
|
||||
if (!nativeReady || disposing) return
|
||||
if (player == null || disposing) return
|
||||
detachSurfaceInternal()
|
||||
}
|
||||
|
||||
private fun attachSurfaceInternal(surface: Surface) {
|
||||
if (!nativeReady || disposing || !surface.isValid) return
|
||||
val p = player ?: return
|
||||
if (disposing || !surface.isValid) return
|
||||
try {
|
||||
MPVLib.attachSurface(surface)
|
||||
MPVLib.setOptionString("force-window", "yes")
|
||||
// Restore video output after surface is available
|
||||
MPVLib.setPropertyString("vo", "gpu")
|
||||
p.attachSurface(surface)
|
||||
scope.launch {
|
||||
p.setProperty("force-window", "yes")
|
||||
p.setProperty("vo", "gpu")
|
||||
}
|
||||
} catch (e: Exception) {
|
||||
Log.w(TAG, "Failed to attach MPV surface", e)
|
||||
}
|
||||
}
|
||||
|
||||
private fun applySurfaceSize(width: Int, height: Int) {
|
||||
if (!nativeReady || disposing || width <= 0 || height <= 0) return
|
||||
val p = player ?: return
|
||||
if (disposing || width <= 0 || height <= 0) return
|
||||
val size = "${width}x${height}"
|
||||
if (size == lastSurfaceSize) return
|
||||
lastSurfaceSize = size
|
||||
try {
|
||||
MPVLib.setPropertyString("android-surface-size", size)
|
||||
} catch (e: Exception) {
|
||||
Log.w(TAG, "Failed to apply surface size to MPV", e)
|
||||
scope.launch {
|
||||
try { p.setProperty("android-surface-size", size) }
|
||||
catch (e: Exception) { Log.w(TAG, "Failed to apply surface size to MPV", e) }
|
||||
}
|
||||
}
|
||||
|
||||
private fun detachSurfaceInternal() {
|
||||
lastSurfaceSize = null
|
||||
if (!nativeReady) return
|
||||
// Disable video output before detaching (like mpv-android)
|
||||
val p = player ?: return
|
||||
try {
|
||||
MPVLib.setPropertyString("vo", "null")
|
||||
MPVLib.setOptionString("force-window", "no")
|
||||
MPVLib.detachSurface()
|
||||
scope.launch {
|
||||
p.setProperty("vo", "null")
|
||||
p.setProperty("force-window", "no")
|
||||
}
|
||||
p.detachSurface()
|
||||
} catch (e: Exception) {
|
||||
Log.w(TAG, "Failed to detach MPV surface", e)
|
||||
}
|
||||
}
|
||||
|
||||
// MPVLib.EventObserver
|
||||
|
||||
override fun eventProperty(property: String) {
|
||||
// No value provided
|
||||
}
|
||||
|
||||
override fun eventProperty(property: String, value: Long) {
|
||||
activity.runOnUiThread {
|
||||
delegate?.onPropertyChange(property, value)
|
||||
}
|
||||
}
|
||||
|
||||
override fun eventProperty(property: String, value: Double) {
|
||||
activity.runOnUiThread {
|
||||
delegate?.onPropertyChange(property, value)
|
||||
}
|
||||
}
|
||||
|
||||
override fun eventProperty(property: String, value: Boolean) {
|
||||
activity.runOnUiThread {
|
||||
delegate?.onPropertyChange(property, value)
|
||||
}
|
||||
}
|
||||
|
||||
override fun eventProperty(property: String, value: String) {
|
||||
val safe = safeString(value)
|
||||
activity.runOnUiThread {
|
||||
delegate?.onPropertyChange(property, safe)
|
||||
}
|
||||
}
|
||||
|
||||
override fun event(eventId: Int) {
|
||||
val eventName = when (eventId) {
|
||||
MPVLib.MPV_EVENT_FILE_LOADED -> "file-loaded"
|
||||
MPVLib.MPV_EVENT_END_FILE -> "end-file"
|
||||
MPVLib.MPV_EVENT_PLAYBACK_RESTART -> "playback-restart"
|
||||
else -> null
|
||||
}
|
||||
eventName?.let { name ->
|
||||
activity.runOnUiThread {
|
||||
delegate?.onEvent(name, null)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// MPVLib.LogObserver
|
||||
|
||||
override fun logMessage(prefix: String, level: Int, text: String) {
|
||||
val levelStr = when (level) {
|
||||
MPVLib.MPV_LOG_LEVEL_FATAL -> "fatal"
|
||||
MPVLib.MPV_LOG_LEVEL_ERROR -> "error"
|
||||
MPVLib.MPV_LOG_LEVEL_WARN -> "warn"
|
||||
MPVLib.MPV_LOG_LEVEL_INFO -> "info"
|
||||
MPVLib.MPV_LOG_LEVEL_V -> "v"
|
||||
MPVLib.MPV_LOG_LEVEL_DEBUG -> "debug"
|
||||
MPVLib.MPV_LOG_LEVEL_TRACE -> "trace"
|
||||
else -> "info"
|
||||
}
|
||||
val safePrefix = safeString(prefix)
|
||||
val safeText = safeString(text)
|
||||
activity.runOnUiThread {
|
||||
delegate?.onEvent("log-message", mapOf(
|
||||
"prefix" to safePrefix,
|
||||
"level" to levelStr,
|
||||
"text" to safeText
|
||||
))
|
||||
}
|
||||
}
|
||||
|
||||
// Public API
|
||||
|
||||
fun setProperty(name: String, value: String) {
|
||||
if (!isInitialized) return
|
||||
MPVLib.setPropertyString(name, value)
|
||||
if (!isInitialized || disposing) return
|
||||
scope.launch {
|
||||
try { player?.setProperty(name, value) }
|
||||
catch (e: Exception) { Log.w(TAG, "setProperty($name) failed", e) }
|
||||
}
|
||||
}
|
||||
|
||||
fun getProperty(name: String): String? {
|
||||
if (!isInitialized) return null
|
||||
if (!isInitialized || disposing) return null
|
||||
return try {
|
||||
MPVLib.getPropertyString(name)
|
||||
runBlocking(Dispatchers.IO) { player?.getString(name) }
|
||||
} catch (e: Exception) {
|
||||
null
|
||||
}
|
||||
}
|
||||
|
||||
fun observeProperty(name: String, format: String) {
|
||||
val p = player ?: return
|
||||
if (!isInitialized) return
|
||||
|
||||
val mpvFormat = when (format) {
|
||||
"double" -> MPVLib.MPV_FORMAT_DOUBLE
|
||||
"flag" -> MPVLib.MPV_FORMAT_FLAG
|
||||
"string" -> MPVLib.MPV_FORMAT_STRING
|
||||
"node" -> MPVLib.MPV_FORMAT_NODE
|
||||
else -> MPVLib.MPV_FORMAT_NONE
|
||||
val fmt = when (format) {
|
||||
"double" -> PropertyFormat.Double
|
||||
"flag" -> PropertyFormat.Flag
|
||||
"string" -> PropertyFormat.String
|
||||
else -> PropertyFormat.None
|
||||
}
|
||||
MPVLib.observeProperty(name, mpvFormat)
|
||||
}
|
||||
|
||||
/**
|
||||
* Get an MPV property asynchronously off the UI thread.
|
||||
* This prevents ANR when mpv_get_property blocks waiting for internal locks.
|
||||
*/
|
||||
fun getPropertyAsync(name: String, result: MethodChannel.Result) {
|
||||
if (!isInitialized) {
|
||||
result.success(null)
|
||||
return
|
||||
}
|
||||
commandExecutor.execute {
|
||||
try {
|
||||
val value = MPVLib.getPropertyString(name)
|
||||
activity.runOnUiThread { result.success(value) }
|
||||
} catch (e: Exception) {
|
||||
activity.runOnUiThread { result.success(null) }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Set an MPV property asynchronously off the UI thread.
|
||||
* This prevents ANR when mpv_set_property blocks waiting for internal locks.
|
||||
*/
|
||||
fun setPropertyAsync(name: String, value: String, result: MethodChannel.Result) {
|
||||
if (!isInitialized) {
|
||||
result.success(null)
|
||||
return
|
||||
}
|
||||
commandExecutor.execute {
|
||||
try {
|
||||
MPVLib.setPropertyString(name, value)
|
||||
activity.runOnUiThread { result.success(null) }
|
||||
} catch (e: Exception) {
|
||||
Log.e(TAG, "Async setProperty failed: ${e.message}", e)
|
||||
activity.runOnUiThread { result.success(null) }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Observe an MPV property asynchronously off the UI thread.
|
||||
* This prevents ANR when mpv_observe_property blocks waiting for internal locks.
|
||||
*/
|
||||
fun observePropertyAsync(name: String, format: String, result: MethodChannel.Result) {
|
||||
if (!isInitialized) {
|
||||
result.success(null)
|
||||
return
|
||||
}
|
||||
val mpvFormat = when (format) {
|
||||
"double" -> MPVLib.MPV_FORMAT_DOUBLE
|
||||
"flag" -> MPVLib.MPV_FORMAT_FLAG
|
||||
"string" -> MPVLib.MPV_FORMAT_STRING
|
||||
"node" -> MPVLib.MPV_FORMAT_NODE
|
||||
else -> MPVLib.MPV_FORMAT_NONE
|
||||
}
|
||||
commandExecutor.execute {
|
||||
try {
|
||||
MPVLib.observeProperty(name, mpvFormat)
|
||||
activity.runOnUiThread { result.success(null) }
|
||||
} catch (e: Exception) {
|
||||
Log.e(TAG, "Async observeProperty failed: ${e.message}", e)
|
||||
activity.runOnUiThread { result.success(null) }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Run a block on the command executor (background thread).
|
||||
* Used by the plugin for I/O operations that shouldn't block the main thread.
|
||||
*/
|
||||
fun runOnExecutor(block: () -> Unit) {
|
||||
commandExecutor.execute(block)
|
||||
p.observeProperty(name, fmt)
|
||||
}
|
||||
|
||||
fun command(args: Array<String>) {
|
||||
if (!isInitialized || args.isEmpty()) return
|
||||
MPVLib.command(args)
|
||||
}
|
||||
|
||||
/**
|
||||
* Execute an MPV command asynchronously off the UI thread.
|
||||
* This prevents ANR when commands like loadfile block waiting for network I/O.
|
||||
* The result is called back on the UI thread when the command completes.
|
||||
*/
|
||||
fun commandAsync(args: Array<String>, result: MethodChannel.Result) {
|
||||
if (!isInitialized || args.isEmpty()) {
|
||||
result.success(null)
|
||||
return
|
||||
}
|
||||
|
||||
commandExecutor.execute {
|
||||
try {
|
||||
MPVLib.command(args)
|
||||
activity.runOnUiThread {
|
||||
result.success(null)
|
||||
}
|
||||
} catch (e: Exception) {
|
||||
Log.e(TAG, "Async command failed: ${e.message}", e)
|
||||
activity.runOnUiThread {
|
||||
result.error("COMMAND_FAILED", e.message, null)
|
||||
}
|
||||
}
|
||||
if (!isInitialized || disposing || args.isEmpty()) return
|
||||
scope.launch {
|
||||
try { player?.command(*args) }
|
||||
catch (e: Exception) { Log.w(TAG, "command failed", e) }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -563,10 +396,9 @@ class MpvPlayerCore(private val activity: Activity) :
|
||||
return
|
||||
}
|
||||
disposing = true
|
||||
check(Looper.myLooper() == Looper.getMainLooper())
|
||||
Log.d(TAG, "Disposing")
|
||||
|
||||
// Shutdown command executor
|
||||
commandExecutor.shutdown()
|
||||
handler.removeCallbacksAndMessages(null)
|
||||
|
||||
// Clean up frame rate and audio focus
|
||||
@@ -575,60 +407,67 @@ class MpvPlayerCore(private val activity: Activity) :
|
||||
audioFocusManager?.release()
|
||||
audioFocusManager = null
|
||||
|
||||
if (nativeReady) {
|
||||
// Cancel all coroutines
|
||||
scope.cancel()
|
||||
|
||||
// Detach surface from MPV BEFORE removing views to prevent GPU mutex contention
|
||||
val p = player
|
||||
if (p != null) {
|
||||
try {
|
||||
MPVLib.removeObserver(this)
|
||||
MPVLib.removeLogObserver(this)
|
||||
runBlocking(Dispatchers.IO) { p.setProperty("vo", "null") }
|
||||
p.detachSurface()
|
||||
} catch (e: Exception) {
|
||||
Log.w(TAG, "Failed to remove MPV observers during dispose", e)
|
||||
Log.w(TAG, "Failed to detach surface during dispose", e)
|
||||
}
|
||||
}
|
||||
|
||||
// Capture locals for deferred cleanup
|
||||
val sv = surfaceView
|
||||
val container = surfaceContainer
|
||||
val contentView = activity.findViewById<ViewGroup>(android.R.id.content)
|
||||
|
||||
surfaceContainer = null
|
||||
surfaceView = null
|
||||
|
||||
// Remove layout listener synchronously
|
||||
overlayLayoutListener?.let { listener ->
|
||||
val contentView = activity.findViewById<ViewGroup>(android.R.id.content)
|
||||
contentView.viewTreeObserver.removeOnGlobalLayoutListener(listener)
|
||||
}
|
||||
overlayLayoutListener = null
|
||||
|
||||
// Defer all view removal to avoid AOSP bug where
|
||||
// dispatchWindowVisibilityChanged iterates stale children array
|
||||
// when removeView() runs during an active performTraversals pass.
|
||||
val sv = surfaceView
|
||||
val container = surfaceContainer
|
||||
val contentView = activity.findViewById<ViewGroup>(android.R.id.content)
|
||||
contentView.post {
|
||||
sv?.holder?.removeCallback(this)
|
||||
container?.let { contentView.removeView(it) }
|
||||
surfaceContainer = null
|
||||
surfaceView = null
|
||||
}
|
||||
pendingSurface = null
|
||||
isInitialized = false
|
||||
|
||||
// Run native destroy on background thread to avoid ANR —
|
||||
// MPVLib.destroy() blocks on pthread_cond_wait while mpv's
|
||||
// internal threads (lua, demux, vo) shut down.
|
||||
// The completion callback is posted to the main thread so the
|
||||
// caller (MpvPlayerPlugin) can defer result.success() until
|
||||
// native resources are fully released, preventing a new mpv
|
||||
// instance from being created while the old one still holds memory.
|
||||
if (nativeReady) {
|
||||
// Close player on background thread, then remove views
|
||||
if (p != null) {
|
||||
Thread {
|
||||
synchronized(mpvLock) {
|
||||
try {
|
||||
detachSurfaceInternal()
|
||||
MPVLib.destroy()
|
||||
} catch (e: Exception) {
|
||||
Log.w(TAG, "MPV destroy failed", e)
|
||||
} finally {
|
||||
nativeReady = false
|
||||
}
|
||||
try {
|
||||
p.close()
|
||||
} catch (e: Exception) {
|
||||
Log.w(TAG, "MPV close failed", e)
|
||||
}
|
||||
player = null
|
||||
Log.d(TAG, "Disposed (native)")
|
||||
onComplete?.let { Handler(Looper.getMainLooper()).post(it) }
|
||||
Handler(Looper.getMainLooper()).post {
|
||||
sv?.holder?.removeCallback(this)
|
||||
if (container?.parent != null) {
|
||||
contentView.removeView(container)
|
||||
}
|
||||
onComplete?.invoke()
|
||||
}
|
||||
}.start()
|
||||
} else {
|
||||
// No player — safe to remove views immediately
|
||||
Handler(Looper.getMainLooper()).postAtFrontOfQueue {
|
||||
sv?.holder?.removeCallback(this)
|
||||
if (container?.parent != null) {
|
||||
contentView.removeView(container)
|
||||
}
|
||||
}
|
||||
onComplete?.invoke()
|
||||
}
|
||||
|
||||
// Reset scope for potential re-initialization
|
||||
scope = CoroutineScope(SupervisorJob() + Dispatchers.Main)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -26,6 +26,7 @@ class MpvPlayerPlugin : FlutterPlugin, MethodChannel.MethodCallHandler,
|
||||
private var activity: Activity? = null
|
||||
private var activityBinding: ActivityPluginBinding? = null
|
||||
private val nameToId = mutableMapOf<String, Int>()
|
||||
private var sessionGeneration = 0
|
||||
|
||||
// FlutterPlugin
|
||||
|
||||
@@ -54,6 +55,7 @@ class MpvPlayerPlugin : FlutterPlugin, MethodChannel.MethodCallHandler,
|
||||
}
|
||||
|
||||
override fun onDetachedFromActivity() {
|
||||
++sessionGeneration
|
||||
playerCore?.dispose()
|
||||
playerCore = null
|
||||
activity = null
|
||||
@@ -122,17 +124,28 @@ class MpvPlayerPlugin : FlutterPlugin, MethodChannel.MethodCallHandler,
|
||||
|
||||
currentActivity.runOnUiThread {
|
||||
try {
|
||||
playerCore = MpvPlayerCore(currentActivity).apply {
|
||||
// Dispose stale core idempotently
|
||||
playerCore?.dispose()
|
||||
playerCore = null
|
||||
|
||||
val gen = ++sessionGeneration
|
||||
val core = MpvPlayerCore(currentActivity).apply {
|
||||
delegate = this@MpvPlayerPlugin
|
||||
}
|
||||
playerCore = core
|
||||
|
||||
playerCore?.initialize { success ->
|
||||
core.initialize { success ->
|
||||
if (gen != sessionGeneration || playerCore !== core) {
|
||||
Log.d(TAG, "Stale init callback (gen=$gen, current=$sessionGeneration)")
|
||||
result.success(false)
|
||||
return@initialize
|
||||
}
|
||||
// Start hidden - now safe because setVisible operates on the container,
|
||||
// not the SurfaceView directly (matching ExoPlayer's approach)
|
||||
playerCore?.setVisible(false)
|
||||
core.setVisible(false)
|
||||
Log.d(TAG, "Initialized: $success")
|
||||
result.success(success)
|
||||
} ?: result.success(false)
|
||||
}
|
||||
} catch (e: Exception) {
|
||||
Log.e(TAG, "Failed to initialize: ${e.message}", e)
|
||||
result.error("INIT_FAILED", e.message, null)
|
||||
@@ -142,14 +155,14 @@ class MpvPlayerPlugin : FlutterPlugin, MethodChannel.MethodCallHandler,
|
||||
|
||||
private fun handleDispose(result: MethodChannel.Result) {
|
||||
activity?.runOnUiThread {
|
||||
playerCore?.dispose {
|
||||
playerCore = null
|
||||
val core = playerCore
|
||||
++sessionGeneration
|
||||
playerCore = null
|
||||
|
||||
core?.dispose {
|
||||
Log.d(TAG, "Disposed")
|
||||
result.success(null)
|
||||
} ?: run {
|
||||
playerCore = null
|
||||
result.success(null)
|
||||
}
|
||||
} ?: result.success(null)
|
||||
} ?: result.success(null)
|
||||
}
|
||||
|
||||
@@ -162,8 +175,8 @@ class MpvPlayerPlugin : FlutterPlugin, MethodChannel.MethodCallHandler,
|
||||
return
|
||||
}
|
||||
|
||||
playerCore?.setPropertyAsync(name, value, result)
|
||||
?: result.success(null)
|
||||
playerCore?.setProperty(name, value)
|
||||
result.success(null)
|
||||
}
|
||||
|
||||
private fun handleGetProperty(call: MethodCall, result: MethodChannel.Result) {
|
||||
@@ -174,8 +187,8 @@ class MpvPlayerPlugin : FlutterPlugin, MethodChannel.MethodCallHandler,
|
||||
return
|
||||
}
|
||||
|
||||
playerCore?.getPropertyAsync(name, result)
|
||||
?: result.success(null)
|
||||
val value = playerCore?.getProperty(name)
|
||||
result.success(value)
|
||||
}
|
||||
|
||||
private fun handleObserveProperty(call: MethodCall, result: MethodChannel.Result) {
|
||||
@@ -189,8 +202,8 @@ class MpvPlayerPlugin : FlutterPlugin, MethodChannel.MethodCallHandler,
|
||||
}
|
||||
|
||||
nameToId[name] = id
|
||||
playerCore?.observePropertyAsync(name, format, result)
|
||||
?: result.success(null)
|
||||
playerCore?.observeProperty(name, format)
|
||||
result.success(null)
|
||||
}
|
||||
|
||||
private fun handleCommand(call: MethodCall, result: MethodChannel.Result) {
|
||||
@@ -201,10 +214,8 @@ class MpvPlayerPlugin : FlutterPlugin, MethodChannel.MethodCallHandler,
|
||||
return
|
||||
}
|
||||
|
||||
// Use async command to prevent ANR - command executes off UI thread
|
||||
// and result is called back when complete
|
||||
playerCore?.commandAsync(args.toTypedArray(), result)
|
||||
?: result.success(null)
|
||||
playerCore?.command(args.toTypedArray())
|
||||
result.success(null)
|
||||
}
|
||||
|
||||
private fun handleSetVisible(call: MethodCall, result: MethodChannel.Result) {
|
||||
@@ -260,7 +271,7 @@ class MpvPlayerPlugin : FlutterPlugin, MethodChannel.MethodCallHandler,
|
||||
}
|
||||
|
||||
// Open file descriptor off UI thread to prevent ANR on slow storage
|
||||
playerCore?.runOnExecutor {
|
||||
Thread {
|
||||
try {
|
||||
val uri = Uri.parse(uriString)
|
||||
val pfd = contentResolver.openFileDescriptor(uri, "r")
|
||||
@@ -268,7 +279,7 @@ class MpvPlayerPlugin : FlutterPlugin, MethodChannel.MethodCallHandler,
|
||||
activity?.runOnUiThread {
|
||||
result.error("OPEN_FAILED", "Failed to open file descriptor for $uriString", null)
|
||||
}
|
||||
return@runOnExecutor
|
||||
return@Thread
|
||||
}
|
||||
|
||||
val fd = pfd.detachFd()
|
||||
@@ -278,7 +289,7 @@ class MpvPlayerPlugin : FlutterPlugin, MethodChannel.MethodCallHandler,
|
||||
Log.e(TAG, "Failed to open content FD: ${e.message}", e)
|
||||
activity?.runOnUiThread { result.error("OPEN_FAILED", e.message, null) }
|
||||
}
|
||||
} ?: result.error("NO_PLAYER", "Player not initialized", null)
|
||||
}.start()
|
||||
}
|
||||
|
||||
// PlayerDelegate
|
||||
|
||||
@@ -37,16 +37,19 @@ class FrameRateManager(
|
||||
return
|
||||
}
|
||||
|
||||
if (surface == null) {
|
||||
Log.d(TAG, "setVideoFrameRate: Surface not available")
|
||||
return
|
||||
}
|
||||
|
||||
log("fps=$fps, duration=${videoDurationMs}ms, API=${Build.VERSION.SDK_INT}")
|
||||
|
||||
when {
|
||||
Build.VERSION.SDK_INT >= Build.VERSION_CODES.S -> setFrameRateS(fps, surface, videoDurationMs)
|
||||
Build.VERSION.SDK_INT >= Build.VERSION_CODES.R -> setFrameRateR(fps, surface)
|
||||
Build.VERSION.SDK_INT >= Build.VERSION_CODES.S -> {
|
||||
if (surface == null) {
|
||||
Log.d(TAG, "setVideoFrameRate: Surface not available")
|
||||
return
|
||||
}
|
||||
setFrameRateS(fps, surface, videoDurationMs)
|
||||
}
|
||||
// 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)
|
||||
}
|
||||
}
|
||||
@@ -58,6 +61,13 @@ class FrameRateManager(
|
||||
getDisplayManager().unregisterDisplayListener(it)
|
||||
displayListener = null
|
||||
}
|
||||
// Restore default display mode on API M (preferredDisplayModeId persists)
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {
|
||||
activity.window?.attributes?.let { attrs ->
|
||||
attrs.preferredDisplayModeId = 0
|
||||
activity.window?.attributes = attrs
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private fun registerDisplayListener() {
|
||||
@@ -79,13 +89,6 @@ class FrameRateManager(
|
||||
getDisplayManager().registerDisplayListener(displayListener, handler)
|
||||
}
|
||||
|
||||
@RequiresApi(Build.VERSION_CODES.R)
|
||||
private fun setFrameRateR(fps: Float, surface: Surface) {
|
||||
Log.d(TAG, "setFrameRateR: Setting frame rate to $fps")
|
||||
surface.setFrameRate(fps, Surface.FRAME_RATE_COMPATIBILITY_FIXED_SOURCE)
|
||||
registerDisplayListener()
|
||||
}
|
||||
|
||||
@RequiresApi(Build.VERSION_CODES.S)
|
||||
private fun setFrameRateS(fps: Float, surface: Surface, videoDurationMs: Long) {
|
||||
Log.d(TAG, "setFrameRateS: fps=$fps, duration=${videoDurationMs}ms")
|
||||
@@ -162,7 +165,7 @@ class FrameRateManager(
|
||||
BigDecimal(mode.refreshRate.toString()).setScale(1, RoundingMode.FLOOR)) {
|
||||
modeToUse = mode
|
||||
break
|
||||
} else if (mode.refreshRate % fps == 0f) {
|
||||
} else if ((mode.refreshRate % fps).let { it < 0.1f || (fps - it) < 0.1f }) {
|
||||
modeToUse = mode
|
||||
break
|
||||
}
|
||||
|
||||
@@ -3,11 +3,14 @@ package com.edde746.plezy.watchnext
|
||||
import android.content.Context
|
||||
import android.content.Intent
|
||||
import android.content.pm.PackageManager
|
||||
import android.os.Handler
|
||||
import android.os.Looper
|
||||
import android.util.Log
|
||||
import androidx.tvprovider.media.tv.TvContractCompat
|
||||
import io.flutter.embedding.engine.plugins.FlutterPlugin
|
||||
import io.flutter.plugin.common.MethodCall
|
||||
import io.flutter.plugin.common.MethodChannel
|
||||
import java.util.concurrent.Executors
|
||||
|
||||
/**
|
||||
* Flutter plugin for Android TV Watch Next integration.
|
||||
@@ -37,6 +40,8 @@ class WatchNextPlugin : FlutterPlugin, MethodChannel.MethodCallHandler {
|
||||
private lateinit var methodChannel: MethodChannel
|
||||
private var applicationContext: Context? = null
|
||||
private var watchNextProvider: WatchNextProvider? = null
|
||||
private val ioExecutor by lazy { Executors.newSingleThreadExecutor() }
|
||||
private val mainHandler = Handler(Looper.getMainLooper())
|
||||
|
||||
override fun onAttachedToEngine(binding: FlutterPlugin.FlutterPluginBinding) {
|
||||
applicationContext = binding.applicationContext
|
||||
@@ -49,6 +54,7 @@ class WatchNextPlugin : FlutterPlugin, MethodChannel.MethodCallHandler {
|
||||
methodChannel.setMethodCallHandler(null)
|
||||
applicationContext = null
|
||||
watchNextProvider = null
|
||||
ioExecutor.shutdown()
|
||||
}
|
||||
|
||||
override fun onMethodCall(call: MethodCall, result: MethodChannel.Result) {
|
||||
@@ -85,7 +91,7 @@ class WatchNextPlugin : FlutterPlugin, MethodChannel.MethodCallHandler {
|
||||
}
|
||||
|
||||
val items = itemsData.mapNotNull { parseWatchNextItem(it) }
|
||||
result.success(provider.syncWatchNextPrograms(items))
|
||||
executeOnIo(result) { provider.syncWatchNextPrograms(items) }
|
||||
}
|
||||
|
||||
private fun handleClear(result: MethodChannel.Result) {
|
||||
@@ -94,7 +100,7 @@ class WatchNextPlugin : FlutterPlugin, MethodChannel.MethodCallHandler {
|
||||
result.error("NOT_INITIALIZED", "WatchNextProvider not initialized", null)
|
||||
return
|
||||
}
|
||||
result.success(provider.clearAll())
|
||||
executeOnIo(result) { provider.clearAll() }
|
||||
}
|
||||
|
||||
private fun handleRemove(call: MethodCall, result: MethodChannel.Result) {
|
||||
@@ -109,7 +115,23 @@ class WatchNextPlugin : FlutterPlugin, MethodChannel.MethodCallHandler {
|
||||
result.error("INVALID_ARGS", "Missing 'contentId' argument", null)
|
||||
return
|
||||
}
|
||||
result.success(provider.removeItem(contentId))
|
||||
executeOnIo(result) { provider.removeItem(contentId) }
|
||||
}
|
||||
|
||||
private fun executeOnIo(result: MethodChannel.Result, block: () -> Any?) {
|
||||
try {
|
||||
ioExecutor.execute {
|
||||
try {
|
||||
val value = block()
|
||||
mainHandler.post { result.success(value) }
|
||||
} catch (e: Exception) {
|
||||
Log.e(TAG, "IO operation failed: ${e.message}", e)
|
||||
mainHandler.post { result.error("IO_ERROR", e.message, null) }
|
||||
}
|
||||
}
|
||||
} catch (e: java.util.concurrent.RejectedExecutionException) {
|
||||
result.error("SHUTDOWN", "Plugin is shutting down", null)
|
||||
}
|
||||
}
|
||||
|
||||
private fun handleGetInitialDeepLink(result: MethodChannel.Result) {
|
||||
|
||||
@@ -20,9 +20,10 @@ platform :android do
|
||||
end
|
||||
|
||||
debug_info_dir = "./debug-info/#{version_name}+#{version_code}"
|
||||
git_commit = `git rev-parse --short HEAD`.strip
|
||||
|
||||
# Build the Flutter app
|
||||
sh("cd #{ENV['PWD']}/.. && flutter build appbundle --dart-define=ENABLE_IN_APP_REVIEW=true --dart-define=ENABLE_SENTRY=true --obfuscate --split-debug-info=#{debug_info_dir}/aab")
|
||||
sh("cd #{ENV['PWD']}/.. && flutter build appbundle --dart-define=ENABLE_IN_APP_REVIEW=true --dart-define=ENABLE_SENTRY=true --dart-define=GIT_COMMIT=#{git_commit} --obfuscate --split-debug-info=#{debug_info_dir}/aab")
|
||||
|
||||
upload_to_play_store(
|
||||
track: "production",
|
||||
@@ -32,7 +33,7 @@ platform :android do
|
||||
)
|
||||
|
||||
# Build universal APK for Amazon Appstore (doesn't accept AABs, excludes x86 via env var)
|
||||
sh("cd #{ENV['PWD']}/.. && AMAZON=1 flutter build apk --release --dart-define=ENABLE_SENTRY=true --obfuscate --split-debug-info=#{debug_info_dir}/apk")
|
||||
sh("cd #{ENV['PWD']}/.. && AMAZON=1 flutter build apk --release --dart-define=ENABLE_SENTRY=true --dart-define=GIT_COMMIT=#{git_commit} --obfuscate --split-debug-info=#{debug_info_dir}/apk")
|
||||
|
||||
upload_to_amazon_appstore(
|
||||
apk_paths: [
|
||||
|
||||
+22
-103
@@ -8,94 +8,45 @@ PODS:
|
||||
- file_picker (0.0.1):
|
||||
- Flutter
|
||||
- Flutter (1.0.0)
|
||||
- GoogleDataTransport (10.1.0):
|
||||
- nanopb (~> 3.30910.0)
|
||||
- PromisesObjC (~> 2.4)
|
||||
- GoogleMLKit/BarcodeScanning (7.0.0):
|
||||
- GoogleMLKit/MLKitCore
|
||||
- MLKitBarcodeScanning (~> 6.0.0)
|
||||
- GoogleMLKit/MLKitCore (7.0.0):
|
||||
- MLKitCommon (~> 12.0.0)
|
||||
- GoogleToolboxForMac/Defines (4.2.1)
|
||||
- GoogleToolboxForMac/Logger (4.2.1):
|
||||
- GoogleToolboxForMac/Defines (= 4.2.1)
|
||||
- "GoogleToolboxForMac/NSData+zlib (4.2.1)":
|
||||
- GoogleToolboxForMac/Defines (= 4.2.1)
|
||||
- GoogleUtilities/Environment (8.1.0):
|
||||
- GoogleUtilities/Privacy
|
||||
- GoogleUtilities/Logger (8.1.0):
|
||||
- GoogleUtilities/Environment
|
||||
- GoogleUtilities/Privacy
|
||||
- GoogleUtilities/Privacy (8.1.0)
|
||||
- GoogleUtilities/UserDefaults (8.1.0):
|
||||
- GoogleUtilities/Logger
|
||||
- GoogleUtilities/Privacy
|
||||
- GTMSessionFetcher/Core (3.5.0)
|
||||
- in_app_review (2.0.0):
|
||||
- Flutter
|
||||
- MLImage (1.0.0-beta6)
|
||||
- MLKitBarcodeScanning (6.0.0):
|
||||
- MLKitCommon (~> 12.0)
|
||||
- MLKitVision (~> 8.0)
|
||||
- MLKitCommon (12.0.0):
|
||||
- GoogleDataTransport (~> 10.0)
|
||||
- GoogleToolboxForMac/Logger (< 5.0, >= 4.2.1)
|
||||
- "GoogleToolboxForMac/NSData+zlib (< 5.0, >= 4.2.1)"
|
||||
- GoogleUtilities/Logger (~> 8.0)
|
||||
- GoogleUtilities/UserDefaults (~> 8.0)
|
||||
- GTMSessionFetcher/Core (< 4.0, >= 3.3.2)
|
||||
- MLKitVision (8.0.0):
|
||||
- GoogleToolboxForMac/Logger (< 5.0, >= 4.2.1)
|
||||
- "GoogleToolboxForMac/NSData+zlib (< 5.0, >= 4.2.1)"
|
||||
- GTMSessionFetcher/Core (< 4.0, >= 3.3.2)
|
||||
- MLImage (= 1.0.0-beta6)
|
||||
- MLKitCommon (~> 12.0)
|
||||
- mobile_scanner (6.0.2):
|
||||
- mobile_scanner (7.0.0):
|
||||
- Flutter
|
||||
- GoogleMLKit/BarcodeScanning (~> 7.0.0)
|
||||
- nanopb (3.30910.0):
|
||||
- nanopb/decode (= 3.30910.0)
|
||||
- nanopb/encode (= 3.30910.0)
|
||||
- nanopb/decode (3.30910.0)
|
||||
- nanopb/encode (3.30910.0)
|
||||
- FlutterMacOS
|
||||
- os_media_controls (0.0.1):
|
||||
- Flutter
|
||||
- package_info_plus (0.4.5):
|
||||
- Flutter
|
||||
- path_provider_foundation (0.0.1):
|
||||
- Sentry/HybridSDK (8.58.0)
|
||||
- sentry_flutter (9.15.0):
|
||||
- Flutter
|
||||
- FlutterMacOS
|
||||
- PromisesObjC (2.4.0)
|
||||
- Sentry/HybridSDK (8.46.0)
|
||||
- sentry_flutter (8.14.2):
|
||||
- Flutter
|
||||
- FlutterMacOS
|
||||
- Sentry/HybridSDK (= 8.46.0)
|
||||
- Sentry/HybridSDK (= 8.58.0)
|
||||
- shared_preferences_foundation (0.0.1):
|
||||
- Flutter
|
||||
- FlutterMacOS
|
||||
- sqflite_darwin (0.0.4):
|
||||
- Flutter
|
||||
- FlutterMacOS
|
||||
- sqlite3 (3.51.1):
|
||||
- sqlite3/common (= 3.51.1)
|
||||
- sqlite3/common (3.51.1)
|
||||
- sqlite3/dbstatvtab (3.51.1):
|
||||
- sqlite3 (3.52.0):
|
||||
- sqlite3/common (= 3.52.0)
|
||||
- sqlite3/common (3.52.0)
|
||||
- sqlite3/dbstatvtab (3.52.0):
|
||||
- sqlite3/common
|
||||
- sqlite3/fts5 (3.51.1):
|
||||
- sqlite3/fts5 (3.52.0):
|
||||
- sqlite3/common
|
||||
- sqlite3/math (3.51.1):
|
||||
- sqlite3/math (3.52.0):
|
||||
- sqlite3/common
|
||||
- sqlite3/perf-threadsafe (3.51.1):
|
||||
- sqlite3/perf-threadsafe (3.52.0):
|
||||
- sqlite3/common
|
||||
- sqlite3/rtree (3.51.1):
|
||||
- sqlite3/rtree (3.52.0):
|
||||
- sqlite3/common
|
||||
- sqlite3/session (3.51.1):
|
||||
- sqlite3/session (3.52.0):
|
||||
- sqlite3/common
|
||||
- sqlite3_flutter_libs (0.0.1):
|
||||
- Flutter
|
||||
- FlutterMacOS
|
||||
- sqlite3 (~> 3.51.1)
|
||||
- sqlite3 (~> 3.52.0)
|
||||
- sqlite3/dbstatvtab
|
||||
- sqlite3/fts5
|
||||
- sqlite3/math
|
||||
@@ -108,8 +59,6 @@ PODS:
|
||||
- Flutter
|
||||
- wakelock_plus (0.0.1):
|
||||
- Flutter
|
||||
- workmanager_apple (0.0.1):
|
||||
- Flutter
|
||||
|
||||
DEPENDENCIES:
|
||||
- background_downloader (from `.symlinks/plugins/background_downloader/ios`)
|
||||
@@ -118,10 +67,9 @@ DEPENDENCIES:
|
||||
- file_picker (from `.symlinks/plugins/file_picker/ios`)
|
||||
- Flutter (from `Flutter`)
|
||||
- in_app_review (from `.symlinks/plugins/in_app_review/ios`)
|
||||
- mobile_scanner (from `.symlinks/plugins/mobile_scanner/ios`)
|
||||
- mobile_scanner (from `.symlinks/plugins/mobile_scanner/darwin`)
|
||||
- os_media_controls (from `.symlinks/plugins/os_media_controls/ios`)
|
||||
- package_info_plus (from `.symlinks/plugins/package_info_plus/ios`)
|
||||
- path_provider_foundation (from `.symlinks/plugins/path_provider_foundation/darwin`)
|
||||
- sentry_flutter (from `.symlinks/plugins/sentry_flutter/ios`)
|
||||
- shared_preferences_foundation (from `.symlinks/plugins/shared_preferences_foundation/darwin`)
|
||||
- sqflite_darwin (from `.symlinks/plugins/sqflite_darwin/darwin`)
|
||||
@@ -129,21 +77,9 @@ DEPENDENCIES:
|
||||
- universal_gamepad (from `.symlinks/plugins/universal_gamepad/ios`)
|
||||
- url_launcher_ios (from `.symlinks/plugins/url_launcher_ios/ios`)
|
||||
- wakelock_plus (from `.symlinks/plugins/wakelock_plus/ios`)
|
||||
- workmanager_apple (from `.symlinks/plugins/workmanager_apple/ios`)
|
||||
|
||||
SPEC REPOS:
|
||||
trunk:
|
||||
- GoogleDataTransport
|
||||
- GoogleMLKit
|
||||
- GoogleToolboxForMac
|
||||
- GoogleUtilities
|
||||
- GTMSessionFetcher
|
||||
- MLImage
|
||||
- MLKitBarcodeScanning
|
||||
- MLKitCommon
|
||||
- MLKitVision
|
||||
- nanopb
|
||||
- PromisesObjC
|
||||
- Sentry
|
||||
- sqlite3
|
||||
|
||||
@@ -161,13 +97,11 @@ EXTERNAL SOURCES:
|
||||
in_app_review:
|
||||
:path: ".symlinks/plugins/in_app_review/ios"
|
||||
mobile_scanner:
|
||||
:path: ".symlinks/plugins/mobile_scanner/ios"
|
||||
:path: ".symlinks/plugins/mobile_scanner/darwin"
|
||||
os_media_controls:
|
||||
:path: ".symlinks/plugins/os_media_controls/ios"
|
||||
package_info_plus:
|
||||
:path: ".symlinks/plugins/package_info_plus/ios"
|
||||
path_provider_foundation:
|
||||
:path: ".symlinks/plugins/path_provider_foundation/darwin"
|
||||
sentry_flutter:
|
||||
:path: ".symlinks/plugins/sentry_flutter/ios"
|
||||
shared_preferences_foundation:
|
||||
@@ -182,8 +116,6 @@ EXTERNAL SOURCES:
|
||||
:path: ".symlinks/plugins/url_launcher_ios/ios"
|
||||
wakelock_plus:
|
||||
:path: ".symlinks/plugins/wakelock_plus/ios"
|
||||
workmanager_apple:
|
||||
:path: ".symlinks/plugins/workmanager_apple/ios"
|
||||
|
||||
SPEC CHECKSUMS:
|
||||
background_downloader: 50e91d979067b82081aba359d7d916b3ba5fadad
|
||||
@@ -191,32 +123,19 @@ SPEC CHECKSUMS:
|
||||
device_info_plus: 21fcca2080fbcd348be798aa36c3e5ed849eefbe
|
||||
file_picker: 8fc6fe5e42585a217d44d22f79ec046cb8d81140
|
||||
Flutter: cabc95a1d2626b1b06e7179b784ebcf0c0cde467
|
||||
GoogleDataTransport: aae35b7ea0c09004c3797d53c8c41f66f219d6a7
|
||||
GoogleMLKit: eff9e23ec1d90ea4157a1ee2e32a4f610c5b3318
|
||||
GoogleToolboxForMac: d1a2cbf009c453f4d6ded37c105e2f67a32206d8
|
||||
GoogleUtilities: 00c88b9a86066ef77f0da2fab05f65d7768ed8e1
|
||||
GTMSessionFetcher: 5aea5ba6bd522a239e236100971f10cb71b96ab6
|
||||
in_app_review: 7dd1ea365263f834b8464673f9df72c80c17c937
|
||||
MLImage: 0ad1c5f50edd027672d8b26b0fee78a8b4a0fc56
|
||||
MLKitBarcodeScanning: 0a3064da0a7f49ac24ceb3cb46a5bc67496facd2
|
||||
MLKitCommon: 07c2c33ae5640e5380beaaa6e4b9c249a205542d
|
||||
MLKitVision: 45e79d68845a2de77e2dd4d7f07947f0ed157b0e
|
||||
mobile_scanner: af8f71879eaba2bbcb4d86c6a462c3c0e7f23036
|
||||
nanopb: fad817b59e0457d11a5dfbde799381cd727c1275
|
||||
mobile_scanner: 9157936403f5a0644ca3779a38ff8404c5434a93
|
||||
os_media_controls: 86dceab6245a5325af90fc0fdebe243c42d789b4
|
||||
package_info_plus: af8e2ca6888548050f16fa2f1938db7b5a5df499
|
||||
path_provider_foundation: bb55f6dbba17d0dccd6737fe6f7f34fbd0376880
|
||||
PromisesObjC: f5707f49cb48b9636751c5b2e7d227e43fba9f47
|
||||
Sentry: da60d980b197a46db0b35ea12cb8f39af48d8854
|
||||
sentry_flutter: 27892878729f42701297c628eb90e7c6529f3684
|
||||
Sentry: d587a8fe91ca13503ecd69a1905f3e8a0fcf61be
|
||||
sentry_flutter: 8939e491bc1511868118c96cae47d945e6f69798
|
||||
shared_preferences_foundation: 7036424c3d8ec98dfe75ff1667cb0cd531ec82bb
|
||||
sqflite_darwin: 20b2a3a3b70e43edae938624ce550a3cbf66a3d0
|
||||
sqlite3: 8d708bc63e9f4ce48f0ad9d6269e478c5ced1d9b
|
||||
sqlite3_flutter_libs: d13b8b3003f18f596e542bcb9482d105577eff41
|
||||
sqlite3: a51c07cf16e023d6c48abd5e5791a61a47354921
|
||||
sqlite3_flutter_libs: b3e120efe9a82017e5552a620f696589ed4f62ab
|
||||
universal_gamepad: e10172778a8a399cce234494968f38724974919e
|
||||
url_launcher_ios: 7a95fa5b60cc718a708b8f2966718e93db0cef1b
|
||||
wakelock_plus: e29112ab3ef0b318e58cfa5c32326458be66b556
|
||||
workmanager_apple: 904529ae31e97fc5be632cf628507652294a0778
|
||||
|
||||
PODFILE CHECKSUM: 16bb7f67e16d8aaa2bfb97666803fbfb291b6559
|
||||
|
||||
|
||||
@@ -8,20 +8,20 @@
|
||||
|
||||
/* Begin PBXBuildFile section */
|
||||
1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; };
|
||||
2CA552536A23AFD33344616B /* Pods_RunnerTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 200265C4B9C45EDD150FB4C3 /* Pods_RunnerTests.framework */; };
|
||||
331C808B294A63AB00263BE5 /* RunnerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 331C807B294A618700263BE5 /* RunnerTests.swift */; };
|
||||
3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; };
|
||||
50DEEA8E23D1B433DE5341D6 /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2C12D873DE8572579684A82C /* Pods_Runner.framework */; };
|
||||
6A48DFB02EA70C7100C1F7CD /* plezy.icon in Resources */ = {isa = PBXBuildFile; fileRef = 6A48DFAF2EA70C7100C1F7CD /* plezy.icon */; };
|
||||
6A8A46212EDB320D0057B88C /* MPVKit in Frameworks */ = {isa = PBXBuildFile; productRef = 6A8A46202EDB320D0057B88C /* MPVKit */; };
|
||||
6A8A46252EDB370C0057B88C /* MpvPlayerPlugin.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6A8A46232EDB370C0057B88C /* MpvPlayerPlugin.swift */; };
|
||||
6A8A46262EDB370C0057B88C /* MpvPlayerCore.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6A8A46222EDB370C0057B88C /* MpvPlayerCore.swift */; };
|
||||
B1D51A6A2F00110000000001 /* MpvPlayerCoreBase.swift in Sources */ = {isa = PBXBuildFile; fileRef = B1D51A6A2F00110000000002 /* MpvPlayerCoreBase.swift */; };
|
||||
B1D51A6A2F00110000000005 /* MpvPlayerPluginShared.swift in Sources */ = {isa = PBXBuildFile; fileRef = B1D51A6A2F00110000000006 /* MpvPlayerPluginShared.swift */; };
|
||||
92F969587D0E464D999910F5 /* MpvPipController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 92F969587D0E464D999910F4 /* MpvPipController.swift */; };
|
||||
702A247AA28B055172318FF9 /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 61B22BEA638334DA7861BCF6 /* Pods_Runner.framework */; };
|
||||
74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; };
|
||||
92F969587D0E464D999910F5 /* MpvPipController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 92F969587D0E464D999910F4 /* MpvPipController.swift */; };
|
||||
97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; };
|
||||
97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; };
|
||||
F37BB572E0F0606E20596E43 /* Pods_RunnerTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3469ED9D4F3E58F8C3AEB7DC /* Pods_RunnerTests.framework */; };
|
||||
B1D51A6A2F00110000000001 /* MpvPlayerCoreBase.swift in Sources */ = {isa = PBXBuildFile; fileRef = B1D51A6A2F00110000000002 /* MpvPlayerCoreBase.swift */; };
|
||||
B1D51A6A2F00110000000005 /* MpvPlayerPluginShared.swift in Sources */ = {isa = PBXBuildFile; fileRef = B1D51A6A2F00110000000006 /* MpvPlayerPluginShared.swift */; };
|
||||
/* End PBXBuildFile section */
|
||||
|
||||
/* Begin PBXContainerItemProxy section */
|
||||
@@ -48,34 +48,34 @@
|
||||
/* End PBXCopyFilesBuildPhase section */
|
||||
|
||||
/* Begin PBXFileReference section */
|
||||
030239DB288C484414523AFE /* Pods-RunnerTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.debug.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.debug.xcconfig"; sourceTree = "<group>"; };
|
||||
1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = "<group>"; };
|
||||
1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = "<group>"; };
|
||||
1E1EC7646F3085BF9127AB2A /* Pods-Runner.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"; sourceTree = "<group>"; };
|
||||
2C12D873DE8572579684A82C /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
200265C4B9C45EDD150FB4C3 /* Pods_RunnerTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_RunnerTests.framework; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
230D46AA7CEA8CB81C420035 /* Pods-RunnerTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.release.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.release.xcconfig"; sourceTree = "<group>"; };
|
||||
331C807B294A618700263BE5 /* RunnerTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RunnerTests.swift; sourceTree = "<group>"; };
|
||||
331C8081294A63A400263BE5 /* RunnerTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = RunnerTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
3469ED9D4F3E58F8C3AEB7DC /* Pods_RunnerTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_RunnerTests.framework; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = "<group>"; };
|
||||
5B81FA7048BFA976F49D555E /* Pods-RunnerTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.debug.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.debug.xcconfig"; sourceTree = "<group>"; };
|
||||
5C4660106A040D374746C713 /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = "<group>"; };
|
||||
61B22BEA638334DA7861BCF6 /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
6A48DFAF2EA70C7100C1F7CD /* plezy.icon */ = {isa = PBXFileReference; lastKnownFileType = folder.iconcomposer.icon; path = plezy.icon; sourceTree = "<group>"; };
|
||||
6A8A46222EDB370C0057B88C /* MpvPlayerCore.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MpvPlayerCore.swift; sourceTree = "<group>"; };
|
||||
6A8A46232EDB370C0057B88C /* MpvPlayerPlugin.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MpvPlayerPlugin.swift; sourceTree = "<group>"; };
|
||||
B1D51A6A2F00110000000002 /* MpvPlayerCoreBase.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = MpvPlayerCoreBase.swift; path = ../shared/apple/MpvPlayer/MpvPlayerCoreBase.swift; sourceTree = SOURCE_ROOT; };
|
||||
B1D51A6A2F00110000000006 /* MpvPlayerPluginShared.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = MpvPlayerPluginShared.swift; path = ../shared/apple/MpvPlayer/MpvPlayerPluginShared.swift; sourceTree = SOURCE_ROOT; };
|
||||
92F969587D0E464D999910F4 /* MpvPipController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MpvPipController.swift; sourceTree = "<group>"; };
|
||||
6E3FE696F0F85B37E212CCEE /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = "<group>"; };
|
||||
6FAF62B46A8A7A431F17FCD8 /* Pods-RunnerTests.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.profile.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.profile.xcconfig"; sourceTree = "<group>"; };
|
||||
74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = "<group>"; };
|
||||
74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
|
||||
7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = "<group>"; };
|
||||
83B9EB35C25EEF40090F6A88 /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = "<group>"; };
|
||||
87ADF6219C65A13967DFF03C /* Pods-RunnerTests.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.profile.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.profile.xcconfig"; sourceTree = "<group>"; };
|
||||
92F969587D0E464D999910F4 /* MpvPipController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MpvPipController.swift; sourceTree = "<group>"; };
|
||||
9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = "<group>"; };
|
||||
9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = "<group>"; };
|
||||
97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
|
||||
97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
|
||||
97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
|
||||
A8738BEC00467F05948734DD /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = "<group>"; };
|
||||
D239CED757CED630C2B0A161 /* Pods-RunnerTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.release.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.release.xcconfig"; sourceTree = "<group>"; };
|
||||
B1D51A6A2F00110000000002 /* MpvPlayerCoreBase.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = MpvPlayerCoreBase.swift; path = ../shared/apple/MpvPlayer/MpvPlayerCoreBase.swift; sourceTree = SOURCE_ROOT; };
|
||||
B1D51A6A2F00110000000006 /* MpvPlayerPluginShared.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = MpvPlayerPluginShared.swift; path = ../shared/apple/MpvPlayer/MpvPlayerPluginShared.swift; sourceTree = SOURCE_ROOT; };
|
||||
C208E69E3A3B935CE009B4D5 /* Pods-Runner.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"; sourceTree = "<group>"; };
|
||||
/* End PBXFileReference section */
|
||||
|
||||
/* Begin PBXFrameworksBuildPhase section */
|
||||
@@ -83,7 +83,7 @@
|
||||
isa = PBXFrameworksBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
F37BB572E0F0606E20596E43 /* Pods_RunnerTests.framework in Frameworks */,
|
||||
2CA552536A23AFD33344616B /* Pods_RunnerTests.framework in Frameworks */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
@@ -91,14 +91,23 @@
|
||||
isa = PBXFrameworksBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
50DEEA8E23D1B433DE5341D6 /* Pods_Runner.framework in Frameworks */,
|
||||
6A8A46212EDB320D0057B88C /* MPVKit in Frameworks */,
|
||||
702A247AA28B055172318FF9 /* Pods_Runner.framework in Frameworks */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
/* End PBXFrameworksBuildPhase section */
|
||||
|
||||
/* Begin PBXGroup section */
|
||||
19B1F8004DD75C8EEB4662AB /* Frameworks */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
61B22BEA638334DA7861BCF6 /* Pods_Runner.framework */,
|
||||
200265C4B9C45EDD150FB4C3 /* Pods_RunnerTests.framework */,
|
||||
);
|
||||
name = Frameworks;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
331C8082294A63A400263BE5 /* RunnerTests */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
@@ -107,15 +116,6 @@
|
||||
path = RunnerTests;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
67716449E04A72AA71A90156 /* Frameworks */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
2C12D873DE8572579684A82C /* Pods_Runner.framework */,
|
||||
3469ED9D4F3E58F8C3AEB7DC /* Pods_RunnerTests.framework */,
|
||||
);
|
||||
name = Frameworks;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
6A8A46242EDB370C0057B88C /* MpvPlayer */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
@@ -131,12 +131,12 @@
|
||||
875C8AEFBBA3759A1849D674 /* Pods */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
A8738BEC00467F05948734DD /* Pods-Runner.debug.xcconfig */,
|
||||
83B9EB35C25EEF40090F6A88 /* Pods-Runner.release.xcconfig */,
|
||||
1E1EC7646F3085BF9127AB2A /* Pods-Runner.profile.xcconfig */,
|
||||
5B81FA7048BFA976F49D555E /* Pods-RunnerTests.debug.xcconfig */,
|
||||
D239CED757CED630C2B0A161 /* Pods-RunnerTests.release.xcconfig */,
|
||||
87ADF6219C65A13967DFF03C /* Pods-RunnerTests.profile.xcconfig */,
|
||||
6E3FE696F0F85B37E212CCEE /* Pods-Runner.debug.xcconfig */,
|
||||
5C4660106A040D374746C713 /* Pods-Runner.release.xcconfig */,
|
||||
C208E69E3A3B935CE009B4D5 /* Pods-Runner.profile.xcconfig */,
|
||||
030239DB288C484414523AFE /* Pods-RunnerTests.debug.xcconfig */,
|
||||
230D46AA7CEA8CB81C420035 /* Pods-RunnerTests.release.xcconfig */,
|
||||
6FAF62B46A8A7A431F17FCD8 /* Pods-RunnerTests.profile.xcconfig */,
|
||||
);
|
||||
path = Pods;
|
||||
sourceTree = "<group>";
|
||||
@@ -160,8 +160,8 @@
|
||||
97C146EF1CF9000F007C117D /* Products */,
|
||||
331C8082294A63A400263BE5 /* RunnerTests */,
|
||||
875C8AEFBBA3759A1849D674 /* Pods */,
|
||||
67716449E04A72AA71A90156 /* Frameworks */,
|
||||
6A48DFAF2EA70C7100C1F7CD /* plezy.icon */,
|
||||
19B1F8004DD75C8EEB4662AB /* Frameworks */,
|
||||
);
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
@@ -196,7 +196,7 @@
|
||||
isa = PBXNativeTarget;
|
||||
buildConfigurationList = 331C8087294A63A400263BE5 /* Build configuration list for PBXNativeTarget "RunnerTests" */;
|
||||
buildPhases = (
|
||||
684A4A968F313A7FDAEBF3B8 /* [CP] Check Pods Manifest.lock */,
|
||||
C5965E09A75FF4B9D47A6A5A /* [CP] Check Pods Manifest.lock */,
|
||||
331C807D294A63A400263BE5 /* Sources */,
|
||||
331C807F294A63A400263BE5 /* Resources */,
|
||||
582EBCC1C90BEBEC365D972D /* Frameworks */,
|
||||
@@ -215,15 +215,14 @@
|
||||
isa = PBXNativeTarget;
|
||||
buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */;
|
||||
buildPhases = (
|
||||
01D58DD9E289D97FD8DBE66E /* [CP] Check Pods Manifest.lock */,
|
||||
A7BAF2DBCB81960BDC752F05 /* [CP] Check Pods Manifest.lock */,
|
||||
9740EEB61CF901F6004384FC /* Run Script */,
|
||||
97C146EA1CF9000F007C117D /* Sources */,
|
||||
97C146EB1CF9000F007C117D /* Frameworks */,
|
||||
97C146EC1CF9000F007C117D /* Resources */,
|
||||
9705A1C41CF9048500538489 /* Embed Frameworks */,
|
||||
3B06AD1E1E4923F5004D2608 /* Thin Binary */,
|
||||
2E10BAE564A4AFFCFF5B4EF0 /* [CP] Embed Pods Frameworks */,
|
||||
BE3E47DA555D39F032C6A1DB /* [CP] Copy Pods Resources */,
|
||||
87CA3559B76E3AB2BA77B235 /* [CP] Embed Pods Frameworks */,
|
||||
);
|
||||
buildRules = (
|
||||
);
|
||||
@@ -298,7 +297,55 @@
|
||||
/* End PBXResourcesBuildPhase section */
|
||||
|
||||
/* Begin PBXShellScriptBuildPhase section */
|
||||
01D58DD9E289D97FD8DBE66E /* [CP] Check Pods Manifest.lock */ = {
|
||||
3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {
|
||||
isa = PBXShellScriptBuildPhase;
|
||||
alwaysOutOfDate = 1;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
);
|
||||
inputPaths = (
|
||||
"${TARGET_BUILD_DIR}/${INFOPLIST_PATH}",
|
||||
);
|
||||
name = "Thin Binary";
|
||||
outputPaths = (
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
shellPath = /bin/sh;
|
||||
shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin";
|
||||
};
|
||||
87CA3559B76E3AB2BA77B235 /* [CP] Embed Pods Frameworks */ = {
|
||||
isa = PBXShellScriptBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
);
|
||||
inputFileListPaths = (
|
||||
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist",
|
||||
);
|
||||
name = "[CP] Embed Pods Frameworks";
|
||||
outputFileListPaths = (
|
||||
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist",
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
shellPath = /bin/sh;
|
||||
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n";
|
||||
showEnvVarsInLog = 0;
|
||||
};
|
||||
9740EEB61CF901F6004384FC /* Run Script */ = {
|
||||
isa = PBXShellScriptBuildPhase;
|
||||
alwaysOutOfDate = 1;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
);
|
||||
inputPaths = (
|
||||
);
|
||||
name = "Run Script";
|
||||
outputPaths = (
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
shellPath = /bin/sh;
|
||||
shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build";
|
||||
};
|
||||
A7BAF2DBCB81960BDC752F05 /* [CP] Check Pods Manifest.lock */ = {
|
||||
isa = PBXShellScriptBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
@@ -320,40 +367,7 @@
|
||||
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
|
||||
showEnvVarsInLog = 0;
|
||||
};
|
||||
2E10BAE564A4AFFCFF5B4EF0 /* [CP] Embed Pods Frameworks */ = {
|
||||
isa = PBXShellScriptBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
);
|
||||
inputFileListPaths = (
|
||||
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist",
|
||||
);
|
||||
name = "[CP] Embed Pods Frameworks";
|
||||
outputFileListPaths = (
|
||||
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist",
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
shellPath = /bin/sh;
|
||||
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n";
|
||||
showEnvVarsInLog = 0;
|
||||
};
|
||||
3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {
|
||||
isa = PBXShellScriptBuildPhase;
|
||||
alwaysOutOfDate = 1;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
);
|
||||
inputPaths = (
|
||||
"${TARGET_BUILD_DIR}/${INFOPLIST_PATH}",
|
||||
);
|
||||
name = "Thin Binary";
|
||||
outputPaths = (
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
shellPath = /bin/sh;
|
||||
shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin";
|
||||
};
|
||||
684A4A968F313A7FDAEBF3B8 /* [CP] Check Pods Manifest.lock */ = {
|
||||
C5965E09A75FF4B9D47A6A5A /* [CP] Check Pods Manifest.lock */ = {
|
||||
isa = PBXShellScriptBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
@@ -375,38 +389,6 @@
|
||||
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
|
||||
showEnvVarsInLog = 0;
|
||||
};
|
||||
9740EEB61CF901F6004384FC /* Run Script */ = {
|
||||
isa = PBXShellScriptBuildPhase;
|
||||
alwaysOutOfDate = 1;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
);
|
||||
inputPaths = (
|
||||
);
|
||||
name = "Run Script";
|
||||
outputPaths = (
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
shellPath = /bin/sh;
|
||||
shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build";
|
||||
};
|
||||
BE3E47DA555D39F032C6A1DB /* [CP] Copy Pods Resources */ = {
|
||||
isa = PBXShellScriptBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
);
|
||||
inputFileListPaths = (
|
||||
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-input-files.xcfilelist",
|
||||
);
|
||||
name = "[CP] Copy Pods Resources";
|
||||
outputFileListPaths = (
|
||||
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-output-files.xcfilelist",
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
shellPath = /bin/sh;
|
||||
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources.sh\"\n";
|
||||
showEnvVarsInLog = 0;
|
||||
};
|
||||
/* End PBXShellScriptBuildPhase section */
|
||||
|
||||
/* Begin PBXSourcesBuildPhase section */
|
||||
@@ -542,7 +524,7 @@
|
||||
};
|
||||
331C8088294A63A400263BE5 /* Debug */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
baseConfigurationReference = 5B81FA7048BFA976F49D555E /* Pods-RunnerTests.debug.xcconfig */;
|
||||
baseConfigurationReference = 030239DB288C484414523AFE /* Pods-RunnerTests.debug.xcconfig */;
|
||||
buildSettings = {
|
||||
BUNDLE_LOADER = "$(TEST_HOST)";
|
||||
CODE_SIGN_STYLE = Automatic;
|
||||
@@ -560,7 +542,7 @@
|
||||
};
|
||||
331C8089294A63A400263BE5 /* Release */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
baseConfigurationReference = D239CED757CED630C2B0A161 /* Pods-RunnerTests.release.xcconfig */;
|
||||
baseConfigurationReference = 230D46AA7CEA8CB81C420035 /* Pods-RunnerTests.release.xcconfig */;
|
||||
buildSettings = {
|
||||
BUNDLE_LOADER = "$(TEST_HOST)";
|
||||
CODE_SIGN_STYLE = Automatic;
|
||||
@@ -576,7 +558,7 @@
|
||||
};
|
||||
331C808A294A63A400263BE5 /* Profile */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
baseConfigurationReference = 87ADF6219C65A13967DFF03C /* Pods-RunnerTests.profile.xcconfig */;
|
||||
baseConfigurationReference = 6FAF62B46A8A7A431F17FCD8 /* Pods-RunnerTests.profile.xcconfig */;
|
||||
buildSettings = {
|
||||
BUNDLE_LOADER = "$(TEST_HOST)";
|
||||
CODE_SIGN_STYLE = Automatic;
|
||||
@@ -804,7 +786,7 @@
|
||||
6A8A46202EDB320D0057B88C /* MPVKit */ = {
|
||||
isa = XCSwiftPackageProductDependency;
|
||||
package = 6A8A461F2EDB320D0057B88C /* XCRemoteSwiftPackageReference "MPVKit" */;
|
||||
productName = "MPVKit";
|
||||
productName = MPVKit;
|
||||
};
|
||||
/* End XCSwiftPackageProductDependency section */
|
||||
};
|
||||
|
||||
@@ -57,7 +57,6 @@ class MpvPipController: NSObject {
|
||||
if let windowScene = UIApplication.shared.connectedScenes.first as? UIWindowScene,
|
||||
let window = windowScene.windows.first(where: { $0.isKeyWindow }) {
|
||||
let view = UIView(frame: window.bounds)
|
||||
view.autoresizingMask = [.flexibleWidth, .flexibleHeight]
|
||||
view.clipsToBounds = true
|
||||
view.isUserInteractionEnabled = false
|
||||
sampleBufferLayer.frame = view.bounds
|
||||
|
||||
@@ -139,28 +139,31 @@ class MpvPlayerPlugin: NSObject, FlutterPlugin, FlutterStreamHandler, MpvPluginS
|
||||
}
|
||||
|
||||
private func handlePipCall(_ call: FlutterMethodCall, result: @escaping FlutterResult) {
|
||||
switch call.method {
|
||||
case "isSupported":
|
||||
result(MpvPipController.isSupported)
|
||||
case "enter":
|
||||
enterPip(manual: true, result: result)
|
||||
case "setAutoPipReady":
|
||||
if let args = call.arguments as? [String: Any], let ready = args["ready"] as? Bool {
|
||||
autoPipEnabled = ready
|
||||
if ready {
|
||||
let pip = ensurePipController()
|
||||
pip.setAutoStart(true)
|
||||
// Warm the layer so the system considers PiP possible
|
||||
if let pc = playerCore {
|
||||
pip.warmLayer(currentTime: pc.timePos, isPlaying: !pc.isPaused)
|
||||
DispatchQueue.main.async { [weak self] in
|
||||
guard let self = self else { result(nil); return }
|
||||
switch call.method {
|
||||
case "isSupported":
|
||||
result(MpvPipController.isSupported)
|
||||
case "enter":
|
||||
self.enterPip(manual: true, result: result)
|
||||
case "setAutoPipReady":
|
||||
if let args = call.arguments as? [String: Any], let ready = args["ready"] as? Bool {
|
||||
self.autoPipEnabled = ready
|
||||
if ready {
|
||||
let pip = self.ensurePipController()
|
||||
pip.setAutoStart(true)
|
||||
// Warm the layer so the system considers PiP possible
|
||||
if let pc = self.playerCore {
|
||||
pip.warmLayer(currentTime: pc.timePos, isPlaying: !pc.isPaused)
|
||||
}
|
||||
} else {
|
||||
self.pipController?.setAutoStart(false)
|
||||
}
|
||||
} else {
|
||||
pipController?.setAutoStart(false)
|
||||
}
|
||||
result(nil)
|
||||
default:
|
||||
result(FlutterMethodNotImplemented)
|
||||
}
|
||||
result(nil)
|
||||
default:
|
||||
result(FlutterMethodNotImplemented)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -6,8 +6,10 @@ default_platform(:ios)
|
||||
platform :ios do
|
||||
desc "Build and deploy to App Store"
|
||||
lane :deploy_appstore do
|
||||
git_commit = `git rev-parse --short HEAD`.strip
|
||||
|
||||
# Build the Flutter app
|
||||
sh("cd #{ENV['PWD']}/.. && flutter build ipa --dart-define=ENABLE_IN_APP_REVIEW=true --dart-define=ENABLE_SENTRY=true")
|
||||
sh("cd #{ENV['PWD']}/.. && flutter build ipa --dart-define=ENABLE_IN_APP_REVIEW=true --dart-define=ENABLE_SENTRY=true --dart-define=GIT_COMMIT=#{git_commit}")
|
||||
|
||||
# Upload to App Store
|
||||
upload_to_app_store(
|
||||
|
||||
@@ -225,6 +225,9 @@ LazyDatabase _openConnection() {
|
||||
}
|
||||
}
|
||||
|
||||
return NativeDatabase(file);
|
||||
return NativeDatabase.createInBackground(file, setup: (db) {
|
||||
db.execute('PRAGMA journal_mode=WAL');
|
||||
db.execute('PRAGMA synchronous=NORMAL');
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
+1146
-409
File diff suppressed because it is too large
Load Diff
@@ -13,6 +13,9 @@ class FocusableAction {
|
||||
/// Icon color. Ignored when [child] is provided.
|
||||
final Color? iconColor;
|
||||
|
||||
/// Icon fill weight (0.0–1.0). Defaults to 1.0. Ignored when [child] is provided.
|
||||
final double iconFill;
|
||||
|
||||
final String? tooltip;
|
||||
final VoidCallback? onPressed;
|
||||
|
||||
@@ -23,6 +26,7 @@ class FocusableAction {
|
||||
const FocusableAction({
|
||||
this.icon = Icons.circle,
|
||||
this.iconColor,
|
||||
this.iconFill = 1.0,
|
||||
this.tooltip,
|
||||
this.onPressed,
|
||||
this.child,
|
||||
@@ -173,7 +177,7 @@ class FocusableActionBarState extends State<FocusableActionBar> {
|
||||
decoration: FocusTheme.focusBackgroundDecoration(isFocused: showFocus, borderRadius: 20),
|
||||
child: action.child ??
|
||||
IconButton(
|
||||
icon: AppIcon(action.icon, fill: 1, color: action.iconColor),
|
||||
icon: AppIcon(action.icon, fill: action.iconFill, color: action.iconColor),
|
||||
tooltip: action.tooltip,
|
||||
onPressed: action.onPressed,
|
||||
),
|
||||
|
||||
@@ -1,13 +1,19 @@
|
||||
import 'dart:async';
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter/services.dart';
|
||||
|
||||
import 'dpad_navigator.dart';
|
||||
import 'key_event_utils.dart';
|
||||
|
||||
/// Callbacks for chip key event handling.
|
||||
class ChipKeyCallbacks {
|
||||
/// Called when SELECT key is pressed.
|
||||
/// Called when SELECT key is pressed (short press when [onLongPress] is set).
|
||||
final VoidCallback? onSelect;
|
||||
|
||||
/// Called when SELECT key is held for 500ms.
|
||||
final VoidCallback? onLongPress;
|
||||
|
||||
/// Called when DOWN arrow is pressed.
|
||||
final VoidCallback? onNavigateDown;
|
||||
|
||||
@@ -25,6 +31,7 @@ class ChipKeyCallbacks {
|
||||
|
||||
const ChipKeyCallbacks({
|
||||
this.onSelect,
|
||||
this.onLongPress,
|
||||
this.onNavigateDown,
|
||||
this.onNavigateUp,
|
||||
this.onNavigateLeft,
|
||||
@@ -53,6 +60,8 @@ class ChipKeyCallbacks {
|
||||
mixin FocusableChipStateMixin<T extends StatefulWidget> on State<T> {
|
||||
FocusNode? _internalFocusNode;
|
||||
bool _isFocused = false;
|
||||
Timer? _longPressTimer;
|
||||
bool _isSelectKeyDown = false;
|
||||
|
||||
/// Override to return the widget's optional external focus node.
|
||||
FocusNode? get widgetFocusNode;
|
||||
@@ -85,6 +94,7 @@ mixin FocusableChipStateMixin<T extends StatefulWidget> on State<T> {
|
||||
void disposeFocusNode() {
|
||||
focusNode.removeListener(_onFocusChange);
|
||||
_internalFocusNode?.dispose();
|
||||
_longPressTimer?.cancel();
|
||||
}
|
||||
|
||||
void _onFocusChange() {
|
||||
@@ -96,7 +106,7 @@ mixin FocusableChipStateMixin<T extends StatefulWidget> on State<T> {
|
||||
/// Shared key event handler for chip widgets.
|
||||
///
|
||||
/// Handles common key patterns:
|
||||
/// - SELECT key -> onSelect
|
||||
/// - SELECT key -> onSelect (short press) / onLongPress (hold 500ms)
|
||||
/// - Arrow keys -> navigation callbacks
|
||||
/// - BACK key -> onBack
|
||||
///
|
||||
@@ -112,16 +122,53 @@ mixin FocusableChipStateMixin<T extends StatefulWidget> on State<T> {
|
||||
}
|
||||
}
|
||||
|
||||
if (!event.isActionable) {
|
||||
return KeyEventResult.ignored;
|
||||
if (SelectKeyUpSuppressor.consumeIfSuppressed(event)) {
|
||||
return KeyEventResult.handled;
|
||||
}
|
||||
|
||||
// SELECT key activates the chip
|
||||
if (key.isSelectKey && callbacks.onSelect != null) {
|
||||
callbacks.onSelect!();
|
||||
// SELECT key with long press support
|
||||
if (key.isSelectKey) {
|
||||
if (callbacks.onLongPress != null) {
|
||||
if (event is KeyDownEvent) {
|
||||
if (!_isSelectKeyDown) {
|
||||
_isSelectKeyDown = true;
|
||||
_longPressTimer?.cancel();
|
||||
_longPressTimer = Timer(const Duration(milliseconds: 500), () {
|
||||
if (mounted) {
|
||||
SelectKeyUpSuppressor.suppressSelectUntilKeyUp();
|
||||
callbacks.onLongPress?.call();
|
||||
}
|
||||
});
|
||||
}
|
||||
return KeyEventResult.handled;
|
||||
} else if (event is KeyRepeatEvent) {
|
||||
return KeyEventResult.handled;
|
||||
} else if (event is KeyUpEvent) {
|
||||
final timerWasActive = _longPressTimer?.isActive ?? false;
|
||||
_longPressTimer?.cancel();
|
||||
if (timerWasActive && _isSelectKeyDown) {
|
||||
callbacks.onSelect?.call();
|
||||
}
|
||||
_isSelectKeyDown = false;
|
||||
return KeyEventResult.handled;
|
||||
}
|
||||
} else if (event.isActionable && callbacks.onSelect != null) {
|
||||
callbacks.onSelect!();
|
||||
return KeyEventResult.handled;
|
||||
}
|
||||
}
|
||||
|
||||
// Context menu key triggers long press directly
|
||||
if (event.isActionable && key.isContextMenuKey && callbacks.onLongPress != null) {
|
||||
SelectKeyUpSuppressor.suppressSelectUntilKeyUp();
|
||||
callbacks.onLongPress!();
|
||||
return KeyEventResult.handled;
|
||||
}
|
||||
|
||||
if (!event.isActionable) {
|
||||
return KeyEventResult.ignored;
|
||||
}
|
||||
|
||||
// LEFT arrow - call callback if provided, otherwise propagate to parent
|
||||
if (key.isLeftKey) {
|
||||
if (callbacks.onNavigateLeft != null) {
|
||||
|
||||
@@ -240,7 +240,17 @@ class _FocusableWrapperState extends State<FocusableWrapper> with SingleTickerPr
|
||||
final renderObject = context.findRenderObject();
|
||||
if (renderObject == null) return;
|
||||
|
||||
final scrollable = Scrollable.maybeOf(context);
|
||||
// Find the nearest vertical scrollable that actually has scroll range.
|
||||
// Skip inner scrollables with no extent (e.g. shrinkWrap ListView
|
||||
// with NeverScrollableScrollPhysics inside an outer scroll view)
|
||||
// and horizontal scrollables (e.g. TabBarView) since we only do
|
||||
// vertical scroll calculations.
|
||||
var scrollable = Scrollable.maybeOf(context);
|
||||
while (scrollable != null) {
|
||||
final pos = scrollable.position;
|
||||
if (pos.axis == Axis.vertical && pos.maxScrollExtent > pos.minScrollExtent) break;
|
||||
scrollable = Scrollable.maybeOf(scrollable.context);
|
||||
}
|
||||
if (scrollable == null) return;
|
||||
|
||||
final viewport = scrollable.context.findRenderObject() as RenderBox?;
|
||||
|
||||
+647
-256
File diff suppressed because it is too large
Load Diff
+18
-29
@@ -30,7 +30,6 @@
|
||||
"shuffle": "Zufall",
|
||||
"addTo": "Hinzufügen zu...",
|
||||
"createNew": "Neu erstellen",
|
||||
"remove": "Entfernen",
|
||||
"paste": "Einfügen",
|
||||
"connect": "Verbinden",
|
||||
"disconnect": "Trennen",
|
||||
@@ -44,7 +43,6 @@
|
||||
"settings": "Optionen",
|
||||
"mute": "Stumm",
|
||||
"ok": "OK",
|
||||
"loading": "Laden...",
|
||||
"reconnect": "Erneut verbinden",
|
||||
"exitConfirmTitle": "App beenden?",
|
||||
"exitConfirmMessage": "Möchtest du die App wirklich beenden?",
|
||||
@@ -137,6 +135,8 @@
|
||||
"subtitleStylingDescription": "Aussehen von Untertiteln anpassen",
|
||||
"smallSkipDuration": "Kleine Sprungdauer",
|
||||
"largeSkipDuration": "Große Sprungdauer",
|
||||
"rewindOnResume": "Zurückspulen bei Fortsetzung",
|
||||
"rewindOnResumeDescription": "Um diesen Betrag zurückspulen, wenn die Wiedergabe fortgesetzt wird",
|
||||
"secondsUnit": "${seconds} Sekunden",
|
||||
"defaultSleepTimer": "Standard-Sleep-Timer",
|
||||
"minutesUnit": "${minutes} Minuten",
|
||||
@@ -178,6 +178,11 @@
|
||||
"autoSkipCreditsDescription": "Abspann automatisch überspringen und nächste Episode abspielen",
|
||||
"autoSkipDelay": "Verzögerung für automatisches Überspringen",
|
||||
"autoSkipDelayDescription": "${seconds} Sekunden vor dem automatischen Überspringen warten",
|
||||
"introPattern": "Intro-Markierungsmuster",
|
||||
"introPatternDescription": "Regulärer Ausdruck zum Erkennen von Intro-Markierungen in Kapiteltiteln",
|
||||
"creditsPattern": "Abspann-Markierungsmuster",
|
||||
"creditsPatternDescription": "Regulärer Ausdruck zum Erkennen von Abspann-Markierungen in Kapiteltiteln",
|
||||
"invalidRegex": "Ungültiger regulärer Ausdruck",
|
||||
"downloads": "Downloads",
|
||||
"downloadLocationDescription": "Speicherort für heruntergeladene Inhalte wählen",
|
||||
"downloadLocationDefault": "Standard (App-Speicher)",
|
||||
@@ -208,7 +213,9 @@
|
||||
"confirmExitOnBack": "Vor dem Beenden bestätigen",
|
||||
"confirmExitOnBackDescription": "Bestätigungsdialog anzeigen, wenn Zurück zum Beenden der App gedrückt wird",
|
||||
"showNavBarLabels": "Navigationsleisten-Beschriftungen anzeigen",
|
||||
"showNavBarLabelsDescription": "Textbeschriftungen unter den Symbolen der Navigationsleiste anzeigen"
|
||||
"showNavBarLabelsDescription": "Textbeschriftungen unter den Symbolen der Navigationsleiste anzeigen",
|
||||
"liveTvDefaultFavorites": "Standardmäßig Favoritenkanäle",
|
||||
"liveTvDefaultFavoritesDescription": "Beim Öffnen von Live TV nur Favoritenkanäle anzeigen"
|
||||
},
|
||||
"search": {
|
||||
"hint": "Filme, Serien, Musik suchen...",
|
||||
@@ -241,11 +248,6 @@
|
||||
"skipMarker": "Intro/Abspann überspringen"
|
||||
}
|
||||
},
|
||||
"pinEntry": {
|
||||
"enterPin": "PIN eingeben",
|
||||
"showPin": "PIN anzeigen",
|
||||
"hidePin": "PIN verbergen"
|
||||
},
|
||||
"fileInfo": {
|
||||
"title": "Dateiinfo",
|
||||
"video": "Video",
|
||||
@@ -318,7 +320,6 @@
|
||||
"unlockRotation": "Rotation entsperren",
|
||||
"timerActive": "Schlaftimer aktiv",
|
||||
"playbackWillPauseIn": "Wiedergabe wird in ${duration} pausiert",
|
||||
"sleepTimerCompleted": "Schlaftimer abgelaufen – Wiedergabe pausiert",
|
||||
"stillWatching": "Schaust du noch?",
|
||||
"pausingIn": "Pause in ${seconds}s",
|
||||
"continueWatching": "Weiter",
|
||||
@@ -335,20 +336,20 @@
|
||||
"muteButton": "Stumm schalten",
|
||||
"unmuteButton": "Stummschaltung aufheben",
|
||||
"settingsButton": "Videoeinstellungen",
|
||||
"audioTrackButton": "Tonspuren",
|
||||
"subtitlesButton": "Untertitel",
|
||||
"tracksButton": "Audio und Untertitel",
|
||||
"chaptersButton": "Kapitel",
|
||||
"versionsButton": "Videoversionen",
|
||||
"pipButton": "Bild-in-Bild Modus",
|
||||
"aspectRatioButton": "Seitenverhältnis",
|
||||
"ambientLighting": "Umgebungsbeleuchtung",
|
||||
"ambientLightingOn": "Umgebungsbeleuchtung aktivieren",
|
||||
"ambientLightingOff": "Umgebungsbeleuchtung deaktivieren",
|
||||
"fullscreenButton": "Vollbild aktivieren",
|
||||
"exitFullscreenButton": "Vollbild verlassen",
|
||||
"alwaysOnTopButton": "Immer im Vordergrund",
|
||||
"rotationLockButton": "Drehsperre",
|
||||
"lockScreen": "Bildschirm sperren",
|
||||
"unlockScreen": "Bildschirm entsperren",
|
||||
"screenLockButton": "Bildschirmsperre",
|
||||
"longPressToUnlock": "Lange drücken zum Entsperren",
|
||||
"timelineSlider": "Video-Zeitleiste",
|
||||
"volumeSlider": "Lautstärkepegel",
|
||||
"endsAt": "Endet um ${time}",
|
||||
@@ -448,11 +449,8 @@
|
||||
"overview": "Übersicht",
|
||||
"cast": "Besetzung",
|
||||
"extras": "Trailer & Extras",
|
||||
"seasons": "Staffeln",
|
||||
"studio": "Studio",
|
||||
"rating": "Altersfreigabe",
|
||||
"episodeCount": "${count} Episoden",
|
||||
"watchedProgress": "${watched} von ${total} gesehen",
|
||||
"movie": "Film",
|
||||
"tvShow": "Serie",
|
||||
"minutesLeft": "${minutes} Min übrig"
|
||||
@@ -514,6 +512,7 @@
|
||||
"playlists": "Wiedergabelisten"
|
||||
},
|
||||
"groupings": {
|
||||
"title": "Gruppierung",
|
||||
"all": "Alle",
|
||||
"movies": "Filme",
|
||||
"shows": "Serien",
|
||||
@@ -544,9 +543,7 @@
|
||||
"logs": {
|
||||
"clearLogs": "Protokolle löschen",
|
||||
"copyLogs": "Protokolle kopieren",
|
||||
"uploadLogs": "Protokolle hochladen",
|
||||
"error": "Fehler:",
|
||||
"stackTrace": "Stacktrace:"
|
||||
"uploadLogs": "Protokolle hochladen"
|
||||
},
|
||||
"licenses": {
|
||||
"relatedPackages": "Verwandte Pakete",
|
||||
@@ -561,20 +558,12 @@
|
||||
},
|
||||
"liveTv": {
|
||||
"title": "Live-TV",
|
||||
"channels": "Kanäle",
|
||||
"guide": "Programmführer",
|
||||
"noChannels": "Keine Kanäle verfügbar",
|
||||
"noDvr": "Kein DVR auf einem Server konfiguriert",
|
||||
"tuneFailed": "Kanal konnte nicht eingestellt werden",
|
||||
"loading": "Kanäle werden geladen...",
|
||||
"nowPlaying": "Läuft gerade",
|
||||
"noPrograms": "Keine Programmdaten verfügbar",
|
||||
"channelNumber": "Kanal ${number}",
|
||||
"live": "LIVE",
|
||||
"hd": "HD",
|
||||
"premiere": "NEU",
|
||||
"reloadGuide": "Programmführer neu laden",
|
||||
"allChannels": "Alle Kanäle",
|
||||
"now": "Jetzt",
|
||||
"today": "Heute",
|
||||
"midnight": "Mitternacht",
|
||||
@@ -584,7 +573,8 @@
|
||||
"evening": "Abend",
|
||||
"lateNight": "Spätnacht",
|
||||
"whatsOn": "Jetzt im TV",
|
||||
"watchChannel": "Kanal ansehen"
|
||||
"watchChannel": "Kanal ansehen",
|
||||
"favorites": "Favoriten"
|
||||
},
|
||||
"downloads": {
|
||||
"title": "Downloads",
|
||||
@@ -829,7 +819,6 @@
|
||||
"playerCommand": "Befehl",
|
||||
"playerPackage": "Paketname",
|
||||
"playerUrlScheme": "URL-Schema",
|
||||
"customPlayer": "Benutzerdefinierter Player",
|
||||
"off": "Aus",
|
||||
"launchFailed": "Externer Player konnte nicht geöffnet werden",
|
||||
"appNotInstalled": "${name} ist nicht installiert",
|
||||
|
||||
+18
-29
@@ -30,7 +30,6 @@
|
||||
"shuffle": "Shuffle",
|
||||
"addTo": "Add to...",
|
||||
"createNew": "Create new",
|
||||
"remove": "Remove",
|
||||
"paste": "Paste",
|
||||
"connect": "Connect",
|
||||
"disconnect": "Disconnect",
|
||||
@@ -44,7 +43,6 @@
|
||||
"settings": "Settings",
|
||||
"mute": "Mute",
|
||||
"ok": "OK",
|
||||
"loading": "Loading...",
|
||||
"reconnect": "Reconnect",
|
||||
"exitConfirmTitle": "Exit app?",
|
||||
"exitConfirmMessage": "Are you sure you want to exit?",
|
||||
@@ -137,6 +135,8 @@
|
||||
"subtitleStylingDescription": "Customize subtitle appearance",
|
||||
"smallSkipDuration": "Small Skip Duration",
|
||||
"largeSkipDuration": "Large Skip Duration",
|
||||
"rewindOnResume": "Rewind on Resume",
|
||||
"rewindOnResumeDescription": "Rewind by this amount when resuming playback",
|
||||
"secondsUnit": "${seconds} seconds",
|
||||
"defaultSleepTimer": "Default Sleep Timer",
|
||||
"minutesUnit": "${minutes} minutes",
|
||||
@@ -178,6 +178,11 @@
|
||||
"autoSkipCreditsDescription": "Automatically skip credits and play next episode",
|
||||
"autoSkipDelay": "Auto Skip Delay",
|
||||
"autoSkipDelayDescription": "Wait ${seconds} seconds before auto-skipping",
|
||||
"introPattern": "Intro Marker Pattern",
|
||||
"introPatternDescription": "Regex pattern to match intro markers in chapter titles",
|
||||
"creditsPattern": "Credits Marker Pattern",
|
||||
"creditsPatternDescription": "Regex pattern to match credits markers in chapter titles",
|
||||
"invalidRegex": "Invalid regular expression",
|
||||
"downloads": "Downloads",
|
||||
"downloadLocationDescription": "Choose where to store downloaded content",
|
||||
"downloadLocationDefault": "Default (App Storage)",
|
||||
@@ -208,7 +213,9 @@
|
||||
"confirmExitOnBack": "Confirm before exiting",
|
||||
"confirmExitOnBackDescription": "Show a confirmation dialog when pressing back to exit the app",
|
||||
"showNavBarLabels": "Show Navigation Bar Labels",
|
||||
"showNavBarLabelsDescription": "Display text labels under navigation bar icons"
|
||||
"showNavBarLabelsDescription": "Display text labels under navigation bar icons",
|
||||
"liveTvDefaultFavorites": "Default to Favorite Channels",
|
||||
"liveTvDefaultFavoritesDescription": "Show only favorite channels when opening Live TV"
|
||||
},
|
||||
"search": {
|
||||
"hint": "Search movies, shows, music...",
|
||||
@@ -241,11 +248,6 @@
|
||||
"skipMarker": "Skip Intro/Credits"
|
||||
}
|
||||
},
|
||||
"pinEntry": {
|
||||
"enterPin": "Enter PIN",
|
||||
"showPin": "Show PIN",
|
||||
"hidePin": "Hide PIN"
|
||||
},
|
||||
"fileInfo": {
|
||||
"title": "File Info",
|
||||
"video": "Video",
|
||||
@@ -318,7 +320,6 @@
|
||||
"unlockRotation": "Unlock rotation",
|
||||
"timerActive": "Timer Active",
|
||||
"playbackWillPauseIn": "Playback will pause in ${duration}",
|
||||
"sleepTimerCompleted": "Sleep timer completed - playback paused",
|
||||
"stillWatching": "Still watching?",
|
||||
"pausingIn": "Pausing in ${seconds}s",
|
||||
"continueWatching": "Continue",
|
||||
@@ -335,20 +336,20 @@
|
||||
"muteButton": "Mute",
|
||||
"unmuteButton": "Unmute",
|
||||
"settingsButton": "Video settings",
|
||||
"audioTrackButton": "Audio tracks",
|
||||
"subtitlesButton": "Subtitles",
|
||||
"tracksButton": "Audio & Subtitles",
|
||||
"chaptersButton": "Chapters",
|
||||
"versionsButton": "Video versions",
|
||||
"pipButton": "Picture-in-Picture mode",
|
||||
"aspectRatioButton": "Aspect ratio",
|
||||
"ambientLighting": "Ambient lighting",
|
||||
"ambientLightingOn": "Enable ambient lighting",
|
||||
"ambientLightingOff": "Disable ambient lighting",
|
||||
"fullscreenButton": "Enter fullscreen",
|
||||
"exitFullscreenButton": "Exit fullscreen",
|
||||
"alwaysOnTopButton": "Always on top",
|
||||
"rotationLockButton": "Rotation lock",
|
||||
"lockScreen": "Lock screen",
|
||||
"unlockScreen": "Unlock screen",
|
||||
"screenLockButton": "Screen lock",
|
||||
"longPressToUnlock": "Long press to unlock",
|
||||
"timelineSlider": "Video timeline",
|
||||
"volumeSlider": "Volume level",
|
||||
"endsAt": "Ends at ${time}",
|
||||
@@ -448,11 +449,8 @@
|
||||
"overview": "Overview",
|
||||
"cast": "Cast",
|
||||
"extras": "Trailers & Extras",
|
||||
"seasons": "Seasons",
|
||||
"studio": "Studio",
|
||||
"rating": "Rating",
|
||||
"episodeCount": "${count} episodes",
|
||||
"watchedProgress": "${watched}/${total} watched",
|
||||
"movie": "Movie",
|
||||
"tvShow": "TV Show",
|
||||
"minutesLeft": "${minutes} min left"
|
||||
@@ -514,6 +512,7 @@
|
||||
"playlists": "Playlists"
|
||||
},
|
||||
"groupings": {
|
||||
"title": "Grouping",
|
||||
"all": "All",
|
||||
"movies": "Movies",
|
||||
"shows": "TV Shows",
|
||||
@@ -544,9 +543,7 @@
|
||||
"logs": {
|
||||
"clearLogs": "Clear Logs",
|
||||
"copyLogs": "Copy Logs",
|
||||
"uploadLogs": "Upload Logs",
|
||||
"error": "Error:",
|
||||
"stackTrace": "Stack Trace:"
|
||||
"uploadLogs": "Upload Logs"
|
||||
},
|
||||
"licenses": {
|
||||
"relatedPackages": "Related Packages",
|
||||
@@ -561,20 +558,12 @@
|
||||
},
|
||||
"liveTv": {
|
||||
"title": "Live TV",
|
||||
"channels": "Channels",
|
||||
"guide": "Guide",
|
||||
"noChannels": "No channels available",
|
||||
"noDvr": "No DVR configured on any server",
|
||||
"tuneFailed": "Failed to tune channel",
|
||||
"loading": "Loading channels...",
|
||||
"nowPlaying": "Now Playing",
|
||||
"noPrograms": "No program data available",
|
||||
"channelNumber": "Ch. ${number}",
|
||||
"live": "LIVE",
|
||||
"hd": "HD",
|
||||
"premiere": "NEW",
|
||||
"reloadGuide": "Reload Guide",
|
||||
"allChannels": "All Channels",
|
||||
"now": "Now",
|
||||
"today": "Today",
|
||||
"midnight": "Midnight",
|
||||
@@ -584,7 +573,8 @@
|
||||
"evening": "Evening",
|
||||
"lateNight": "Late Night",
|
||||
"whatsOn": "What's On",
|
||||
"watchChannel": "Watch Channel"
|
||||
"watchChannel": "Watch Channel",
|
||||
"favorites": "Favorites"
|
||||
},
|
||||
"collections": {
|
||||
"title": "Collections",
|
||||
@@ -829,7 +819,6 @@
|
||||
"playerCommand": "Command",
|
||||
"playerPackage": "Package Name",
|
||||
"playerUrlScheme": "URL Scheme",
|
||||
"customPlayer": "Custom Player",
|
||||
"off": "Off",
|
||||
"launchFailed": "Failed to open external player",
|
||||
"appNotInstalled": "${name} is not installed",
|
||||
|
||||
+18
-29
@@ -30,7 +30,6 @@
|
||||
"shuffle": "Aleatorio",
|
||||
"addTo": "Añadir a...",
|
||||
"createNew": "Crear",
|
||||
"remove": "Eliminar",
|
||||
"paste": "Pegar",
|
||||
"connect": "Conectar",
|
||||
"disconnect": "Desconectar",
|
||||
@@ -44,7 +43,6 @@
|
||||
"settings": "Ajustes",
|
||||
"mute": "Silencio",
|
||||
"ok": "OK",
|
||||
"loading": "Cargando...",
|
||||
"reconnect": "Reconectar",
|
||||
"exitConfirmTitle": "¿Salir de la app?",
|
||||
"exitConfirmMessage": "¿Estás seguro de que quieres salir?",
|
||||
@@ -137,6 +135,8 @@
|
||||
"subtitleStylingDescription": "Personalizar la apariencia de los subtítulos",
|
||||
"smallSkipDuration": "Salto pequeño",
|
||||
"largeSkipDuration": "Salto grande",
|
||||
"rewindOnResume": "Rebobinar al reanudar",
|
||||
"rewindOnResumeDescription": "Rebobinar esta cantidad al reanudar la reproducción",
|
||||
"secondsUnit": "${seconds} segundos",
|
||||
"defaultSleepTimer": "Temporizador de apagado",
|
||||
"minutesUnit": "${minutes} minutos",
|
||||
@@ -178,6 +178,11 @@
|
||||
"autoSkipCreditsDescription": "Saltar automáticamente los créditos y reproducir el siguiente episodio",
|
||||
"autoSkipDelay": "Retraso de Salto automático",
|
||||
"autoSkipDelayDescription": "Esperar ${seconds} segundos antes de saltar automáticamente",
|
||||
"introPattern": "Patrón de marcador de intro",
|
||||
"introPatternDescription": "Expresión regular para reconocer marcadores de intro en los títulos de capítulos",
|
||||
"creditsPattern": "Patrón de marcador de créditos",
|
||||
"creditsPatternDescription": "Expresión regular para reconocer marcadores de créditos en los títulos de capítulos",
|
||||
"invalidRegex": "Expresión regular no válida",
|
||||
"downloads": "Descargas",
|
||||
"downloadLocationDescription": "Elegir dónde almacenar el contenido descargado",
|
||||
"downloadLocationDefault": "Predeterminado (Almacenamiento de la App)",
|
||||
@@ -208,7 +213,9 @@
|
||||
"confirmExitOnBack": "Confirmar antes de salir",
|
||||
"confirmExitOnBackDescription": "Mostrar un diálogo de confirmación al presionar atrás para salir de la app",
|
||||
"showNavBarLabels": "Mostrar etiquetas de la barra de navegación",
|
||||
"showNavBarLabelsDescription": "Mostrar etiquetas de texto bajo los iconos de la barra de navegación"
|
||||
"showNavBarLabelsDescription": "Mostrar etiquetas de texto bajo los iconos de la barra de navegación",
|
||||
"liveTvDefaultFavorites": "Canales favoritos por defecto",
|
||||
"liveTvDefaultFavoritesDescription": "Mostrar solo canales favoritos al abrir TV en vivo"
|
||||
},
|
||||
"search": {
|
||||
"hint": "Buscar películas, series, música...",
|
||||
@@ -241,11 +248,6 @@
|
||||
"skipMarker": "Saltar Intro/Créditos"
|
||||
}
|
||||
},
|
||||
"pinEntry": {
|
||||
"enterPin": "Introduce el PIN",
|
||||
"showPin": "Mostrar PIN",
|
||||
"hidePin": "Ocultar PIN"
|
||||
},
|
||||
"fileInfo": {
|
||||
"title": "Información del Archivo",
|
||||
"video": "Video",
|
||||
@@ -318,7 +320,6 @@
|
||||
"unlockRotation": "Desbloquear rotación",
|
||||
"timerActive": "Temporizador Activo",
|
||||
"playbackWillPauseIn": "La reproducción se pausará en ${duration}",
|
||||
"sleepTimerCompleted": "Temporizador completado - reproducción pausada",
|
||||
"stillWatching": "¿Sigues viendo?",
|
||||
"pausingIn": "Pausa en ${seconds}s",
|
||||
"continueWatching": "Continuar",
|
||||
@@ -335,20 +336,20 @@
|
||||
"muteButton": "Silenciar",
|
||||
"unmuteButton": "Activar sonido",
|
||||
"settingsButton": "Ajustes de video",
|
||||
"audioTrackButton": "Pistas de audio",
|
||||
"subtitlesButton": "Subtítulos",
|
||||
"tracksButton": "Audio y subtítulos",
|
||||
"chaptersButton": "Capítulos",
|
||||
"versionsButton": "Versiones de video",
|
||||
"pipButton": "Modo PiP (Imagen en Imagen)",
|
||||
"aspectRatioButton": "Relación de aspecto",
|
||||
"ambientLighting": "Iluminación ambiental",
|
||||
"ambientLightingOn": "Activar iluminación ambiental",
|
||||
"ambientLightingOff": "Desactivar iluminación ambiental",
|
||||
"fullscreenButton": "Entrar en pantalla completa",
|
||||
"exitFullscreenButton": "Salir de pantalla completa",
|
||||
"alwaysOnTopButton": "Siempre visible",
|
||||
"rotationLockButton": "Bloqueo de rotación",
|
||||
"lockScreen": "Bloquear pantalla",
|
||||
"unlockScreen": "Desbloquear pantalla",
|
||||
"screenLockButton": "Bloqueo de pantalla",
|
||||
"longPressToUnlock": "Mantén pulsado para desbloquear",
|
||||
"timelineSlider": "Línea de tiempo del video",
|
||||
"volumeSlider": "Nivel de volumen",
|
||||
"endsAt": "Termina a las ${time}",
|
||||
@@ -448,11 +449,8 @@
|
||||
"overview": "Resumen",
|
||||
"cast": "Reparto",
|
||||
"extras": "Tráilers y Extras",
|
||||
"seasons": "Temporadas",
|
||||
"studio": "Estudio",
|
||||
"rating": "Calificación",
|
||||
"episodeCount": "${count} episodios",
|
||||
"watchedProgress": "${watched}/${total} vistos",
|
||||
"movie": "Película",
|
||||
"tvShow": "Serie de TV",
|
||||
"minutesLeft": "quedan ${minutes} min"
|
||||
@@ -514,6 +512,7 @@
|
||||
"playlists": "Listas"
|
||||
},
|
||||
"groupings": {
|
||||
"title": "Agrupación",
|
||||
"all": "Todo",
|
||||
"movies": "Películas",
|
||||
"shows": "Series",
|
||||
@@ -544,9 +543,7 @@
|
||||
"logs": {
|
||||
"clearLogs": "Borrar Logs",
|
||||
"copyLogs": "Copiar Logs",
|
||||
"uploadLogs": "Subir registros",
|
||||
"error": "Error:",
|
||||
"stackTrace": "Traza de la pila (Stack Trace):"
|
||||
"uploadLogs": "Subir registros"
|
||||
},
|
||||
"licenses": {
|
||||
"relatedPackages": "Paquetes relacionados",
|
||||
@@ -561,20 +558,12 @@
|
||||
},
|
||||
"liveTv": {
|
||||
"title": "TV en vivo",
|
||||
"channels": "Canales",
|
||||
"guide": "Guía",
|
||||
"noChannels": "No hay canales disponibles",
|
||||
"noDvr": "No hay DVR configurado en ningún servidor",
|
||||
"tuneFailed": "Error al sintonizar el canal",
|
||||
"loading": "Cargando canales...",
|
||||
"nowPlaying": "Reproduciendo ahora",
|
||||
"noPrograms": "No hay datos de programación disponibles",
|
||||
"channelNumber": "Canal ${number}",
|
||||
"live": "EN VIVO",
|
||||
"hd": "HD",
|
||||
"premiere": "NUEVO",
|
||||
"reloadGuide": "Recargar guía",
|
||||
"allChannels": "Todos los canales",
|
||||
"now": "Ahora",
|
||||
"today": "Hoy",
|
||||
"midnight": "Medianoche",
|
||||
@@ -584,7 +573,8 @@
|
||||
"evening": "Noche",
|
||||
"lateNight": "Trasnoche",
|
||||
"whatsOn": "En emisión",
|
||||
"watchChannel": "Ver canal"
|
||||
"watchChannel": "Ver canal",
|
||||
"favorites": "Favoritos"
|
||||
},
|
||||
"collections": {
|
||||
"title": "Colecciones",
|
||||
@@ -829,7 +819,6 @@
|
||||
"playerCommand": "Comando",
|
||||
"playerPackage": "Nombre del paquete",
|
||||
"playerUrlScheme": "Esquema URL",
|
||||
"customPlayer": "Reproductor personalizado",
|
||||
"off": "Desactivado",
|
||||
"launchFailed": "No se pudo abrir el reproductor externo",
|
||||
"appNotInstalled": "${name} no está instalado",
|
||||
|
||||
+18
-29
@@ -30,7 +30,6 @@
|
||||
"shuffle": "Mélanger",
|
||||
"addTo": "Ajouter à...",
|
||||
"createNew": "Créer",
|
||||
"remove": "Supprimer",
|
||||
"paste": "Coller",
|
||||
"connect": "Connecter",
|
||||
"disconnect": "Déconnecter",
|
||||
@@ -44,7 +43,6 @@
|
||||
"settings": "Réglages",
|
||||
"mute": "Muet",
|
||||
"ok": "OK",
|
||||
"loading": "Chargement...",
|
||||
"reconnect": "Reconnecter",
|
||||
"exitConfirmTitle": "Quitter l'application ?",
|
||||
"exitConfirmMessage": "Êtes-vous sûr de vouloir quitter ?",
|
||||
@@ -137,6 +135,8 @@
|
||||
"subtitleStylingDescription": "Personnaliser l'apparence des sous-titres",
|
||||
"smallSkipDuration": "Durée du petit saut",
|
||||
"largeSkipDuration": "Durée du grand saut",
|
||||
"rewindOnResume": "Rembobiner à la reprise",
|
||||
"rewindOnResumeDescription": "Rembobiner de cette durée lors de la reprise de la lecture",
|
||||
"secondsUnit": "${seconds} secondes",
|
||||
"defaultSleepTimer": "Minuterie de mise en veille par défaut",
|
||||
"minutesUnit": "${minutes} minutes",
|
||||
@@ -178,6 +178,11 @@
|
||||
"autoSkipCreditsDescription": "Passer les crédits et passer à l'épisode suivant automatiquement",
|
||||
"autoSkipDelay": "Délai avant skip automatique",
|
||||
"autoSkipDelayDescription": "Attendre ${seconds} secondes avant l'auto-skip",
|
||||
"introPattern": "Modèle de marqueur d'intro",
|
||||
"introPatternDescription": "Expression régulière pour reconnaître les marqueurs d'intro dans les titres de chapitres",
|
||||
"creditsPattern": "Modèle de marqueur de générique",
|
||||
"creditsPatternDescription": "Expression régulière pour reconnaître les marqueurs de générique dans les titres de chapitres",
|
||||
"invalidRegex": "Expression régulière invalide",
|
||||
"downloads": "Téléchargement",
|
||||
"downloadLocationDescription": "Choisissez où stocker le contenu téléchargé",
|
||||
"downloadLocationDefault": "Par défaut (stockage de l'application)",
|
||||
@@ -208,7 +213,9 @@
|
||||
"confirmExitOnBack": "Confirmer avant de quitter",
|
||||
"confirmExitOnBackDescription": "Afficher une boîte de dialogue de confirmation en appuyant sur retour pour quitter",
|
||||
"showNavBarLabels": "Afficher les libellés de la barre de navigation",
|
||||
"showNavBarLabelsDescription": "Afficher les libellés sous les icônes de la barre de navigation"
|
||||
"showNavBarLabelsDescription": "Afficher les libellés sous les icônes de la barre de navigation",
|
||||
"liveTvDefaultFavorites": "Chaînes favorites par défaut",
|
||||
"liveTvDefaultFavoritesDescription": "Afficher uniquement les chaînes favorites à l'ouverture de la TV en direct"
|
||||
},
|
||||
"search": {
|
||||
"hint": "Rechercher des films, des séries, de la musique...",
|
||||
@@ -241,11 +248,6 @@
|
||||
"skipMarker": "Passer l'intro/le générique"
|
||||
}
|
||||
},
|
||||
"pinEntry": {
|
||||
"enterPin": "Entrer le code PIN",
|
||||
"showPin": "Afficher le code PIN",
|
||||
"hidePin": "Masquer le code PIN"
|
||||
},
|
||||
"fileInfo": {
|
||||
"title": "Informations sur le fichier",
|
||||
"video": "Vidéo",
|
||||
@@ -318,7 +320,6 @@
|
||||
"unlockRotation": "Déverrouiller la rotation",
|
||||
"timerActive": "Minuterie active",
|
||||
"playbackWillPauseIn": "La lecture sera mise en pause dans ${duration}",
|
||||
"sleepTimerCompleted": "Minuterie de mise en veille terminée - lecture en pause",
|
||||
"stillWatching": "Toujours en train de regarder ?",
|
||||
"pausingIn": "Pause dans ${seconds}s",
|
||||
"continueWatching": "Continuer",
|
||||
@@ -335,20 +336,20 @@
|
||||
"muteButton": "Mute",
|
||||
"unmuteButton": "Dé-mute",
|
||||
"settingsButton": "Paramètres vidéo",
|
||||
"audioTrackButton": "Pistes audio",
|
||||
"subtitlesButton": "Sous-titres",
|
||||
"tracksButton": "Audio et sous-titres",
|
||||
"chaptersButton": "Chapitres",
|
||||
"versionsButton": "Versions vidéo",
|
||||
"pipButton": "Mode PiP (Picture-in-Picture)",
|
||||
"aspectRatioButton": "Format d'image",
|
||||
"ambientLighting": "Éclairage ambiant",
|
||||
"ambientLightingOn": "Activer l'éclairage ambiant",
|
||||
"ambientLightingOff": "Désactiver l'éclairage ambiant",
|
||||
"fullscreenButton": "Passer en mode plein écran",
|
||||
"exitFullscreenButton": "Quitter le mode plein écran",
|
||||
"alwaysOnTopButton": "Toujours au premier plan",
|
||||
"rotationLockButton": "Verrouillage de rotation",
|
||||
"lockScreen": "Verrouiller l'écran",
|
||||
"unlockScreen": "Déverrouiller l'écran",
|
||||
"screenLockButton": "Verrouillage de l'écran",
|
||||
"longPressToUnlock": "Appui long pour déverrouiller",
|
||||
"timelineSlider": "Timeline vidéo",
|
||||
"volumeSlider": "Niveau sonore",
|
||||
"endsAt": "Fin à ${time}",
|
||||
@@ -448,11 +449,8 @@
|
||||
"overview": "Aperçu",
|
||||
"cast": "Cast",
|
||||
"extras": "Bandes-annonces et Extras",
|
||||
"seasons": "Saisons",
|
||||
"studio": "Studio",
|
||||
"rating": "Évaluation",
|
||||
"episodeCount": "${count} épisodes",
|
||||
"watchedProgress": "${watched}/${total} vu",
|
||||
"movie": "Film",
|
||||
"tvShow": "Show TV",
|
||||
"minutesLeft": "${minutes} min restantes"
|
||||
@@ -514,6 +512,7 @@
|
||||
"playlists": "Playlists"
|
||||
},
|
||||
"groupings": {
|
||||
"title": "Regroupement",
|
||||
"all": "Tous",
|
||||
"movies": "Films",
|
||||
"shows": "Show TV",
|
||||
@@ -544,9 +543,7 @@
|
||||
"logs": {
|
||||
"clearLogs": "Effacer les logs",
|
||||
"copyLogs": "Copier les logs",
|
||||
"uploadLogs": "Envoyer les logs",
|
||||
"error": "Erreur:",
|
||||
"stackTrace": "Liste des appels:"
|
||||
"uploadLogs": "Envoyer les logs"
|
||||
},
|
||||
"licenses": {
|
||||
"relatedPackages": "Package associés",
|
||||
@@ -561,20 +558,12 @@
|
||||
},
|
||||
"liveTv": {
|
||||
"title": "TV en direct",
|
||||
"channels": "Chaînes",
|
||||
"guide": "Guide",
|
||||
"noChannels": "Aucune chaîne disponible",
|
||||
"noDvr": "Aucun DVR configuré sur les serveurs",
|
||||
"tuneFailed": "Impossible de syntoniser la chaîne",
|
||||
"loading": "Chargement des chaînes...",
|
||||
"nowPlaying": "En cours de lecture",
|
||||
"noPrograms": "Aucune donnée de programme disponible",
|
||||
"channelNumber": "Ch. ${number}",
|
||||
"live": "EN DIRECT",
|
||||
"hd": "HD",
|
||||
"premiere": "NOUVEAU",
|
||||
"reloadGuide": "Recharger le guide",
|
||||
"allChannels": "Toutes les chaînes",
|
||||
"now": "Maintenant",
|
||||
"today": "Aujourd'hui",
|
||||
"midnight": "Minuit",
|
||||
@@ -584,7 +573,8 @@
|
||||
"evening": "Soirée",
|
||||
"lateNight": "Nuit tardive",
|
||||
"whatsOn": "En ce moment",
|
||||
"watchChannel": "Regarder la chaîne"
|
||||
"watchChannel": "Regarder la chaîne",
|
||||
"favorites": "Favoris"
|
||||
},
|
||||
"collections": {
|
||||
"title": "Collections",
|
||||
@@ -829,7 +819,6 @@
|
||||
"playerCommand": "Commande",
|
||||
"playerPackage": "Nom du paquet",
|
||||
"playerUrlScheme": "Schéma URL",
|
||||
"customPlayer": "Lecteur personnalisé",
|
||||
"off": "Désactivé",
|
||||
"launchFailed": "Impossible d'ouvrir le lecteur externe",
|
||||
"appNotInstalled": "${name} n'est pas installé",
|
||||
|
||||
+18
-29
@@ -30,7 +30,6 @@
|
||||
"shuffle": "Casuale",
|
||||
"addTo": "Aggiungi a...",
|
||||
"createNew": "Crea",
|
||||
"remove": "Rimuovi",
|
||||
"paste": "Incolla",
|
||||
"connect": "Connetti",
|
||||
"disconnect": "Disconnetti",
|
||||
@@ -44,7 +43,6 @@
|
||||
"settings": "Opzioni",
|
||||
"mute": "Muto",
|
||||
"ok": "OK",
|
||||
"loading": "Caricamento...",
|
||||
"reconnect": "Riconnetti",
|
||||
"exitConfirmTitle": "Uscire dall'app?",
|
||||
"exitConfirmMessage": "Sei sicuro di voler uscire?",
|
||||
@@ -137,6 +135,8 @@
|
||||
"subtitleStylingDescription": "Personalizza l'aspetto dei sottotitoli",
|
||||
"smallSkipDuration": "Durata skip breve",
|
||||
"largeSkipDuration": "Durata skip lungo",
|
||||
"rewindOnResume": "Riavvolgi alla ripresa",
|
||||
"rewindOnResumeDescription": "Riavvolgi di questa quantità alla ripresa della riproduzione",
|
||||
"secondsUnit": "${seconds} secondi",
|
||||
"defaultSleepTimer": "Timer spegnimento predefinito",
|
||||
"minutesUnit": "${minutes} minuti",
|
||||
@@ -178,6 +178,11 @@
|
||||
"autoSkipCreditsDescription": "Salta automaticamente i crediti e riproduci l'episodio successivo",
|
||||
"autoSkipDelay": "Ritardo Salto Automatico",
|
||||
"autoSkipDelayDescription": "Aspetta ${seconds} secondi prima del salto automatico",
|
||||
"introPattern": "Pattern marcatore intro",
|
||||
"introPatternDescription": "Espressione regolare per riconoscere i marcatori intro nei titoli dei capitoli",
|
||||
"creditsPattern": "Pattern marcatore titoli di coda",
|
||||
"creditsPatternDescription": "Espressione regolare per riconoscere i marcatori dei titoli di coda nei capitoli",
|
||||
"invalidRegex": "Espressione regolare non valida",
|
||||
"downloads": "Download",
|
||||
"downloadLocationDescription": "Scegli dove salvare i contenuti scaricati",
|
||||
"downloadLocationDefault": "Predefinita (Archiviazione App)",
|
||||
@@ -208,7 +213,9 @@
|
||||
"confirmExitOnBack": "Conferma prima di uscire",
|
||||
"confirmExitOnBackDescription": "Mostra una finestra di conferma quando si preme indietro per uscire dall'app",
|
||||
"showNavBarLabels": "Mostra etichette barra di navigazione",
|
||||
"showNavBarLabelsDescription": "Mostra le etichette sotto le icone della barra di navigazione"
|
||||
"showNavBarLabelsDescription": "Mostra le etichette sotto le icone della barra di navigazione",
|
||||
"liveTvDefaultFavorites": "Canali preferiti predefiniti",
|
||||
"liveTvDefaultFavoritesDescription": "Mostra solo i canali preferiti all'apertura della TV dal vivo"
|
||||
},
|
||||
"search": {
|
||||
"hint": "Cerca film. spettacoli, musica...",
|
||||
@@ -241,11 +248,6 @@
|
||||
"skipMarker": "Salta intro/titoli di coda"
|
||||
}
|
||||
},
|
||||
"pinEntry": {
|
||||
"enterPin": "Inserisci PIN",
|
||||
"showPin": "Mostra PIN",
|
||||
"hidePin": "Nascondi PIN"
|
||||
},
|
||||
"fileInfo": {
|
||||
"title": "Info sul file",
|
||||
"video": "Video",
|
||||
@@ -318,7 +320,6 @@
|
||||
"unlockRotation": "Sblocca rotazione",
|
||||
"timerActive": "Timer attivo",
|
||||
"playbackWillPauseIn": "La riproduzione si interromperà tra ${duration}",
|
||||
"sleepTimerCompleted": "Timer di spegnimento completato - riproduzione in pausa",
|
||||
"stillWatching": "Stai ancora guardando?",
|
||||
"pausingIn": "Pausa tra ${seconds}s",
|
||||
"continueWatching": "Continua",
|
||||
@@ -335,20 +336,20 @@
|
||||
"muteButton": "Silenzia",
|
||||
"unmuteButton": "Riattiva audio",
|
||||
"settingsButton": "Impostazioni video",
|
||||
"audioTrackButton": "Tracce audio",
|
||||
"subtitlesButton": "Sottotitoli",
|
||||
"tracksButton": "Audio e sottotitoli",
|
||||
"chaptersButton": "Capitoli",
|
||||
"versionsButton": "Versioni video",
|
||||
"pipButton": "Modalità Picture-in-Picture",
|
||||
"aspectRatioButton": "Proporzioni",
|
||||
"ambientLighting": "Illuminazione ambientale",
|
||||
"ambientLightingOn": "Attiva illuminazione ambientale",
|
||||
"ambientLightingOff": "Disattiva illuminazione ambientale",
|
||||
"fullscreenButton": "Attiva schermo intero",
|
||||
"exitFullscreenButton": "Esci da schermo intero",
|
||||
"alwaysOnTopButton": "Sempre in primo piano",
|
||||
"rotationLockButton": "Blocco rotazione",
|
||||
"lockScreen": "Blocca schermo",
|
||||
"unlockScreen": "Sblocca schermo",
|
||||
"screenLockButton": "Blocco schermo",
|
||||
"longPressToUnlock": "Premi a lungo per sbloccare",
|
||||
"timelineSlider": "Timeline video",
|
||||
"volumeSlider": "Livello volume",
|
||||
"endsAt": "Finisce alle ${time}",
|
||||
@@ -448,11 +449,8 @@
|
||||
"overview": "Panoramica",
|
||||
"cast": "Attori",
|
||||
"extras": "Trailer ed Extra",
|
||||
"seasons": "Stagioni",
|
||||
"studio": "Studio",
|
||||
"rating": "Classificazione",
|
||||
"episodeCount": "${count} episodi",
|
||||
"watchedProgress": "${watched}/${total} guardati",
|
||||
"movie": "Film",
|
||||
"tvShow": "Serie TV",
|
||||
"minutesLeft": "${minutes} minuti rimanenti"
|
||||
@@ -514,6 +512,7 @@
|
||||
"playlists": "Playlist"
|
||||
},
|
||||
"groupings": {
|
||||
"title": "Raggruppamento",
|
||||
"all": "Tutti",
|
||||
"movies": "Film",
|
||||
"shows": "Serie TV",
|
||||
@@ -544,9 +543,7 @@
|
||||
"logs": {
|
||||
"clearLogs": "Cancella log",
|
||||
"copyLogs": "Copia log",
|
||||
"uploadLogs": "Carica log",
|
||||
"error": "Errore:",
|
||||
"stackTrace": "Traccia dello stack:"
|
||||
"uploadLogs": "Carica log"
|
||||
},
|
||||
"licenses": {
|
||||
"relatedPackages": "Pacchetti correlati",
|
||||
@@ -561,20 +558,12 @@
|
||||
},
|
||||
"liveTv": {
|
||||
"title": "TV in diretta",
|
||||
"channels": "Canali",
|
||||
"guide": "Guida",
|
||||
"noChannels": "Nessun canale disponibile",
|
||||
"noDvr": "Nessun DVR configurato su nessun server",
|
||||
"tuneFailed": "Impossibile sintonizzare il canale",
|
||||
"loading": "Caricamento canali...",
|
||||
"nowPlaying": "In riproduzione",
|
||||
"noPrograms": "Nessun dato di programma disponibile",
|
||||
"channelNumber": "Canale ${number}",
|
||||
"live": "IN DIRETTA",
|
||||
"hd": "HD",
|
||||
"premiere": "NUOVO",
|
||||
"reloadGuide": "Ricarica guida",
|
||||
"allChannels": "Tutti i canali",
|
||||
"now": "Ora",
|
||||
"today": "Oggi",
|
||||
"midnight": "Mezzanotte",
|
||||
@@ -584,7 +573,8 @@
|
||||
"evening": "Sera",
|
||||
"lateNight": "Notte tarda",
|
||||
"whatsOn": "In onda ora",
|
||||
"watchChannel": "Guarda canale"
|
||||
"watchChannel": "Guarda canale",
|
||||
"favorites": "Preferiti"
|
||||
},
|
||||
"downloads": {
|
||||
"title": "Download",
|
||||
@@ -829,7 +819,6 @@
|
||||
"playerCommand": "Comando",
|
||||
"playerPackage": "Nome pacchetto",
|
||||
"playerUrlScheme": "Schema URL",
|
||||
"customPlayer": "Lettore personalizzato",
|
||||
"off": "Disattivato",
|
||||
"launchFailed": "Impossibile aprire il lettore esterno",
|
||||
"appNotInstalled": "${name} non è installato",
|
||||
|
||||
+18
-29
@@ -30,7 +30,6 @@
|
||||
"shuffle": "シャッフル",
|
||||
"addTo": "追加...",
|
||||
"createNew": "新規作成",
|
||||
"remove": "削除",
|
||||
"paste": "貼り付け",
|
||||
"connect": "接続",
|
||||
"disconnect": "切断",
|
||||
@@ -44,7 +43,6 @@
|
||||
"settings": "設定",
|
||||
"mute": "ミュート",
|
||||
"ok": "OK",
|
||||
"loading": "読み込み中...",
|
||||
"reconnect": "再接続",
|
||||
"exitConfirmTitle": "アプリを終了しますか?",
|
||||
"exitConfirmMessage": "終了してもよろしいですか?",
|
||||
@@ -137,6 +135,8 @@
|
||||
"subtitleStylingDescription": "字幕の外観をカスタマイズ",
|
||||
"smallSkipDuration": "短いスキップ時間",
|
||||
"largeSkipDuration": "長いスキップ時間",
|
||||
"rewindOnResume": "再開時に巻き戻し",
|
||||
"rewindOnResumeDescription": "再生再開時にこの秒数分巻き戻す",
|
||||
"secondsUnit": "${seconds}秒",
|
||||
"defaultSleepTimer": "デフォルトスリープタイマー",
|
||||
"minutesUnit": "${minutes}分",
|
||||
@@ -178,6 +178,11 @@
|
||||
"autoSkipCreditsDescription": "クレジットを自動的にスキップして次のエピソードを再生",
|
||||
"autoSkipDelay": "自動スキップの遅延",
|
||||
"autoSkipDelayDescription": "自動スキップまで${seconds}秒待機",
|
||||
"introPattern": "イントロマーカーパターン",
|
||||
"introPatternDescription": "チャプタータイトルのイントロマーカーに一致する正規表現パターン",
|
||||
"creditsPattern": "クレジットマーカーパターン",
|
||||
"creditsPatternDescription": "チャプタータイトルのクレジットマーカーに一致する正規表現パターン",
|
||||
"invalidRegex": "無効な正規表現",
|
||||
"downloads": "ダウンロード",
|
||||
"downloadLocationDescription": "ダウンロードコンテンツの保存場所を選択",
|
||||
"downloadLocationDefault": "デフォルト(アプリストレージ)",
|
||||
@@ -208,7 +213,9 @@
|
||||
"confirmExitOnBack": "終了前に確認",
|
||||
"confirmExitOnBackDescription": "戻るボタンでアプリを終了する際に確認ダイアログを表示",
|
||||
"showNavBarLabels": "ナビゲーションバーラベルを表示",
|
||||
"showNavBarLabelsDescription": "ナビゲーションバーアイコンの下にテキストラベルを表示"
|
||||
"showNavBarLabelsDescription": "ナビゲーションバーアイコンの下にテキストラベルを表示",
|
||||
"liveTvDefaultFavorites": "お気に入りチャンネルをデフォルトに",
|
||||
"liveTvDefaultFavoritesDescription": "ライブTV を開いたときにお気に入りチャンネルのみ表示"
|
||||
},
|
||||
"search": {
|
||||
"hint": "映画、番組、音楽を検索...",
|
||||
@@ -241,11 +248,6 @@
|
||||
"skipMarker": "イントロ/クレジットをスキップ"
|
||||
}
|
||||
},
|
||||
"pinEntry": {
|
||||
"enterPin": "PINを入力",
|
||||
"showPin": "PINを表示",
|
||||
"hidePin": "PINを非表示"
|
||||
},
|
||||
"fileInfo": {
|
||||
"title": "ファイル情報",
|
||||
"video": "映像",
|
||||
@@ -318,7 +320,6 @@
|
||||
"unlockRotation": "回転のロックを解除",
|
||||
"timerActive": "タイマー動作中",
|
||||
"playbackWillPauseIn": "再生は${duration}後に一時停止します",
|
||||
"sleepTimerCompleted": "スリープタイマー完了 - 再生を一時停止しました",
|
||||
"stillWatching": "まだ視聴中ですか?",
|
||||
"pausingIn": "${seconds}秒後に一時停止",
|
||||
"continueWatching": "続ける",
|
||||
@@ -335,20 +336,20 @@
|
||||
"muteButton": "ミュート",
|
||||
"unmuteButton": "ミュート解除",
|
||||
"settingsButton": "動画設定",
|
||||
"audioTrackButton": "音声トラック",
|
||||
"subtitlesButton": "字幕",
|
||||
"tracksButton": "音声と字幕",
|
||||
"chaptersButton": "チャプター",
|
||||
"versionsButton": "動画バージョン",
|
||||
"pipButton": "ピクチャーインピクチャーモード",
|
||||
"aspectRatioButton": "アスペクト比",
|
||||
"ambientLighting": "アンビエントライティング",
|
||||
"ambientLightingOn": "アンビエントライティングを有効化",
|
||||
"ambientLightingOff": "アンビエントライティングを無効化",
|
||||
"fullscreenButton": "フルスクリーンに入る",
|
||||
"exitFullscreenButton": "フルスクリーンを終了",
|
||||
"alwaysOnTopButton": "常に前面に表示",
|
||||
"rotationLockButton": "回転ロック",
|
||||
"lockScreen": "画面をロック",
|
||||
"unlockScreen": "画面のロックを解除",
|
||||
"screenLockButton": "画面ロック",
|
||||
"longPressToUnlock": "長押しでロック解除",
|
||||
"timelineSlider": "動画タイムライン",
|
||||
"volumeSlider": "音量レベル",
|
||||
"endsAt": "${time}に終了",
|
||||
@@ -448,11 +449,8 @@
|
||||
"overview": "あらすじ",
|
||||
"cast": "キャスト",
|
||||
"extras": "予告編とエクストラ",
|
||||
"seasons": "シーズン",
|
||||
"studio": "スタジオ",
|
||||
"rating": "評価",
|
||||
"episodeCount": "${count}エピソード",
|
||||
"watchedProgress": "${watched}/${total}視聴済み",
|
||||
"movie": "映画",
|
||||
"tvShow": "テレビ番組",
|
||||
"minutesLeft": "残り${minutes}分"
|
||||
@@ -514,6 +512,7 @@
|
||||
"playlists": "プレイリスト"
|
||||
},
|
||||
"groupings": {
|
||||
"title": "グループ",
|
||||
"all": "すべて",
|
||||
"movies": "映画",
|
||||
"shows": "テレビ番組",
|
||||
@@ -544,9 +543,7 @@
|
||||
"logs": {
|
||||
"clearLogs": "ログをクリア",
|
||||
"copyLogs": "ログをコピー",
|
||||
"uploadLogs": "ログをアップロード",
|
||||
"error": "エラー:",
|
||||
"stackTrace": "スタックトレース:"
|
||||
"uploadLogs": "ログをアップロード"
|
||||
},
|
||||
"licenses": {
|
||||
"relatedPackages": "関連パッケージ",
|
||||
@@ -561,20 +558,12 @@
|
||||
},
|
||||
"liveTv": {
|
||||
"title": "ライブTV",
|
||||
"channels": "チャンネル",
|
||||
"guide": "番組表",
|
||||
"noChannels": "チャンネルがありません",
|
||||
"noDvr": "どのサーバーにもDVRが設定されていません",
|
||||
"tuneFailed": "チャンネルのチューニングに失敗しました",
|
||||
"loading": "チャンネルを読み込み中...",
|
||||
"nowPlaying": "現在放送中",
|
||||
"noPrograms": "番組データがありません",
|
||||
"channelNumber": "Ch. ${number}",
|
||||
"live": "ライブ",
|
||||
"hd": "HD",
|
||||
"premiere": "新着",
|
||||
"reloadGuide": "番組表を再読込",
|
||||
"allChannels": "すべてのチャンネル",
|
||||
"now": "現在",
|
||||
"today": "今日",
|
||||
"midnight": "深夜",
|
||||
@@ -584,7 +573,8 @@
|
||||
"evening": "夕方",
|
||||
"lateNight": "深夜",
|
||||
"whatsOn": "放送中",
|
||||
"watchChannel": "チャンネルを視聴"
|
||||
"watchChannel": "チャンネルを視聴",
|
||||
"favorites": "お気に入り"
|
||||
},
|
||||
"collections": {
|
||||
"title": "コレクション",
|
||||
@@ -829,7 +819,6 @@
|
||||
"playerCommand": "コマンド",
|
||||
"playerPackage": "パッケージ名",
|
||||
"playerUrlScheme": "URLスキーム",
|
||||
"customPlayer": "カスタムプレーヤー",
|
||||
"off": "オフ",
|
||||
"launchFailed": "外部プレーヤーの起動に失敗しました",
|
||||
"appNotInstalled": "${name}がインストールされていません",
|
||||
|
||||
+18
-29
@@ -30,7 +30,6 @@
|
||||
"shuffle": "무작위 재생",
|
||||
"addTo": "추가하기...",
|
||||
"createNew": "새로 만들기",
|
||||
"remove": "삭제",
|
||||
"paste": "붙여넣기",
|
||||
"connect": "연결",
|
||||
"disconnect": "연결 해제",
|
||||
@@ -44,7 +43,6 @@
|
||||
"settings": "설정",
|
||||
"mute": "음소거",
|
||||
"ok": "확인",
|
||||
"loading": "로딩 중...",
|
||||
"reconnect": "다시 연결",
|
||||
"exitConfirmTitle": "앱을 종료하시겠습니까?",
|
||||
"exitConfirmMessage": "정말 종료하시겠습니까?",
|
||||
@@ -137,6 +135,8 @@
|
||||
"subtitleStylingDescription": "자막의 외형을 사용자 설정",
|
||||
"smallSkipDuration": "짧은 건너뛰기 시간",
|
||||
"largeSkipDuration": "긴 건너뛰기 시간",
|
||||
"rewindOnResume": "재개 시 되감기",
|
||||
"rewindOnResumeDescription": "재생 재개 시 이 시간만큼 되감기",
|
||||
"secondsUnit": "${seconds}초",
|
||||
"defaultSleepTimer": "기본 취침 타이머",
|
||||
"minutesUnit": "${minutes}분",
|
||||
@@ -178,6 +178,11 @@
|
||||
"autoSkipCreditsDescription": "엔딩 크레딧 자동 건너뛰기 후 다음 에피소드 재생",
|
||||
"autoSkipDelay": "자동 건너뛰기 지연",
|
||||
"autoSkipDelayDescription": "자동 건너뛰기 전 ${seconds} 초 대기",
|
||||
"introPattern": "인트로 마커 패턴",
|
||||
"introPatternDescription": "챕터 제목에서 인트로 마커를 인식하는 정규식 패턴",
|
||||
"creditsPattern": "크레딧 마커 패턴",
|
||||
"creditsPatternDescription": "챕터 제목에서 크레딧 마커를 인식하는 정규식 패턴",
|
||||
"invalidRegex": "잘못된 정규식",
|
||||
"downloads": "다운로드",
|
||||
"downloadLocationDescription": "다운로드 콘텐츠 저장 위치 선택",
|
||||
"downloadLocationDefault": "기본값 (앱 저장소)",
|
||||
@@ -208,7 +213,9 @@
|
||||
"confirmExitOnBack": "종료 전 확인",
|
||||
"confirmExitOnBackDescription": "뒤로 버튼을 눌러 앱을 종료할 때 확인 대화상자를 표시합니다",
|
||||
"showNavBarLabels": "내비게이션 바 라벨 표시",
|
||||
"showNavBarLabelsDescription": "내비게이션 바 아이콘 아래에 텍스트 라벨을 표시합니다"
|
||||
"showNavBarLabelsDescription": "내비게이션 바 아이콘 아래에 텍스트 라벨을 표시합니다",
|
||||
"liveTvDefaultFavorites": "즐겨찾기 채널 기본 설정",
|
||||
"liveTvDefaultFavoritesDescription": "라이브 TV를 열 때 즐겨찾기 채널만 표시"
|
||||
},
|
||||
"search": {
|
||||
"hint": "영화, 시리즈, 음악 등을 검색하세요...",
|
||||
@@ -241,11 +248,6 @@
|
||||
"skipMarker": "인트로/크레딧 건너뛰기"
|
||||
}
|
||||
},
|
||||
"pinEntry": {
|
||||
"enterPin": "PIN 입력",
|
||||
"showPin": "PIN 표시",
|
||||
"hidePin": "PIN 숨기기"
|
||||
},
|
||||
"fileInfo": {
|
||||
"title": "파일 정보",
|
||||
"video": "비디오",
|
||||
@@ -318,7 +320,6 @@
|
||||
"unlockRotation": "회전 잠금 해제",
|
||||
"timerActive": "타이머 활성화됨",
|
||||
"playbackWillPauseIn": "재생이 ${duration} 후에 일시 중지 됩니다",
|
||||
"sleepTimerCompleted": "수면 타이머 완료됨 - 재생이 일시 중지되었습니다",
|
||||
"stillWatching": "아직 시청 중이신가요?",
|
||||
"pausingIn": "${seconds}초 후 일시 정지",
|
||||
"continueWatching": "계속",
|
||||
@@ -335,20 +336,20 @@
|
||||
"muteButton": "음소거",
|
||||
"unmuteButton": "음소거 해제",
|
||||
"settingsButton": "동영상 설정",
|
||||
"audioTrackButton": "음원 트랙",
|
||||
"subtitlesButton": "자막",
|
||||
"tracksButton": "오디오 및 자막",
|
||||
"chaptersButton": "챕터",
|
||||
"versionsButton": "동영상 버전",
|
||||
"pipButton": "픽처 인 픽처 모드",
|
||||
"aspectRatioButton": "화면비율",
|
||||
"ambientLighting": "주변 조명",
|
||||
"ambientLightingOn": "주변 조명 켜기",
|
||||
"ambientLightingOff": "주변 조명 끄기",
|
||||
"fullscreenButton": "전체화면",
|
||||
"exitFullscreenButton": "전체화면 종료",
|
||||
"alwaysOnTopButton": "창 최상위 고정",
|
||||
"rotationLockButton": "회전 잠금",
|
||||
"lockScreen": "화면 잠금",
|
||||
"unlockScreen": "화면 잠금 해제",
|
||||
"screenLockButton": "화면 잠금",
|
||||
"longPressToUnlock": "길게 눌러 잠금 해제",
|
||||
"timelineSlider": "타임라인",
|
||||
"volumeSlider": "볼륨 조절",
|
||||
"endsAt": "${time}에 종료",
|
||||
@@ -448,11 +449,8 @@
|
||||
"overview": "개요",
|
||||
"cast": "출연진",
|
||||
"extras": "예고편 및 부가영상",
|
||||
"seasons": "시즌 수",
|
||||
"studio": "제작사",
|
||||
"rating": "연령 등급",
|
||||
"episodeCount": "${count} 편",
|
||||
"watchedProgress": "${watched}/${total} 편 시청 완료",
|
||||
"movie": "영화",
|
||||
"tvShow": "TV 시리즈",
|
||||
"minutesLeft": "${minutes}분 남음"
|
||||
@@ -514,6 +512,7 @@
|
||||
"playlists": "재생 목록"
|
||||
},
|
||||
"groupings": {
|
||||
"title": "그룹",
|
||||
"all": "전체",
|
||||
"movies": "영화",
|
||||
"shows": "TV 프로그램",
|
||||
@@ -544,9 +543,7 @@
|
||||
"logs": {
|
||||
"clearLogs": "로그 지우기",
|
||||
"copyLogs": "로그 복사",
|
||||
"uploadLogs": "로그 업로드",
|
||||
"error": "오류:",
|
||||
"stackTrace": "스택 추적 (Stack Trace):"
|
||||
"uploadLogs": "로그 업로드"
|
||||
},
|
||||
"licenses": {
|
||||
"relatedPackages": "관련 소프트웨어 패키지",
|
||||
@@ -561,20 +558,12 @@
|
||||
},
|
||||
"liveTv": {
|
||||
"title": "실시간 TV",
|
||||
"channels": "채널",
|
||||
"guide": "편성표",
|
||||
"noChannels": "사용 가능한 채널이 없습니다",
|
||||
"noDvr": "서버에 DVR이 구성되어 있지 않습니다",
|
||||
"tuneFailed": "채널 튜닝에 실패했습니다",
|
||||
"loading": "채널 로딩 중...",
|
||||
"nowPlaying": "현재 재생 중",
|
||||
"noPrograms": "프로그램 데이터가 없습니다",
|
||||
"channelNumber": "채널 ${number}",
|
||||
"live": "실시간",
|
||||
"hd": "HD",
|
||||
"premiere": "신규",
|
||||
"reloadGuide": "편성표 새로고침",
|
||||
"allChannels": "전체 채널",
|
||||
"now": "지금",
|
||||
"today": "오늘",
|
||||
"midnight": "자정",
|
||||
@@ -584,7 +573,8 @@
|
||||
"evening": "저녁",
|
||||
"lateNight": "심야 방송",
|
||||
"whatsOn": "지금 방송 중",
|
||||
"watchChannel": "채널 시청"
|
||||
"watchChannel": "채널 시청",
|
||||
"favorites": "즐겨찾기"
|
||||
},
|
||||
"collections": {
|
||||
"title": "컬렉션",
|
||||
@@ -829,7 +819,6 @@
|
||||
"playerCommand": "명령어",
|
||||
"playerPackage": "패키지 이름",
|
||||
"playerUrlScheme": "URL 스킴",
|
||||
"customPlayer": "사용자 정의 플레이어",
|
||||
"off": "꺼짐",
|
||||
"launchFailed": "외부 플레이어를 열 수 없습니다",
|
||||
"appNotInstalled": "${name}이(가) 설치되어 있지 않습니다",
|
||||
|
||||
+18
-29
@@ -30,7 +30,6 @@
|
||||
"shuffle": "Tilfeldig",
|
||||
"addTo": "Legg til i...",
|
||||
"createNew": "Opprett ny",
|
||||
"remove": "Fjern",
|
||||
"paste": "Lim inn",
|
||||
"connect": "Koble til",
|
||||
"disconnect": "Koble fra",
|
||||
@@ -44,7 +43,6 @@
|
||||
"settings": "Innstillinger",
|
||||
"mute": "Demp",
|
||||
"ok": "OK",
|
||||
"loading": "Laster...",
|
||||
"reconnect": "Koble til på nytt",
|
||||
"exitConfirmTitle": "Avslutte appen?",
|
||||
"exitConfirmMessage": "Er du sikker på at du vil avslutte?",
|
||||
@@ -137,6 +135,8 @@
|
||||
"subtitleStylingDescription": "Tilpass utseendet på undertekster",
|
||||
"smallSkipDuration": "Kort hoppvarighet",
|
||||
"largeSkipDuration": "Lang hoppvarighet",
|
||||
"rewindOnResume": "Spol tilbake ved gjenopptakelse",
|
||||
"rewindOnResumeDescription": "Spol tilbake med denne mengden ved gjenopptakelse av avspilling",
|
||||
"secondsUnit": "${seconds} sekunder",
|
||||
"defaultSleepTimer": "Standard søvntimer",
|
||||
"minutesUnit": "${minutes} minutter",
|
||||
@@ -178,6 +178,11 @@
|
||||
"autoSkipCreditsDescription": "Hopp automatisk over rulletekst og spill neste episode",
|
||||
"autoSkipDelay": "Forsinkelse for automatisk hopp",
|
||||
"autoSkipDelayDescription": "Vent ${seconds} sekunder før automatisk hopping",
|
||||
"introPattern": "Intromarkørmønster",
|
||||
"introPatternDescription": "Regulært uttrykk for å gjenkjenne intromarkører i kapitteltitler",
|
||||
"creditsPattern": "Rulletekstmarkørmønster",
|
||||
"creditsPatternDescription": "Regulært uttrykk for å gjenkjenne rulletekstmarkører i kapitteltitler",
|
||||
"invalidRegex": "Ugyldig regulært uttrykk",
|
||||
"downloads": "Nedlastinger",
|
||||
"downloadLocationDescription": "Velg hvor nedlastet innhold skal lagres",
|
||||
"downloadLocationDefault": "Standard (App-lagring)",
|
||||
@@ -208,7 +213,9 @@
|
||||
"confirmExitOnBack": "Bekreft før avslutning",
|
||||
"confirmExitOnBackDescription": "Vis en bekreftelsesdialog når du trykker tilbake for å avslutte appen",
|
||||
"showNavBarLabels": "Vis navigasjonsfeltlabeler",
|
||||
"showNavBarLabelsDescription": "Vis tekstlabeler under navigasjonsfeltikoner"
|
||||
"showNavBarLabelsDescription": "Vis tekstlabeler under navigasjonsfeltikoner",
|
||||
"liveTvDefaultFavorites": "Standard til favorittkanaler",
|
||||
"liveTvDefaultFavoritesDescription": "Vis kun favorittkanaler når du åpner Live TV"
|
||||
},
|
||||
"search": {
|
||||
"hint": "Søk i filmer, serier, musikk...",
|
||||
@@ -241,11 +248,6 @@
|
||||
"skipMarker": "Hopp over intro/rulletekst"
|
||||
}
|
||||
},
|
||||
"pinEntry": {
|
||||
"enterPin": "Skriv inn PIN",
|
||||
"showPin": "Vis PIN",
|
||||
"hidePin": "Skjul PIN"
|
||||
},
|
||||
"fileInfo": {
|
||||
"title": "Filinformasjon",
|
||||
"video": "Video",
|
||||
@@ -318,7 +320,6 @@
|
||||
"unlockRotation": "Lås opp rotasjon",
|
||||
"timerActive": "Timer aktiv",
|
||||
"playbackWillPauseIn": "Avspilling vil pause om ${duration}",
|
||||
"sleepTimerCompleted": "Søvntimer fullført – avspilling satt på pause",
|
||||
"stillWatching": "Ser du fortsatt?",
|
||||
"pausingIn": "Pauser om ${seconds}s",
|
||||
"continueWatching": "Fortsett",
|
||||
@@ -335,20 +336,20 @@
|
||||
"muteButton": "Demp",
|
||||
"unmuteButton": "Opphev demping",
|
||||
"settingsButton": "Videoinnstillinger",
|
||||
"audioTrackButton": "Lydspor",
|
||||
"subtitlesButton": "Undertekster",
|
||||
"tracksButton": "Lyd og undertekster",
|
||||
"chaptersButton": "Kapitler",
|
||||
"versionsButton": "Videoversjoner",
|
||||
"pipButton": "Bilde-i-bilde-modus",
|
||||
"aspectRatioButton": "Sideforhold",
|
||||
"ambientLighting": "Omgivelseslys",
|
||||
"ambientLightingOn": "Aktiver omgivelseslys",
|
||||
"ambientLightingOff": "Deaktiver omgivelseslys",
|
||||
"fullscreenButton": "Gå til fullskjerm",
|
||||
"exitFullscreenButton": "Avslutt fullskjerm",
|
||||
"alwaysOnTopButton": "Alltid øverst",
|
||||
"rotationLockButton": "Rotasjonslås",
|
||||
"lockScreen": "Lås skjerm",
|
||||
"unlockScreen": "Lås opp skjerm",
|
||||
"screenLockButton": "Skjermlås",
|
||||
"longPressToUnlock": "Langt trykk for å låse opp",
|
||||
"timelineSlider": "Videotidslinje",
|
||||
"volumeSlider": "Volumnivå",
|
||||
"endsAt": "Slutter kl. ${time}",
|
||||
@@ -448,11 +449,8 @@
|
||||
"overview": "Oversikt",
|
||||
"cast": "Skuespillere",
|
||||
"extras": "Trailere og ekstra",
|
||||
"seasons": "Sesonger",
|
||||
"studio": "Studio",
|
||||
"rating": "Vurdering",
|
||||
"episodeCount": "${count} episoder",
|
||||
"watchedProgress": "${watched}/${total} sett",
|
||||
"movie": "Film",
|
||||
"tvShow": "TV-serie",
|
||||
"minutesLeft": "${minutes} min igjen"
|
||||
@@ -514,6 +512,7 @@
|
||||
"playlists": "Spillelister"
|
||||
},
|
||||
"groupings": {
|
||||
"title": "Gruppering",
|
||||
"all": "Alle",
|
||||
"movies": "Filmer",
|
||||
"shows": "TV-serier",
|
||||
@@ -544,9 +543,7 @@
|
||||
"logs": {
|
||||
"clearLogs": "Tøm logger",
|
||||
"copyLogs": "Kopier logger",
|
||||
"uploadLogs": "Last opp logger",
|
||||
"error": "Feil:",
|
||||
"stackTrace": "Stabelsporing:"
|
||||
"uploadLogs": "Last opp logger"
|
||||
},
|
||||
"licenses": {
|
||||
"relatedPackages": "Relaterte pakker",
|
||||
@@ -561,20 +558,12 @@
|
||||
},
|
||||
"liveTv": {
|
||||
"title": "Direkte-TV",
|
||||
"channels": "Kanaler",
|
||||
"guide": "Programguide",
|
||||
"noChannels": "Ingen kanaler tilgjengelig",
|
||||
"noDvr": "Ingen DVR konfigurert på noen server",
|
||||
"tuneFailed": "Kunne ikke stille inn kanal",
|
||||
"loading": "Laster kanaler...",
|
||||
"nowPlaying": "Spilles nå",
|
||||
"noPrograms": "Ingen programdata tilgjengelig",
|
||||
"channelNumber": "Kanal ${number}",
|
||||
"live": "DIREKTE",
|
||||
"hd": "HD",
|
||||
"premiere": "NY",
|
||||
"reloadGuide": "Last inn programguide på nytt",
|
||||
"allChannels": "Alle kanaler",
|
||||
"now": "Nå",
|
||||
"today": "I dag",
|
||||
"midnight": "Midnatt",
|
||||
@@ -584,7 +573,8 @@
|
||||
"evening": "Kveld",
|
||||
"lateNight": "Sen kveld",
|
||||
"whatsOn": "Hva går nå",
|
||||
"watchChannel": "Se kanal"
|
||||
"watchChannel": "Se kanal",
|
||||
"favorites": "Favoritter"
|
||||
},
|
||||
"collections": {
|
||||
"title": "Samlinger",
|
||||
@@ -829,7 +819,6 @@
|
||||
"playerCommand": "Kommando",
|
||||
"playerPackage": "Pakkenavn",
|
||||
"playerUrlScheme": "URL-skjema",
|
||||
"customPlayer": "Egendefinert spiller",
|
||||
"off": "Av",
|
||||
"launchFailed": "Kunne ikke åpne ekstern spiller",
|
||||
"appNotInstalled": "${name} er ikke installert",
|
||||
|
||||
+18
-29
@@ -30,7 +30,6 @@
|
||||
"shuffle": "Willekeurig",
|
||||
"addTo": "Toevoegen aan...",
|
||||
"createNew": "Nieuw aanmaken",
|
||||
"remove": "Verwijderen",
|
||||
"paste": "Plakken",
|
||||
"connect": "Verbinden",
|
||||
"disconnect": "Verbinding verbreken",
|
||||
@@ -44,7 +43,6 @@
|
||||
"settings": "Opties",
|
||||
"mute": "Dempen",
|
||||
"ok": "OK",
|
||||
"loading": "Laden...",
|
||||
"reconnect": "Opnieuw verbinden",
|
||||
"exitConfirmTitle": "App afsluiten?",
|
||||
"exitConfirmMessage": "Weet je zeker dat je wilt afsluiten?",
|
||||
@@ -137,6 +135,8 @@
|
||||
"subtitleStylingDescription": "Pas ondertitel uiterlijk aan",
|
||||
"smallSkipDuration": "Korte skip duur",
|
||||
"largeSkipDuration": "Lange skip duur",
|
||||
"rewindOnResume": "Terugspoelen bij hervatten",
|
||||
"rewindOnResumeDescription": "Spoel dit aantal seconden terug bij het hervatten van afspelen",
|
||||
"secondsUnit": "${seconds} seconden",
|
||||
"defaultSleepTimer": "Standaard slaap timer",
|
||||
"minutesUnit": "bij ${minutes} minuten",
|
||||
@@ -178,6 +178,11 @@
|
||||
"autoSkipCreditsDescription": "Credits automatisch overslaan en volgende aflevering afspelen",
|
||||
"autoSkipDelay": "Vertraging Automatisch Overslaan",
|
||||
"autoSkipDelayDescription": "${seconds} seconden wachten voor automatisch overslaan",
|
||||
"introPattern": "Intromarkeringspatroon",
|
||||
"introPatternDescription": "Reguliere expressie om intromarkeringen in hoofdstuktitels te herkennen",
|
||||
"creditsPattern": "Aftitelingmarkeringspatroon",
|
||||
"creditsPatternDescription": "Reguliere expressie om aftitelingmarkeringen in hoofdstuktitels te herkennen",
|
||||
"invalidRegex": "Ongeldige reguliere expressie",
|
||||
"downloads": "Downloads",
|
||||
"downloadLocationDescription": "Kies waar gedownloade content wordt opgeslagen",
|
||||
"downloadLocationDefault": "Standaard (App-opslag)",
|
||||
@@ -208,7 +213,9 @@
|
||||
"confirmExitOnBack": "Bevestigen voor afsluiten",
|
||||
"confirmExitOnBackDescription": "Toon een bevestigingsvenster bij het drukken op terug om de app af te sluiten",
|
||||
"showNavBarLabels": "Navigatiebalk labels tonen",
|
||||
"showNavBarLabelsDescription": "Tekstlabels onder de pictogrammen van de navigatiebalk weergeven"
|
||||
"showNavBarLabelsDescription": "Tekstlabels onder de pictogrammen van de navigatiebalk weergeven",
|
||||
"liveTvDefaultFavorites": "Standaard favoriete zenders",
|
||||
"liveTvDefaultFavoritesDescription": "Toon alleen favoriete zenders bij het openen van Live TV"
|
||||
},
|
||||
"search": {
|
||||
"hint": "Zoek films, series, muziek...",
|
||||
@@ -241,11 +248,6 @@
|
||||
"skipMarker": "Intro/aftiteling overslaan"
|
||||
}
|
||||
},
|
||||
"pinEntry": {
|
||||
"enterPin": "Voer PIN in",
|
||||
"showPin": "Toon PIN",
|
||||
"hidePin": "Verberg PIN"
|
||||
},
|
||||
"fileInfo": {
|
||||
"title": "Bestand info",
|
||||
"video": "Video",
|
||||
@@ -318,7 +320,6 @@
|
||||
"unlockRotation": "Ontgrendel rotatie",
|
||||
"timerActive": "Timer actief",
|
||||
"playbackWillPauseIn": "Afspelen wordt gepauzeerd over ${duration}",
|
||||
"sleepTimerCompleted": "Slaaptimer voltooid - afspelen gepauzeerd",
|
||||
"stillWatching": "Kijk je nog?",
|
||||
"pausingIn": "Pauze over ${seconds}s",
|
||||
"continueWatching": "Doorgaan",
|
||||
@@ -335,20 +336,20 @@
|
||||
"muteButton": "Dempen",
|
||||
"unmuteButton": "Dempen opheffen",
|
||||
"settingsButton": "Video-instellingen",
|
||||
"audioTrackButton": "Audiosporen",
|
||||
"subtitlesButton": "Ondertitels",
|
||||
"tracksButton": "Audio en ondertitels",
|
||||
"chaptersButton": "Hoofdstukken",
|
||||
"versionsButton": "Videoversies",
|
||||
"pipButton": "Beeld-in-beeld modus",
|
||||
"aspectRatioButton": "Beeldverhouding",
|
||||
"ambientLighting": "Omgevingsverlichting",
|
||||
"ambientLightingOn": "Omgevingsverlichting inschakelen",
|
||||
"ambientLightingOff": "Omgevingsverlichting uitschakelen",
|
||||
"fullscreenButton": "Volledig scherm activeren",
|
||||
"exitFullscreenButton": "Volledig scherm verlaten",
|
||||
"alwaysOnTopButton": "Altijd bovenop",
|
||||
"rotationLockButton": "Rotatievergrendeling",
|
||||
"lockScreen": "Vergrendel scherm",
|
||||
"unlockScreen": "Ontgrendel scherm",
|
||||
"screenLockButton": "Schermvergrendeling",
|
||||
"longPressToUnlock": "Lang indrukken om te ontgrendelen",
|
||||
"timelineSlider": "Videotijdlijn",
|
||||
"volumeSlider": "Volumeniveau",
|
||||
"endsAt": "Eindigt om ${time}",
|
||||
@@ -448,11 +449,8 @@
|
||||
"overview": "Overzicht",
|
||||
"cast": "Acteurs",
|
||||
"extras": "Trailers & Extra's",
|
||||
"seasons": "Seizoenen",
|
||||
"studio": "Studio",
|
||||
"rating": "Leeftijd",
|
||||
"episodeCount": "${count} afleveringen",
|
||||
"watchedProgress": "${watched}/${total} gekeken",
|
||||
"movie": "Film",
|
||||
"tvShow": "TV Serie",
|
||||
"minutesLeft": "${minutes} min over"
|
||||
@@ -514,6 +512,7 @@
|
||||
"playlists": "Afspeellijsten"
|
||||
},
|
||||
"groupings": {
|
||||
"title": "Groepering",
|
||||
"all": "Alles",
|
||||
"movies": "Films",
|
||||
"shows": "Series",
|
||||
@@ -544,9 +543,7 @@
|
||||
"logs": {
|
||||
"clearLogs": "Wis logs",
|
||||
"copyLogs": "Kopieer logs",
|
||||
"uploadLogs": "Logs uploaden",
|
||||
"error": "Fout:",
|
||||
"stackTrace": "Stacktracering:"
|
||||
"uploadLogs": "Logs uploaden"
|
||||
},
|
||||
"licenses": {
|
||||
"relatedPackages": "Gerelateerde pakketten",
|
||||
@@ -561,20 +558,12 @@
|
||||
},
|
||||
"liveTv": {
|
||||
"title": "Live TV",
|
||||
"channels": "Zenders",
|
||||
"guide": "Gids",
|
||||
"noChannels": "Geen zenders beschikbaar",
|
||||
"noDvr": "Geen DVR geconfigureerd op een server",
|
||||
"tuneFailed": "Kan zender niet afstemmen",
|
||||
"loading": "Zenders laden...",
|
||||
"nowPlaying": "Nu aan het afspelen",
|
||||
"noPrograms": "Geen programmagegevens beschikbaar",
|
||||
"channelNumber": "Kanaal ${number}",
|
||||
"live": "LIVE",
|
||||
"hd": "HD",
|
||||
"premiere": "NIEUW",
|
||||
"reloadGuide": "Gids herladen",
|
||||
"allChannels": "Alle zenders",
|
||||
"now": "Nu",
|
||||
"today": "Vandaag",
|
||||
"midnight": "Middernacht",
|
||||
@@ -584,7 +573,8 @@
|
||||
"evening": "Avond",
|
||||
"lateNight": "Late avond",
|
||||
"whatsOn": "Nu op TV",
|
||||
"watchChannel": "Kanaal bekijken"
|
||||
"watchChannel": "Kanaal bekijken",
|
||||
"favorites": "Favorieten"
|
||||
},
|
||||
"downloads": {
|
||||
"title": "Downloads",
|
||||
@@ -829,7 +819,6 @@
|
||||
"playerCommand": "Commando",
|
||||
"playerPackage": "Pakketnaam",
|
||||
"playerUrlScheme": "URL-schema",
|
||||
"customPlayer": "Aangepaste speler",
|
||||
"off": "Uit",
|
||||
"launchFailed": "Kan externe speler niet openen",
|
||||
"appNotInstalled": "${name} is niet geïnstalleerd",
|
||||
|
||||
+18
-29
@@ -30,7 +30,6 @@
|
||||
"shuffle": "Losowo",
|
||||
"addTo": "Dodaj do...",
|
||||
"createNew": "Utwórz nowy",
|
||||
"remove": "Usuń",
|
||||
"paste": "Wklej",
|
||||
"connect": "Połącz",
|
||||
"disconnect": "Rozłącz",
|
||||
@@ -44,7 +43,6 @@
|
||||
"settings": "Ustawienia",
|
||||
"mute": "Wycisz",
|
||||
"ok": "OK",
|
||||
"loading": "Ładowanie...",
|
||||
"reconnect": "Połącz ponownie",
|
||||
"exitConfirmTitle": "Zamknąć aplikację?",
|
||||
"exitConfirmMessage": "Czy na pewno chcesz wyjść?",
|
||||
@@ -137,6 +135,8 @@
|
||||
"subtitleStylingDescription": "Dostosuj wygląd napisów",
|
||||
"smallSkipDuration": "Krótki skok",
|
||||
"largeSkipDuration": "Długi skok",
|
||||
"rewindOnResume": "Przewiń przy wznowieniu",
|
||||
"rewindOnResumeDescription": "Przewiń o tę wartość przy wznawianiu odtwarzania",
|
||||
"secondsUnit": "${seconds} sekund",
|
||||
"defaultSleepTimer": "Domyślny wyłącznik czasowy",
|
||||
"minutesUnit": "${minutes} minut",
|
||||
@@ -178,6 +178,11 @@
|
||||
"autoSkipCreditsDescription": "Automatycznie pomijaj napisy końcowe i odtwórz następny odcinek",
|
||||
"autoSkipDelay": "Opóźnienie automatycznego pomijania",
|
||||
"autoSkipDelayDescription": "Czekaj ${seconds} sekund przed automatycznym pominięciem",
|
||||
"introPattern": "Wzorzec znacznika intro",
|
||||
"introPatternDescription": "Wyrażenie regularne do rozpoznawania znaczników intro w tytułach rozdziałów",
|
||||
"creditsPattern": "Wzorzec znacznika napisów końcowych",
|
||||
"creditsPatternDescription": "Wyrażenie regularne do rozpoznawania znaczników napisów końcowych w tytułach rozdziałów",
|
||||
"invalidRegex": "Nieprawidłowe wyrażenie regularne",
|
||||
"downloads": "Pobrania",
|
||||
"downloadLocationDescription": "Wybierz miejsce przechowywania pobranych treści",
|
||||
"downloadLocationDefault": "Domyślne (Pamięć aplikacji)",
|
||||
@@ -208,7 +213,9 @@
|
||||
"confirmExitOnBack": "Potwierdź przed wyjściem",
|
||||
"confirmExitOnBackDescription": "Pokaż dialog potwierdzenia przy naciśnięciu wstecz, aby wyjść z aplikacji",
|
||||
"showNavBarLabels": "Pokaż etykiety paska nawigacji",
|
||||
"showNavBarLabelsDescription": "Wyświetl tekstowe etykiety pod ikonami paska nawigacji"
|
||||
"showNavBarLabelsDescription": "Wyświetl tekstowe etykiety pod ikonami paska nawigacji",
|
||||
"liveTvDefaultFavorites": "Domyślnie ulubione kanały",
|
||||
"liveTvDefaultFavoritesDescription": "Pokaż tylko ulubione kanały po otwarciu telewizji na żywo"
|
||||
},
|
||||
"search": {
|
||||
"hint": "Szukaj filmów, seriali, muzyki...",
|
||||
@@ -241,11 +248,6 @@
|
||||
"skipMarker": "Pomiń intro/napisy końcowe"
|
||||
}
|
||||
},
|
||||
"pinEntry": {
|
||||
"enterPin": "Wprowadź PIN",
|
||||
"showPin": "Pokaż PIN",
|
||||
"hidePin": "Ukryj PIN"
|
||||
},
|
||||
"fileInfo": {
|
||||
"title": "Informacje o pliku",
|
||||
"video": "Wideo",
|
||||
@@ -318,7 +320,6 @@
|
||||
"unlockRotation": "Odblokuj obrót",
|
||||
"timerActive": "Wyłącznik aktywny",
|
||||
"playbackWillPauseIn": "Odtwarzanie zatrzyma się za ${duration}",
|
||||
"sleepTimerCompleted": "Wyłącznik czasowy zakończony — odtwarzanie wstrzymane",
|
||||
"stillWatching": "Nadal oglądasz?",
|
||||
"pausingIn": "Pauza za ${seconds}s",
|
||||
"continueWatching": "Kontynuuj",
|
||||
@@ -335,20 +336,20 @@
|
||||
"muteButton": "Wycisz",
|
||||
"unmuteButton": "Wyłącz wyciszenie",
|
||||
"settingsButton": "Ustawienia wideo",
|
||||
"audioTrackButton": "Ścieżki audio",
|
||||
"subtitlesButton": "Napisy",
|
||||
"tracksButton": "Audio i napisy",
|
||||
"chaptersButton": "Rozdziały",
|
||||
"versionsButton": "Wersje wideo",
|
||||
"pipButton": "Tryb obraz w obrazie",
|
||||
"aspectRatioButton": "Proporcje",
|
||||
"ambientLighting": "Oświetlenie otoczenia",
|
||||
"ambientLightingOn": "Włącz oświetlenie otoczenia",
|
||||
"ambientLightingOff": "Wyłącz oświetlenie otoczenia",
|
||||
"fullscreenButton": "Wejdź w pełny ekran",
|
||||
"exitFullscreenButton": "Wyjdź z pełnego ekranu",
|
||||
"alwaysOnTopButton": "Zawsze na wierzchu",
|
||||
"rotationLockButton": "Blokada obrotu",
|
||||
"lockScreen": "Zablokuj ekran",
|
||||
"unlockScreen": "Odblokuj ekran",
|
||||
"screenLockButton": "Blokada ekranu",
|
||||
"longPressToUnlock": "Przytrzymaj, aby odblokować",
|
||||
"timelineSlider": "Oś czasu wideo",
|
||||
"volumeSlider": "Poziom głośności",
|
||||
"endsAt": "Kończy się o ${time}",
|
||||
@@ -448,11 +449,8 @@
|
||||
"overview": "Opis",
|
||||
"cast": "Obsada",
|
||||
"extras": "Zwiastuny i dodatki",
|
||||
"seasons": "Sezony",
|
||||
"studio": "Studio",
|
||||
"rating": "Ocena",
|
||||
"episodeCount": "${count} odcinków",
|
||||
"watchedProgress": "${watched}/${total} obejrzanych",
|
||||
"movie": "Film",
|
||||
"tvShow": "Serial TV",
|
||||
"minutesLeft": "${minutes} min pozostało"
|
||||
@@ -514,6 +512,7 @@
|
||||
"playlists": "Playlisty"
|
||||
},
|
||||
"groupings": {
|
||||
"title": "Grupowanie",
|
||||
"all": "Wszystkie",
|
||||
"movies": "Filmy",
|
||||
"shows": "Seriale TV",
|
||||
@@ -544,9 +543,7 @@
|
||||
"logs": {
|
||||
"clearLogs": "Wyczyść logi",
|
||||
"copyLogs": "Kopiuj logi",
|
||||
"uploadLogs": "Prześlij logi",
|
||||
"error": "Błąd:",
|
||||
"stackTrace": "Ślad stosu:"
|
||||
"uploadLogs": "Prześlij logi"
|
||||
},
|
||||
"licenses": {
|
||||
"relatedPackages": "Powiązane pakiety",
|
||||
@@ -561,20 +558,12 @@
|
||||
},
|
||||
"liveTv": {
|
||||
"title": "TV na żywo",
|
||||
"channels": "Kanały",
|
||||
"guide": "Przewodnik",
|
||||
"noChannels": "Brak dostępnych kanałów",
|
||||
"noDvr": "Brak skonfigurowanego DVR na żadnym serwerze",
|
||||
"tuneFailed": "Nie udało się dostroić kanału",
|
||||
"loading": "Ładowanie kanałów...",
|
||||
"nowPlaying": "Teraz odtwarzane",
|
||||
"noPrograms": "Brak danych o programach",
|
||||
"channelNumber": "Kn. ${number}",
|
||||
"live": "NA ŻYWO",
|
||||
"hd": "HD",
|
||||
"premiere": "NOWE",
|
||||
"reloadGuide": "Odśwież przewodnik",
|
||||
"allChannels": "Wszystkie kanały",
|
||||
"now": "Teraz",
|
||||
"today": "Dzisiaj",
|
||||
"midnight": "Północ",
|
||||
@@ -584,7 +573,8 @@
|
||||
"evening": "Wieczorem",
|
||||
"lateNight": "Późna noc",
|
||||
"whatsOn": "Co leci",
|
||||
"watchChannel": "Oglądaj kanał"
|
||||
"watchChannel": "Oglądaj kanał",
|
||||
"favorites": "Ulubione"
|
||||
},
|
||||
"collections": {
|
||||
"title": "Kolekcje",
|
||||
@@ -829,7 +819,6 @@
|
||||
"playerCommand": "Polecenie",
|
||||
"playerPackage": "Nazwa pakietu",
|
||||
"playerUrlScheme": "Schemat URL",
|
||||
"customPlayer": "Niestandardowy odtwarzacz",
|
||||
"off": "Wyłączony",
|
||||
"launchFailed": "Nie udało się otworzyć zewnętrznego odtwarzacza",
|
||||
"appNotInstalled": "${name} nie jest zainstalowany",
|
||||
|
||||
+18
-29
@@ -30,7 +30,6 @@
|
||||
"shuffle": "Aleatório",
|
||||
"addTo": "Adicionar a...",
|
||||
"createNew": "Criar novo",
|
||||
"remove": "Remover",
|
||||
"paste": "Colar",
|
||||
"connect": "Conectar",
|
||||
"disconnect": "Desconectar",
|
||||
@@ -44,7 +43,6 @@
|
||||
"settings": "Configurações",
|
||||
"mute": "Silenciar",
|
||||
"ok": "OK",
|
||||
"loading": "Carregando...",
|
||||
"reconnect": "Reconectar",
|
||||
"exitConfirmTitle": "Sair do app?",
|
||||
"exitConfirmMessage": "Tem certeza que deseja sair?",
|
||||
@@ -137,6 +135,8 @@
|
||||
"subtitleStylingDescription": "Personalizar aparência das legendas",
|
||||
"smallSkipDuration": "Duração do Avanço Curto",
|
||||
"largeSkipDuration": "Duração do Avanço Longo",
|
||||
"rewindOnResume": "Rebobinar ao retomar",
|
||||
"rewindOnResumeDescription": "Rebobinar esta quantidade ao retomar a reprodução",
|
||||
"secondsUnit": "${seconds} segundos",
|
||||
"defaultSleepTimer": "Timer de Sono Padrão",
|
||||
"minutesUnit": "${minutes} minutos",
|
||||
@@ -178,6 +178,11 @@
|
||||
"autoSkipCreditsDescription": "Pular créditos automaticamente e reproduzir próximo episódio",
|
||||
"autoSkipDelay": "Atraso do Pulo Automático",
|
||||
"autoSkipDelayDescription": "Aguardar ${seconds} segundos antes de pular automaticamente",
|
||||
"introPattern": "Padrão de marcador de intro",
|
||||
"introPatternDescription": "Expressão regular para corresponder marcadores de intro nos títulos dos capítulos",
|
||||
"creditsPattern": "Padrão de marcador de créditos",
|
||||
"creditsPatternDescription": "Expressão regular para corresponder marcadores de créditos nos títulos dos capítulos",
|
||||
"invalidRegex": "Expressão regular inválida",
|
||||
"downloads": "Downloads",
|
||||
"downloadLocationDescription": "Escolha onde armazenar conteúdo baixado",
|
||||
"downloadLocationDefault": "Padrão (Armazenamento do App)",
|
||||
@@ -208,7 +213,9 @@
|
||||
"confirmExitOnBack": "Confirmar antes de sair",
|
||||
"confirmExitOnBackDescription": "Mostrar diálogo de confirmação ao pressionar voltar para sair do app",
|
||||
"showNavBarLabels": "Mostrar Rótulos da Barra de Navegação",
|
||||
"showNavBarLabelsDescription": "Exibir rótulos de texto sob os ícones da barra de navegação"
|
||||
"showNavBarLabelsDescription": "Exibir rótulos de texto sob os ícones da barra de navegação",
|
||||
"liveTvDefaultFavorites": "Canais favoritos por padrão",
|
||||
"liveTvDefaultFavoritesDescription": "Mostrar apenas canais favoritos ao abrir TV ao vivo"
|
||||
},
|
||||
"search": {
|
||||
"hint": "Buscar filmes, séries, músicas...",
|
||||
@@ -241,11 +248,6 @@
|
||||
"skipMarker": "Pular Intro/Créditos"
|
||||
}
|
||||
},
|
||||
"pinEntry": {
|
||||
"enterPin": "Inserir PIN",
|
||||
"showPin": "Mostrar PIN",
|
||||
"hidePin": "Ocultar PIN"
|
||||
},
|
||||
"fileInfo": {
|
||||
"title": "Info do Arquivo",
|
||||
"video": "Vídeo",
|
||||
@@ -318,7 +320,6 @@
|
||||
"unlockRotation": "Destravar rotação",
|
||||
"timerActive": "Timer Ativo",
|
||||
"playbackWillPauseIn": "A reprodução pausará em ${duration}",
|
||||
"sleepTimerCompleted": "Timer de sono concluído - reprodução pausada",
|
||||
"stillWatching": "Ainda assistindo?",
|
||||
"pausingIn": "Pausando em ${seconds}s",
|
||||
"continueWatching": "Continuar",
|
||||
@@ -335,20 +336,20 @@
|
||||
"muteButton": "Silenciar",
|
||||
"unmuteButton": "Ativar som",
|
||||
"settingsButton": "Configurações de vídeo",
|
||||
"audioTrackButton": "Faixas de áudio",
|
||||
"subtitlesButton": "Legendas",
|
||||
"tracksButton": "Áudio e Legendas",
|
||||
"chaptersButton": "Capítulos",
|
||||
"versionsButton": "Versões do vídeo",
|
||||
"pipButton": "Modo Picture-in-Picture",
|
||||
"aspectRatioButton": "Proporção",
|
||||
"ambientLighting": "Iluminação ambiente",
|
||||
"ambientLightingOn": "Ativar iluminação ambiente",
|
||||
"ambientLightingOff": "Desativar iluminação ambiente",
|
||||
"fullscreenButton": "Entrar em tela cheia",
|
||||
"exitFullscreenButton": "Sair da tela cheia",
|
||||
"alwaysOnTopButton": "Sempre no topo",
|
||||
"rotationLockButton": "Travar rotação",
|
||||
"lockScreen": "Travar tela",
|
||||
"unlockScreen": "Destravar tela",
|
||||
"screenLockButton": "Travar tela",
|
||||
"longPressToUnlock": "Pressione e segure para destravar",
|
||||
"timelineSlider": "Linha do tempo do vídeo",
|
||||
"volumeSlider": "Nível de volume",
|
||||
"endsAt": "Termina às ${time}",
|
||||
@@ -448,11 +449,8 @@
|
||||
"overview": "Sinopse",
|
||||
"cast": "Elenco",
|
||||
"extras": "Trailers e Extras",
|
||||
"seasons": "Temporadas",
|
||||
"studio": "Estúdio",
|
||||
"rating": "Avaliação",
|
||||
"episodeCount": "${count} episódios",
|
||||
"watchedProgress": "${watched}/${total} assistidos",
|
||||
"movie": "Filme",
|
||||
"tvShow": "Série de TV",
|
||||
"minutesLeft": "${minutes} min restantes"
|
||||
@@ -514,6 +512,7 @@
|
||||
"playlists": "Playlists"
|
||||
},
|
||||
"groupings": {
|
||||
"title": "Agrupamento",
|
||||
"all": "Todos",
|
||||
"movies": "Filmes",
|
||||
"shows": "Séries de TV",
|
||||
@@ -544,9 +543,7 @@
|
||||
"logs": {
|
||||
"clearLogs": "Limpar Logs",
|
||||
"copyLogs": "Copiar Logs",
|
||||
"uploadLogs": "Enviar Logs",
|
||||
"error": "Erro:",
|
||||
"stackTrace": "Stack Trace:"
|
||||
"uploadLogs": "Enviar Logs"
|
||||
},
|
||||
"licenses": {
|
||||
"relatedPackages": "Pacotes Relacionados",
|
||||
@@ -561,20 +558,12 @@
|
||||
},
|
||||
"liveTv": {
|
||||
"title": "TV ao Vivo",
|
||||
"channels": "Canais",
|
||||
"guide": "Guia",
|
||||
"noChannels": "Nenhum canal disponível",
|
||||
"noDvr": "Nenhum DVR configurado em nenhum servidor",
|
||||
"tuneFailed": "Falha ao sintonizar canal",
|
||||
"loading": "Carregando canais...",
|
||||
"nowPlaying": "Reproduzindo Agora",
|
||||
"noPrograms": "Nenhum dado de programação disponível",
|
||||
"channelNumber": "Ch. ${number}",
|
||||
"live": "AO VIVO",
|
||||
"hd": "HD",
|
||||
"premiere": "NOVO",
|
||||
"reloadGuide": "Recarregar Guia",
|
||||
"allChannels": "Todos os Canais",
|
||||
"now": "Agora",
|
||||
"today": "Hoje",
|
||||
"midnight": "Meia-noite",
|
||||
@@ -584,7 +573,8 @@
|
||||
"evening": "Noite",
|
||||
"lateNight": "Madrugada",
|
||||
"whatsOn": "O que Está Passando",
|
||||
"watchChannel": "Assistir Canal"
|
||||
"watchChannel": "Assistir Canal",
|
||||
"favorites": "Favoritos"
|
||||
},
|
||||
"collections": {
|
||||
"title": "Coleções",
|
||||
@@ -829,7 +819,6 @@
|
||||
"playerCommand": "Comando",
|
||||
"playerPackage": "Nome do Pacote",
|
||||
"playerUrlScheme": "Esquema de URL",
|
||||
"customPlayer": "Player Personalizado",
|
||||
"off": "Desativado",
|
||||
"launchFailed": "Falha ao abrir player externo",
|
||||
"appNotInstalled": "${name} não está instalado",
|
||||
|
||||
+18
-29
@@ -30,7 +30,6 @@
|
||||
"shuffle": "Перемешать",
|
||||
"addTo": "Добавить в...",
|
||||
"createNew": "Создать новый",
|
||||
"remove": "Удалить",
|
||||
"paste": "Вставить",
|
||||
"connect": "Подключить",
|
||||
"disconnect": "Отключить",
|
||||
@@ -44,7 +43,6 @@
|
||||
"settings": "Настройки",
|
||||
"mute": "Без звука",
|
||||
"ok": "OK",
|
||||
"loading": "Загрузка...",
|
||||
"reconnect": "Переподключить",
|
||||
"exitConfirmTitle": "Выйти из приложения?",
|
||||
"exitConfirmMessage": "Вы уверены, что хотите выйти?",
|
||||
@@ -137,6 +135,8 @@
|
||||
"subtitleStylingDescription": "Настроить внешний вид субтитров",
|
||||
"smallSkipDuration": "Малая перемотка",
|
||||
"largeSkipDuration": "Большая перемотка",
|
||||
"rewindOnResume": "Перемотка при возобновлении",
|
||||
"rewindOnResumeDescription": "Перемотать на это количество секунд при возобновлении воспроизведения",
|
||||
"secondsUnit": "${seconds} секунд",
|
||||
"defaultSleepTimer": "Таймер сна по умолчанию",
|
||||
"minutesUnit": "${minutes} минут",
|
||||
@@ -178,6 +178,11 @@
|
||||
"autoSkipCreditsDescription": "Автоматически пропускать титры и воспроизводить следующий эпизод",
|
||||
"autoSkipDelay": "Задержка автопропуска",
|
||||
"autoSkipDelayDescription": "Подождать ${seconds} секунд перед автопропуском",
|
||||
"introPattern": "Шаблон маркера вступления",
|
||||
"introPatternDescription": "Регулярное выражение для распознавания маркеров вступления в заголовках глав",
|
||||
"creditsPattern": "Шаблон маркера титров",
|
||||
"creditsPatternDescription": "Регулярное выражение для распознавания маркеров титров в заголовках глав",
|
||||
"invalidRegex": "Недопустимое регулярное выражение",
|
||||
"downloads": "Загрузки",
|
||||
"downloadLocationDescription": "Выберите место для хранения загруженного контента",
|
||||
"downloadLocationDefault": "По умолчанию (Хранилище приложения)",
|
||||
@@ -208,7 +213,9 @@
|
||||
"confirmExitOnBack": "Подтверждать выход",
|
||||
"confirmExitOnBackDescription": "Показывать диалог подтверждения при нажатии «назад» для выхода из приложения",
|
||||
"showNavBarLabels": "Показывать подписи панели навигации",
|
||||
"showNavBarLabelsDescription": "Отображать текстовые подписи под иконками панели навигации"
|
||||
"showNavBarLabelsDescription": "Отображать текстовые подписи под иконками панели навигации",
|
||||
"liveTvDefaultFavorites": "Избранные каналы по умолчанию",
|
||||
"liveTvDefaultFavoritesDescription": "Показывать только избранные каналы при открытии ТВ"
|
||||
},
|
||||
"search": {
|
||||
"hint": "Поиск фильмов, сериалов, музыки...",
|
||||
@@ -241,11 +248,6 @@
|
||||
"skipMarker": "Пропустить вступление/титры"
|
||||
}
|
||||
},
|
||||
"pinEntry": {
|
||||
"enterPin": "Введите PIN",
|
||||
"showPin": "Показать PIN",
|
||||
"hidePin": "Скрыть PIN"
|
||||
},
|
||||
"fileInfo": {
|
||||
"title": "Информация о файле",
|
||||
"video": "Видео",
|
||||
@@ -318,7 +320,6 @@
|
||||
"unlockRotation": "Разблокировать поворот",
|
||||
"timerActive": "Таймер активен",
|
||||
"playbackWillPauseIn": "Воспроизведение будет приостановлено через ${duration}",
|
||||
"sleepTimerCompleted": "Таймер сна завершён — воспроизведение приостановлено",
|
||||
"stillWatching": "Всё ещё смотрите?",
|
||||
"pausingIn": "Пауза через ${seconds}с",
|
||||
"continueWatching": "Продолжить",
|
||||
@@ -335,20 +336,20 @@
|
||||
"muteButton": "Без звука",
|
||||
"unmuteButton": "Включить звук",
|
||||
"settingsButton": "Настройки видео",
|
||||
"audioTrackButton": "Аудиодорожки",
|
||||
"subtitlesButton": "Субтитры",
|
||||
"tracksButton": "Аудио и субтитры",
|
||||
"chaptersButton": "Главы",
|
||||
"versionsButton": "Версии видео",
|
||||
"pipButton": "Режим «картинка в картинке»",
|
||||
"aspectRatioButton": "Соотношение сторон",
|
||||
"ambientLighting": "Фоновая подсветка",
|
||||
"ambientLightingOn": "Включить фоновую подсветку",
|
||||
"ambientLightingOff": "Выключить фоновую подсветку",
|
||||
"fullscreenButton": "Полноэкранный режим",
|
||||
"exitFullscreenButton": "Выйти из полноэкранного режима",
|
||||
"alwaysOnTopButton": "Всегда поверх",
|
||||
"rotationLockButton": "Блокировка поворота",
|
||||
"lockScreen": "Заблокировать экран",
|
||||
"unlockScreen": "Разблокировать экран",
|
||||
"screenLockButton": "Блокировка экрана",
|
||||
"longPressToUnlock": "Удерживайте для разблокировки",
|
||||
"timelineSlider": "Временная шкала",
|
||||
"volumeSlider": "Уровень громкости",
|
||||
"endsAt": "Закончится в ${time}",
|
||||
@@ -448,11 +449,8 @@
|
||||
"overview": "Обзор",
|
||||
"cast": "В ролях",
|
||||
"extras": "Трейлеры и доп. материалы",
|
||||
"seasons": "Сезоны",
|
||||
"studio": "Студия",
|
||||
"rating": "Рейтинг",
|
||||
"episodeCount": "${count} эпизодов",
|
||||
"watchedProgress": "${watched}/${total} просмотрено",
|
||||
"movie": "Фильм",
|
||||
"tvShow": "Сериал",
|
||||
"minutesLeft": "Осталось ${minutes} мин"
|
||||
@@ -514,6 +512,7 @@
|
||||
"playlists": "Плейлисты"
|
||||
},
|
||||
"groupings": {
|
||||
"title": "Группировка",
|
||||
"all": "Все",
|
||||
"movies": "Фильмы",
|
||||
"shows": "Сериалы",
|
||||
@@ -544,9 +543,7 @@
|
||||
"logs": {
|
||||
"clearLogs": "Очистить логи",
|
||||
"copyLogs": "Скопировать логи",
|
||||
"uploadLogs": "Загрузить логи",
|
||||
"error": "Ошибка:",
|
||||
"stackTrace": "Стек вызовов:"
|
||||
"uploadLogs": "Загрузить логи"
|
||||
},
|
||||
"licenses": {
|
||||
"relatedPackages": "Связанные пакеты",
|
||||
@@ -561,20 +558,12 @@
|
||||
},
|
||||
"liveTv": {
|
||||
"title": "ТВ в прямом эфире",
|
||||
"channels": "Каналы",
|
||||
"guide": "Программа",
|
||||
"noChannels": "Нет доступных каналов",
|
||||
"noDvr": "DVR не настроен ни на одном сервере",
|
||||
"tuneFailed": "Не удалось настроить канал",
|
||||
"loading": "Загрузка каналов...",
|
||||
"nowPlaying": "Сейчас воспроизводится",
|
||||
"noPrograms": "Нет данных о программах",
|
||||
"channelNumber": "Кн. ${number}",
|
||||
"live": "ЭФИР",
|
||||
"hd": "HD",
|
||||
"premiere": "НОВОЕ",
|
||||
"reloadGuide": "Перезагрузить программу",
|
||||
"allChannels": "Все каналы",
|
||||
"now": "Сейчас",
|
||||
"today": "Сегодня",
|
||||
"midnight": "Полночь",
|
||||
@@ -584,7 +573,8 @@
|
||||
"evening": "Вечер",
|
||||
"lateNight": "Поздний вечер",
|
||||
"whatsOn": "Что идёт",
|
||||
"watchChannel": "Смотреть канал"
|
||||
"watchChannel": "Смотреть канал",
|
||||
"favorites": "Избранное"
|
||||
},
|
||||
"collections": {
|
||||
"title": "Коллекции",
|
||||
@@ -829,7 +819,6 @@
|
||||
"playerCommand": "Команда",
|
||||
"playerPackage": "Имя пакета",
|
||||
"playerUrlScheme": "URL-схема",
|
||||
"customPlayer": "Свой плеер",
|
||||
"off": "Выкл.",
|
||||
"launchFailed": "Не удалось открыть внешний плеер",
|
||||
"appNotInstalled": "${name} не установлен",
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
/// To regenerate, run: `dart run slang`
|
||||
///
|
||||
/// Locales: 15
|
||||
/// Strings: 12105 (807 per locale)
|
||||
/// Strings: 11970 (798 per locale)
|
||||
///
|
||||
/// Built on 2026-03-10 at 00:19 UTC
|
||||
/// Built on 2026-03-22 at 10:44 UTC
|
||||
|
||||
// coverage:ignore-file
|
||||
// ignore_for_file: type=lint, unused_import
|
||||
|
||||
+32
-60
@@ -45,7 +45,6 @@ class TranslationsDa with BaseTranslations<AppLocale, Translations> implements T
|
||||
@override late final _TranslationsSettingsDa settings = _TranslationsSettingsDa._(_root);
|
||||
@override late final _TranslationsSearchDa search = _TranslationsSearchDa._(_root);
|
||||
@override late final _TranslationsHotkeysDa hotkeys = _TranslationsHotkeysDa._(_root);
|
||||
@override late final _TranslationsPinEntryDa pinEntry = _TranslationsPinEntryDa._(_root);
|
||||
@override late final _TranslationsFileInfoDa fileInfo = _TranslationsFileInfoDa._(_root);
|
||||
@override late final _TranslationsMediaMenuDa mediaMenu = _TranslationsMediaMenuDa._(_root);
|
||||
@override late final _TranslationsAccessibilityDa accessibility = _TranslationsAccessibilityDa._(_root);
|
||||
@@ -128,7 +127,6 @@ class _TranslationsCommonDa implements TranslationsCommonEn {
|
||||
@override String get shuffle => 'Bland';
|
||||
@override String get addTo => 'Tilføj til...';
|
||||
@override String get createNew => 'Opret ny';
|
||||
@override String get remove => 'Fjern';
|
||||
@override String get paste => 'Indsæt';
|
||||
@override String get connect => 'Forbind';
|
||||
@override String get disconnect => 'Afbryd';
|
||||
@@ -142,7 +140,6 @@ class _TranslationsCommonDa implements TranslationsCommonEn {
|
||||
@override String get settings => 'Indstillinger';
|
||||
@override String get mute => 'Lydløs';
|
||||
@override String get ok => 'OK';
|
||||
@override String get loading => 'Indlæser...';
|
||||
@override String get reconnect => 'Genopret forbindelse';
|
||||
@override String get exitConfirmTitle => 'Luk app?';
|
||||
@override String get exitConfirmMessage => 'Er du sikker på, at du vil afslutte?';
|
||||
@@ -256,6 +253,8 @@ class _TranslationsSettingsDa implements TranslationsSettingsEn {
|
||||
@override String get subtitleStylingDescription => 'Tilpas underteksters udseende';
|
||||
@override String get smallSkipDuration => 'Kort spring-varighed';
|
||||
@override String get largeSkipDuration => 'Lang spring-varighed';
|
||||
@override String get rewindOnResume => 'Spol tilbage ved genoptagelse';
|
||||
@override String get rewindOnResumeDescription => 'Spol tilbage med denne mængde ved genoptagelse af afspilning';
|
||||
@override String secondsUnit({required Object seconds}) => '${seconds} sekunder';
|
||||
@override String get defaultSleepTimer => 'Standard sove-timer';
|
||||
@override String minutesUnit({required Object minutes}) => '${minutes} minutter';
|
||||
@@ -297,6 +296,11 @@ class _TranslationsSettingsDa implements TranslationsSettingsEn {
|
||||
@override String get autoSkipCreditsDescription => 'Spring automatisk rulletekster over og afspil næste episode';
|
||||
@override String get autoSkipDelay => 'Auto-spring forsinkelse';
|
||||
@override String autoSkipDelayDescription({required Object seconds}) => 'Vent ${seconds} sekunder før automatisk spring';
|
||||
@override String get introPattern => 'Intromarkørmønster';
|
||||
@override String get introPatternDescription => 'Regulært udtryk til at genkende intromarkører i kapiteltitler';
|
||||
@override String get creditsPattern => 'Rulletekstmarkørmønster';
|
||||
@override String get creditsPatternDescription => 'Regulært udtryk til at genkende rulletekstmarkører i kapiteltitler';
|
||||
@override String get invalidRegex => 'Ugyldigt regulært udtryk';
|
||||
@override String get downloads => 'Downloads';
|
||||
@override String get downloadLocationDescription => 'Vælg hvor downloadet indhold skal gemmes';
|
||||
@override String get downloadLocationDefault => 'Standard (App-lagring)';
|
||||
@@ -328,6 +332,8 @@ class _TranslationsSettingsDa implements TranslationsSettingsEn {
|
||||
@override String get confirmExitOnBackDescription => 'Vis bekræftelsesdialog ved tryk på tilbage for at lukke appen';
|
||||
@override String get showNavBarLabels => 'Vis navigationsbarlabels';
|
||||
@override String get showNavBarLabelsDescription => 'Vis tekstlabels under navigationsbarikoner';
|
||||
@override String get liveTvDefaultFavorites => 'Standard til favoritkanaler';
|
||||
@override String get liveTvDefaultFavoritesDescription => 'Vis kun favoritkanaler ved åbning af Live TV';
|
||||
}
|
||||
|
||||
// Path: search
|
||||
@@ -355,18 +361,6 @@ class _TranslationsHotkeysDa implements TranslationsHotkeysEn {
|
||||
@override late final _TranslationsHotkeysActionsDa actions = _TranslationsHotkeysActionsDa._(_root);
|
||||
}
|
||||
|
||||
// Path: pinEntry
|
||||
class _TranslationsPinEntryDa implements TranslationsPinEntryEn {
|
||||
_TranslationsPinEntryDa._(this._root);
|
||||
|
||||
final TranslationsDa _root; // ignore: unused_field
|
||||
|
||||
// Translations
|
||||
@override String get enterPin => 'Indtast PIN';
|
||||
@override String get showPin => 'Vis PIN';
|
||||
@override String get hidePin => 'Skjul PIN';
|
||||
}
|
||||
|
||||
// Path: fileInfo
|
||||
class _TranslationsFileInfoDa implements TranslationsFileInfoEn {
|
||||
_TranslationsFileInfoDa._(this._root);
|
||||
@@ -473,7 +467,6 @@ class _TranslationsVideoControlsDa implements 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 sleepTimerCompleted => 'Sove-timer fuldført — afspilning sat på pause';
|
||||
@override String get stillWatching => 'Ser du stadig?';
|
||||
@override String pausingIn({required Object seconds}) => 'Pauser om ${seconds}s';
|
||||
@override String get continueWatching => 'Fortsæt';
|
||||
@@ -490,20 +483,20 @@ class _TranslationsVideoControlsDa implements TranslationsVideoControlsEn {
|
||||
@override String get muteButton => 'Lydløs';
|
||||
@override String get unmuteButton => 'Slå lyd til';
|
||||
@override String get settingsButton => 'Videoindstillinger';
|
||||
@override String get audioTrackButton => 'Lydspor';
|
||||
@override String get subtitlesButton => 'Undertekster';
|
||||
@override String get tracksButton => 'Lyd og undertekster';
|
||||
@override String get chaptersButton => 'Kapitler';
|
||||
@override String get versionsButton => 'Videoversioner';
|
||||
@override String get pipButton => 'Billede-i-billede-tilstand';
|
||||
@override String get aspectRatioButton => 'Billedformat';
|
||||
@override String get ambientLighting => 'Omgivelsesbelysning';
|
||||
@override String get ambientLightingOn => 'Aktivér omgivelsesbelysning';
|
||||
@override String get ambientLightingOff => 'Deaktivér omgivelsesbelysning';
|
||||
@override String get fullscreenButton => 'Fuldskærm';
|
||||
@override String get exitFullscreenButton => 'Forlad fuldskærm';
|
||||
@override String get alwaysOnTopButton => 'Altid øverst';
|
||||
@override String get rotationLockButton => 'Rotationslås';
|
||||
@override String get lockScreen => 'Lås skærm';
|
||||
@override String get unlockScreen => 'Lås skærm op';
|
||||
@override String get screenLockButton => 'Skærmlås';
|
||||
@override String get longPressToUnlock => 'Langt tryk for at låse op';
|
||||
@override String get timelineSlider => 'Videotidslinje';
|
||||
@override String get volumeSlider => 'Lydstyrkeniveau';
|
||||
@override String endsAt({required Object time}) => 'Slutter kl. ${time}';
|
||||
@@ -637,11 +630,8 @@ class _TranslationsDiscoverDa implements TranslationsDiscoverEn {
|
||||
@override String get overview => 'Oversigt';
|
||||
@override String get cast => 'Rollebesætning';
|
||||
@override String get extras => 'Trailere og ekstra';
|
||||
@override String get seasons => 'Sæsoner';
|
||||
@override String get studio => 'Studie';
|
||||
@override String get rating => 'Bedømmelse';
|
||||
@override String episodeCount({required Object count}) => '${count} episoder';
|
||||
@override String watchedProgress({required Object watched, required Object total}) => '${watched}/${total} set';
|
||||
@override String get movie => 'Film';
|
||||
@override String get tvShow => 'TV-serie';
|
||||
@override String minutesLeft({required Object minutes}) => '${minutes} min tilbage';
|
||||
@@ -764,8 +754,6 @@ class _TranslationsLogsDa implements TranslationsLogsEn {
|
||||
@override String get clearLogs => 'Ryd logs';
|
||||
@override String get copyLogs => 'Kopiér logs';
|
||||
@override String get uploadLogs => 'Upload logs';
|
||||
@override String get error => 'Fejl:';
|
||||
@override String get stackTrace => 'Staksporing:';
|
||||
}
|
||||
|
||||
// Path: licenses
|
||||
@@ -801,20 +789,12 @@ class _TranslationsLiveTvDa implements TranslationsLiveTvEn {
|
||||
|
||||
// Translations
|
||||
@override String get title => 'Live TV';
|
||||
@override String get channels => 'Kanaler';
|
||||
@override String get guide => 'Guide';
|
||||
@override String get noChannels => 'Ingen kanaler tilgængelige';
|
||||
@override String get noDvr => 'Ingen DVR konfigureret på nogen server';
|
||||
@override String get tuneFailed => 'Kunne ikke tune kanal';
|
||||
@override String get loading => 'Indlæser kanaler...';
|
||||
@override String get nowPlaying => 'Afspiller nu';
|
||||
@override String get noPrograms => 'Ingen programdata tilgængelig';
|
||||
@override String channelNumber({required Object number}) => 'Kn. ${number}';
|
||||
@override String get live => 'LIVE';
|
||||
@override String get hd => 'HD';
|
||||
@override String get premiere => 'NY';
|
||||
@override String get reloadGuide => 'Genindlæs guide';
|
||||
@override String get allChannels => 'Alle kanaler';
|
||||
@override String get now => 'Nu';
|
||||
@override String get today => 'I dag';
|
||||
@override String get midnight => 'Midnat';
|
||||
@@ -825,6 +805,7 @@ class _TranslationsLiveTvDa implements TranslationsLiveTvEn {
|
||||
@override String get lateNight => 'Sen aften';
|
||||
@override String get whatsOn => 'Hvad der kører';
|
||||
@override String get watchChannel => 'Se kanal';
|
||||
@override String get favorites => 'Favoritter';
|
||||
}
|
||||
|
||||
// Path: collections
|
||||
@@ -1053,7 +1034,6 @@ class _TranslationsExternalPlayerDa implements TranslationsExternalPlayerEn {
|
||||
@override String get playerCommand => 'Kommando';
|
||||
@override String get playerPackage => 'Pakkenavn';
|
||||
@override String get playerUrlScheme => 'URL-skema';
|
||||
@override String get customPlayer => 'Brugerdefineret afspiller';
|
||||
@override String get off => 'Fra';
|
||||
@override String get launchFailed => 'Kunne ikke åbne ekstern afspiller';
|
||||
@override String appNotInstalled({required Object name}) => '${name} er ikke installeret';
|
||||
@@ -1192,6 +1172,7 @@ class _TranslationsLibrariesGroupingsDa implements TranslationsLibrariesGrouping
|
||||
final TranslationsDa _root; // ignore: unused_field
|
||||
|
||||
// Translations
|
||||
@override String get title => 'Gruppering';
|
||||
@override String get all => 'Alle';
|
||||
@override String get movies => 'Film';
|
||||
@override String get shows => 'TV-serier';
|
||||
@@ -1330,7 +1311,6 @@ extension on TranslationsDa {
|
||||
'common.shuffle' => 'Bland',
|
||||
'common.addTo' => 'Tilføj til...',
|
||||
'common.createNew' => 'Opret ny',
|
||||
'common.remove' => 'Fjern',
|
||||
'common.paste' => 'Indsæt',
|
||||
'common.connect' => 'Forbind',
|
||||
'common.disconnect' => 'Afbryd',
|
||||
@@ -1344,7 +1324,6 @@ extension on TranslationsDa {
|
||||
'common.settings' => 'Indstillinger',
|
||||
'common.mute' => 'Lydløs',
|
||||
'common.ok' => 'OK',
|
||||
'common.loading' => 'Indlæser...',
|
||||
'common.reconnect' => 'Genopret forbindelse',
|
||||
'common.exitConfirmTitle' => 'Luk app?',
|
||||
'common.exitConfirmMessage' => 'Er du sikker på, at du vil afslutte?',
|
||||
@@ -1431,6 +1410,8 @@ extension on TranslationsDa {
|
||||
'settings.subtitleStylingDescription' => 'Tilpas underteksters udseende',
|
||||
'settings.smallSkipDuration' => 'Kort spring-varighed',
|
||||
'settings.largeSkipDuration' => 'Lang spring-varighed',
|
||||
'settings.rewindOnResume' => 'Spol tilbage ved genoptagelse',
|
||||
'settings.rewindOnResumeDescription' => 'Spol tilbage med denne mængde ved genoptagelse af afspilning',
|
||||
'settings.secondsUnit' => ({required Object seconds}) => '${seconds} sekunder',
|
||||
'settings.defaultSleepTimer' => 'Standard sove-timer',
|
||||
'settings.minutesUnit' => ({required Object minutes}) => '${minutes} minutter',
|
||||
@@ -1472,6 +1453,11 @@ extension on TranslationsDa {
|
||||
'settings.autoSkipCreditsDescription' => 'Spring automatisk rulletekster over og afspil næste episode',
|
||||
'settings.autoSkipDelay' => 'Auto-spring forsinkelse',
|
||||
'settings.autoSkipDelayDescription' => ({required Object seconds}) => 'Vent ${seconds} sekunder før automatisk spring',
|
||||
'settings.introPattern' => 'Intromarkørmønster',
|
||||
'settings.introPatternDescription' => 'Regulært udtryk til at genkende intromarkører i kapiteltitler',
|
||||
'settings.creditsPattern' => 'Rulletekstmarkørmønster',
|
||||
'settings.creditsPatternDescription' => 'Regulært udtryk til at genkende rulletekstmarkører i kapiteltitler',
|
||||
'settings.invalidRegex' => 'Ugyldigt regulært udtryk',
|
||||
'settings.downloads' => 'Downloads',
|
||||
'settings.downloadLocationDescription' => 'Vælg hvor downloadet indhold skal gemmes',
|
||||
'settings.downloadLocationDefault' => 'Standard (App-lagring)',
|
||||
@@ -1503,6 +1489,8 @@ extension on TranslationsDa {
|
||||
'settings.confirmExitOnBackDescription' => 'Vis bekræftelsesdialog ved tryk på tilbage for at lukke appen',
|
||||
'settings.showNavBarLabels' => 'Vis navigationsbarlabels',
|
||||
'settings.showNavBarLabelsDescription' => 'Vis tekstlabels under navigationsbarikoner',
|
||||
'settings.liveTvDefaultFavorites' => 'Standard til favoritkanaler',
|
||||
'settings.liveTvDefaultFavoritesDescription' => 'Vis kun favoritkanaler ved åbning af Live TV',
|
||||
'search.hint' => 'Søg film, serier, musik...',
|
||||
'search.tryDifferentTerm' => 'Prøv en anden søgning',
|
||||
'search.searchYourMedia' => 'Søg i dine medier',
|
||||
@@ -1528,9 +1516,6 @@ extension on TranslationsDa {
|
||||
'hotkeys.actions.subSeekPrev' => 'Søg til forrige undertekst',
|
||||
'hotkeys.actions.shaderToggle' => 'Skift shadere',
|
||||
'hotkeys.actions.skipMarker' => 'Spring intro/rulletekster over',
|
||||
'pinEntry.enterPin' => 'Indtast PIN',
|
||||
'pinEntry.showPin' => 'Vis PIN',
|
||||
'pinEntry.hidePin' => 'Skjul PIN',
|
||||
'fileInfo.title' => 'Filinfo',
|
||||
'fileInfo.video' => 'Video',
|
||||
'fileInfo.audio' => 'Lyd',
|
||||
@@ -1594,7 +1579,6 @@ extension on TranslationsDa {
|
||||
'videoControls.unlockRotation' => 'Lås rotation op',
|
||||
'videoControls.timerActive' => 'Timer aktiv',
|
||||
'videoControls.playbackWillPauseIn' => ({required Object duration}) => 'Afspilning pauses om ${duration}',
|
||||
'videoControls.sleepTimerCompleted' => 'Sove-timer fuldført — afspilning sat på pause',
|
||||
'videoControls.stillWatching' => 'Ser du stadig?',
|
||||
'videoControls.pausingIn' => ({required Object seconds}) => 'Pauser om ${seconds}s',
|
||||
'videoControls.continueWatching' => 'Fortsæt',
|
||||
@@ -1611,20 +1595,20 @@ extension on TranslationsDa {
|
||||
'videoControls.muteButton' => 'Lydløs',
|
||||
'videoControls.unmuteButton' => 'Slå lyd til',
|
||||
'videoControls.settingsButton' => 'Videoindstillinger',
|
||||
'videoControls.audioTrackButton' => 'Lydspor',
|
||||
'videoControls.subtitlesButton' => 'Undertekster',
|
||||
'videoControls.tracksButton' => 'Lyd og undertekster',
|
||||
'videoControls.chaptersButton' => 'Kapitler',
|
||||
'videoControls.versionsButton' => 'Videoversioner',
|
||||
'videoControls.pipButton' => 'Billede-i-billede-tilstand',
|
||||
'videoControls.aspectRatioButton' => 'Billedformat',
|
||||
'videoControls.ambientLighting' => 'Omgivelsesbelysning',
|
||||
'videoControls.ambientLightingOn' => 'Aktivér omgivelsesbelysning',
|
||||
'videoControls.ambientLightingOff' => 'Deaktivér omgivelsesbelysning',
|
||||
'videoControls.fullscreenButton' => 'Fuldskærm',
|
||||
'videoControls.exitFullscreenButton' => 'Forlad fuldskærm',
|
||||
'videoControls.alwaysOnTopButton' => 'Altid øverst',
|
||||
'videoControls.rotationLockButton' => 'Rotationslås',
|
||||
'videoControls.lockScreen' => 'Lås skærm',
|
||||
'videoControls.unlockScreen' => 'Lås skærm op',
|
||||
'videoControls.screenLockButton' => 'Skærmlås',
|
||||
'videoControls.longPressToUnlock' => 'Langt tryk for at låse op',
|
||||
'videoControls.timelineSlider' => 'Videotidslinje',
|
||||
'videoControls.volumeSlider' => 'Lydstyrkeniveau',
|
||||
'videoControls.endsAt' => ({required Object time}) => 'Slutter kl. ${time}',
|
||||
@@ -1710,11 +1694,8 @@ extension on TranslationsDa {
|
||||
'discover.overview' => 'Oversigt',
|
||||
'discover.cast' => 'Rollebesætning',
|
||||
'discover.extras' => 'Trailere og ekstra',
|
||||
'discover.seasons' => 'Sæsoner',
|
||||
'discover.studio' => 'Studie',
|
||||
'discover.rating' => 'Bedømmelse',
|
||||
'discover.episodeCount' => ({required Object count}) => '${count} episoder',
|
||||
'discover.watchedProgress' => ({required Object watched, required Object total}) => '${watched}/${total} set',
|
||||
'discover.movie' => 'Film',
|
||||
'discover.tvShow' => 'TV-serie',
|
||||
'discover.minutesLeft' => ({required Object minutes}) => '${minutes} min tilbage',
|
||||
@@ -1769,6 +1750,7 @@ extension on TranslationsDa {
|
||||
'libraries.tabs.browse' => 'Gennemse',
|
||||
'libraries.tabs.collections' => 'Samlinger',
|
||||
'libraries.tabs.playlists' => 'Playlister',
|
||||
'libraries.groupings.title' => 'Gruppering',
|
||||
'libraries.groupings.all' => 'Alle',
|
||||
'libraries.groupings.movies' => 'Film',
|
||||
'libraries.groupings.shows' => 'TV-serier',
|
||||
@@ -1791,8 +1773,6 @@ extension on TranslationsDa {
|
||||
'logs.clearLogs' => 'Ryd logs',
|
||||
'logs.copyLogs' => 'Kopiér logs',
|
||||
'logs.uploadLogs' => 'Upload logs',
|
||||
'logs.error' => 'Fejl:',
|
||||
'logs.stackTrace' => 'Staksporing:',
|
||||
'licenses.relatedPackages' => 'Relaterede pakker',
|
||||
'licenses.license' => 'Licens',
|
||||
'licenses.licenseNumber' => ({required Object number}) => 'Licens ${number}',
|
||||
@@ -1801,23 +1781,13 @@ extension on TranslationsDa {
|
||||
'navigation.downloads' => 'Downloads',
|
||||
'navigation.liveTv' => 'Live TV',
|
||||
'liveTv.title' => 'Live TV',
|
||||
'liveTv.channels' => 'Kanaler',
|
||||
'liveTv.guide' => 'Guide',
|
||||
'liveTv.noChannels' => 'Ingen kanaler tilgængelige',
|
||||
'liveTv.noDvr' => 'Ingen DVR konfigureret på nogen server',
|
||||
'liveTv.tuneFailed' => 'Kunne ikke tune kanal',
|
||||
'liveTv.loading' => 'Indlæser kanaler...',
|
||||
'liveTv.nowPlaying' => 'Afspiller nu',
|
||||
'liveTv.noPrograms' => 'Ingen programdata tilgængelig',
|
||||
'liveTv.channelNumber' => ({required Object number}) => 'Kn. ${number}',
|
||||
'liveTv.live' => 'LIVE',
|
||||
'liveTv.hd' => 'HD',
|
||||
'liveTv.premiere' => 'NY',
|
||||
'liveTv.reloadGuide' => 'Genindlæs guide',
|
||||
'liveTv.allChannels' => 'Alle kanaler',
|
||||
'liveTv.now' => 'Nu',
|
||||
_ => null,
|
||||
} ?? switch (path) {
|
||||
'liveTv.today' => 'I dag',
|
||||
'liveTv.midnight' => 'Midnat',
|
||||
'liveTv.overnight' => 'Nat',
|
||||
@@ -1827,6 +1797,9 @@ extension on TranslationsDa {
|
||||
'liveTv.lateNight' => 'Sen aften',
|
||||
'liveTv.whatsOn' => 'Hvad der kører',
|
||||
'liveTv.watchChannel' => 'Se kanal',
|
||||
_ => null,
|
||||
} ?? switch (path) {
|
||||
'liveTv.favorites' => 'Favoritter',
|
||||
'collections.title' => 'Samlinger',
|
||||
'collections.collection' => 'Samling',
|
||||
'collections.empty' => 'Samlingen er tom',
|
||||
@@ -2049,7 +2022,6 @@ extension on TranslationsDa {
|
||||
'externalPlayer.playerCommand' => 'Kommando',
|
||||
'externalPlayer.playerPackage' => 'Pakkenavn',
|
||||
'externalPlayer.playerUrlScheme' => 'URL-skema',
|
||||
'externalPlayer.customPlayer' => 'Brugerdefineret afspiller',
|
||||
'externalPlayer.off' => 'Fra',
|
||||
'externalPlayer.launchFailed' => 'Kunne ikke åbne ekstern afspiller',
|
||||
'externalPlayer.appNotInstalled' => ({required Object name}) => '${name} er ikke installeret',
|
||||
|
||||
+32
-60
@@ -45,7 +45,6 @@ class TranslationsDe with BaseTranslations<AppLocale, Translations> implements T
|
||||
@override late final _TranslationsSettingsDe settings = _TranslationsSettingsDe._(_root);
|
||||
@override late final _TranslationsSearchDe search = _TranslationsSearchDe._(_root);
|
||||
@override late final _TranslationsHotkeysDe hotkeys = _TranslationsHotkeysDe._(_root);
|
||||
@override late final _TranslationsPinEntryDe pinEntry = _TranslationsPinEntryDe._(_root);
|
||||
@override late final _TranslationsFileInfoDe fileInfo = _TranslationsFileInfoDe._(_root);
|
||||
@override late final _TranslationsMediaMenuDe mediaMenu = _TranslationsMediaMenuDe._(_root);
|
||||
@override late final _TranslationsAccessibilityDe accessibility = _TranslationsAccessibilityDe._(_root);
|
||||
@@ -128,7 +127,6 @@ class _TranslationsCommonDe implements TranslationsCommonEn {
|
||||
@override String get shuffle => 'Zufall';
|
||||
@override String get addTo => 'Hinzufügen zu...';
|
||||
@override String get createNew => 'Neu erstellen';
|
||||
@override String get remove => 'Entfernen';
|
||||
@override String get paste => 'Einfügen';
|
||||
@override String get connect => 'Verbinden';
|
||||
@override String get disconnect => 'Trennen';
|
||||
@@ -142,7 +140,6 @@ class _TranslationsCommonDe implements TranslationsCommonEn {
|
||||
@override String get settings => 'Optionen';
|
||||
@override String get mute => 'Stumm';
|
||||
@override String get ok => 'OK';
|
||||
@override String get loading => 'Laden...';
|
||||
@override String get reconnect => 'Erneut verbinden';
|
||||
@override String get exitConfirmTitle => 'App beenden?';
|
||||
@override String get exitConfirmMessage => 'Möchtest du die App wirklich beenden?';
|
||||
@@ -256,6 +253,8 @@ class _TranslationsSettingsDe implements TranslationsSettingsEn {
|
||||
@override String get subtitleStylingDescription => 'Aussehen von Untertiteln anpassen';
|
||||
@override String get smallSkipDuration => 'Kleine Sprungdauer';
|
||||
@override String get largeSkipDuration => 'Große Sprungdauer';
|
||||
@override String get rewindOnResume => 'Zurückspulen bei Fortsetzung';
|
||||
@override String get rewindOnResumeDescription => 'Um diesen Betrag zurückspulen, wenn die Wiedergabe fortgesetzt wird';
|
||||
@override String secondsUnit({required Object seconds}) => '${seconds} Sekunden';
|
||||
@override String get defaultSleepTimer => 'Standard-Sleep-Timer';
|
||||
@override String minutesUnit({required Object minutes}) => '${minutes} Minuten';
|
||||
@@ -297,6 +296,11 @@ class _TranslationsSettingsDe implements TranslationsSettingsEn {
|
||||
@override String get autoSkipCreditsDescription => 'Abspann automatisch überspringen und nächste Episode abspielen';
|
||||
@override String get autoSkipDelay => 'Verzögerung für automatisches Überspringen';
|
||||
@override String autoSkipDelayDescription({required Object seconds}) => '${seconds} Sekunden vor dem automatischen Überspringen warten';
|
||||
@override String get introPattern => 'Intro-Markierungsmuster';
|
||||
@override String get introPatternDescription => 'Regulärer Ausdruck zum Erkennen von Intro-Markierungen in Kapiteltiteln';
|
||||
@override String get creditsPattern => 'Abspann-Markierungsmuster';
|
||||
@override String get creditsPatternDescription => 'Regulärer Ausdruck zum Erkennen von Abspann-Markierungen in Kapiteltiteln';
|
||||
@override String get invalidRegex => 'Ungültiger regulärer Ausdruck';
|
||||
@override String get downloads => 'Downloads';
|
||||
@override String get downloadLocationDescription => 'Speicherort für heruntergeladene Inhalte wählen';
|
||||
@override String get downloadLocationDefault => 'Standard (App-Speicher)';
|
||||
@@ -328,6 +332,8 @@ class _TranslationsSettingsDe implements TranslationsSettingsEn {
|
||||
@override String get confirmExitOnBackDescription => 'Bestätigungsdialog anzeigen, wenn Zurück zum Beenden der App gedrückt wird';
|
||||
@override String get showNavBarLabels => 'Navigationsleisten-Beschriftungen anzeigen';
|
||||
@override String get showNavBarLabelsDescription => 'Textbeschriftungen unter den Symbolen der Navigationsleiste anzeigen';
|
||||
@override String get liveTvDefaultFavorites => 'Standardmäßig Favoritenkanäle';
|
||||
@override String get liveTvDefaultFavoritesDescription => 'Beim Öffnen von Live TV nur Favoritenkanäle anzeigen';
|
||||
}
|
||||
|
||||
// Path: search
|
||||
@@ -355,18 +361,6 @@ class _TranslationsHotkeysDe implements TranslationsHotkeysEn {
|
||||
@override late final _TranslationsHotkeysActionsDe actions = _TranslationsHotkeysActionsDe._(_root);
|
||||
}
|
||||
|
||||
// Path: pinEntry
|
||||
class _TranslationsPinEntryDe implements TranslationsPinEntryEn {
|
||||
_TranslationsPinEntryDe._(this._root);
|
||||
|
||||
final TranslationsDe _root; // ignore: unused_field
|
||||
|
||||
// Translations
|
||||
@override String get enterPin => 'PIN eingeben';
|
||||
@override String get showPin => 'PIN anzeigen';
|
||||
@override String get hidePin => 'PIN verbergen';
|
||||
}
|
||||
|
||||
// Path: fileInfo
|
||||
class _TranslationsFileInfoDe implements TranslationsFileInfoEn {
|
||||
_TranslationsFileInfoDe._(this._root);
|
||||
@@ -473,7 +467,6 @@ class _TranslationsVideoControlsDe implements 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 sleepTimerCompleted => 'Schlaftimer abgelaufen – Wiedergabe pausiert';
|
||||
@override String get stillWatching => 'Schaust du noch?';
|
||||
@override String pausingIn({required Object seconds}) => 'Pause in ${seconds}s';
|
||||
@override String get continueWatching => 'Weiter';
|
||||
@@ -490,20 +483,20 @@ class _TranslationsVideoControlsDe implements TranslationsVideoControlsEn {
|
||||
@override String get muteButton => 'Stumm schalten';
|
||||
@override String get unmuteButton => 'Stummschaltung aufheben';
|
||||
@override String get settingsButton => 'Videoeinstellungen';
|
||||
@override String get audioTrackButton => 'Tonspuren';
|
||||
@override String get subtitlesButton => 'Untertitel';
|
||||
@override String get tracksButton => 'Audio und Untertitel';
|
||||
@override String get chaptersButton => 'Kapitel';
|
||||
@override String get versionsButton => 'Videoversionen';
|
||||
@override String get pipButton => 'Bild-in-Bild Modus';
|
||||
@override String get aspectRatioButton => 'Seitenverhältnis';
|
||||
@override String get ambientLighting => 'Umgebungsbeleuchtung';
|
||||
@override String get ambientLightingOn => 'Umgebungsbeleuchtung aktivieren';
|
||||
@override String get ambientLightingOff => 'Umgebungsbeleuchtung deaktivieren';
|
||||
@override String get fullscreenButton => 'Vollbild aktivieren';
|
||||
@override String get exitFullscreenButton => 'Vollbild verlassen';
|
||||
@override String get alwaysOnTopButton => 'Immer im Vordergrund';
|
||||
@override String get rotationLockButton => 'Drehsperre';
|
||||
@override String get lockScreen => 'Bildschirm sperren';
|
||||
@override String get unlockScreen => 'Bildschirm entsperren';
|
||||
@override String get screenLockButton => 'Bildschirmsperre';
|
||||
@override String get longPressToUnlock => 'Lange drücken zum Entsperren';
|
||||
@override String get timelineSlider => 'Video-Zeitleiste';
|
||||
@override String get volumeSlider => 'Lautstärkepegel';
|
||||
@override String endsAt({required Object time}) => 'Endet um ${time}';
|
||||
@@ -637,11 +630,8 @@ class _TranslationsDiscoverDe implements TranslationsDiscoverEn {
|
||||
@override String get overview => 'Übersicht';
|
||||
@override String get cast => 'Besetzung';
|
||||
@override String get extras => 'Trailer & Extras';
|
||||
@override String get seasons => 'Staffeln';
|
||||
@override String get studio => 'Studio';
|
||||
@override String get rating => 'Altersfreigabe';
|
||||
@override String episodeCount({required Object count}) => '${count} Episoden';
|
||||
@override String watchedProgress({required Object watched, required Object total}) => '${watched} von ${total} gesehen';
|
||||
@override String get movie => 'Film';
|
||||
@override String get tvShow => 'Serie';
|
||||
@override String minutesLeft({required Object minutes}) => '${minutes} Min übrig';
|
||||
@@ -764,8 +754,6 @@ class _TranslationsLogsDe implements TranslationsLogsEn {
|
||||
@override String get clearLogs => 'Protokolle löschen';
|
||||
@override String get copyLogs => 'Protokolle kopieren';
|
||||
@override String get uploadLogs => 'Protokolle hochladen';
|
||||
@override String get error => 'Fehler:';
|
||||
@override String get stackTrace => 'Stacktrace:';
|
||||
}
|
||||
|
||||
// Path: licenses
|
||||
@@ -801,20 +789,12 @@ class _TranslationsLiveTvDe implements TranslationsLiveTvEn {
|
||||
|
||||
// Translations
|
||||
@override String get title => 'Live-TV';
|
||||
@override String get channels => 'Kanäle';
|
||||
@override String get guide => 'Programmführer';
|
||||
@override String get noChannels => 'Keine Kanäle verfügbar';
|
||||
@override String get noDvr => 'Kein DVR auf einem Server konfiguriert';
|
||||
@override String get tuneFailed => 'Kanal konnte nicht eingestellt werden';
|
||||
@override String get loading => 'Kanäle werden geladen...';
|
||||
@override String get nowPlaying => 'Läuft gerade';
|
||||
@override String get noPrograms => 'Keine Programmdaten verfügbar';
|
||||
@override String channelNumber({required Object number}) => 'Kanal ${number}';
|
||||
@override String get live => 'LIVE';
|
||||
@override String get hd => 'HD';
|
||||
@override String get premiere => 'NEU';
|
||||
@override String get reloadGuide => 'Programmführer neu laden';
|
||||
@override String get allChannels => 'Alle Kanäle';
|
||||
@override String get now => 'Jetzt';
|
||||
@override String get today => 'Heute';
|
||||
@override String get midnight => 'Mitternacht';
|
||||
@@ -825,6 +805,7 @@ class _TranslationsLiveTvDe implements TranslationsLiveTvEn {
|
||||
@override String get lateNight => 'Spätnacht';
|
||||
@override String get whatsOn => 'Jetzt im TV';
|
||||
@override String get watchChannel => 'Kanal ansehen';
|
||||
@override String get favorites => 'Favoriten';
|
||||
}
|
||||
|
||||
// Path: downloads
|
||||
@@ -1053,7 +1034,6 @@ class _TranslationsExternalPlayerDe implements TranslationsExternalPlayerEn {
|
||||
@override String get playerCommand => 'Befehl';
|
||||
@override String get playerPackage => 'Paketname';
|
||||
@override String get playerUrlScheme => 'URL-Schema';
|
||||
@override String get customPlayer => 'Benutzerdefinierter Player';
|
||||
@override String get off => 'Aus';
|
||||
@override String get launchFailed => 'Externer Player konnte nicht geöffnet werden';
|
||||
@override String appNotInstalled({required Object name}) => '${name} ist nicht installiert';
|
||||
@@ -1192,6 +1172,7 @@ class _TranslationsLibrariesGroupingsDe implements TranslationsLibrariesGrouping
|
||||
final TranslationsDe _root; // ignore: unused_field
|
||||
|
||||
// Translations
|
||||
@override String get title => 'Gruppierung';
|
||||
@override String get all => 'Alle';
|
||||
@override String get movies => 'Filme';
|
||||
@override String get shows => 'Serien';
|
||||
@@ -1330,7 +1311,6 @@ extension on TranslationsDe {
|
||||
'common.shuffle' => 'Zufall',
|
||||
'common.addTo' => 'Hinzufügen zu...',
|
||||
'common.createNew' => 'Neu erstellen',
|
||||
'common.remove' => 'Entfernen',
|
||||
'common.paste' => 'Einfügen',
|
||||
'common.connect' => 'Verbinden',
|
||||
'common.disconnect' => 'Trennen',
|
||||
@@ -1344,7 +1324,6 @@ extension on TranslationsDe {
|
||||
'common.settings' => 'Optionen',
|
||||
'common.mute' => 'Stumm',
|
||||
'common.ok' => 'OK',
|
||||
'common.loading' => 'Laden...',
|
||||
'common.reconnect' => 'Erneut verbinden',
|
||||
'common.exitConfirmTitle' => 'App beenden?',
|
||||
'common.exitConfirmMessage' => 'Möchtest du die App wirklich beenden?',
|
||||
@@ -1431,6 +1410,8 @@ extension on TranslationsDe {
|
||||
'settings.subtitleStylingDescription' => 'Aussehen von Untertiteln anpassen',
|
||||
'settings.smallSkipDuration' => 'Kleine Sprungdauer',
|
||||
'settings.largeSkipDuration' => 'Große Sprungdauer',
|
||||
'settings.rewindOnResume' => 'Zurückspulen bei Fortsetzung',
|
||||
'settings.rewindOnResumeDescription' => 'Um diesen Betrag zurückspulen, wenn die Wiedergabe fortgesetzt wird',
|
||||
'settings.secondsUnit' => ({required Object seconds}) => '${seconds} Sekunden',
|
||||
'settings.defaultSleepTimer' => 'Standard-Sleep-Timer',
|
||||
'settings.minutesUnit' => ({required Object minutes}) => '${minutes} Minuten',
|
||||
@@ -1472,6 +1453,11 @@ extension on TranslationsDe {
|
||||
'settings.autoSkipCreditsDescription' => 'Abspann automatisch überspringen und nächste Episode abspielen',
|
||||
'settings.autoSkipDelay' => 'Verzögerung für automatisches Überspringen',
|
||||
'settings.autoSkipDelayDescription' => ({required Object seconds}) => '${seconds} Sekunden vor dem automatischen Überspringen warten',
|
||||
'settings.introPattern' => 'Intro-Markierungsmuster',
|
||||
'settings.introPatternDescription' => 'Regulärer Ausdruck zum Erkennen von Intro-Markierungen in Kapiteltiteln',
|
||||
'settings.creditsPattern' => 'Abspann-Markierungsmuster',
|
||||
'settings.creditsPatternDescription' => 'Regulärer Ausdruck zum Erkennen von Abspann-Markierungen in Kapiteltiteln',
|
||||
'settings.invalidRegex' => 'Ungültiger regulärer Ausdruck',
|
||||
'settings.downloads' => 'Downloads',
|
||||
'settings.downloadLocationDescription' => 'Speicherort für heruntergeladene Inhalte wählen',
|
||||
'settings.downloadLocationDefault' => 'Standard (App-Speicher)',
|
||||
@@ -1503,6 +1489,8 @@ extension on TranslationsDe {
|
||||
'settings.confirmExitOnBackDescription' => 'Bestätigungsdialog anzeigen, wenn Zurück zum Beenden der App gedrückt wird',
|
||||
'settings.showNavBarLabels' => 'Navigationsleisten-Beschriftungen anzeigen',
|
||||
'settings.showNavBarLabelsDescription' => 'Textbeschriftungen unter den Symbolen der Navigationsleiste anzeigen',
|
||||
'settings.liveTvDefaultFavorites' => 'Standardmäßig Favoritenkanäle',
|
||||
'settings.liveTvDefaultFavoritesDescription' => 'Beim Öffnen von Live TV nur Favoritenkanäle anzeigen',
|
||||
'search.hint' => 'Filme, Serien, Musik suchen...',
|
||||
'search.tryDifferentTerm' => 'Anderen Suchbegriff versuchen',
|
||||
'search.searchYourMedia' => 'In den eigenen Medien suchen',
|
||||
@@ -1528,9 +1516,6 @@ extension on TranslationsDe {
|
||||
'hotkeys.actions.subSeekPrev' => 'Zum vorherigen Untertitel springen',
|
||||
'hotkeys.actions.shaderToggle' => 'Shader umschalten',
|
||||
'hotkeys.actions.skipMarker' => 'Intro/Abspann überspringen',
|
||||
'pinEntry.enterPin' => 'PIN eingeben',
|
||||
'pinEntry.showPin' => 'PIN anzeigen',
|
||||
'pinEntry.hidePin' => 'PIN verbergen',
|
||||
'fileInfo.title' => 'Dateiinfo',
|
||||
'fileInfo.video' => 'Video',
|
||||
'fileInfo.audio' => 'Audio',
|
||||
@@ -1594,7 +1579,6 @@ extension on TranslationsDe {
|
||||
'videoControls.unlockRotation' => 'Rotation entsperren',
|
||||
'videoControls.timerActive' => 'Schlaftimer aktiv',
|
||||
'videoControls.playbackWillPauseIn' => ({required Object duration}) => 'Wiedergabe wird in ${duration} pausiert',
|
||||
'videoControls.sleepTimerCompleted' => 'Schlaftimer abgelaufen – Wiedergabe pausiert',
|
||||
'videoControls.stillWatching' => 'Schaust du noch?',
|
||||
'videoControls.pausingIn' => ({required Object seconds}) => 'Pause in ${seconds}s',
|
||||
'videoControls.continueWatching' => 'Weiter',
|
||||
@@ -1611,20 +1595,20 @@ extension on TranslationsDe {
|
||||
'videoControls.muteButton' => 'Stumm schalten',
|
||||
'videoControls.unmuteButton' => 'Stummschaltung aufheben',
|
||||
'videoControls.settingsButton' => 'Videoeinstellungen',
|
||||
'videoControls.audioTrackButton' => 'Tonspuren',
|
||||
'videoControls.subtitlesButton' => 'Untertitel',
|
||||
'videoControls.tracksButton' => 'Audio und Untertitel',
|
||||
'videoControls.chaptersButton' => 'Kapitel',
|
||||
'videoControls.versionsButton' => 'Videoversionen',
|
||||
'videoControls.pipButton' => 'Bild-in-Bild Modus',
|
||||
'videoControls.aspectRatioButton' => 'Seitenverhältnis',
|
||||
'videoControls.ambientLighting' => 'Umgebungsbeleuchtung',
|
||||
'videoControls.ambientLightingOn' => 'Umgebungsbeleuchtung aktivieren',
|
||||
'videoControls.ambientLightingOff' => 'Umgebungsbeleuchtung deaktivieren',
|
||||
'videoControls.fullscreenButton' => 'Vollbild aktivieren',
|
||||
'videoControls.exitFullscreenButton' => 'Vollbild verlassen',
|
||||
'videoControls.alwaysOnTopButton' => 'Immer im Vordergrund',
|
||||
'videoControls.rotationLockButton' => 'Drehsperre',
|
||||
'videoControls.lockScreen' => 'Bildschirm sperren',
|
||||
'videoControls.unlockScreen' => 'Bildschirm entsperren',
|
||||
'videoControls.screenLockButton' => 'Bildschirmsperre',
|
||||
'videoControls.longPressToUnlock' => 'Lange drücken zum Entsperren',
|
||||
'videoControls.timelineSlider' => 'Video-Zeitleiste',
|
||||
'videoControls.volumeSlider' => 'Lautstärkepegel',
|
||||
'videoControls.endsAt' => ({required Object time}) => 'Endet um ${time}',
|
||||
@@ -1710,11 +1694,8 @@ extension on TranslationsDe {
|
||||
'discover.overview' => 'Übersicht',
|
||||
'discover.cast' => 'Besetzung',
|
||||
'discover.extras' => 'Trailer & Extras',
|
||||
'discover.seasons' => 'Staffeln',
|
||||
'discover.studio' => 'Studio',
|
||||
'discover.rating' => 'Altersfreigabe',
|
||||
'discover.episodeCount' => ({required Object count}) => '${count} Episoden',
|
||||
'discover.watchedProgress' => ({required Object watched, required Object total}) => '${watched} von ${total} gesehen',
|
||||
'discover.movie' => 'Film',
|
||||
'discover.tvShow' => 'Serie',
|
||||
'discover.minutesLeft' => ({required Object minutes}) => '${minutes} Min übrig',
|
||||
@@ -1769,6 +1750,7 @@ extension on TranslationsDe {
|
||||
'libraries.tabs.browse' => 'Durchsuchen',
|
||||
'libraries.tabs.collections' => 'Sammlungen',
|
||||
'libraries.tabs.playlists' => 'Wiedergabelisten',
|
||||
'libraries.groupings.title' => 'Gruppierung',
|
||||
'libraries.groupings.all' => 'Alle',
|
||||
'libraries.groupings.movies' => 'Filme',
|
||||
'libraries.groupings.shows' => 'Serien',
|
||||
@@ -1791,8 +1773,6 @@ extension on TranslationsDe {
|
||||
'logs.clearLogs' => 'Protokolle löschen',
|
||||
'logs.copyLogs' => 'Protokolle kopieren',
|
||||
'logs.uploadLogs' => 'Protokolle hochladen',
|
||||
'logs.error' => 'Fehler:',
|
||||
'logs.stackTrace' => 'Stacktrace:',
|
||||
'licenses.relatedPackages' => 'Verwandte Pakete',
|
||||
'licenses.license' => 'Lizenz',
|
||||
'licenses.licenseNumber' => ({required Object number}) => 'Lizenz ${number}',
|
||||
@@ -1801,23 +1781,13 @@ extension on TranslationsDe {
|
||||
'navigation.downloads' => 'Downloads',
|
||||
'navigation.liveTv' => 'Live-TV',
|
||||
'liveTv.title' => 'Live-TV',
|
||||
'liveTv.channels' => 'Kanäle',
|
||||
'liveTv.guide' => 'Programmführer',
|
||||
'liveTv.noChannels' => 'Keine Kanäle verfügbar',
|
||||
'liveTv.noDvr' => 'Kein DVR auf einem Server konfiguriert',
|
||||
'liveTv.tuneFailed' => 'Kanal konnte nicht eingestellt werden',
|
||||
'liveTv.loading' => 'Kanäle werden geladen...',
|
||||
'liveTv.nowPlaying' => 'Läuft gerade',
|
||||
'liveTv.noPrograms' => 'Keine Programmdaten verfügbar',
|
||||
'liveTv.channelNumber' => ({required Object number}) => 'Kanal ${number}',
|
||||
'liveTv.live' => 'LIVE',
|
||||
'liveTv.hd' => 'HD',
|
||||
'liveTv.premiere' => 'NEU',
|
||||
'liveTv.reloadGuide' => 'Programmführer neu laden',
|
||||
'liveTv.allChannels' => 'Alle Kanäle',
|
||||
'liveTv.now' => 'Jetzt',
|
||||
_ => null,
|
||||
} ?? switch (path) {
|
||||
'liveTv.today' => 'Heute',
|
||||
'liveTv.midnight' => 'Mitternacht',
|
||||
'liveTv.overnight' => 'Nacht',
|
||||
@@ -1827,6 +1797,9 @@ extension on TranslationsDe {
|
||||
'liveTv.lateNight' => 'Spätnacht',
|
||||
'liveTv.whatsOn' => 'Jetzt im TV',
|
||||
'liveTv.watchChannel' => 'Kanal ansehen',
|
||||
_ => null,
|
||||
} ?? switch (path) {
|
||||
'liveTv.favorites' => 'Favoriten',
|
||||
'downloads.title' => 'Downloads',
|
||||
'downloads.manage' => 'Verwalten',
|
||||
'downloads.tvShows' => 'Serien',
|
||||
@@ -2049,7 +2022,6 @@ extension on TranslationsDe {
|
||||
'externalPlayer.playerCommand' => 'Befehl',
|
||||
'externalPlayer.playerPackage' => 'Paketname',
|
||||
'externalPlayer.playerUrlScheme' => 'URL-Schema',
|
||||
'externalPlayer.customPlayer' => 'Benutzerdefinierter Player',
|
||||
'externalPlayer.off' => 'Aus',
|
||||
'externalPlayer.launchFailed' => 'Externer Player konnte nicht geöffnet werden',
|
||||
'externalPlayer.appNotInstalled' => ({required Object name}) => '${name} ist nicht installiert',
|
||||
|
||||
+62
-108
@@ -48,7 +48,6 @@ class Translations with BaseTranslations<AppLocale, Translations> {
|
||||
late final TranslationsSettingsEn settings = TranslationsSettingsEn._(_root);
|
||||
late final TranslationsSearchEn search = TranslationsSearchEn._(_root);
|
||||
late final TranslationsHotkeysEn hotkeys = TranslationsHotkeysEn._(_root);
|
||||
late final TranslationsPinEntryEn pinEntry = TranslationsPinEntryEn._(_root);
|
||||
late final TranslationsFileInfoEn fileInfo = TranslationsFileInfoEn._(_root);
|
||||
late final TranslationsMediaMenuEn mediaMenu = TranslationsMediaMenuEn._(_root);
|
||||
late final TranslationsAccessibilityEn accessibility = TranslationsAccessibilityEn._(_root);
|
||||
@@ -184,9 +183,6 @@ class TranslationsCommonEn {
|
||||
/// en: 'Create new'
|
||||
String get createNew => 'Create new';
|
||||
|
||||
/// en: 'Remove'
|
||||
String get remove => 'Remove';
|
||||
|
||||
/// en: 'Paste'
|
||||
String get paste => 'Paste';
|
||||
|
||||
@@ -226,9 +222,6 @@ class TranslationsCommonEn {
|
||||
/// en: 'OK'
|
||||
String get ok => 'OK';
|
||||
|
||||
/// en: 'Loading...'
|
||||
String get loading => 'Loading...';
|
||||
|
||||
/// en: 'Reconnect'
|
||||
String get reconnect => 'Reconnect';
|
||||
|
||||
@@ -514,6 +507,12 @@ class TranslationsSettingsEn {
|
||||
/// en: 'Large Skip Duration'
|
||||
String get largeSkipDuration => 'Large Skip Duration';
|
||||
|
||||
/// en: 'Rewind on Resume'
|
||||
String get rewindOnResume => 'Rewind on Resume';
|
||||
|
||||
/// en: 'Rewind by this amount when resuming playback'
|
||||
String get rewindOnResumeDescription => 'Rewind by this amount when resuming playback';
|
||||
|
||||
/// en: '${seconds} seconds'
|
||||
String secondsUnit({required Object seconds}) => '${seconds} seconds';
|
||||
|
||||
@@ -637,6 +636,21 @@ class TranslationsSettingsEn {
|
||||
/// en: 'Wait ${seconds} seconds before auto-skipping'
|
||||
String autoSkipDelayDescription({required Object seconds}) => 'Wait ${seconds} seconds before auto-skipping';
|
||||
|
||||
/// en: 'Intro Marker Pattern'
|
||||
String get introPattern => 'Intro Marker Pattern';
|
||||
|
||||
/// en: 'Regex pattern to match intro markers in chapter titles'
|
||||
String get introPatternDescription => 'Regex pattern to match intro markers in chapter titles';
|
||||
|
||||
/// en: 'Credits Marker Pattern'
|
||||
String get creditsPattern => 'Credits Marker Pattern';
|
||||
|
||||
/// en: 'Regex pattern to match credits markers in chapter titles'
|
||||
String get creditsPatternDescription => 'Regex pattern to match credits markers in chapter titles';
|
||||
|
||||
/// en: 'Invalid regular expression'
|
||||
String get invalidRegex => 'Invalid regular expression';
|
||||
|
||||
/// en: 'Downloads'
|
||||
String get downloads => 'Downloads';
|
||||
|
||||
@@ -729,6 +743,12 @@ class TranslationsSettingsEn {
|
||||
|
||||
/// en: 'Display text labels under navigation bar icons'
|
||||
String get showNavBarLabelsDescription => 'Display text labels under navigation bar icons';
|
||||
|
||||
/// en: 'Default to Favorite Channels'
|
||||
String get liveTvDefaultFavorites => 'Default to Favorite Channels';
|
||||
|
||||
/// en: 'Show only favorite channels when opening Live TV'
|
||||
String get liveTvDefaultFavoritesDescription => 'Show only favorite channels when opening Live TV';
|
||||
}
|
||||
|
||||
// Path: search
|
||||
@@ -769,24 +789,6 @@ class TranslationsHotkeysEn {
|
||||
late final TranslationsHotkeysActionsEn actions = TranslationsHotkeysActionsEn._(_root);
|
||||
}
|
||||
|
||||
// Path: pinEntry
|
||||
class TranslationsPinEntryEn {
|
||||
TranslationsPinEntryEn._(this._root);
|
||||
|
||||
final Translations _root; // ignore: unused_field
|
||||
|
||||
// Translations
|
||||
|
||||
/// en: 'Enter PIN'
|
||||
String get enterPin => 'Enter PIN';
|
||||
|
||||
/// en: 'Show PIN'
|
||||
String get showPin => 'Show PIN';
|
||||
|
||||
/// en: 'Hide PIN'
|
||||
String get hidePin => 'Hide PIN';
|
||||
}
|
||||
|
||||
// Path: fileInfo
|
||||
class TranslationsFileInfoEn {
|
||||
TranslationsFileInfoEn._(this._root);
|
||||
@@ -1020,9 +1022,6 @@ class TranslationsVideoControlsEn {
|
||||
/// en: 'Playback will pause in ${duration}'
|
||||
String playbackWillPauseIn({required Object duration}) => 'Playback will pause in ${duration}';
|
||||
|
||||
/// en: 'Sleep timer completed - playback paused'
|
||||
String get sleepTimerCompleted => 'Sleep timer completed - playback paused';
|
||||
|
||||
/// en: 'Still watching?'
|
||||
String get stillWatching => 'Still watching?';
|
||||
|
||||
@@ -1071,12 +1070,6 @@ class TranslationsVideoControlsEn {
|
||||
/// en: 'Video settings'
|
||||
String get settingsButton => 'Video settings';
|
||||
|
||||
/// en: 'Audio tracks'
|
||||
String get audioTrackButton => 'Audio tracks';
|
||||
|
||||
/// en: 'Subtitles'
|
||||
String get subtitlesButton => 'Subtitles';
|
||||
|
||||
/// en: 'Audio & Subtitles'
|
||||
String get tracksButton => 'Audio & Subtitles';
|
||||
|
||||
@@ -1095,12 +1088,6 @@ class TranslationsVideoControlsEn {
|
||||
/// en: 'Ambient lighting'
|
||||
String get ambientLighting => 'Ambient lighting';
|
||||
|
||||
/// en: 'Enable ambient lighting'
|
||||
String get ambientLightingOn => 'Enable ambient lighting';
|
||||
|
||||
/// en: 'Disable ambient lighting'
|
||||
String get ambientLightingOff => 'Disable ambient lighting';
|
||||
|
||||
/// en: 'Enter fullscreen'
|
||||
String get fullscreenButton => 'Enter fullscreen';
|
||||
|
||||
@@ -1113,6 +1100,18 @@ class TranslationsVideoControlsEn {
|
||||
/// en: 'Rotation lock'
|
||||
String get rotationLockButton => 'Rotation lock';
|
||||
|
||||
/// en: 'Lock screen'
|
||||
String get lockScreen => 'Lock screen';
|
||||
|
||||
/// en: 'Unlock screen'
|
||||
String get unlockScreen => 'Unlock screen';
|
||||
|
||||
/// en: 'Screen lock'
|
||||
String get screenLockButton => 'Screen lock';
|
||||
|
||||
/// en: 'Long press to unlock'
|
||||
String get longPressToUnlock => 'Long press to unlock';
|
||||
|
||||
/// en: 'Video timeline'
|
||||
String get timelineSlider => 'Video timeline';
|
||||
|
||||
@@ -1403,21 +1402,12 @@ class TranslationsDiscoverEn {
|
||||
/// en: 'Trailers & Extras'
|
||||
String get extras => 'Trailers & Extras';
|
||||
|
||||
/// en: 'Seasons'
|
||||
String get seasons => 'Seasons';
|
||||
|
||||
/// en: 'Studio'
|
||||
String get studio => 'Studio';
|
||||
|
||||
/// en: 'Rating'
|
||||
String get rating => 'Rating';
|
||||
|
||||
/// en: '${count} episodes'
|
||||
String episodeCount({required Object count}) => '${count} episodes';
|
||||
|
||||
/// en: '${watched}/${total} watched'
|
||||
String watchedProgress({required Object watched, required Object total}) => '${watched}/${total} watched';
|
||||
|
||||
/// en: 'Movie'
|
||||
String get movie => 'Movie';
|
||||
|
||||
@@ -1672,12 +1662,6 @@ class TranslationsLogsEn {
|
||||
|
||||
/// en: 'Upload Logs'
|
||||
String get uploadLogs => 'Upload Logs';
|
||||
|
||||
/// en: 'Error:'
|
||||
String get error => 'Error:';
|
||||
|
||||
/// en: 'Stack Trace:'
|
||||
String get stackTrace => 'Stack Trace:';
|
||||
}
|
||||
|
||||
// Path: licenses
|
||||
@@ -1730,9 +1714,6 @@ class TranslationsLiveTvEn {
|
||||
/// en: 'Live TV'
|
||||
String get title => 'Live TV';
|
||||
|
||||
/// en: 'Channels'
|
||||
String get channels => 'Channels';
|
||||
|
||||
/// en: 'Guide'
|
||||
String get guide => 'Guide';
|
||||
|
||||
@@ -1742,36 +1723,15 @@ class TranslationsLiveTvEn {
|
||||
/// en: 'No DVR configured on any server'
|
||||
String get noDvr => 'No DVR configured on any server';
|
||||
|
||||
/// en: 'Failed to tune channel'
|
||||
String get tuneFailed => 'Failed to tune channel';
|
||||
|
||||
/// en: 'Loading channels...'
|
||||
String get loading => 'Loading channels...';
|
||||
|
||||
/// en: 'Now Playing'
|
||||
String get nowPlaying => 'Now Playing';
|
||||
|
||||
/// en: 'No program data available'
|
||||
String get noPrograms => 'No program data available';
|
||||
|
||||
/// en: 'Ch. ${number}'
|
||||
String channelNumber({required Object number}) => 'Ch. ${number}';
|
||||
|
||||
/// en: 'LIVE'
|
||||
String get live => 'LIVE';
|
||||
|
||||
/// en: 'HD'
|
||||
String get hd => 'HD';
|
||||
|
||||
/// en: 'NEW'
|
||||
String get premiere => 'NEW';
|
||||
|
||||
/// en: 'Reload Guide'
|
||||
String get reloadGuide => 'Reload Guide';
|
||||
|
||||
/// en: 'All Channels'
|
||||
String get allChannels => 'All Channels';
|
||||
|
||||
/// en: 'Now'
|
||||
String get now => 'Now';
|
||||
|
||||
@@ -1801,6 +1761,9 @@ class TranslationsLiveTvEn {
|
||||
|
||||
/// en: 'Watch Channel'
|
||||
String get watchChannel => 'Watch Channel';
|
||||
|
||||
/// en: 'Favorites'
|
||||
String get favorites => 'Favorites';
|
||||
}
|
||||
|
||||
// Path: collections
|
||||
@@ -2337,9 +2300,6 @@ class TranslationsExternalPlayerEn {
|
||||
/// en: 'URL Scheme'
|
||||
String get playerUrlScheme => 'URL Scheme';
|
||||
|
||||
/// en: 'Custom Player'
|
||||
String get customPlayer => 'Custom Player';
|
||||
|
||||
/// en: 'Off'
|
||||
String get off => 'Off';
|
||||
|
||||
@@ -2664,6 +2624,9 @@ class TranslationsLibrariesGroupingsEn {
|
||||
|
||||
// Translations
|
||||
|
||||
/// en: 'Grouping'
|
||||
String get title => 'Grouping';
|
||||
|
||||
/// en: 'All'
|
||||
String get all => 'All';
|
||||
|
||||
@@ -2951,7 +2914,6 @@ extension on Translations {
|
||||
'common.shuffle' => 'Shuffle',
|
||||
'common.addTo' => 'Add to...',
|
||||
'common.createNew' => 'Create new',
|
||||
'common.remove' => 'Remove',
|
||||
'common.paste' => 'Paste',
|
||||
'common.connect' => 'Connect',
|
||||
'common.disconnect' => 'Disconnect',
|
||||
@@ -2965,7 +2927,6 @@ extension on Translations {
|
||||
'common.settings' => 'Settings',
|
||||
'common.mute' => 'Mute',
|
||||
'common.ok' => 'OK',
|
||||
'common.loading' => 'Loading...',
|
||||
'common.reconnect' => 'Reconnect',
|
||||
'common.exitConfirmTitle' => 'Exit app?',
|
||||
'common.exitConfirmMessage' => 'Are you sure you want to exit?',
|
||||
@@ -3052,6 +3013,8 @@ extension on Translations {
|
||||
'settings.subtitleStylingDescription' => 'Customize subtitle appearance',
|
||||
'settings.smallSkipDuration' => 'Small Skip Duration',
|
||||
'settings.largeSkipDuration' => 'Large Skip Duration',
|
||||
'settings.rewindOnResume' => 'Rewind on Resume',
|
||||
'settings.rewindOnResumeDescription' => 'Rewind by this amount when resuming playback',
|
||||
'settings.secondsUnit' => ({required Object seconds}) => '${seconds} seconds',
|
||||
'settings.defaultSleepTimer' => 'Default Sleep Timer',
|
||||
'settings.minutesUnit' => ({required Object minutes}) => '${minutes} minutes',
|
||||
@@ -3093,6 +3056,11 @@ extension on Translations {
|
||||
'settings.autoSkipCreditsDescription' => 'Automatically skip credits and play next episode',
|
||||
'settings.autoSkipDelay' => 'Auto Skip Delay',
|
||||
'settings.autoSkipDelayDescription' => ({required Object seconds}) => 'Wait ${seconds} seconds before auto-skipping',
|
||||
'settings.introPattern' => 'Intro Marker Pattern',
|
||||
'settings.introPatternDescription' => 'Regex pattern to match intro markers in chapter titles',
|
||||
'settings.creditsPattern' => 'Credits Marker Pattern',
|
||||
'settings.creditsPatternDescription' => 'Regex pattern to match credits markers in chapter titles',
|
||||
'settings.invalidRegex' => 'Invalid regular expression',
|
||||
'settings.downloads' => 'Downloads',
|
||||
'settings.downloadLocationDescription' => 'Choose where to store downloaded content',
|
||||
'settings.downloadLocationDefault' => 'Default (App Storage)',
|
||||
@@ -3124,6 +3092,8 @@ extension on Translations {
|
||||
'settings.confirmExitOnBackDescription' => 'Show a confirmation dialog when pressing back to exit the app',
|
||||
'settings.showNavBarLabels' => 'Show Navigation Bar Labels',
|
||||
'settings.showNavBarLabelsDescription' => 'Display text labels under navigation bar icons',
|
||||
'settings.liveTvDefaultFavorites' => 'Default to Favorite Channels',
|
||||
'settings.liveTvDefaultFavoritesDescription' => 'Show only favorite channels when opening Live TV',
|
||||
'search.hint' => 'Search movies, shows, music...',
|
||||
'search.tryDifferentTerm' => 'Try a different search term',
|
||||
'search.searchYourMedia' => 'Search your media',
|
||||
@@ -3149,9 +3119,6 @@ extension on Translations {
|
||||
'hotkeys.actions.subSeekPrev' => 'Seek to Previous Subtitle',
|
||||
'hotkeys.actions.shaderToggle' => 'Toggle Shaders',
|
||||
'hotkeys.actions.skipMarker' => 'Skip Intro/Credits',
|
||||
'pinEntry.enterPin' => 'Enter PIN',
|
||||
'pinEntry.showPin' => 'Show PIN',
|
||||
'pinEntry.hidePin' => 'Hide PIN',
|
||||
'fileInfo.title' => 'File Info',
|
||||
'fileInfo.video' => 'Video',
|
||||
'fileInfo.audio' => 'Audio',
|
||||
@@ -3215,7 +3182,6 @@ extension on Translations {
|
||||
'videoControls.unlockRotation' => 'Unlock rotation',
|
||||
'videoControls.timerActive' => 'Timer Active',
|
||||
'videoControls.playbackWillPauseIn' => ({required Object duration}) => 'Playback will pause in ${duration}',
|
||||
'videoControls.sleepTimerCompleted' => 'Sleep timer completed - playback paused',
|
||||
'videoControls.stillWatching' => 'Still watching?',
|
||||
'videoControls.pausingIn' => ({required Object seconds}) => 'Pausing in ${seconds}s',
|
||||
'videoControls.continueWatching' => 'Continue',
|
||||
@@ -3232,20 +3198,20 @@ extension on Translations {
|
||||
'videoControls.muteButton' => 'Mute',
|
||||
'videoControls.unmuteButton' => 'Unmute',
|
||||
'videoControls.settingsButton' => 'Video settings',
|
||||
'videoControls.audioTrackButton' => 'Audio tracks',
|
||||
'videoControls.subtitlesButton' => 'Subtitles',
|
||||
'videoControls.tracksButton' => 'Audio & Subtitles',
|
||||
'videoControls.chaptersButton' => 'Chapters',
|
||||
'videoControls.versionsButton' => 'Video versions',
|
||||
'videoControls.pipButton' => 'Picture-in-Picture mode',
|
||||
'videoControls.aspectRatioButton' => 'Aspect ratio',
|
||||
'videoControls.ambientLighting' => 'Ambient lighting',
|
||||
'videoControls.ambientLightingOn' => 'Enable ambient lighting',
|
||||
'videoControls.ambientLightingOff' => 'Disable ambient lighting',
|
||||
'videoControls.fullscreenButton' => 'Enter fullscreen',
|
||||
'videoControls.exitFullscreenButton' => 'Exit fullscreen',
|
||||
'videoControls.alwaysOnTopButton' => 'Always on top',
|
||||
'videoControls.rotationLockButton' => 'Rotation lock',
|
||||
'videoControls.lockScreen' => 'Lock screen',
|
||||
'videoControls.unlockScreen' => 'Unlock screen',
|
||||
'videoControls.screenLockButton' => 'Screen lock',
|
||||
'videoControls.longPressToUnlock' => 'Long press to unlock',
|
||||
'videoControls.timelineSlider' => 'Video timeline',
|
||||
'videoControls.volumeSlider' => 'Volume level',
|
||||
'videoControls.endsAt' => ({required Object time}) => 'Ends at ${time}',
|
||||
@@ -3331,11 +3297,8 @@ extension on Translations {
|
||||
'discover.overview' => 'Overview',
|
||||
'discover.cast' => 'Cast',
|
||||
'discover.extras' => 'Trailers & Extras',
|
||||
'discover.seasons' => 'Seasons',
|
||||
'discover.studio' => 'Studio',
|
||||
'discover.rating' => 'Rating',
|
||||
'discover.episodeCount' => ({required Object count}) => '${count} episodes',
|
||||
'discover.watchedProgress' => ({required Object watched, required Object total}) => '${watched}/${total} watched',
|
||||
'discover.movie' => 'Movie',
|
||||
'discover.tvShow' => 'TV Show',
|
||||
'discover.minutesLeft' => ({required Object minutes}) => '${minutes} min left',
|
||||
@@ -3390,6 +3353,7 @@ extension on Translations {
|
||||
'libraries.tabs.browse' => 'Browse',
|
||||
'libraries.tabs.collections' => 'Collections',
|
||||
'libraries.tabs.playlists' => 'Playlists',
|
||||
'libraries.groupings.title' => 'Grouping',
|
||||
'libraries.groupings.all' => 'All',
|
||||
'libraries.groupings.movies' => 'Movies',
|
||||
'libraries.groupings.shows' => 'TV Shows',
|
||||
@@ -3412,8 +3376,6 @@ extension on Translations {
|
||||
'logs.clearLogs' => 'Clear Logs',
|
||||
'logs.copyLogs' => 'Copy Logs',
|
||||
'logs.uploadLogs' => 'Upload Logs',
|
||||
'logs.error' => 'Error:',
|
||||
'logs.stackTrace' => 'Stack Trace:',
|
||||
'licenses.relatedPackages' => 'Related Packages',
|
||||
'licenses.license' => 'License',
|
||||
'licenses.licenseNumber' => ({required Object number}) => 'License ${number}',
|
||||
@@ -3422,23 +3384,13 @@ extension on Translations {
|
||||
'navigation.downloads' => 'Downloads',
|
||||
'navigation.liveTv' => 'Live TV',
|
||||
'liveTv.title' => 'Live TV',
|
||||
'liveTv.channels' => 'Channels',
|
||||
'liveTv.guide' => 'Guide',
|
||||
'liveTv.noChannels' => 'No channels available',
|
||||
'liveTv.noDvr' => 'No DVR configured on any server',
|
||||
'liveTv.tuneFailed' => 'Failed to tune channel',
|
||||
'liveTv.loading' => 'Loading channels...',
|
||||
'liveTv.nowPlaying' => 'Now Playing',
|
||||
'liveTv.noPrograms' => 'No program data available',
|
||||
'liveTv.channelNumber' => ({required Object number}) => 'Ch. ${number}',
|
||||
'liveTv.live' => 'LIVE',
|
||||
'liveTv.hd' => 'HD',
|
||||
'liveTv.premiere' => 'NEW',
|
||||
'liveTv.reloadGuide' => 'Reload Guide',
|
||||
'liveTv.allChannels' => 'All Channels',
|
||||
'liveTv.now' => 'Now',
|
||||
_ => null,
|
||||
} ?? switch (path) {
|
||||
'liveTv.today' => 'Today',
|
||||
'liveTv.midnight' => 'Midnight',
|
||||
'liveTv.overnight' => 'Overnight',
|
||||
@@ -3448,6 +3400,9 @@ extension on Translations {
|
||||
'liveTv.lateNight' => 'Late Night',
|
||||
'liveTv.whatsOn' => 'What\'s On',
|
||||
'liveTv.watchChannel' => 'Watch Channel',
|
||||
_ => null,
|
||||
} ?? switch (path) {
|
||||
'liveTv.favorites' => 'Favorites',
|
||||
'collections.title' => 'Collections',
|
||||
'collections.collection' => 'Collection',
|
||||
'collections.empty' => 'Collection is empty',
|
||||
@@ -3670,7 +3625,6 @@ extension on Translations {
|
||||
'externalPlayer.playerCommand' => 'Command',
|
||||
'externalPlayer.playerPackage' => 'Package Name',
|
||||
'externalPlayer.playerUrlScheme' => 'URL Scheme',
|
||||
'externalPlayer.customPlayer' => 'Custom Player',
|
||||
'externalPlayer.off' => 'Off',
|
||||
'externalPlayer.launchFailed' => 'Failed to open external player',
|
||||
'externalPlayer.appNotInstalled' => ({required Object name}) => '${name} is not installed',
|
||||
|
||||
+32
-60
@@ -45,7 +45,6 @@ class TranslationsEs with BaseTranslations<AppLocale, Translations> implements T
|
||||
@override late final _TranslationsSettingsEs settings = _TranslationsSettingsEs._(_root);
|
||||
@override late final _TranslationsSearchEs search = _TranslationsSearchEs._(_root);
|
||||
@override late final _TranslationsHotkeysEs hotkeys = _TranslationsHotkeysEs._(_root);
|
||||
@override late final _TranslationsPinEntryEs pinEntry = _TranslationsPinEntryEs._(_root);
|
||||
@override late final _TranslationsFileInfoEs fileInfo = _TranslationsFileInfoEs._(_root);
|
||||
@override late final _TranslationsMediaMenuEs mediaMenu = _TranslationsMediaMenuEs._(_root);
|
||||
@override late final _TranslationsAccessibilityEs accessibility = _TranslationsAccessibilityEs._(_root);
|
||||
@@ -128,7 +127,6 @@ class _TranslationsCommonEs implements TranslationsCommonEn {
|
||||
@override String get shuffle => 'Aleatorio';
|
||||
@override String get addTo => 'Añadir a...';
|
||||
@override String get createNew => 'Crear';
|
||||
@override String get remove => 'Eliminar';
|
||||
@override String get paste => 'Pegar';
|
||||
@override String get connect => 'Conectar';
|
||||
@override String get disconnect => 'Desconectar';
|
||||
@@ -142,7 +140,6 @@ class _TranslationsCommonEs implements TranslationsCommonEn {
|
||||
@override String get settings => 'Ajustes';
|
||||
@override String get mute => 'Silencio';
|
||||
@override String get ok => 'OK';
|
||||
@override String get loading => 'Cargando...';
|
||||
@override String get reconnect => 'Reconectar';
|
||||
@override String get exitConfirmTitle => '¿Salir de la app?';
|
||||
@override String get exitConfirmMessage => '¿Estás seguro de que quieres salir?';
|
||||
@@ -256,6 +253,8 @@ class _TranslationsSettingsEs implements TranslationsSettingsEn {
|
||||
@override String get subtitleStylingDescription => 'Personalizar la apariencia de los subtítulos';
|
||||
@override String get smallSkipDuration => 'Salto pequeño';
|
||||
@override String get largeSkipDuration => 'Salto grande';
|
||||
@override String get rewindOnResume => 'Rebobinar al reanudar';
|
||||
@override String get rewindOnResumeDescription => 'Rebobinar esta cantidad al reanudar la reproducción';
|
||||
@override String secondsUnit({required Object seconds}) => '${seconds} segundos';
|
||||
@override String get defaultSleepTimer => 'Temporizador de apagado';
|
||||
@override String minutesUnit({required Object minutes}) => '${minutes} minutos';
|
||||
@@ -297,6 +296,11 @@ class _TranslationsSettingsEs implements TranslationsSettingsEn {
|
||||
@override String get autoSkipCreditsDescription => 'Saltar automáticamente los créditos y reproducir el siguiente episodio';
|
||||
@override String get autoSkipDelay => 'Retraso de Salto automático';
|
||||
@override String autoSkipDelayDescription({required Object seconds}) => 'Esperar ${seconds} segundos antes de saltar automáticamente';
|
||||
@override String get introPattern => 'Patrón de marcador de intro';
|
||||
@override String get introPatternDescription => 'Expresión regular para reconocer marcadores de intro en los títulos de capítulos';
|
||||
@override String get creditsPattern => 'Patrón de marcador de créditos';
|
||||
@override String get creditsPatternDescription => 'Expresión regular para reconocer marcadores de créditos en los títulos de capítulos';
|
||||
@override String get invalidRegex => 'Expresión regular no válida';
|
||||
@override String get downloads => 'Descargas';
|
||||
@override String get downloadLocationDescription => 'Elegir dónde almacenar el contenido descargado';
|
||||
@override String get downloadLocationDefault => 'Predeterminado (Almacenamiento de la App)';
|
||||
@@ -328,6 +332,8 @@ class _TranslationsSettingsEs implements TranslationsSettingsEn {
|
||||
@override String get confirmExitOnBackDescription => 'Mostrar un diálogo de confirmación al presionar atrás para salir de la app';
|
||||
@override String get showNavBarLabels => 'Mostrar etiquetas de la barra de navegación';
|
||||
@override String get showNavBarLabelsDescription => 'Mostrar etiquetas de texto bajo los iconos de la barra de navegación';
|
||||
@override String get liveTvDefaultFavorites => 'Canales favoritos por defecto';
|
||||
@override String get liveTvDefaultFavoritesDescription => 'Mostrar solo canales favoritos al abrir TV en vivo';
|
||||
}
|
||||
|
||||
// Path: search
|
||||
@@ -355,18 +361,6 @@ class _TranslationsHotkeysEs implements TranslationsHotkeysEn {
|
||||
@override late final _TranslationsHotkeysActionsEs actions = _TranslationsHotkeysActionsEs._(_root);
|
||||
}
|
||||
|
||||
// Path: pinEntry
|
||||
class _TranslationsPinEntryEs implements TranslationsPinEntryEn {
|
||||
_TranslationsPinEntryEs._(this._root);
|
||||
|
||||
final TranslationsEs _root; // ignore: unused_field
|
||||
|
||||
// Translations
|
||||
@override String get enterPin => 'Introduce el PIN';
|
||||
@override String get showPin => 'Mostrar PIN';
|
||||
@override String get hidePin => 'Ocultar PIN';
|
||||
}
|
||||
|
||||
// Path: fileInfo
|
||||
class _TranslationsFileInfoEs implements TranslationsFileInfoEn {
|
||||
_TranslationsFileInfoEs._(this._root);
|
||||
@@ -473,7 +467,6 @@ class _TranslationsVideoControlsEs implements 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 sleepTimerCompleted => 'Temporizador completado - reproducción pausada';
|
||||
@override String get stillWatching => '¿Sigues viendo?';
|
||||
@override String pausingIn({required Object seconds}) => 'Pausa en ${seconds}s';
|
||||
@override String get continueWatching => 'Continuar';
|
||||
@@ -490,20 +483,20 @@ class _TranslationsVideoControlsEs implements TranslationsVideoControlsEn {
|
||||
@override String get muteButton => 'Silenciar';
|
||||
@override String get unmuteButton => 'Activar sonido';
|
||||
@override String get settingsButton => 'Ajustes de video';
|
||||
@override String get audioTrackButton => 'Pistas de audio';
|
||||
@override String get subtitlesButton => 'Subtítulos';
|
||||
@override String get tracksButton => 'Audio y subtítulos';
|
||||
@override String get chaptersButton => 'Capítulos';
|
||||
@override String get versionsButton => 'Versiones de video';
|
||||
@override String get pipButton => 'Modo PiP (Imagen en Imagen)';
|
||||
@override String get aspectRatioButton => 'Relación de aspecto';
|
||||
@override String get ambientLighting => 'Iluminación ambiental';
|
||||
@override String get ambientLightingOn => 'Activar iluminación ambiental';
|
||||
@override String get ambientLightingOff => 'Desactivar iluminación ambiental';
|
||||
@override String get fullscreenButton => 'Entrar en pantalla completa';
|
||||
@override String get exitFullscreenButton => 'Salir de pantalla completa';
|
||||
@override String get alwaysOnTopButton => 'Siempre visible';
|
||||
@override String get rotationLockButton => 'Bloqueo de rotación';
|
||||
@override String get lockScreen => 'Bloquear pantalla';
|
||||
@override String get unlockScreen => 'Desbloquear pantalla';
|
||||
@override String get screenLockButton => 'Bloqueo de pantalla';
|
||||
@override String get longPressToUnlock => 'Mantén pulsado para desbloquear';
|
||||
@override String get timelineSlider => 'Línea de tiempo del video';
|
||||
@override String get volumeSlider => 'Nivel de volumen';
|
||||
@override String endsAt({required Object time}) => 'Termina a las ${time}';
|
||||
@@ -637,11 +630,8 @@ class _TranslationsDiscoverEs implements TranslationsDiscoverEn {
|
||||
@override String get overview => 'Resumen';
|
||||
@override String get cast => 'Reparto';
|
||||
@override String get extras => 'Tráilers y Extras';
|
||||
@override String get seasons => 'Temporadas';
|
||||
@override String get studio => 'Estudio';
|
||||
@override String get rating => 'Calificación';
|
||||
@override String episodeCount({required Object count}) => '${count} episodios';
|
||||
@override String watchedProgress({required Object watched, required Object total}) => '${watched}/${total} vistos';
|
||||
@override String get movie => 'Película';
|
||||
@override String get tvShow => 'Serie de TV';
|
||||
@override String minutesLeft({required Object minutes}) => 'quedan ${minutes} min';
|
||||
@@ -764,8 +754,6 @@ class _TranslationsLogsEs implements TranslationsLogsEn {
|
||||
@override String get clearLogs => 'Borrar Logs';
|
||||
@override String get copyLogs => 'Copiar Logs';
|
||||
@override String get uploadLogs => 'Subir registros';
|
||||
@override String get error => 'Error:';
|
||||
@override String get stackTrace => 'Traza de la pila (Stack Trace):';
|
||||
}
|
||||
|
||||
// Path: licenses
|
||||
@@ -801,20 +789,12 @@ class _TranslationsLiveTvEs implements TranslationsLiveTvEn {
|
||||
|
||||
// Translations
|
||||
@override String get title => 'TV en vivo';
|
||||
@override String get channels => 'Canales';
|
||||
@override String get guide => 'Guía';
|
||||
@override String get noChannels => 'No hay canales disponibles';
|
||||
@override String get noDvr => 'No hay DVR configurado en ningún servidor';
|
||||
@override String get tuneFailed => 'Error al sintonizar el canal';
|
||||
@override String get loading => 'Cargando canales...';
|
||||
@override String get nowPlaying => 'Reproduciendo ahora';
|
||||
@override String get noPrograms => 'No hay datos de programación disponibles';
|
||||
@override String channelNumber({required Object number}) => 'Canal ${number}';
|
||||
@override String get live => 'EN VIVO';
|
||||
@override String get hd => 'HD';
|
||||
@override String get premiere => 'NUEVO';
|
||||
@override String get reloadGuide => 'Recargar guía';
|
||||
@override String get allChannels => 'Todos los canales';
|
||||
@override String get now => 'Ahora';
|
||||
@override String get today => 'Hoy';
|
||||
@override String get midnight => 'Medianoche';
|
||||
@@ -825,6 +805,7 @@ class _TranslationsLiveTvEs implements TranslationsLiveTvEn {
|
||||
@override String get lateNight => 'Trasnoche';
|
||||
@override String get whatsOn => 'En emisión';
|
||||
@override String get watchChannel => 'Ver canal';
|
||||
@override String get favorites => 'Favoritos';
|
||||
}
|
||||
|
||||
// Path: collections
|
||||
@@ -1053,7 +1034,6 @@ class _TranslationsExternalPlayerEs implements TranslationsExternalPlayerEn {
|
||||
@override String get playerCommand => 'Comando';
|
||||
@override String get playerPackage => 'Nombre del paquete';
|
||||
@override String get playerUrlScheme => 'Esquema URL';
|
||||
@override String get customPlayer => 'Reproductor personalizado';
|
||||
@override String get off => 'Desactivado';
|
||||
@override String get launchFailed => 'No se pudo abrir el reproductor externo';
|
||||
@override String appNotInstalled({required Object name}) => '${name} no está instalado';
|
||||
@@ -1192,6 +1172,7 @@ class _TranslationsLibrariesGroupingsEs implements TranslationsLibrariesGrouping
|
||||
final TranslationsEs _root; // ignore: unused_field
|
||||
|
||||
// Translations
|
||||
@override String get title => 'Agrupación';
|
||||
@override String get all => 'Todo';
|
||||
@override String get movies => 'Películas';
|
||||
@override String get shows => 'Series';
|
||||
@@ -1330,7 +1311,6 @@ extension on TranslationsEs {
|
||||
'common.shuffle' => 'Aleatorio',
|
||||
'common.addTo' => 'Añadir a...',
|
||||
'common.createNew' => 'Crear',
|
||||
'common.remove' => 'Eliminar',
|
||||
'common.paste' => 'Pegar',
|
||||
'common.connect' => 'Conectar',
|
||||
'common.disconnect' => 'Desconectar',
|
||||
@@ -1344,7 +1324,6 @@ extension on TranslationsEs {
|
||||
'common.settings' => 'Ajustes',
|
||||
'common.mute' => 'Silencio',
|
||||
'common.ok' => 'OK',
|
||||
'common.loading' => 'Cargando...',
|
||||
'common.reconnect' => 'Reconectar',
|
||||
'common.exitConfirmTitle' => '¿Salir de la app?',
|
||||
'common.exitConfirmMessage' => '¿Estás seguro de que quieres salir?',
|
||||
@@ -1431,6 +1410,8 @@ extension on TranslationsEs {
|
||||
'settings.subtitleStylingDescription' => 'Personalizar la apariencia de los subtítulos',
|
||||
'settings.smallSkipDuration' => 'Salto pequeño',
|
||||
'settings.largeSkipDuration' => 'Salto grande',
|
||||
'settings.rewindOnResume' => 'Rebobinar al reanudar',
|
||||
'settings.rewindOnResumeDescription' => 'Rebobinar esta cantidad al reanudar la reproducción',
|
||||
'settings.secondsUnit' => ({required Object seconds}) => '${seconds} segundos',
|
||||
'settings.defaultSleepTimer' => 'Temporizador de apagado',
|
||||
'settings.minutesUnit' => ({required Object minutes}) => '${minutes} minutos',
|
||||
@@ -1472,6 +1453,11 @@ extension on TranslationsEs {
|
||||
'settings.autoSkipCreditsDescription' => 'Saltar automáticamente los créditos y reproducir el siguiente episodio',
|
||||
'settings.autoSkipDelay' => 'Retraso de Salto automático',
|
||||
'settings.autoSkipDelayDescription' => ({required Object seconds}) => 'Esperar ${seconds} segundos antes de saltar automáticamente',
|
||||
'settings.introPattern' => 'Patrón de marcador de intro',
|
||||
'settings.introPatternDescription' => 'Expresión regular para reconocer marcadores de intro en los títulos de capítulos',
|
||||
'settings.creditsPattern' => 'Patrón de marcador de créditos',
|
||||
'settings.creditsPatternDescription' => 'Expresión regular para reconocer marcadores de créditos en los títulos de capítulos',
|
||||
'settings.invalidRegex' => 'Expresión regular no válida',
|
||||
'settings.downloads' => 'Descargas',
|
||||
'settings.downloadLocationDescription' => 'Elegir dónde almacenar el contenido descargado',
|
||||
'settings.downloadLocationDefault' => 'Predeterminado (Almacenamiento de la App)',
|
||||
@@ -1503,6 +1489,8 @@ extension on TranslationsEs {
|
||||
'settings.confirmExitOnBackDescription' => 'Mostrar un diálogo de confirmación al presionar atrás para salir de la app',
|
||||
'settings.showNavBarLabels' => 'Mostrar etiquetas de la barra de navegación',
|
||||
'settings.showNavBarLabelsDescription' => 'Mostrar etiquetas de texto bajo los iconos de la barra de navegación',
|
||||
'settings.liveTvDefaultFavorites' => 'Canales favoritos por defecto',
|
||||
'settings.liveTvDefaultFavoritesDescription' => 'Mostrar solo canales favoritos al abrir TV en vivo',
|
||||
'search.hint' => 'Buscar películas, series, música...',
|
||||
'search.tryDifferentTerm' => 'Prueba con un término de búsqueda diferente',
|
||||
'search.searchYourMedia' => 'Busca en tu contenido',
|
||||
@@ -1528,9 +1516,6 @@ extension on TranslationsEs {
|
||||
'hotkeys.actions.subSeekPrev' => 'Ir al Anterior Subtítulo',
|
||||
'hotkeys.actions.shaderToggle' => 'Alternar Shaders',
|
||||
'hotkeys.actions.skipMarker' => 'Saltar Intro/Créditos',
|
||||
'pinEntry.enterPin' => 'Introduce el PIN',
|
||||
'pinEntry.showPin' => 'Mostrar PIN',
|
||||
'pinEntry.hidePin' => 'Ocultar PIN',
|
||||
'fileInfo.title' => 'Información del Archivo',
|
||||
'fileInfo.video' => 'Video',
|
||||
'fileInfo.audio' => 'Audio',
|
||||
@@ -1594,7 +1579,6 @@ 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.sleepTimerCompleted' => 'Temporizador completado - reproducción pausada',
|
||||
'videoControls.stillWatching' => '¿Sigues viendo?',
|
||||
'videoControls.pausingIn' => ({required Object seconds}) => 'Pausa en ${seconds}s',
|
||||
'videoControls.continueWatching' => 'Continuar',
|
||||
@@ -1611,20 +1595,20 @@ extension on TranslationsEs {
|
||||
'videoControls.muteButton' => 'Silenciar',
|
||||
'videoControls.unmuteButton' => 'Activar sonido',
|
||||
'videoControls.settingsButton' => 'Ajustes de video',
|
||||
'videoControls.audioTrackButton' => 'Pistas de audio',
|
||||
'videoControls.subtitlesButton' => 'Subtítulos',
|
||||
'videoControls.tracksButton' => 'Audio y subtítulos',
|
||||
'videoControls.chaptersButton' => 'Capítulos',
|
||||
'videoControls.versionsButton' => 'Versiones de video',
|
||||
'videoControls.pipButton' => 'Modo PiP (Imagen en Imagen)',
|
||||
'videoControls.aspectRatioButton' => 'Relación de aspecto',
|
||||
'videoControls.ambientLighting' => 'Iluminación ambiental',
|
||||
'videoControls.ambientLightingOn' => 'Activar iluminación ambiental',
|
||||
'videoControls.ambientLightingOff' => 'Desactivar iluminación ambiental',
|
||||
'videoControls.fullscreenButton' => 'Entrar en pantalla completa',
|
||||
'videoControls.exitFullscreenButton' => 'Salir de pantalla completa',
|
||||
'videoControls.alwaysOnTopButton' => 'Siempre visible',
|
||||
'videoControls.rotationLockButton' => 'Bloqueo de rotación',
|
||||
'videoControls.lockScreen' => 'Bloquear pantalla',
|
||||
'videoControls.unlockScreen' => 'Desbloquear pantalla',
|
||||
'videoControls.screenLockButton' => 'Bloqueo de pantalla',
|
||||
'videoControls.longPressToUnlock' => 'Mantén pulsado para desbloquear',
|
||||
'videoControls.timelineSlider' => 'Línea de tiempo del video',
|
||||
'videoControls.volumeSlider' => 'Nivel de volumen',
|
||||
'videoControls.endsAt' => ({required Object time}) => 'Termina a las ${time}',
|
||||
@@ -1710,11 +1694,8 @@ extension on TranslationsEs {
|
||||
'discover.overview' => 'Resumen',
|
||||
'discover.cast' => 'Reparto',
|
||||
'discover.extras' => 'Tráilers y Extras',
|
||||
'discover.seasons' => 'Temporadas',
|
||||
'discover.studio' => 'Estudio',
|
||||
'discover.rating' => 'Calificación',
|
||||
'discover.episodeCount' => ({required Object count}) => '${count} episodios',
|
||||
'discover.watchedProgress' => ({required Object watched, required Object total}) => '${watched}/${total} vistos',
|
||||
'discover.movie' => 'Película',
|
||||
'discover.tvShow' => 'Serie de TV',
|
||||
'discover.minutesLeft' => ({required Object minutes}) => 'quedan ${minutes} min',
|
||||
@@ -1769,6 +1750,7 @@ extension on TranslationsEs {
|
||||
'libraries.tabs.browse' => 'Explorar',
|
||||
'libraries.tabs.collections' => 'Colecciones',
|
||||
'libraries.tabs.playlists' => 'Listas',
|
||||
'libraries.groupings.title' => 'Agrupación',
|
||||
'libraries.groupings.all' => 'Todo',
|
||||
'libraries.groupings.movies' => 'Películas',
|
||||
'libraries.groupings.shows' => 'Series',
|
||||
@@ -1791,8 +1773,6 @@ extension on TranslationsEs {
|
||||
'logs.clearLogs' => 'Borrar Logs',
|
||||
'logs.copyLogs' => 'Copiar Logs',
|
||||
'logs.uploadLogs' => 'Subir registros',
|
||||
'logs.error' => 'Error:',
|
||||
'logs.stackTrace' => 'Traza de la pila (Stack Trace):',
|
||||
'licenses.relatedPackages' => 'Paquetes relacionados',
|
||||
'licenses.license' => 'Licencia',
|
||||
'licenses.licenseNumber' => ({required Object number}) => 'Licencia ${number}',
|
||||
@@ -1801,23 +1781,13 @@ extension on TranslationsEs {
|
||||
'navigation.downloads' => 'Descargas',
|
||||
'navigation.liveTv' => 'TV en vivo',
|
||||
'liveTv.title' => 'TV en vivo',
|
||||
'liveTv.channels' => 'Canales',
|
||||
'liveTv.guide' => 'Guía',
|
||||
'liveTv.noChannels' => 'No hay canales disponibles',
|
||||
'liveTv.noDvr' => 'No hay DVR configurado en ningún servidor',
|
||||
'liveTv.tuneFailed' => 'Error al sintonizar el canal',
|
||||
'liveTv.loading' => 'Cargando canales...',
|
||||
'liveTv.nowPlaying' => 'Reproduciendo ahora',
|
||||
'liveTv.noPrograms' => 'No hay datos de programación disponibles',
|
||||
'liveTv.channelNumber' => ({required Object number}) => 'Canal ${number}',
|
||||
'liveTv.live' => 'EN VIVO',
|
||||
'liveTv.hd' => 'HD',
|
||||
'liveTv.premiere' => 'NUEVO',
|
||||
'liveTv.reloadGuide' => 'Recargar guía',
|
||||
'liveTv.allChannels' => 'Todos los canales',
|
||||
'liveTv.now' => 'Ahora',
|
||||
_ => null,
|
||||
} ?? switch (path) {
|
||||
'liveTv.today' => 'Hoy',
|
||||
'liveTv.midnight' => 'Medianoche',
|
||||
'liveTv.overnight' => 'Madrugada',
|
||||
@@ -1827,6 +1797,9 @@ extension on TranslationsEs {
|
||||
'liveTv.lateNight' => 'Trasnoche',
|
||||
'liveTv.whatsOn' => 'En emisión',
|
||||
'liveTv.watchChannel' => 'Ver canal',
|
||||
_ => null,
|
||||
} ?? switch (path) {
|
||||
'liveTv.favorites' => 'Favoritos',
|
||||
'collections.title' => 'Colecciones',
|
||||
'collections.collection' => 'Colección',
|
||||
'collections.empty' => 'La colección está vacía',
|
||||
@@ -2049,7 +2022,6 @@ extension on TranslationsEs {
|
||||
'externalPlayer.playerCommand' => 'Comando',
|
||||
'externalPlayer.playerPackage' => 'Nombre del paquete',
|
||||
'externalPlayer.playerUrlScheme' => 'Esquema URL',
|
||||
'externalPlayer.customPlayer' => 'Reproductor personalizado',
|
||||
'externalPlayer.off' => 'Desactivado',
|
||||
'externalPlayer.launchFailed' => 'No se pudo abrir el reproductor externo',
|
||||
'externalPlayer.appNotInstalled' => ({required Object name}) => '${name} no está instalado',
|
||||
|
||||
+32
-60
@@ -45,7 +45,6 @@ class TranslationsFr with BaseTranslations<AppLocale, Translations> implements T
|
||||
@override late final _TranslationsSettingsFr settings = _TranslationsSettingsFr._(_root);
|
||||
@override late final _TranslationsSearchFr search = _TranslationsSearchFr._(_root);
|
||||
@override late final _TranslationsHotkeysFr hotkeys = _TranslationsHotkeysFr._(_root);
|
||||
@override late final _TranslationsPinEntryFr pinEntry = _TranslationsPinEntryFr._(_root);
|
||||
@override late final _TranslationsFileInfoFr fileInfo = _TranslationsFileInfoFr._(_root);
|
||||
@override late final _TranslationsMediaMenuFr mediaMenu = _TranslationsMediaMenuFr._(_root);
|
||||
@override late final _TranslationsAccessibilityFr accessibility = _TranslationsAccessibilityFr._(_root);
|
||||
@@ -128,7 +127,6 @@ class _TranslationsCommonFr implements TranslationsCommonEn {
|
||||
@override String get shuffle => 'Mélanger';
|
||||
@override String get addTo => 'Ajouter à...';
|
||||
@override String get createNew => 'Créer';
|
||||
@override String get remove => 'Supprimer';
|
||||
@override String get paste => 'Coller';
|
||||
@override String get connect => 'Connecter';
|
||||
@override String get disconnect => 'Déconnecter';
|
||||
@@ -142,7 +140,6 @@ class _TranslationsCommonFr implements TranslationsCommonEn {
|
||||
@override String get settings => 'Réglages';
|
||||
@override String get mute => 'Muet';
|
||||
@override String get ok => 'OK';
|
||||
@override String get loading => 'Chargement...';
|
||||
@override String get reconnect => 'Reconnecter';
|
||||
@override String get exitConfirmTitle => 'Quitter l\'application ?';
|
||||
@override String get exitConfirmMessage => 'Êtes-vous sûr de vouloir quitter ?';
|
||||
@@ -256,6 +253,8 @@ class _TranslationsSettingsFr implements TranslationsSettingsEn {
|
||||
@override String get subtitleStylingDescription => 'Personnaliser l\'apparence des sous-titres';
|
||||
@override String get smallSkipDuration => 'Durée du petit saut';
|
||||
@override String get largeSkipDuration => 'Durée du grand saut';
|
||||
@override String get rewindOnResume => 'Rembobiner à la reprise';
|
||||
@override String get rewindOnResumeDescription => 'Rembobiner de cette durée lors de la reprise de la lecture';
|
||||
@override String secondsUnit({required Object seconds}) => '${seconds} secondes';
|
||||
@override String get defaultSleepTimer => 'Minuterie de mise en veille par défaut';
|
||||
@override String minutesUnit({required Object minutes}) => '${minutes} minutes';
|
||||
@@ -297,6 +296,11 @@ class _TranslationsSettingsFr implements TranslationsSettingsEn {
|
||||
@override String get autoSkipCreditsDescription => 'Passer les crédits et passer à l\'épisode suivant automatiquement';
|
||||
@override String get autoSkipDelay => 'Délai avant skip automatique';
|
||||
@override String autoSkipDelayDescription({required Object seconds}) => 'Attendre ${seconds} secondes avant l\'auto-skip';
|
||||
@override String get introPattern => 'Modèle de marqueur d\'intro';
|
||||
@override String get introPatternDescription => 'Expression régulière pour reconnaître les marqueurs d\'intro dans les titres de chapitres';
|
||||
@override String get creditsPattern => 'Modèle de marqueur de générique';
|
||||
@override String get creditsPatternDescription => 'Expression régulière pour reconnaître les marqueurs de générique dans les titres de chapitres';
|
||||
@override String get invalidRegex => 'Expression régulière invalide';
|
||||
@override String get downloads => 'Téléchargement';
|
||||
@override String get downloadLocationDescription => 'Choisissez où stocker le contenu téléchargé';
|
||||
@override String get downloadLocationDefault => 'Par défaut (stockage de l\'application)';
|
||||
@@ -328,6 +332,8 @@ class _TranslationsSettingsFr implements TranslationsSettingsEn {
|
||||
@override String get confirmExitOnBackDescription => 'Afficher une boîte de dialogue de confirmation en appuyant sur retour pour quitter';
|
||||
@override String get showNavBarLabels => 'Afficher les libellés de la barre de navigation';
|
||||
@override String get showNavBarLabelsDescription => 'Afficher les libellés sous les icônes de la barre de navigation';
|
||||
@override String get liveTvDefaultFavorites => 'Chaînes favorites par défaut';
|
||||
@override String get liveTvDefaultFavoritesDescription => 'Afficher uniquement les chaînes favorites à l\'ouverture de la TV en direct';
|
||||
}
|
||||
|
||||
// Path: search
|
||||
@@ -355,18 +361,6 @@ class _TranslationsHotkeysFr implements TranslationsHotkeysEn {
|
||||
@override late final _TranslationsHotkeysActionsFr actions = _TranslationsHotkeysActionsFr._(_root);
|
||||
}
|
||||
|
||||
// Path: pinEntry
|
||||
class _TranslationsPinEntryFr implements TranslationsPinEntryEn {
|
||||
_TranslationsPinEntryFr._(this._root);
|
||||
|
||||
final TranslationsFr _root; // ignore: unused_field
|
||||
|
||||
// Translations
|
||||
@override String get enterPin => 'Entrer le code PIN';
|
||||
@override String get showPin => 'Afficher le code PIN';
|
||||
@override String get hidePin => 'Masquer le code PIN';
|
||||
}
|
||||
|
||||
// Path: fileInfo
|
||||
class _TranslationsFileInfoFr implements TranslationsFileInfoEn {
|
||||
_TranslationsFileInfoFr._(this._root);
|
||||
@@ -473,7 +467,6 @@ class _TranslationsVideoControlsFr implements 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 sleepTimerCompleted => 'Minuterie de mise en veille terminée - lecture en pause';
|
||||
@override String get stillWatching => 'Toujours en train de regarder ?';
|
||||
@override String pausingIn({required Object seconds}) => 'Pause dans ${seconds}s';
|
||||
@override String get continueWatching => 'Continuer';
|
||||
@@ -490,20 +483,20 @@ class _TranslationsVideoControlsFr implements TranslationsVideoControlsEn {
|
||||
@override String get muteButton => 'Mute';
|
||||
@override String get unmuteButton => 'Dé-mute';
|
||||
@override String get settingsButton => 'Paramètres vidéo';
|
||||
@override String get audioTrackButton => 'Pistes audio';
|
||||
@override String get subtitlesButton => 'Sous-titres';
|
||||
@override String get tracksButton => 'Audio et sous-titres';
|
||||
@override String get chaptersButton => 'Chapitres';
|
||||
@override String get versionsButton => 'Versions vidéo';
|
||||
@override String get pipButton => 'Mode PiP (Picture-in-Picture)';
|
||||
@override String get aspectRatioButton => 'Format d\'image';
|
||||
@override String get ambientLighting => 'Éclairage ambiant';
|
||||
@override String get ambientLightingOn => 'Activer l\'éclairage ambiant';
|
||||
@override String get ambientLightingOff => 'Désactiver l\'éclairage ambiant';
|
||||
@override String get fullscreenButton => 'Passer en mode plein écran';
|
||||
@override String get exitFullscreenButton => 'Quitter le mode plein écran';
|
||||
@override String get alwaysOnTopButton => 'Toujours au premier plan';
|
||||
@override String get rotationLockButton => 'Verrouillage de rotation';
|
||||
@override String get lockScreen => 'Verrouiller l\'écran';
|
||||
@override String get unlockScreen => 'Déverrouiller l\'écran';
|
||||
@override String get screenLockButton => 'Verrouillage de l\'écran';
|
||||
@override String get longPressToUnlock => 'Appui long pour déverrouiller';
|
||||
@override String get timelineSlider => 'Timeline vidéo';
|
||||
@override String get volumeSlider => 'Niveau sonore';
|
||||
@override String endsAt({required Object time}) => 'Fin à ${time}';
|
||||
@@ -637,11 +630,8 @@ class _TranslationsDiscoverFr implements TranslationsDiscoverEn {
|
||||
@override String get overview => 'Aperçu';
|
||||
@override String get cast => 'Cast';
|
||||
@override String get extras => 'Bandes-annonces et Extras';
|
||||
@override String get seasons => 'Saisons';
|
||||
@override String get studio => 'Studio';
|
||||
@override String get rating => 'Évaluation';
|
||||
@override String episodeCount({required Object count}) => '${count} épisodes';
|
||||
@override String watchedProgress({required Object watched, required Object total}) => '${watched}/${total} vu';
|
||||
@override String get movie => 'Film';
|
||||
@override String get tvShow => 'Show TV';
|
||||
@override String minutesLeft({required Object minutes}) => '${minutes} min restantes';
|
||||
@@ -764,8 +754,6 @@ class _TranslationsLogsFr implements TranslationsLogsEn {
|
||||
@override String get clearLogs => 'Effacer les logs';
|
||||
@override String get copyLogs => 'Copier les logs';
|
||||
@override String get uploadLogs => 'Envoyer les logs';
|
||||
@override String get error => 'Erreur:';
|
||||
@override String get stackTrace => 'Liste des appels:';
|
||||
}
|
||||
|
||||
// Path: licenses
|
||||
@@ -801,20 +789,12 @@ class _TranslationsLiveTvFr implements TranslationsLiveTvEn {
|
||||
|
||||
// Translations
|
||||
@override String get title => 'TV en direct';
|
||||
@override String get channels => 'Chaînes';
|
||||
@override String get guide => 'Guide';
|
||||
@override String get noChannels => 'Aucune chaîne disponible';
|
||||
@override String get noDvr => 'Aucun DVR configuré sur les serveurs';
|
||||
@override String get tuneFailed => 'Impossible de syntoniser la chaîne';
|
||||
@override String get loading => 'Chargement des chaînes...';
|
||||
@override String get nowPlaying => 'En cours de lecture';
|
||||
@override String get noPrograms => 'Aucune donnée de programme disponible';
|
||||
@override String channelNumber({required Object number}) => 'Ch. ${number}';
|
||||
@override String get live => 'EN DIRECT';
|
||||
@override String get hd => 'HD';
|
||||
@override String get premiere => 'NOUVEAU';
|
||||
@override String get reloadGuide => 'Recharger le guide';
|
||||
@override String get allChannels => 'Toutes les chaînes';
|
||||
@override String get now => 'Maintenant';
|
||||
@override String get today => 'Aujourd\'hui';
|
||||
@override String get midnight => 'Minuit';
|
||||
@@ -825,6 +805,7 @@ class _TranslationsLiveTvFr implements TranslationsLiveTvEn {
|
||||
@override String get lateNight => 'Nuit tardive';
|
||||
@override String get whatsOn => 'En ce moment';
|
||||
@override String get watchChannel => 'Regarder la chaîne';
|
||||
@override String get favorites => 'Favoris';
|
||||
}
|
||||
|
||||
// Path: collections
|
||||
@@ -1053,7 +1034,6 @@ class _TranslationsExternalPlayerFr implements TranslationsExternalPlayerEn {
|
||||
@override String get playerCommand => 'Commande';
|
||||
@override String get playerPackage => 'Nom du paquet';
|
||||
@override String get playerUrlScheme => 'Schéma URL';
|
||||
@override String get customPlayer => 'Lecteur personnalisé';
|
||||
@override String get off => 'Désactivé';
|
||||
@override String get launchFailed => 'Impossible d\'ouvrir le lecteur externe';
|
||||
@override String appNotInstalled({required Object name}) => '${name} n\'est pas installé';
|
||||
@@ -1192,6 +1172,7 @@ class _TranslationsLibrariesGroupingsFr implements TranslationsLibrariesGrouping
|
||||
final TranslationsFr _root; // ignore: unused_field
|
||||
|
||||
// Translations
|
||||
@override String get title => 'Regroupement';
|
||||
@override String get all => 'Tous';
|
||||
@override String get movies => 'Films';
|
||||
@override String get shows => 'Show TV';
|
||||
@@ -1330,7 +1311,6 @@ extension on TranslationsFr {
|
||||
'common.shuffle' => 'Mélanger',
|
||||
'common.addTo' => 'Ajouter à...',
|
||||
'common.createNew' => 'Créer',
|
||||
'common.remove' => 'Supprimer',
|
||||
'common.paste' => 'Coller',
|
||||
'common.connect' => 'Connecter',
|
||||
'common.disconnect' => 'Déconnecter',
|
||||
@@ -1344,7 +1324,6 @@ extension on TranslationsFr {
|
||||
'common.settings' => 'Réglages',
|
||||
'common.mute' => 'Muet',
|
||||
'common.ok' => 'OK',
|
||||
'common.loading' => 'Chargement...',
|
||||
'common.reconnect' => 'Reconnecter',
|
||||
'common.exitConfirmTitle' => 'Quitter l\'application ?',
|
||||
'common.exitConfirmMessage' => 'Êtes-vous sûr de vouloir quitter ?',
|
||||
@@ -1431,6 +1410,8 @@ extension on TranslationsFr {
|
||||
'settings.subtitleStylingDescription' => 'Personnaliser l\'apparence des sous-titres',
|
||||
'settings.smallSkipDuration' => 'Durée du petit saut',
|
||||
'settings.largeSkipDuration' => 'Durée du grand saut',
|
||||
'settings.rewindOnResume' => 'Rembobiner à la reprise',
|
||||
'settings.rewindOnResumeDescription' => 'Rembobiner de cette durée lors de la reprise de la lecture',
|
||||
'settings.secondsUnit' => ({required Object seconds}) => '${seconds} secondes',
|
||||
'settings.defaultSleepTimer' => 'Minuterie de mise en veille par défaut',
|
||||
'settings.minutesUnit' => ({required Object minutes}) => '${minutes} minutes',
|
||||
@@ -1472,6 +1453,11 @@ extension on TranslationsFr {
|
||||
'settings.autoSkipCreditsDescription' => 'Passer les crédits et passer à l\'épisode suivant automatiquement',
|
||||
'settings.autoSkipDelay' => 'Délai avant skip automatique',
|
||||
'settings.autoSkipDelayDescription' => ({required Object seconds}) => 'Attendre ${seconds} secondes avant l\'auto-skip',
|
||||
'settings.introPattern' => 'Modèle de marqueur d\'intro',
|
||||
'settings.introPatternDescription' => 'Expression régulière pour reconnaître les marqueurs d\'intro dans les titres de chapitres',
|
||||
'settings.creditsPattern' => 'Modèle de marqueur de générique',
|
||||
'settings.creditsPatternDescription' => 'Expression régulière pour reconnaître les marqueurs de générique dans les titres de chapitres',
|
||||
'settings.invalidRegex' => 'Expression régulière invalide',
|
||||
'settings.downloads' => 'Téléchargement',
|
||||
'settings.downloadLocationDescription' => 'Choisissez où stocker le contenu téléchargé',
|
||||
'settings.downloadLocationDefault' => 'Par défaut (stockage de l\'application)',
|
||||
@@ -1503,6 +1489,8 @@ extension on TranslationsFr {
|
||||
'settings.confirmExitOnBackDescription' => 'Afficher une boîte de dialogue de confirmation en appuyant sur retour pour quitter',
|
||||
'settings.showNavBarLabels' => 'Afficher les libellés de la barre de navigation',
|
||||
'settings.showNavBarLabelsDescription' => 'Afficher les libellés sous les icônes de la barre de navigation',
|
||||
'settings.liveTvDefaultFavorites' => 'Chaînes favorites par défaut',
|
||||
'settings.liveTvDefaultFavoritesDescription' => 'Afficher uniquement les chaînes favorites à l\'ouverture de la TV en direct',
|
||||
'search.hint' => 'Rechercher des films, des séries, de la musique...',
|
||||
'search.tryDifferentTerm' => 'Essayez un autre terme de recherche',
|
||||
'search.searchYourMedia' => 'Rechercher dans vos médias',
|
||||
@@ -1528,9 +1516,6 @@ extension on TranslationsFr {
|
||||
'hotkeys.actions.subSeekPrev' => 'Rechercher le sous-titre précédent',
|
||||
'hotkeys.actions.shaderToggle' => 'Activer/désactiver les shaders',
|
||||
'hotkeys.actions.skipMarker' => 'Passer l\'intro/le générique',
|
||||
'pinEntry.enterPin' => 'Entrer le code PIN',
|
||||
'pinEntry.showPin' => 'Afficher le code PIN',
|
||||
'pinEntry.hidePin' => 'Masquer le code PIN',
|
||||
'fileInfo.title' => 'Informations sur le fichier',
|
||||
'fileInfo.video' => 'Vidéo',
|
||||
'fileInfo.audio' => 'Audio',
|
||||
@@ -1594,7 +1579,6 @@ 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.sleepTimerCompleted' => 'Minuterie de mise en veille terminée - lecture en pause',
|
||||
'videoControls.stillWatching' => 'Toujours en train de regarder ?',
|
||||
'videoControls.pausingIn' => ({required Object seconds}) => 'Pause dans ${seconds}s',
|
||||
'videoControls.continueWatching' => 'Continuer',
|
||||
@@ -1611,20 +1595,20 @@ extension on TranslationsFr {
|
||||
'videoControls.muteButton' => 'Mute',
|
||||
'videoControls.unmuteButton' => 'Dé-mute',
|
||||
'videoControls.settingsButton' => 'Paramètres vidéo',
|
||||
'videoControls.audioTrackButton' => 'Pistes audio',
|
||||
'videoControls.subtitlesButton' => 'Sous-titres',
|
||||
'videoControls.tracksButton' => 'Audio et sous-titres',
|
||||
'videoControls.chaptersButton' => 'Chapitres',
|
||||
'videoControls.versionsButton' => 'Versions vidéo',
|
||||
'videoControls.pipButton' => 'Mode PiP (Picture-in-Picture)',
|
||||
'videoControls.aspectRatioButton' => 'Format d\'image',
|
||||
'videoControls.ambientLighting' => 'Éclairage ambiant',
|
||||
'videoControls.ambientLightingOn' => 'Activer l\'éclairage ambiant',
|
||||
'videoControls.ambientLightingOff' => 'Désactiver l\'éclairage ambiant',
|
||||
'videoControls.fullscreenButton' => 'Passer en mode plein écran',
|
||||
'videoControls.exitFullscreenButton' => 'Quitter le mode plein écran',
|
||||
'videoControls.alwaysOnTopButton' => 'Toujours au premier plan',
|
||||
'videoControls.rotationLockButton' => 'Verrouillage de rotation',
|
||||
'videoControls.lockScreen' => 'Verrouiller l\'écran',
|
||||
'videoControls.unlockScreen' => 'Déverrouiller l\'écran',
|
||||
'videoControls.screenLockButton' => 'Verrouillage de l\'écran',
|
||||
'videoControls.longPressToUnlock' => 'Appui long pour déverrouiller',
|
||||
'videoControls.timelineSlider' => 'Timeline vidéo',
|
||||
'videoControls.volumeSlider' => 'Niveau sonore',
|
||||
'videoControls.endsAt' => ({required Object time}) => 'Fin à ${time}',
|
||||
@@ -1710,11 +1694,8 @@ extension on TranslationsFr {
|
||||
'discover.overview' => 'Aperçu',
|
||||
'discover.cast' => 'Cast',
|
||||
'discover.extras' => 'Bandes-annonces et Extras',
|
||||
'discover.seasons' => 'Saisons',
|
||||
'discover.studio' => 'Studio',
|
||||
'discover.rating' => 'Évaluation',
|
||||
'discover.episodeCount' => ({required Object count}) => '${count} épisodes',
|
||||
'discover.watchedProgress' => ({required Object watched, required Object total}) => '${watched}/${total} vu',
|
||||
'discover.movie' => 'Film',
|
||||
'discover.tvShow' => 'Show TV',
|
||||
'discover.minutesLeft' => ({required Object minutes}) => '${minutes} min restantes',
|
||||
@@ -1769,6 +1750,7 @@ extension on TranslationsFr {
|
||||
'libraries.tabs.browse' => 'Parcourir',
|
||||
'libraries.tabs.collections' => 'Collections',
|
||||
'libraries.tabs.playlists' => 'Playlists',
|
||||
'libraries.groupings.title' => 'Regroupement',
|
||||
'libraries.groupings.all' => 'Tous',
|
||||
'libraries.groupings.movies' => 'Films',
|
||||
'libraries.groupings.shows' => 'Show TV',
|
||||
@@ -1791,8 +1773,6 @@ extension on TranslationsFr {
|
||||
'logs.clearLogs' => 'Effacer les logs',
|
||||
'logs.copyLogs' => 'Copier les logs',
|
||||
'logs.uploadLogs' => 'Envoyer les logs',
|
||||
'logs.error' => 'Erreur:',
|
||||
'logs.stackTrace' => 'Liste des appels:',
|
||||
'licenses.relatedPackages' => 'Package associés',
|
||||
'licenses.license' => 'Licence',
|
||||
'licenses.licenseNumber' => ({required Object number}) => 'Licence ${number}',
|
||||
@@ -1801,23 +1781,13 @@ extension on TranslationsFr {
|
||||
'navigation.downloads' => 'Téléch.',
|
||||
'navigation.liveTv' => 'TV direct',
|
||||
'liveTv.title' => 'TV en direct',
|
||||
'liveTv.channels' => 'Chaînes',
|
||||
'liveTv.guide' => 'Guide',
|
||||
'liveTv.noChannels' => 'Aucune chaîne disponible',
|
||||
'liveTv.noDvr' => 'Aucun DVR configuré sur les serveurs',
|
||||
'liveTv.tuneFailed' => 'Impossible de syntoniser la chaîne',
|
||||
'liveTv.loading' => 'Chargement des chaînes...',
|
||||
'liveTv.nowPlaying' => 'En cours de lecture',
|
||||
'liveTv.noPrograms' => 'Aucune donnée de programme disponible',
|
||||
'liveTv.channelNumber' => ({required Object number}) => 'Ch. ${number}',
|
||||
'liveTv.live' => 'EN DIRECT',
|
||||
'liveTv.hd' => 'HD',
|
||||
'liveTv.premiere' => 'NOUVEAU',
|
||||
'liveTv.reloadGuide' => 'Recharger le guide',
|
||||
'liveTv.allChannels' => 'Toutes les chaînes',
|
||||
'liveTv.now' => 'Maintenant',
|
||||
_ => null,
|
||||
} ?? switch (path) {
|
||||
'liveTv.today' => 'Aujourd\'hui',
|
||||
'liveTv.midnight' => 'Minuit',
|
||||
'liveTv.overnight' => 'Nuit',
|
||||
@@ -1827,6 +1797,9 @@ extension on TranslationsFr {
|
||||
'liveTv.lateNight' => 'Nuit tardive',
|
||||
'liveTv.whatsOn' => 'En ce moment',
|
||||
'liveTv.watchChannel' => 'Regarder la chaîne',
|
||||
_ => null,
|
||||
} ?? switch (path) {
|
||||
'liveTv.favorites' => 'Favoris',
|
||||
'collections.title' => 'Collections',
|
||||
'collections.collection' => 'Collection',
|
||||
'collections.empty' => 'La collection est vide',
|
||||
@@ -2049,7 +2022,6 @@ extension on TranslationsFr {
|
||||
'externalPlayer.playerCommand' => 'Commande',
|
||||
'externalPlayer.playerPackage' => 'Nom du paquet',
|
||||
'externalPlayer.playerUrlScheme' => 'Schéma URL',
|
||||
'externalPlayer.customPlayer' => 'Lecteur personnalisé',
|
||||
'externalPlayer.off' => 'Désactivé',
|
||||
'externalPlayer.launchFailed' => 'Impossible d\'ouvrir le lecteur externe',
|
||||
'externalPlayer.appNotInstalled' => ({required Object name}) => '${name} n\'est pas installé',
|
||||
|
||||
+32
-60
@@ -45,7 +45,6 @@ class TranslationsIt with BaseTranslations<AppLocale, Translations> implements T
|
||||
@override late final _TranslationsSettingsIt settings = _TranslationsSettingsIt._(_root);
|
||||
@override late final _TranslationsSearchIt search = _TranslationsSearchIt._(_root);
|
||||
@override late final _TranslationsHotkeysIt hotkeys = _TranslationsHotkeysIt._(_root);
|
||||
@override late final _TranslationsPinEntryIt pinEntry = _TranslationsPinEntryIt._(_root);
|
||||
@override late final _TranslationsFileInfoIt fileInfo = _TranslationsFileInfoIt._(_root);
|
||||
@override late final _TranslationsMediaMenuIt mediaMenu = _TranslationsMediaMenuIt._(_root);
|
||||
@override late final _TranslationsAccessibilityIt accessibility = _TranslationsAccessibilityIt._(_root);
|
||||
@@ -128,7 +127,6 @@ class _TranslationsCommonIt implements TranslationsCommonEn {
|
||||
@override String get shuffle => 'Casuale';
|
||||
@override String get addTo => 'Aggiungi a...';
|
||||
@override String get createNew => 'Crea';
|
||||
@override String get remove => 'Rimuovi';
|
||||
@override String get paste => 'Incolla';
|
||||
@override String get connect => 'Connetti';
|
||||
@override String get disconnect => 'Disconnetti';
|
||||
@@ -142,7 +140,6 @@ class _TranslationsCommonIt implements TranslationsCommonEn {
|
||||
@override String get settings => 'Opzioni';
|
||||
@override String get mute => 'Muto';
|
||||
@override String get ok => 'OK';
|
||||
@override String get loading => 'Caricamento...';
|
||||
@override String get reconnect => 'Riconnetti';
|
||||
@override String get exitConfirmTitle => 'Uscire dall\'app?';
|
||||
@override String get exitConfirmMessage => 'Sei sicuro di voler uscire?';
|
||||
@@ -256,6 +253,8 @@ class _TranslationsSettingsIt implements TranslationsSettingsEn {
|
||||
@override String get subtitleStylingDescription => 'Personalizza l\'aspetto dei sottotitoli';
|
||||
@override String get smallSkipDuration => 'Durata skip breve';
|
||||
@override String get largeSkipDuration => 'Durata skip lungo';
|
||||
@override String get rewindOnResume => 'Riavvolgi alla ripresa';
|
||||
@override String get rewindOnResumeDescription => 'Riavvolgi di questa quantità alla ripresa della riproduzione';
|
||||
@override String secondsUnit({required Object seconds}) => '${seconds} secondi';
|
||||
@override String get defaultSleepTimer => 'Timer spegnimento predefinito';
|
||||
@override String minutesUnit({required Object minutes}) => '${minutes} minuti';
|
||||
@@ -297,6 +296,11 @@ class _TranslationsSettingsIt implements TranslationsSettingsEn {
|
||||
@override String get autoSkipCreditsDescription => 'Salta automaticamente i crediti e riproduci l\'episodio successivo';
|
||||
@override String get autoSkipDelay => 'Ritardo Salto Automatico';
|
||||
@override String autoSkipDelayDescription({required Object seconds}) => 'Aspetta ${seconds} secondi prima del salto automatico';
|
||||
@override String get introPattern => 'Pattern marcatore intro';
|
||||
@override String get introPatternDescription => 'Espressione regolare per riconoscere i marcatori intro nei titoli dei capitoli';
|
||||
@override String get creditsPattern => 'Pattern marcatore titoli di coda';
|
||||
@override String get creditsPatternDescription => 'Espressione regolare per riconoscere i marcatori dei titoli di coda nei capitoli';
|
||||
@override String get invalidRegex => 'Espressione regolare non valida';
|
||||
@override String get downloads => 'Download';
|
||||
@override String get downloadLocationDescription => 'Scegli dove salvare i contenuti scaricati';
|
||||
@override String get downloadLocationDefault => 'Predefinita (Archiviazione App)';
|
||||
@@ -328,6 +332,8 @@ class _TranslationsSettingsIt implements TranslationsSettingsEn {
|
||||
@override String get confirmExitOnBackDescription => 'Mostra una finestra di conferma quando si preme indietro per uscire dall\'app';
|
||||
@override String get showNavBarLabels => 'Mostra etichette barra di navigazione';
|
||||
@override String get showNavBarLabelsDescription => 'Mostra le etichette sotto le icone della barra di navigazione';
|
||||
@override String get liveTvDefaultFavorites => 'Canali preferiti predefiniti';
|
||||
@override String get liveTvDefaultFavoritesDescription => 'Mostra solo i canali preferiti all\'apertura della TV dal vivo';
|
||||
}
|
||||
|
||||
// Path: search
|
||||
@@ -355,18 +361,6 @@ class _TranslationsHotkeysIt implements TranslationsHotkeysEn {
|
||||
@override late final _TranslationsHotkeysActionsIt actions = _TranslationsHotkeysActionsIt._(_root);
|
||||
}
|
||||
|
||||
// Path: pinEntry
|
||||
class _TranslationsPinEntryIt implements TranslationsPinEntryEn {
|
||||
_TranslationsPinEntryIt._(this._root);
|
||||
|
||||
final TranslationsIt _root; // ignore: unused_field
|
||||
|
||||
// Translations
|
||||
@override String get enterPin => 'Inserisci PIN';
|
||||
@override String get showPin => 'Mostra PIN';
|
||||
@override String get hidePin => 'Nascondi PIN';
|
||||
}
|
||||
|
||||
// Path: fileInfo
|
||||
class _TranslationsFileInfoIt implements TranslationsFileInfoEn {
|
||||
_TranslationsFileInfoIt._(this._root);
|
||||
@@ -473,7 +467,6 @@ class _TranslationsVideoControlsIt implements 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 sleepTimerCompleted => 'Timer di spegnimento completato - riproduzione in pausa';
|
||||
@override String get stillWatching => 'Stai ancora guardando?';
|
||||
@override String pausingIn({required Object seconds}) => 'Pausa tra ${seconds}s';
|
||||
@override String get continueWatching => 'Continua';
|
||||
@@ -490,20 +483,20 @@ class _TranslationsVideoControlsIt implements TranslationsVideoControlsEn {
|
||||
@override String get muteButton => 'Silenzia';
|
||||
@override String get unmuteButton => 'Riattiva audio';
|
||||
@override String get settingsButton => 'Impostazioni video';
|
||||
@override String get audioTrackButton => 'Tracce audio';
|
||||
@override String get subtitlesButton => 'Sottotitoli';
|
||||
@override String get tracksButton => 'Audio e sottotitoli';
|
||||
@override String get chaptersButton => 'Capitoli';
|
||||
@override String get versionsButton => 'Versioni video';
|
||||
@override String get pipButton => 'Modalità Picture-in-Picture';
|
||||
@override String get aspectRatioButton => 'Proporzioni';
|
||||
@override String get ambientLighting => 'Illuminazione ambientale';
|
||||
@override String get ambientLightingOn => 'Attiva illuminazione ambientale';
|
||||
@override String get ambientLightingOff => 'Disattiva illuminazione ambientale';
|
||||
@override String get fullscreenButton => 'Attiva schermo intero';
|
||||
@override String get exitFullscreenButton => 'Esci da schermo intero';
|
||||
@override String get alwaysOnTopButton => 'Sempre in primo piano';
|
||||
@override String get rotationLockButton => 'Blocco rotazione';
|
||||
@override String get lockScreen => 'Blocca schermo';
|
||||
@override String get unlockScreen => 'Sblocca schermo';
|
||||
@override String get screenLockButton => 'Blocco schermo';
|
||||
@override String get longPressToUnlock => 'Premi a lungo per sbloccare';
|
||||
@override String get timelineSlider => 'Timeline video';
|
||||
@override String get volumeSlider => 'Livello volume';
|
||||
@override String endsAt({required Object time}) => 'Finisce alle ${time}';
|
||||
@@ -637,11 +630,8 @@ class _TranslationsDiscoverIt implements TranslationsDiscoverEn {
|
||||
@override String get overview => 'Panoramica';
|
||||
@override String get cast => 'Attori';
|
||||
@override String get extras => 'Trailer ed Extra';
|
||||
@override String get seasons => 'Stagioni';
|
||||
@override String get studio => 'Studio';
|
||||
@override String get rating => 'Classificazione';
|
||||
@override String episodeCount({required Object count}) => '${count} episodi';
|
||||
@override String watchedProgress({required Object watched, required Object total}) => '${watched}/${total} guardati';
|
||||
@override String get movie => 'Film';
|
||||
@override String get tvShow => 'Serie TV';
|
||||
@override String minutesLeft({required Object minutes}) => '${minutes} minuti rimanenti';
|
||||
@@ -764,8 +754,6 @@ class _TranslationsLogsIt implements TranslationsLogsEn {
|
||||
@override String get clearLogs => 'Cancella log';
|
||||
@override String get copyLogs => 'Copia log';
|
||||
@override String get uploadLogs => 'Carica log';
|
||||
@override String get error => 'Errore:';
|
||||
@override String get stackTrace => 'Traccia dello stack:';
|
||||
}
|
||||
|
||||
// Path: licenses
|
||||
@@ -801,20 +789,12 @@ class _TranslationsLiveTvIt implements TranslationsLiveTvEn {
|
||||
|
||||
// Translations
|
||||
@override String get title => 'TV in diretta';
|
||||
@override String get channels => 'Canali';
|
||||
@override String get guide => 'Guida';
|
||||
@override String get noChannels => 'Nessun canale disponibile';
|
||||
@override String get noDvr => 'Nessun DVR configurato su nessun server';
|
||||
@override String get tuneFailed => 'Impossibile sintonizzare il canale';
|
||||
@override String get loading => 'Caricamento canali...';
|
||||
@override String get nowPlaying => 'In riproduzione';
|
||||
@override String get noPrograms => 'Nessun dato di programma disponibile';
|
||||
@override String channelNumber({required Object number}) => 'Canale ${number}';
|
||||
@override String get live => 'IN DIRETTA';
|
||||
@override String get hd => 'HD';
|
||||
@override String get premiere => 'NUOVO';
|
||||
@override String get reloadGuide => 'Ricarica guida';
|
||||
@override String get allChannels => 'Tutti i canali';
|
||||
@override String get now => 'Ora';
|
||||
@override String get today => 'Oggi';
|
||||
@override String get midnight => 'Mezzanotte';
|
||||
@@ -825,6 +805,7 @@ class _TranslationsLiveTvIt implements TranslationsLiveTvEn {
|
||||
@override String get lateNight => 'Notte tarda';
|
||||
@override String get whatsOn => 'In onda ora';
|
||||
@override String get watchChannel => 'Guarda canale';
|
||||
@override String get favorites => 'Preferiti';
|
||||
}
|
||||
|
||||
// Path: downloads
|
||||
@@ -1053,7 +1034,6 @@ class _TranslationsExternalPlayerIt implements TranslationsExternalPlayerEn {
|
||||
@override String get playerCommand => 'Comando';
|
||||
@override String get playerPackage => 'Nome pacchetto';
|
||||
@override String get playerUrlScheme => 'Schema URL';
|
||||
@override String get customPlayer => 'Lettore personalizzato';
|
||||
@override String get off => 'Disattivato';
|
||||
@override String get launchFailed => 'Impossibile aprire il lettore esterno';
|
||||
@override String appNotInstalled({required Object name}) => '${name} non è installato';
|
||||
@@ -1192,6 +1172,7 @@ class _TranslationsLibrariesGroupingsIt implements TranslationsLibrariesGrouping
|
||||
final TranslationsIt _root; // ignore: unused_field
|
||||
|
||||
// Translations
|
||||
@override String get title => 'Raggruppamento';
|
||||
@override String get all => 'Tutti';
|
||||
@override String get movies => 'Film';
|
||||
@override String get shows => 'Serie TV';
|
||||
@@ -1330,7 +1311,6 @@ extension on TranslationsIt {
|
||||
'common.shuffle' => 'Casuale',
|
||||
'common.addTo' => 'Aggiungi a...',
|
||||
'common.createNew' => 'Crea',
|
||||
'common.remove' => 'Rimuovi',
|
||||
'common.paste' => 'Incolla',
|
||||
'common.connect' => 'Connetti',
|
||||
'common.disconnect' => 'Disconnetti',
|
||||
@@ -1344,7 +1324,6 @@ extension on TranslationsIt {
|
||||
'common.settings' => 'Opzioni',
|
||||
'common.mute' => 'Muto',
|
||||
'common.ok' => 'OK',
|
||||
'common.loading' => 'Caricamento...',
|
||||
'common.reconnect' => 'Riconnetti',
|
||||
'common.exitConfirmTitle' => 'Uscire dall\'app?',
|
||||
'common.exitConfirmMessage' => 'Sei sicuro di voler uscire?',
|
||||
@@ -1431,6 +1410,8 @@ extension on TranslationsIt {
|
||||
'settings.subtitleStylingDescription' => 'Personalizza l\'aspetto dei sottotitoli',
|
||||
'settings.smallSkipDuration' => 'Durata skip breve',
|
||||
'settings.largeSkipDuration' => 'Durata skip lungo',
|
||||
'settings.rewindOnResume' => 'Riavvolgi alla ripresa',
|
||||
'settings.rewindOnResumeDescription' => 'Riavvolgi di questa quantità alla ripresa della riproduzione',
|
||||
'settings.secondsUnit' => ({required Object seconds}) => '${seconds} secondi',
|
||||
'settings.defaultSleepTimer' => 'Timer spegnimento predefinito',
|
||||
'settings.minutesUnit' => ({required Object minutes}) => '${minutes} minuti',
|
||||
@@ -1472,6 +1453,11 @@ extension on TranslationsIt {
|
||||
'settings.autoSkipCreditsDescription' => 'Salta automaticamente i crediti e riproduci l\'episodio successivo',
|
||||
'settings.autoSkipDelay' => 'Ritardo Salto Automatico',
|
||||
'settings.autoSkipDelayDescription' => ({required Object seconds}) => 'Aspetta ${seconds} secondi prima del salto automatico',
|
||||
'settings.introPattern' => 'Pattern marcatore intro',
|
||||
'settings.introPatternDescription' => 'Espressione regolare per riconoscere i marcatori intro nei titoli dei capitoli',
|
||||
'settings.creditsPattern' => 'Pattern marcatore titoli di coda',
|
||||
'settings.creditsPatternDescription' => 'Espressione regolare per riconoscere i marcatori dei titoli di coda nei capitoli',
|
||||
'settings.invalidRegex' => 'Espressione regolare non valida',
|
||||
'settings.downloads' => 'Download',
|
||||
'settings.downloadLocationDescription' => 'Scegli dove salvare i contenuti scaricati',
|
||||
'settings.downloadLocationDefault' => 'Predefinita (Archiviazione App)',
|
||||
@@ -1503,6 +1489,8 @@ extension on TranslationsIt {
|
||||
'settings.confirmExitOnBackDescription' => 'Mostra una finestra di conferma quando si preme indietro per uscire dall\'app',
|
||||
'settings.showNavBarLabels' => 'Mostra etichette barra di navigazione',
|
||||
'settings.showNavBarLabelsDescription' => 'Mostra le etichette sotto le icone della barra di navigazione',
|
||||
'settings.liveTvDefaultFavorites' => 'Canali preferiti predefiniti',
|
||||
'settings.liveTvDefaultFavoritesDescription' => 'Mostra solo i canali preferiti all\'apertura della TV dal vivo',
|
||||
'search.hint' => 'Cerca film. spettacoli, musica...',
|
||||
'search.tryDifferentTerm' => 'Prova altri termini di ricerca',
|
||||
'search.searchYourMedia' => 'Cerca nei tuoi media',
|
||||
@@ -1528,9 +1516,6 @@ extension on TranslationsIt {
|
||||
'hotkeys.actions.subSeekPrev' => 'Vai al sottotitolo precedente',
|
||||
'hotkeys.actions.shaderToggle' => 'Attiva/disattiva shader',
|
||||
'hotkeys.actions.skipMarker' => 'Salta intro/titoli di coda',
|
||||
'pinEntry.enterPin' => 'Inserisci PIN',
|
||||
'pinEntry.showPin' => 'Mostra PIN',
|
||||
'pinEntry.hidePin' => 'Nascondi PIN',
|
||||
'fileInfo.title' => 'Info sul file',
|
||||
'fileInfo.video' => 'Video',
|
||||
'fileInfo.audio' => 'Audio',
|
||||
@@ -1594,7 +1579,6 @@ extension on TranslationsIt {
|
||||
'videoControls.unlockRotation' => 'Sblocca rotazione',
|
||||
'videoControls.timerActive' => 'Timer attivo',
|
||||
'videoControls.playbackWillPauseIn' => ({required Object duration}) => 'La riproduzione si interromperà tra ${duration}',
|
||||
'videoControls.sleepTimerCompleted' => 'Timer di spegnimento completato - riproduzione in pausa',
|
||||
'videoControls.stillWatching' => 'Stai ancora guardando?',
|
||||
'videoControls.pausingIn' => ({required Object seconds}) => 'Pausa tra ${seconds}s',
|
||||
'videoControls.continueWatching' => 'Continua',
|
||||
@@ -1611,20 +1595,20 @@ extension on TranslationsIt {
|
||||
'videoControls.muteButton' => 'Silenzia',
|
||||
'videoControls.unmuteButton' => 'Riattiva audio',
|
||||
'videoControls.settingsButton' => 'Impostazioni video',
|
||||
'videoControls.audioTrackButton' => 'Tracce audio',
|
||||
'videoControls.subtitlesButton' => 'Sottotitoli',
|
||||
'videoControls.tracksButton' => 'Audio e sottotitoli',
|
||||
'videoControls.chaptersButton' => 'Capitoli',
|
||||
'videoControls.versionsButton' => 'Versioni video',
|
||||
'videoControls.pipButton' => 'Modalità Picture-in-Picture',
|
||||
'videoControls.aspectRatioButton' => 'Proporzioni',
|
||||
'videoControls.ambientLighting' => 'Illuminazione ambientale',
|
||||
'videoControls.ambientLightingOn' => 'Attiva illuminazione ambientale',
|
||||
'videoControls.ambientLightingOff' => 'Disattiva illuminazione ambientale',
|
||||
'videoControls.fullscreenButton' => 'Attiva schermo intero',
|
||||
'videoControls.exitFullscreenButton' => 'Esci da schermo intero',
|
||||
'videoControls.alwaysOnTopButton' => 'Sempre in primo piano',
|
||||
'videoControls.rotationLockButton' => 'Blocco rotazione',
|
||||
'videoControls.lockScreen' => 'Blocca schermo',
|
||||
'videoControls.unlockScreen' => 'Sblocca schermo',
|
||||
'videoControls.screenLockButton' => 'Blocco schermo',
|
||||
'videoControls.longPressToUnlock' => 'Premi a lungo per sbloccare',
|
||||
'videoControls.timelineSlider' => 'Timeline video',
|
||||
'videoControls.volumeSlider' => 'Livello volume',
|
||||
'videoControls.endsAt' => ({required Object time}) => 'Finisce alle ${time}',
|
||||
@@ -1710,11 +1694,8 @@ extension on TranslationsIt {
|
||||
'discover.overview' => 'Panoramica',
|
||||
'discover.cast' => 'Attori',
|
||||
'discover.extras' => 'Trailer ed Extra',
|
||||
'discover.seasons' => 'Stagioni',
|
||||
'discover.studio' => 'Studio',
|
||||
'discover.rating' => 'Classificazione',
|
||||
'discover.episodeCount' => ({required Object count}) => '${count} episodi',
|
||||
'discover.watchedProgress' => ({required Object watched, required Object total}) => '${watched}/${total} guardati',
|
||||
'discover.movie' => 'Film',
|
||||
'discover.tvShow' => 'Serie TV',
|
||||
'discover.minutesLeft' => ({required Object minutes}) => '${minutes} minuti rimanenti',
|
||||
@@ -1769,6 +1750,7 @@ extension on TranslationsIt {
|
||||
'libraries.tabs.browse' => 'Esplora',
|
||||
'libraries.tabs.collections' => 'Raccolte',
|
||||
'libraries.tabs.playlists' => 'Playlist',
|
||||
'libraries.groupings.title' => 'Raggruppamento',
|
||||
'libraries.groupings.all' => 'Tutti',
|
||||
'libraries.groupings.movies' => 'Film',
|
||||
'libraries.groupings.shows' => 'Serie TV',
|
||||
@@ -1791,8 +1773,6 @@ extension on TranslationsIt {
|
||||
'logs.clearLogs' => 'Cancella log',
|
||||
'logs.copyLogs' => 'Copia log',
|
||||
'logs.uploadLogs' => 'Carica log',
|
||||
'logs.error' => 'Errore:',
|
||||
'logs.stackTrace' => 'Traccia dello stack:',
|
||||
'licenses.relatedPackages' => 'Pacchetti correlati',
|
||||
'licenses.license' => 'Licenza',
|
||||
'licenses.licenseNumber' => ({required Object number}) => 'Licenza ${number}',
|
||||
@@ -1801,23 +1781,13 @@ extension on TranslationsIt {
|
||||
'navigation.downloads' => 'Download',
|
||||
'navigation.liveTv' => 'TV Live',
|
||||
'liveTv.title' => 'TV in diretta',
|
||||
'liveTv.channels' => 'Canali',
|
||||
'liveTv.guide' => 'Guida',
|
||||
'liveTv.noChannels' => 'Nessun canale disponibile',
|
||||
'liveTv.noDvr' => 'Nessun DVR configurato su nessun server',
|
||||
'liveTv.tuneFailed' => 'Impossibile sintonizzare il canale',
|
||||
'liveTv.loading' => 'Caricamento canali...',
|
||||
'liveTv.nowPlaying' => 'In riproduzione',
|
||||
'liveTv.noPrograms' => 'Nessun dato di programma disponibile',
|
||||
'liveTv.channelNumber' => ({required Object number}) => 'Canale ${number}',
|
||||
'liveTv.live' => 'IN DIRETTA',
|
||||
'liveTv.hd' => 'HD',
|
||||
'liveTv.premiere' => 'NUOVO',
|
||||
'liveTv.reloadGuide' => 'Ricarica guida',
|
||||
'liveTv.allChannels' => 'Tutti i canali',
|
||||
'liveTv.now' => 'Ora',
|
||||
_ => null,
|
||||
} ?? switch (path) {
|
||||
'liveTv.today' => 'Oggi',
|
||||
'liveTv.midnight' => 'Mezzanotte',
|
||||
'liveTv.overnight' => 'Notte',
|
||||
@@ -1827,6 +1797,9 @@ extension on TranslationsIt {
|
||||
'liveTv.lateNight' => 'Notte tarda',
|
||||
'liveTv.whatsOn' => 'In onda ora',
|
||||
'liveTv.watchChannel' => 'Guarda canale',
|
||||
_ => null,
|
||||
} ?? switch (path) {
|
||||
'liveTv.favorites' => 'Preferiti',
|
||||
'downloads.title' => 'Download',
|
||||
'downloads.manage' => 'Gestisci',
|
||||
'downloads.tvShows' => 'Serie TV',
|
||||
@@ -2049,7 +2022,6 @@ extension on TranslationsIt {
|
||||
'externalPlayer.playerCommand' => 'Comando',
|
||||
'externalPlayer.playerPackage' => 'Nome pacchetto',
|
||||
'externalPlayer.playerUrlScheme' => 'Schema URL',
|
||||
'externalPlayer.customPlayer' => 'Lettore personalizzato',
|
||||
'externalPlayer.off' => 'Disattivato',
|
||||
'externalPlayer.launchFailed' => 'Impossibile aprire il lettore esterno',
|
||||
'externalPlayer.appNotInstalled' => ({required Object name}) => '${name} non è installato',
|
||||
|
||||
+32
-60
@@ -45,7 +45,6 @@ class TranslationsJa with BaseTranslations<AppLocale, Translations> implements T
|
||||
@override late final _TranslationsSettingsJa settings = _TranslationsSettingsJa._(_root);
|
||||
@override late final _TranslationsSearchJa search = _TranslationsSearchJa._(_root);
|
||||
@override late final _TranslationsHotkeysJa hotkeys = _TranslationsHotkeysJa._(_root);
|
||||
@override late final _TranslationsPinEntryJa pinEntry = _TranslationsPinEntryJa._(_root);
|
||||
@override late final _TranslationsFileInfoJa fileInfo = _TranslationsFileInfoJa._(_root);
|
||||
@override late final _TranslationsMediaMenuJa mediaMenu = _TranslationsMediaMenuJa._(_root);
|
||||
@override late final _TranslationsAccessibilityJa accessibility = _TranslationsAccessibilityJa._(_root);
|
||||
@@ -128,7 +127,6 @@ class _TranslationsCommonJa implements TranslationsCommonEn {
|
||||
@override String get shuffle => 'シャッフル';
|
||||
@override String get addTo => '追加...';
|
||||
@override String get createNew => '新規作成';
|
||||
@override String get remove => '削除';
|
||||
@override String get paste => '貼り付け';
|
||||
@override String get connect => '接続';
|
||||
@override String get disconnect => '切断';
|
||||
@@ -142,7 +140,6 @@ class _TranslationsCommonJa implements TranslationsCommonEn {
|
||||
@override String get settings => '設定';
|
||||
@override String get mute => 'ミュート';
|
||||
@override String get ok => 'OK';
|
||||
@override String get loading => '読み込み中...';
|
||||
@override String get reconnect => '再接続';
|
||||
@override String get exitConfirmTitle => 'アプリを終了しますか?';
|
||||
@override String get exitConfirmMessage => '終了してもよろしいですか?';
|
||||
@@ -256,6 +253,8 @@ class _TranslationsSettingsJa implements TranslationsSettingsEn {
|
||||
@override String get subtitleStylingDescription => '字幕の外観をカスタマイズ';
|
||||
@override String get smallSkipDuration => '短いスキップ時間';
|
||||
@override String get largeSkipDuration => '長いスキップ時間';
|
||||
@override String get rewindOnResume => '再開時に巻き戻し';
|
||||
@override String get rewindOnResumeDescription => '再生再開時にこの秒数分巻き戻す';
|
||||
@override String secondsUnit({required Object seconds}) => '${seconds}秒';
|
||||
@override String get defaultSleepTimer => 'デフォルトスリープタイマー';
|
||||
@override String minutesUnit({required Object minutes}) => '${minutes}分';
|
||||
@@ -297,6 +296,11 @@ class _TranslationsSettingsJa implements TranslationsSettingsEn {
|
||||
@override String get autoSkipCreditsDescription => 'クレジットを自動的にスキップして次のエピソードを再生';
|
||||
@override String get autoSkipDelay => '自動スキップの遅延';
|
||||
@override String autoSkipDelayDescription({required Object seconds}) => '自動スキップまで${seconds}秒待機';
|
||||
@override String get introPattern => 'イントロマーカーパターン';
|
||||
@override String get introPatternDescription => 'チャプタータイトルのイントロマーカーに一致する正規表現パターン';
|
||||
@override String get creditsPattern => 'クレジットマーカーパターン';
|
||||
@override String get creditsPatternDescription => 'チャプタータイトルのクレジットマーカーに一致する正規表現パターン';
|
||||
@override String get invalidRegex => '無効な正規表現';
|
||||
@override String get downloads => 'ダウンロード';
|
||||
@override String get downloadLocationDescription => 'ダウンロードコンテンツの保存場所を選択';
|
||||
@override String get downloadLocationDefault => 'デフォルト(アプリストレージ)';
|
||||
@@ -328,6 +332,8 @@ class _TranslationsSettingsJa implements TranslationsSettingsEn {
|
||||
@override String get confirmExitOnBackDescription => '戻るボタンでアプリを終了する際に確認ダイアログを表示';
|
||||
@override String get showNavBarLabels => 'ナビゲーションバーラベルを表示';
|
||||
@override String get showNavBarLabelsDescription => 'ナビゲーションバーアイコンの下にテキストラベルを表示';
|
||||
@override String get liveTvDefaultFavorites => 'お気に入りチャンネルをデフォルトに';
|
||||
@override String get liveTvDefaultFavoritesDescription => 'ライブTV を開いたときにお気に入りチャンネルのみ表示';
|
||||
}
|
||||
|
||||
// Path: search
|
||||
@@ -355,18 +361,6 @@ class _TranslationsHotkeysJa implements TranslationsHotkeysEn {
|
||||
@override late final _TranslationsHotkeysActionsJa actions = _TranslationsHotkeysActionsJa._(_root);
|
||||
}
|
||||
|
||||
// Path: pinEntry
|
||||
class _TranslationsPinEntryJa implements TranslationsPinEntryEn {
|
||||
_TranslationsPinEntryJa._(this._root);
|
||||
|
||||
final TranslationsJa _root; // ignore: unused_field
|
||||
|
||||
// Translations
|
||||
@override String get enterPin => 'PINを入力';
|
||||
@override String get showPin => 'PINを表示';
|
||||
@override String get hidePin => 'PINを非表示';
|
||||
}
|
||||
|
||||
// Path: fileInfo
|
||||
class _TranslationsFileInfoJa implements TranslationsFileInfoEn {
|
||||
_TranslationsFileInfoJa._(this._root);
|
||||
@@ -473,7 +467,6 @@ class _TranslationsVideoControlsJa implements TranslationsVideoControlsEn {
|
||||
@override String get unlockRotation => '回転のロックを解除';
|
||||
@override String get timerActive => 'タイマー動作中';
|
||||
@override String playbackWillPauseIn({required Object duration}) => '再生は${duration}後に一時停止します';
|
||||
@override String get sleepTimerCompleted => 'スリープタイマー完了 - 再生を一時停止しました';
|
||||
@override String get stillWatching => 'まだ視聴中ですか?';
|
||||
@override String pausingIn({required Object seconds}) => '${seconds}秒後に一時停止';
|
||||
@override String get continueWatching => '続ける';
|
||||
@@ -490,20 +483,20 @@ class _TranslationsVideoControlsJa implements TranslationsVideoControlsEn {
|
||||
@override String get muteButton => 'ミュート';
|
||||
@override String get unmuteButton => 'ミュート解除';
|
||||
@override String get settingsButton => '動画設定';
|
||||
@override String get audioTrackButton => '音声トラック';
|
||||
@override String get subtitlesButton => '字幕';
|
||||
@override String get tracksButton => '音声と字幕';
|
||||
@override String get chaptersButton => 'チャプター';
|
||||
@override String get versionsButton => '動画バージョン';
|
||||
@override String get pipButton => 'ピクチャーインピクチャーモード';
|
||||
@override String get aspectRatioButton => 'アスペクト比';
|
||||
@override String get ambientLighting => 'アンビエントライティング';
|
||||
@override String get ambientLightingOn => 'アンビエントライティングを有効化';
|
||||
@override String get ambientLightingOff => 'アンビエントライティングを無効化';
|
||||
@override String get fullscreenButton => 'フルスクリーンに入る';
|
||||
@override String get exitFullscreenButton => 'フルスクリーンを終了';
|
||||
@override String get alwaysOnTopButton => '常に前面に表示';
|
||||
@override String get rotationLockButton => '回転ロック';
|
||||
@override String get lockScreen => '画面をロック';
|
||||
@override String get unlockScreen => '画面のロックを解除';
|
||||
@override String get screenLockButton => '画面ロック';
|
||||
@override String get longPressToUnlock => '長押しでロック解除';
|
||||
@override String get timelineSlider => '動画タイムライン';
|
||||
@override String get volumeSlider => '音量レベル';
|
||||
@override String endsAt({required Object time}) => '${time}に終了';
|
||||
@@ -637,11 +630,8 @@ class _TranslationsDiscoverJa implements TranslationsDiscoverEn {
|
||||
@override String get overview => 'あらすじ';
|
||||
@override String get cast => 'キャスト';
|
||||
@override String get extras => '予告編とエクストラ';
|
||||
@override String get seasons => 'シーズン';
|
||||
@override String get studio => 'スタジオ';
|
||||
@override String get rating => '評価';
|
||||
@override String episodeCount({required Object count}) => '${count}エピソード';
|
||||
@override String watchedProgress({required Object watched, required Object total}) => '${watched}/${total}視聴済み';
|
||||
@override String get movie => '映画';
|
||||
@override String get tvShow => 'テレビ番組';
|
||||
@override String minutesLeft({required Object minutes}) => '残り${minutes}分';
|
||||
@@ -764,8 +754,6 @@ class _TranslationsLogsJa implements TranslationsLogsEn {
|
||||
@override String get clearLogs => 'ログをクリア';
|
||||
@override String get copyLogs => 'ログをコピー';
|
||||
@override String get uploadLogs => 'ログをアップロード';
|
||||
@override String get error => 'エラー:';
|
||||
@override String get stackTrace => 'スタックトレース:';
|
||||
}
|
||||
|
||||
// Path: licenses
|
||||
@@ -801,20 +789,12 @@ class _TranslationsLiveTvJa implements TranslationsLiveTvEn {
|
||||
|
||||
// Translations
|
||||
@override String get title => 'ライブTV';
|
||||
@override String get channels => 'チャンネル';
|
||||
@override String get guide => '番組表';
|
||||
@override String get noChannels => 'チャンネルがありません';
|
||||
@override String get noDvr => 'どのサーバーにもDVRが設定されていません';
|
||||
@override String get tuneFailed => 'チャンネルのチューニングに失敗しました';
|
||||
@override String get loading => 'チャンネルを読み込み中...';
|
||||
@override String get nowPlaying => '現在放送中';
|
||||
@override String get noPrograms => '番組データがありません';
|
||||
@override String channelNumber({required Object number}) => 'Ch. ${number}';
|
||||
@override String get live => 'ライブ';
|
||||
@override String get hd => 'HD';
|
||||
@override String get premiere => '新着';
|
||||
@override String get reloadGuide => '番組表を再読込';
|
||||
@override String get allChannels => 'すべてのチャンネル';
|
||||
@override String get now => '現在';
|
||||
@override String get today => '今日';
|
||||
@override String get midnight => '深夜';
|
||||
@@ -825,6 +805,7 @@ class _TranslationsLiveTvJa implements TranslationsLiveTvEn {
|
||||
@override String get lateNight => '深夜';
|
||||
@override String get whatsOn => '放送中';
|
||||
@override String get watchChannel => 'チャンネルを視聴';
|
||||
@override String get favorites => 'お気に入り';
|
||||
}
|
||||
|
||||
// Path: collections
|
||||
@@ -1053,7 +1034,6 @@ class _TranslationsExternalPlayerJa implements TranslationsExternalPlayerEn {
|
||||
@override String get playerCommand => 'コマンド';
|
||||
@override String get playerPackage => 'パッケージ名';
|
||||
@override String get playerUrlScheme => 'URLスキーム';
|
||||
@override String get customPlayer => 'カスタムプレーヤー';
|
||||
@override String get off => 'オフ';
|
||||
@override String get launchFailed => '外部プレーヤーの起動に失敗しました';
|
||||
@override String appNotInstalled({required Object name}) => '${name}がインストールされていません';
|
||||
@@ -1192,6 +1172,7 @@ class _TranslationsLibrariesGroupingsJa implements TranslationsLibrariesGrouping
|
||||
final TranslationsJa _root; // ignore: unused_field
|
||||
|
||||
// Translations
|
||||
@override String get title => 'グループ';
|
||||
@override String get all => 'すべて';
|
||||
@override String get movies => '映画';
|
||||
@override String get shows => 'テレビ番組';
|
||||
@@ -1330,7 +1311,6 @@ extension on TranslationsJa {
|
||||
'common.shuffle' => 'シャッフル',
|
||||
'common.addTo' => '追加...',
|
||||
'common.createNew' => '新規作成',
|
||||
'common.remove' => '削除',
|
||||
'common.paste' => '貼り付け',
|
||||
'common.connect' => '接続',
|
||||
'common.disconnect' => '切断',
|
||||
@@ -1344,7 +1324,6 @@ extension on TranslationsJa {
|
||||
'common.settings' => '設定',
|
||||
'common.mute' => 'ミュート',
|
||||
'common.ok' => 'OK',
|
||||
'common.loading' => '読み込み中...',
|
||||
'common.reconnect' => '再接続',
|
||||
'common.exitConfirmTitle' => 'アプリを終了しますか?',
|
||||
'common.exitConfirmMessage' => '終了してもよろしいですか?',
|
||||
@@ -1431,6 +1410,8 @@ extension on TranslationsJa {
|
||||
'settings.subtitleStylingDescription' => '字幕の外観をカスタマイズ',
|
||||
'settings.smallSkipDuration' => '短いスキップ時間',
|
||||
'settings.largeSkipDuration' => '長いスキップ時間',
|
||||
'settings.rewindOnResume' => '再開時に巻き戻し',
|
||||
'settings.rewindOnResumeDescription' => '再生再開時にこの秒数分巻き戻す',
|
||||
'settings.secondsUnit' => ({required Object seconds}) => '${seconds}秒',
|
||||
'settings.defaultSleepTimer' => 'デフォルトスリープタイマー',
|
||||
'settings.minutesUnit' => ({required Object minutes}) => '${minutes}分',
|
||||
@@ -1472,6 +1453,11 @@ extension on TranslationsJa {
|
||||
'settings.autoSkipCreditsDescription' => 'クレジットを自動的にスキップして次のエピソードを再生',
|
||||
'settings.autoSkipDelay' => '自動スキップの遅延',
|
||||
'settings.autoSkipDelayDescription' => ({required Object seconds}) => '自動スキップまで${seconds}秒待機',
|
||||
'settings.introPattern' => 'イントロマーカーパターン',
|
||||
'settings.introPatternDescription' => 'チャプタータイトルのイントロマーカーに一致する正規表現パターン',
|
||||
'settings.creditsPattern' => 'クレジットマーカーパターン',
|
||||
'settings.creditsPatternDescription' => 'チャプタータイトルのクレジットマーカーに一致する正規表現パターン',
|
||||
'settings.invalidRegex' => '無効な正規表現',
|
||||
'settings.downloads' => 'ダウンロード',
|
||||
'settings.downloadLocationDescription' => 'ダウンロードコンテンツの保存場所を選択',
|
||||
'settings.downloadLocationDefault' => 'デフォルト(アプリストレージ)',
|
||||
@@ -1503,6 +1489,8 @@ extension on TranslationsJa {
|
||||
'settings.confirmExitOnBackDescription' => '戻るボタンでアプリを終了する際に確認ダイアログを表示',
|
||||
'settings.showNavBarLabels' => 'ナビゲーションバーラベルを表示',
|
||||
'settings.showNavBarLabelsDescription' => 'ナビゲーションバーアイコンの下にテキストラベルを表示',
|
||||
'settings.liveTvDefaultFavorites' => 'お気に入りチャンネルをデフォルトに',
|
||||
'settings.liveTvDefaultFavoritesDescription' => 'ライブTV を開いたときにお気に入りチャンネルのみ表示',
|
||||
'search.hint' => '映画、番組、音楽を検索...',
|
||||
'search.tryDifferentTerm' => '別の検索語をお試しください',
|
||||
'search.searchYourMedia' => 'メディアを検索',
|
||||
@@ -1528,9 +1516,6 @@ extension on TranslationsJa {
|
||||
'hotkeys.actions.subSeekPrev' => '前の字幕にシーク',
|
||||
'hotkeys.actions.shaderToggle' => 'シェーダー切替',
|
||||
'hotkeys.actions.skipMarker' => 'イントロ/クレジットをスキップ',
|
||||
'pinEntry.enterPin' => 'PINを入力',
|
||||
'pinEntry.showPin' => 'PINを表示',
|
||||
'pinEntry.hidePin' => 'PINを非表示',
|
||||
'fileInfo.title' => 'ファイル情報',
|
||||
'fileInfo.video' => '映像',
|
||||
'fileInfo.audio' => '音声',
|
||||
@@ -1594,7 +1579,6 @@ extension on TranslationsJa {
|
||||
'videoControls.unlockRotation' => '回転のロックを解除',
|
||||
'videoControls.timerActive' => 'タイマー動作中',
|
||||
'videoControls.playbackWillPauseIn' => ({required Object duration}) => '再生は${duration}後に一時停止します',
|
||||
'videoControls.sleepTimerCompleted' => 'スリープタイマー完了 - 再生を一時停止しました',
|
||||
'videoControls.stillWatching' => 'まだ視聴中ですか?',
|
||||
'videoControls.pausingIn' => ({required Object seconds}) => '${seconds}秒後に一時停止',
|
||||
'videoControls.continueWatching' => '続ける',
|
||||
@@ -1611,20 +1595,20 @@ extension on TranslationsJa {
|
||||
'videoControls.muteButton' => 'ミュート',
|
||||
'videoControls.unmuteButton' => 'ミュート解除',
|
||||
'videoControls.settingsButton' => '動画設定',
|
||||
'videoControls.audioTrackButton' => '音声トラック',
|
||||
'videoControls.subtitlesButton' => '字幕',
|
||||
'videoControls.tracksButton' => '音声と字幕',
|
||||
'videoControls.chaptersButton' => 'チャプター',
|
||||
'videoControls.versionsButton' => '動画バージョン',
|
||||
'videoControls.pipButton' => 'ピクチャーインピクチャーモード',
|
||||
'videoControls.aspectRatioButton' => 'アスペクト比',
|
||||
'videoControls.ambientLighting' => 'アンビエントライティング',
|
||||
'videoControls.ambientLightingOn' => 'アンビエントライティングを有効化',
|
||||
'videoControls.ambientLightingOff' => 'アンビエントライティングを無効化',
|
||||
'videoControls.fullscreenButton' => 'フルスクリーンに入る',
|
||||
'videoControls.exitFullscreenButton' => 'フルスクリーンを終了',
|
||||
'videoControls.alwaysOnTopButton' => '常に前面に表示',
|
||||
'videoControls.rotationLockButton' => '回転ロック',
|
||||
'videoControls.lockScreen' => '画面をロック',
|
||||
'videoControls.unlockScreen' => '画面のロックを解除',
|
||||
'videoControls.screenLockButton' => '画面ロック',
|
||||
'videoControls.longPressToUnlock' => '長押しでロック解除',
|
||||
'videoControls.timelineSlider' => '動画タイムライン',
|
||||
'videoControls.volumeSlider' => '音量レベル',
|
||||
'videoControls.endsAt' => ({required Object time}) => '${time}に終了',
|
||||
@@ -1710,11 +1694,8 @@ extension on TranslationsJa {
|
||||
'discover.overview' => 'あらすじ',
|
||||
'discover.cast' => 'キャスト',
|
||||
'discover.extras' => '予告編とエクストラ',
|
||||
'discover.seasons' => 'シーズン',
|
||||
'discover.studio' => 'スタジオ',
|
||||
'discover.rating' => '評価',
|
||||
'discover.episodeCount' => ({required Object count}) => '${count}エピソード',
|
||||
'discover.watchedProgress' => ({required Object watched, required Object total}) => '${watched}/${total}視聴済み',
|
||||
'discover.movie' => '映画',
|
||||
'discover.tvShow' => 'テレビ番組',
|
||||
'discover.minutesLeft' => ({required Object minutes}) => '残り${minutes}分',
|
||||
@@ -1769,6 +1750,7 @@ extension on TranslationsJa {
|
||||
'libraries.tabs.browse' => 'ブラウズ',
|
||||
'libraries.tabs.collections' => 'コレクション',
|
||||
'libraries.tabs.playlists' => 'プレイリスト',
|
||||
'libraries.groupings.title' => 'グループ',
|
||||
'libraries.groupings.all' => 'すべて',
|
||||
'libraries.groupings.movies' => '映画',
|
||||
'libraries.groupings.shows' => 'テレビ番組',
|
||||
@@ -1791,8 +1773,6 @@ extension on TranslationsJa {
|
||||
'logs.clearLogs' => 'ログをクリア',
|
||||
'logs.copyLogs' => 'ログをコピー',
|
||||
'logs.uploadLogs' => 'ログをアップロード',
|
||||
'logs.error' => 'エラー:',
|
||||
'logs.stackTrace' => 'スタックトレース:',
|
||||
'licenses.relatedPackages' => '関連パッケージ',
|
||||
'licenses.license' => 'ライセンス',
|
||||
'licenses.licenseNumber' => ({required Object number}) => 'ライセンス ${number}',
|
||||
@@ -1801,23 +1781,13 @@ extension on TranslationsJa {
|
||||
'navigation.downloads' => 'ダウンロード',
|
||||
'navigation.liveTv' => 'ライブTV',
|
||||
'liveTv.title' => 'ライブTV',
|
||||
'liveTv.channels' => 'チャンネル',
|
||||
'liveTv.guide' => '番組表',
|
||||
'liveTv.noChannels' => 'チャンネルがありません',
|
||||
'liveTv.noDvr' => 'どのサーバーにもDVRが設定されていません',
|
||||
'liveTv.tuneFailed' => 'チャンネルのチューニングに失敗しました',
|
||||
'liveTv.loading' => 'チャンネルを読み込み中...',
|
||||
'liveTv.nowPlaying' => '現在放送中',
|
||||
'liveTv.noPrograms' => '番組データがありません',
|
||||
'liveTv.channelNumber' => ({required Object number}) => 'Ch. ${number}',
|
||||
'liveTv.live' => 'ライブ',
|
||||
'liveTv.hd' => 'HD',
|
||||
'liveTv.premiere' => '新着',
|
||||
'liveTv.reloadGuide' => '番組表を再読込',
|
||||
'liveTv.allChannels' => 'すべてのチャンネル',
|
||||
'liveTv.now' => '現在',
|
||||
_ => null,
|
||||
} ?? switch (path) {
|
||||
'liveTv.today' => '今日',
|
||||
'liveTv.midnight' => '深夜',
|
||||
'liveTv.overnight' => '深夜',
|
||||
@@ -1827,6 +1797,9 @@ extension on TranslationsJa {
|
||||
'liveTv.lateNight' => '深夜',
|
||||
'liveTv.whatsOn' => '放送中',
|
||||
'liveTv.watchChannel' => 'チャンネルを視聴',
|
||||
_ => null,
|
||||
} ?? switch (path) {
|
||||
'liveTv.favorites' => 'お気に入り',
|
||||
'collections.title' => 'コレクション',
|
||||
'collections.collection' => 'コレクション',
|
||||
'collections.empty' => 'コレクションは空です',
|
||||
@@ -2049,7 +2022,6 @@ extension on TranslationsJa {
|
||||
'externalPlayer.playerCommand' => 'コマンド',
|
||||
'externalPlayer.playerPackage' => 'パッケージ名',
|
||||
'externalPlayer.playerUrlScheme' => 'URLスキーム',
|
||||
'externalPlayer.customPlayer' => 'カスタムプレーヤー',
|
||||
'externalPlayer.off' => 'オフ',
|
||||
'externalPlayer.launchFailed' => '外部プレーヤーの起動に失敗しました',
|
||||
'externalPlayer.appNotInstalled' => ({required Object name}) => '${name}がインストールされていません',
|
||||
|
||||
+32
-60
@@ -45,7 +45,6 @@ class TranslationsKo with BaseTranslations<AppLocale, Translations> implements T
|
||||
@override late final _TranslationsSettingsKo settings = _TranslationsSettingsKo._(_root);
|
||||
@override late final _TranslationsSearchKo search = _TranslationsSearchKo._(_root);
|
||||
@override late final _TranslationsHotkeysKo hotkeys = _TranslationsHotkeysKo._(_root);
|
||||
@override late final _TranslationsPinEntryKo pinEntry = _TranslationsPinEntryKo._(_root);
|
||||
@override late final _TranslationsFileInfoKo fileInfo = _TranslationsFileInfoKo._(_root);
|
||||
@override late final _TranslationsMediaMenuKo mediaMenu = _TranslationsMediaMenuKo._(_root);
|
||||
@override late final _TranslationsAccessibilityKo accessibility = _TranslationsAccessibilityKo._(_root);
|
||||
@@ -128,7 +127,6 @@ class _TranslationsCommonKo implements TranslationsCommonEn {
|
||||
@override String get shuffle => '무작위 재생';
|
||||
@override String get addTo => '추가하기...';
|
||||
@override String get createNew => '새로 만들기';
|
||||
@override String get remove => '삭제';
|
||||
@override String get paste => '붙여넣기';
|
||||
@override String get connect => '연결';
|
||||
@override String get disconnect => '연결 해제';
|
||||
@@ -142,7 +140,6 @@ class _TranslationsCommonKo implements TranslationsCommonEn {
|
||||
@override String get settings => '설정';
|
||||
@override String get mute => '음소거';
|
||||
@override String get ok => '확인';
|
||||
@override String get loading => '로딩 중...';
|
||||
@override String get reconnect => '다시 연결';
|
||||
@override String get exitConfirmTitle => '앱을 종료하시겠습니까?';
|
||||
@override String get exitConfirmMessage => '정말 종료하시겠습니까?';
|
||||
@@ -256,6 +253,8 @@ class _TranslationsSettingsKo implements TranslationsSettingsEn {
|
||||
@override String get subtitleStylingDescription => '자막의 외형을 사용자 설정';
|
||||
@override String get smallSkipDuration => '짧은 건너뛰기 시간';
|
||||
@override String get largeSkipDuration => '긴 건너뛰기 시간';
|
||||
@override String get rewindOnResume => '재개 시 되감기';
|
||||
@override String get rewindOnResumeDescription => '재생 재개 시 이 시간만큼 되감기';
|
||||
@override String secondsUnit({required Object seconds}) => '${seconds}초';
|
||||
@override String get defaultSleepTimer => '기본 취침 타이머';
|
||||
@override String minutesUnit({required Object minutes}) => '${minutes}분';
|
||||
@@ -297,6 +296,11 @@ class _TranslationsSettingsKo implements TranslationsSettingsEn {
|
||||
@override String get autoSkipCreditsDescription => '엔딩 크레딧 자동 건너뛰기 후 다음 에피소드 재생';
|
||||
@override String get autoSkipDelay => '자동 건너뛰기 지연';
|
||||
@override String autoSkipDelayDescription({required Object seconds}) => '자동 건너뛰기 전 ${seconds} 초 대기';
|
||||
@override String get introPattern => '인트로 마커 패턴';
|
||||
@override String get introPatternDescription => '챕터 제목에서 인트로 마커를 인식하는 정규식 패턴';
|
||||
@override String get creditsPattern => '크레딧 마커 패턴';
|
||||
@override String get creditsPatternDescription => '챕터 제목에서 크레딧 마커를 인식하는 정규식 패턴';
|
||||
@override String get invalidRegex => '잘못된 정규식';
|
||||
@override String get downloads => '다운로드';
|
||||
@override String get downloadLocationDescription => '다운로드 콘텐츠 저장 위치 선택';
|
||||
@override String get downloadLocationDefault => '기본값 (앱 저장소)';
|
||||
@@ -328,6 +332,8 @@ class _TranslationsSettingsKo implements TranslationsSettingsEn {
|
||||
@override String get confirmExitOnBackDescription => '뒤로 버튼을 눌러 앱을 종료할 때 확인 대화상자를 표시합니다';
|
||||
@override String get showNavBarLabels => '내비게이션 바 라벨 표시';
|
||||
@override String get showNavBarLabelsDescription => '내비게이션 바 아이콘 아래에 텍스트 라벨을 표시합니다';
|
||||
@override String get liveTvDefaultFavorites => '즐겨찾기 채널 기본 설정';
|
||||
@override String get liveTvDefaultFavoritesDescription => '라이브 TV를 열 때 즐겨찾기 채널만 표시';
|
||||
}
|
||||
|
||||
// Path: search
|
||||
@@ -355,18 +361,6 @@ class _TranslationsHotkeysKo implements TranslationsHotkeysEn {
|
||||
@override late final _TranslationsHotkeysActionsKo actions = _TranslationsHotkeysActionsKo._(_root);
|
||||
}
|
||||
|
||||
// Path: pinEntry
|
||||
class _TranslationsPinEntryKo implements TranslationsPinEntryEn {
|
||||
_TranslationsPinEntryKo._(this._root);
|
||||
|
||||
final TranslationsKo _root; // ignore: unused_field
|
||||
|
||||
// Translations
|
||||
@override String get enterPin => 'PIN 입력';
|
||||
@override String get showPin => 'PIN 표시';
|
||||
@override String get hidePin => 'PIN 숨기기';
|
||||
}
|
||||
|
||||
// Path: fileInfo
|
||||
class _TranslationsFileInfoKo implements TranslationsFileInfoEn {
|
||||
_TranslationsFileInfoKo._(this._root);
|
||||
@@ -473,7 +467,6 @@ class _TranslationsVideoControlsKo implements TranslationsVideoControlsEn {
|
||||
@override String get unlockRotation => '회전 잠금 해제';
|
||||
@override String get timerActive => '타이머 활성화됨';
|
||||
@override String playbackWillPauseIn({required Object duration}) => '재생이 ${duration} 후에 일시 중지 됩니다';
|
||||
@override String get sleepTimerCompleted => '수면 타이머 완료됨 - 재생이 일시 중지되었습니다';
|
||||
@override String get stillWatching => '아직 시청 중이신가요?';
|
||||
@override String pausingIn({required Object seconds}) => '${seconds}초 후 일시 정지';
|
||||
@override String get continueWatching => '계속';
|
||||
@@ -490,20 +483,20 @@ class _TranslationsVideoControlsKo implements TranslationsVideoControlsEn {
|
||||
@override String get muteButton => '음소거';
|
||||
@override String get unmuteButton => '음소거 해제';
|
||||
@override String get settingsButton => '동영상 설정';
|
||||
@override String get audioTrackButton => '음원 트랙';
|
||||
@override String get subtitlesButton => '자막';
|
||||
@override String get tracksButton => '오디오 및 자막';
|
||||
@override String get chaptersButton => '챕터';
|
||||
@override String get versionsButton => '동영상 버전';
|
||||
@override String get pipButton => '픽처 인 픽처 모드';
|
||||
@override String get aspectRatioButton => '화면비율';
|
||||
@override String get ambientLighting => '주변 조명';
|
||||
@override String get ambientLightingOn => '주변 조명 켜기';
|
||||
@override String get ambientLightingOff => '주변 조명 끄기';
|
||||
@override String get fullscreenButton => '전체화면';
|
||||
@override String get exitFullscreenButton => '전체화면 종료';
|
||||
@override String get alwaysOnTopButton => '창 최상위 고정';
|
||||
@override String get rotationLockButton => '회전 잠금';
|
||||
@override String get lockScreen => '화면 잠금';
|
||||
@override String get unlockScreen => '화면 잠금 해제';
|
||||
@override String get screenLockButton => '화면 잠금';
|
||||
@override String get longPressToUnlock => '길게 눌러 잠금 해제';
|
||||
@override String get timelineSlider => '타임라인';
|
||||
@override String get volumeSlider => '볼륨 조절';
|
||||
@override String endsAt({required Object time}) => '${time}에 종료';
|
||||
@@ -637,11 +630,8 @@ class _TranslationsDiscoverKo implements TranslationsDiscoverEn {
|
||||
@override String get overview => '개요';
|
||||
@override String get cast => '출연진';
|
||||
@override String get extras => '예고편 및 부가영상';
|
||||
@override String get seasons => '시즌 수';
|
||||
@override String get studio => '제작사';
|
||||
@override String get rating => '연령 등급';
|
||||
@override String episodeCount({required Object count}) => '${count} 편';
|
||||
@override String watchedProgress({required Object watched, required Object total}) => '${watched}/${total} 편 시청 완료';
|
||||
@override String get movie => '영화';
|
||||
@override String get tvShow => 'TV 시리즈';
|
||||
@override String minutesLeft({required Object minutes}) => '${minutes}분 남음';
|
||||
@@ -764,8 +754,6 @@ class _TranslationsLogsKo implements TranslationsLogsEn {
|
||||
@override String get clearLogs => '로그 지우기';
|
||||
@override String get copyLogs => '로그 복사';
|
||||
@override String get uploadLogs => '로그 업로드';
|
||||
@override String get error => '오류:';
|
||||
@override String get stackTrace => '스택 추적 (Stack Trace):';
|
||||
}
|
||||
|
||||
// Path: licenses
|
||||
@@ -801,20 +789,12 @@ class _TranslationsLiveTvKo implements TranslationsLiveTvEn {
|
||||
|
||||
// Translations
|
||||
@override String get title => '실시간 TV';
|
||||
@override String get channels => '채널';
|
||||
@override String get guide => '편성표';
|
||||
@override String get noChannels => '사용 가능한 채널이 없습니다';
|
||||
@override String get noDvr => '서버에 DVR이 구성되어 있지 않습니다';
|
||||
@override String get tuneFailed => '채널 튜닝에 실패했습니다';
|
||||
@override String get loading => '채널 로딩 중...';
|
||||
@override String get nowPlaying => '현재 재생 중';
|
||||
@override String get noPrograms => '프로그램 데이터가 없습니다';
|
||||
@override String channelNumber({required Object number}) => '채널 ${number}';
|
||||
@override String get live => '실시간';
|
||||
@override String get hd => 'HD';
|
||||
@override String get premiere => '신규';
|
||||
@override String get reloadGuide => '편성표 새로고침';
|
||||
@override String get allChannels => '전체 채널';
|
||||
@override String get now => '지금';
|
||||
@override String get today => '오늘';
|
||||
@override String get midnight => '자정';
|
||||
@@ -825,6 +805,7 @@ class _TranslationsLiveTvKo implements TranslationsLiveTvEn {
|
||||
@override String get lateNight => '심야 방송';
|
||||
@override String get whatsOn => '지금 방송 중';
|
||||
@override String get watchChannel => '채널 시청';
|
||||
@override String get favorites => '즐겨찾기';
|
||||
}
|
||||
|
||||
// Path: collections
|
||||
@@ -1053,7 +1034,6 @@ class _TranslationsExternalPlayerKo implements TranslationsExternalPlayerEn {
|
||||
@override String get playerCommand => '명령어';
|
||||
@override String get playerPackage => '패키지 이름';
|
||||
@override String get playerUrlScheme => 'URL 스킴';
|
||||
@override String get customPlayer => '사용자 정의 플레이어';
|
||||
@override String get off => '꺼짐';
|
||||
@override String get launchFailed => '외부 플레이어를 열 수 없습니다';
|
||||
@override String appNotInstalled({required Object name}) => '${name}이(가) 설치되어 있지 않습니다';
|
||||
@@ -1192,6 +1172,7 @@ class _TranslationsLibrariesGroupingsKo implements TranslationsLibrariesGrouping
|
||||
final TranslationsKo _root; // ignore: unused_field
|
||||
|
||||
// Translations
|
||||
@override String get title => '그룹';
|
||||
@override String get all => '전체';
|
||||
@override String get movies => '영화';
|
||||
@override String get shows => 'TV 프로그램';
|
||||
@@ -1330,7 +1311,6 @@ extension on TranslationsKo {
|
||||
'common.shuffle' => '무작위 재생',
|
||||
'common.addTo' => '추가하기...',
|
||||
'common.createNew' => '새로 만들기',
|
||||
'common.remove' => '삭제',
|
||||
'common.paste' => '붙여넣기',
|
||||
'common.connect' => '연결',
|
||||
'common.disconnect' => '연결 해제',
|
||||
@@ -1344,7 +1324,6 @@ extension on TranslationsKo {
|
||||
'common.settings' => '설정',
|
||||
'common.mute' => '음소거',
|
||||
'common.ok' => '확인',
|
||||
'common.loading' => '로딩 중...',
|
||||
'common.reconnect' => '다시 연결',
|
||||
'common.exitConfirmTitle' => '앱을 종료하시겠습니까?',
|
||||
'common.exitConfirmMessage' => '정말 종료하시겠습니까?',
|
||||
@@ -1431,6 +1410,8 @@ extension on TranslationsKo {
|
||||
'settings.subtitleStylingDescription' => '자막의 외형을 사용자 설정',
|
||||
'settings.smallSkipDuration' => '짧은 건너뛰기 시간',
|
||||
'settings.largeSkipDuration' => '긴 건너뛰기 시간',
|
||||
'settings.rewindOnResume' => '재개 시 되감기',
|
||||
'settings.rewindOnResumeDescription' => '재생 재개 시 이 시간만큼 되감기',
|
||||
'settings.secondsUnit' => ({required Object seconds}) => '${seconds}초',
|
||||
'settings.defaultSleepTimer' => '기본 취침 타이머',
|
||||
'settings.minutesUnit' => ({required Object minutes}) => '${minutes}분',
|
||||
@@ -1472,6 +1453,11 @@ extension on TranslationsKo {
|
||||
'settings.autoSkipCreditsDescription' => '엔딩 크레딧 자동 건너뛰기 후 다음 에피소드 재생',
|
||||
'settings.autoSkipDelay' => '자동 건너뛰기 지연',
|
||||
'settings.autoSkipDelayDescription' => ({required Object seconds}) => '자동 건너뛰기 전 ${seconds} 초 대기',
|
||||
'settings.introPattern' => '인트로 마커 패턴',
|
||||
'settings.introPatternDescription' => '챕터 제목에서 인트로 마커를 인식하는 정규식 패턴',
|
||||
'settings.creditsPattern' => '크레딧 마커 패턴',
|
||||
'settings.creditsPatternDescription' => '챕터 제목에서 크레딧 마커를 인식하는 정규식 패턴',
|
||||
'settings.invalidRegex' => '잘못된 정규식',
|
||||
'settings.downloads' => '다운로드',
|
||||
'settings.downloadLocationDescription' => '다운로드 콘텐츠 저장 위치 선택',
|
||||
'settings.downloadLocationDefault' => '기본값 (앱 저장소)',
|
||||
@@ -1503,6 +1489,8 @@ extension on TranslationsKo {
|
||||
'settings.confirmExitOnBackDescription' => '뒤로 버튼을 눌러 앱을 종료할 때 확인 대화상자를 표시합니다',
|
||||
'settings.showNavBarLabels' => '내비게이션 바 라벨 표시',
|
||||
'settings.showNavBarLabelsDescription' => '내비게이션 바 아이콘 아래에 텍스트 라벨을 표시합니다',
|
||||
'settings.liveTvDefaultFavorites' => '즐겨찾기 채널 기본 설정',
|
||||
'settings.liveTvDefaultFavoritesDescription' => '라이브 TV를 열 때 즐겨찾기 채널만 표시',
|
||||
'search.hint' => '영화, 시리즈, 음악 등을 검색하세요...',
|
||||
'search.tryDifferentTerm' => '다른 검색어를 시도해 보세요',
|
||||
'search.searchYourMedia' => '미디어 검색',
|
||||
@@ -1528,9 +1516,6 @@ extension on TranslationsKo {
|
||||
'hotkeys.actions.subSeekPrev' => '이전 자막으로 이동',
|
||||
'hotkeys.actions.shaderToggle' => '셰이더 전환',
|
||||
'hotkeys.actions.skipMarker' => '인트로/크레딧 건너뛰기',
|
||||
'pinEntry.enterPin' => 'PIN 입력',
|
||||
'pinEntry.showPin' => 'PIN 표시',
|
||||
'pinEntry.hidePin' => 'PIN 숨기기',
|
||||
'fileInfo.title' => '파일 정보',
|
||||
'fileInfo.video' => '비디오',
|
||||
'fileInfo.audio' => '오디오',
|
||||
@@ -1594,7 +1579,6 @@ extension on TranslationsKo {
|
||||
'videoControls.unlockRotation' => '회전 잠금 해제',
|
||||
'videoControls.timerActive' => '타이머 활성화됨',
|
||||
'videoControls.playbackWillPauseIn' => ({required Object duration}) => '재생이 ${duration} 후에 일시 중지 됩니다',
|
||||
'videoControls.sleepTimerCompleted' => '수면 타이머 완료됨 - 재생이 일시 중지되었습니다',
|
||||
'videoControls.stillWatching' => '아직 시청 중이신가요?',
|
||||
'videoControls.pausingIn' => ({required Object seconds}) => '${seconds}초 후 일시 정지',
|
||||
'videoControls.continueWatching' => '계속',
|
||||
@@ -1611,20 +1595,20 @@ extension on TranslationsKo {
|
||||
'videoControls.muteButton' => '음소거',
|
||||
'videoControls.unmuteButton' => '음소거 해제',
|
||||
'videoControls.settingsButton' => '동영상 설정',
|
||||
'videoControls.audioTrackButton' => '음원 트랙',
|
||||
'videoControls.subtitlesButton' => '자막',
|
||||
'videoControls.tracksButton' => '오디오 및 자막',
|
||||
'videoControls.chaptersButton' => '챕터',
|
||||
'videoControls.versionsButton' => '동영상 버전',
|
||||
'videoControls.pipButton' => '픽처 인 픽처 모드',
|
||||
'videoControls.aspectRatioButton' => '화면비율',
|
||||
'videoControls.ambientLighting' => '주변 조명',
|
||||
'videoControls.ambientLightingOn' => '주변 조명 켜기',
|
||||
'videoControls.ambientLightingOff' => '주변 조명 끄기',
|
||||
'videoControls.fullscreenButton' => '전체화면',
|
||||
'videoControls.exitFullscreenButton' => '전체화면 종료',
|
||||
'videoControls.alwaysOnTopButton' => '창 최상위 고정',
|
||||
'videoControls.rotationLockButton' => '회전 잠금',
|
||||
'videoControls.lockScreen' => '화면 잠금',
|
||||
'videoControls.unlockScreen' => '화면 잠금 해제',
|
||||
'videoControls.screenLockButton' => '화면 잠금',
|
||||
'videoControls.longPressToUnlock' => '길게 눌러 잠금 해제',
|
||||
'videoControls.timelineSlider' => '타임라인',
|
||||
'videoControls.volumeSlider' => '볼륨 조절',
|
||||
'videoControls.endsAt' => ({required Object time}) => '${time}에 종료',
|
||||
@@ -1710,11 +1694,8 @@ extension on TranslationsKo {
|
||||
'discover.overview' => '개요',
|
||||
'discover.cast' => '출연진',
|
||||
'discover.extras' => '예고편 및 부가영상',
|
||||
'discover.seasons' => '시즌 수',
|
||||
'discover.studio' => '제작사',
|
||||
'discover.rating' => '연령 등급',
|
||||
'discover.episodeCount' => ({required Object count}) => '${count} 편',
|
||||
'discover.watchedProgress' => ({required Object watched, required Object total}) => '${watched}/${total} 편 시청 완료',
|
||||
'discover.movie' => '영화',
|
||||
'discover.tvShow' => 'TV 시리즈',
|
||||
'discover.minutesLeft' => ({required Object minutes}) => '${minutes}분 남음',
|
||||
@@ -1769,6 +1750,7 @@ extension on TranslationsKo {
|
||||
'libraries.tabs.browse' => '찾아보기',
|
||||
'libraries.tabs.collections' => '컬렉션',
|
||||
'libraries.tabs.playlists' => '재생 목록',
|
||||
'libraries.groupings.title' => '그룹',
|
||||
'libraries.groupings.all' => '전체',
|
||||
'libraries.groupings.movies' => '영화',
|
||||
'libraries.groupings.shows' => 'TV 프로그램',
|
||||
@@ -1791,8 +1773,6 @@ extension on TranslationsKo {
|
||||
'logs.clearLogs' => '로그 지우기',
|
||||
'logs.copyLogs' => '로그 복사',
|
||||
'logs.uploadLogs' => '로그 업로드',
|
||||
'logs.error' => '오류:',
|
||||
'logs.stackTrace' => '스택 추적 (Stack Trace):',
|
||||
'licenses.relatedPackages' => '관련 소프트웨어 패키지',
|
||||
'licenses.license' => '라이선스',
|
||||
'licenses.licenseNumber' => ({required Object number}) => '라이선스 ${number}',
|
||||
@@ -1801,23 +1781,13 @@ extension on TranslationsKo {
|
||||
'navigation.downloads' => '다운로드',
|
||||
'navigation.liveTv' => '실시간 TV',
|
||||
'liveTv.title' => '실시간 TV',
|
||||
'liveTv.channels' => '채널',
|
||||
'liveTv.guide' => '편성표',
|
||||
'liveTv.noChannels' => '사용 가능한 채널이 없습니다',
|
||||
'liveTv.noDvr' => '서버에 DVR이 구성되어 있지 않습니다',
|
||||
'liveTv.tuneFailed' => '채널 튜닝에 실패했습니다',
|
||||
'liveTv.loading' => '채널 로딩 중...',
|
||||
'liveTv.nowPlaying' => '현재 재생 중',
|
||||
'liveTv.noPrograms' => '프로그램 데이터가 없습니다',
|
||||
'liveTv.channelNumber' => ({required Object number}) => '채널 ${number}',
|
||||
'liveTv.live' => '실시간',
|
||||
'liveTv.hd' => 'HD',
|
||||
'liveTv.premiere' => '신규',
|
||||
'liveTv.reloadGuide' => '편성표 새로고침',
|
||||
'liveTv.allChannels' => '전체 채널',
|
||||
'liveTv.now' => '지금',
|
||||
_ => null,
|
||||
} ?? switch (path) {
|
||||
'liveTv.today' => '오늘',
|
||||
'liveTv.midnight' => '자정',
|
||||
'liveTv.overnight' => '심야',
|
||||
@@ -1827,6 +1797,9 @@ extension on TranslationsKo {
|
||||
'liveTv.lateNight' => '심야 방송',
|
||||
'liveTv.whatsOn' => '지금 방송 중',
|
||||
'liveTv.watchChannel' => '채널 시청',
|
||||
_ => null,
|
||||
} ?? switch (path) {
|
||||
'liveTv.favorites' => '즐겨찾기',
|
||||
'collections.title' => '컬렉션',
|
||||
'collections.collection' => '컬렉션',
|
||||
'collections.empty' => '컬렉션이 비어 있습니다',
|
||||
@@ -2049,7 +2022,6 @@ extension on TranslationsKo {
|
||||
'externalPlayer.playerCommand' => '명령어',
|
||||
'externalPlayer.playerPackage' => '패키지 이름',
|
||||
'externalPlayer.playerUrlScheme' => 'URL 스킴',
|
||||
'externalPlayer.customPlayer' => '사용자 정의 플레이어',
|
||||
'externalPlayer.off' => '꺼짐',
|
||||
'externalPlayer.launchFailed' => '외부 플레이어를 열 수 없습니다',
|
||||
'externalPlayer.appNotInstalled' => ({required Object name}) => '${name}이(가) 설치되어 있지 않습니다',
|
||||
|
||||
+32
-60
@@ -45,7 +45,6 @@ class TranslationsNb with BaseTranslations<AppLocale, Translations> implements T
|
||||
@override late final _TranslationsSettingsNb settings = _TranslationsSettingsNb._(_root);
|
||||
@override late final _TranslationsSearchNb search = _TranslationsSearchNb._(_root);
|
||||
@override late final _TranslationsHotkeysNb hotkeys = _TranslationsHotkeysNb._(_root);
|
||||
@override late final _TranslationsPinEntryNb pinEntry = _TranslationsPinEntryNb._(_root);
|
||||
@override late final _TranslationsFileInfoNb fileInfo = _TranslationsFileInfoNb._(_root);
|
||||
@override late final _TranslationsMediaMenuNb mediaMenu = _TranslationsMediaMenuNb._(_root);
|
||||
@override late final _TranslationsAccessibilityNb accessibility = _TranslationsAccessibilityNb._(_root);
|
||||
@@ -128,7 +127,6 @@ class _TranslationsCommonNb implements TranslationsCommonEn {
|
||||
@override String get shuffle => 'Tilfeldig';
|
||||
@override String get addTo => 'Legg til i...';
|
||||
@override String get createNew => 'Opprett ny';
|
||||
@override String get remove => 'Fjern';
|
||||
@override String get paste => 'Lim inn';
|
||||
@override String get connect => 'Koble til';
|
||||
@override String get disconnect => 'Koble fra';
|
||||
@@ -142,7 +140,6 @@ class _TranslationsCommonNb implements TranslationsCommonEn {
|
||||
@override String get settings => 'Innstillinger';
|
||||
@override String get mute => 'Demp';
|
||||
@override String get ok => 'OK';
|
||||
@override String get loading => 'Laster...';
|
||||
@override String get reconnect => 'Koble til på nytt';
|
||||
@override String get exitConfirmTitle => 'Avslutte appen?';
|
||||
@override String get exitConfirmMessage => 'Er du sikker på at du vil avslutte?';
|
||||
@@ -256,6 +253,8 @@ class _TranslationsSettingsNb implements TranslationsSettingsEn {
|
||||
@override String get subtitleStylingDescription => 'Tilpass utseendet på undertekster';
|
||||
@override String get smallSkipDuration => 'Kort hoppvarighet';
|
||||
@override String get largeSkipDuration => 'Lang hoppvarighet';
|
||||
@override String get rewindOnResume => 'Spol tilbake ved gjenopptakelse';
|
||||
@override String get rewindOnResumeDescription => 'Spol tilbake med denne mengden ved gjenopptakelse av avspilling';
|
||||
@override String secondsUnit({required Object seconds}) => '${seconds} sekunder';
|
||||
@override String get defaultSleepTimer => 'Standard søvntimer';
|
||||
@override String minutesUnit({required Object minutes}) => '${minutes} minutter';
|
||||
@@ -297,6 +296,11 @@ class _TranslationsSettingsNb implements TranslationsSettingsEn {
|
||||
@override String get autoSkipCreditsDescription => 'Hopp automatisk over rulletekst og spill neste episode';
|
||||
@override String get autoSkipDelay => 'Forsinkelse for automatisk hopp';
|
||||
@override String autoSkipDelayDescription({required Object seconds}) => 'Vent ${seconds} sekunder før automatisk hopping';
|
||||
@override String get introPattern => 'Intromarkørmønster';
|
||||
@override String get introPatternDescription => 'Regulært uttrykk for å gjenkjenne intromarkører i kapitteltitler';
|
||||
@override String get creditsPattern => 'Rulletekstmarkørmønster';
|
||||
@override String get creditsPatternDescription => 'Regulært uttrykk for å gjenkjenne rulletekstmarkører i kapitteltitler';
|
||||
@override String get invalidRegex => 'Ugyldig regulært uttrykk';
|
||||
@override String get downloads => 'Nedlastinger';
|
||||
@override String get downloadLocationDescription => 'Velg hvor nedlastet innhold skal lagres';
|
||||
@override String get downloadLocationDefault => 'Standard (App-lagring)';
|
||||
@@ -328,6 +332,8 @@ class _TranslationsSettingsNb implements TranslationsSettingsEn {
|
||||
@override String get confirmExitOnBackDescription => 'Vis en bekreftelsesdialog når du trykker tilbake for å avslutte appen';
|
||||
@override String get showNavBarLabels => 'Vis navigasjonsfeltlabeler';
|
||||
@override String get showNavBarLabelsDescription => 'Vis tekstlabeler under navigasjonsfeltikoner';
|
||||
@override String get liveTvDefaultFavorites => 'Standard til favorittkanaler';
|
||||
@override String get liveTvDefaultFavoritesDescription => 'Vis kun favorittkanaler når du åpner Live TV';
|
||||
}
|
||||
|
||||
// Path: search
|
||||
@@ -355,18 +361,6 @@ class _TranslationsHotkeysNb implements TranslationsHotkeysEn {
|
||||
@override late final _TranslationsHotkeysActionsNb actions = _TranslationsHotkeysActionsNb._(_root);
|
||||
}
|
||||
|
||||
// Path: pinEntry
|
||||
class _TranslationsPinEntryNb implements TranslationsPinEntryEn {
|
||||
_TranslationsPinEntryNb._(this._root);
|
||||
|
||||
final TranslationsNb _root; // ignore: unused_field
|
||||
|
||||
// Translations
|
||||
@override String get enterPin => 'Skriv inn PIN';
|
||||
@override String get showPin => 'Vis PIN';
|
||||
@override String get hidePin => 'Skjul PIN';
|
||||
}
|
||||
|
||||
// Path: fileInfo
|
||||
class _TranslationsFileInfoNb implements TranslationsFileInfoEn {
|
||||
_TranslationsFileInfoNb._(this._root);
|
||||
@@ -473,7 +467,6 @@ class _TranslationsVideoControlsNb implements 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 sleepTimerCompleted => 'Søvntimer fullført – avspilling satt på pause';
|
||||
@override String get stillWatching => 'Ser du fortsatt?';
|
||||
@override String pausingIn({required Object seconds}) => 'Pauser om ${seconds}s';
|
||||
@override String get continueWatching => 'Fortsett';
|
||||
@@ -490,20 +483,20 @@ class _TranslationsVideoControlsNb implements TranslationsVideoControlsEn {
|
||||
@override String get muteButton => 'Demp';
|
||||
@override String get unmuteButton => 'Opphev demping';
|
||||
@override String get settingsButton => 'Videoinnstillinger';
|
||||
@override String get audioTrackButton => 'Lydspor';
|
||||
@override String get subtitlesButton => 'Undertekster';
|
||||
@override String get tracksButton => 'Lyd og undertekster';
|
||||
@override String get chaptersButton => 'Kapitler';
|
||||
@override String get versionsButton => 'Videoversjoner';
|
||||
@override String get pipButton => 'Bilde-i-bilde-modus';
|
||||
@override String get aspectRatioButton => 'Sideforhold';
|
||||
@override String get ambientLighting => 'Omgivelseslys';
|
||||
@override String get ambientLightingOn => 'Aktiver omgivelseslys';
|
||||
@override String get ambientLightingOff => 'Deaktiver omgivelseslys';
|
||||
@override String get fullscreenButton => 'Gå til fullskjerm';
|
||||
@override String get exitFullscreenButton => 'Avslutt fullskjerm';
|
||||
@override String get alwaysOnTopButton => 'Alltid øverst';
|
||||
@override String get rotationLockButton => 'Rotasjonslås';
|
||||
@override String get lockScreen => 'Lås skjerm';
|
||||
@override String get unlockScreen => 'Lås opp skjerm';
|
||||
@override String get screenLockButton => 'Skjermlås';
|
||||
@override String get longPressToUnlock => 'Langt trykk for å låse opp';
|
||||
@override String get timelineSlider => 'Videotidslinje';
|
||||
@override String get volumeSlider => 'Volumnivå';
|
||||
@override String endsAt({required Object time}) => 'Slutter kl. ${time}';
|
||||
@@ -637,11 +630,8 @@ class _TranslationsDiscoverNb implements TranslationsDiscoverEn {
|
||||
@override String get overview => 'Oversikt';
|
||||
@override String get cast => 'Skuespillere';
|
||||
@override String get extras => 'Trailere og ekstra';
|
||||
@override String get seasons => 'Sesonger';
|
||||
@override String get studio => 'Studio';
|
||||
@override String get rating => 'Vurdering';
|
||||
@override String episodeCount({required Object count}) => '${count} episoder';
|
||||
@override String watchedProgress({required Object watched, required Object total}) => '${watched}/${total} sett';
|
||||
@override String get movie => 'Film';
|
||||
@override String get tvShow => 'TV-serie';
|
||||
@override String minutesLeft({required Object minutes}) => '${minutes} min igjen';
|
||||
@@ -764,8 +754,6 @@ class _TranslationsLogsNb implements TranslationsLogsEn {
|
||||
@override String get clearLogs => 'Tøm logger';
|
||||
@override String get copyLogs => 'Kopier logger';
|
||||
@override String get uploadLogs => 'Last opp logger';
|
||||
@override String get error => 'Feil:';
|
||||
@override String get stackTrace => 'Stabelsporing:';
|
||||
}
|
||||
|
||||
// Path: licenses
|
||||
@@ -801,20 +789,12 @@ class _TranslationsLiveTvNb implements TranslationsLiveTvEn {
|
||||
|
||||
// Translations
|
||||
@override String get title => 'Direkte-TV';
|
||||
@override String get channels => 'Kanaler';
|
||||
@override String get guide => 'Programguide';
|
||||
@override String get noChannels => 'Ingen kanaler tilgjengelig';
|
||||
@override String get noDvr => 'Ingen DVR konfigurert på noen server';
|
||||
@override String get tuneFailed => 'Kunne ikke stille inn kanal';
|
||||
@override String get loading => 'Laster kanaler...';
|
||||
@override String get nowPlaying => 'Spilles nå';
|
||||
@override String get noPrograms => 'Ingen programdata tilgjengelig';
|
||||
@override String channelNumber({required Object number}) => 'Kanal ${number}';
|
||||
@override String get live => 'DIREKTE';
|
||||
@override String get hd => 'HD';
|
||||
@override String get premiere => 'NY';
|
||||
@override String get reloadGuide => 'Last inn programguide på nytt';
|
||||
@override String get allChannels => 'Alle kanaler';
|
||||
@override String get now => 'Nå';
|
||||
@override String get today => 'I dag';
|
||||
@override String get midnight => 'Midnatt';
|
||||
@@ -825,6 +805,7 @@ class _TranslationsLiveTvNb implements TranslationsLiveTvEn {
|
||||
@override String get lateNight => 'Sen kveld';
|
||||
@override String get whatsOn => 'Hva går nå';
|
||||
@override String get watchChannel => 'Se kanal';
|
||||
@override String get favorites => 'Favoritter';
|
||||
}
|
||||
|
||||
// Path: collections
|
||||
@@ -1053,7 +1034,6 @@ class _TranslationsExternalPlayerNb implements TranslationsExternalPlayerEn {
|
||||
@override String get playerCommand => 'Kommando';
|
||||
@override String get playerPackage => 'Pakkenavn';
|
||||
@override String get playerUrlScheme => 'URL-skjema';
|
||||
@override String get customPlayer => 'Egendefinert spiller';
|
||||
@override String get off => 'Av';
|
||||
@override String get launchFailed => 'Kunne ikke åpne ekstern spiller';
|
||||
@override String appNotInstalled({required Object name}) => '${name} er ikke installert';
|
||||
@@ -1192,6 +1172,7 @@ class _TranslationsLibrariesGroupingsNb implements TranslationsLibrariesGrouping
|
||||
final TranslationsNb _root; // ignore: unused_field
|
||||
|
||||
// Translations
|
||||
@override String get title => 'Gruppering';
|
||||
@override String get all => 'Alle';
|
||||
@override String get movies => 'Filmer';
|
||||
@override String get shows => 'TV-serier';
|
||||
@@ -1330,7 +1311,6 @@ extension on TranslationsNb {
|
||||
'common.shuffle' => 'Tilfeldig',
|
||||
'common.addTo' => 'Legg til i...',
|
||||
'common.createNew' => 'Opprett ny',
|
||||
'common.remove' => 'Fjern',
|
||||
'common.paste' => 'Lim inn',
|
||||
'common.connect' => 'Koble til',
|
||||
'common.disconnect' => 'Koble fra',
|
||||
@@ -1344,7 +1324,6 @@ extension on TranslationsNb {
|
||||
'common.settings' => 'Innstillinger',
|
||||
'common.mute' => 'Demp',
|
||||
'common.ok' => 'OK',
|
||||
'common.loading' => 'Laster...',
|
||||
'common.reconnect' => 'Koble til på nytt',
|
||||
'common.exitConfirmTitle' => 'Avslutte appen?',
|
||||
'common.exitConfirmMessage' => 'Er du sikker på at du vil avslutte?',
|
||||
@@ -1431,6 +1410,8 @@ extension on TranslationsNb {
|
||||
'settings.subtitleStylingDescription' => 'Tilpass utseendet på undertekster',
|
||||
'settings.smallSkipDuration' => 'Kort hoppvarighet',
|
||||
'settings.largeSkipDuration' => 'Lang hoppvarighet',
|
||||
'settings.rewindOnResume' => 'Spol tilbake ved gjenopptakelse',
|
||||
'settings.rewindOnResumeDescription' => 'Spol tilbake med denne mengden ved gjenopptakelse av avspilling',
|
||||
'settings.secondsUnit' => ({required Object seconds}) => '${seconds} sekunder',
|
||||
'settings.defaultSleepTimer' => 'Standard søvntimer',
|
||||
'settings.minutesUnit' => ({required Object minutes}) => '${minutes} minutter',
|
||||
@@ -1472,6 +1453,11 @@ extension on TranslationsNb {
|
||||
'settings.autoSkipCreditsDescription' => 'Hopp automatisk over rulletekst og spill neste episode',
|
||||
'settings.autoSkipDelay' => 'Forsinkelse for automatisk hopp',
|
||||
'settings.autoSkipDelayDescription' => ({required Object seconds}) => 'Vent ${seconds} sekunder før automatisk hopping',
|
||||
'settings.introPattern' => 'Intromarkørmønster',
|
||||
'settings.introPatternDescription' => 'Regulært uttrykk for å gjenkjenne intromarkører i kapitteltitler',
|
||||
'settings.creditsPattern' => 'Rulletekstmarkørmønster',
|
||||
'settings.creditsPatternDescription' => 'Regulært uttrykk for å gjenkjenne rulletekstmarkører i kapitteltitler',
|
||||
'settings.invalidRegex' => 'Ugyldig regulært uttrykk',
|
||||
'settings.downloads' => 'Nedlastinger',
|
||||
'settings.downloadLocationDescription' => 'Velg hvor nedlastet innhold skal lagres',
|
||||
'settings.downloadLocationDefault' => 'Standard (App-lagring)',
|
||||
@@ -1503,6 +1489,8 @@ extension on TranslationsNb {
|
||||
'settings.confirmExitOnBackDescription' => 'Vis en bekreftelsesdialog når du trykker tilbake for å avslutte appen',
|
||||
'settings.showNavBarLabels' => 'Vis navigasjonsfeltlabeler',
|
||||
'settings.showNavBarLabelsDescription' => 'Vis tekstlabeler under navigasjonsfeltikoner',
|
||||
'settings.liveTvDefaultFavorites' => 'Standard til favorittkanaler',
|
||||
'settings.liveTvDefaultFavoritesDescription' => 'Vis kun favorittkanaler når du åpner Live TV',
|
||||
'search.hint' => 'Søk i filmer, serier, musikk...',
|
||||
'search.tryDifferentTerm' => 'Prøv et annet søkeord',
|
||||
'search.searchYourMedia' => 'Søk i mediene dine',
|
||||
@@ -1528,9 +1516,6 @@ extension on TranslationsNb {
|
||||
'hotkeys.actions.subSeekPrev' => 'Spol til forrige undertekst',
|
||||
'hotkeys.actions.shaderToggle' => 'Veksle shadere',
|
||||
'hotkeys.actions.skipMarker' => 'Hopp over intro/rulletekst',
|
||||
'pinEntry.enterPin' => 'Skriv inn PIN',
|
||||
'pinEntry.showPin' => 'Vis PIN',
|
||||
'pinEntry.hidePin' => 'Skjul PIN',
|
||||
'fileInfo.title' => 'Filinformasjon',
|
||||
'fileInfo.video' => 'Video',
|
||||
'fileInfo.audio' => 'Lyd',
|
||||
@@ -1594,7 +1579,6 @@ extension on TranslationsNb {
|
||||
'videoControls.unlockRotation' => 'Lås opp rotasjon',
|
||||
'videoControls.timerActive' => 'Timer aktiv',
|
||||
'videoControls.playbackWillPauseIn' => ({required Object duration}) => 'Avspilling vil pause om ${duration}',
|
||||
'videoControls.sleepTimerCompleted' => 'Søvntimer fullført – avspilling satt på pause',
|
||||
'videoControls.stillWatching' => 'Ser du fortsatt?',
|
||||
'videoControls.pausingIn' => ({required Object seconds}) => 'Pauser om ${seconds}s',
|
||||
'videoControls.continueWatching' => 'Fortsett',
|
||||
@@ -1611,20 +1595,20 @@ extension on TranslationsNb {
|
||||
'videoControls.muteButton' => 'Demp',
|
||||
'videoControls.unmuteButton' => 'Opphev demping',
|
||||
'videoControls.settingsButton' => 'Videoinnstillinger',
|
||||
'videoControls.audioTrackButton' => 'Lydspor',
|
||||
'videoControls.subtitlesButton' => 'Undertekster',
|
||||
'videoControls.tracksButton' => 'Lyd og undertekster',
|
||||
'videoControls.chaptersButton' => 'Kapitler',
|
||||
'videoControls.versionsButton' => 'Videoversjoner',
|
||||
'videoControls.pipButton' => 'Bilde-i-bilde-modus',
|
||||
'videoControls.aspectRatioButton' => 'Sideforhold',
|
||||
'videoControls.ambientLighting' => 'Omgivelseslys',
|
||||
'videoControls.ambientLightingOn' => 'Aktiver omgivelseslys',
|
||||
'videoControls.ambientLightingOff' => 'Deaktiver omgivelseslys',
|
||||
'videoControls.fullscreenButton' => 'Gå til fullskjerm',
|
||||
'videoControls.exitFullscreenButton' => 'Avslutt fullskjerm',
|
||||
'videoControls.alwaysOnTopButton' => 'Alltid øverst',
|
||||
'videoControls.rotationLockButton' => 'Rotasjonslås',
|
||||
'videoControls.lockScreen' => 'Lås skjerm',
|
||||
'videoControls.unlockScreen' => 'Lås opp skjerm',
|
||||
'videoControls.screenLockButton' => 'Skjermlås',
|
||||
'videoControls.longPressToUnlock' => 'Langt trykk for å låse opp',
|
||||
'videoControls.timelineSlider' => 'Videotidslinje',
|
||||
'videoControls.volumeSlider' => 'Volumnivå',
|
||||
'videoControls.endsAt' => ({required Object time}) => 'Slutter kl. ${time}',
|
||||
@@ -1710,11 +1694,8 @@ extension on TranslationsNb {
|
||||
'discover.overview' => 'Oversikt',
|
||||
'discover.cast' => 'Skuespillere',
|
||||
'discover.extras' => 'Trailere og ekstra',
|
||||
'discover.seasons' => 'Sesonger',
|
||||
'discover.studio' => 'Studio',
|
||||
'discover.rating' => 'Vurdering',
|
||||
'discover.episodeCount' => ({required Object count}) => '${count} episoder',
|
||||
'discover.watchedProgress' => ({required Object watched, required Object total}) => '${watched}/${total} sett',
|
||||
'discover.movie' => 'Film',
|
||||
'discover.tvShow' => 'TV-serie',
|
||||
'discover.minutesLeft' => ({required Object minutes}) => '${minutes} min igjen',
|
||||
@@ -1769,6 +1750,7 @@ extension on TranslationsNb {
|
||||
'libraries.tabs.browse' => 'Bla gjennom',
|
||||
'libraries.tabs.collections' => 'Samlinger',
|
||||
'libraries.tabs.playlists' => 'Spillelister',
|
||||
'libraries.groupings.title' => 'Gruppering',
|
||||
'libraries.groupings.all' => 'Alle',
|
||||
'libraries.groupings.movies' => 'Filmer',
|
||||
'libraries.groupings.shows' => 'TV-serier',
|
||||
@@ -1791,8 +1773,6 @@ extension on TranslationsNb {
|
||||
'logs.clearLogs' => 'Tøm logger',
|
||||
'logs.copyLogs' => 'Kopier logger',
|
||||
'logs.uploadLogs' => 'Last opp logger',
|
||||
'logs.error' => 'Feil:',
|
||||
'logs.stackTrace' => 'Stabelsporing:',
|
||||
'licenses.relatedPackages' => 'Relaterte pakker',
|
||||
'licenses.license' => 'Lisens',
|
||||
'licenses.licenseNumber' => ({required Object number}) => 'Lisens ${number}',
|
||||
@@ -1801,23 +1781,13 @@ extension on TranslationsNb {
|
||||
'navigation.downloads' => 'Nedlastinger',
|
||||
'navigation.liveTv' => 'Direkte-TV',
|
||||
'liveTv.title' => 'Direkte-TV',
|
||||
'liveTv.channels' => 'Kanaler',
|
||||
'liveTv.guide' => 'Programguide',
|
||||
'liveTv.noChannels' => 'Ingen kanaler tilgjengelig',
|
||||
'liveTv.noDvr' => 'Ingen DVR konfigurert på noen server',
|
||||
'liveTv.tuneFailed' => 'Kunne ikke stille inn kanal',
|
||||
'liveTv.loading' => 'Laster kanaler...',
|
||||
'liveTv.nowPlaying' => 'Spilles nå',
|
||||
'liveTv.noPrograms' => 'Ingen programdata tilgjengelig',
|
||||
'liveTv.channelNumber' => ({required Object number}) => 'Kanal ${number}',
|
||||
'liveTv.live' => 'DIREKTE',
|
||||
'liveTv.hd' => 'HD',
|
||||
'liveTv.premiere' => 'NY',
|
||||
'liveTv.reloadGuide' => 'Last inn programguide på nytt',
|
||||
'liveTv.allChannels' => 'Alle kanaler',
|
||||
'liveTv.now' => 'Nå',
|
||||
_ => null,
|
||||
} ?? switch (path) {
|
||||
'liveTv.today' => 'I dag',
|
||||
'liveTv.midnight' => 'Midnatt',
|
||||
'liveTv.overnight' => 'Natt',
|
||||
@@ -1827,6 +1797,9 @@ extension on TranslationsNb {
|
||||
'liveTv.lateNight' => 'Sen kveld',
|
||||
'liveTv.whatsOn' => 'Hva går nå',
|
||||
'liveTv.watchChannel' => 'Se kanal',
|
||||
_ => null,
|
||||
} ?? switch (path) {
|
||||
'liveTv.favorites' => 'Favoritter',
|
||||
'collections.title' => 'Samlinger',
|
||||
'collections.collection' => 'Samling',
|
||||
'collections.empty' => 'Samlingen er tom',
|
||||
@@ -2049,7 +2022,6 @@ extension on TranslationsNb {
|
||||
'externalPlayer.playerCommand' => 'Kommando',
|
||||
'externalPlayer.playerPackage' => 'Pakkenavn',
|
||||
'externalPlayer.playerUrlScheme' => 'URL-skjema',
|
||||
'externalPlayer.customPlayer' => 'Egendefinert spiller',
|
||||
'externalPlayer.off' => 'Av',
|
||||
'externalPlayer.launchFailed' => 'Kunne ikke åpne ekstern spiller',
|
||||
'externalPlayer.appNotInstalled' => ({required Object name}) => '${name} er ikke installert',
|
||||
|
||||
+32
-60
@@ -45,7 +45,6 @@ class TranslationsNl with BaseTranslations<AppLocale, Translations> implements T
|
||||
@override late final _TranslationsSettingsNl settings = _TranslationsSettingsNl._(_root);
|
||||
@override late final _TranslationsSearchNl search = _TranslationsSearchNl._(_root);
|
||||
@override late final _TranslationsHotkeysNl hotkeys = _TranslationsHotkeysNl._(_root);
|
||||
@override late final _TranslationsPinEntryNl pinEntry = _TranslationsPinEntryNl._(_root);
|
||||
@override late final _TranslationsFileInfoNl fileInfo = _TranslationsFileInfoNl._(_root);
|
||||
@override late final _TranslationsMediaMenuNl mediaMenu = _TranslationsMediaMenuNl._(_root);
|
||||
@override late final _TranslationsAccessibilityNl accessibility = _TranslationsAccessibilityNl._(_root);
|
||||
@@ -128,7 +127,6 @@ class _TranslationsCommonNl implements TranslationsCommonEn {
|
||||
@override String get shuffle => 'Willekeurig';
|
||||
@override String get addTo => 'Toevoegen aan...';
|
||||
@override String get createNew => 'Nieuw aanmaken';
|
||||
@override String get remove => 'Verwijderen';
|
||||
@override String get paste => 'Plakken';
|
||||
@override String get connect => 'Verbinden';
|
||||
@override String get disconnect => 'Verbinding verbreken';
|
||||
@@ -142,7 +140,6 @@ class _TranslationsCommonNl implements TranslationsCommonEn {
|
||||
@override String get settings => 'Opties';
|
||||
@override String get mute => 'Dempen';
|
||||
@override String get ok => 'OK';
|
||||
@override String get loading => 'Laden...';
|
||||
@override String get reconnect => 'Opnieuw verbinden';
|
||||
@override String get exitConfirmTitle => 'App afsluiten?';
|
||||
@override String get exitConfirmMessage => 'Weet je zeker dat je wilt afsluiten?';
|
||||
@@ -256,6 +253,8 @@ class _TranslationsSettingsNl implements TranslationsSettingsEn {
|
||||
@override String get subtitleStylingDescription => 'Pas ondertitel uiterlijk aan';
|
||||
@override String get smallSkipDuration => 'Korte skip duur';
|
||||
@override String get largeSkipDuration => 'Lange skip duur';
|
||||
@override String get rewindOnResume => 'Terugspoelen bij hervatten';
|
||||
@override String get rewindOnResumeDescription => 'Spoel dit aantal seconden terug bij het hervatten van afspelen';
|
||||
@override String secondsUnit({required Object seconds}) => '${seconds} seconden';
|
||||
@override String get defaultSleepTimer => 'Standaard slaap timer';
|
||||
@override String minutesUnit({required Object minutes}) => 'bij ${minutes} minuten';
|
||||
@@ -297,6 +296,11 @@ class _TranslationsSettingsNl implements TranslationsSettingsEn {
|
||||
@override String get autoSkipCreditsDescription => 'Credits automatisch overslaan en volgende aflevering afspelen';
|
||||
@override String get autoSkipDelay => 'Vertraging Automatisch Overslaan';
|
||||
@override String autoSkipDelayDescription({required Object seconds}) => '${seconds} seconden wachten voor automatisch overslaan';
|
||||
@override String get introPattern => 'Intromarkeringspatroon';
|
||||
@override String get introPatternDescription => 'Reguliere expressie om intromarkeringen in hoofdstuktitels te herkennen';
|
||||
@override String get creditsPattern => 'Aftitelingmarkeringspatroon';
|
||||
@override String get creditsPatternDescription => 'Reguliere expressie om aftitelingmarkeringen in hoofdstuktitels te herkennen';
|
||||
@override String get invalidRegex => 'Ongeldige reguliere expressie';
|
||||
@override String get downloads => 'Downloads';
|
||||
@override String get downloadLocationDescription => 'Kies waar gedownloade content wordt opgeslagen';
|
||||
@override String get downloadLocationDefault => 'Standaard (App-opslag)';
|
||||
@@ -328,6 +332,8 @@ class _TranslationsSettingsNl implements TranslationsSettingsEn {
|
||||
@override String get confirmExitOnBackDescription => 'Toon een bevestigingsvenster bij het drukken op terug om de app af te sluiten';
|
||||
@override String get showNavBarLabels => 'Navigatiebalk labels tonen';
|
||||
@override String get showNavBarLabelsDescription => 'Tekstlabels onder de pictogrammen van de navigatiebalk weergeven';
|
||||
@override String get liveTvDefaultFavorites => 'Standaard favoriete zenders';
|
||||
@override String get liveTvDefaultFavoritesDescription => 'Toon alleen favoriete zenders bij het openen van Live TV';
|
||||
}
|
||||
|
||||
// Path: search
|
||||
@@ -355,18 +361,6 @@ class _TranslationsHotkeysNl implements TranslationsHotkeysEn {
|
||||
@override late final _TranslationsHotkeysActionsNl actions = _TranslationsHotkeysActionsNl._(_root);
|
||||
}
|
||||
|
||||
// Path: pinEntry
|
||||
class _TranslationsPinEntryNl implements TranslationsPinEntryEn {
|
||||
_TranslationsPinEntryNl._(this._root);
|
||||
|
||||
final TranslationsNl _root; // ignore: unused_field
|
||||
|
||||
// Translations
|
||||
@override String get enterPin => 'Voer PIN in';
|
||||
@override String get showPin => 'Toon PIN';
|
||||
@override String get hidePin => 'Verberg PIN';
|
||||
}
|
||||
|
||||
// Path: fileInfo
|
||||
class _TranslationsFileInfoNl implements TranslationsFileInfoEn {
|
||||
_TranslationsFileInfoNl._(this._root);
|
||||
@@ -473,7 +467,6 @@ class _TranslationsVideoControlsNl implements 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 sleepTimerCompleted => 'Slaaptimer voltooid - afspelen gepauzeerd';
|
||||
@override String get stillWatching => 'Kijk je nog?';
|
||||
@override String pausingIn({required Object seconds}) => 'Pauze over ${seconds}s';
|
||||
@override String get continueWatching => 'Doorgaan';
|
||||
@@ -490,20 +483,20 @@ class _TranslationsVideoControlsNl implements TranslationsVideoControlsEn {
|
||||
@override String get muteButton => 'Dempen';
|
||||
@override String get unmuteButton => 'Dempen opheffen';
|
||||
@override String get settingsButton => 'Video-instellingen';
|
||||
@override String get audioTrackButton => 'Audiosporen';
|
||||
@override String get subtitlesButton => 'Ondertitels';
|
||||
@override String get tracksButton => 'Audio en ondertitels';
|
||||
@override String get chaptersButton => 'Hoofdstukken';
|
||||
@override String get versionsButton => 'Videoversies';
|
||||
@override String get pipButton => 'Beeld-in-beeld modus';
|
||||
@override String get aspectRatioButton => 'Beeldverhouding';
|
||||
@override String get ambientLighting => 'Omgevingsverlichting';
|
||||
@override String get ambientLightingOn => 'Omgevingsverlichting inschakelen';
|
||||
@override String get ambientLightingOff => 'Omgevingsverlichting uitschakelen';
|
||||
@override String get fullscreenButton => 'Volledig scherm activeren';
|
||||
@override String get exitFullscreenButton => 'Volledig scherm verlaten';
|
||||
@override String get alwaysOnTopButton => 'Altijd bovenop';
|
||||
@override String get rotationLockButton => 'Rotatievergrendeling';
|
||||
@override String get lockScreen => 'Vergrendel scherm';
|
||||
@override String get unlockScreen => 'Ontgrendel scherm';
|
||||
@override String get screenLockButton => 'Schermvergrendeling';
|
||||
@override String get longPressToUnlock => 'Lang indrukken om te ontgrendelen';
|
||||
@override String get timelineSlider => 'Videotijdlijn';
|
||||
@override String get volumeSlider => 'Volumeniveau';
|
||||
@override String endsAt({required Object time}) => 'Eindigt om ${time}';
|
||||
@@ -637,11 +630,8 @@ class _TranslationsDiscoverNl implements TranslationsDiscoverEn {
|
||||
@override String get overview => 'Overzicht';
|
||||
@override String get cast => 'Acteurs';
|
||||
@override String get extras => 'Trailers & Extra\'s';
|
||||
@override String get seasons => 'Seizoenen';
|
||||
@override String get studio => 'Studio';
|
||||
@override String get rating => 'Leeftijd';
|
||||
@override String episodeCount({required Object count}) => '${count} afleveringen';
|
||||
@override String watchedProgress({required Object watched, required Object total}) => '${watched}/${total} gekeken';
|
||||
@override String get movie => 'Film';
|
||||
@override String get tvShow => 'TV Serie';
|
||||
@override String minutesLeft({required Object minutes}) => '${minutes} min over';
|
||||
@@ -764,8 +754,6 @@ class _TranslationsLogsNl implements TranslationsLogsEn {
|
||||
@override String get clearLogs => 'Wis logs';
|
||||
@override String get copyLogs => 'Kopieer logs';
|
||||
@override String get uploadLogs => 'Logs uploaden';
|
||||
@override String get error => 'Fout:';
|
||||
@override String get stackTrace => 'Stacktracering:';
|
||||
}
|
||||
|
||||
// Path: licenses
|
||||
@@ -801,20 +789,12 @@ class _TranslationsLiveTvNl implements TranslationsLiveTvEn {
|
||||
|
||||
// Translations
|
||||
@override String get title => 'Live TV';
|
||||
@override String get channels => 'Zenders';
|
||||
@override String get guide => 'Gids';
|
||||
@override String get noChannels => 'Geen zenders beschikbaar';
|
||||
@override String get noDvr => 'Geen DVR geconfigureerd op een server';
|
||||
@override String get tuneFailed => 'Kan zender niet afstemmen';
|
||||
@override String get loading => 'Zenders laden...';
|
||||
@override String get nowPlaying => 'Nu aan het afspelen';
|
||||
@override String get noPrograms => 'Geen programmagegevens beschikbaar';
|
||||
@override String channelNumber({required Object number}) => 'Kanaal ${number}';
|
||||
@override String get live => 'LIVE';
|
||||
@override String get hd => 'HD';
|
||||
@override String get premiere => 'NIEUW';
|
||||
@override String get reloadGuide => 'Gids herladen';
|
||||
@override String get allChannels => 'Alle zenders';
|
||||
@override String get now => 'Nu';
|
||||
@override String get today => 'Vandaag';
|
||||
@override String get midnight => 'Middernacht';
|
||||
@@ -825,6 +805,7 @@ class _TranslationsLiveTvNl implements TranslationsLiveTvEn {
|
||||
@override String get lateNight => 'Late avond';
|
||||
@override String get whatsOn => 'Nu op TV';
|
||||
@override String get watchChannel => 'Kanaal bekijken';
|
||||
@override String get favorites => 'Favorieten';
|
||||
}
|
||||
|
||||
// Path: downloads
|
||||
@@ -1053,7 +1034,6 @@ class _TranslationsExternalPlayerNl implements TranslationsExternalPlayerEn {
|
||||
@override String get playerCommand => 'Commando';
|
||||
@override String get playerPackage => 'Pakketnaam';
|
||||
@override String get playerUrlScheme => 'URL-schema';
|
||||
@override String get customPlayer => 'Aangepaste speler';
|
||||
@override String get off => 'Uit';
|
||||
@override String get launchFailed => 'Kan externe speler niet openen';
|
||||
@override String appNotInstalled({required Object name}) => '${name} is niet geïnstalleerd';
|
||||
@@ -1192,6 +1172,7 @@ class _TranslationsLibrariesGroupingsNl implements TranslationsLibrariesGrouping
|
||||
final TranslationsNl _root; // ignore: unused_field
|
||||
|
||||
// Translations
|
||||
@override String get title => 'Groepering';
|
||||
@override String get all => 'Alles';
|
||||
@override String get movies => 'Films';
|
||||
@override String get shows => 'Series';
|
||||
@@ -1330,7 +1311,6 @@ extension on TranslationsNl {
|
||||
'common.shuffle' => 'Willekeurig',
|
||||
'common.addTo' => 'Toevoegen aan...',
|
||||
'common.createNew' => 'Nieuw aanmaken',
|
||||
'common.remove' => 'Verwijderen',
|
||||
'common.paste' => 'Plakken',
|
||||
'common.connect' => 'Verbinden',
|
||||
'common.disconnect' => 'Verbinding verbreken',
|
||||
@@ -1344,7 +1324,6 @@ extension on TranslationsNl {
|
||||
'common.settings' => 'Opties',
|
||||
'common.mute' => 'Dempen',
|
||||
'common.ok' => 'OK',
|
||||
'common.loading' => 'Laden...',
|
||||
'common.reconnect' => 'Opnieuw verbinden',
|
||||
'common.exitConfirmTitle' => 'App afsluiten?',
|
||||
'common.exitConfirmMessage' => 'Weet je zeker dat je wilt afsluiten?',
|
||||
@@ -1431,6 +1410,8 @@ extension on TranslationsNl {
|
||||
'settings.subtitleStylingDescription' => 'Pas ondertitel uiterlijk aan',
|
||||
'settings.smallSkipDuration' => 'Korte skip duur',
|
||||
'settings.largeSkipDuration' => 'Lange skip duur',
|
||||
'settings.rewindOnResume' => 'Terugspoelen bij hervatten',
|
||||
'settings.rewindOnResumeDescription' => 'Spoel dit aantal seconden terug bij het hervatten van afspelen',
|
||||
'settings.secondsUnit' => ({required Object seconds}) => '${seconds} seconden',
|
||||
'settings.defaultSleepTimer' => 'Standaard slaap timer',
|
||||
'settings.minutesUnit' => ({required Object minutes}) => 'bij ${minutes} minuten',
|
||||
@@ -1472,6 +1453,11 @@ extension on TranslationsNl {
|
||||
'settings.autoSkipCreditsDescription' => 'Credits automatisch overslaan en volgende aflevering afspelen',
|
||||
'settings.autoSkipDelay' => 'Vertraging Automatisch Overslaan',
|
||||
'settings.autoSkipDelayDescription' => ({required Object seconds}) => '${seconds} seconden wachten voor automatisch overslaan',
|
||||
'settings.introPattern' => 'Intromarkeringspatroon',
|
||||
'settings.introPatternDescription' => 'Reguliere expressie om intromarkeringen in hoofdstuktitels te herkennen',
|
||||
'settings.creditsPattern' => 'Aftitelingmarkeringspatroon',
|
||||
'settings.creditsPatternDescription' => 'Reguliere expressie om aftitelingmarkeringen in hoofdstuktitels te herkennen',
|
||||
'settings.invalidRegex' => 'Ongeldige reguliere expressie',
|
||||
'settings.downloads' => 'Downloads',
|
||||
'settings.downloadLocationDescription' => 'Kies waar gedownloade content wordt opgeslagen',
|
||||
'settings.downloadLocationDefault' => 'Standaard (App-opslag)',
|
||||
@@ -1503,6 +1489,8 @@ extension on TranslationsNl {
|
||||
'settings.confirmExitOnBackDescription' => 'Toon een bevestigingsvenster bij het drukken op terug om de app af te sluiten',
|
||||
'settings.showNavBarLabels' => 'Navigatiebalk labels tonen',
|
||||
'settings.showNavBarLabelsDescription' => 'Tekstlabels onder de pictogrammen van de navigatiebalk weergeven',
|
||||
'settings.liveTvDefaultFavorites' => 'Standaard favoriete zenders',
|
||||
'settings.liveTvDefaultFavoritesDescription' => 'Toon alleen favoriete zenders bij het openen van Live TV',
|
||||
'search.hint' => 'Zoek films, series, muziek...',
|
||||
'search.tryDifferentTerm' => 'Probeer een andere zoekterm',
|
||||
'search.searchYourMedia' => 'Zoek in je media',
|
||||
@@ -1528,9 +1516,6 @@ extension on TranslationsNl {
|
||||
'hotkeys.actions.subSeekPrev' => 'Naar vorige ondertitel',
|
||||
'hotkeys.actions.shaderToggle' => 'Shaders aan/uit',
|
||||
'hotkeys.actions.skipMarker' => 'Intro/aftiteling overslaan',
|
||||
'pinEntry.enterPin' => 'Voer PIN in',
|
||||
'pinEntry.showPin' => 'Toon PIN',
|
||||
'pinEntry.hidePin' => 'Verberg PIN',
|
||||
'fileInfo.title' => 'Bestand info',
|
||||
'fileInfo.video' => 'Video',
|
||||
'fileInfo.audio' => 'Audio',
|
||||
@@ -1594,7 +1579,6 @@ extension on TranslationsNl {
|
||||
'videoControls.unlockRotation' => 'Ontgrendel rotatie',
|
||||
'videoControls.timerActive' => 'Timer actief',
|
||||
'videoControls.playbackWillPauseIn' => ({required Object duration}) => 'Afspelen wordt gepauzeerd over ${duration}',
|
||||
'videoControls.sleepTimerCompleted' => 'Slaaptimer voltooid - afspelen gepauzeerd',
|
||||
'videoControls.stillWatching' => 'Kijk je nog?',
|
||||
'videoControls.pausingIn' => ({required Object seconds}) => 'Pauze over ${seconds}s',
|
||||
'videoControls.continueWatching' => 'Doorgaan',
|
||||
@@ -1611,20 +1595,20 @@ extension on TranslationsNl {
|
||||
'videoControls.muteButton' => 'Dempen',
|
||||
'videoControls.unmuteButton' => 'Dempen opheffen',
|
||||
'videoControls.settingsButton' => 'Video-instellingen',
|
||||
'videoControls.audioTrackButton' => 'Audiosporen',
|
||||
'videoControls.subtitlesButton' => 'Ondertitels',
|
||||
'videoControls.tracksButton' => 'Audio en ondertitels',
|
||||
'videoControls.chaptersButton' => 'Hoofdstukken',
|
||||
'videoControls.versionsButton' => 'Videoversies',
|
||||
'videoControls.pipButton' => 'Beeld-in-beeld modus',
|
||||
'videoControls.aspectRatioButton' => 'Beeldverhouding',
|
||||
'videoControls.ambientLighting' => 'Omgevingsverlichting',
|
||||
'videoControls.ambientLightingOn' => 'Omgevingsverlichting inschakelen',
|
||||
'videoControls.ambientLightingOff' => 'Omgevingsverlichting uitschakelen',
|
||||
'videoControls.fullscreenButton' => 'Volledig scherm activeren',
|
||||
'videoControls.exitFullscreenButton' => 'Volledig scherm verlaten',
|
||||
'videoControls.alwaysOnTopButton' => 'Altijd bovenop',
|
||||
'videoControls.rotationLockButton' => 'Rotatievergrendeling',
|
||||
'videoControls.lockScreen' => 'Vergrendel scherm',
|
||||
'videoControls.unlockScreen' => 'Ontgrendel scherm',
|
||||
'videoControls.screenLockButton' => 'Schermvergrendeling',
|
||||
'videoControls.longPressToUnlock' => 'Lang indrukken om te ontgrendelen',
|
||||
'videoControls.timelineSlider' => 'Videotijdlijn',
|
||||
'videoControls.volumeSlider' => 'Volumeniveau',
|
||||
'videoControls.endsAt' => ({required Object time}) => 'Eindigt om ${time}',
|
||||
@@ -1710,11 +1694,8 @@ extension on TranslationsNl {
|
||||
'discover.overview' => 'Overzicht',
|
||||
'discover.cast' => 'Acteurs',
|
||||
'discover.extras' => 'Trailers & Extra\'s',
|
||||
'discover.seasons' => 'Seizoenen',
|
||||
'discover.studio' => 'Studio',
|
||||
'discover.rating' => 'Leeftijd',
|
||||
'discover.episodeCount' => ({required Object count}) => '${count} afleveringen',
|
||||
'discover.watchedProgress' => ({required Object watched, required Object total}) => '${watched}/${total} gekeken',
|
||||
'discover.movie' => 'Film',
|
||||
'discover.tvShow' => 'TV Serie',
|
||||
'discover.minutesLeft' => ({required Object minutes}) => '${minutes} min over',
|
||||
@@ -1769,6 +1750,7 @@ extension on TranslationsNl {
|
||||
'libraries.tabs.browse' => 'Bladeren',
|
||||
'libraries.tabs.collections' => 'Collecties',
|
||||
'libraries.tabs.playlists' => 'Afspeellijsten',
|
||||
'libraries.groupings.title' => 'Groepering',
|
||||
'libraries.groupings.all' => 'Alles',
|
||||
'libraries.groupings.movies' => 'Films',
|
||||
'libraries.groupings.shows' => 'Series',
|
||||
@@ -1791,8 +1773,6 @@ extension on TranslationsNl {
|
||||
'logs.clearLogs' => 'Wis logs',
|
||||
'logs.copyLogs' => 'Kopieer logs',
|
||||
'logs.uploadLogs' => 'Logs uploaden',
|
||||
'logs.error' => 'Fout:',
|
||||
'logs.stackTrace' => 'Stacktracering:',
|
||||
'licenses.relatedPackages' => 'Gerelateerde pakketten',
|
||||
'licenses.license' => 'Licentie',
|
||||
'licenses.licenseNumber' => ({required Object number}) => 'Licentie ${number}',
|
||||
@@ -1801,23 +1781,13 @@ extension on TranslationsNl {
|
||||
'navigation.downloads' => 'Downloads',
|
||||
'navigation.liveTv' => 'Live TV',
|
||||
'liveTv.title' => 'Live TV',
|
||||
'liveTv.channels' => 'Zenders',
|
||||
'liveTv.guide' => 'Gids',
|
||||
'liveTv.noChannels' => 'Geen zenders beschikbaar',
|
||||
'liveTv.noDvr' => 'Geen DVR geconfigureerd op een server',
|
||||
'liveTv.tuneFailed' => 'Kan zender niet afstemmen',
|
||||
'liveTv.loading' => 'Zenders laden...',
|
||||
'liveTv.nowPlaying' => 'Nu aan het afspelen',
|
||||
'liveTv.noPrograms' => 'Geen programmagegevens beschikbaar',
|
||||
'liveTv.channelNumber' => ({required Object number}) => 'Kanaal ${number}',
|
||||
'liveTv.live' => 'LIVE',
|
||||
'liveTv.hd' => 'HD',
|
||||
'liveTv.premiere' => 'NIEUW',
|
||||
'liveTv.reloadGuide' => 'Gids herladen',
|
||||
'liveTv.allChannels' => 'Alle zenders',
|
||||
'liveTv.now' => 'Nu',
|
||||
_ => null,
|
||||
} ?? switch (path) {
|
||||
'liveTv.today' => 'Vandaag',
|
||||
'liveTv.midnight' => 'Middernacht',
|
||||
'liveTv.overnight' => 'Nacht',
|
||||
@@ -1827,6 +1797,9 @@ extension on TranslationsNl {
|
||||
'liveTv.lateNight' => 'Late avond',
|
||||
'liveTv.whatsOn' => 'Nu op TV',
|
||||
'liveTv.watchChannel' => 'Kanaal bekijken',
|
||||
_ => null,
|
||||
} ?? switch (path) {
|
||||
'liveTv.favorites' => 'Favorieten',
|
||||
'downloads.title' => 'Downloads',
|
||||
'downloads.manage' => 'Beheren',
|
||||
'downloads.tvShows' => 'Series',
|
||||
@@ -2049,7 +2022,6 @@ extension on TranslationsNl {
|
||||
'externalPlayer.playerCommand' => 'Commando',
|
||||
'externalPlayer.playerPackage' => 'Pakketnaam',
|
||||
'externalPlayer.playerUrlScheme' => 'URL-schema',
|
||||
'externalPlayer.customPlayer' => 'Aangepaste speler',
|
||||
'externalPlayer.off' => 'Uit',
|
||||
'externalPlayer.launchFailed' => 'Kan externe speler niet openen',
|
||||
'externalPlayer.appNotInstalled' => ({required Object name}) => '${name} is niet geïnstalleerd',
|
||||
|
||||
+32
-60
@@ -45,7 +45,6 @@ class TranslationsPl with BaseTranslations<AppLocale, Translations> implements T
|
||||
@override late final _TranslationsSettingsPl settings = _TranslationsSettingsPl._(_root);
|
||||
@override late final _TranslationsSearchPl search = _TranslationsSearchPl._(_root);
|
||||
@override late final _TranslationsHotkeysPl hotkeys = _TranslationsHotkeysPl._(_root);
|
||||
@override late final _TranslationsPinEntryPl pinEntry = _TranslationsPinEntryPl._(_root);
|
||||
@override late final _TranslationsFileInfoPl fileInfo = _TranslationsFileInfoPl._(_root);
|
||||
@override late final _TranslationsMediaMenuPl mediaMenu = _TranslationsMediaMenuPl._(_root);
|
||||
@override late final _TranslationsAccessibilityPl accessibility = _TranslationsAccessibilityPl._(_root);
|
||||
@@ -128,7 +127,6 @@ class _TranslationsCommonPl implements TranslationsCommonEn {
|
||||
@override String get shuffle => 'Losowo';
|
||||
@override String get addTo => 'Dodaj do...';
|
||||
@override String get createNew => 'Utwórz nowy';
|
||||
@override String get remove => 'Usuń';
|
||||
@override String get paste => 'Wklej';
|
||||
@override String get connect => 'Połącz';
|
||||
@override String get disconnect => 'Rozłącz';
|
||||
@@ -142,7 +140,6 @@ class _TranslationsCommonPl implements TranslationsCommonEn {
|
||||
@override String get settings => 'Ustawienia';
|
||||
@override String get mute => 'Wycisz';
|
||||
@override String get ok => 'OK';
|
||||
@override String get loading => 'Ładowanie...';
|
||||
@override String get reconnect => 'Połącz ponownie';
|
||||
@override String get exitConfirmTitle => 'Zamknąć aplikację?';
|
||||
@override String get exitConfirmMessage => 'Czy na pewno chcesz wyjść?';
|
||||
@@ -256,6 +253,8 @@ class _TranslationsSettingsPl implements TranslationsSettingsEn {
|
||||
@override String get subtitleStylingDescription => 'Dostosuj wygląd napisów';
|
||||
@override String get smallSkipDuration => 'Krótki skok';
|
||||
@override String get largeSkipDuration => 'Długi skok';
|
||||
@override String get rewindOnResume => 'Przewiń przy wznowieniu';
|
||||
@override String get rewindOnResumeDescription => 'Przewiń o tę wartość przy wznawianiu odtwarzania';
|
||||
@override String secondsUnit({required Object seconds}) => '${seconds} sekund';
|
||||
@override String get defaultSleepTimer => 'Domyślny wyłącznik czasowy';
|
||||
@override String minutesUnit({required Object minutes}) => '${minutes} minut';
|
||||
@@ -297,6 +296,11 @@ class _TranslationsSettingsPl implements TranslationsSettingsEn {
|
||||
@override String get autoSkipCreditsDescription => 'Automatycznie pomijaj napisy końcowe i odtwórz następny odcinek';
|
||||
@override String get autoSkipDelay => 'Opóźnienie automatycznego pomijania';
|
||||
@override String autoSkipDelayDescription({required Object seconds}) => 'Czekaj ${seconds} sekund przed automatycznym pominięciem';
|
||||
@override String get introPattern => 'Wzorzec znacznika intro';
|
||||
@override String get introPatternDescription => 'Wyrażenie regularne do rozpoznawania znaczników intro w tytułach rozdziałów';
|
||||
@override String get creditsPattern => 'Wzorzec znacznika napisów końcowych';
|
||||
@override String get creditsPatternDescription => 'Wyrażenie regularne do rozpoznawania znaczników napisów końcowych w tytułach rozdziałów';
|
||||
@override String get invalidRegex => 'Nieprawidłowe wyrażenie regularne';
|
||||
@override String get downloads => 'Pobrania';
|
||||
@override String get downloadLocationDescription => 'Wybierz miejsce przechowywania pobranych treści';
|
||||
@override String get downloadLocationDefault => 'Domyślne (Pamięć aplikacji)';
|
||||
@@ -328,6 +332,8 @@ class _TranslationsSettingsPl implements TranslationsSettingsEn {
|
||||
@override String get confirmExitOnBackDescription => 'Pokaż dialog potwierdzenia przy naciśnięciu wstecz, aby wyjść z aplikacji';
|
||||
@override String get showNavBarLabels => 'Pokaż etykiety paska nawigacji';
|
||||
@override String get showNavBarLabelsDescription => 'Wyświetl tekstowe etykiety pod ikonami paska nawigacji';
|
||||
@override String get liveTvDefaultFavorites => 'Domyślnie ulubione kanały';
|
||||
@override String get liveTvDefaultFavoritesDescription => 'Pokaż tylko ulubione kanały po otwarciu telewizji na żywo';
|
||||
}
|
||||
|
||||
// Path: search
|
||||
@@ -355,18 +361,6 @@ class _TranslationsHotkeysPl implements TranslationsHotkeysEn {
|
||||
@override late final _TranslationsHotkeysActionsPl actions = _TranslationsHotkeysActionsPl._(_root);
|
||||
}
|
||||
|
||||
// Path: pinEntry
|
||||
class _TranslationsPinEntryPl implements TranslationsPinEntryEn {
|
||||
_TranslationsPinEntryPl._(this._root);
|
||||
|
||||
final TranslationsPl _root; // ignore: unused_field
|
||||
|
||||
// Translations
|
||||
@override String get enterPin => 'Wprowadź PIN';
|
||||
@override String get showPin => 'Pokaż PIN';
|
||||
@override String get hidePin => 'Ukryj PIN';
|
||||
}
|
||||
|
||||
// Path: fileInfo
|
||||
class _TranslationsFileInfoPl implements TranslationsFileInfoEn {
|
||||
_TranslationsFileInfoPl._(this._root);
|
||||
@@ -473,7 +467,6 @@ class _TranslationsVideoControlsPl implements 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 sleepTimerCompleted => 'Wyłącznik czasowy zakończony — odtwarzanie wstrzymane';
|
||||
@override String get stillWatching => 'Nadal oglądasz?';
|
||||
@override String pausingIn({required Object seconds}) => 'Pauza za ${seconds}s';
|
||||
@override String get continueWatching => 'Kontynuuj';
|
||||
@@ -490,20 +483,20 @@ class _TranslationsVideoControlsPl implements TranslationsVideoControlsEn {
|
||||
@override String get muteButton => 'Wycisz';
|
||||
@override String get unmuteButton => 'Wyłącz wyciszenie';
|
||||
@override String get settingsButton => 'Ustawienia wideo';
|
||||
@override String get audioTrackButton => 'Ścieżki audio';
|
||||
@override String get subtitlesButton => 'Napisy';
|
||||
@override String get tracksButton => 'Audio i napisy';
|
||||
@override String get chaptersButton => 'Rozdziały';
|
||||
@override String get versionsButton => 'Wersje wideo';
|
||||
@override String get pipButton => 'Tryb obraz w obrazie';
|
||||
@override String get aspectRatioButton => 'Proporcje';
|
||||
@override String get ambientLighting => 'Oświetlenie otoczenia';
|
||||
@override String get ambientLightingOn => 'Włącz oświetlenie otoczenia';
|
||||
@override String get ambientLightingOff => 'Wyłącz oświetlenie otoczenia';
|
||||
@override String get fullscreenButton => 'Wejdź w pełny ekran';
|
||||
@override String get exitFullscreenButton => 'Wyjdź z pełnego ekranu';
|
||||
@override String get alwaysOnTopButton => 'Zawsze na wierzchu';
|
||||
@override String get rotationLockButton => 'Blokada obrotu';
|
||||
@override String get lockScreen => 'Zablokuj ekran';
|
||||
@override String get unlockScreen => 'Odblokuj ekran';
|
||||
@override String get screenLockButton => 'Blokada ekranu';
|
||||
@override String get longPressToUnlock => 'Przytrzymaj, aby odblokować';
|
||||
@override String get timelineSlider => 'Oś czasu wideo';
|
||||
@override String get volumeSlider => 'Poziom głośności';
|
||||
@override String endsAt({required Object time}) => 'Kończy się o ${time}';
|
||||
@@ -637,11 +630,8 @@ class _TranslationsDiscoverPl implements TranslationsDiscoverEn {
|
||||
@override String get overview => 'Opis';
|
||||
@override String get cast => 'Obsada';
|
||||
@override String get extras => 'Zwiastuny i dodatki';
|
||||
@override String get seasons => 'Sezony';
|
||||
@override String get studio => 'Studio';
|
||||
@override String get rating => 'Ocena';
|
||||
@override String episodeCount({required Object count}) => '${count} odcinków';
|
||||
@override String watchedProgress({required Object watched, required Object total}) => '${watched}/${total} obejrzanych';
|
||||
@override String get movie => 'Film';
|
||||
@override String get tvShow => 'Serial TV';
|
||||
@override String minutesLeft({required Object minutes}) => '${minutes} min pozostało';
|
||||
@@ -764,8 +754,6 @@ class _TranslationsLogsPl implements TranslationsLogsEn {
|
||||
@override String get clearLogs => 'Wyczyść logi';
|
||||
@override String get copyLogs => 'Kopiuj logi';
|
||||
@override String get uploadLogs => 'Prześlij logi';
|
||||
@override String get error => 'Błąd:';
|
||||
@override String get stackTrace => 'Ślad stosu:';
|
||||
}
|
||||
|
||||
// Path: licenses
|
||||
@@ -801,20 +789,12 @@ class _TranslationsLiveTvPl implements TranslationsLiveTvEn {
|
||||
|
||||
// Translations
|
||||
@override String get title => 'TV na żywo';
|
||||
@override String get channels => 'Kanały';
|
||||
@override String get guide => 'Przewodnik';
|
||||
@override String get noChannels => 'Brak dostępnych kanałów';
|
||||
@override String get noDvr => 'Brak skonfigurowanego DVR na żadnym serwerze';
|
||||
@override String get tuneFailed => 'Nie udało się dostroić kanału';
|
||||
@override String get loading => 'Ładowanie kanałów...';
|
||||
@override String get nowPlaying => 'Teraz odtwarzane';
|
||||
@override String get noPrograms => 'Brak danych o programach';
|
||||
@override String channelNumber({required Object number}) => 'Kn. ${number}';
|
||||
@override String get live => 'NA ŻYWO';
|
||||
@override String get hd => 'HD';
|
||||
@override String get premiere => 'NOWE';
|
||||
@override String get reloadGuide => 'Odśwież przewodnik';
|
||||
@override String get allChannels => 'Wszystkie kanały';
|
||||
@override String get now => 'Teraz';
|
||||
@override String get today => 'Dzisiaj';
|
||||
@override String get midnight => 'Północ';
|
||||
@@ -825,6 +805,7 @@ class _TranslationsLiveTvPl implements TranslationsLiveTvEn {
|
||||
@override String get lateNight => 'Późna noc';
|
||||
@override String get whatsOn => 'Co leci';
|
||||
@override String get watchChannel => 'Oglądaj kanał';
|
||||
@override String get favorites => 'Ulubione';
|
||||
}
|
||||
|
||||
// Path: collections
|
||||
@@ -1053,7 +1034,6 @@ class _TranslationsExternalPlayerPl implements TranslationsExternalPlayerEn {
|
||||
@override String get playerCommand => 'Polecenie';
|
||||
@override String get playerPackage => 'Nazwa pakietu';
|
||||
@override String get playerUrlScheme => 'Schemat URL';
|
||||
@override String get customPlayer => 'Niestandardowy odtwarzacz';
|
||||
@override String get off => 'Wyłączony';
|
||||
@override String get launchFailed => 'Nie udało się otworzyć zewnętrznego odtwarzacza';
|
||||
@override String appNotInstalled({required Object name}) => '${name} nie jest zainstalowany';
|
||||
@@ -1192,6 +1172,7 @@ class _TranslationsLibrariesGroupingsPl implements TranslationsLibrariesGrouping
|
||||
final TranslationsPl _root; // ignore: unused_field
|
||||
|
||||
// Translations
|
||||
@override String get title => 'Grupowanie';
|
||||
@override String get all => 'Wszystkie';
|
||||
@override String get movies => 'Filmy';
|
||||
@override String get shows => 'Seriale TV';
|
||||
@@ -1330,7 +1311,6 @@ extension on TranslationsPl {
|
||||
'common.shuffle' => 'Losowo',
|
||||
'common.addTo' => 'Dodaj do...',
|
||||
'common.createNew' => 'Utwórz nowy',
|
||||
'common.remove' => 'Usuń',
|
||||
'common.paste' => 'Wklej',
|
||||
'common.connect' => 'Połącz',
|
||||
'common.disconnect' => 'Rozłącz',
|
||||
@@ -1344,7 +1324,6 @@ extension on TranslationsPl {
|
||||
'common.settings' => 'Ustawienia',
|
||||
'common.mute' => 'Wycisz',
|
||||
'common.ok' => 'OK',
|
||||
'common.loading' => 'Ładowanie...',
|
||||
'common.reconnect' => 'Połącz ponownie',
|
||||
'common.exitConfirmTitle' => 'Zamknąć aplikację?',
|
||||
'common.exitConfirmMessage' => 'Czy na pewno chcesz wyjść?',
|
||||
@@ -1431,6 +1410,8 @@ extension on TranslationsPl {
|
||||
'settings.subtitleStylingDescription' => 'Dostosuj wygląd napisów',
|
||||
'settings.smallSkipDuration' => 'Krótki skok',
|
||||
'settings.largeSkipDuration' => 'Długi skok',
|
||||
'settings.rewindOnResume' => 'Przewiń przy wznowieniu',
|
||||
'settings.rewindOnResumeDescription' => 'Przewiń o tę wartość przy wznawianiu odtwarzania',
|
||||
'settings.secondsUnit' => ({required Object seconds}) => '${seconds} sekund',
|
||||
'settings.defaultSleepTimer' => 'Domyślny wyłącznik czasowy',
|
||||
'settings.minutesUnit' => ({required Object minutes}) => '${minutes} minut',
|
||||
@@ -1472,6 +1453,11 @@ extension on TranslationsPl {
|
||||
'settings.autoSkipCreditsDescription' => 'Automatycznie pomijaj napisy końcowe i odtwórz następny odcinek',
|
||||
'settings.autoSkipDelay' => 'Opóźnienie automatycznego pomijania',
|
||||
'settings.autoSkipDelayDescription' => ({required Object seconds}) => 'Czekaj ${seconds} sekund przed automatycznym pominięciem',
|
||||
'settings.introPattern' => 'Wzorzec znacznika intro',
|
||||
'settings.introPatternDescription' => 'Wyrażenie regularne do rozpoznawania znaczników intro w tytułach rozdziałów',
|
||||
'settings.creditsPattern' => 'Wzorzec znacznika napisów końcowych',
|
||||
'settings.creditsPatternDescription' => 'Wyrażenie regularne do rozpoznawania znaczników napisów końcowych w tytułach rozdziałów',
|
||||
'settings.invalidRegex' => 'Nieprawidłowe wyrażenie regularne',
|
||||
'settings.downloads' => 'Pobrania',
|
||||
'settings.downloadLocationDescription' => 'Wybierz miejsce przechowywania pobranych treści',
|
||||
'settings.downloadLocationDefault' => 'Domyślne (Pamięć aplikacji)',
|
||||
@@ -1503,6 +1489,8 @@ extension on TranslationsPl {
|
||||
'settings.confirmExitOnBackDescription' => 'Pokaż dialog potwierdzenia przy naciśnięciu wstecz, aby wyjść z aplikacji',
|
||||
'settings.showNavBarLabels' => 'Pokaż etykiety paska nawigacji',
|
||||
'settings.showNavBarLabelsDescription' => 'Wyświetl tekstowe etykiety pod ikonami paska nawigacji',
|
||||
'settings.liveTvDefaultFavorites' => 'Domyślnie ulubione kanały',
|
||||
'settings.liveTvDefaultFavoritesDescription' => 'Pokaż tylko ulubione kanały po otwarciu telewizji na żywo',
|
||||
'search.hint' => 'Szukaj filmów, seriali, muzyki...',
|
||||
'search.tryDifferentTerm' => 'Spróbuj innego wyszukiwania',
|
||||
'search.searchYourMedia' => 'Przeszukaj swoje media',
|
||||
@@ -1528,9 +1516,6 @@ extension on TranslationsPl {
|
||||
'hotkeys.actions.subSeekPrev' => 'Przewiń do poprzedniego napisu',
|
||||
'hotkeys.actions.shaderToggle' => 'Przełącz shadery',
|
||||
'hotkeys.actions.skipMarker' => 'Pomiń intro/napisy końcowe',
|
||||
'pinEntry.enterPin' => 'Wprowadź PIN',
|
||||
'pinEntry.showPin' => 'Pokaż PIN',
|
||||
'pinEntry.hidePin' => 'Ukryj PIN',
|
||||
'fileInfo.title' => 'Informacje o pliku',
|
||||
'fileInfo.video' => 'Wideo',
|
||||
'fileInfo.audio' => 'Audio',
|
||||
@@ -1594,7 +1579,6 @@ extension on TranslationsPl {
|
||||
'videoControls.unlockRotation' => 'Odblokuj obrót',
|
||||
'videoControls.timerActive' => 'Wyłącznik aktywny',
|
||||
'videoControls.playbackWillPauseIn' => ({required Object duration}) => 'Odtwarzanie zatrzyma się za ${duration}',
|
||||
'videoControls.sleepTimerCompleted' => 'Wyłącznik czasowy zakończony — odtwarzanie wstrzymane',
|
||||
'videoControls.stillWatching' => 'Nadal oglądasz?',
|
||||
'videoControls.pausingIn' => ({required Object seconds}) => 'Pauza za ${seconds}s',
|
||||
'videoControls.continueWatching' => 'Kontynuuj',
|
||||
@@ -1611,20 +1595,20 @@ extension on TranslationsPl {
|
||||
'videoControls.muteButton' => 'Wycisz',
|
||||
'videoControls.unmuteButton' => 'Wyłącz wyciszenie',
|
||||
'videoControls.settingsButton' => 'Ustawienia wideo',
|
||||
'videoControls.audioTrackButton' => 'Ścieżki audio',
|
||||
'videoControls.subtitlesButton' => 'Napisy',
|
||||
'videoControls.tracksButton' => 'Audio i napisy',
|
||||
'videoControls.chaptersButton' => 'Rozdziały',
|
||||
'videoControls.versionsButton' => 'Wersje wideo',
|
||||
'videoControls.pipButton' => 'Tryb obraz w obrazie',
|
||||
'videoControls.aspectRatioButton' => 'Proporcje',
|
||||
'videoControls.ambientLighting' => 'Oświetlenie otoczenia',
|
||||
'videoControls.ambientLightingOn' => 'Włącz oświetlenie otoczenia',
|
||||
'videoControls.ambientLightingOff' => 'Wyłącz oświetlenie otoczenia',
|
||||
'videoControls.fullscreenButton' => 'Wejdź w pełny ekran',
|
||||
'videoControls.exitFullscreenButton' => 'Wyjdź z pełnego ekranu',
|
||||
'videoControls.alwaysOnTopButton' => 'Zawsze na wierzchu',
|
||||
'videoControls.rotationLockButton' => 'Blokada obrotu',
|
||||
'videoControls.lockScreen' => 'Zablokuj ekran',
|
||||
'videoControls.unlockScreen' => 'Odblokuj ekran',
|
||||
'videoControls.screenLockButton' => 'Blokada ekranu',
|
||||
'videoControls.longPressToUnlock' => 'Przytrzymaj, aby odblokować',
|
||||
'videoControls.timelineSlider' => 'Oś czasu wideo',
|
||||
'videoControls.volumeSlider' => 'Poziom głośności',
|
||||
'videoControls.endsAt' => ({required Object time}) => 'Kończy się o ${time}',
|
||||
@@ -1710,11 +1694,8 @@ extension on TranslationsPl {
|
||||
'discover.overview' => 'Opis',
|
||||
'discover.cast' => 'Obsada',
|
||||
'discover.extras' => 'Zwiastuny i dodatki',
|
||||
'discover.seasons' => 'Sezony',
|
||||
'discover.studio' => 'Studio',
|
||||
'discover.rating' => 'Ocena',
|
||||
'discover.episodeCount' => ({required Object count}) => '${count} odcinków',
|
||||
'discover.watchedProgress' => ({required Object watched, required Object total}) => '${watched}/${total} obejrzanych',
|
||||
'discover.movie' => 'Film',
|
||||
'discover.tvShow' => 'Serial TV',
|
||||
'discover.minutesLeft' => ({required Object minutes}) => '${minutes} min pozostało',
|
||||
@@ -1769,6 +1750,7 @@ extension on TranslationsPl {
|
||||
'libraries.tabs.browse' => 'Przeglądaj',
|
||||
'libraries.tabs.collections' => 'Kolekcje',
|
||||
'libraries.tabs.playlists' => 'Playlisty',
|
||||
'libraries.groupings.title' => 'Grupowanie',
|
||||
'libraries.groupings.all' => 'Wszystkie',
|
||||
'libraries.groupings.movies' => 'Filmy',
|
||||
'libraries.groupings.shows' => 'Seriale TV',
|
||||
@@ -1791,8 +1773,6 @@ extension on TranslationsPl {
|
||||
'logs.clearLogs' => 'Wyczyść logi',
|
||||
'logs.copyLogs' => 'Kopiuj logi',
|
||||
'logs.uploadLogs' => 'Prześlij logi',
|
||||
'logs.error' => 'Błąd:',
|
||||
'logs.stackTrace' => 'Ślad stosu:',
|
||||
'licenses.relatedPackages' => 'Powiązane pakiety',
|
||||
'licenses.license' => 'Licencja',
|
||||
'licenses.licenseNumber' => ({required Object number}) => 'Licencja ${number}',
|
||||
@@ -1801,23 +1781,13 @@ extension on TranslationsPl {
|
||||
'navigation.downloads' => 'Pobrania',
|
||||
'navigation.liveTv' => 'TV na żywo',
|
||||
'liveTv.title' => 'TV na żywo',
|
||||
'liveTv.channels' => 'Kanały',
|
||||
'liveTv.guide' => 'Przewodnik',
|
||||
'liveTv.noChannels' => 'Brak dostępnych kanałów',
|
||||
'liveTv.noDvr' => 'Brak skonfigurowanego DVR na żadnym serwerze',
|
||||
'liveTv.tuneFailed' => 'Nie udało się dostroić kanału',
|
||||
'liveTv.loading' => 'Ładowanie kanałów...',
|
||||
'liveTv.nowPlaying' => 'Teraz odtwarzane',
|
||||
'liveTv.noPrograms' => 'Brak danych o programach',
|
||||
'liveTv.channelNumber' => ({required Object number}) => 'Kn. ${number}',
|
||||
'liveTv.live' => 'NA ŻYWO',
|
||||
'liveTv.hd' => 'HD',
|
||||
'liveTv.premiere' => 'NOWE',
|
||||
'liveTv.reloadGuide' => 'Odśwież przewodnik',
|
||||
'liveTv.allChannels' => 'Wszystkie kanały',
|
||||
'liveTv.now' => 'Teraz',
|
||||
_ => null,
|
||||
} ?? switch (path) {
|
||||
'liveTv.today' => 'Dzisiaj',
|
||||
'liveTv.midnight' => 'Północ',
|
||||
'liveTv.overnight' => 'Nocą',
|
||||
@@ -1827,6 +1797,9 @@ extension on TranslationsPl {
|
||||
'liveTv.lateNight' => 'Późna noc',
|
||||
'liveTv.whatsOn' => 'Co leci',
|
||||
'liveTv.watchChannel' => 'Oglądaj kanał',
|
||||
_ => null,
|
||||
} ?? switch (path) {
|
||||
'liveTv.favorites' => 'Ulubione',
|
||||
'collections.title' => 'Kolekcje',
|
||||
'collections.collection' => 'Kolekcja',
|
||||
'collections.empty' => 'Kolekcja jest pusta',
|
||||
@@ -2049,7 +2022,6 @@ extension on TranslationsPl {
|
||||
'externalPlayer.playerCommand' => 'Polecenie',
|
||||
'externalPlayer.playerPackage' => 'Nazwa pakietu',
|
||||
'externalPlayer.playerUrlScheme' => 'Schemat URL',
|
||||
'externalPlayer.customPlayer' => 'Niestandardowy odtwarzacz',
|
||||
'externalPlayer.off' => 'Wyłączony',
|
||||
'externalPlayer.launchFailed' => 'Nie udało się otworzyć zewnętrznego odtwarzacza',
|
||||
'externalPlayer.appNotInstalled' => ({required Object name}) => '${name} nie jest zainstalowany',
|
||||
|
||||
+32
-60
@@ -45,7 +45,6 @@ class TranslationsPt with BaseTranslations<AppLocale, Translations> implements T
|
||||
@override late final _TranslationsSettingsPt settings = _TranslationsSettingsPt._(_root);
|
||||
@override late final _TranslationsSearchPt search = _TranslationsSearchPt._(_root);
|
||||
@override late final _TranslationsHotkeysPt hotkeys = _TranslationsHotkeysPt._(_root);
|
||||
@override late final _TranslationsPinEntryPt pinEntry = _TranslationsPinEntryPt._(_root);
|
||||
@override late final _TranslationsFileInfoPt fileInfo = _TranslationsFileInfoPt._(_root);
|
||||
@override late final _TranslationsMediaMenuPt mediaMenu = _TranslationsMediaMenuPt._(_root);
|
||||
@override late final _TranslationsAccessibilityPt accessibility = _TranslationsAccessibilityPt._(_root);
|
||||
@@ -128,7 +127,6 @@ class _TranslationsCommonPt implements TranslationsCommonEn {
|
||||
@override String get shuffle => 'Aleatório';
|
||||
@override String get addTo => 'Adicionar a...';
|
||||
@override String get createNew => 'Criar novo';
|
||||
@override String get remove => 'Remover';
|
||||
@override String get paste => 'Colar';
|
||||
@override String get connect => 'Conectar';
|
||||
@override String get disconnect => 'Desconectar';
|
||||
@@ -142,7 +140,6 @@ class _TranslationsCommonPt implements TranslationsCommonEn {
|
||||
@override String get settings => 'Configurações';
|
||||
@override String get mute => 'Silenciar';
|
||||
@override String get ok => 'OK';
|
||||
@override String get loading => 'Carregando...';
|
||||
@override String get reconnect => 'Reconectar';
|
||||
@override String get exitConfirmTitle => 'Sair do app?';
|
||||
@override String get exitConfirmMessage => 'Tem certeza que deseja sair?';
|
||||
@@ -256,6 +253,8 @@ class _TranslationsSettingsPt implements TranslationsSettingsEn {
|
||||
@override String get subtitleStylingDescription => 'Personalizar aparência das legendas';
|
||||
@override String get smallSkipDuration => 'Duração do Avanço Curto';
|
||||
@override String get largeSkipDuration => 'Duração do Avanço Longo';
|
||||
@override String get rewindOnResume => 'Rebobinar ao retomar';
|
||||
@override String get rewindOnResumeDescription => 'Rebobinar esta quantidade ao retomar a reprodução';
|
||||
@override String secondsUnit({required Object seconds}) => '${seconds} segundos';
|
||||
@override String get defaultSleepTimer => 'Timer de Sono Padrão';
|
||||
@override String minutesUnit({required Object minutes}) => '${minutes} minutos';
|
||||
@@ -297,6 +296,11 @@ class _TranslationsSettingsPt implements TranslationsSettingsEn {
|
||||
@override String get autoSkipCreditsDescription => 'Pular créditos automaticamente e reproduzir próximo episódio';
|
||||
@override String get autoSkipDelay => 'Atraso do Pulo Automático';
|
||||
@override String autoSkipDelayDescription({required Object seconds}) => 'Aguardar ${seconds} segundos antes de pular automaticamente';
|
||||
@override String get introPattern => 'Padrão de marcador de intro';
|
||||
@override String get introPatternDescription => 'Expressão regular para corresponder marcadores de intro nos títulos dos capítulos';
|
||||
@override String get creditsPattern => 'Padrão de marcador de créditos';
|
||||
@override String get creditsPatternDescription => 'Expressão regular para corresponder marcadores de créditos nos títulos dos capítulos';
|
||||
@override String get invalidRegex => 'Expressão regular inválida';
|
||||
@override String get downloads => 'Downloads';
|
||||
@override String get downloadLocationDescription => 'Escolha onde armazenar conteúdo baixado';
|
||||
@override String get downloadLocationDefault => 'Padrão (Armazenamento do App)';
|
||||
@@ -328,6 +332,8 @@ class _TranslationsSettingsPt implements TranslationsSettingsEn {
|
||||
@override String get confirmExitOnBackDescription => 'Mostrar diálogo de confirmação ao pressionar voltar para sair do app';
|
||||
@override String get showNavBarLabels => 'Mostrar Rótulos da Barra de Navegação';
|
||||
@override String get showNavBarLabelsDescription => 'Exibir rótulos de texto sob os ícones da barra de navegação';
|
||||
@override String get liveTvDefaultFavorites => 'Canais favoritos por padrão';
|
||||
@override String get liveTvDefaultFavoritesDescription => 'Mostrar apenas canais favoritos ao abrir TV ao vivo';
|
||||
}
|
||||
|
||||
// Path: search
|
||||
@@ -355,18 +361,6 @@ class _TranslationsHotkeysPt implements TranslationsHotkeysEn {
|
||||
@override late final _TranslationsHotkeysActionsPt actions = _TranslationsHotkeysActionsPt._(_root);
|
||||
}
|
||||
|
||||
// Path: pinEntry
|
||||
class _TranslationsPinEntryPt implements TranslationsPinEntryEn {
|
||||
_TranslationsPinEntryPt._(this._root);
|
||||
|
||||
final TranslationsPt _root; // ignore: unused_field
|
||||
|
||||
// Translations
|
||||
@override String get enterPin => 'Inserir PIN';
|
||||
@override String get showPin => 'Mostrar PIN';
|
||||
@override String get hidePin => 'Ocultar PIN';
|
||||
}
|
||||
|
||||
// Path: fileInfo
|
||||
class _TranslationsFileInfoPt implements TranslationsFileInfoEn {
|
||||
_TranslationsFileInfoPt._(this._root);
|
||||
@@ -473,7 +467,6 @@ class _TranslationsVideoControlsPt implements 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 sleepTimerCompleted => 'Timer de sono concluído - reprodução pausada';
|
||||
@override String get stillWatching => 'Ainda assistindo?';
|
||||
@override String pausingIn({required Object seconds}) => 'Pausando em ${seconds}s';
|
||||
@override String get continueWatching => 'Continuar';
|
||||
@@ -490,20 +483,20 @@ class _TranslationsVideoControlsPt implements TranslationsVideoControlsEn {
|
||||
@override String get muteButton => 'Silenciar';
|
||||
@override String get unmuteButton => 'Ativar som';
|
||||
@override String get settingsButton => 'Configurações de vídeo';
|
||||
@override String get audioTrackButton => 'Faixas de áudio';
|
||||
@override String get subtitlesButton => 'Legendas';
|
||||
@override String get tracksButton => 'Áudio e Legendas';
|
||||
@override String get chaptersButton => 'Capítulos';
|
||||
@override String get versionsButton => 'Versões do vídeo';
|
||||
@override String get pipButton => 'Modo Picture-in-Picture';
|
||||
@override String get aspectRatioButton => 'Proporção';
|
||||
@override String get ambientLighting => 'Iluminação ambiente';
|
||||
@override String get ambientLightingOn => 'Ativar iluminação ambiente';
|
||||
@override String get ambientLightingOff => 'Desativar iluminação ambiente';
|
||||
@override String get fullscreenButton => 'Entrar em tela cheia';
|
||||
@override String get exitFullscreenButton => 'Sair da tela cheia';
|
||||
@override String get alwaysOnTopButton => 'Sempre no topo';
|
||||
@override String get rotationLockButton => 'Travar rotação';
|
||||
@override String get lockScreen => 'Travar tela';
|
||||
@override String get unlockScreen => 'Destravar tela';
|
||||
@override String get screenLockButton => 'Travar tela';
|
||||
@override String get longPressToUnlock => 'Pressione e segure para destravar';
|
||||
@override String get timelineSlider => 'Linha do tempo do vídeo';
|
||||
@override String get volumeSlider => 'Nível de volume';
|
||||
@override String endsAt({required Object time}) => 'Termina às ${time}';
|
||||
@@ -637,11 +630,8 @@ class _TranslationsDiscoverPt implements TranslationsDiscoverEn {
|
||||
@override String get overview => 'Sinopse';
|
||||
@override String get cast => 'Elenco';
|
||||
@override String get extras => 'Trailers e Extras';
|
||||
@override String get seasons => 'Temporadas';
|
||||
@override String get studio => 'Estúdio';
|
||||
@override String get rating => 'Avaliação';
|
||||
@override String episodeCount({required Object count}) => '${count} episódios';
|
||||
@override String watchedProgress({required Object watched, required Object total}) => '${watched}/${total} assistidos';
|
||||
@override String get movie => 'Filme';
|
||||
@override String get tvShow => 'Série de TV';
|
||||
@override String minutesLeft({required Object minutes}) => '${minutes} min restantes';
|
||||
@@ -764,8 +754,6 @@ class _TranslationsLogsPt implements TranslationsLogsEn {
|
||||
@override String get clearLogs => 'Limpar Logs';
|
||||
@override String get copyLogs => 'Copiar Logs';
|
||||
@override String get uploadLogs => 'Enviar Logs';
|
||||
@override String get error => 'Erro:';
|
||||
@override String get stackTrace => 'Stack Trace:';
|
||||
}
|
||||
|
||||
// Path: licenses
|
||||
@@ -801,20 +789,12 @@ class _TranslationsLiveTvPt implements TranslationsLiveTvEn {
|
||||
|
||||
// Translations
|
||||
@override String get title => 'TV ao Vivo';
|
||||
@override String get channels => 'Canais';
|
||||
@override String get guide => 'Guia';
|
||||
@override String get noChannels => 'Nenhum canal disponível';
|
||||
@override String get noDvr => 'Nenhum DVR configurado em nenhum servidor';
|
||||
@override String get tuneFailed => 'Falha ao sintonizar canal';
|
||||
@override String get loading => 'Carregando canais...';
|
||||
@override String get nowPlaying => 'Reproduzindo Agora';
|
||||
@override String get noPrograms => 'Nenhum dado de programação disponível';
|
||||
@override String channelNumber({required Object number}) => 'Ch. ${number}';
|
||||
@override String get live => 'AO VIVO';
|
||||
@override String get hd => 'HD';
|
||||
@override String get premiere => 'NOVO';
|
||||
@override String get reloadGuide => 'Recarregar Guia';
|
||||
@override String get allChannels => 'Todos os Canais';
|
||||
@override String get now => 'Agora';
|
||||
@override String get today => 'Hoje';
|
||||
@override String get midnight => 'Meia-noite';
|
||||
@@ -825,6 +805,7 @@ class _TranslationsLiveTvPt implements TranslationsLiveTvEn {
|
||||
@override String get lateNight => 'Madrugada';
|
||||
@override String get whatsOn => 'O que Está Passando';
|
||||
@override String get watchChannel => 'Assistir Canal';
|
||||
@override String get favorites => 'Favoritos';
|
||||
}
|
||||
|
||||
// Path: collections
|
||||
@@ -1053,7 +1034,6 @@ class _TranslationsExternalPlayerPt implements TranslationsExternalPlayerEn {
|
||||
@override String get playerCommand => 'Comando';
|
||||
@override String get playerPackage => 'Nome do Pacote';
|
||||
@override String get playerUrlScheme => 'Esquema de URL';
|
||||
@override String get customPlayer => 'Player Personalizado';
|
||||
@override String get off => 'Desativado';
|
||||
@override String get launchFailed => 'Falha ao abrir player externo';
|
||||
@override String appNotInstalled({required Object name}) => '${name} não está instalado';
|
||||
@@ -1192,6 +1172,7 @@ class _TranslationsLibrariesGroupingsPt implements TranslationsLibrariesGrouping
|
||||
final TranslationsPt _root; // ignore: unused_field
|
||||
|
||||
// Translations
|
||||
@override String get title => 'Agrupamento';
|
||||
@override String get all => 'Todos';
|
||||
@override String get movies => 'Filmes';
|
||||
@override String get shows => 'Séries de TV';
|
||||
@@ -1330,7 +1311,6 @@ extension on TranslationsPt {
|
||||
'common.shuffle' => 'Aleatório',
|
||||
'common.addTo' => 'Adicionar a...',
|
||||
'common.createNew' => 'Criar novo',
|
||||
'common.remove' => 'Remover',
|
||||
'common.paste' => 'Colar',
|
||||
'common.connect' => 'Conectar',
|
||||
'common.disconnect' => 'Desconectar',
|
||||
@@ -1344,7 +1324,6 @@ extension on TranslationsPt {
|
||||
'common.settings' => 'Configurações',
|
||||
'common.mute' => 'Silenciar',
|
||||
'common.ok' => 'OK',
|
||||
'common.loading' => 'Carregando...',
|
||||
'common.reconnect' => 'Reconectar',
|
||||
'common.exitConfirmTitle' => 'Sair do app?',
|
||||
'common.exitConfirmMessage' => 'Tem certeza que deseja sair?',
|
||||
@@ -1431,6 +1410,8 @@ extension on TranslationsPt {
|
||||
'settings.subtitleStylingDescription' => 'Personalizar aparência das legendas',
|
||||
'settings.smallSkipDuration' => 'Duração do Avanço Curto',
|
||||
'settings.largeSkipDuration' => 'Duração do Avanço Longo',
|
||||
'settings.rewindOnResume' => 'Rebobinar ao retomar',
|
||||
'settings.rewindOnResumeDescription' => 'Rebobinar esta quantidade ao retomar a reprodução',
|
||||
'settings.secondsUnit' => ({required Object seconds}) => '${seconds} segundos',
|
||||
'settings.defaultSleepTimer' => 'Timer de Sono Padrão',
|
||||
'settings.minutesUnit' => ({required Object minutes}) => '${minutes} minutos',
|
||||
@@ -1472,6 +1453,11 @@ extension on TranslationsPt {
|
||||
'settings.autoSkipCreditsDescription' => 'Pular créditos automaticamente e reproduzir próximo episódio',
|
||||
'settings.autoSkipDelay' => 'Atraso do Pulo Automático',
|
||||
'settings.autoSkipDelayDescription' => ({required Object seconds}) => 'Aguardar ${seconds} segundos antes de pular automaticamente',
|
||||
'settings.introPattern' => 'Padrão de marcador de intro',
|
||||
'settings.introPatternDescription' => 'Expressão regular para corresponder marcadores de intro nos títulos dos capítulos',
|
||||
'settings.creditsPattern' => 'Padrão de marcador de créditos',
|
||||
'settings.creditsPatternDescription' => 'Expressão regular para corresponder marcadores de créditos nos títulos dos capítulos',
|
||||
'settings.invalidRegex' => 'Expressão regular inválida',
|
||||
'settings.downloads' => 'Downloads',
|
||||
'settings.downloadLocationDescription' => 'Escolha onde armazenar conteúdo baixado',
|
||||
'settings.downloadLocationDefault' => 'Padrão (Armazenamento do App)',
|
||||
@@ -1503,6 +1489,8 @@ extension on TranslationsPt {
|
||||
'settings.confirmExitOnBackDescription' => 'Mostrar diálogo de confirmação ao pressionar voltar para sair do app',
|
||||
'settings.showNavBarLabels' => 'Mostrar Rótulos da Barra de Navegação',
|
||||
'settings.showNavBarLabelsDescription' => 'Exibir rótulos de texto sob os ícones da barra de navegação',
|
||||
'settings.liveTvDefaultFavorites' => 'Canais favoritos por padrão',
|
||||
'settings.liveTvDefaultFavoritesDescription' => 'Mostrar apenas canais favoritos ao abrir TV ao vivo',
|
||||
'search.hint' => 'Buscar filmes, séries, músicas...',
|
||||
'search.tryDifferentTerm' => 'Tente um termo de busca diferente',
|
||||
'search.searchYourMedia' => 'Buscar suas mídias',
|
||||
@@ -1528,9 +1516,6 @@ extension on TranslationsPt {
|
||||
'hotkeys.actions.subSeekPrev' => 'Ir para Legenda Anterior',
|
||||
'hotkeys.actions.shaderToggle' => 'Alternar Shaders',
|
||||
'hotkeys.actions.skipMarker' => 'Pular Intro/Créditos',
|
||||
'pinEntry.enterPin' => 'Inserir PIN',
|
||||
'pinEntry.showPin' => 'Mostrar PIN',
|
||||
'pinEntry.hidePin' => 'Ocultar PIN',
|
||||
'fileInfo.title' => 'Info do Arquivo',
|
||||
'fileInfo.video' => 'Vídeo',
|
||||
'fileInfo.audio' => 'Áudio',
|
||||
@@ -1594,7 +1579,6 @@ extension on TranslationsPt {
|
||||
'videoControls.unlockRotation' => 'Destravar rotação',
|
||||
'videoControls.timerActive' => 'Timer Ativo',
|
||||
'videoControls.playbackWillPauseIn' => ({required Object duration}) => 'A reprodução pausará em ${duration}',
|
||||
'videoControls.sleepTimerCompleted' => 'Timer de sono concluído - reprodução pausada',
|
||||
'videoControls.stillWatching' => 'Ainda assistindo?',
|
||||
'videoControls.pausingIn' => ({required Object seconds}) => 'Pausando em ${seconds}s',
|
||||
'videoControls.continueWatching' => 'Continuar',
|
||||
@@ -1611,20 +1595,20 @@ extension on TranslationsPt {
|
||||
'videoControls.muteButton' => 'Silenciar',
|
||||
'videoControls.unmuteButton' => 'Ativar som',
|
||||
'videoControls.settingsButton' => 'Configurações de vídeo',
|
||||
'videoControls.audioTrackButton' => 'Faixas de áudio',
|
||||
'videoControls.subtitlesButton' => 'Legendas',
|
||||
'videoControls.tracksButton' => 'Áudio e Legendas',
|
||||
'videoControls.chaptersButton' => 'Capítulos',
|
||||
'videoControls.versionsButton' => 'Versões do vídeo',
|
||||
'videoControls.pipButton' => 'Modo Picture-in-Picture',
|
||||
'videoControls.aspectRatioButton' => 'Proporção',
|
||||
'videoControls.ambientLighting' => 'Iluminação ambiente',
|
||||
'videoControls.ambientLightingOn' => 'Ativar iluminação ambiente',
|
||||
'videoControls.ambientLightingOff' => 'Desativar iluminação ambiente',
|
||||
'videoControls.fullscreenButton' => 'Entrar em tela cheia',
|
||||
'videoControls.exitFullscreenButton' => 'Sair da tela cheia',
|
||||
'videoControls.alwaysOnTopButton' => 'Sempre no topo',
|
||||
'videoControls.rotationLockButton' => 'Travar rotação',
|
||||
'videoControls.lockScreen' => 'Travar tela',
|
||||
'videoControls.unlockScreen' => 'Destravar tela',
|
||||
'videoControls.screenLockButton' => 'Travar tela',
|
||||
'videoControls.longPressToUnlock' => 'Pressione e segure para destravar',
|
||||
'videoControls.timelineSlider' => 'Linha do tempo do vídeo',
|
||||
'videoControls.volumeSlider' => 'Nível de volume',
|
||||
'videoControls.endsAt' => ({required Object time}) => 'Termina às ${time}',
|
||||
@@ -1710,11 +1694,8 @@ extension on TranslationsPt {
|
||||
'discover.overview' => 'Sinopse',
|
||||
'discover.cast' => 'Elenco',
|
||||
'discover.extras' => 'Trailers e Extras',
|
||||
'discover.seasons' => 'Temporadas',
|
||||
'discover.studio' => 'Estúdio',
|
||||
'discover.rating' => 'Avaliação',
|
||||
'discover.episodeCount' => ({required Object count}) => '${count} episódios',
|
||||
'discover.watchedProgress' => ({required Object watched, required Object total}) => '${watched}/${total} assistidos',
|
||||
'discover.movie' => 'Filme',
|
||||
'discover.tvShow' => 'Série de TV',
|
||||
'discover.minutesLeft' => ({required Object minutes}) => '${minutes} min restantes',
|
||||
@@ -1769,6 +1750,7 @@ extension on TranslationsPt {
|
||||
'libraries.tabs.browse' => 'Navegar',
|
||||
'libraries.tabs.collections' => 'Coleções',
|
||||
'libraries.tabs.playlists' => 'Playlists',
|
||||
'libraries.groupings.title' => 'Agrupamento',
|
||||
'libraries.groupings.all' => 'Todos',
|
||||
'libraries.groupings.movies' => 'Filmes',
|
||||
'libraries.groupings.shows' => 'Séries de TV',
|
||||
@@ -1791,8 +1773,6 @@ extension on TranslationsPt {
|
||||
'logs.clearLogs' => 'Limpar Logs',
|
||||
'logs.copyLogs' => 'Copiar Logs',
|
||||
'logs.uploadLogs' => 'Enviar Logs',
|
||||
'logs.error' => 'Erro:',
|
||||
'logs.stackTrace' => 'Stack Trace:',
|
||||
'licenses.relatedPackages' => 'Pacotes Relacionados',
|
||||
'licenses.license' => 'Licença',
|
||||
'licenses.licenseNumber' => ({required Object number}) => 'Licença ${number}',
|
||||
@@ -1801,23 +1781,13 @@ extension on TranslationsPt {
|
||||
'navigation.downloads' => 'Downloads',
|
||||
'navigation.liveTv' => 'TV ao Vivo',
|
||||
'liveTv.title' => 'TV ao Vivo',
|
||||
'liveTv.channels' => 'Canais',
|
||||
'liveTv.guide' => 'Guia',
|
||||
'liveTv.noChannels' => 'Nenhum canal disponível',
|
||||
'liveTv.noDvr' => 'Nenhum DVR configurado em nenhum servidor',
|
||||
'liveTv.tuneFailed' => 'Falha ao sintonizar canal',
|
||||
'liveTv.loading' => 'Carregando canais...',
|
||||
'liveTv.nowPlaying' => 'Reproduzindo Agora',
|
||||
'liveTv.noPrograms' => 'Nenhum dado de programação disponível',
|
||||
'liveTv.channelNumber' => ({required Object number}) => 'Ch. ${number}',
|
||||
'liveTv.live' => 'AO VIVO',
|
||||
'liveTv.hd' => 'HD',
|
||||
'liveTv.premiere' => 'NOVO',
|
||||
'liveTv.reloadGuide' => 'Recarregar Guia',
|
||||
'liveTv.allChannels' => 'Todos os Canais',
|
||||
'liveTv.now' => 'Agora',
|
||||
_ => null,
|
||||
} ?? switch (path) {
|
||||
'liveTv.today' => 'Hoje',
|
||||
'liveTv.midnight' => 'Meia-noite',
|
||||
'liveTv.overnight' => 'Madrugada',
|
||||
@@ -1827,6 +1797,9 @@ extension on TranslationsPt {
|
||||
'liveTv.lateNight' => 'Madrugada',
|
||||
'liveTv.whatsOn' => 'O que Está Passando',
|
||||
'liveTv.watchChannel' => 'Assistir Canal',
|
||||
_ => null,
|
||||
} ?? switch (path) {
|
||||
'liveTv.favorites' => 'Favoritos',
|
||||
'collections.title' => 'Coleções',
|
||||
'collections.collection' => 'Coleção',
|
||||
'collections.empty' => 'A coleção está vazia',
|
||||
@@ -2049,7 +2022,6 @@ extension on TranslationsPt {
|
||||
'externalPlayer.playerCommand' => 'Comando',
|
||||
'externalPlayer.playerPackage' => 'Nome do Pacote',
|
||||
'externalPlayer.playerUrlScheme' => 'Esquema de URL',
|
||||
'externalPlayer.customPlayer' => 'Player Personalizado',
|
||||
'externalPlayer.off' => 'Desativado',
|
||||
'externalPlayer.launchFailed' => 'Falha ao abrir player externo',
|
||||
'externalPlayer.appNotInstalled' => ({required Object name}) => '${name} não está instalado',
|
||||
|
||||
+32
-60
@@ -45,7 +45,6 @@ class TranslationsRu with BaseTranslations<AppLocale, Translations> implements T
|
||||
@override late final _TranslationsSettingsRu settings = _TranslationsSettingsRu._(_root);
|
||||
@override late final _TranslationsSearchRu search = _TranslationsSearchRu._(_root);
|
||||
@override late final _TranslationsHotkeysRu hotkeys = _TranslationsHotkeysRu._(_root);
|
||||
@override late final _TranslationsPinEntryRu pinEntry = _TranslationsPinEntryRu._(_root);
|
||||
@override late final _TranslationsFileInfoRu fileInfo = _TranslationsFileInfoRu._(_root);
|
||||
@override late final _TranslationsMediaMenuRu mediaMenu = _TranslationsMediaMenuRu._(_root);
|
||||
@override late final _TranslationsAccessibilityRu accessibility = _TranslationsAccessibilityRu._(_root);
|
||||
@@ -128,7 +127,6 @@ class _TranslationsCommonRu implements TranslationsCommonEn {
|
||||
@override String get shuffle => 'Перемешать';
|
||||
@override String get addTo => 'Добавить в...';
|
||||
@override String get createNew => 'Создать новый';
|
||||
@override String get remove => 'Удалить';
|
||||
@override String get paste => 'Вставить';
|
||||
@override String get connect => 'Подключить';
|
||||
@override String get disconnect => 'Отключить';
|
||||
@@ -142,7 +140,6 @@ class _TranslationsCommonRu implements TranslationsCommonEn {
|
||||
@override String get settings => 'Настройки';
|
||||
@override String get mute => 'Без звука';
|
||||
@override String get ok => 'OK';
|
||||
@override String get loading => 'Загрузка...';
|
||||
@override String get reconnect => 'Переподключить';
|
||||
@override String get exitConfirmTitle => 'Выйти из приложения?';
|
||||
@override String get exitConfirmMessage => 'Вы уверены, что хотите выйти?';
|
||||
@@ -256,6 +253,8 @@ class _TranslationsSettingsRu implements TranslationsSettingsEn {
|
||||
@override String get subtitleStylingDescription => 'Настроить внешний вид субтитров';
|
||||
@override String get smallSkipDuration => 'Малая перемотка';
|
||||
@override String get largeSkipDuration => 'Большая перемотка';
|
||||
@override String get rewindOnResume => 'Перемотка при возобновлении';
|
||||
@override String get rewindOnResumeDescription => 'Перемотать на это количество секунд при возобновлении воспроизведения';
|
||||
@override String secondsUnit({required Object seconds}) => '${seconds} секунд';
|
||||
@override String get defaultSleepTimer => 'Таймер сна по умолчанию';
|
||||
@override String minutesUnit({required Object minutes}) => '${minutes} минут';
|
||||
@@ -297,6 +296,11 @@ class _TranslationsSettingsRu implements TranslationsSettingsEn {
|
||||
@override String get autoSkipCreditsDescription => 'Автоматически пропускать титры и воспроизводить следующий эпизод';
|
||||
@override String get autoSkipDelay => 'Задержка автопропуска';
|
||||
@override String autoSkipDelayDescription({required Object seconds}) => 'Подождать ${seconds} секунд перед автопропуском';
|
||||
@override String get introPattern => 'Шаблон маркера вступления';
|
||||
@override String get introPatternDescription => 'Регулярное выражение для распознавания маркеров вступления в заголовках глав';
|
||||
@override String get creditsPattern => 'Шаблон маркера титров';
|
||||
@override String get creditsPatternDescription => 'Регулярное выражение для распознавания маркеров титров в заголовках глав';
|
||||
@override String get invalidRegex => 'Недопустимое регулярное выражение';
|
||||
@override String get downloads => 'Загрузки';
|
||||
@override String get downloadLocationDescription => 'Выберите место для хранения загруженного контента';
|
||||
@override String get downloadLocationDefault => 'По умолчанию (Хранилище приложения)';
|
||||
@@ -328,6 +332,8 @@ class _TranslationsSettingsRu implements TranslationsSettingsEn {
|
||||
@override String get confirmExitOnBackDescription => 'Показывать диалог подтверждения при нажатии «назад» для выхода из приложения';
|
||||
@override String get showNavBarLabels => 'Показывать подписи панели навигации';
|
||||
@override String get showNavBarLabelsDescription => 'Отображать текстовые подписи под иконками панели навигации';
|
||||
@override String get liveTvDefaultFavorites => 'Избранные каналы по умолчанию';
|
||||
@override String get liveTvDefaultFavoritesDescription => 'Показывать только избранные каналы при открытии ТВ';
|
||||
}
|
||||
|
||||
// Path: search
|
||||
@@ -355,18 +361,6 @@ class _TranslationsHotkeysRu implements TranslationsHotkeysEn {
|
||||
@override late final _TranslationsHotkeysActionsRu actions = _TranslationsHotkeysActionsRu._(_root);
|
||||
}
|
||||
|
||||
// Path: pinEntry
|
||||
class _TranslationsPinEntryRu implements TranslationsPinEntryEn {
|
||||
_TranslationsPinEntryRu._(this._root);
|
||||
|
||||
final TranslationsRu _root; // ignore: unused_field
|
||||
|
||||
// Translations
|
||||
@override String get enterPin => 'Введите PIN';
|
||||
@override String get showPin => 'Показать PIN';
|
||||
@override String get hidePin => 'Скрыть PIN';
|
||||
}
|
||||
|
||||
// Path: fileInfo
|
||||
class _TranslationsFileInfoRu implements TranslationsFileInfoEn {
|
||||
_TranslationsFileInfoRu._(this._root);
|
||||
@@ -473,7 +467,6 @@ class _TranslationsVideoControlsRu implements TranslationsVideoControlsEn {
|
||||
@override String get unlockRotation => 'Разблокировать поворот';
|
||||
@override String get timerActive => 'Таймер активен';
|
||||
@override String playbackWillPauseIn({required Object duration}) => 'Воспроизведение будет приостановлено через ${duration}';
|
||||
@override String get sleepTimerCompleted => 'Таймер сна завершён — воспроизведение приостановлено';
|
||||
@override String get stillWatching => 'Всё ещё смотрите?';
|
||||
@override String pausingIn({required Object seconds}) => 'Пауза через ${seconds}с';
|
||||
@override String get continueWatching => 'Продолжить';
|
||||
@@ -490,20 +483,20 @@ class _TranslationsVideoControlsRu implements TranslationsVideoControlsEn {
|
||||
@override String get muteButton => 'Без звука';
|
||||
@override String get unmuteButton => 'Включить звук';
|
||||
@override String get settingsButton => 'Настройки видео';
|
||||
@override String get audioTrackButton => 'Аудиодорожки';
|
||||
@override String get subtitlesButton => 'Субтитры';
|
||||
@override String get tracksButton => 'Аудио и субтитры';
|
||||
@override String get chaptersButton => 'Главы';
|
||||
@override String get versionsButton => 'Версии видео';
|
||||
@override String get pipButton => 'Режим «картинка в картинке»';
|
||||
@override String get aspectRatioButton => 'Соотношение сторон';
|
||||
@override String get ambientLighting => 'Фоновая подсветка';
|
||||
@override String get ambientLightingOn => 'Включить фоновую подсветку';
|
||||
@override String get ambientLightingOff => 'Выключить фоновую подсветку';
|
||||
@override String get fullscreenButton => 'Полноэкранный режим';
|
||||
@override String get exitFullscreenButton => 'Выйти из полноэкранного режима';
|
||||
@override String get alwaysOnTopButton => 'Всегда поверх';
|
||||
@override String get rotationLockButton => 'Блокировка поворота';
|
||||
@override String get lockScreen => 'Заблокировать экран';
|
||||
@override String get unlockScreen => 'Разблокировать экран';
|
||||
@override String get screenLockButton => 'Блокировка экрана';
|
||||
@override String get longPressToUnlock => 'Удерживайте для разблокировки';
|
||||
@override String get timelineSlider => 'Временная шкала';
|
||||
@override String get volumeSlider => 'Уровень громкости';
|
||||
@override String endsAt({required Object time}) => 'Закончится в ${time}';
|
||||
@@ -637,11 +630,8 @@ class _TranslationsDiscoverRu implements TranslationsDiscoverEn {
|
||||
@override String get overview => 'Обзор';
|
||||
@override String get cast => 'В ролях';
|
||||
@override String get extras => 'Трейлеры и доп. материалы';
|
||||
@override String get seasons => 'Сезоны';
|
||||
@override String get studio => 'Студия';
|
||||
@override String get rating => 'Рейтинг';
|
||||
@override String episodeCount({required Object count}) => '${count} эпизодов';
|
||||
@override String watchedProgress({required Object watched, required Object total}) => '${watched}/${total} просмотрено';
|
||||
@override String get movie => 'Фильм';
|
||||
@override String get tvShow => 'Сериал';
|
||||
@override String minutesLeft({required Object minutes}) => 'Осталось ${minutes} мин';
|
||||
@@ -764,8 +754,6 @@ class _TranslationsLogsRu implements TranslationsLogsEn {
|
||||
@override String get clearLogs => 'Очистить логи';
|
||||
@override String get copyLogs => 'Скопировать логи';
|
||||
@override String get uploadLogs => 'Загрузить логи';
|
||||
@override String get error => 'Ошибка:';
|
||||
@override String get stackTrace => 'Стек вызовов:';
|
||||
}
|
||||
|
||||
// Path: licenses
|
||||
@@ -801,20 +789,12 @@ class _TranslationsLiveTvRu implements TranslationsLiveTvEn {
|
||||
|
||||
// Translations
|
||||
@override String get title => 'ТВ в прямом эфире';
|
||||
@override String get channels => 'Каналы';
|
||||
@override String get guide => 'Программа';
|
||||
@override String get noChannels => 'Нет доступных каналов';
|
||||
@override String get noDvr => 'DVR не настроен ни на одном сервере';
|
||||
@override String get tuneFailed => 'Не удалось настроить канал';
|
||||
@override String get loading => 'Загрузка каналов...';
|
||||
@override String get nowPlaying => 'Сейчас воспроизводится';
|
||||
@override String get noPrograms => 'Нет данных о программах';
|
||||
@override String channelNumber({required Object number}) => 'Кн. ${number}';
|
||||
@override String get live => 'ЭФИР';
|
||||
@override String get hd => 'HD';
|
||||
@override String get premiere => 'НОВОЕ';
|
||||
@override String get reloadGuide => 'Перезагрузить программу';
|
||||
@override String get allChannels => 'Все каналы';
|
||||
@override String get now => 'Сейчас';
|
||||
@override String get today => 'Сегодня';
|
||||
@override String get midnight => 'Полночь';
|
||||
@@ -825,6 +805,7 @@ class _TranslationsLiveTvRu implements TranslationsLiveTvEn {
|
||||
@override String get lateNight => 'Поздний вечер';
|
||||
@override String get whatsOn => 'Что идёт';
|
||||
@override String get watchChannel => 'Смотреть канал';
|
||||
@override String get favorites => 'Избранное';
|
||||
}
|
||||
|
||||
// Path: collections
|
||||
@@ -1053,7 +1034,6 @@ class _TranslationsExternalPlayerRu implements TranslationsExternalPlayerEn {
|
||||
@override String get playerCommand => 'Команда';
|
||||
@override String get playerPackage => 'Имя пакета';
|
||||
@override String get playerUrlScheme => 'URL-схема';
|
||||
@override String get customPlayer => 'Свой плеер';
|
||||
@override String get off => 'Выкл.';
|
||||
@override String get launchFailed => 'Не удалось открыть внешний плеер';
|
||||
@override String appNotInstalled({required Object name}) => '${name} не установлен';
|
||||
@@ -1192,6 +1172,7 @@ class _TranslationsLibrariesGroupingsRu implements TranslationsLibrariesGrouping
|
||||
final TranslationsRu _root; // ignore: unused_field
|
||||
|
||||
// Translations
|
||||
@override String get title => 'Группировка';
|
||||
@override String get all => 'Все';
|
||||
@override String get movies => 'Фильмы';
|
||||
@override String get shows => 'Сериалы';
|
||||
@@ -1330,7 +1311,6 @@ extension on TranslationsRu {
|
||||
'common.shuffle' => 'Перемешать',
|
||||
'common.addTo' => 'Добавить в...',
|
||||
'common.createNew' => 'Создать новый',
|
||||
'common.remove' => 'Удалить',
|
||||
'common.paste' => 'Вставить',
|
||||
'common.connect' => 'Подключить',
|
||||
'common.disconnect' => 'Отключить',
|
||||
@@ -1344,7 +1324,6 @@ extension on TranslationsRu {
|
||||
'common.settings' => 'Настройки',
|
||||
'common.mute' => 'Без звука',
|
||||
'common.ok' => 'OK',
|
||||
'common.loading' => 'Загрузка...',
|
||||
'common.reconnect' => 'Переподключить',
|
||||
'common.exitConfirmTitle' => 'Выйти из приложения?',
|
||||
'common.exitConfirmMessage' => 'Вы уверены, что хотите выйти?',
|
||||
@@ -1431,6 +1410,8 @@ extension on TranslationsRu {
|
||||
'settings.subtitleStylingDescription' => 'Настроить внешний вид субтитров',
|
||||
'settings.smallSkipDuration' => 'Малая перемотка',
|
||||
'settings.largeSkipDuration' => 'Большая перемотка',
|
||||
'settings.rewindOnResume' => 'Перемотка при возобновлении',
|
||||
'settings.rewindOnResumeDescription' => 'Перемотать на это количество секунд при возобновлении воспроизведения',
|
||||
'settings.secondsUnit' => ({required Object seconds}) => '${seconds} секунд',
|
||||
'settings.defaultSleepTimer' => 'Таймер сна по умолчанию',
|
||||
'settings.minutesUnit' => ({required Object minutes}) => '${minutes} минут',
|
||||
@@ -1472,6 +1453,11 @@ extension on TranslationsRu {
|
||||
'settings.autoSkipCreditsDescription' => 'Автоматически пропускать титры и воспроизводить следующий эпизод',
|
||||
'settings.autoSkipDelay' => 'Задержка автопропуска',
|
||||
'settings.autoSkipDelayDescription' => ({required Object seconds}) => 'Подождать ${seconds} секунд перед автопропуском',
|
||||
'settings.introPattern' => 'Шаблон маркера вступления',
|
||||
'settings.introPatternDescription' => 'Регулярное выражение для распознавания маркеров вступления в заголовках глав',
|
||||
'settings.creditsPattern' => 'Шаблон маркера титров',
|
||||
'settings.creditsPatternDescription' => 'Регулярное выражение для распознавания маркеров титров в заголовках глав',
|
||||
'settings.invalidRegex' => 'Недопустимое регулярное выражение',
|
||||
'settings.downloads' => 'Загрузки',
|
||||
'settings.downloadLocationDescription' => 'Выберите место для хранения загруженного контента',
|
||||
'settings.downloadLocationDefault' => 'По умолчанию (Хранилище приложения)',
|
||||
@@ -1503,6 +1489,8 @@ extension on TranslationsRu {
|
||||
'settings.confirmExitOnBackDescription' => 'Показывать диалог подтверждения при нажатии «назад» для выхода из приложения',
|
||||
'settings.showNavBarLabels' => 'Показывать подписи панели навигации',
|
||||
'settings.showNavBarLabelsDescription' => 'Отображать текстовые подписи под иконками панели навигации',
|
||||
'settings.liveTvDefaultFavorites' => 'Избранные каналы по умолчанию',
|
||||
'settings.liveTvDefaultFavoritesDescription' => 'Показывать только избранные каналы при открытии ТВ',
|
||||
'search.hint' => 'Поиск фильмов, сериалов, музыки...',
|
||||
'search.tryDifferentTerm' => 'Попробуйте другой запрос',
|
||||
'search.searchYourMedia' => 'Поиск в вашей медиатеке',
|
||||
@@ -1528,9 +1516,6 @@ extension on TranslationsRu {
|
||||
'hotkeys.actions.subSeekPrev' => 'К предыдущему субтитру',
|
||||
'hotkeys.actions.shaderToggle' => 'Вкл./выкл. шейдеры',
|
||||
'hotkeys.actions.skipMarker' => 'Пропустить вступление/титры',
|
||||
'pinEntry.enterPin' => 'Введите PIN',
|
||||
'pinEntry.showPin' => 'Показать PIN',
|
||||
'pinEntry.hidePin' => 'Скрыть PIN',
|
||||
'fileInfo.title' => 'Информация о файле',
|
||||
'fileInfo.video' => 'Видео',
|
||||
'fileInfo.audio' => 'Аудио',
|
||||
@@ -1594,7 +1579,6 @@ extension on TranslationsRu {
|
||||
'videoControls.unlockRotation' => 'Разблокировать поворот',
|
||||
'videoControls.timerActive' => 'Таймер активен',
|
||||
'videoControls.playbackWillPauseIn' => ({required Object duration}) => 'Воспроизведение будет приостановлено через ${duration}',
|
||||
'videoControls.sleepTimerCompleted' => 'Таймер сна завершён — воспроизведение приостановлено',
|
||||
'videoControls.stillWatching' => 'Всё ещё смотрите?',
|
||||
'videoControls.pausingIn' => ({required Object seconds}) => 'Пауза через ${seconds}с',
|
||||
'videoControls.continueWatching' => 'Продолжить',
|
||||
@@ -1611,20 +1595,20 @@ extension on TranslationsRu {
|
||||
'videoControls.muteButton' => 'Без звука',
|
||||
'videoControls.unmuteButton' => 'Включить звук',
|
||||
'videoControls.settingsButton' => 'Настройки видео',
|
||||
'videoControls.audioTrackButton' => 'Аудиодорожки',
|
||||
'videoControls.subtitlesButton' => 'Субтитры',
|
||||
'videoControls.tracksButton' => 'Аудио и субтитры',
|
||||
'videoControls.chaptersButton' => 'Главы',
|
||||
'videoControls.versionsButton' => 'Версии видео',
|
||||
'videoControls.pipButton' => 'Режим «картинка в картинке»',
|
||||
'videoControls.aspectRatioButton' => 'Соотношение сторон',
|
||||
'videoControls.ambientLighting' => 'Фоновая подсветка',
|
||||
'videoControls.ambientLightingOn' => 'Включить фоновую подсветку',
|
||||
'videoControls.ambientLightingOff' => 'Выключить фоновую подсветку',
|
||||
'videoControls.fullscreenButton' => 'Полноэкранный режим',
|
||||
'videoControls.exitFullscreenButton' => 'Выйти из полноэкранного режима',
|
||||
'videoControls.alwaysOnTopButton' => 'Всегда поверх',
|
||||
'videoControls.rotationLockButton' => 'Блокировка поворота',
|
||||
'videoControls.lockScreen' => 'Заблокировать экран',
|
||||
'videoControls.unlockScreen' => 'Разблокировать экран',
|
||||
'videoControls.screenLockButton' => 'Блокировка экрана',
|
||||
'videoControls.longPressToUnlock' => 'Удерживайте для разблокировки',
|
||||
'videoControls.timelineSlider' => 'Временная шкала',
|
||||
'videoControls.volumeSlider' => 'Уровень громкости',
|
||||
'videoControls.endsAt' => ({required Object time}) => 'Закончится в ${time}',
|
||||
@@ -1710,11 +1694,8 @@ extension on TranslationsRu {
|
||||
'discover.overview' => 'Обзор',
|
||||
'discover.cast' => 'В ролях',
|
||||
'discover.extras' => 'Трейлеры и доп. материалы',
|
||||
'discover.seasons' => 'Сезоны',
|
||||
'discover.studio' => 'Студия',
|
||||
'discover.rating' => 'Рейтинг',
|
||||
'discover.episodeCount' => ({required Object count}) => '${count} эпизодов',
|
||||
'discover.watchedProgress' => ({required Object watched, required Object total}) => '${watched}/${total} просмотрено',
|
||||
'discover.movie' => 'Фильм',
|
||||
'discover.tvShow' => 'Сериал',
|
||||
'discover.minutesLeft' => ({required Object minutes}) => 'Осталось ${minutes} мин',
|
||||
@@ -1769,6 +1750,7 @@ extension on TranslationsRu {
|
||||
'libraries.tabs.browse' => 'Обзор',
|
||||
'libraries.tabs.collections' => 'Коллекции',
|
||||
'libraries.tabs.playlists' => 'Плейлисты',
|
||||
'libraries.groupings.title' => 'Группировка',
|
||||
'libraries.groupings.all' => 'Все',
|
||||
'libraries.groupings.movies' => 'Фильмы',
|
||||
'libraries.groupings.shows' => 'Сериалы',
|
||||
@@ -1791,8 +1773,6 @@ extension on TranslationsRu {
|
||||
'logs.clearLogs' => 'Очистить логи',
|
||||
'logs.copyLogs' => 'Скопировать логи',
|
||||
'logs.uploadLogs' => 'Загрузить логи',
|
||||
'logs.error' => 'Ошибка:',
|
||||
'logs.stackTrace' => 'Стек вызовов:',
|
||||
'licenses.relatedPackages' => 'Связанные пакеты',
|
||||
'licenses.license' => 'Лицензия',
|
||||
'licenses.licenseNumber' => ({required Object number}) => 'Лицензия ${number}',
|
||||
@@ -1801,23 +1781,13 @@ extension on TranslationsRu {
|
||||
'navigation.downloads' => 'Загрузки',
|
||||
'navigation.liveTv' => 'ТВ в прямом эфире',
|
||||
'liveTv.title' => 'ТВ в прямом эфире',
|
||||
'liveTv.channels' => 'Каналы',
|
||||
'liveTv.guide' => 'Программа',
|
||||
'liveTv.noChannels' => 'Нет доступных каналов',
|
||||
'liveTv.noDvr' => 'DVR не настроен ни на одном сервере',
|
||||
'liveTv.tuneFailed' => 'Не удалось настроить канал',
|
||||
'liveTv.loading' => 'Загрузка каналов...',
|
||||
'liveTv.nowPlaying' => 'Сейчас воспроизводится',
|
||||
'liveTv.noPrograms' => 'Нет данных о программах',
|
||||
'liveTv.channelNumber' => ({required Object number}) => 'Кн. ${number}',
|
||||
'liveTv.live' => 'ЭФИР',
|
||||
'liveTv.hd' => 'HD',
|
||||
'liveTv.premiere' => 'НОВОЕ',
|
||||
'liveTv.reloadGuide' => 'Перезагрузить программу',
|
||||
'liveTv.allChannels' => 'Все каналы',
|
||||
'liveTv.now' => 'Сейчас',
|
||||
_ => null,
|
||||
} ?? switch (path) {
|
||||
'liveTv.today' => 'Сегодня',
|
||||
'liveTv.midnight' => 'Полночь',
|
||||
'liveTv.overnight' => 'Ночь',
|
||||
@@ -1827,6 +1797,9 @@ extension on TranslationsRu {
|
||||
'liveTv.lateNight' => 'Поздний вечер',
|
||||
'liveTv.whatsOn' => 'Что идёт',
|
||||
'liveTv.watchChannel' => 'Смотреть канал',
|
||||
_ => null,
|
||||
} ?? switch (path) {
|
||||
'liveTv.favorites' => 'Избранное',
|
||||
'collections.title' => 'Коллекции',
|
||||
'collections.collection' => 'Коллекция',
|
||||
'collections.empty' => 'Коллекция пуста',
|
||||
@@ -2049,7 +2022,6 @@ extension on TranslationsRu {
|
||||
'externalPlayer.playerCommand' => 'Команда',
|
||||
'externalPlayer.playerPackage' => 'Имя пакета',
|
||||
'externalPlayer.playerUrlScheme' => 'URL-схема',
|
||||
'externalPlayer.customPlayer' => 'Свой плеер',
|
||||
'externalPlayer.off' => 'Выкл.',
|
||||
'externalPlayer.launchFailed' => 'Не удалось открыть внешний плеер',
|
||||
'externalPlayer.appNotInstalled' => ({required Object name}) => '${name} не установлен',
|
||||
|
||||
+32
-60
@@ -45,7 +45,6 @@ class TranslationsSv with BaseTranslations<AppLocale, Translations> implements T
|
||||
@override late final _TranslationsSettingsSv settings = _TranslationsSettingsSv._(_root);
|
||||
@override late final _TranslationsSearchSv search = _TranslationsSearchSv._(_root);
|
||||
@override late final _TranslationsHotkeysSv hotkeys = _TranslationsHotkeysSv._(_root);
|
||||
@override late final _TranslationsPinEntrySv pinEntry = _TranslationsPinEntrySv._(_root);
|
||||
@override late final _TranslationsFileInfoSv fileInfo = _TranslationsFileInfoSv._(_root);
|
||||
@override late final _TranslationsMediaMenuSv mediaMenu = _TranslationsMediaMenuSv._(_root);
|
||||
@override late final _TranslationsAccessibilitySv accessibility = _TranslationsAccessibilitySv._(_root);
|
||||
@@ -128,7 +127,6 @@ class _TranslationsCommonSv implements TranslationsCommonEn {
|
||||
@override String get shuffle => 'Blanda';
|
||||
@override String get addTo => 'Lägg till i...';
|
||||
@override String get createNew => 'Skapa ny';
|
||||
@override String get remove => 'Ta bort';
|
||||
@override String get paste => 'Klistra in';
|
||||
@override String get connect => 'Anslut';
|
||||
@override String get disconnect => 'Koppla från';
|
||||
@@ -142,7 +140,6 @@ class _TranslationsCommonSv implements TranslationsCommonEn {
|
||||
@override String get settings => 'Mer';
|
||||
@override String get mute => 'Ljud av';
|
||||
@override String get ok => 'OK';
|
||||
@override String get loading => 'Laddar...';
|
||||
@override String get reconnect => 'Återanslut';
|
||||
@override String get exitConfirmTitle => 'Avsluta appen?';
|
||||
@override String get exitConfirmMessage => 'Är du säker på att du vill avsluta?';
|
||||
@@ -256,6 +253,8 @@ class _TranslationsSettingsSv implements TranslationsSettingsEn {
|
||||
@override String get subtitleStylingDescription => 'Anpassa undertextutseende';
|
||||
@override String get smallSkipDuration => 'Kort hoppvaraktighet';
|
||||
@override String get largeSkipDuration => 'Lång hoppvaraktighet';
|
||||
@override String get rewindOnResume => 'Spola tillbaka vid återupptagning';
|
||||
@override String get rewindOnResumeDescription => 'Spola tillbaka med denna tid vid återupptagning av uppspelning';
|
||||
@override String secondsUnit({required Object seconds}) => '${seconds} sekunder';
|
||||
@override String get defaultSleepTimer => 'Standard sovtimer';
|
||||
@override String minutesUnit({required Object minutes}) => '${minutes} minuter';
|
||||
@@ -297,6 +296,11 @@ class _TranslationsSettingsSv implements TranslationsSettingsEn {
|
||||
@override String get autoSkipCreditsDescription => 'Hoppa automatiskt över credits och spela nästa avsnitt';
|
||||
@override String get autoSkipDelay => 'Fördröjning Auto Hoppa Över';
|
||||
@override String autoSkipDelayDescription({required Object seconds}) => 'Vänta ${seconds} sekunder innan automatisk överhoppning';
|
||||
@override String get introPattern => 'Intromarkörsmönster';
|
||||
@override String get introPatternDescription => 'Reguljärt uttryck för att matcha intromarkörer i kapiteltitlar';
|
||||
@override String get creditsPattern => 'Eftertextmarkörsmönster';
|
||||
@override String get creditsPatternDescription => 'Reguljärt uttryck för att matcha eftertextmarkörer i kapiteltitlar';
|
||||
@override String get invalidRegex => 'Ogiltigt reguljärt uttryck';
|
||||
@override String get downloads => 'Nedladdningar';
|
||||
@override String get downloadLocationDescription => 'Välj var nedladdat innehåll ska lagras';
|
||||
@override String get downloadLocationDefault => 'Standard (App-lagring)';
|
||||
@@ -328,6 +332,8 @@ class _TranslationsSettingsSv implements TranslationsSettingsEn {
|
||||
@override String get confirmExitOnBackDescription => 'Visa en bekräftelsedialog när du trycker tillbaka för att avsluta appen';
|
||||
@override String get showNavBarLabels => 'Visa navigeringsfältets etiketter';
|
||||
@override String get showNavBarLabelsDescription => 'Visa textetiketter under navigeringsfältets ikoner';
|
||||
@override String get liveTvDefaultFavorites => 'Standard till favoritkanaler';
|
||||
@override String get liveTvDefaultFavoritesDescription => 'Visa bara favoritkanaler när du öppnar Live TV';
|
||||
}
|
||||
|
||||
// Path: search
|
||||
@@ -355,18 +361,6 @@ class _TranslationsHotkeysSv implements TranslationsHotkeysEn {
|
||||
@override late final _TranslationsHotkeysActionsSv actions = _TranslationsHotkeysActionsSv._(_root);
|
||||
}
|
||||
|
||||
// Path: pinEntry
|
||||
class _TranslationsPinEntrySv implements TranslationsPinEntryEn {
|
||||
_TranslationsPinEntrySv._(this._root);
|
||||
|
||||
final TranslationsSv _root; // ignore: unused_field
|
||||
|
||||
// Translations
|
||||
@override String get enterPin => 'Ange PIN';
|
||||
@override String get showPin => 'Visa PIN';
|
||||
@override String get hidePin => 'Dölj PIN';
|
||||
}
|
||||
|
||||
// Path: fileInfo
|
||||
class _TranslationsFileInfoSv implements TranslationsFileInfoEn {
|
||||
_TranslationsFileInfoSv._(this._root);
|
||||
@@ -473,7 +467,6 @@ class _TranslationsVideoControlsSv implements 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 sleepTimerCompleted => 'Sovtimer slutförd - uppspelning pausad';
|
||||
@override String get stillWatching => 'Tittar du fortfarande?';
|
||||
@override String pausingIn({required Object seconds}) => 'Pausar om ${seconds}s';
|
||||
@override String get continueWatching => 'Fortsätt';
|
||||
@@ -490,20 +483,20 @@ class _TranslationsVideoControlsSv implements TranslationsVideoControlsEn {
|
||||
@override String get muteButton => 'Tysta';
|
||||
@override String get unmuteButton => 'Slå på ljud';
|
||||
@override String get settingsButton => 'Videoinställningar';
|
||||
@override String get audioTrackButton => 'Ljudspår';
|
||||
@override String get subtitlesButton => 'Undertexter';
|
||||
@override String get tracksButton => 'Ljud och undertexter';
|
||||
@override String get chaptersButton => 'Kapitel';
|
||||
@override String get versionsButton => 'Videoversioner';
|
||||
@override String get pipButton => 'Bild-i-bild läge';
|
||||
@override String get aspectRatioButton => 'Bildförhållande';
|
||||
@override String get ambientLighting => 'Ambientbelysning';
|
||||
@override String get ambientLightingOn => 'Aktivera ambientbelysning';
|
||||
@override String get ambientLightingOff => 'Inaktivera ambientbelysning';
|
||||
@override String get fullscreenButton => 'Aktivera helskärm';
|
||||
@override String get exitFullscreenButton => 'Avsluta helskärm';
|
||||
@override String get alwaysOnTopButton => 'Alltid överst';
|
||||
@override String get rotationLockButton => 'Rotationslås';
|
||||
@override String get lockScreen => 'Lås skärm';
|
||||
@override String get unlockScreen => 'Lås upp skärm';
|
||||
@override String get screenLockButton => 'Skärmlås';
|
||||
@override String get longPressToUnlock => 'Tryck länge för att låsa upp';
|
||||
@override String get timelineSlider => 'Videotidslinje';
|
||||
@override String get volumeSlider => 'Volymnivå';
|
||||
@override String endsAt({required Object time}) => 'Slutar ${time}';
|
||||
@@ -637,11 +630,8 @@ class _TranslationsDiscoverSv implements TranslationsDiscoverEn {
|
||||
@override String get overview => 'Översikt';
|
||||
@override String get cast => 'Rollbesättning';
|
||||
@override String get extras => 'Trailers och Extra';
|
||||
@override String get seasons => 'Säsonger';
|
||||
@override String get studio => 'Studio';
|
||||
@override String get rating => 'Åldersgräns';
|
||||
@override String episodeCount({required Object count}) => '${count} avsnitt';
|
||||
@override String watchedProgress({required Object watched, required Object total}) => '${watched}/${total} sedda';
|
||||
@override String get movie => 'Film';
|
||||
@override String get tvShow => 'TV-serie';
|
||||
@override String minutesLeft({required Object minutes}) => '${minutes} min kvar';
|
||||
@@ -764,8 +754,6 @@ class _TranslationsLogsSv implements TranslationsLogsEn {
|
||||
@override String get clearLogs => 'Rensa loggar';
|
||||
@override String get copyLogs => 'Kopiera loggar';
|
||||
@override String get uploadLogs => 'Ladda upp loggar';
|
||||
@override String get error => 'Fel:';
|
||||
@override String get stackTrace => 'Stack trace:';
|
||||
}
|
||||
|
||||
// Path: licenses
|
||||
@@ -801,20 +789,12 @@ class _TranslationsLiveTvSv implements TranslationsLiveTvEn {
|
||||
|
||||
// Translations
|
||||
@override String get title => 'Live-TV';
|
||||
@override String get channels => 'Kanaler';
|
||||
@override String get guide => 'Programguide';
|
||||
@override String get noChannels => 'Inga kanaler tillgängliga';
|
||||
@override String get noDvr => 'Ingen DVR konfigurerad på någon server';
|
||||
@override String get tuneFailed => 'Kunde inte ställa in kanalen';
|
||||
@override String get loading => 'Laddar kanaler...';
|
||||
@override String get nowPlaying => 'Spelas nu';
|
||||
@override String get noPrograms => 'Ingen programdata tillgänglig';
|
||||
@override String channelNumber({required Object number}) => 'Kanal ${number}';
|
||||
@override String get live => 'LIVE';
|
||||
@override String get hd => 'HD';
|
||||
@override String get premiere => 'NY';
|
||||
@override String get reloadGuide => 'Ladda om programguide';
|
||||
@override String get allChannels => 'Alla kanaler';
|
||||
@override String get now => 'Nu';
|
||||
@override String get today => 'Idag';
|
||||
@override String get midnight => 'Midnatt';
|
||||
@@ -825,6 +805,7 @@ class _TranslationsLiveTvSv implements TranslationsLiveTvEn {
|
||||
@override String get lateNight => 'Sen kväll';
|
||||
@override String get whatsOn => 'På TV nu';
|
||||
@override String get watchChannel => 'Titta på kanal';
|
||||
@override String get favorites => 'Favoriter';
|
||||
}
|
||||
|
||||
// Path: downloads
|
||||
@@ -1053,7 +1034,6 @@ class _TranslationsExternalPlayerSv implements TranslationsExternalPlayerEn {
|
||||
@override String get playerCommand => 'Kommando';
|
||||
@override String get playerPackage => 'Paketnamn';
|
||||
@override String get playerUrlScheme => 'URL-schema';
|
||||
@override String get customPlayer => 'Anpassad spelare';
|
||||
@override String get off => 'Av';
|
||||
@override String get launchFailed => 'Kunde inte öppna extern spelare';
|
||||
@override String appNotInstalled({required Object name}) => '${name} är inte installerad';
|
||||
@@ -1192,6 +1172,7 @@ class _TranslationsLibrariesGroupingsSv implements TranslationsLibrariesGrouping
|
||||
final TranslationsSv _root; // ignore: unused_field
|
||||
|
||||
// Translations
|
||||
@override String get title => 'Gruppering';
|
||||
@override String get all => 'Alla';
|
||||
@override String get movies => 'Filmer';
|
||||
@override String get shows => 'Serier';
|
||||
@@ -1330,7 +1311,6 @@ extension on TranslationsSv {
|
||||
'common.shuffle' => 'Blanda',
|
||||
'common.addTo' => 'Lägg till i...',
|
||||
'common.createNew' => 'Skapa ny',
|
||||
'common.remove' => 'Ta bort',
|
||||
'common.paste' => 'Klistra in',
|
||||
'common.connect' => 'Anslut',
|
||||
'common.disconnect' => 'Koppla från',
|
||||
@@ -1344,7 +1324,6 @@ extension on TranslationsSv {
|
||||
'common.settings' => 'Mer',
|
||||
'common.mute' => 'Ljud av',
|
||||
'common.ok' => 'OK',
|
||||
'common.loading' => 'Laddar...',
|
||||
'common.reconnect' => 'Återanslut',
|
||||
'common.exitConfirmTitle' => 'Avsluta appen?',
|
||||
'common.exitConfirmMessage' => 'Är du säker på att du vill avsluta?',
|
||||
@@ -1431,6 +1410,8 @@ extension on TranslationsSv {
|
||||
'settings.subtitleStylingDescription' => 'Anpassa undertextutseende',
|
||||
'settings.smallSkipDuration' => 'Kort hoppvaraktighet',
|
||||
'settings.largeSkipDuration' => 'Lång hoppvaraktighet',
|
||||
'settings.rewindOnResume' => 'Spola tillbaka vid återupptagning',
|
||||
'settings.rewindOnResumeDescription' => 'Spola tillbaka med denna tid vid återupptagning av uppspelning',
|
||||
'settings.secondsUnit' => ({required Object seconds}) => '${seconds} sekunder',
|
||||
'settings.defaultSleepTimer' => 'Standard sovtimer',
|
||||
'settings.minutesUnit' => ({required Object minutes}) => '${minutes} minuter',
|
||||
@@ -1472,6 +1453,11 @@ extension on TranslationsSv {
|
||||
'settings.autoSkipCreditsDescription' => 'Hoppa automatiskt över credits och spela nästa avsnitt',
|
||||
'settings.autoSkipDelay' => 'Fördröjning Auto Hoppa Över',
|
||||
'settings.autoSkipDelayDescription' => ({required Object seconds}) => 'Vänta ${seconds} sekunder innan automatisk överhoppning',
|
||||
'settings.introPattern' => 'Intromarkörsmönster',
|
||||
'settings.introPatternDescription' => 'Reguljärt uttryck för att matcha intromarkörer i kapiteltitlar',
|
||||
'settings.creditsPattern' => 'Eftertextmarkörsmönster',
|
||||
'settings.creditsPatternDescription' => 'Reguljärt uttryck för att matcha eftertextmarkörer i kapiteltitlar',
|
||||
'settings.invalidRegex' => 'Ogiltigt reguljärt uttryck',
|
||||
'settings.downloads' => 'Nedladdningar',
|
||||
'settings.downloadLocationDescription' => 'Välj var nedladdat innehåll ska lagras',
|
||||
'settings.downloadLocationDefault' => 'Standard (App-lagring)',
|
||||
@@ -1503,6 +1489,8 @@ extension on TranslationsSv {
|
||||
'settings.confirmExitOnBackDescription' => 'Visa en bekräftelsedialog när du trycker tillbaka för att avsluta appen',
|
||||
'settings.showNavBarLabels' => 'Visa navigeringsfältets etiketter',
|
||||
'settings.showNavBarLabelsDescription' => 'Visa textetiketter under navigeringsfältets ikoner',
|
||||
'settings.liveTvDefaultFavorites' => 'Standard till favoritkanaler',
|
||||
'settings.liveTvDefaultFavoritesDescription' => 'Visa bara favoritkanaler när du öppnar Live TV',
|
||||
'search.hint' => 'Sök filmer, serier, musik...',
|
||||
'search.tryDifferentTerm' => 'Prova en annan sökterm',
|
||||
'search.searchYourMedia' => 'Sök i dina media',
|
||||
@@ -1528,9 +1516,6 @@ extension on TranslationsSv {
|
||||
'hotkeys.actions.subSeekPrev' => 'Hoppa till föregående undertext',
|
||||
'hotkeys.actions.shaderToggle' => 'Växla shaders',
|
||||
'hotkeys.actions.skipMarker' => 'Hoppa över intro/eftertexter',
|
||||
'pinEntry.enterPin' => 'Ange PIN',
|
||||
'pinEntry.showPin' => 'Visa PIN',
|
||||
'pinEntry.hidePin' => 'Dölj PIN',
|
||||
'fileInfo.title' => 'Filinformation',
|
||||
'fileInfo.video' => 'Video',
|
||||
'fileInfo.audio' => 'Ljud',
|
||||
@@ -1594,7 +1579,6 @@ extension on TranslationsSv {
|
||||
'videoControls.unlockRotation' => 'Lås upp rotation',
|
||||
'videoControls.timerActive' => 'Timer aktiv',
|
||||
'videoControls.playbackWillPauseIn' => ({required Object duration}) => 'Uppspelningen pausas om ${duration}',
|
||||
'videoControls.sleepTimerCompleted' => 'Sovtimer slutförd - uppspelning pausad',
|
||||
'videoControls.stillWatching' => 'Tittar du fortfarande?',
|
||||
'videoControls.pausingIn' => ({required Object seconds}) => 'Pausar om ${seconds}s',
|
||||
'videoControls.continueWatching' => 'Fortsätt',
|
||||
@@ -1611,20 +1595,20 @@ extension on TranslationsSv {
|
||||
'videoControls.muteButton' => 'Tysta',
|
||||
'videoControls.unmuteButton' => 'Slå på ljud',
|
||||
'videoControls.settingsButton' => 'Videoinställningar',
|
||||
'videoControls.audioTrackButton' => 'Ljudspår',
|
||||
'videoControls.subtitlesButton' => 'Undertexter',
|
||||
'videoControls.tracksButton' => 'Ljud och undertexter',
|
||||
'videoControls.chaptersButton' => 'Kapitel',
|
||||
'videoControls.versionsButton' => 'Videoversioner',
|
||||
'videoControls.pipButton' => 'Bild-i-bild läge',
|
||||
'videoControls.aspectRatioButton' => 'Bildförhållande',
|
||||
'videoControls.ambientLighting' => 'Ambientbelysning',
|
||||
'videoControls.ambientLightingOn' => 'Aktivera ambientbelysning',
|
||||
'videoControls.ambientLightingOff' => 'Inaktivera ambientbelysning',
|
||||
'videoControls.fullscreenButton' => 'Aktivera helskärm',
|
||||
'videoControls.exitFullscreenButton' => 'Avsluta helskärm',
|
||||
'videoControls.alwaysOnTopButton' => 'Alltid överst',
|
||||
'videoControls.rotationLockButton' => 'Rotationslås',
|
||||
'videoControls.lockScreen' => 'Lås skärm',
|
||||
'videoControls.unlockScreen' => 'Lås upp skärm',
|
||||
'videoControls.screenLockButton' => 'Skärmlås',
|
||||
'videoControls.longPressToUnlock' => 'Tryck länge för att låsa upp',
|
||||
'videoControls.timelineSlider' => 'Videotidslinje',
|
||||
'videoControls.volumeSlider' => 'Volymnivå',
|
||||
'videoControls.endsAt' => ({required Object time}) => 'Slutar ${time}',
|
||||
@@ -1710,11 +1694,8 @@ extension on TranslationsSv {
|
||||
'discover.overview' => 'Översikt',
|
||||
'discover.cast' => 'Rollbesättning',
|
||||
'discover.extras' => 'Trailers och Extra',
|
||||
'discover.seasons' => 'Säsonger',
|
||||
'discover.studio' => 'Studio',
|
||||
'discover.rating' => 'Åldersgräns',
|
||||
'discover.episodeCount' => ({required Object count}) => '${count} avsnitt',
|
||||
'discover.watchedProgress' => ({required Object watched, required Object total}) => '${watched}/${total} sedda',
|
||||
'discover.movie' => 'Film',
|
||||
'discover.tvShow' => 'TV-serie',
|
||||
'discover.minutesLeft' => ({required Object minutes}) => '${minutes} min kvar',
|
||||
@@ -1769,6 +1750,7 @@ extension on TranslationsSv {
|
||||
'libraries.tabs.browse' => 'Bläddra',
|
||||
'libraries.tabs.collections' => 'Samlingar',
|
||||
'libraries.tabs.playlists' => 'Spellistor',
|
||||
'libraries.groupings.title' => 'Gruppering',
|
||||
'libraries.groupings.all' => 'Alla',
|
||||
'libraries.groupings.movies' => 'Filmer',
|
||||
'libraries.groupings.shows' => 'Serier',
|
||||
@@ -1791,8 +1773,6 @@ extension on TranslationsSv {
|
||||
'logs.clearLogs' => 'Rensa loggar',
|
||||
'logs.copyLogs' => 'Kopiera loggar',
|
||||
'logs.uploadLogs' => 'Ladda upp loggar',
|
||||
'logs.error' => 'Fel:',
|
||||
'logs.stackTrace' => 'Stack trace:',
|
||||
'licenses.relatedPackages' => 'Relaterade paket',
|
||||
'licenses.license' => 'Licens',
|
||||
'licenses.licenseNumber' => ({required Object number}) => 'Licens ${number}',
|
||||
@@ -1801,23 +1781,13 @@ extension on TranslationsSv {
|
||||
'navigation.downloads' => 'Nerladdat',
|
||||
'navigation.liveTv' => 'Live-TV',
|
||||
'liveTv.title' => 'Live-TV',
|
||||
'liveTv.channels' => 'Kanaler',
|
||||
'liveTv.guide' => 'Programguide',
|
||||
'liveTv.noChannels' => 'Inga kanaler tillgängliga',
|
||||
'liveTv.noDvr' => 'Ingen DVR konfigurerad på någon server',
|
||||
'liveTv.tuneFailed' => 'Kunde inte ställa in kanalen',
|
||||
'liveTv.loading' => 'Laddar kanaler...',
|
||||
'liveTv.nowPlaying' => 'Spelas nu',
|
||||
'liveTv.noPrograms' => 'Ingen programdata tillgänglig',
|
||||
'liveTv.channelNumber' => ({required Object number}) => 'Kanal ${number}',
|
||||
'liveTv.live' => 'LIVE',
|
||||
'liveTv.hd' => 'HD',
|
||||
'liveTv.premiere' => 'NY',
|
||||
'liveTv.reloadGuide' => 'Ladda om programguide',
|
||||
'liveTv.allChannels' => 'Alla kanaler',
|
||||
'liveTv.now' => 'Nu',
|
||||
_ => null,
|
||||
} ?? switch (path) {
|
||||
'liveTv.today' => 'Idag',
|
||||
'liveTv.midnight' => 'Midnatt',
|
||||
'liveTv.overnight' => 'Natt',
|
||||
@@ -1827,6 +1797,9 @@ extension on TranslationsSv {
|
||||
'liveTv.lateNight' => 'Sen kväll',
|
||||
'liveTv.whatsOn' => 'På TV nu',
|
||||
'liveTv.watchChannel' => 'Titta på kanal',
|
||||
_ => null,
|
||||
} ?? switch (path) {
|
||||
'liveTv.favorites' => 'Favoriter',
|
||||
'downloads.title' => 'Nedladdningar',
|
||||
'downloads.manage' => 'Hantera',
|
||||
'downloads.tvShows' => 'TV-serier',
|
||||
@@ -2049,7 +2022,6 @@ extension on TranslationsSv {
|
||||
'externalPlayer.playerCommand' => 'Kommando',
|
||||
'externalPlayer.playerPackage' => 'Paketnamn',
|
||||
'externalPlayer.playerUrlScheme' => 'URL-schema',
|
||||
'externalPlayer.customPlayer' => 'Anpassad spelare',
|
||||
'externalPlayer.off' => 'Av',
|
||||
'externalPlayer.launchFailed' => 'Kunde inte öppna extern spelare',
|
||||
'externalPlayer.appNotInstalled' => ({required Object name}) => '${name} är inte installerad',
|
||||
|
||||
+32
-60
@@ -45,7 +45,6 @@ class TranslationsZh with BaseTranslations<AppLocale, Translations> implements T
|
||||
@override late final _TranslationsSettingsZh settings = _TranslationsSettingsZh._(_root);
|
||||
@override late final _TranslationsSearchZh search = _TranslationsSearchZh._(_root);
|
||||
@override late final _TranslationsHotkeysZh hotkeys = _TranslationsHotkeysZh._(_root);
|
||||
@override late final _TranslationsPinEntryZh pinEntry = _TranslationsPinEntryZh._(_root);
|
||||
@override late final _TranslationsFileInfoZh fileInfo = _TranslationsFileInfoZh._(_root);
|
||||
@override late final _TranslationsMediaMenuZh mediaMenu = _TranslationsMediaMenuZh._(_root);
|
||||
@override late final _TranslationsAccessibilityZh accessibility = _TranslationsAccessibilityZh._(_root);
|
||||
@@ -128,7 +127,6 @@ class _TranslationsCommonZh implements TranslationsCommonEn {
|
||||
@override String get shuffle => '随机播放';
|
||||
@override String get addTo => '添加到...';
|
||||
@override String get createNew => '新建';
|
||||
@override String get remove => '删除';
|
||||
@override String get paste => '粘贴';
|
||||
@override String get connect => '连接';
|
||||
@override String get disconnect => '断开连接';
|
||||
@@ -142,7 +140,6 @@ class _TranslationsCommonZh implements TranslationsCommonEn {
|
||||
@override String get settings => '设置';
|
||||
@override String get mute => '静音';
|
||||
@override String get ok => '确定';
|
||||
@override String get loading => '加载中...';
|
||||
@override String get reconnect => '重新连接';
|
||||
@override String get exitConfirmTitle => '退出应用?';
|
||||
@override String get exitConfirmMessage => '确定要退出吗?';
|
||||
@@ -256,6 +253,8 @@ class _TranslationsSettingsZh implements TranslationsSettingsEn {
|
||||
@override String get subtitleStylingDescription => '调整字幕外观';
|
||||
@override String get smallSkipDuration => '短跳过时长';
|
||||
@override String get largeSkipDuration => '长跳过时长';
|
||||
@override String get rewindOnResume => '恢复时回退';
|
||||
@override String get rewindOnResumeDescription => '恢复播放时回退此时长';
|
||||
@override String secondsUnit({required Object seconds}) => '${seconds} 秒';
|
||||
@override String get defaultSleepTimer => '默认睡眠定时器';
|
||||
@override String minutesUnit({required Object minutes}) => '${minutes} 分钟';
|
||||
@@ -297,6 +296,11 @@ class _TranslationsSettingsZh implements TranslationsSettingsEn {
|
||||
@override String get autoSkipCreditsDescription => '自动跳过片尾并播放下一集';
|
||||
@override String get autoSkipDelay => '自动跳过延迟';
|
||||
@override String autoSkipDelayDescription({required Object seconds}) => '自动跳过前等待 ${seconds} 秒';
|
||||
@override String get introPattern => '片头标记模式';
|
||||
@override String get introPatternDescription => '用于匹配章节标题中片头标记的正则表达式';
|
||||
@override String get creditsPattern => '片尾标记模式';
|
||||
@override String get creditsPatternDescription => '用于匹配章节标题中片尾标记的正则表达式';
|
||||
@override String get invalidRegex => '无效的正则表达式';
|
||||
@override String get downloads => '下载';
|
||||
@override String get downloadLocationDescription => '选择下载内容的存储位置';
|
||||
@override String get downloadLocationDefault => '默认(应用存储)';
|
||||
@@ -328,6 +332,8 @@ class _TranslationsSettingsZh implements TranslationsSettingsEn {
|
||||
@override String get confirmExitOnBackDescription => '按返回键退出应用时显示确认对话框';
|
||||
@override String get showNavBarLabels => '显示导航栏标签';
|
||||
@override String get showNavBarLabelsDescription => '在导航栏图标下方显示文字标签';
|
||||
@override String get liveTvDefaultFavorites => '默认显示收藏频道';
|
||||
@override String get liveTvDefaultFavoritesDescription => '打开直播电视时仅显示收藏频道';
|
||||
}
|
||||
|
||||
// Path: search
|
||||
@@ -355,18 +361,6 @@ class _TranslationsHotkeysZh implements TranslationsHotkeysEn {
|
||||
@override late final _TranslationsHotkeysActionsZh actions = _TranslationsHotkeysActionsZh._(_root);
|
||||
}
|
||||
|
||||
// Path: pinEntry
|
||||
class _TranslationsPinEntryZh implements TranslationsPinEntryEn {
|
||||
_TranslationsPinEntryZh._(this._root);
|
||||
|
||||
final TranslationsZh _root; // ignore: unused_field
|
||||
|
||||
// Translations
|
||||
@override String get enterPin => '输入 PIN';
|
||||
@override String get showPin => '显示 PIN';
|
||||
@override String get hidePin => '隐藏 PIN';
|
||||
}
|
||||
|
||||
// Path: fileInfo
|
||||
class _TranslationsFileInfoZh implements TranslationsFileInfoEn {
|
||||
_TranslationsFileInfoZh._(this._root);
|
||||
@@ -473,7 +467,6 @@ class _TranslationsVideoControlsZh implements TranslationsVideoControlsEn {
|
||||
@override String get unlockRotation => '解锁旋转';
|
||||
@override String get timerActive => '定时器已激活';
|
||||
@override String playbackWillPauseIn({required Object duration}) => '播放将在 ${duration} 后暂停';
|
||||
@override String get sleepTimerCompleted => '睡眠定时器已完成 - 播放已暂停';
|
||||
@override String get stillWatching => '还在看吗?';
|
||||
@override String pausingIn({required Object seconds}) => '${seconds}秒后暂停';
|
||||
@override String get continueWatching => '继续';
|
||||
@@ -490,20 +483,20 @@ class _TranslationsVideoControlsZh implements TranslationsVideoControlsEn {
|
||||
@override String get muteButton => '静音';
|
||||
@override String get unmuteButton => '取消静音';
|
||||
@override String get settingsButton => '视频设置';
|
||||
@override String get audioTrackButton => '音轨';
|
||||
@override String get subtitlesButton => '字幕';
|
||||
@override String get tracksButton => '音频和字幕';
|
||||
@override String get chaptersButton => '章节';
|
||||
@override String get versionsButton => '视频版本';
|
||||
@override String get pipButton => '画中画模式';
|
||||
@override String get aspectRatioButton => '宽高比';
|
||||
@override String get ambientLighting => '氛围灯光';
|
||||
@override String get ambientLightingOn => '开启氛围灯光';
|
||||
@override String get ambientLightingOff => '关闭氛围灯光';
|
||||
@override String get fullscreenButton => '进入全屏';
|
||||
@override String get exitFullscreenButton => '退出全屏';
|
||||
@override String get alwaysOnTopButton => '置顶窗口';
|
||||
@override String get rotationLockButton => '旋转锁定';
|
||||
@override String get lockScreen => '锁定屏幕';
|
||||
@override String get unlockScreen => '解锁屏幕';
|
||||
@override String get screenLockButton => '屏幕锁定';
|
||||
@override String get longPressToUnlock => '长按解锁';
|
||||
@override String get timelineSlider => '视频时间轴';
|
||||
@override String get volumeSlider => '音量调节';
|
||||
@override String endsAt({required Object time}) => '${time} 结束';
|
||||
@@ -637,11 +630,8 @@ class _TranslationsDiscoverZh implements TranslationsDiscoverEn {
|
||||
@override String get overview => '概述';
|
||||
@override String get cast => '演员表';
|
||||
@override String get extras => '预告片与花絮';
|
||||
@override String get seasons => '季数';
|
||||
@override String get studio => '制作公司';
|
||||
@override String get rating => '年龄分级';
|
||||
@override String episodeCount({required Object count}) => '${count} 集';
|
||||
@override String watchedProgress({required Object watched, required Object total}) => '已观看 ${watched}/${total} 集';
|
||||
@override String get movie => '电影';
|
||||
@override String get tvShow => '电视剧';
|
||||
@override String minutesLeft({required Object minutes}) => '剩余 ${minutes} 分钟';
|
||||
@@ -764,8 +754,6 @@ class _TranslationsLogsZh implements TranslationsLogsEn {
|
||||
@override String get clearLogs => '清除日志';
|
||||
@override String get copyLogs => '复制日志';
|
||||
@override String get uploadLogs => '上传日志';
|
||||
@override String get error => '错误:';
|
||||
@override String get stackTrace => '堆栈跟踪 (Stack Trace):';
|
||||
}
|
||||
|
||||
// Path: licenses
|
||||
@@ -801,20 +789,12 @@ class _TranslationsLiveTvZh implements TranslationsLiveTvEn {
|
||||
|
||||
// Translations
|
||||
@override String get title => '电视直播';
|
||||
@override String get channels => '频道';
|
||||
@override String get guide => '节目指南';
|
||||
@override String get noChannels => '没有可用的频道';
|
||||
@override String get noDvr => '没有服务器配置了DVR';
|
||||
@override String get tuneFailed => '无法调谐频道';
|
||||
@override String get loading => '正在加载频道...';
|
||||
@override String get nowPlaying => '正在播放';
|
||||
@override String get noPrograms => '没有可用的节目数据';
|
||||
@override String channelNumber({required Object number}) => '频道 ${number}';
|
||||
@override String get live => '直播';
|
||||
@override String get hd => '高清';
|
||||
@override String get premiere => '新';
|
||||
@override String get reloadGuide => '重新加载节目指南';
|
||||
@override String get allChannels => '所有频道';
|
||||
@override String get now => '现在';
|
||||
@override String get today => '今天';
|
||||
@override String get midnight => '午夜';
|
||||
@@ -825,6 +805,7 @@ class _TranslationsLiveTvZh implements TranslationsLiveTvEn {
|
||||
@override String get lateNight => '深夜';
|
||||
@override String get whatsOn => '正在播出';
|
||||
@override String get watchChannel => '观看频道';
|
||||
@override String get favorites => '收藏';
|
||||
}
|
||||
|
||||
// Path: downloads
|
||||
@@ -1053,7 +1034,6 @@ class _TranslationsExternalPlayerZh implements TranslationsExternalPlayerEn {
|
||||
@override String get playerCommand => '命令';
|
||||
@override String get playerPackage => '包名';
|
||||
@override String get playerUrlScheme => 'URL 方案';
|
||||
@override String get customPlayer => '自定义播放器';
|
||||
@override String get off => '关闭';
|
||||
@override String get launchFailed => '无法打开外部播放器';
|
||||
@override String appNotInstalled({required Object name}) => '${name} 未安装';
|
||||
@@ -1192,6 +1172,7 @@ class _TranslationsLibrariesGroupingsZh implements TranslationsLibrariesGrouping
|
||||
final TranslationsZh _root; // ignore: unused_field
|
||||
|
||||
// Translations
|
||||
@override String get title => '分组';
|
||||
@override String get all => '全部';
|
||||
@override String get movies => '电影';
|
||||
@override String get shows => '剧集';
|
||||
@@ -1330,7 +1311,6 @@ extension on TranslationsZh {
|
||||
'common.shuffle' => '随机播放',
|
||||
'common.addTo' => '添加到...',
|
||||
'common.createNew' => '新建',
|
||||
'common.remove' => '删除',
|
||||
'common.paste' => '粘贴',
|
||||
'common.connect' => '连接',
|
||||
'common.disconnect' => '断开连接',
|
||||
@@ -1344,7 +1324,6 @@ extension on TranslationsZh {
|
||||
'common.settings' => '设置',
|
||||
'common.mute' => '静音',
|
||||
'common.ok' => '确定',
|
||||
'common.loading' => '加载中...',
|
||||
'common.reconnect' => '重新连接',
|
||||
'common.exitConfirmTitle' => '退出应用?',
|
||||
'common.exitConfirmMessage' => '确定要退出吗?',
|
||||
@@ -1431,6 +1410,8 @@ extension on TranslationsZh {
|
||||
'settings.subtitleStylingDescription' => '调整字幕外观',
|
||||
'settings.smallSkipDuration' => '短跳过时长',
|
||||
'settings.largeSkipDuration' => '长跳过时长',
|
||||
'settings.rewindOnResume' => '恢复时回退',
|
||||
'settings.rewindOnResumeDescription' => '恢复播放时回退此时长',
|
||||
'settings.secondsUnit' => ({required Object seconds}) => '${seconds} 秒',
|
||||
'settings.defaultSleepTimer' => '默认睡眠定时器',
|
||||
'settings.minutesUnit' => ({required Object minutes}) => '${minutes} 分钟',
|
||||
@@ -1472,6 +1453,11 @@ extension on TranslationsZh {
|
||||
'settings.autoSkipCreditsDescription' => '自动跳过片尾并播放下一集',
|
||||
'settings.autoSkipDelay' => '自动跳过延迟',
|
||||
'settings.autoSkipDelayDescription' => ({required Object seconds}) => '自动跳过前等待 ${seconds} 秒',
|
||||
'settings.introPattern' => '片头标记模式',
|
||||
'settings.introPatternDescription' => '用于匹配章节标题中片头标记的正则表达式',
|
||||
'settings.creditsPattern' => '片尾标记模式',
|
||||
'settings.creditsPatternDescription' => '用于匹配章节标题中片尾标记的正则表达式',
|
||||
'settings.invalidRegex' => '无效的正则表达式',
|
||||
'settings.downloads' => '下载',
|
||||
'settings.downloadLocationDescription' => '选择下载内容的存储位置',
|
||||
'settings.downloadLocationDefault' => '默认(应用存储)',
|
||||
@@ -1503,6 +1489,8 @@ extension on TranslationsZh {
|
||||
'settings.confirmExitOnBackDescription' => '按返回键退出应用时显示确认对话框',
|
||||
'settings.showNavBarLabels' => '显示导航栏标签',
|
||||
'settings.showNavBarLabelsDescription' => '在导航栏图标下方显示文字标签',
|
||||
'settings.liveTvDefaultFavorites' => '默认显示收藏频道',
|
||||
'settings.liveTvDefaultFavoritesDescription' => '打开直播电视时仅显示收藏频道',
|
||||
'search.hint' => '搜索电影、系列、音乐...',
|
||||
'search.tryDifferentTerm' => '尝试不同的搜索词',
|
||||
'search.searchYourMedia' => '搜索媒体',
|
||||
@@ -1528,9 +1516,6 @@ extension on TranslationsZh {
|
||||
'hotkeys.actions.subSeekPrev' => '跳转到上一字幕',
|
||||
'hotkeys.actions.shaderToggle' => '切换着色器',
|
||||
'hotkeys.actions.skipMarker' => '跳过片头/片尾',
|
||||
'pinEntry.enterPin' => '输入 PIN',
|
||||
'pinEntry.showPin' => '显示 PIN',
|
||||
'pinEntry.hidePin' => '隐藏 PIN',
|
||||
'fileInfo.title' => '文件信息',
|
||||
'fileInfo.video' => '视频',
|
||||
'fileInfo.audio' => '音频',
|
||||
@@ -1594,7 +1579,6 @@ extension on TranslationsZh {
|
||||
'videoControls.unlockRotation' => '解锁旋转',
|
||||
'videoControls.timerActive' => '定时器已激活',
|
||||
'videoControls.playbackWillPauseIn' => ({required Object duration}) => '播放将在 ${duration} 后暂停',
|
||||
'videoControls.sleepTimerCompleted' => '睡眠定时器已完成 - 播放已暂停',
|
||||
'videoControls.stillWatching' => '还在看吗?',
|
||||
'videoControls.pausingIn' => ({required Object seconds}) => '${seconds}秒后暂停',
|
||||
'videoControls.continueWatching' => '继续',
|
||||
@@ -1611,20 +1595,20 @@ extension on TranslationsZh {
|
||||
'videoControls.muteButton' => '静音',
|
||||
'videoControls.unmuteButton' => '取消静音',
|
||||
'videoControls.settingsButton' => '视频设置',
|
||||
'videoControls.audioTrackButton' => '音轨',
|
||||
'videoControls.subtitlesButton' => '字幕',
|
||||
'videoControls.tracksButton' => '音频和字幕',
|
||||
'videoControls.chaptersButton' => '章节',
|
||||
'videoControls.versionsButton' => '视频版本',
|
||||
'videoControls.pipButton' => '画中画模式',
|
||||
'videoControls.aspectRatioButton' => '宽高比',
|
||||
'videoControls.ambientLighting' => '氛围灯光',
|
||||
'videoControls.ambientLightingOn' => '开启氛围灯光',
|
||||
'videoControls.ambientLightingOff' => '关闭氛围灯光',
|
||||
'videoControls.fullscreenButton' => '进入全屏',
|
||||
'videoControls.exitFullscreenButton' => '退出全屏',
|
||||
'videoControls.alwaysOnTopButton' => '置顶窗口',
|
||||
'videoControls.rotationLockButton' => '旋转锁定',
|
||||
'videoControls.lockScreen' => '锁定屏幕',
|
||||
'videoControls.unlockScreen' => '解锁屏幕',
|
||||
'videoControls.screenLockButton' => '屏幕锁定',
|
||||
'videoControls.longPressToUnlock' => '长按解锁',
|
||||
'videoControls.timelineSlider' => '视频时间轴',
|
||||
'videoControls.volumeSlider' => '音量调节',
|
||||
'videoControls.endsAt' => ({required Object time}) => '${time} 结束',
|
||||
@@ -1710,11 +1694,8 @@ extension on TranslationsZh {
|
||||
'discover.overview' => '概述',
|
||||
'discover.cast' => '演员表',
|
||||
'discover.extras' => '预告片与花絮',
|
||||
'discover.seasons' => '季数',
|
||||
'discover.studio' => '制作公司',
|
||||
'discover.rating' => '年龄分级',
|
||||
'discover.episodeCount' => ({required Object count}) => '${count} 集',
|
||||
'discover.watchedProgress' => ({required Object watched, required Object total}) => '已观看 ${watched}/${total} 集',
|
||||
'discover.movie' => '电影',
|
||||
'discover.tvShow' => '电视剧',
|
||||
'discover.minutesLeft' => ({required Object minutes}) => '剩余 ${minutes} 分钟',
|
||||
@@ -1769,6 +1750,7 @@ extension on TranslationsZh {
|
||||
'libraries.tabs.browse' => '浏览',
|
||||
'libraries.tabs.collections' => '合集',
|
||||
'libraries.tabs.playlists' => '播放列表',
|
||||
'libraries.groupings.title' => '分组',
|
||||
'libraries.groupings.all' => '全部',
|
||||
'libraries.groupings.movies' => '电影',
|
||||
'libraries.groupings.shows' => '剧集',
|
||||
@@ -1791,8 +1773,6 @@ extension on TranslationsZh {
|
||||
'logs.clearLogs' => '清除日志',
|
||||
'logs.copyLogs' => '复制日志',
|
||||
'logs.uploadLogs' => '上传日志',
|
||||
'logs.error' => '错误:',
|
||||
'logs.stackTrace' => '堆栈跟踪 (Stack Trace):',
|
||||
'licenses.relatedPackages' => '相关软件包',
|
||||
'licenses.license' => '许可证',
|
||||
'licenses.licenseNumber' => ({required Object number}) => '许可证 ${number}',
|
||||
@@ -1801,23 +1781,13 @@ extension on TranslationsZh {
|
||||
'navigation.downloads' => '下载',
|
||||
'navigation.liveTv' => '电视直播',
|
||||
'liveTv.title' => '电视直播',
|
||||
'liveTv.channels' => '频道',
|
||||
'liveTv.guide' => '节目指南',
|
||||
'liveTv.noChannels' => '没有可用的频道',
|
||||
'liveTv.noDvr' => '没有服务器配置了DVR',
|
||||
'liveTv.tuneFailed' => '无法调谐频道',
|
||||
'liveTv.loading' => '正在加载频道...',
|
||||
'liveTv.nowPlaying' => '正在播放',
|
||||
'liveTv.noPrograms' => '没有可用的节目数据',
|
||||
'liveTv.channelNumber' => ({required Object number}) => '频道 ${number}',
|
||||
'liveTv.live' => '直播',
|
||||
'liveTv.hd' => '高清',
|
||||
'liveTv.premiere' => '新',
|
||||
'liveTv.reloadGuide' => '重新加载节目指南',
|
||||
'liveTv.allChannels' => '所有频道',
|
||||
'liveTv.now' => '现在',
|
||||
_ => null,
|
||||
} ?? switch (path) {
|
||||
'liveTv.today' => '今天',
|
||||
'liveTv.midnight' => '午夜',
|
||||
'liveTv.overnight' => '凌晨',
|
||||
@@ -1827,6 +1797,9 @@ extension on TranslationsZh {
|
||||
'liveTv.lateNight' => '深夜',
|
||||
'liveTv.whatsOn' => '正在播出',
|
||||
'liveTv.watchChannel' => '观看频道',
|
||||
_ => null,
|
||||
} ?? switch (path) {
|
||||
'liveTv.favorites' => '收藏',
|
||||
'downloads.title' => '下载',
|
||||
'downloads.manage' => '管理',
|
||||
'downloads.tvShows' => '电视剧',
|
||||
@@ -2049,7 +2022,6 @@ extension on TranslationsZh {
|
||||
'externalPlayer.playerCommand' => '命令',
|
||||
'externalPlayer.playerPackage' => '包名',
|
||||
'externalPlayer.playerUrlScheme' => 'URL 方案',
|
||||
'externalPlayer.customPlayer' => '自定义播放器',
|
||||
'externalPlayer.off' => '关闭',
|
||||
'externalPlayer.launchFailed' => '无法打开外部播放器',
|
||||
'externalPlayer.appNotInstalled' => ({required Object name}) => '${name} 未安装',
|
||||
|
||||
+18
-29
@@ -30,7 +30,6 @@
|
||||
"shuffle": "Blanda",
|
||||
"addTo": "Lägg till i...",
|
||||
"createNew": "Skapa ny",
|
||||
"remove": "Ta bort",
|
||||
"paste": "Klistra in",
|
||||
"connect": "Anslut",
|
||||
"disconnect": "Koppla från",
|
||||
@@ -44,7 +43,6 @@
|
||||
"settings": "Mer",
|
||||
"mute": "Ljud av",
|
||||
"ok": "OK",
|
||||
"loading": "Laddar...",
|
||||
"reconnect": "Återanslut",
|
||||
"exitConfirmTitle": "Avsluta appen?",
|
||||
"exitConfirmMessage": "Är du säker på att du vill avsluta?",
|
||||
@@ -137,6 +135,8 @@
|
||||
"subtitleStylingDescription": "Anpassa undertextutseende",
|
||||
"smallSkipDuration": "Kort hoppvaraktighet",
|
||||
"largeSkipDuration": "Lång hoppvaraktighet",
|
||||
"rewindOnResume": "Spola tillbaka vid återupptagning",
|
||||
"rewindOnResumeDescription": "Spola tillbaka med denna tid vid återupptagning av uppspelning",
|
||||
"secondsUnit": "${seconds} sekunder",
|
||||
"defaultSleepTimer": "Standard sovtimer",
|
||||
"minutesUnit": "${minutes} minuter",
|
||||
@@ -178,6 +178,11 @@
|
||||
"autoSkipCreditsDescription": "Hoppa automatiskt över credits och spela nästa avsnitt",
|
||||
"autoSkipDelay": "Fördröjning Auto Hoppa Över",
|
||||
"autoSkipDelayDescription": "Vänta ${seconds} sekunder innan automatisk överhoppning",
|
||||
"introPattern": "Intromarkörsmönster",
|
||||
"introPatternDescription": "Reguljärt uttryck för att matcha intromarkörer i kapiteltitlar",
|
||||
"creditsPattern": "Eftertextmarkörsmönster",
|
||||
"creditsPatternDescription": "Reguljärt uttryck för att matcha eftertextmarkörer i kapiteltitlar",
|
||||
"invalidRegex": "Ogiltigt reguljärt uttryck",
|
||||
"downloads": "Nedladdningar",
|
||||
"downloadLocationDescription": "Välj var nedladdat innehåll ska lagras",
|
||||
"downloadLocationDefault": "Standard (App-lagring)",
|
||||
@@ -208,7 +213,9 @@
|
||||
"confirmExitOnBack": "Bekräfta innan avslut",
|
||||
"confirmExitOnBackDescription": "Visa en bekräftelsedialog när du trycker tillbaka för att avsluta appen",
|
||||
"showNavBarLabels": "Visa navigeringsfältets etiketter",
|
||||
"showNavBarLabelsDescription": "Visa textetiketter under navigeringsfältets ikoner"
|
||||
"showNavBarLabelsDescription": "Visa textetiketter under navigeringsfältets ikoner",
|
||||
"liveTvDefaultFavorites": "Standard till favoritkanaler",
|
||||
"liveTvDefaultFavoritesDescription": "Visa bara favoritkanaler när du öppnar Live TV"
|
||||
},
|
||||
"search": {
|
||||
"hint": "Sök filmer, serier, musik...",
|
||||
@@ -241,11 +248,6 @@
|
||||
"skipMarker": "Hoppa över intro/eftertexter"
|
||||
}
|
||||
},
|
||||
"pinEntry": {
|
||||
"enterPin": "Ange PIN",
|
||||
"showPin": "Visa PIN",
|
||||
"hidePin": "Dölj PIN"
|
||||
},
|
||||
"fileInfo": {
|
||||
"title": "Filinformation",
|
||||
"video": "Video",
|
||||
@@ -318,7 +320,6 @@
|
||||
"unlockRotation": "Lås upp rotation",
|
||||
"timerActive": "Timer aktiv",
|
||||
"playbackWillPauseIn": "Uppspelningen pausas om ${duration}",
|
||||
"sleepTimerCompleted": "Sovtimer slutförd - uppspelning pausad",
|
||||
"stillWatching": "Tittar du fortfarande?",
|
||||
"pausingIn": "Pausar om ${seconds}s",
|
||||
"continueWatching": "Fortsätt",
|
||||
@@ -335,20 +336,20 @@
|
||||
"muteButton": "Tysta",
|
||||
"unmuteButton": "Slå på ljud",
|
||||
"settingsButton": "Videoinställningar",
|
||||
"audioTrackButton": "Ljudspår",
|
||||
"subtitlesButton": "Undertexter",
|
||||
"tracksButton": "Ljud och undertexter",
|
||||
"chaptersButton": "Kapitel",
|
||||
"versionsButton": "Videoversioner",
|
||||
"pipButton": "Bild-i-bild läge",
|
||||
"aspectRatioButton": "Bildförhållande",
|
||||
"ambientLighting": "Ambientbelysning",
|
||||
"ambientLightingOn": "Aktivera ambientbelysning",
|
||||
"ambientLightingOff": "Inaktivera ambientbelysning",
|
||||
"fullscreenButton": "Aktivera helskärm",
|
||||
"exitFullscreenButton": "Avsluta helskärm",
|
||||
"alwaysOnTopButton": "Alltid överst",
|
||||
"rotationLockButton": "Rotationslås",
|
||||
"lockScreen": "Lås skärm",
|
||||
"unlockScreen": "Lås upp skärm",
|
||||
"screenLockButton": "Skärmlås",
|
||||
"longPressToUnlock": "Tryck länge för att låsa upp",
|
||||
"timelineSlider": "Videotidslinje",
|
||||
"volumeSlider": "Volymnivå",
|
||||
"endsAt": "Slutar ${time}",
|
||||
@@ -448,11 +449,8 @@
|
||||
"overview": "Översikt",
|
||||
"cast": "Rollbesättning",
|
||||
"extras": "Trailers och Extra",
|
||||
"seasons": "Säsonger",
|
||||
"studio": "Studio",
|
||||
"rating": "Åldersgräns",
|
||||
"episodeCount": "${count} avsnitt",
|
||||
"watchedProgress": "${watched}/${total} sedda",
|
||||
"movie": "Film",
|
||||
"tvShow": "TV-serie",
|
||||
"minutesLeft": "${minutes} min kvar"
|
||||
@@ -514,6 +512,7 @@
|
||||
"playlists": "Spellistor"
|
||||
},
|
||||
"groupings": {
|
||||
"title": "Gruppering",
|
||||
"all": "Alla",
|
||||
"movies": "Filmer",
|
||||
"shows": "Serier",
|
||||
@@ -544,9 +543,7 @@
|
||||
"logs": {
|
||||
"clearLogs": "Rensa loggar",
|
||||
"copyLogs": "Kopiera loggar",
|
||||
"uploadLogs": "Ladda upp loggar",
|
||||
"error": "Fel:",
|
||||
"stackTrace": "Stack trace:"
|
||||
"uploadLogs": "Ladda upp loggar"
|
||||
},
|
||||
"licenses": {
|
||||
"relatedPackages": "Relaterade paket",
|
||||
@@ -561,20 +558,12 @@
|
||||
},
|
||||
"liveTv": {
|
||||
"title": "Live-TV",
|
||||
"channels": "Kanaler",
|
||||
"guide": "Programguide",
|
||||
"noChannels": "Inga kanaler tillgängliga",
|
||||
"noDvr": "Ingen DVR konfigurerad på någon server",
|
||||
"tuneFailed": "Kunde inte ställa in kanalen",
|
||||
"loading": "Laddar kanaler...",
|
||||
"nowPlaying": "Spelas nu",
|
||||
"noPrograms": "Ingen programdata tillgänglig",
|
||||
"channelNumber": "Kanal ${number}",
|
||||
"live": "LIVE",
|
||||
"hd": "HD",
|
||||
"premiere": "NY",
|
||||
"reloadGuide": "Ladda om programguide",
|
||||
"allChannels": "Alla kanaler",
|
||||
"now": "Nu",
|
||||
"today": "Idag",
|
||||
"midnight": "Midnatt",
|
||||
@@ -584,7 +573,8 @@
|
||||
"evening": "Kväll",
|
||||
"lateNight": "Sen kväll",
|
||||
"whatsOn": "På TV nu",
|
||||
"watchChannel": "Titta på kanal"
|
||||
"watchChannel": "Titta på kanal",
|
||||
"favorites": "Favoriter"
|
||||
},
|
||||
"downloads": {
|
||||
"title": "Nedladdningar",
|
||||
@@ -829,7 +819,6 @@
|
||||
"playerCommand": "Kommando",
|
||||
"playerPackage": "Paketnamn",
|
||||
"playerUrlScheme": "URL-schema",
|
||||
"customPlayer": "Anpassad spelare",
|
||||
"off": "Av",
|
||||
"launchFailed": "Kunde inte öppna extern spelare",
|
||||
"appNotInstalled": "${name} är inte installerad",
|
||||
|
||||
+18
-29
@@ -30,7 +30,6 @@
|
||||
"shuffle": "随机播放",
|
||||
"addTo": "添加到...",
|
||||
"createNew": "新建",
|
||||
"remove": "删除",
|
||||
"paste": "粘贴",
|
||||
"connect": "连接",
|
||||
"disconnect": "断开连接",
|
||||
@@ -44,7 +43,6 @@
|
||||
"settings": "设置",
|
||||
"mute": "静音",
|
||||
"ok": "确定",
|
||||
"loading": "加载中...",
|
||||
"reconnect": "重新连接",
|
||||
"exitConfirmTitle": "退出应用?",
|
||||
"exitConfirmMessage": "确定要退出吗?",
|
||||
@@ -137,6 +135,8 @@
|
||||
"subtitleStylingDescription": "调整字幕外观",
|
||||
"smallSkipDuration": "短跳过时长",
|
||||
"largeSkipDuration": "长跳过时长",
|
||||
"rewindOnResume": "恢复时回退",
|
||||
"rewindOnResumeDescription": "恢复播放时回退此时长",
|
||||
"secondsUnit": "${seconds} 秒",
|
||||
"defaultSleepTimer": "默认睡眠定时器",
|
||||
"minutesUnit": "${minutes} 分钟",
|
||||
@@ -178,6 +178,11 @@
|
||||
"autoSkipCreditsDescription": "自动跳过片尾并播放下一集",
|
||||
"autoSkipDelay": "自动跳过延迟",
|
||||
"autoSkipDelayDescription": "自动跳过前等待 ${seconds} 秒",
|
||||
"introPattern": "片头标记模式",
|
||||
"introPatternDescription": "用于匹配章节标题中片头标记的正则表达式",
|
||||
"creditsPattern": "片尾标记模式",
|
||||
"creditsPatternDescription": "用于匹配章节标题中片尾标记的正则表达式",
|
||||
"invalidRegex": "无效的正则表达式",
|
||||
"downloads": "下载",
|
||||
"downloadLocationDescription": "选择下载内容的存储位置",
|
||||
"downloadLocationDefault": "默认(应用存储)",
|
||||
@@ -208,7 +213,9 @@
|
||||
"confirmExitOnBack": "退出前确认",
|
||||
"confirmExitOnBackDescription": "按返回键退出应用时显示确认对话框",
|
||||
"showNavBarLabels": "显示导航栏标签",
|
||||
"showNavBarLabelsDescription": "在导航栏图标下方显示文字标签"
|
||||
"showNavBarLabelsDescription": "在导航栏图标下方显示文字标签",
|
||||
"liveTvDefaultFavorites": "默认显示收藏频道",
|
||||
"liveTvDefaultFavoritesDescription": "打开直播电视时仅显示收藏频道"
|
||||
},
|
||||
"search": {
|
||||
"hint": "搜索电影、系列、音乐...",
|
||||
@@ -241,11 +248,6 @@
|
||||
"skipMarker": "跳过片头/片尾"
|
||||
}
|
||||
},
|
||||
"pinEntry": {
|
||||
"enterPin": "输入 PIN",
|
||||
"showPin": "显示 PIN",
|
||||
"hidePin": "隐藏 PIN"
|
||||
},
|
||||
"fileInfo": {
|
||||
"title": "文件信息",
|
||||
"video": "视频",
|
||||
@@ -318,7 +320,6 @@
|
||||
"unlockRotation": "解锁旋转",
|
||||
"timerActive": "定时器已激活",
|
||||
"playbackWillPauseIn": "播放将在 ${duration} 后暂停",
|
||||
"sleepTimerCompleted": "睡眠定时器已完成 - 播放已暂停",
|
||||
"stillWatching": "还在看吗?",
|
||||
"pausingIn": "${seconds}秒后暂停",
|
||||
"continueWatching": "继续",
|
||||
@@ -335,20 +336,20 @@
|
||||
"muteButton": "静音",
|
||||
"unmuteButton": "取消静音",
|
||||
"settingsButton": "视频设置",
|
||||
"audioTrackButton": "音轨",
|
||||
"subtitlesButton": "字幕",
|
||||
"tracksButton": "音频和字幕",
|
||||
"chaptersButton": "章节",
|
||||
"versionsButton": "视频版本",
|
||||
"pipButton": "画中画模式",
|
||||
"aspectRatioButton": "宽高比",
|
||||
"ambientLighting": "氛围灯光",
|
||||
"ambientLightingOn": "开启氛围灯光",
|
||||
"ambientLightingOff": "关闭氛围灯光",
|
||||
"fullscreenButton": "进入全屏",
|
||||
"exitFullscreenButton": "退出全屏",
|
||||
"alwaysOnTopButton": "置顶窗口",
|
||||
"rotationLockButton": "旋转锁定",
|
||||
"lockScreen": "锁定屏幕",
|
||||
"unlockScreen": "解锁屏幕",
|
||||
"screenLockButton": "屏幕锁定",
|
||||
"longPressToUnlock": "长按解锁",
|
||||
"timelineSlider": "视频时间轴",
|
||||
"volumeSlider": "音量调节",
|
||||
"endsAt": "${time} 结束",
|
||||
@@ -448,11 +449,8 @@
|
||||
"overview": "概述",
|
||||
"cast": "演员表",
|
||||
"extras": "预告片与花絮",
|
||||
"seasons": "季数",
|
||||
"studio": "制作公司",
|
||||
"rating": "年龄分级",
|
||||
"episodeCount": "${count} 集",
|
||||
"watchedProgress": "已观看 ${watched}/${total} 集",
|
||||
"movie": "电影",
|
||||
"tvShow": "电视剧",
|
||||
"minutesLeft": "剩余 ${minutes} 分钟"
|
||||
@@ -514,6 +512,7 @@
|
||||
"playlists": "播放列表"
|
||||
},
|
||||
"groupings": {
|
||||
"title": "分组",
|
||||
"all": "全部",
|
||||
"movies": "电影",
|
||||
"shows": "剧集",
|
||||
@@ -544,9 +543,7 @@
|
||||
"logs": {
|
||||
"clearLogs": "清除日志",
|
||||
"copyLogs": "复制日志",
|
||||
"uploadLogs": "上传日志",
|
||||
"error": "错误:",
|
||||
"stackTrace": "堆栈跟踪 (Stack Trace):"
|
||||
"uploadLogs": "上传日志"
|
||||
},
|
||||
"licenses": {
|
||||
"relatedPackages": "相关软件包",
|
||||
@@ -561,20 +558,12 @@
|
||||
},
|
||||
"liveTv": {
|
||||
"title": "电视直播",
|
||||
"channels": "频道",
|
||||
"guide": "节目指南",
|
||||
"noChannels": "没有可用的频道",
|
||||
"noDvr": "没有服务器配置了DVR",
|
||||
"tuneFailed": "无法调谐频道",
|
||||
"loading": "正在加载频道...",
|
||||
"nowPlaying": "正在播放",
|
||||
"noPrograms": "没有可用的节目数据",
|
||||
"channelNumber": "频道 ${number}",
|
||||
"live": "直播",
|
||||
"hd": "高清",
|
||||
"premiere": "新",
|
||||
"reloadGuide": "重新加载节目指南",
|
||||
"allChannels": "所有频道",
|
||||
"now": "现在",
|
||||
"today": "今天",
|
||||
"midnight": "午夜",
|
||||
@@ -584,7 +573,8 @@
|
||||
"evening": "晚上",
|
||||
"lateNight": "深夜",
|
||||
"whatsOn": "正在播出",
|
||||
"watchChannel": "观看频道"
|
||||
"watchChannel": "观看频道",
|
||||
"favorites": "收藏"
|
||||
},
|
||||
"downloads": {
|
||||
"title": "下载",
|
||||
@@ -829,7 +819,6 @@
|
||||
"playerCommand": "命令",
|
||||
"playerPackage": "包名",
|
||||
"playerUrlScheme": "URL 方案",
|
||||
"customPlayer": "自定义播放器",
|
||||
"off": "关闭",
|
||||
"launchFailed": "无法打开外部播放器",
|
||||
"appNotInstalled": "${name} 未安装",
|
||||
|
||||
+110
-30
@@ -2,7 +2,8 @@ import 'dart:async';
|
||||
import 'package:flutter/foundation.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter/gestures.dart';
|
||||
import 'dart:io' show Platform;
|
||||
import 'dart:io' show Platform, ProcessInfo;
|
||||
import 'package:flutter/services.dart';
|
||||
import 'package:window_manager/window_manager.dart';
|
||||
import 'package:provider/provider.dart';
|
||||
import 'package:flutter_svg/flutter_svg.dart';
|
||||
@@ -28,6 +29,7 @@ import 'providers/offline_mode_provider.dart';
|
||||
import 'providers/offline_watch_provider.dart';
|
||||
import 'providers/companion_remote_provider.dart';
|
||||
import 'providers/shader_provider.dart';
|
||||
import 'utils/snackbar_helper.dart';
|
||||
import 'watch_together/watch_together.dart';
|
||||
import 'services/multi_server_manager.dart';
|
||||
import 'services/offline_watch_sync_service.dart';
|
||||
@@ -53,6 +55,7 @@ import 'utils/log_redaction_manager.dart';
|
||||
import 'package:package_info_plus/package_info_plus.dart';
|
||||
|
||||
const bool _enableSentry = bool.fromEnvironment('ENABLE_SENTRY', defaultValue: false);
|
||||
const String gitCommit = String.fromEnvironment('GIT_COMMIT');
|
||||
|
||||
// Workaround for Flutter bug #177992: iPadOS 26.1+ misinterprets fake touch events
|
||||
// at (0,0) as barrier taps, causing modals to dismiss immediately.
|
||||
@@ -80,7 +83,9 @@ Future<void> main() async {
|
||||
|
||||
await SentryFlutter.init((options) {
|
||||
options.dsn = 'https://6a1a6ef8c72140099b2798973c1bfb2f@bugs.plezy.app/1';
|
||||
options.release = 'plezy@${packageInfo.version}+${packageInfo.buildNumber}';
|
||||
options.release = gitCommit.isNotEmpty
|
||||
? 'plezy@${gitCommit.substring(0, 7)}'
|
||||
: 'plezy@${packageInfo.version}+${packageInfo.buildNumber}';
|
||||
options.tracesSampleRate = 0;
|
||||
options.attachStacktrace = true;
|
||||
options.enableAutoSessionTracking = false;
|
||||
@@ -105,9 +110,14 @@ Future<void> _bootstrapApp() async {
|
||||
// Needed for formatting dates in different locales
|
||||
await initializeDateFormatting(savedLocale.languageCode, null);
|
||||
|
||||
// Configure image cache for large libraries
|
||||
PaintingBinding.instance.imageCache.maximumSize = 2000; // default 1000
|
||||
PaintingBinding.instance.imageCache.maximumSizeBytes = 300 << 20; // 300MB
|
||||
// Configure image cache — keep budget modest to leave headroom for Skia decode buffers
|
||||
if (Platform.isWindows || Platform.isMacOS || Platform.isLinux) {
|
||||
PaintingBinding.instance.imageCache.maximumSize = 1000;
|
||||
PaintingBinding.instance.imageCache.maximumSizeBytes = 150 << 20; // 150MB
|
||||
} else {
|
||||
PaintingBinding.instance.imageCache.maximumSize = 800;
|
||||
PaintingBinding.instance.imageCache.maximumSizeBytes = 100 << 20; // 100MB
|
||||
}
|
||||
|
||||
// Initialize services in parallel where possible
|
||||
final futures = <Future<void>>[];
|
||||
@@ -140,6 +150,15 @@ Future<void> _bootstrapApp() async {
|
||||
final debugEnabled = settings.getEnableDebugLogging();
|
||||
setLoggerLevel(debugEnabled);
|
||||
|
||||
// Log app version and git commit at startup
|
||||
final packageInfo = await PackageInfo.fromPlatform();
|
||||
final commitSuffix = gitCommit.isNotEmpty ? ' (${gitCommit.substring(0, 7)})' : '';
|
||||
String renderer = '';
|
||||
if (Platform.isAndroid) {
|
||||
renderer = ' [${await const MethodChannel('com.plezy/theme').invokeMethod<String>('getRenderer')}]';
|
||||
}
|
||||
appLogger.i('Plezy v${packageInfo.version}+${packageInfo.buildNumber}$commitSuffix$renderer');
|
||||
|
||||
// Initialize download storage service with settings
|
||||
await DownloadStorageService.instance.initialize(settings);
|
||||
|
||||
@@ -170,10 +189,9 @@ Breadcrumb? _beforeBreadcrumb(Breadcrumb? breadcrumb, Hint _) {
|
||||
final data = breadcrumb.data;
|
||||
if (message == null && (data == null || data.isEmpty)) return breadcrumb;
|
||||
|
||||
return breadcrumb.copyWith(
|
||||
message: message != null ? LogRedactionManager.redact(message) : null,
|
||||
data: data?.map((k, v) => MapEntry(k, v is String ? LogRedactionManager.redact(v) : v)),
|
||||
);
|
||||
if (message != null) breadcrumb.message = LogRedactionManager.redact(message);
|
||||
if (data != null) breadcrumb.data = data.map((k, v) => MapEntry(k, v is String ? LogRedactionManager.redact(v) : v));
|
||||
return breadcrumb;
|
||||
}
|
||||
|
||||
FutureOr<SentryEvent?> _beforeSend(SentryEvent event, Hint _) {
|
||||
@@ -194,31 +212,33 @@ FutureOr<SentryEvent?> _beforeSend(SentryEvent event, Hint _) {
|
||||
return null;
|
||||
}
|
||||
|
||||
// Drop DBusServiceUnknownException from Linux without NetworkManager
|
||||
if (exceptions != null && exceptions.any((e) => e.type == 'DBusServiceUnknownException')) {
|
||||
return null;
|
||||
}
|
||||
|
||||
// Scrub Plex tokens and server URLs from exception messages
|
||||
if (exceptions != null) {
|
||||
exceptions = exceptions.map((e) {
|
||||
for (final e in exceptions) {
|
||||
final value = e.value;
|
||||
if (value != null) {
|
||||
return e.copyWith(value: LogRedactionManager.redact(value));
|
||||
e.value = LogRedactionManager.redact(value);
|
||||
}
|
||||
return e;
|
||||
}).toList();
|
||||
}
|
||||
}
|
||||
|
||||
// Scrub breadcrumb messages and data
|
||||
var breadcrumbs = event.breadcrumbs;
|
||||
final breadcrumbs = event.breadcrumbs;
|
||||
if (breadcrumbs != null) {
|
||||
breadcrumbs = breadcrumbs.map((b) {
|
||||
for (final b in breadcrumbs) {
|
||||
final message = b.message;
|
||||
final data = b.data;
|
||||
return b.copyWith(
|
||||
message: message != null ? LogRedactionManager.redact(message) : null,
|
||||
data: data?.map((k, v) => MapEntry(k, v is String ? LogRedactionManager.redact(v) : v)),
|
||||
);
|
||||
}).toList();
|
||||
if (message != null) b.message = LogRedactionManager.redact(message);
|
||||
if (data != null) b.data = data.map((k, v) => MapEntry(k, v is String ? LogRedactionManager.redact(v) : v));
|
||||
}
|
||||
}
|
||||
|
||||
return event.copyWith(exceptions: exceptions, breadcrumbs: breadcrumbs);
|
||||
return event;
|
||||
}
|
||||
|
||||
void _registerShaderLicenses() {
|
||||
@@ -292,11 +312,28 @@ class _MainAppState extends State<MainApp> with WidgetsBindingObserver {
|
||||
late final DownloadManagerService _downloadManager;
|
||||
late final OfflineWatchSyncService _offlineWatchSyncService;
|
||||
|
||||
/// Last time server health probes ran from a resume event (cooldown for desktop)
|
||||
DateTime _lastResumeProbe = DateTime(0);
|
||||
|
||||
/// Periodic memory check timer for desktop platforms
|
||||
Timer? _memoryCheckTimer;
|
||||
|
||||
@override
|
||||
void initState() {
|
||||
super.initState();
|
||||
WidgetsBinding.instance.addObserver(this);
|
||||
|
||||
// On desktop, periodically check RSS and evict image cache if too high
|
||||
if (Platform.isWindows || Platform.isMacOS || Platform.isLinux) {
|
||||
_memoryCheckTimer = Timer.periodic(const Duration(seconds: 30), (_) {
|
||||
final rss = ProcessInfo.currentRss;
|
||||
if (rss > 1536 * 1024 * 1024) { // 1.5GB
|
||||
appLogger.w('RSS high ($rss bytes), evicting image caches');
|
||||
_evictImageCaches();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
_serverManager = MultiServerManager();
|
||||
_aggregationService = DataAggregationService(_serverManager);
|
||||
_appDatabase = AppDatabase();
|
||||
@@ -315,10 +352,23 @@ class _MainAppState extends State<MainApp> with WidgetsBindingObserver {
|
||||
|
||||
@override
|
||||
void dispose() {
|
||||
_memoryCheckTimer?.cancel();
|
||||
WidgetsBinding.instance.removeObserver(this);
|
||||
super.dispose();
|
||||
}
|
||||
|
||||
@override
|
||||
void didHaveMemoryPressure() {
|
||||
super.didHaveMemoryPressure();
|
||||
appLogger.w('System memory pressure, evicting image caches');
|
||||
_evictImageCaches();
|
||||
}
|
||||
|
||||
void _evictImageCaches() {
|
||||
PaintingBinding.instance.imageCache.clear();
|
||||
PaintingBinding.instance.imageCache.clearLiveImages();
|
||||
}
|
||||
|
||||
@override
|
||||
void didChangeAppLifecycleState(AppLifecycleState state) {
|
||||
switch (state) {
|
||||
@@ -326,13 +376,26 @@ class _MainAppState extends State<MainApp> with WidgetsBindingObserver {
|
||||
// App came back to foreground - trigger sync check and start new session
|
||||
_offlineWatchSyncService.onAppResumed();
|
||||
InAppReviewService.instance.startSession();
|
||||
// Re-probe servers — mobile OS may have dropped TCP connections during doze/sleep
|
||||
_serverManager.checkServerHealth();
|
||||
_serverManager.reconnectOfflineServers();
|
||||
// Re-probe servers — mobile OS may have dropped TCP connections during doze/sleep.
|
||||
// On desktop, resumed fires on every window focus (alt-tab), so apply a cooldown
|
||||
// to avoid piling up network probes from rapid alt-tabbing.
|
||||
final now = DateTime.now();
|
||||
final cooldown = (Platform.isIOS || Platform.isAndroid)
|
||||
? const Duration(seconds: 10)
|
||||
: const Duration(minutes: 2);
|
||||
if (now.difference(_lastResumeProbe) >= cooldown) {
|
||||
_lastResumeProbe = now;
|
||||
_serverManager.checkServerHealth();
|
||||
_serverManager.reconnectOfflineServers();
|
||||
}
|
||||
case AppLifecycleState.paused:
|
||||
case AppLifecycleState.detached:
|
||||
// App went to background or is closing - end session
|
||||
InAppReviewService.instance.endSession();
|
||||
if (Platform.isWindows || Platform.isMacOS || Platform.isLinux) {
|
||||
if (ProcessInfo.currentRss > 1024 * 1024 * 1024) { // 1GB
|
||||
_evictImageCaches();
|
||||
}
|
||||
}
|
||||
case AppLifecycleState.inactive:
|
||||
case AppLifecycleState.hidden:
|
||||
// Transitional states - don't trigger session events
|
||||
@@ -408,6 +471,13 @@ class _MainAppState extends State<MainApp> with WidgetsBindingObserver {
|
||||
themeMode: themeProvider.materialThemeMode,
|
||||
navigatorObservers: [routeObserver, BackKeySuppressorObserver()],
|
||||
home: const OrientationAwareSetup(),
|
||||
builder: (context, child) => ScaffoldMessenger(
|
||||
key: rootScaffoldMessengerKey,
|
||||
child: Scaffold(
|
||||
backgroundColor: Colors.transparent,
|
||||
body: child,
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
@@ -472,11 +542,20 @@ class _SetupScreenState extends State<SetupScreen> {
|
||||
|
||||
// Check network connectivity early to fast-path airplane mode.
|
||||
// Timeout guards against connectivity_plus hanging on some Android TV devices after force-close.
|
||||
final connectivityResult = await Connectivity().checkConnectivity().timeout(
|
||||
const Duration(seconds: 3),
|
||||
onTimeout: () => [ConnectivityResult.other],
|
||||
);
|
||||
final hasNetwork = !connectivityResult.contains(ConnectivityResult.none);
|
||||
bool hasNetwork;
|
||||
Sentry.addBreadcrumb(Breadcrumb(message: 'Checking network connectivity', category: 'setup'));
|
||||
try {
|
||||
final connectivityResult = await Connectivity().checkConnectivity().timeout(
|
||||
const Duration(seconds: 3),
|
||||
onTimeout: () => [ConnectivityResult.other],
|
||||
);
|
||||
hasNetwork = !connectivityResult.contains(ConnectivityResult.none);
|
||||
} catch (e) {
|
||||
// connectivity_plus throws DBusServiceUnknownException on Linux without NetworkManager
|
||||
hasNetwork = true;
|
||||
}
|
||||
|
||||
Sentry.addBreadcrumb(Breadcrumb(message: 'Network check done: hasNetwork=$hasNetwork', category: 'setup'));
|
||||
|
||||
if (hasNetwork) {
|
||||
_setStatus(t.common.refreshingServers);
|
||||
@@ -517,6 +596,7 @@ class _SetupScreenState extends State<SetupScreen> {
|
||||
return;
|
||||
}
|
||||
|
||||
Sentry.addBreadcrumb(Breadcrumb(message: 'Connecting to ${servers.length} server(s)', category: 'setup'));
|
||||
_setStatus(t.common.connectingToServers);
|
||||
|
||||
// Populate per-server status for splash display
|
||||
|
||||
@@ -40,6 +40,28 @@ mixin GridFocusNodeMixin<T extends StatefulWidget> on State<T> {
|
||||
}
|
||||
}
|
||||
|
||||
/// Evict focus nodes far from [centerIndex], keeping at most [keepCount] around it.
|
||||
void evictDistantFocusNodes(int centerIndex, {int keepCount = 200}) {
|
||||
if (gridItemFocusNodes.length <= keepCount) return;
|
||||
|
||||
final halfKeep = keepCount ~/ 2;
|
||||
final keepStart = centerIndex - halfKeep;
|
||||
final keepEnd = centerIndex + halfKeep;
|
||||
|
||||
final keysToRemove = <int>[];
|
||||
for (final key in gridItemFocusNodes.keys) {
|
||||
if (key < keepStart || key > keepEnd) {
|
||||
keysToRemove.add(key);
|
||||
}
|
||||
}
|
||||
for (final key in keysToRemove) {
|
||||
final node = gridItemFocusNodes.remove(key);
|
||||
if (node != null && !node.hasFocus) {
|
||||
node.dispose();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// Dispose all grid-item focus nodes.
|
||||
void disposeGridFocusNodes() {
|
||||
for (final node in gridItemFocusNodes.values) {
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import '../services/gamepad_service.dart';
|
||||
import '../screens/main_screen.dart';
|
||||
import '../widgets/focusable_tab_chip.dart';
|
||||
|
||||
/// Mixin that provides common tab navigation infrastructure.
|
||||
///
|
||||
@@ -12,7 +13,7 @@ import '../screens/main_screen.dart';
|
||||
/// - Tab bar back navigation to sidebar
|
||||
///
|
||||
/// Subclasses must provide [tabChipFocusNodes] — one [FocusNode] per tab.
|
||||
mixin TabNavigationMixin<T extends StatefulWidget> on State<T>, SingleTickerProviderStateMixin<T> {
|
||||
mixin TabNavigationMixin<T extends StatefulWidget> on State<T>, TickerProviderStateMixin<T> {
|
||||
late TabController tabController;
|
||||
|
||||
/// When true, suppress auto-focus in tabs (used when navigating via tab bar).
|
||||
@@ -83,4 +84,43 @@ mixin TabNavigationMixin<T extends StatefulWidget> on State<T>, SingleTickerProv
|
||||
void onTabBarBack() {
|
||||
MainScreenFocusScope.of(context)?.focusSidebar();
|
||||
}
|
||||
|
||||
/// Shared tab chip builder — eliminates duplication between screens.
|
||||
Widget buildTabChip(
|
||||
String label,
|
||||
int index, {
|
||||
required VoidCallback onSelectWhenActive,
|
||||
required VoidCallback onNavigateDown,
|
||||
VoidCallback? onNavigateRightFromLast,
|
||||
}) {
|
||||
final isSelected = tabController.index == index;
|
||||
return FocusableTabChip(
|
||||
label: label,
|
||||
isSelected: isSelected,
|
||||
focusNode: getTabChipFocusNode(index),
|
||||
onSelect: () {
|
||||
if (isSelected) {
|
||||
onSelectWhenActive();
|
||||
} else {
|
||||
setState(() { tabController.index = index; });
|
||||
}
|
||||
},
|
||||
onNavigateLeft: index > 0
|
||||
? () {
|
||||
final newIndex = index - 1;
|
||||
setState(() { suppressAutoFocus = true; tabController.index = newIndex; });
|
||||
getTabChipFocusNode(newIndex).requestFocus();
|
||||
}
|
||||
: onTabBarBack,
|
||||
onNavigateRight: index < tabCount - 1
|
||||
? () {
|
||||
final newIndex = index + 1;
|
||||
setState(() { suppressAutoFocus = true; tabController.index = newIndex; });
|
||||
getTabChipFocusNode(newIndex).requestFocus();
|
||||
}
|
||||
: onNavigateRightFromLast,
|
||||
onNavigateDown: onNavigateDown,
|
||||
onBack: onTabBarBack,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,6 +3,6 @@
|
||||
/// Used by MainScreen to pause expensive work (e.g. animation tickers)
|
||||
/// when the screen's tab is no longer visible, and resume it when shown again.
|
||||
mixin TabVisibilityAware {
|
||||
void onTabShown({bool scrollToTop = true});
|
||||
void onTabShown();
|
||||
void onTabHidden();
|
||||
}
|
||||
|
||||
@@ -10,47 +10,65 @@ RemoteDevice _$RemoteDeviceFromJson(Map<String, dynamic> json) => RemoteDevice(
|
||||
id: json['id'] as String,
|
||||
name: json['name'] as String,
|
||||
platform: json['platform'] as String,
|
||||
connectedAt: json['connectedAt'] == null ? null : DateTime.parse(json['connectedAt'] as String),
|
||||
capabilities: (json['capabilities'] as Map<String, dynamic>?)?.map((k, e) => MapEntry(k, e as bool)),
|
||||
);
|
||||
|
||||
Map<String, dynamic> _$RemoteDeviceToJson(RemoteDevice instance) => <String, dynamic>{
|
||||
'id': instance.id,
|
||||
'name': instance.name,
|
||||
'platform': instance.platform,
|
||||
'connectedAt': instance.connectedAt.toIso8601String(),
|
||||
'capabilities': instance.capabilities,
|
||||
};
|
||||
|
||||
RemoteSession _$RemoteSessionFromJson(Map<String, dynamic> json) => RemoteSession(
|
||||
sessionId: json['sessionId'] as String,
|
||||
pin: json['pin'] as String,
|
||||
role: $enumDecode(_$RemoteSessionRoleEnumMap, json['role'], unknownValue: RemoteSessionRole.remote),
|
||||
status:
|
||||
$enumDecodeNullable(
|
||||
_$RemoteSessionStatusEnumMap,
|
||||
json['status'],
|
||||
unknownValue: RemoteSessionStatus.disconnected,
|
||||
) ??
|
||||
RemoteSessionStatus.disconnected,
|
||||
connectedDevice: json['connectedDevice'] == null
|
||||
connectedAt: json['connectedAt'] == null
|
||||
? null
|
||||
: RemoteDevice.fromJson(json['connectedDevice'] as Map<String, dynamic>),
|
||||
createdAt: json['createdAt'] == null ? null : DateTime.parse(json['createdAt'] as String),
|
||||
errorMessage: json['errorMessage'] as String?,
|
||||
: DateTime.parse(json['connectedAt'] as String),
|
||||
capabilities: (json['capabilities'] as Map<String, dynamic>?)?.map(
|
||||
(k, e) => MapEntry(k, e as bool),
|
||||
),
|
||||
);
|
||||
|
||||
Map<String, dynamic> _$RemoteSessionToJson(RemoteSession instance) => <String, dynamic>{
|
||||
'sessionId': instance.sessionId,
|
||||
'pin': instance.pin,
|
||||
'role': _$RemoteSessionRoleEnumMap[instance.role]!,
|
||||
'status': _$RemoteSessionStatusEnumMap[instance.status]!,
|
||||
'connectedDevice': instance.connectedDevice,
|
||||
'createdAt': instance.createdAt.toIso8601String(),
|
||||
'errorMessage': instance.errorMessage,
|
||||
};
|
||||
Map<String, dynamic> _$RemoteDeviceToJson(RemoteDevice instance) =>
|
||||
<String, dynamic>{
|
||||
'id': instance.id,
|
||||
'name': instance.name,
|
||||
'platform': instance.platform,
|
||||
'connectedAt': instance.connectedAt.toIso8601String(),
|
||||
'capabilities': instance.capabilities,
|
||||
};
|
||||
|
||||
const _$RemoteSessionRoleEnumMap = {RemoteSessionRole.host: 'host', RemoteSessionRole.remote: 'remote'};
|
||||
RemoteSession _$RemoteSessionFromJson(Map<String, dynamic> json) =>
|
||||
RemoteSession(
|
||||
sessionId: json['sessionId'] as String,
|
||||
pin: json['pin'] as String,
|
||||
role: $enumDecode(
|
||||
_$RemoteSessionRoleEnumMap,
|
||||
json['role'],
|
||||
unknownValue: RemoteSessionRole.remote,
|
||||
),
|
||||
status:
|
||||
$enumDecodeNullable(
|
||||
_$RemoteSessionStatusEnumMap,
|
||||
json['status'],
|
||||
unknownValue: RemoteSessionStatus.disconnected,
|
||||
) ??
|
||||
RemoteSessionStatus.disconnected,
|
||||
connectedDevice: json['connectedDevice'] == null
|
||||
? null
|
||||
: RemoteDevice.fromJson(
|
||||
json['connectedDevice'] as Map<String, dynamic>,
|
||||
),
|
||||
createdAt: json['createdAt'] == null
|
||||
? null
|
||||
: DateTime.parse(json['createdAt'] as String),
|
||||
errorMessage: json['errorMessage'] as String?,
|
||||
);
|
||||
|
||||
Map<String, dynamic> _$RemoteSessionToJson(RemoteSession instance) =>
|
||||
<String, dynamic>{
|
||||
'sessionId': instance.sessionId,
|
||||
'pin': instance.pin,
|
||||
'role': _$RemoteSessionRoleEnumMap[instance.role]!,
|
||||
'status': _$RemoteSessionStatusEnumMap[instance.status]!,
|
||||
'connectedDevice': instance.connectedDevice,
|
||||
'createdAt': instance.createdAt.toIso8601String(),
|
||||
'errorMessage': instance.errorMessage,
|
||||
};
|
||||
|
||||
const _$RemoteSessionRoleEnumMap = {
|
||||
RemoteSessionRole.host: 'host',
|
||||
RemoteSessionRole.remote: 'remote',
|
||||
};
|
||||
|
||||
const _$RemoteSessionStatusEnumMap = {
|
||||
RemoteSessionStatus.disconnected: 'disconnected',
|
||||
|
||||
+164
-73
@@ -40,7 +40,7 @@ String physicalKeyLabel(PhysicalKeyboardKey key) {
|
||||
final macLabel = _macKeyLabels[key.usbHidUsage];
|
||||
if (macLabel != null) return macLabel;
|
||||
}
|
||||
return _knownKeyLabels[key.usbHidUsage] ?? key.debugName ?? 'Unknown';
|
||||
return _keyLabels[key.usbHidUsage] ?? 'Unknown';
|
||||
}
|
||||
|
||||
/// macOS-specific overrides for keys that have standard symbols.
|
||||
@@ -70,60 +70,68 @@ const _macKeyLabels = <int, String>{
|
||||
0x00000012: 'fn', // fn
|
||||
};
|
||||
|
||||
const _knownKeyLabels = <int, String>{
|
||||
0x00070004: 'A', // keyA
|
||||
0x00070005: 'B', // keyB
|
||||
0x00070006: 'C', // keyC
|
||||
0x00070007: 'D', // keyD
|
||||
0x00070008: 'E', // keyE
|
||||
0x00070009: 'F', // keyF
|
||||
0x0007000a: 'G', // keyG
|
||||
0x0007000b: 'H', // keyH
|
||||
0x0007000c: 'I', // keyI
|
||||
0x0007000d: 'J', // keyJ
|
||||
0x0007000e: 'K', // keyK
|
||||
0x0007000f: 'L', // keyL
|
||||
0x00070010: 'M', // keyM
|
||||
0x00070011: 'N', // keyN
|
||||
0x00070012: 'O', // keyO
|
||||
0x00070013: 'P', // keyP
|
||||
0x00070014: 'Q', // keyQ
|
||||
0x00070015: 'R', // keyR
|
||||
0x00070016: 'S', // keyS
|
||||
0x00070017: 'T', // keyT
|
||||
0x00070018: 'U', // keyU
|
||||
0x00070019: 'V', // keyV
|
||||
0x0007001a: 'W', // keyW
|
||||
0x0007001b: 'X', // keyX
|
||||
0x0007001c: 'Y', // keyY
|
||||
0x0007001d: 'Z', // keyZ
|
||||
0x0007001e: '1', // digit1
|
||||
0x0007001f: '2', // digit2
|
||||
0x00070020: '3', // digit3
|
||||
0x00070021: '4', // digit4
|
||||
0x00070022: '5', // digit5
|
||||
0x00070023: '6', // digit6
|
||||
0x00070024: '7', // digit7
|
||||
0x00070025: '8', // digit8
|
||||
0x00070026: '9', // digit9
|
||||
0x00070027: '0', // digit0
|
||||
0x00070028: 'Enter', // enter
|
||||
0x00070029: 'Escape', // escape
|
||||
0x0007002a: 'Backspace', // backspace
|
||||
0x0007002b: 'Tab', // tab
|
||||
0x0007002c: 'Space', // space
|
||||
0x0007002d: '=', // equal
|
||||
0x0007002e: '-', // minus
|
||||
0x0007002f: '[', // bracketLeft
|
||||
0x00070030: ']', // bracketRight
|
||||
0x00070031: r'\', // backslash
|
||||
0x00070033: ';', // semicolon
|
||||
0x00070034: "'", // quote
|
||||
0x00070035: '`', // backquote
|
||||
0x00070036: ',', // comma
|
||||
0x00070037: '.', // period
|
||||
0x00070038: '/', // slash
|
||||
0x00070039: 'CapsLock', // capsLock
|
||||
/// Comprehensive key labels sourced from Flutter's PhysicalKeyboardKey._debugNames
|
||||
/// (keyboard_key.g.dart, USB HID keyboard usage page 0x0007).
|
||||
/// Common keys use short curated labels; the rest use Flutter's default names.
|
||||
const _keyLabels = <int, String>{
|
||||
// Letters
|
||||
0x00070004: 'A',
|
||||
0x00070005: 'B',
|
||||
0x00070006: 'C',
|
||||
0x00070007: 'D',
|
||||
0x00070008: 'E',
|
||||
0x00070009: 'F',
|
||||
0x0007000a: 'G',
|
||||
0x0007000b: 'H',
|
||||
0x0007000c: 'I',
|
||||
0x0007000d: 'J',
|
||||
0x0007000e: 'K',
|
||||
0x0007000f: 'L',
|
||||
0x00070010: 'M',
|
||||
0x00070011: 'N',
|
||||
0x00070012: 'O',
|
||||
0x00070013: 'P',
|
||||
0x00070014: 'Q',
|
||||
0x00070015: 'R',
|
||||
0x00070016: 'S',
|
||||
0x00070017: 'T',
|
||||
0x00070018: 'U',
|
||||
0x00070019: 'V',
|
||||
0x0007001a: 'W',
|
||||
0x0007001b: 'X',
|
||||
0x0007001c: 'Y',
|
||||
0x0007001d: 'Z',
|
||||
// Digits
|
||||
0x0007001e: '1',
|
||||
0x0007001f: '2',
|
||||
0x00070020: '3',
|
||||
0x00070021: '4',
|
||||
0x00070022: '5',
|
||||
0x00070023: '6',
|
||||
0x00070024: '7',
|
||||
0x00070025: '8',
|
||||
0x00070026: '9',
|
||||
0x00070027: '0',
|
||||
// Special keys
|
||||
0x00070028: 'Enter',
|
||||
0x00070029: 'Escape',
|
||||
0x0007002a: 'Backspace',
|
||||
0x0007002b: 'Tab',
|
||||
0x0007002c: 'Space',
|
||||
// Symbols
|
||||
0x0007002d: '-',
|
||||
0x0007002e: '=',
|
||||
0x0007002f: '[',
|
||||
0x00070030: ']',
|
||||
0x00070031: r'\',
|
||||
0x00070033: ';',
|
||||
0x00070034: "'",
|
||||
0x00070035: '`',
|
||||
0x00070036: ',',
|
||||
0x00070037: '.',
|
||||
0x00070038: '/',
|
||||
// Lock & function keys
|
||||
0x00070039: 'Caps Lock',
|
||||
0x0007003a: 'F1',
|
||||
0x0007003b: 'F2',
|
||||
0x0007003c: 'F3',
|
||||
@@ -136,22 +144,105 @@ const _knownKeyLabels = <int, String>{
|
||||
0x00070043: 'F10',
|
||||
0x00070044: 'F11',
|
||||
0x00070045: 'F12',
|
||||
0x0007004a: 'Home', // home
|
||||
0x0007004b: 'Page Up', // pageUp
|
||||
0x0007004c: 'Delete', // delete
|
||||
0x0007004d: 'End', // end
|
||||
0x0007004e: 'Page Down', // pageDown
|
||||
0x0007004f: 'Arrow Right', // arrowRight
|
||||
0x00070050: 'Arrow Left', // arrowLeft
|
||||
0x00070051: 'Arrow Down', // arrowDown
|
||||
0x00070052: 'Arrow Up', // arrowUp
|
||||
0x000700e0: 'Ctrl', // controlLeft
|
||||
0x000700e1: 'Shift', // shiftLeft
|
||||
0x000700e2: 'Alt', // altLeft
|
||||
0x000700e3: 'Meta', // metaLeft
|
||||
0x000700e4: 'Ctrl', // controlRight
|
||||
0x000700e5: 'Shift', // shiftRight
|
||||
0x000700e6: 'Alt', // altRight
|
||||
0x000700e7: 'Meta', // metaRight
|
||||
0x00000012: 'Fn', // fn
|
||||
0x00070046: 'Print Screen',
|
||||
0x00070047: 'Scroll Lock',
|
||||
0x00070048: 'Pause',
|
||||
0x00070049: 'Insert',
|
||||
// Navigation
|
||||
0x0007004a: 'Home',
|
||||
0x0007004b: 'Page Up',
|
||||
0x0007004c: 'Delete',
|
||||
0x0007004d: 'End',
|
||||
0x0007004e: 'Page Down',
|
||||
0x0007004f: 'Arrow Right',
|
||||
0x00070050: 'Arrow Left',
|
||||
0x00070051: 'Arrow Down',
|
||||
0x00070052: 'Arrow Up',
|
||||
// Numpad
|
||||
0x00070053: 'Num Lock',
|
||||
0x00070054: 'Numpad /',
|
||||
0x00070055: 'Numpad *',
|
||||
0x00070056: 'Numpad -',
|
||||
0x00070057: 'Numpad +',
|
||||
0x00070058: 'Numpad Enter',
|
||||
0x00070059: 'Numpad 1',
|
||||
0x0007005a: 'Numpad 2',
|
||||
0x0007005b: 'Numpad 3',
|
||||
0x0007005c: 'Numpad 4',
|
||||
0x0007005d: 'Numpad 5',
|
||||
0x0007005e: 'Numpad 6',
|
||||
0x0007005f: 'Numpad 7',
|
||||
0x00070060: 'Numpad 8',
|
||||
0x00070061: 'Numpad 9',
|
||||
0x00070062: 'Numpad 0',
|
||||
0x00070063: 'Numpad .',
|
||||
0x00070064: 'Intl Backslash',
|
||||
0x00070065: 'Context Menu',
|
||||
0x00070066: 'Power',
|
||||
0x00070067: 'Numpad =',
|
||||
// Extended function keys
|
||||
0x00070068: 'F13',
|
||||
0x00070069: 'F14',
|
||||
0x0007006a: 'F15',
|
||||
0x0007006b: 'F16',
|
||||
0x0007006c: 'F17',
|
||||
0x0007006d: 'F18',
|
||||
0x0007006e: 'F19',
|
||||
0x0007006f: 'F20',
|
||||
0x00070070: 'F21',
|
||||
0x00070071: 'F22',
|
||||
0x00070072: 'F23',
|
||||
0x00070073: 'F24',
|
||||
// Editing
|
||||
0x00070074: 'Open',
|
||||
0x00070075: 'Help',
|
||||
0x00070077: 'Select',
|
||||
0x00070079: 'Again',
|
||||
0x0007007a: 'Undo',
|
||||
0x0007007b: 'Cut',
|
||||
0x0007007c: 'Copy',
|
||||
0x0007007d: 'Paste',
|
||||
0x0007007e: 'Find',
|
||||
// Audio
|
||||
0x0007007f: 'Volume Mute',
|
||||
0x00070080: 'Volume Up',
|
||||
0x00070081: 'Volume Down',
|
||||
// Numpad extras
|
||||
0x00070085: 'Numpad ,',
|
||||
// International
|
||||
0x00070087: 'Intl Ro',
|
||||
0x00070088: 'Kana Mode',
|
||||
0x00070089: 'Intl Yen',
|
||||
0x0007008a: 'Convert',
|
||||
0x0007008b: 'Non Convert',
|
||||
0x00070090: 'Lang 1',
|
||||
0x00070091: 'Lang 2',
|
||||
0x00070092: 'Lang 3',
|
||||
0x00070093: 'Lang 4',
|
||||
0x00070094: 'Lang 5',
|
||||
0x0007009b: 'Abort',
|
||||
0x000700a3: 'Props',
|
||||
// Numpad advanced
|
||||
0x000700b6: 'Numpad (',
|
||||
0x000700b7: 'Numpad )',
|
||||
0x000700bb: 'Numpad Backspace',
|
||||
0x000700d0: 'Numpad Memory Store',
|
||||
0x000700d1: 'Numpad Memory Recall',
|
||||
0x000700d2: 'Numpad Memory Clear',
|
||||
0x000700d3: 'Numpad Memory Add',
|
||||
0x000700d4: 'Numpad Memory Subtract',
|
||||
0x000700d7: 'Numpad Sign Change',
|
||||
0x000700d8: 'Numpad Clear',
|
||||
0x000700d9: 'Numpad Clear Entry',
|
||||
// Modifiers
|
||||
0x000700e0: 'Ctrl',
|
||||
0x000700e1: 'Shift',
|
||||
0x000700e2: 'Alt',
|
||||
0x000700e3: 'Meta',
|
||||
0x000700e4: 'Ctrl',
|
||||
0x000700e5: 'Shift',
|
||||
0x000700e6: 'Alt',
|
||||
0x000700e7: 'Meta',
|
||||
// Fn
|
||||
0x00000012: 'Fn',
|
||||
};
|
||||
|
||||
@@ -34,13 +34,13 @@ class LiveTvChannel {
|
||||
|
||||
factory LiveTvChannel.fromJson(Map<String, dynamic> json) {
|
||||
return LiveTvChannel(
|
||||
key: json['key'] as String? ?? json['ratingKey'] as String? ?? json['identifier'] as String? ?? json['channelIdentifier'] as String? ?? '',
|
||||
identifier: json['identifier'] as String? ?? json['channelIdentifier'] as String?,
|
||||
key: json['key'] as String? ?? json['ratingKey'] as String? ?? json['identifier'] as String? ?? json['id'] as String? ?? json['channelIdentifier'] as String? ?? '',
|
||||
identifier: json['identifier'] as String? ?? json['id'] as String? ?? json['channelIdentifier'] as String?,
|
||||
callSign: json['callSign'] as String?,
|
||||
title: json['title'] as String? ?? json['callSign'] as String?,
|
||||
thumb: json['thumb'] as String?,
|
||||
art: json['art'] as String?,
|
||||
number: json['number'] as String? ?? json['channelNumber'] as String? ?? json['channelVcn']?.toString(),
|
||||
number: json['number'] as String? ?? json['channelNumber'] as String? ?? json['channelVcn']?.toString() ?? json['vcn']?.toString(),
|
||||
hd: json['hd'] == true || json['hd'] == 1,
|
||||
lineup: json['lineup'] as String?,
|
||||
slug: json['slug'] as String?,
|
||||
@@ -69,3 +69,50 @@ class LiveTvChannel {
|
||||
/// Display name: prefer callSign, fallback to title
|
||||
String get displayName => callSign ?? title ?? 'Channel $number';
|
||||
}
|
||||
|
||||
/// A channel entry in the Plex cloud favorites list.
|
||||
/// Stored at `https://epg.provider.plex.tv/settings/favoriteChannels`.
|
||||
class FavoriteChannel {
|
||||
final String source;
|
||||
final String id;
|
||||
final String? title;
|
||||
final String? thumb;
|
||||
final String? vcn;
|
||||
|
||||
FavoriteChannel({
|
||||
required this.source,
|
||||
required this.id,
|
||||
this.title,
|
||||
this.thumb,
|
||||
this.vcn,
|
||||
});
|
||||
|
||||
factory FavoriteChannel.fromJson(Map<String, dynamic> json) {
|
||||
return FavoriteChannel(
|
||||
source: json['source'] as String? ?? '',
|
||||
id: json['id'] as String? ?? json['key'] as String? ?? '',
|
||||
title: json['title'] as String?,
|
||||
thumb: json['thumb'] as String?,
|
||||
vcn: json['vcn'] as String?,
|
||||
);
|
||||
}
|
||||
|
||||
Map<String, dynamic> toJson() => {
|
||||
'source': source,
|
||||
'id': id,
|
||||
if (title != null) 'title': title,
|
||||
if (thumb != null) 'thumb': thumb,
|
||||
if (vcn != null) 'vcn': vcn,
|
||||
};
|
||||
|
||||
/// Create from a [LiveTvChannel] and a source URI.
|
||||
factory FavoriteChannel.fromLiveTvChannel(LiveTvChannel channel, String source) {
|
||||
return FavoriteChannel(
|
||||
source: source,
|
||||
id: channel.key,
|
||||
title: channel.title ?? channel.callSign,
|
||||
thumb: channel.thumb,
|
||||
vcn: channel.number,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,15 +6,23 @@ part of 'play_queue_response.dart';
|
||||
// JsonSerializableGenerator
|
||||
// **************************************************************************
|
||||
|
||||
PlayQueueResponse _$PlayQueueResponseFromJson(Map<String, dynamic> json) => PlayQueueResponse(
|
||||
playQueueID: (json['playQueueID'] as num).toInt(),
|
||||
playQueueSelectedItemID: (json['playQueueSelectedItemID'] as num?)?.toInt(),
|
||||
playQueueSelectedItemOffset: (json['playQueueSelectedItemOffset'] as num?)?.toInt(),
|
||||
playQueueSelectedMetadataItemID: json['playQueueSelectedMetadataItemID'] as String?,
|
||||
playQueueShuffled: const BoolOrIntConverter().fromJson(json['playQueueShuffled'] as Object),
|
||||
playQueueSourceURI: json['playQueueSourceURI'] as String?,
|
||||
playQueueTotalCount: (json['playQueueTotalCount'] as num?)?.toInt(),
|
||||
playQueueVersion: (json['playQueueVersion'] as num).toInt(),
|
||||
size: (json['size'] as num?)?.toInt(),
|
||||
items: (json['Metadata'] as List<dynamic>?)?.map((e) => PlexMetadata.fromJson(e as Map<String, dynamic>)).toList(),
|
||||
);
|
||||
PlayQueueResponse _$PlayQueueResponseFromJson(Map<String, dynamic> json) =>
|
||||
PlayQueueResponse(
|
||||
playQueueID: (json['playQueueID'] as num).toInt(),
|
||||
playQueueSelectedItemID: (json['playQueueSelectedItemID'] as num?)
|
||||
?.toInt(),
|
||||
playQueueSelectedItemOffset: (json['playQueueSelectedItemOffset'] as num?)
|
||||
?.toInt(),
|
||||
playQueueSelectedMetadataItemID:
|
||||
json['playQueueSelectedMetadataItemID'] as String?,
|
||||
playQueueShuffled: const BoolOrIntConverter().fromJson(
|
||||
json['playQueueShuffled'] as Object,
|
||||
),
|
||||
playQueueSourceURI: json['playQueueSourceURI'] as String?,
|
||||
playQueueTotalCount: (json['playQueueTotalCount'] as num?)?.toInt(),
|
||||
playQueueVersion: (json['playQueueVersion'] as num).toInt(),
|
||||
size: (json['size'] as num?)?.toInt(),
|
||||
items: (json['Metadata'] as List<dynamic>?)
|
||||
?.map((e) => PlexMetadata.fromJson(e as Map<String, dynamic>))
|
||||
.toList(),
|
||||
);
|
||||
|
||||
@@ -26,6 +26,10 @@ class PlexLibrary with MultiServerFields {
|
||||
@JsonKey(includeFromJson: false, includeToJson: false)
|
||||
final String? serverName;
|
||||
|
||||
/// Whether this is a shared library (individually shared items, not a real section)
|
||||
@JsonKey(includeFromJson: false, includeToJson: false)
|
||||
final bool isShared;
|
||||
|
||||
/// Global unique identifier across all servers (serverId:key)
|
||||
String get globalKey => serverId != null ? buildGlobalKey(serverId!, key) : key;
|
||||
|
||||
@@ -42,6 +46,7 @@ class PlexLibrary with MultiServerFields {
|
||||
this.hidden,
|
||||
this.serverId,
|
||||
this.serverName,
|
||||
this.isShared = false,
|
||||
});
|
||||
|
||||
factory PlexLibrary.fromJson(Map<String, dynamic> json) => _$PlexLibraryFromJson(json);
|
||||
@@ -62,6 +67,7 @@ class PlexLibrary with MultiServerFields {
|
||||
int? hidden,
|
||||
String? serverId,
|
||||
String? serverName,
|
||||
bool? isShared,
|
||||
}) {
|
||||
return PlexLibrary(
|
||||
key: key ?? this.key,
|
||||
@@ -76,6 +82,7 @@ class PlexLibrary with MultiServerFields {
|
||||
hidden: hidden ?? this.hidden,
|
||||
serverId: serverId ?? this.serverId,
|
||||
serverName: serverName ?? this.serverName,
|
||||
isShared: isShared ?? this.isShared,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -19,15 +19,16 @@ PlexLibrary _$PlexLibraryFromJson(Map<String, dynamic> json) => PlexLibrary(
|
||||
hidden: (json['hidden'] as num?)?.toInt(),
|
||||
);
|
||||
|
||||
Map<String, dynamic> _$PlexLibraryToJson(PlexLibrary instance) => <String, dynamic>{
|
||||
'key': instance.key,
|
||||
'title': instance.title,
|
||||
'type': instance.type,
|
||||
'agent': instance.agent,
|
||||
'scanner': instance.scanner,
|
||||
'language': instance.language,
|
||||
'uuid': instance.uuid,
|
||||
'updatedAt': instance.updatedAt,
|
||||
'createdAt': instance.createdAt,
|
||||
'hidden': instance.hidden,
|
||||
};
|
||||
Map<String, dynamic> _$PlexLibraryToJson(PlexLibrary instance) =>
|
||||
<String, dynamic>{
|
||||
'key': instance.key,
|
||||
'title': instance.title,
|
||||
'type': instance.type,
|
||||
'agent': instance.agent,
|
||||
'scanner': instance.scanner,
|
||||
'language': instance.language,
|
||||
'uuid': instance.uuid,
|
||||
'updatedAt': instance.updatedAt,
|
||||
'createdAt': instance.createdAt,
|
||||
'hidden': instance.hidden,
|
||||
};
|
||||
|
||||
@@ -227,29 +227,42 @@ class PlaybackExtras {
|
||||
|
||||
PlaybackExtras({required this.chapters, required this.markers});
|
||||
|
||||
static final _introPattern = RegExp(
|
||||
r'(?:^|\b)(?:intro(?:duction)?|opening)(?:\b|$)|^op(?:\s?\d+)?$',
|
||||
caseSensitive: false,
|
||||
);
|
||||
static final _creditsPattern = RegExp(
|
||||
r'(?:^|\b)(?:outro|closing|credits?|ending)(?:\b|$)|^ed(?:\s?\d+)?$',
|
||||
caseSensitive: false,
|
||||
);
|
||||
|
||||
static String? _classifyChapterTitle(String title) {
|
||||
if (_introPattern.hasMatch(title)) return 'intro';
|
||||
if (_creditsPattern.hasMatch(title)) return 'credits';
|
||||
static String? _classifyChapterTitle(String title, RegExp introPattern, RegExp creditsPattern) {
|
||||
if (introPattern.hasMatch(title)) return 'intro';
|
||||
if (creditsPattern.hasMatch(title)) return 'credits';
|
||||
return null;
|
||||
}
|
||||
|
||||
/// Returns [PlaybackExtras] using real markers when available, otherwise
|
||||
/// synthesises markers from chapter titles matching intro/credits patterns.
|
||||
/// When real markers exist, reclassifies markers with unknown types against
|
||||
/// the patterns so non-standard type strings (e.g. "OP-Song") get recognized.
|
||||
factory PlaybackExtras.withChapterFallback({
|
||||
required List<PlexChapter> chapters,
|
||||
required List<PlexMarker> markers,
|
||||
String? introPatternStr,
|
||||
String? creditsPatternStr,
|
||||
}) {
|
||||
final introPattern = RegExp(
|
||||
introPatternStr ?? r'(?:^|\b)(?:intro(?:duction)?|opening)(?:\b|$)|^op(?:\s?\d+)?$',
|
||||
caseSensitive: false,
|
||||
);
|
||||
final creditsPattern = RegExp(
|
||||
creditsPatternStr ?? r'(?:^|\b)(?:outro|closing|credits?|ending)(?:\b|$)|^ed(?:\s?\d+)?$',
|
||||
caseSensitive: false,
|
||||
);
|
||||
|
||||
if (markers.isNotEmpty) {
|
||||
return PlaybackExtras(chapters: chapters, markers: markers);
|
||||
// Reclassify markers with non-standard types against the patterns
|
||||
final reclassified = markers.map((m) {
|
||||
if (m.type == 'intro' || m.type == 'credits') return m;
|
||||
final newType = _classifyChapterTitle(m.type, introPattern, creditsPattern);
|
||||
if (newType != null) {
|
||||
return PlexMarker(id: m.id, type: newType, startTimeOffset: m.startTimeOffset, endTimeOffset: m.endTimeOffset);
|
||||
}
|
||||
return m;
|
||||
}).toList();
|
||||
return PlaybackExtras(chapters: chapters, markers: reclassified);
|
||||
}
|
||||
|
||||
final synthetic = <PlexMarker>[];
|
||||
@@ -258,7 +271,7 @@ class PlaybackExtras {
|
||||
final title = ch.title;
|
||||
if (title == null || title.isEmpty) continue;
|
||||
|
||||
final type = _classifyChapterTitle(title);
|
||||
final type = _classifyChapterTitle(title, introPattern, creditsPattern);
|
||||
if (type == null) continue;
|
||||
|
||||
final start = ch.startTimeOffset;
|
||||
|
||||
@@ -9,6 +9,15 @@ import '../utils/global_key_utils.dart';
|
||||
|
||||
part 'plex_metadata.g.dart';
|
||||
|
||||
Object? _readRatingKey(Map json, String key) =>
|
||||
json['ratingKey'] ?? json['key'] ?? '';
|
||||
|
||||
int? _flexibleInt(Object? v) => switch (v) {
|
||||
num n => n.toInt(),
|
||||
String s => int.tryParse(s),
|
||||
_ => null,
|
||||
};
|
||||
|
||||
/// Media type enum for type-safe media type handling
|
||||
enum PlexMediaType {
|
||||
movie,
|
||||
@@ -51,12 +60,13 @@ enum PlexMediaType {
|
||||
|
||||
@JsonSerializable()
|
||||
class PlexMetadata with MultiServerFields {
|
||||
@JsonKey(readValue: _readRatingKey)
|
||||
final String ratingKey;
|
||||
final String key;
|
||||
final String? key;
|
||||
final String? guid;
|
||||
final String? studio;
|
||||
final String type;
|
||||
final String title;
|
||||
final String? type;
|
||||
final String? title;
|
||||
final String? titleSort;
|
||||
final String? contentRating;
|
||||
final String? summary;
|
||||
@@ -85,11 +95,13 @@ class PlexMetadata with MultiServerFields {
|
||||
final int? viewCount;
|
||||
final int? leafCount; // Total number of episodes in a series/season
|
||||
final int? viewedLeafCount; // Number of watched episodes in a series/season
|
||||
@JsonKey(fromJson: _flexibleInt)
|
||||
final int? childCount; // Number of items in a collection or playlist
|
||||
@JsonKey(name: 'Role')
|
||||
final List<PlexRole>? role; // Cast members
|
||||
final String? audioLanguage; // Per-media preferred audio language
|
||||
final String? subtitleLanguage; // Per-media preferred subtitle language
|
||||
@JsonKey(fromJson: _flexibleInt)
|
||||
final int? subtitleMode; // Per-media subtitle mode (0=manual, 1=foreign audio, 2=always, -1=account default)
|
||||
final int? playlistItemID; // Playlist item ID (for dumb playlists only)
|
||||
final int? playQueueItemID; // Play queue item ID (unique even for duplicates)
|
||||
@@ -121,9 +133,22 @@ class PlexMetadata with MultiServerFields {
|
||||
/// Global unique identifier across all servers (serverId:ratingKey)
|
||||
String get globalKey => serverId != null ? buildGlobalKey(serverId!, ratingKey) : ratingKey;
|
||||
|
||||
/// Whether this item represents a library section (shared whole-library, not a media item).
|
||||
/// These have keys like `/library/sections/5/all` instead of `/library/metadata/12345`.
|
||||
bool get isLibrarySection => key != null && key!.startsWith('/library/sections/');
|
||||
|
||||
/// Extract the library section ID from a library-section item's key.
|
||||
/// Returns null if this is not a library section item.
|
||||
String? get librarySectionKey {
|
||||
if (!isLibrarySection) return null;
|
||||
final match = RegExp(r'/library/sections/(\d+)').firstMatch(key!);
|
||||
return match?.group(1);
|
||||
}
|
||||
|
||||
/// Parsed media type enum for type-safe comparisons
|
||||
PlexMediaType get mediaType {
|
||||
return switch (type.toLowerCase()) {
|
||||
if (type == null) return PlexMediaType.unknown;
|
||||
return switch (type!.toLowerCase()) {
|
||||
'movie' => PlexMediaType.movie,
|
||||
'show' => PlexMediaType.show,
|
||||
'season' => PlexMediaType.season,
|
||||
@@ -141,11 +166,11 @@ class PlexMetadata with MultiServerFields {
|
||||
|
||||
PlexMetadata({
|
||||
required this.ratingKey,
|
||||
required this.key,
|
||||
this.key,
|
||||
this.guid,
|
||||
this.studio,
|
||||
required this.type,
|
||||
required this.title,
|
||||
this.type,
|
||||
this.title,
|
||||
this.titleSort,
|
||||
this.contentRating,
|
||||
this.summary,
|
||||
@@ -354,7 +379,7 @@ class PlexMetadata with MultiServerFields {
|
||||
|
||||
// Helper to get the display title (show name for episodes/seasons, title otherwise)
|
||||
String get displayTitle {
|
||||
final itemType = type.toLowerCase();
|
||||
final itemType = type?.toLowerCase();
|
||||
|
||||
// For episodes and seasons, prefer grandparent title (show name)
|
||||
if ((itemType == 'episode' || itemType == 'season') && grandparentTitle != null) {
|
||||
@@ -364,12 +389,12 @@ class PlexMetadata with MultiServerFields {
|
||||
if (itemType == 'season' && parentTitle != null) {
|
||||
return parentTitle!;
|
||||
}
|
||||
return title;
|
||||
return title ?? '';
|
||||
}
|
||||
|
||||
// Helper to get the subtitle (episode/season title)
|
||||
String? get displaySubtitle {
|
||||
final itemType = type.toLowerCase();
|
||||
final itemType = type?.toLowerCase();
|
||||
|
||||
if (itemType == 'episode' || itemType == 'season') {
|
||||
// If we showed grandparent/parent as title, show this item's title as subtitle
|
||||
@@ -389,7 +414,7 @@ class PlexMetadata with MultiServerFields {
|
||||
/// For movies/shows/seasons in mixed hub context: returns art (16:9 background)
|
||||
/// For other types: returns thumb
|
||||
String? posterThumb({EpisodePosterMode mode = EpisodePosterMode.seriesPoster, bool mixedHubContext = false}) {
|
||||
final itemType = type.toLowerCase();
|
||||
final itemType = type?.toLowerCase();
|
||||
|
||||
if (itemType == 'episode') {
|
||||
switch (mode) {
|
||||
@@ -424,7 +449,7 @@ class PlexMetadata with MultiServerFields {
|
||||
/// Clips (trailers, extras) always use 16:9.
|
||||
/// Movies, shows, and seasons use 16:9 in mixed hub context with episodeThumbnail mode.
|
||||
bool usesWideAspectRatio(EpisodePosterMode mode, {bool mixedHubContext = false}) {
|
||||
final itemType = type.toLowerCase();
|
||||
final itemType = type?.toLowerCase();
|
||||
// Clips (trailers, extras) are always 16:9
|
||||
if (itemType == 'clip') return true;
|
||||
if (itemType == 'episode' && mode == EpisodePosterMode.episodeThumbnail) {
|
||||
@@ -458,10 +483,6 @@ class PlexMetadata with MultiServerFields {
|
||||
}
|
||||
|
||||
factory PlexMetadata.fromJson(Map<String, dynamic> json) {
|
||||
// Plex API returns subtitleMode as a string
|
||||
if (json['subtitleMode'] is String) {
|
||||
json = {...json, 'subtitleMode': num.tryParse(json['subtitleMode'] as String)};
|
||||
}
|
||||
try {
|
||||
return _$PlexMetadataFromJson(kBlurArtwork ? _obfuscateJson(json) : json);
|
||||
} on TypeError catch (e, st) {
|
||||
|
||||
@@ -7,12 +7,12 @@ part of 'plex_metadata.dart';
|
||||
// **************************************************************************
|
||||
|
||||
PlexMetadata _$PlexMetadataFromJson(Map<String, dynamic> json) => PlexMetadata(
|
||||
ratingKey: json['ratingKey'] as String? ?? '',
|
||||
key: json['key'] as String? ?? '',
|
||||
ratingKey: _readRatingKey(json, 'ratingKey') as String,
|
||||
key: json['key'] as String?,
|
||||
guid: json['guid'] as String?,
|
||||
studio: json['studio'] as String?,
|
||||
type: json['type'] as String? ?? 'folder',
|
||||
title: json['title'] as String? ?? '',
|
||||
type: json['type'] as String?,
|
||||
title: json['title'] as String?,
|
||||
titleSort: json['titleSort'] as String?,
|
||||
contentRating: json['contentRating'] as String?,
|
||||
summary: json['summary'] as String?,
|
||||
@@ -41,11 +41,13 @@ PlexMetadata _$PlexMetadataFromJson(Map<String, dynamic> json) => PlexMetadata(
|
||||
viewCount: (json['viewCount'] as num?)?.toInt(),
|
||||
leafCount: (json['leafCount'] as num?)?.toInt(),
|
||||
viewedLeafCount: (json['viewedLeafCount'] as num?)?.toInt(),
|
||||
childCount: (json['childCount'] as num?)?.toInt(),
|
||||
role: (json['Role'] as List<dynamic>?)?.map((e) => PlexRole.fromJson(e as Map<String, dynamic>)).toList(),
|
||||
childCount: _flexibleInt(json['childCount']),
|
||||
role: (json['Role'] as List<dynamic>?)
|
||||
?.map((e) => PlexRole.fromJson(e as Map<String, dynamic>))
|
||||
.toList(),
|
||||
audioLanguage: json['audioLanguage'] as String?,
|
||||
subtitleLanguage: json['subtitleLanguage'] as String?,
|
||||
subtitleMode: (json['subtitleMode'] as num?)?.toInt(),
|
||||
subtitleMode: _flexibleInt(json['subtitleMode']),
|
||||
playlistItemID: (json['playlistItemID'] as num?)?.toInt(),
|
||||
playQueueItemID: (json['playQueueItemID'] as num?)?.toInt(),
|
||||
librarySectionID: (json['librarySectionID'] as num?)?.toInt(),
|
||||
@@ -62,58 +64,59 @@ PlexMetadata _$PlexMetadataFromJson(Map<String, dynamic> json) => PlexMetadata(
|
||||
backgroundSquare: json['backgroundSquare'] as String?,
|
||||
);
|
||||
|
||||
Map<String, dynamic> _$PlexMetadataToJson(PlexMetadata instance) => <String, dynamic>{
|
||||
'ratingKey': instance.ratingKey,
|
||||
'key': instance.key,
|
||||
'guid': instance.guid,
|
||||
'studio': instance.studio,
|
||||
'type': instance.type,
|
||||
'title': instance.title,
|
||||
'titleSort': instance.titleSort,
|
||||
'contentRating': instance.contentRating,
|
||||
'summary': instance.summary,
|
||||
'rating': instance.rating,
|
||||
'audienceRating': instance.audienceRating,
|
||||
'userRating': instance.userRating,
|
||||
'year': instance.year,
|
||||
'originallyAvailableAt': instance.originallyAvailableAt,
|
||||
'thumb': instance.thumb,
|
||||
'art': instance.art,
|
||||
'duration': instance.duration,
|
||||
'addedAt': instance.addedAt,
|
||||
'updatedAt': instance.updatedAt,
|
||||
'lastViewedAt': instance.lastViewedAt,
|
||||
'grandparentTitle': instance.grandparentTitle,
|
||||
'grandparentThumb': instance.grandparentThumb,
|
||||
'grandparentArt': instance.grandparentArt,
|
||||
'grandparentRatingKey': instance.grandparentRatingKey,
|
||||
'parentTitle': instance.parentTitle,
|
||||
'parentThumb': instance.parentThumb,
|
||||
'parentRatingKey': instance.parentRatingKey,
|
||||
'parentIndex': instance.parentIndex,
|
||||
'index': instance.index,
|
||||
'grandparentTheme': instance.grandparentTheme,
|
||||
'viewOffset': instance.viewOffset,
|
||||
'viewCount': instance.viewCount,
|
||||
'leafCount': instance.leafCount,
|
||||
'viewedLeafCount': instance.viewedLeafCount,
|
||||
'childCount': instance.childCount,
|
||||
'Role': instance.role,
|
||||
'audioLanguage': instance.audioLanguage,
|
||||
'subtitleLanguage': instance.subtitleLanguage,
|
||||
'subtitleMode': instance.subtitleMode,
|
||||
'playlistItemID': instance.playlistItemID,
|
||||
'playQueueItemID': instance.playQueueItemID,
|
||||
'librarySectionID': instance.librarySectionID,
|
||||
'librarySectionTitle': instance.librarySectionTitle,
|
||||
'ratingImage': instance.ratingImage,
|
||||
'audienceRatingImage': instance.audienceRatingImage,
|
||||
'tagline': instance.tagline,
|
||||
'originalTitle': instance.originalTitle,
|
||||
'editionTitle': instance.editionTitle,
|
||||
'subtype': instance.subtype,
|
||||
'extraType': instance.extraType,
|
||||
'primaryExtraKey': instance.primaryExtraKey,
|
||||
'clearLogo': instance.clearLogo,
|
||||
'backgroundSquare': instance.backgroundSquare,
|
||||
};
|
||||
Map<String, dynamic> _$PlexMetadataToJson(PlexMetadata instance) =>
|
||||
<String, dynamic>{
|
||||
'ratingKey': instance.ratingKey,
|
||||
'key': instance.key,
|
||||
'guid': instance.guid,
|
||||
'studio': instance.studio,
|
||||
'type': instance.type,
|
||||
'title': instance.title,
|
||||
'titleSort': instance.titleSort,
|
||||
'contentRating': instance.contentRating,
|
||||
'summary': instance.summary,
|
||||
'rating': instance.rating,
|
||||
'audienceRating': instance.audienceRating,
|
||||
'userRating': instance.userRating,
|
||||
'year': instance.year,
|
||||
'originallyAvailableAt': instance.originallyAvailableAt,
|
||||
'thumb': instance.thumb,
|
||||
'art': instance.art,
|
||||
'duration': instance.duration,
|
||||
'addedAt': instance.addedAt,
|
||||
'updatedAt': instance.updatedAt,
|
||||
'lastViewedAt': instance.lastViewedAt,
|
||||
'grandparentTitle': instance.grandparentTitle,
|
||||
'grandparentThumb': instance.grandparentThumb,
|
||||
'grandparentArt': instance.grandparentArt,
|
||||
'grandparentRatingKey': instance.grandparentRatingKey,
|
||||
'parentTitle': instance.parentTitle,
|
||||
'parentThumb': instance.parentThumb,
|
||||
'parentRatingKey': instance.parentRatingKey,
|
||||
'parentIndex': instance.parentIndex,
|
||||
'index': instance.index,
|
||||
'grandparentTheme': instance.grandparentTheme,
|
||||
'viewOffset': instance.viewOffset,
|
||||
'viewCount': instance.viewCount,
|
||||
'leafCount': instance.leafCount,
|
||||
'viewedLeafCount': instance.viewedLeafCount,
|
||||
'childCount': instance.childCount,
|
||||
'Role': instance.role,
|
||||
'audioLanguage': instance.audioLanguage,
|
||||
'subtitleLanguage': instance.subtitleLanguage,
|
||||
'subtitleMode': instance.subtitleMode,
|
||||
'playlistItemID': instance.playlistItemID,
|
||||
'playQueueItemID': instance.playQueueItemID,
|
||||
'librarySectionID': instance.librarySectionID,
|
||||
'librarySectionTitle': instance.librarySectionTitle,
|
||||
'ratingImage': instance.ratingImage,
|
||||
'audienceRatingImage': instance.audienceRatingImage,
|
||||
'tagline': instance.tagline,
|
||||
'originalTitle': instance.originalTitle,
|
||||
'editionTitle': instance.editionTitle,
|
||||
'subtype': instance.subtype,
|
||||
'extraType': instance.extraType,
|
||||
'primaryExtraKey': instance.primaryExtraKey,
|
||||
'clearLogo': instance.clearLogo,
|
||||
'backgroundSquare': instance.backgroundSquare,
|
||||
};
|
||||
|
||||
@@ -26,22 +26,23 @@ PlexPlaylist _$PlexPlaylistFromJson(Map<String, dynamic> json) => PlexPlaylist(
|
||||
thumb: json['thumb'] as String?,
|
||||
);
|
||||
|
||||
Map<String, dynamic> _$PlexPlaylistToJson(PlexPlaylist instance) => <String, dynamic>{
|
||||
'ratingKey': instance.ratingKey,
|
||||
'key': instance.key,
|
||||
'type': instance.type,
|
||||
'title': instance.title,
|
||||
'summary': instance.summary,
|
||||
'smart': instance.smart,
|
||||
'playlistType': instance.playlistType,
|
||||
'duration': instance.duration,
|
||||
'leafCount': instance.leafCount,
|
||||
'composite': instance.composite,
|
||||
'addedAt': instance.addedAt,
|
||||
'updatedAt': instance.updatedAt,
|
||||
'lastViewedAt': instance.lastViewedAt,
|
||||
'viewCount': instance.viewCount,
|
||||
'content': instance.content,
|
||||
'guid': instance.guid,
|
||||
'thumb': instance.thumb,
|
||||
};
|
||||
Map<String, dynamic> _$PlexPlaylistToJson(PlexPlaylist instance) =>
|
||||
<String, dynamic>{
|
||||
'ratingKey': instance.ratingKey,
|
||||
'key': instance.key,
|
||||
'type': instance.type,
|
||||
'title': instance.title,
|
||||
'summary': instance.summary,
|
||||
'smart': instance.smart,
|
||||
'playlistType': instance.playlistType,
|
||||
'duration': instance.duration,
|
||||
'leafCount': instance.leafCount,
|
||||
'composite': instance.composite,
|
||||
'addedAt': instance.addedAt,
|
||||
'updatedAt': instance.updatedAt,
|
||||
'lastViewedAt': instance.lastViewedAt,
|
||||
'viewCount': instance.viewCount,
|
||||
'content': instance.content,
|
||||
'guid': instance.guid,
|
||||
'thumb': instance.thumb,
|
||||
};
|
||||
|
||||
@@ -72,10 +72,4 @@ class PlexUserProfile {
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
/// Returns true if subtitles should be automatically selected
|
||||
bool get shouldAutoSelectSubtitle => autoSelectSubtitle > 0;
|
||||
|
||||
/// Returns true if forced subtitles should be preferred
|
||||
bool get preferForcedSubtitles => defaultSubtitleForced == 1;
|
||||
}
|
||||
|
||||
@@ -133,5 +133,4 @@ class UserSwitchResponse {
|
||||
bool get isRestrictedUser => restricted;
|
||||
bool get isGuestUser => guest;
|
||||
bool get requiresPassword => hasPassword;
|
||||
bool get isSecureUser => twoFactorEnabled || backupCodesCreated;
|
||||
}
|
||||
|
||||
@@ -39,7 +39,10 @@ class PlayerAndroid extends PlayerBase {
|
||||
void handlePlayerEvent(String name, Map? data) {
|
||||
// Handle Android-specific events
|
||||
if (name == 'backend-switched') {
|
||||
// Native player switched from ExoPlayer to MPV due to unsupported format
|
||||
// Native player switched from ExoPlayer to MPV due to unsupported format.
|
||||
// Clear stale ExoPlayer tracks so applyTrackSelectionWhenReady waits for
|
||||
// mpv's track-list instead of immediately applying with ExoPlayer IDs.
|
||||
clearTracks();
|
||||
backendSwitchedController.add(null);
|
||||
return;
|
||||
}
|
||||
@@ -89,7 +92,7 @@ class PlayerAndroid extends PlayerBase {
|
||||
// ============================================
|
||||
|
||||
@override
|
||||
Future<void> open(Media media, {bool play = true, bool isLive = false}) async {
|
||||
Future<void> open(Media media, {bool play = true, bool isLive = false, List<SubtitleTrack>? externalSubtitles}) async {
|
||||
if (disposed) return;
|
||||
await _ensureInitialized();
|
||||
setSeekable(false);
|
||||
@@ -103,6 +106,11 @@ class PlayerAndroid extends PlayerBase {
|
||||
'startPositionMs': media.start?.inMilliseconds ?? 0,
|
||||
'autoPlay': play,
|
||||
'isLive': isLive,
|
||||
if (externalSubtitles != null && externalSubtitles.isNotEmpty)
|
||||
'externalSubtitles': externalSubtitles
|
||||
.where((s) => s.uri != null)
|
||||
.map((s) => {'uri': s.uri, 'title': s.title, 'language': s.language})
|
||||
.toList(),
|
||||
});
|
||||
}
|
||||
|
||||
@@ -243,6 +251,11 @@ class PlayerAndroid extends PlayerBase {
|
||||
return (state.duration.inMilliseconds / 1000.0).toString();
|
||||
case 'seekable':
|
||||
return state.seekable ? 'yes' : 'no';
|
||||
// Video frame rate - query from ExoPlayer stats
|
||||
case 'container-fps':
|
||||
final fpsStats = await getStats();
|
||||
final fps = fpsStats['videoFps'];
|
||||
return fps?.toString();
|
||||
// Video dimensions - query from ExoPlayer stats
|
||||
case 'width':
|
||||
case 'dwidth':
|
||||
|
||||
@@ -61,7 +61,7 @@ abstract class Player {
|
||||
///
|
||||
/// [media] - The media source to open.
|
||||
/// [play] - Whether to start playback immediately (default: true).
|
||||
Future<void> open(Media media, {bool play = true, bool isLive = false});
|
||||
Future<void> open(Media media, {bool play = true, bool isLive = false, List<SubtitleTrack>? externalSubtitles});
|
||||
|
||||
/// Start or resume playback.
|
||||
Future<void> play();
|
||||
@@ -162,6 +162,16 @@ abstract class Player {
|
||||
/// [args] - Command and arguments as a list of strings.
|
||||
Future<void> command(List<String> args);
|
||||
|
||||
// ============================================
|
||||
// Subtitle Fonts
|
||||
// ============================================
|
||||
|
||||
/// Configure subtitle fonts for libass rendering.
|
||||
///
|
||||
/// Extracts a comprehensive Unicode font (Go Noto) to the cache directory
|
||||
/// and sets `sub-fonts-dir` and `sub-font` properties.
|
||||
Future<void> configureSubtitleFonts();
|
||||
|
||||
// ============================================
|
||||
// Passthrough Mode (Audio)
|
||||
// ============================================
|
||||
|
||||
@@ -5,6 +5,7 @@ import 'package:flutter/foundation.dart' show protected;
|
||||
import 'package:flutter/services.dart';
|
||||
|
||||
import '../../utils/app_logger.dart';
|
||||
import '../font_loader.dart';
|
||||
import '../models.dart';
|
||||
import 'player.dart';
|
||||
import 'player_state.dart';
|
||||
@@ -224,9 +225,18 @@ abstract class PlayerBase with PlayerStreamControllersMixin implements Player {
|
||||
}
|
||||
}
|
||||
if (trackList != null) {
|
||||
final tracks = parseTrackList(trackList);
|
||||
_state = _state.copyWith(tracks: tracks);
|
||||
tracksController.add(tracks);
|
||||
final result = parseTrackList(trackList);
|
||||
_state = _state.copyWith(tracks: result.tracks);
|
||||
tracksController.add(result.tracks);
|
||||
// Derive selection from mpv's "selected" field in the track data.
|
||||
// This is the source of truth and handles cases where aid/sid
|
||||
// values don't match track IDs (e.g. "auto", "0", "no").
|
||||
if (result.selectedAudioId != null) {
|
||||
updateSelectedAudioTrack(result.selectedAudioId);
|
||||
}
|
||||
if (result.selectedSubtitleId != null) {
|
||||
updateSelectedSubtitleTrack(result.selectedSubtitleId);
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
@@ -383,18 +393,22 @@ abstract class PlayerBase with PlayerStreamControllersMixin implements Player {
|
||||
};
|
||||
}
|
||||
|
||||
/// Parse a track list from the platform into [Tracks].
|
||||
Tracks parseTrackList(List trackList) {
|
||||
/// Parse a track list from the platform into [Tracks] and selected track IDs.
|
||||
({Tracks tracks, String? selectedAudioId, String? selectedSubtitleId}) parseTrackList(List trackList) {
|
||||
final audioTracks = <AudioTrack>[];
|
||||
final subtitleTracks = <SubtitleTrack>[];
|
||||
String? selectedAudioId;
|
||||
String? selectedSubtitleId;
|
||||
|
||||
for (final track in trackList) {
|
||||
if (track is! Map) continue;
|
||||
|
||||
final type = track['type'] as String?;
|
||||
final id = track['id']?.toString() ?? '';
|
||||
final selected = track['selected'] as bool? ?? false;
|
||||
|
||||
if (type == 'audio') {
|
||||
if (selected) selectedAudioId = id;
|
||||
audioTracks.add(
|
||||
AudioTrack(
|
||||
id: id,
|
||||
@@ -407,12 +421,15 @@ abstract class PlayerBase with PlayerStreamControllersMixin implements Player {
|
||||
),
|
||||
);
|
||||
} else if (type == 'sub') {
|
||||
if (selected) selectedSubtitleId = id;
|
||||
subtitleTracks.add(
|
||||
SubtitleTrack(
|
||||
id: id,
|
||||
title: track['title'] as String?,
|
||||
language: track['lang'] as String?,
|
||||
codec: track['codec'] as String?,
|
||||
isDefault: track['default'] as bool? ?? false,
|
||||
isForced: track['forced'] as bool? ?? false,
|
||||
isExternal: track['external'] as bool? ?? false,
|
||||
uri: track['external-filename'] as String?,
|
||||
),
|
||||
@@ -420,7 +437,7 @@ abstract class PlayerBase with PlayerStreamControllersMixin implements Player {
|
||||
}
|
||||
}
|
||||
|
||||
return Tracks(audio: audioTracks, subtitle: subtitleTracks);
|
||||
return (tracks: Tracks(audio: audioTracks, subtitle: subtitleTracks), selectedAudioId: selectedAudioId, selectedSubtitleId: selectedSubtitleId);
|
||||
}
|
||||
|
||||
/// Update the selected audio track.
|
||||
@@ -469,6 +486,13 @@ abstract class PlayerBase with PlayerStreamControllersMixin implements Player {
|
||||
_state = update(_state);
|
||||
}
|
||||
|
||||
@protected
|
||||
void clearTracks() {
|
||||
const empty = Tracks();
|
||||
_state = _state.copyWith(tracks: empty, track: const TrackSelection());
|
||||
tracksController.add(empty);
|
||||
}
|
||||
|
||||
@protected
|
||||
void setSeekable(bool seekable) {
|
||||
if (_state.seekable == seekable) return;
|
||||
@@ -550,6 +574,28 @@ abstract class PlayerBase with PlayerStreamControllersMixin implements Player {
|
||||
// ignore: no-empty-block - base no-op, overridden by platform subclasses
|
||||
Future<void> setLogLevel(String level) async {}
|
||||
|
||||
// ============================================
|
||||
// Subtitle Fonts
|
||||
// ============================================
|
||||
|
||||
@override
|
||||
Future<void> configureSubtitleFonts() async {
|
||||
try {
|
||||
final fontDir = await SubtitleFontLoader.loadSubtitleFont();
|
||||
if (fontDir != null) {
|
||||
await setProperty('sub-fonts-dir', fontDir);
|
||||
await setProperty('sub-font', SubtitleFontLoader.fontName);
|
||||
}
|
||||
} catch (e) {
|
||||
// Font configuration is not critical - continue without it
|
||||
logController.add(PlayerLog(
|
||||
prefix: 'fonts',
|
||||
level: PlayerLogLevel.warn,
|
||||
text: 'Failed to configure subtitle fonts: $e',
|
||||
));
|
||||
}
|
||||
}
|
||||
|
||||
// ============================================
|
||||
// Lifecycle
|
||||
// ============================================
|
||||
|
||||
@@ -2,7 +2,6 @@ import 'dart:io' show Platform;
|
||||
|
||||
import 'package:flutter/services.dart';
|
||||
|
||||
import '../font_loader.dart';
|
||||
import '../models.dart';
|
||||
import '../../utils/app_logger.dart';
|
||||
import 'player_base.dart';
|
||||
@@ -55,9 +54,6 @@ class PlayerNative extends PlayerBase {
|
||||
throw Exception('Failed to initialize player');
|
||||
}
|
||||
|
||||
// Configure subtitle fonts for libass support
|
||||
await _configureSubtitleFonts();
|
||||
|
||||
// Subscribe to MPV properties
|
||||
await observeProperty('time-pos', 'double');
|
||||
await observeProperty('duration', 'double');
|
||||
@@ -80,24 +76,6 @@ class PlayerNative extends PlayerBase {
|
||||
}
|
||||
}
|
||||
|
||||
/// Configures subtitle fonts for libass support.
|
||||
/// Provides a comprehensive Unicode font (Go Noto) with CJK coverage to ensure
|
||||
/// proper rendering of non-Latin characters in subtitles.
|
||||
Future<void> _configureSubtitleFonts() async {
|
||||
try {
|
||||
final fontDir = await SubtitleFontLoader.loadSubtitleFont();
|
||||
if (fontDir != null) {
|
||||
// Configure MPV to use the extracted font for libass
|
||||
await setProperty('config', 'yes');
|
||||
await setProperty('sub-fonts-dir', fontDir);
|
||||
await setProperty('sub-font', SubtitleFontLoader.fontName);
|
||||
}
|
||||
} catch (e) {
|
||||
// Font configuration is not critical - continue without it
|
||||
errorController.add('Failed to configure subtitle fonts: $e');
|
||||
}
|
||||
}
|
||||
|
||||
// ============================================
|
||||
// Playback Control
|
||||
// ============================================
|
||||
@@ -113,7 +91,7 @@ class PlayerNative extends PlayerBase {
|
||||
}
|
||||
|
||||
@override
|
||||
Future<void> open(Media media, {bool play = true, bool isLive = false}) async {
|
||||
Future<void> open(Media media, {bool play = true, bool isLive = false, List<SubtitleTrack>? externalSubtitles}) async {
|
||||
if (disposed) return;
|
||||
await _ensureInitialized();
|
||||
setSeekable(false);
|
||||
|
||||
@@ -35,10 +35,6 @@ class NavigationTab {
|
||||
}).toList();
|
||||
}
|
||||
|
||||
/// Check if a visual index corresponds to a specific tab ID
|
||||
static bool isTabAtIndex(NavigationTabId id, int index, {required bool isOffline, bool hasLiveTv = false}) {
|
||||
return indexFor(id, isOffline: isOffline, hasLiveTv: hasLiveTv) == index;
|
||||
}
|
||||
}
|
||||
|
||||
// Label getters (must be top-level for const constructor)
|
||||
|
||||
@@ -515,10 +515,10 @@ class DownloadProvider extends ChangeNotifier {
|
||||
}
|
||||
|
||||
// We have metadata, check type
|
||||
final type = meta.type.toLowerCase();
|
||||
if (type == 'show') {
|
||||
final mt = meta.mediaType;
|
||||
if (mt == PlexMediaType.show) {
|
||||
return getAggregateProgressForShow(serverId, ratingKey);
|
||||
} else if (type == 'season') {
|
||||
} else if (mt == PlexMediaType.season) {
|
||||
return getAggregateProgressForSeason(serverId, ratingKey);
|
||||
}
|
||||
|
||||
@@ -606,19 +606,19 @@ class DownloadProvider extends ChangeNotifier {
|
||||
_queueing.add(globalKey);
|
||||
notifyListeners();
|
||||
|
||||
final type = metadata.type.toLowerCase();
|
||||
final mt = metadata.mediaType;
|
||||
|
||||
if (type == 'movie' || type == 'episode') {
|
||||
if (mt == PlexMediaType.movie || mt == PlexMediaType.episode) {
|
||||
// Direct download of a single item
|
||||
await _queueSingleDownload(metadata, client);
|
||||
return 1;
|
||||
} else if (type == 'show') {
|
||||
} else if (mt == PlexMediaType.show) {
|
||||
// Store show metadata so getProgress() can identify it as a show
|
||||
_metadata[globalKey] = metadata;
|
||||
|
||||
// Download all episodes from all seasons
|
||||
return await _queueShowDownload(metadata, client);
|
||||
} else if (type == 'season') {
|
||||
} else if (mt == PlexMediaType.season) {
|
||||
// Store season metadata so getProgress() can identify it as a season
|
||||
_metadata[globalKey] = metadata;
|
||||
|
||||
@@ -765,11 +765,11 @@ class DownloadProvider extends ChangeNotifier {
|
||||
/// Used for resuming partial downloads
|
||||
/// Returns the number of episodes queued
|
||||
Future<int> queueMissingEpisodes(PlexMetadata metadata, PlexClient client) async {
|
||||
final type = metadata.type.toLowerCase();
|
||||
final mt = metadata.mediaType;
|
||||
|
||||
if (type == 'show') {
|
||||
if (mt == PlexMediaType.show) {
|
||||
return await _queueMissingShowEpisodes(metadata, client);
|
||||
} else if (type == 'season') {
|
||||
} else if (mt == PlexMediaType.season) {
|
||||
return await _queueMissingSeasonEpisodes(metadata, client);
|
||||
} else {
|
||||
throw Exception('queueMissingEpisodes only supports shows/seasons');
|
||||
|
||||
@@ -31,7 +31,11 @@ class HiddenLibrariesProvider extends ChangeNotifier {
|
||||
_storageService = await StorageService.getInstance();
|
||||
_hiddenLibraryKeys = _storageService.getHiddenLibraries();
|
||||
_isInitialized = true;
|
||||
notifyListeners();
|
||||
// Only notify if there are actually hidden libraries — the default empty
|
||||
// set is already visible to consumers, so empty→empty is a no-op.
|
||||
if (_hiddenLibraryKeys.isNotEmpty) {
|
||||
notifyListeners();
|
||||
}
|
||||
}
|
||||
|
||||
/// Hide a library by its key
|
||||
|
||||
@@ -2,6 +2,7 @@ import 'dart:async';
|
||||
|
||||
import 'package:flutter/foundation.dart';
|
||||
|
||||
import '../models/livetv_dvr.dart';
|
||||
import '../services/plex_client.dart';
|
||||
import '../services/data_aggregation_service.dart';
|
||||
import '../services/multi_server_manager.dart';
|
||||
@@ -14,7 +15,10 @@ class LiveTvServerInfo {
|
||||
final String dvrKey;
|
||||
final String? lineup;
|
||||
|
||||
LiveTvServerInfo({required this.serverId, required this.dvrKey, this.lineup});
|
||||
/// Full DVR objects including channel mappings (avoids re-fetching in LiveTvScreen)
|
||||
final List<LiveTvDvr> dvrs;
|
||||
|
||||
LiveTvServerInfo({required this.serverId, required this.dvrKey, this.lineup, this.dvrs = const []});
|
||||
}
|
||||
|
||||
/// Provider for multi-server Plex connections
|
||||
@@ -32,12 +36,22 @@ class MultiServerProvider extends ChangeNotifier {
|
||||
final List<LiveTvServerInfo> _liveTvServers = [];
|
||||
List<LiveTvServerInfo> get liveTvServers => List.unmodifiable(_liveTvServers);
|
||||
|
||||
/// Previously-seen set of online server IDs, used to detect new servers
|
||||
Set<String> _previousOnlineServerIds = {};
|
||||
|
||||
MultiServerProvider(this._serverManager, this._aggregationService) {
|
||||
// Listen to server status changes
|
||||
_statusSubscription = _serverManager.statusStream.listen((_) {
|
||||
final currentOnline = Set<String>.from(onlineServerIds);
|
||||
final hasNewServer = currentOnline.any((id) => !_previousOnlineServerIds.contains(id));
|
||||
_previousOnlineServerIds = currentOnline;
|
||||
|
||||
notifyListeners();
|
||||
// Re-check live TV availability when servers come online
|
||||
checkLiveTvAvailability();
|
||||
|
||||
// Only re-check live TV when a new server came online
|
||||
if (hasNewServer) {
|
||||
checkLiveTvAvailability();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@@ -72,18 +86,6 @@ class MultiServerProvider extends ChangeNotifier {
|
||||
/// Check if any servers are connected
|
||||
bool get hasConnectedServers => onlineServerCount > 0;
|
||||
|
||||
/// Update token for a specific server
|
||||
void updateTokenForServer(String serverId, String newToken) {
|
||||
final client = _serverManager.getClient(serverId);
|
||||
if (client != null) {
|
||||
client.updateToken(newToken);
|
||||
appLogger.d('MultiServerProvider: Token updated for server $serverId');
|
||||
notifyListeners();
|
||||
} else {
|
||||
appLogger.w('MultiServerProvider: Cannot update token - server $serverId not found');
|
||||
}
|
||||
}
|
||||
|
||||
/// Clear all server connections
|
||||
void clearAllConnections() {
|
||||
_serverManager.disconnectAll();
|
||||
@@ -123,7 +125,7 @@ class MultiServerProvider extends ChangeNotifier {
|
||||
try {
|
||||
final dvrs = await client.getDvrs();
|
||||
for (final dvr in dvrs) {
|
||||
newLiveTvServers.add(LiveTvServerInfo(serverId: serverId, dvrKey: dvr.key, lineup: dvr.lineup));
|
||||
newLiveTvServers.add(LiveTvServerInfo(serverId: serverId, dvrKey: dvr.key, lineup: dvr.lineup, dvrs: dvrs));
|
||||
}
|
||||
} catch (e) {
|
||||
appLogger.d('LiveTV check failed for server $serverId', error: e);
|
||||
|
||||
@@ -48,9 +48,9 @@ class OfflineModeProvider extends ChangeNotifier {
|
||||
// Check initial connectivity
|
||||
await _updateConnectionFlags();
|
||||
|
||||
// Monitor connectivity changes — wrapped in try-catch because
|
||||
// connectivity_plus can throw synchronously on Windows (NetworkManager::StartListen)
|
||||
try {
|
||||
// Monitor connectivity changes — runZonedGuarded catches async errors from
|
||||
// connectivity_plus (e.g. DBusServiceUnknownException on Linux without NetworkManager)
|
||||
runZonedGuarded(() {
|
||||
_connectivitySubscription = Connectivity().onConnectivityChanged.listen(
|
||||
(results) {
|
||||
final wasOffline = isOffline;
|
||||
@@ -61,14 +61,13 @@ class OfflineModeProvider extends ChangeNotifier {
|
||||
}
|
||||
},
|
||||
onError: (e) {
|
||||
// Assume network available on stream error
|
||||
_hasNetworkConnection = true;
|
||||
},
|
||||
);
|
||||
} catch (e) {
|
||||
// Assume network available if stream activation fails
|
||||
}, (error, stack) {
|
||||
// connectivity_plus throws DBusServiceUnknownException on Linux without NetworkManager
|
||||
_hasNetworkConnection = true;
|
||||
}
|
||||
});
|
||||
|
||||
// Monitor server status from MultiServerManager
|
||||
_serverStatusSubscription = _serverManager.statusStream.listen((statusMap) {
|
||||
|
||||
@@ -59,17 +59,6 @@ class OfflineWatchProvider extends ChangeNotifier {
|
||||
return false;
|
||||
}
|
||||
|
||||
/// Check watch status synchronously using cached metadata.
|
||||
///
|
||||
/// This is useful for UI that can't await, but may not reflect
|
||||
/// the most recent local actions.
|
||||
bool isWatchedSync(PlexMetadata metadata) {
|
||||
// Note: This doesn't check local actions synchronously
|
||||
// because that would require async database access.
|
||||
// For real-time accuracy, use isWatched() instead.
|
||||
return metadata.isWatched;
|
||||
}
|
||||
|
||||
/// Get the effective view offset (resume position) for a media item.
|
||||
///
|
||||
/// Priority:
|
||||
@@ -148,25 +137,6 @@ class OfflineWatchProvider extends ChangeNotifier {
|
||||
return episodes.firstOrNull;
|
||||
}
|
||||
|
||||
/// Find the next unwatched downloaded episode synchronously.
|
||||
///
|
||||
/// This uses cached metadata without checking local offline actions.
|
||||
/// For real-time accuracy, use getNextUnwatchedEpisode() instead.
|
||||
PlexMetadata? getNextUnwatchedEpisodeSync(String showRatingKey) {
|
||||
final episodes = _getSortedEpisodes(showRatingKey);
|
||||
if (episodes.isEmpty) return null;
|
||||
|
||||
// Find first unwatched episode (using metadata's isWatched)
|
||||
for (final episode in episodes) {
|
||||
if (!episode.isWatched) {
|
||||
return episode;
|
||||
}
|
||||
}
|
||||
|
||||
// All episodes watched - return first episode for replay
|
||||
return episodes.firstOrNull;
|
||||
}
|
||||
|
||||
/// Emit a watch state change event for immediate UI update.
|
||||
void _emitWatchStateChange({
|
||||
required String serverId,
|
||||
@@ -234,11 +204,6 @@ class OfflineWatchProvider extends ChangeNotifier {
|
||||
return [for (final episode in episodes) (episode, watchStatuses[episode.globalKey]!)];
|
||||
}
|
||||
|
||||
/// Trigger a manual sync of pending items.
|
||||
Future<void> syncNow() async {
|
||||
await _syncService.syncPendingItems();
|
||||
}
|
||||
|
||||
@override
|
||||
void dispose() {
|
||||
_syncService.removeListener(_onSyncServiceChanged);
|
||||
|
||||
@@ -66,13 +66,6 @@ class PlaybackStateProvider with ChangeNotifier {
|
||||
/// Total number of items in the play queue
|
||||
int get queueLength => _playQueueTotalCount;
|
||||
|
||||
/// Gets the current position in the queue (1-indexed)
|
||||
int get currentPosition {
|
||||
if (_currentPlayQueueItemID == null || _loadedItems.isEmpty) return 0;
|
||||
final index = _loadedItems.indexWhere((item) => item.playQueueItemID == _currentPlayQueueItemID);
|
||||
return index != -1 ? index + 1 : 0;
|
||||
}
|
||||
|
||||
/// Set the client reference for loading more items
|
||||
void setClient(PlexClient client) {
|
||||
_client = client;
|
||||
|
||||
@@ -14,6 +14,7 @@ class SettingsProvider extends ChangeNotifier {
|
||||
bool _showUnwatchedCount = true;
|
||||
bool _hideSpoilers = false;
|
||||
bool _showNavBarLabels = true;
|
||||
bool _liveTvDefaultFavorites = false;
|
||||
bool _isInitialized = false;
|
||||
Future<void>? _initFuture;
|
||||
|
||||
@@ -40,6 +41,7 @@ class SettingsProvider extends ChangeNotifier {
|
||||
_showUnwatchedCount = _settingsService!.getShowUnwatchedCount();
|
||||
_hideSpoilers = _settingsService!.getHideSpoilers();
|
||||
_showNavBarLabels = _settingsService!.getShowNavBarLabels();
|
||||
_liveTvDefaultFavorites = _settingsService!.getLiveTvDefaultFavorites();
|
||||
_isInitialized = true;
|
||||
notifyListeners();
|
||||
}
|
||||
@@ -67,6 +69,8 @@ class SettingsProvider extends ChangeNotifier {
|
||||
|
||||
bool get showNavBarLabels => _showNavBarLabels;
|
||||
|
||||
bool get liveTvDefaultFavorites => _liveTvDefaultFavorites;
|
||||
|
||||
/// Helper to update a setting: ensures init, deduplicates, persists, notifies.
|
||||
Future<void> _updateSetting<T>({
|
||||
required T current,
|
||||
@@ -142,6 +146,12 @@ class SettingsProvider extends ChangeNotifier {
|
||||
persist: _settingsService!.setShowNavBarLabels,
|
||||
);
|
||||
|
||||
Future<void> setLiveTvDefaultFavorites(bool value) => _updateSetting(
|
||||
current: _liveTvDefaultFavorites, value: value,
|
||||
setLocal: (v) => _liveTvDefaultFavorites = v,
|
||||
persist: _settingsService!.setLiveTvDefaultFavorites,
|
||||
);
|
||||
|
||||
String get libraryDensityDisplayName {
|
||||
switch (_libraryDensity) {
|
||||
case LibraryDensity.compact:
|
||||
|
||||
@@ -114,20 +114,4 @@ class ThemeProvider extends ChangeNotifier {
|
||||
}
|
||||
}
|
||||
|
||||
void toggleTheme() {
|
||||
switch (_themeMode) {
|
||||
case settings.ThemeMode.system:
|
||||
setThemeMode(settings.ThemeMode.light);
|
||||
break;
|
||||
case settings.ThemeMode.light:
|
||||
setThemeMode(settings.ThemeMode.dark);
|
||||
break;
|
||||
case settings.ThemeMode.dark:
|
||||
setThemeMode(settings.ThemeMode.oled);
|
||||
break;
|
||||
case settings.ThemeMode.oled:
|
||||
setThemeMode(settings.ThemeMode.system);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -31,7 +31,7 @@ class _CollectionDetailScreenState extends BaseMediaListDetailScreen<CollectionD
|
||||
PlexMetadata get mediaItem => widget.collection;
|
||||
|
||||
@override
|
||||
String get title => widget.collection.title;
|
||||
String get title => widget.collection.title!;
|
||||
|
||||
@override
|
||||
String get emptyMessage => t.collections.empty;
|
||||
@@ -93,7 +93,7 @@ class _CollectionDetailScreenState extends BaseMediaListDetailScreen<CollectionD
|
||||
final confirmed = await showDeleteConfirmation(
|
||||
context,
|
||||
title: t.collections.deleteCollection,
|
||||
message: t.collections.deleteConfirm(title: widget.collection.title),
|
||||
message: t.collections.deleteConfirm(title: widget.collection.displayTitle),
|
||||
);
|
||||
|
||||
if (!confirmed) return;
|
||||
@@ -134,7 +134,7 @@ class _CollectionDetailScreenState extends BaseMediaListDetailScreen<CollectionD
|
||||
body: CustomScrollView(
|
||||
controller: scrollController,
|
||||
slivers: [
|
||||
CustomAppBar(title: Text(widget.collection.title), actions: buildFocusableAppBarActions()),
|
||||
CustomAppBar(title: Text(widget.collection.title!), actions: buildFocusableAppBarActions()),
|
||||
...buildStateSlivers(),
|
||||
if (items.isNotEmpty)
|
||||
buildFocusableGrid(
|
||||
|
||||
@@ -67,6 +67,7 @@ class _PairingScreenState extends State<PairingScreen> {
|
||||
}
|
||||
} catch (e) {
|
||||
appLogger.e('Failed to join remote session', error: e);
|
||||
if (!mounted) return;
|
||||
setState(() {
|
||||
_isConnecting = false;
|
||||
_errorMessage = _parseErrorMessage(e.toString());
|
||||
@@ -129,6 +130,7 @@ class _PairingScreenState extends State<PairingScreen> {
|
||||
}
|
||||
} catch (e) {
|
||||
appLogger.e('Failed to join remote session', error: e);
|
||||
if (!mounted) return;
|
||||
_lastScannedCode = null; // Allow re-scanning
|
||||
setState(() {
|
||||
_isConnecting = false;
|
||||
@@ -206,7 +208,7 @@ class _PairingScreenState extends State<PairingScreen> {
|
||||
_handleQrCode(barcode!.rawValue!);
|
||||
}
|
||||
},
|
||||
errorBuilder: (context, error, child) {
|
||||
errorBuilder: (context, error) {
|
||||
return Center(
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.all(24.0),
|
||||
|
||||
@@ -18,6 +18,7 @@ import '../utils/content_utils.dart';
|
||||
import '../models/plex_hub.dart';
|
||||
import '../providers/multi_server_provider.dart';
|
||||
import '../providers/hidden_libraries_provider.dart';
|
||||
import '../providers/libraries_provider.dart';
|
||||
import '../providers/playback_state_provider.dart';
|
||||
import 'profile/user_avatar_widget.dart';
|
||||
import '../widgets/hub_section.dart';
|
||||
@@ -56,7 +57,7 @@ class DiscoverScreen extends StatefulWidget {
|
||||
}
|
||||
|
||||
class _DiscoverScreenState extends State<DiscoverScreen>
|
||||
with Refreshable, FullRefreshable, ItemUpdatable, WatchStateAware, TabVisibilityAware, WidgetsBindingObserver {
|
||||
with Refreshable, FullRefreshable, ItemUpdatable, WatchStateAware, TabVisibilityAware, FocusableTab, WidgetsBindingObserver {
|
||||
static const Duration _heroAutoScrollDuration = Duration(seconds: 8);
|
||||
static const Duration _indicatorUpdateInterval = Duration(milliseconds: 200);
|
||||
|
||||
@@ -82,7 +83,9 @@ class _DiscoverScreenState extends State<DiscoverScreen>
|
||||
Timer? _indicatorTimer;
|
||||
final ValueNotifier<double> _indicatorProgress = ValueNotifier(0.0);
|
||||
bool _isAutoScrollPaused = false;
|
||||
bool _isTabVisible = true;
|
||||
HiddenLibrariesProvider? _hiddenLibrariesProvider;
|
||||
Set<String> _lastSeenHiddenKeys = {};
|
||||
|
||||
// WatchStateAware: watch on-deck items and their parent shows/seasons
|
||||
@override
|
||||
@@ -257,6 +260,11 @@ class _DiscoverScreenState extends State<DiscoverScreen>
|
||||
}
|
||||
|
||||
void _onHiddenLibrariesChanged() {
|
||||
final currentKeys = _hiddenLibrariesProvider?.hiddenLibraryKeys ?? {};
|
||||
if (currentKeys.length == _lastSeenHiddenKeys.length && currentKeys.containsAll(_lastSeenHiddenKeys)) {
|
||||
return; // No actual change
|
||||
}
|
||||
_lastSeenHiddenKeys = Set.of(currentKeys);
|
||||
_loadContent();
|
||||
}
|
||||
|
||||
@@ -302,8 +310,8 @@ class _DiscoverScreenState extends State<DiscoverScreen>
|
||||
@override
|
||||
void didChangeAppLifecycleState(AppLifecycleState state) {
|
||||
if (state == AppLifecycleState.resumed) {
|
||||
// Restart auto-scroll when app becomes active again
|
||||
if (!_isAutoScrollPaused) _startAutoScroll();
|
||||
// Restart auto-scroll only if discover tab is visible
|
||||
if (_isTabVisible && !_isAutoScrollPaused) _startAutoScroll();
|
||||
// Refresh continue watching on mobile only
|
||||
// (on desktop, "resumed" fires on every window focus gain)
|
||||
if (Platform.isIOS || Platform.isAndroid) {
|
||||
@@ -383,18 +391,22 @@ class _DiscoverScreenState extends State<DiscoverScreen>
|
||||
|
||||
@override
|
||||
void onTabHidden() {
|
||||
_isTabVisible = false;
|
||||
_autoScrollTimer?.cancel();
|
||||
_stopIndicatorProgress();
|
||||
}
|
||||
|
||||
@override
|
||||
void onTabShown({bool scrollToTop = true}) {
|
||||
void onTabShown() {
|
||||
_isTabVisible = true;
|
||||
if (!_isAutoScrollPaused) {
|
||||
_startAutoScroll();
|
||||
}
|
||||
if (scrollToTop) {
|
||||
_focusTopBoundary();
|
||||
}
|
||||
}
|
||||
|
||||
@override
|
||||
void focusActiveTabIfReady() {
|
||||
_focusTopBoundary();
|
||||
}
|
||||
|
||||
// Helper method to calculate visible dot range (max 5 dots)
|
||||
@@ -450,9 +462,17 @@ class _DiscoverScreenState extends State<DiscoverScreen>
|
||||
|
||||
// Get hidden libraries for filtering
|
||||
final hiddenLibrariesProvider = Provider.of<HiddenLibrariesProvider>(context, listen: false);
|
||||
_lastSeenHiddenKeys = Set.of(hiddenLibrariesProvider.hiddenLibraryKeys);
|
||||
|
||||
// Get settings for hub mode preference (ensure initialized before accessing)
|
||||
final settingsProvider = Provider.of<SettingsProvider>(context, listen: false);
|
||||
|
||||
// Reuse already-loaded libraries to avoid a redundant API call inside hub fetching
|
||||
final librariesProvider = context.read<LibrariesProvider>();
|
||||
final librariesByServer = librariesProvider.libraries.isNotEmpty
|
||||
? multiServerProvider.aggregationService.groupLibrariesByServer(librariesProvider.libraries)
|
||||
: null;
|
||||
|
||||
await settingsProvider.ensureInitialized();
|
||||
|
||||
// Start OnDeck and hubs fetch in parallel
|
||||
@@ -463,6 +483,7 @@ class _DiscoverScreenState extends State<DiscoverScreen>
|
||||
final hubsFuture = multiServerProvider.aggregationService.getHubsFromAllServers(
|
||||
hiddenLibraryKeys: hiddenLibrariesProvider.hiddenLibraryKeys,
|
||||
useGlobalHubs: settingsProvider.useGlobalHubs,
|
||||
librariesByServer: librariesByServer,
|
||||
);
|
||||
|
||||
// Wait for OnDeck to complete and show it immediately
|
||||
@@ -522,6 +543,25 @@ class _DiscoverScreenState extends State<DiscoverScreen>
|
||||
!title.contains('on deck');
|
||||
}).toList();
|
||||
|
||||
// Sort hubs by the user's library order
|
||||
final libraryOrder = context.read<LibrariesProvider>().libraries;
|
||||
if (libraryOrder.isNotEmpty) {
|
||||
final orderMap = <String, int>{};
|
||||
for (var i = 0; i < libraryOrder.length; i++) {
|
||||
orderMap[libraryOrder[i].globalKey] = i;
|
||||
}
|
||||
filteredHubs.sort((a, b) {
|
||||
final aKey = _hubLibraryGlobalKey(a);
|
||||
final bKey = _hubLibraryGlobalKey(b);
|
||||
final aIndex = aKey != null ? orderMap[aKey] : null;
|
||||
final bIndex = bKey != null ? orderMap[bKey] : null;
|
||||
if (aIndex == null && bIndex == null) return 0;
|
||||
if (aIndex == null) return 1;
|
||||
if (bIndex == null) return -1;
|
||||
return aIndex.compareTo(bIndex);
|
||||
});
|
||||
}
|
||||
|
||||
appLogger.d('Received ${onDeck.length} on deck items and ${filteredHubs.length} global hubs from all servers');
|
||||
if (!mounted) return;
|
||||
setState(() {
|
||||
@@ -541,6 +581,15 @@ class _DiscoverScreenState extends State<DiscoverScreen>
|
||||
}
|
||||
}
|
||||
|
||||
/// Resolve the library globalKey for a hub (for sorting by library order).
|
||||
String? _hubLibraryGlobalKey(PlexHub hub) {
|
||||
final serverId = hub.serverId;
|
||||
if (serverId == null) return null;
|
||||
final sectionId = hub.librarySectionID ?? hub.items.firstOrNull?.librarySectionID;
|
||||
if (sectionId == null) return null;
|
||||
return buildGlobalKey(serverId, sectionId.toString());
|
||||
}
|
||||
|
||||
/// Refresh only the Continue Watching section in the background
|
||||
/// This is called when returning to the home screen to avoid blocking UI
|
||||
Future<void> _refreshContinueWatching() async {
|
||||
@@ -1263,7 +1312,7 @@ class _DiscoverScreenState extends State<DiscoverScreen>
|
||||
|
||||
Widget _buildHeroItem(PlexMetadata heroItem, double heroHeight) {
|
||||
final isEpisode = heroItem.isEpisode;
|
||||
final showName = heroItem.grandparentTitle ?? heroItem.title;
|
||||
final showName = heroItem.grandparentTitle ?? heroItem.displayTitle;
|
||||
final screenWidth = MediaQuery.of(context).size.width;
|
||||
final isLargeScreen = ScreenBreakpoints.isWideTabletOrLarger(screenWidth);
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@ class DownloadsScreen extends StatefulWidget {
|
||||
State<DownloadsScreen> createState() => DownloadsScreenState();
|
||||
}
|
||||
|
||||
class DownloadsScreenState extends State<DownloadsScreen> with SingleTickerProviderStateMixin, TabNavigationMixin {
|
||||
class DownloadsScreenState extends State<DownloadsScreen> with TickerProviderStateMixin, TabNavigationMixin {
|
||||
// Focus nodes for tab chips
|
||||
final _queueTabChipFocusNode = FocusNode(debugLabel: 'tab_chip_queue');
|
||||
final _tvShowsTabChipFocusNode = FocusNode(debugLabel: 'tab_chip_tv_shows');
|
||||
@@ -136,6 +136,7 @@ class DownloadsScreenState extends State<DownloadsScreen> with SingleTickerProvi
|
||||
Widget build(BuildContext context) {
|
||||
return Scaffold(
|
||||
body: CustomScrollView(
|
||||
primary: false,
|
||||
slivers: [
|
||||
DesktopSliverAppBar(
|
||||
title: _buildAppBarTitle(),
|
||||
|
||||
@@ -180,7 +180,7 @@ class _HubDetailScreenState extends State<HubDetailScreen>
|
||||
switch (sortKey) {
|
||||
case 'titleSort':
|
||||
case 'title':
|
||||
comparison = a.title.compareTo(b.title);
|
||||
comparison = (a.title ?? '').compareTo(b.title ?? '');
|
||||
break;
|
||||
case 'addedAt':
|
||||
comparison = (a.addedAt ?? 0).compareTo(b.addedAt ?? 0);
|
||||
@@ -193,7 +193,7 @@ class _HubDetailScreenState extends State<HubDetailScreen>
|
||||
comparison = (a.rating ?? 0).compareTo(b.rating ?? 0);
|
||||
break;
|
||||
default:
|
||||
comparison = a.title.compareTo(b.title);
|
||||
comparison = (a.title ?? '').compareTo(b.title ?? '');
|
||||
}
|
||||
|
||||
return _isSortDescending ? -comparison : comparison;
|
||||
|
||||
@@ -2,6 +2,7 @@ import 'package:flutter/material.dart';
|
||||
import 'package:plezy/widgets/app_icon.dart';
|
||||
import 'package:material_symbols_icons/symbols.dart';
|
||||
import '../../models/plex_filter.dart';
|
||||
import '../../utils/scroll_utils.dart';
|
||||
import '../../widgets/app_bar_back_button.dart';
|
||||
import '../../widgets/bottom_sheet_header.dart';
|
||||
import '../../widgets/focusable_list_tile.dart';
|
||||
@@ -38,6 +39,8 @@ class _FiltersBottomSheetState extends State<FiltersBottomSheet> {
|
||||
static const int _maxCachedDisplayNames = 1000;
|
||||
late List<PlexFilter> _sortedFilters;
|
||||
late final FocusNode _initialFocusNode;
|
||||
final _valuesFirstItemKey = GlobalKey();
|
||||
final _valuesScrollController = ScrollController();
|
||||
|
||||
String _cacheKey(String filter, String value) => '${widget.serverId}:${widget.libraryKey}:$filter:$value';
|
||||
|
||||
@@ -51,6 +54,7 @@ class _FiltersBottomSheetState extends State<FiltersBottomSheet> {
|
||||
|
||||
@override
|
||||
void dispose() {
|
||||
_valuesScrollController.dispose();
|
||||
_initialFocusNode.dispose();
|
||||
super.dispose();
|
||||
}
|
||||
@@ -83,6 +87,15 @@ class _FiltersBottomSheetState extends State<FiltersBottomSheet> {
|
||||
_filterValues = values;
|
||||
_isLoadingValues = false;
|
||||
});
|
||||
// Scroll to selected value if any
|
||||
final selectedValue = _tempSelectedFilters[filter.filter];
|
||||
if (selectedValue != null) {
|
||||
// +1 because index 0 is the "All" row
|
||||
final idx = values.indexWhere((v) => _extractFilterValue(v.key, filter.filter) == selectedValue) + 1;
|
||||
if (idx > 0) {
|
||||
scrollToCurrentItem(_valuesScrollController, _valuesFirstItemKey, idx);
|
||||
}
|
||||
}
|
||||
} catch (e) {
|
||||
if (!mounted) return;
|
||||
setState(() {
|
||||
@@ -134,12 +147,14 @@ class _FiltersBottomSheetState extends State<FiltersBottomSheet> {
|
||||
else
|
||||
Expanded(
|
||||
child: ListView.builder(
|
||||
controller: _valuesScrollController,
|
||||
padding: const EdgeInsets.symmetric(vertical: 8),
|
||||
itemCount: _filterValues.length + 1,
|
||||
itemBuilder: (context, index) {
|
||||
if (index == 0) {
|
||||
final isSelected = !_tempSelectedFilters.containsKey(_currentFilter!.filter);
|
||||
return FocusableListTile(
|
||||
key: _valuesFirstItemKey,
|
||||
focusNode: _initialFocusNode,
|
||||
title: Text(t.libraries.all),
|
||||
selected: isSelected,
|
||||
|
||||
@@ -42,21 +42,14 @@ class FolderTreeItem extends StatelessWidget {
|
||||
}
|
||||
|
||||
// File icons based on type
|
||||
final type = item.type.toLowerCase();
|
||||
switch (type) {
|
||||
case 'movie':
|
||||
return Symbols.movie_rounded;
|
||||
case 'show':
|
||||
return Symbols.tv_rounded;
|
||||
case 'season':
|
||||
return Symbols.video_library_rounded;
|
||||
case 'episode':
|
||||
return Symbols.play_circle_rounded;
|
||||
case 'collection':
|
||||
return Symbols.collections_rounded;
|
||||
default:
|
||||
return Symbols.insert_drive_file_rounded;
|
||||
}
|
||||
return switch (item.mediaType) {
|
||||
PlexMediaType.movie => Symbols.movie_rounded,
|
||||
PlexMediaType.show => Symbols.tv_rounded,
|
||||
PlexMediaType.season => Symbols.video_library_rounded,
|
||||
PlexMediaType.episode => Symbols.play_circle_rounded,
|
||||
PlexMediaType.collection => Symbols.collections_rounded,
|
||||
_ => Symbols.insert_drive_file_rounded,
|
||||
};
|
||||
}
|
||||
|
||||
void _handleTap() {
|
||||
@@ -104,7 +97,7 @@ class FolderTreeItem extends StatelessWidget {
|
||||
// Item title
|
||||
Expanded(
|
||||
child: Text(
|
||||
item.title,
|
||||
item.displayTitle,
|
||||
style: TextStyle(fontSize: 14, fontWeight: isFolder ? FontWeight.w500 : FontWeight.w400),
|
||||
maxLines: 1,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
|
||||
@@ -87,32 +87,32 @@ class _FolderTreeViewState extends State<FolderTreeView> {
|
||||
|
||||
Future<void> _loadFolderChildren(PlexMetadata folder) async {
|
||||
// Already loading this folder
|
||||
if (_loadingFolders.contains(folder.key)) return;
|
||||
if (_loadingFolders.contains(folder.key!)) return;
|
||||
|
||||
// Already loaded and cached
|
||||
if (_childrenCache.containsKey(folder.key)) {
|
||||
if (_childrenCache.containsKey(folder.key!)) {
|
||||
setState(() {
|
||||
_expandedFolders.add(folder.key);
|
||||
_expandedFolders.add(folder.key!);
|
||||
});
|
||||
return;
|
||||
}
|
||||
|
||||
setState(() {
|
||||
_loadingFolders.add(folder.key);
|
||||
_loadingFolders.add(folder.key!);
|
||||
});
|
||||
|
||||
try {
|
||||
final client = context.getClientForServer(widget.serverId!);
|
||||
|
||||
// Items are automatically tagged with server info by PlexClient
|
||||
final children = await client.getFolderChildren(folder.key);
|
||||
final children = await client.getFolderChildren(folder.key!);
|
||||
|
||||
if (!mounted) return;
|
||||
|
||||
setState(() {
|
||||
_childrenCache[folder.key] = children;
|
||||
_expandedFolders.add(folder.key);
|
||||
_loadingFolders.remove(folder.key);
|
||||
_childrenCache[folder.key!] = children;
|
||||
_expandedFolders.add(folder.key!);
|
||||
_loadingFolders.remove(folder.key!);
|
||||
});
|
||||
|
||||
appLogger.d('Loaded ${children.length} children for folder: ${folder.title}');
|
||||
@@ -121,7 +121,7 @@ class _FolderTreeViewState extends State<FolderTreeView> {
|
||||
|
||||
appLogger.e('Failed to load folder children', error: e);
|
||||
setState(() {
|
||||
_loadingFolders.remove(folder.key);
|
||||
_loadingFolders.remove(folder.key!);
|
||||
});
|
||||
|
||||
if (mounted) {
|
||||
@@ -131,9 +131,9 @@ class _FolderTreeViewState extends State<FolderTreeView> {
|
||||
}
|
||||
|
||||
void _toggleFolder(PlexMetadata folder) {
|
||||
if (_expandedFolders.contains(folder.key)) {
|
||||
if (_expandedFolders.contains(folder.key!)) {
|
||||
setState(() {
|
||||
_expandedFolders.remove(folder.key);
|
||||
_expandedFolders.remove(folder.key!);
|
||||
});
|
||||
} else {
|
||||
_loadFolderChildren(folder);
|
||||
@@ -147,19 +147,19 @@ class _FolderTreeViewState extends State<FolderTreeView> {
|
||||
Future<void> _handleFolderPlay(PlexMetadata folder) async {
|
||||
final client = context.getClientForServer(widget.serverId!);
|
||||
final launcher = PlayQueueLauncher(context: context, client: client, serverId: widget.serverId);
|
||||
await launcher.launchFromFolder(folderKey: folder.key, shuffle: false);
|
||||
await launcher.launchFromFolder(folderKey: folder.key!, shuffle: false);
|
||||
}
|
||||
|
||||
Future<void> _handleFolderShuffle(PlexMetadata folder) async {
|
||||
final client = context.getClientForServer(widget.serverId!);
|
||||
final launcher = PlayQueueLauncher(context: context, client: client, serverId: widget.serverId);
|
||||
await launcher.launchFromFolder(folderKey: folder.key, shuffle: true);
|
||||
await launcher.launchFromFolder(folderKey: folder.key!, shuffle: true);
|
||||
}
|
||||
|
||||
bool _isFolder(PlexMetadata item) {
|
||||
// Folders typically don't have a specific type or might have special indicators
|
||||
// Check for common folder indicators
|
||||
return item.key.contains('/folder') || item.type.isEmpty || item.type.toLowerCase() == 'folder';
|
||||
return item.key?.contains('/folder') == true || item.type == null || item.type!.isEmpty || item.mediaType == PlexMediaType.unknown;
|
||||
}
|
||||
|
||||
List<Widget> _buildTreeItems(List<PlexMetadata> items, int depth, [String parentPath = '']) {
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
import 'package:flutter/foundation.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:plezy/widgets/app_icon.dart';
|
||||
import 'package:material_symbols_icons/symbols.dart';
|
||||
import 'package:flutter/services.dart';
|
||||
import 'package:provider/provider.dart';
|
||||
import 'package:dio/dio.dart';
|
||||
import '../../focus/focus_theme.dart';
|
||||
import '../../focus/focusable_action_bar.dart';
|
||||
import '../../focus/focusable_button.dart';
|
||||
@@ -14,7 +14,6 @@ import '../../mixins/tab_navigation_mixin.dart';
|
||||
import '../../../services/plex_client.dart';
|
||||
import '../../models/plex_library.dart';
|
||||
import '../../models/plex_metadata.dart';
|
||||
import '../../models/plex_sort.dart';
|
||||
import '../../providers/hidden_libraries_provider.dart';
|
||||
import '../../providers/libraries_provider.dart';
|
||||
import '../../providers/multi_server_provider.dart';
|
||||
@@ -24,19 +23,24 @@ import '../../utils/provider_extensions.dart';
|
||||
import '../../utils/snackbar_helper.dart';
|
||||
import '../../utils/content_utils.dart';
|
||||
import '../../widgets/desktop_app_bar.dart';
|
||||
import '../../widgets/focusable_tab_chip.dart';
|
||||
import '../../widgets/overlay_sheet.dart';
|
||||
import '../../services/storage_service.dart';
|
||||
import '../../mixins/refreshable.dart';
|
||||
import '../../mixins/item_updatable.dart';
|
||||
import '../../i18n/strings.g.dart';
|
||||
import '../../utils/error_message_utils.dart';
|
||||
import 'state_messages.dart';
|
||||
import 'tabs/library_browse_tab.dart';
|
||||
import 'tabs/library_recommended_tab.dart';
|
||||
import 'tabs/library_collections_tab.dart';
|
||||
import 'tabs/library_playlists_tab.dart';
|
||||
|
||||
enum LibraryTabType { recommended, browse, collections, playlists }
|
||||
|
||||
List<LibraryTabType> _getVisibleTabs(PlexLibrary library) {
|
||||
if (library.isShared) return [LibraryTabType.browse, LibraryTabType.playlists];
|
||||
return LibraryTabType.values;
|
||||
}
|
||||
|
||||
/// A menu action item for context menus
|
||||
class ContextMenuItem {
|
||||
final String value;
|
||||
@@ -74,7 +78,7 @@ class _LibrariesScreenState extends State<LibrariesScreen>
|
||||
FocusableTab,
|
||||
LibraryLoadable,
|
||||
ItemUpdatable,
|
||||
SingleTickerProviderStateMixin,
|
||||
TickerProviderStateMixin,
|
||||
TabNavigationMixin {
|
||||
@override
|
||||
PlexClient get client {
|
||||
@@ -96,15 +100,6 @@ class _LibrariesScreenState extends State<LibrariesScreen>
|
||||
String? _selectedLibraryGlobalKey;
|
||||
bool _isInitialLoad = true;
|
||||
|
||||
Map<String, String> _selectedFilters = {};
|
||||
PlexSort? _selectedSort;
|
||||
bool _isSortDescending = false;
|
||||
List<PlexMetadata> _items = [];
|
||||
int _currentPage = 0;
|
||||
bool _hasMoreItems = true;
|
||||
CancelToken? _cancelToken;
|
||||
int _requestId = 0;
|
||||
static const int _pageSize = 1000;
|
||||
|
||||
/// Flag to prevent onTabChanged from focusing when we're programmatically changing tabs
|
||||
bool _isRestoringTab = false;
|
||||
@@ -115,19 +110,15 @@ class _LibrariesScreenState extends State<LibrariesScreen>
|
||||
/// Key for the library dropdown popup menu button
|
||||
final _libraryDropdownKey = GlobalKey<PopupMenuButtonState<String>>();
|
||||
|
||||
// Focus nodes for tab chips
|
||||
final _recommendedTabChipFocusNode = FocusNode(debugLabel: 'tab_chip_recommended');
|
||||
final _browseTabChipFocusNode = FocusNode(debugLabel: 'tab_chip_browse');
|
||||
final _collectionsTabChipFocusNode = FocusNode(debugLabel: 'tab_chip_collections');
|
||||
final _playlistsTabChipFocusNode = FocusNode(debugLabel: 'tab_chip_playlists');
|
||||
// Dynamic visible tabs and their focus nodes
|
||||
List<LibraryTabType> _visibleTabs = LibraryTabType.values;
|
||||
List<FocusNode> _tabFocusNodes = List.generate(
|
||||
LibraryTabType.values.length,
|
||||
(i) => FocusNode(debugLabel: 'tab_chip_${LibraryTabType.values[i].name}'),
|
||||
);
|
||||
|
||||
@override
|
||||
List<FocusNode> get tabChipFocusNodes => [
|
||||
_recommendedTabChipFocusNode,
|
||||
_browseTabChipFocusNode,
|
||||
_collectionsTabChipFocusNode,
|
||||
_playlistsTabChipFocusNode,
|
||||
];
|
||||
List<FocusNode> get tabChipFocusNodes => _tabFocusNodes;
|
||||
|
||||
// App bar action bar
|
||||
final _actionBarKey = GlobalKey<FocusableActionBarState>();
|
||||
@@ -182,22 +173,18 @@ class _LibrariesScreenState extends State<LibrariesScreen>
|
||||
}
|
||||
|
||||
if (libraryGlobalKeyToLoad != null && mounted) {
|
||||
final savedFilters = storage.getLibraryFilters(sectionId: libraryGlobalKeyToLoad);
|
||||
if (savedFilters.isNotEmpty) {
|
||||
_selectedFilters = Map.from(savedFilters);
|
||||
}
|
||||
_loadLibraryContent(libraryGlobalKeyToLoad);
|
||||
}
|
||||
}
|
||||
|
||||
@override
|
||||
void onTabChanged() {
|
||||
// Save tab index when changed (but not when restoring from storage)
|
||||
// Save tab name when changed (but not when restoring from storage)
|
||||
if (_selectedLibraryGlobalKey != null && !tabController.indexIsChanging) {
|
||||
// Only save if this was a user-initiated tab change, not a restore
|
||||
if (!_isRestoringTab) {
|
||||
StorageService.getInstance().then((storage) {
|
||||
storage.saveLibraryTab(_selectedLibraryGlobalKey!, tabController.index);
|
||||
storage.saveLibraryTab(_selectedLibraryGlobalKey!, _visibleTabs[tabController.index].name);
|
||||
});
|
||||
|
||||
// Focus first item in the current tab (only for user-initiated changes)
|
||||
@@ -219,6 +206,9 @@ class _LibrariesScreenState extends State<LibrariesScreen>
|
||||
if (tabController.indexIsChanging) {
|
||||
return;
|
||||
}
|
||||
// On mobile (touch mode), skip auto-focus to prevent ensureVisible()
|
||||
// from interfering with TabBarView page animations
|
||||
if (!InputModeTracker.isKeyboardMode(context)) return;
|
||||
|
||||
// Re-enable auto-focus since user is navigating into tab content
|
||||
// Only call setState if the value actually changes to avoid unnecessary rebuilds
|
||||
@@ -277,7 +267,7 @@ class _LibrariesScreenState extends State<LibrariesScreen>
|
||||
final tabState = _getTabState(tabController.index);
|
||||
if (tabState != null) {
|
||||
// Browse tab has a chips bar - focus that first so DOWN navigates to grid
|
||||
if (tabController.index == 1) {
|
||||
if (_visibleTabs[tabController.index] == LibraryTabType.browse) {
|
||||
(tabState as dynamic).focusChipsBar();
|
||||
} else {
|
||||
(tabState as dynamic).focusFirstItem();
|
||||
@@ -288,18 +278,13 @@ class _LibrariesScreenState extends State<LibrariesScreen>
|
||||
|
||||
/// Get the state for a tab by index
|
||||
State? _getTabState(int index) {
|
||||
switch (index) {
|
||||
case 0:
|
||||
return _recommendedTabKey.currentState;
|
||||
case 1:
|
||||
return _browseTabKey.currentState;
|
||||
case 2:
|
||||
return _collectionsTabKey.currentState;
|
||||
case 3:
|
||||
return _playlistsTabKey.currentState;
|
||||
default:
|
||||
return null;
|
||||
}
|
||||
if (index < 0 || index >= _visibleTabs.length) return null;
|
||||
return switch (_visibleTabs[index]) {
|
||||
LibraryTabType.recommended => _recommendedTabKey.currentState,
|
||||
LibraryTabType.browse => _browseTabKey.currentState,
|
||||
LibraryTabType.collections => _collectionsTabKey.currentState,
|
||||
LibraryTabType.playlists => _playlistsTabKey.currentState,
|
||||
};
|
||||
}
|
||||
|
||||
/// Handle when a tab's data has finished loading
|
||||
@@ -334,12 +319,10 @@ class _LibrariesScreenState extends State<LibrariesScreen>
|
||||
|
||||
@override
|
||||
void dispose() {
|
||||
_cancelToken?.cancel();
|
||||
_outerScrollController.dispose();
|
||||
_recommendedTabChipFocusNode.dispose();
|
||||
_browseTabChipFocusNode.dispose();
|
||||
_collectionsTabChipFocusNode.dispose();
|
||||
_playlistsTabChipFocusNode.dispose();
|
||||
for (final node in _tabFocusNodes) {
|
||||
node.dispose();
|
||||
}
|
||||
disposeTabNavigation();
|
||||
super.dispose();
|
||||
}
|
||||
@@ -349,13 +332,78 @@ class _LibrariesScreenState extends State<LibrariesScreen>
|
||||
setState(fn);
|
||||
}
|
||||
|
||||
/// Helper method to get user-friendly error message from exception
|
||||
String _getErrorMessage(dynamic error, String context) {
|
||||
if (error is DioException) {
|
||||
return mapDioErrorToMessage(error, context: context);
|
||||
}
|
||||
/// Rebuild tab infrastructure when the visible tab set changes.
|
||||
void _updateVisibleTabs(List<LibraryTabType> newTabs) {
|
||||
if (listEquals(_visibleTabs, newTabs)) return;
|
||||
|
||||
return mapUnexpectedErrorToMessage(error, context: context);
|
||||
// Save current tab type before changing
|
||||
final currentTabType = _visibleTabs.length > tabController.index
|
||||
? _visibleTabs[tabController.index]
|
||||
: null;
|
||||
|
||||
// Dispose old focus nodes and controller
|
||||
for (final node in _tabFocusNodes) {
|
||||
node.dispose();
|
||||
}
|
||||
disposeTabNavigation();
|
||||
|
||||
// Build new
|
||||
_visibleTabs = newTabs;
|
||||
_tabFocusNodes = List.generate(
|
||||
newTabs.length,
|
||||
(i) => FocusNode(debugLabel: 'tab_chip_${newTabs[i].name}'),
|
||||
);
|
||||
initTabNavigation();
|
||||
|
||||
// Restore tab position: find current tab type in new set, default to first
|
||||
final newIndex = currentTabType != null ? newTabs.indexOf(currentTabType) : -1;
|
||||
if (newIndex > 0) {
|
||||
tabController.index = newIndex;
|
||||
}
|
||||
}
|
||||
|
||||
String _getTabLabel(LibraryTabType type) => switch (type) {
|
||||
LibraryTabType.recommended => t.libraries.tabs.recommended,
|
||||
LibraryTabType.browse => t.libraries.tabs.browse,
|
||||
LibraryTabType.collections => t.libraries.tabs.collections,
|
||||
LibraryTabType.playlists => t.libraries.tabs.playlists,
|
||||
};
|
||||
|
||||
Widget _buildTabContent(LibraryTabType type, {required PlexLibrary library, required bool isActive, required int tabIndex}) {
|
||||
return switch (type) {
|
||||
LibraryTabType.recommended => LibraryRecommendedTab(
|
||||
key: _recommendedTabKey,
|
||||
library: library,
|
||||
isActive: isActive,
|
||||
suppressAutoFocus: suppressAutoFocus,
|
||||
onDataLoaded: () => _handleTabDataLoaded(tabIndex),
|
||||
onBack: focusTabBar,
|
||||
),
|
||||
LibraryTabType.browse => LibraryBrowseTab(
|
||||
key: _browseTabKey,
|
||||
library: library,
|
||||
isActive: isActive,
|
||||
suppressAutoFocus: suppressAutoFocus,
|
||||
onDataLoaded: () => _handleTabDataLoaded(tabIndex),
|
||||
onBack: focusTabBar,
|
||||
),
|
||||
LibraryTabType.collections => LibraryCollectionsTab(
|
||||
key: _collectionsTabKey,
|
||||
library: library,
|
||||
isActive: isActive,
|
||||
suppressAutoFocus: suppressAutoFocus,
|
||||
onDataLoaded: () => _handleTabDataLoaded(tabIndex),
|
||||
onBack: focusTabBar,
|
||||
),
|
||||
LibraryTabType.playlists => LibraryPlaylistsTab(
|
||||
key: _playlistsTabKey,
|
||||
library: library,
|
||||
isActive: isActive,
|
||||
suppressAutoFocus: suppressAutoFocus,
|
||||
onDataLoaded: () => _handleTabDataLoaded(tabIndex),
|
||||
onBack: focusTabBar,
|
||||
),
|
||||
};
|
||||
}
|
||||
|
||||
/// Check if libraries come from multiple servers
|
||||
@@ -389,22 +437,16 @@ class _LibrariesScreenState extends State<LibrariesScreen>
|
||||
final libraryIndex = visibleLibraries.indexWhere((lib) => lib.globalKey == libraryGlobalKey);
|
||||
if (libraryIndex == -1) return; // Library not found or hidden
|
||||
|
||||
final library = visibleLibraries[libraryIndex];
|
||||
|
||||
final isChangingLibrary = !_isInitialLoad && _selectedLibraryGlobalKey != libraryGlobalKey;
|
||||
|
||||
// Get the correct client for this library's server
|
||||
final client = context.getClientForLibrary(library);
|
||||
// Update visible tabs and state in the same synchronous block so no
|
||||
// intermediate rebuild can see a mismatched controller/key pair.
|
||||
final selectedLibrary = visibleLibraries[libraryIndex];
|
||||
_updateVisibleTabs(_getVisibleTabs(selectedLibrary));
|
||||
|
||||
_updateState(() {
|
||||
_selectedLibraryGlobalKey = libraryGlobalKey;
|
||||
_errorMessage = null;
|
||||
// Clear loaded tabs tracking for new library
|
||||
_loadedTabs.clear();
|
||||
// Only clear filters when explicitly changing library (not on initial load)
|
||||
if (isChangingLibrary) {
|
||||
_selectedFilters.clear();
|
||||
}
|
||||
});
|
||||
|
||||
// Mark that initial load is complete
|
||||
@@ -412,17 +454,20 @@ class _LibrariesScreenState extends State<LibrariesScreen>
|
||||
_isInitialLoad = false;
|
||||
}
|
||||
|
||||
// Save selected library key and restore saved tab
|
||||
// Save selected library key and restore saved tab (async — safe after state is consistent)
|
||||
final storage = await StorageService.getInstance();
|
||||
if (!mounted) return;
|
||||
await storage.saveSelectedLibraryKey(libraryGlobalKey);
|
||||
|
||||
// Restore saved tab index for this library
|
||||
final savedTabIndex = storage.getLibraryTab(libraryGlobalKey);
|
||||
if (savedTabIndex != null && savedTabIndex >= 0 && savedTabIndex < 4) {
|
||||
// Restore saved tab by name
|
||||
final savedTabName = storage.getLibraryTab(libraryGlobalKey);
|
||||
final savedType = LibraryTabType.values.where((t) => t.name == savedTabName).firstOrNull;
|
||||
final targetTabIndex = savedType != null ? _visibleTabs.indexOf(savedType) : -1;
|
||||
if (targetTabIndex > 0) {
|
||||
// Set flag to prevent _onTabChanged from triggering focus
|
||||
_isRestoringTab = true;
|
||||
// Use animateTo with zero duration for instant switch without animation race conditions
|
||||
tabController.animateTo(savedTabIndex, duration: Duration.zero);
|
||||
tabController.animateTo(targetTabIndex, duration: Duration.zero);
|
||||
// Clear flag synchronously - animateTo with zero duration completes immediately
|
||||
_isRestoringTab = false;
|
||||
}
|
||||
@@ -436,137 +481,11 @@ class _LibrariesScreenState extends State<LibrariesScreen>
|
||||
}
|
||||
});
|
||||
|
||||
// Cancel any existing requests
|
||||
_cancelToken?.cancel();
|
||||
_cancelToken = CancelToken();
|
||||
final currentRequestId = ++_requestId;
|
||||
|
||||
// Reset pagination state
|
||||
_updateState(() {
|
||||
_currentPage = 0;
|
||||
_hasMoreItems = true;
|
||||
_items = [];
|
||||
});
|
||||
|
||||
try {
|
||||
// Load sort options for the new library
|
||||
await _loadSortOptions(library);
|
||||
|
||||
final filtersWithSort = _buildFiltersWithSort();
|
||||
|
||||
// Load pages sequentially
|
||||
await _loadAllPagesSequentially(library, filtersWithSort, currentRequestId, client);
|
||||
} catch (e) {
|
||||
// Ignore cancellation errors
|
||||
if (e is DioException && e.type == DioExceptionType.cancel) {
|
||||
return;
|
||||
}
|
||||
|
||||
_updateState(() {
|
||||
_errorMessage = _getErrorMessage(e, 'library content');
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
/// Load all pages sequentially until all items are fetched
|
||||
Future<void> _loadAllPagesSequentially(
|
||||
PlexLibrary library,
|
||||
Map<String, String> filtersWithSort,
|
||||
int requestId,
|
||||
PlexClient client,
|
||||
) async {
|
||||
while (_hasMoreItems && requestId == _requestId) {
|
||||
try {
|
||||
final result = await client.getLibraryContent(
|
||||
library.key,
|
||||
start: _currentPage * _pageSize,
|
||||
size: _pageSize,
|
||||
filters: filtersWithSort,
|
||||
cancelToken: _cancelToken,
|
||||
);
|
||||
|
||||
// Tag items with server info for multi-server support
|
||||
final taggedItems = result.items
|
||||
.map((item) => item.copyWith(serverId: library.serverId, serverName: library.serverName))
|
||||
.toList();
|
||||
|
||||
// Check if request is still valid
|
||||
if (requestId != _requestId) {
|
||||
return; // Request was superseded
|
||||
}
|
||||
|
||||
_updateState(() {
|
||||
_items.addAll(taggedItems);
|
||||
_currentPage++;
|
||||
_hasMoreItems = taggedItems.length >= _pageSize;
|
||||
});
|
||||
} catch (e) {
|
||||
// Check if it's a cancellation
|
||||
if (e is DioException && e.type == DioExceptionType.cancel) {
|
||||
return;
|
||||
}
|
||||
|
||||
// For other errors, update state and rethrow
|
||||
_updateState(() {
|
||||
_hasMoreItems = false;
|
||||
});
|
||||
rethrow;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Future<void> _loadSortOptions(PlexLibrary library) async {
|
||||
try {
|
||||
final client = context.getClientForLibrary(library);
|
||||
|
||||
final sortOptions = await client.getLibrarySorts(library.key);
|
||||
|
||||
// Load saved sort preference for this library
|
||||
final storage = await StorageService.getInstance();
|
||||
final savedSortData = storage.getLibrarySort(library.globalKey);
|
||||
|
||||
// Find the saved sort in the options
|
||||
PlexSort? savedSort;
|
||||
bool descending = false;
|
||||
|
||||
if (savedSortData != null) {
|
||||
final sortKey = savedSortData['key'] as String?;
|
||||
if (sortKey != null) {
|
||||
savedSort = sortOptions.firstWhere((s) => s.key == sortKey, orElse: () => sortOptions.first);
|
||||
descending = (savedSortData['descending'] as bool?) ?? false;
|
||||
} else {
|
||||
savedSort = sortOptions.first;
|
||||
}
|
||||
} else {
|
||||
savedSort = sortOptions.first;
|
||||
}
|
||||
|
||||
_updateState(() {
|
||||
_selectedSort = savedSort;
|
||||
_isSortDescending = descending;
|
||||
});
|
||||
} catch (e) {
|
||||
_updateState(() {
|
||||
_selectedSort = null;
|
||||
_isSortDescending = false;
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Map<String, String> _buildFiltersWithSort() {
|
||||
final filtersWithSort = Map<String, String>.from(_selectedFilters);
|
||||
if (_selectedSort != null) {
|
||||
filtersWithSort['sort'] = _selectedSort!.getSortKey(descending: _isSortDescending);
|
||||
}
|
||||
return filtersWithSort;
|
||||
}
|
||||
|
||||
@override
|
||||
void updateItemInLists(String ratingKey, PlexMetadata updatedMetadata) {
|
||||
final index = _items.indexWhere((item) => item.ratingKey == ratingKey);
|
||||
if (index != -1) {
|
||||
_items[index] = updatedMetadata;
|
||||
}
|
||||
// Delegate to the active tab — parent doesn't maintain its own item list
|
||||
}
|
||||
|
||||
// Public method to refresh content (for normal navigation)
|
||||
@@ -578,14 +497,14 @@ class _LibrariesScreenState extends State<LibrariesScreen>
|
||||
|
||||
// Refresh the currently active tab
|
||||
void _refreshCurrentTab() {
|
||||
final key = switch (tabController.index) {
|
||||
0 => _recommendedTabKey,
|
||||
1 => _browseTabKey,
|
||||
2 => _collectionsTabKey,
|
||||
3 => _playlistsTabKey,
|
||||
_ => null,
|
||||
if (tabController.index < 0 || tabController.index >= _visibleTabs.length) return;
|
||||
final key = switch (_visibleTabs[tabController.index]) {
|
||||
LibraryTabType.recommended => _recommendedTabKey,
|
||||
LibraryTabType.browse => _browseTabKey,
|
||||
LibraryTabType.collections => _collectionsTabKey,
|
||||
LibraryTabType.playlists => _playlistsTabKey,
|
||||
};
|
||||
(key?.currentState as dynamic)?.refresh();
|
||||
(key.currentState as dynamic)?.refresh();
|
||||
}
|
||||
|
||||
// Public method to fully reload all content (for profile switches)
|
||||
@@ -594,8 +513,6 @@ class _LibrariesScreenState extends State<LibrariesScreen>
|
||||
appLogger.d('LibrariesScreen.fullRefresh() called - reloading all content');
|
||||
setState(() {
|
||||
_selectedLibraryGlobalKey = null;
|
||||
_selectedFilters.clear();
|
||||
_items.clear();
|
||||
_errorMessage = null;
|
||||
});
|
||||
|
||||
@@ -850,51 +767,6 @@ class _LibrariesScreenState extends State<LibrariesScreen>
|
||||
}).toList();
|
||||
}
|
||||
|
||||
Widget _buildTabChip(String label, int index) {
|
||||
final isSelected = tabController.index == index;
|
||||
|
||||
return FocusableTabChip(
|
||||
label: label,
|
||||
isSelected: isSelected,
|
||||
focusNode: getTabChipFocusNode(index),
|
||||
onSelect: () {
|
||||
if (isSelected) {
|
||||
// Already selected - navigate to tab content
|
||||
_focusCurrentTab();
|
||||
} else {
|
||||
// Switch to this tab
|
||||
setState(() {
|
||||
tabController.index = index;
|
||||
});
|
||||
}
|
||||
},
|
||||
onNavigateLeft: index > 0
|
||||
? () {
|
||||
final newIndex = index - 1;
|
||||
setState(() {
|
||||
suppressAutoFocus = true;
|
||||
tabController.index = newIndex;
|
||||
});
|
||||
getTabChipFocusNode(newIndex).requestFocus();
|
||||
}
|
||||
: onTabBarBack,
|
||||
onNavigateRight: index < tabCount - 1
|
||||
? () {
|
||||
final newIndex = index + 1;
|
||||
setState(() {
|
||||
suppressAutoFocus = true;
|
||||
tabController.index = newIndex;
|
||||
});
|
||||
getTabChipFocusNode(newIndex).requestFocus();
|
||||
}
|
||||
: () {
|
||||
_actionBarKey.currentState?.getFocusNode(0).requestFocus();
|
||||
},
|
||||
onNavigateDown: _focusCurrentTabFromTabBar,
|
||||
onBack: onTabBarBack,
|
||||
);
|
||||
}
|
||||
|
||||
/// Build the app bar title - either dropdown on mobile or simple title on desktop
|
||||
Widget _buildAppBarTitle(List<PlexLibrary> visibleLibraries) {
|
||||
// No libraries or no selection
|
||||
@@ -907,13 +779,16 @@ class _LibrariesScreenState extends State<LibrariesScreen>
|
||||
return Row(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
children: [
|
||||
_buildTabChip(t.libraries.tabs.recommended, 0),
|
||||
const SizedBox(width: 8),
|
||||
_buildTabChip(t.libraries.tabs.browse, 1),
|
||||
const SizedBox(width: 8),
|
||||
_buildTabChip(t.libraries.tabs.collections, 2),
|
||||
const SizedBox(width: 8),
|
||||
_buildTabChip(t.libraries.tabs.playlists, 3),
|
||||
for (int i = 0; i < _visibleTabs.length; i++) ...[
|
||||
if (i > 0) const SizedBox(width: 8),
|
||||
buildTabChip(
|
||||
_getTabLabel(_visibleTabs[i]),
|
||||
i,
|
||||
onSelectWhenActive: _focusCurrentTab,
|
||||
onNavigateDown: _focusCurrentTabFromTabBar,
|
||||
onNavigateRightFromLast: () => _actionBarKey.currentState?.getFocusNode(0).requestFocus(),
|
||||
),
|
||||
],
|
||||
],
|
||||
);
|
||||
}
|
||||
@@ -981,6 +856,11 @@ class _LibrariesScreenState extends State<LibrariesScreen>
|
||||
// Compute visible libraries (filtered from all libraries)
|
||||
final visibleLibraries = allLibraries.where((lib) => !hiddenKeys.contains(lib.globalKey)).toList();
|
||||
|
||||
// Resolve selected library defensively — may be null if server temporarily dropped during refresh
|
||||
final selectedLibrary = _selectedLibraryGlobalKey != null
|
||||
? allLibraries.where((lib) => lib.globalKey == _selectedLibraryGlobalKey).firstOrNull
|
||||
: null;
|
||||
|
||||
return Scaffold(
|
||||
body: ScrollConfiguration(
|
||||
behavior: ScrollConfiguration.of(context).copyWith(scrollbars: false),
|
||||
@@ -997,7 +877,7 @@ class _LibrariesScreenState extends State<LibrariesScreen>
|
||||
actions: [
|
||||
FocusableActionBar(
|
||||
key: _actionBarKey,
|
||||
onNavigateLeft: () => getTabChipFocusNode(3).requestFocus(),
|
||||
onNavigateLeft: () => getTabChipFocusNode(_visibleTabs.length - 1).requestFocus(),
|
||||
onNavigateDown: _focusCurrentTab,
|
||||
actions: [
|
||||
if (allLibraries.isNotEmpty)
|
||||
@@ -1034,7 +914,7 @@ class _LibrariesScreenState extends State<LibrariesScreen>
|
||||
)
|
||||
else ...[
|
||||
// Tab selector chips (only on mobile - desktop has them in app bar)
|
||||
if (_selectedLibraryGlobalKey != null && !PlatformDetector.shouldUseSideNavigation(context))
|
||||
if (selectedLibrary != null && !PlatformDetector.shouldUseSideNavigation(context))
|
||||
SliverToBoxAdapter(
|
||||
child: Container(
|
||||
padding: const EdgeInsets.symmetric(horizontal: 16, vertical: 8),
|
||||
@@ -1042,13 +922,16 @@ class _LibrariesScreenState extends State<LibrariesScreen>
|
||||
scrollDirection: Axis.horizontal,
|
||||
child: Row(
|
||||
children: [
|
||||
_buildTabChip(t.libraries.tabs.recommended, 0),
|
||||
const SizedBox(width: 8),
|
||||
_buildTabChip(t.libraries.tabs.browse, 1),
|
||||
const SizedBox(width: 8),
|
||||
_buildTabChip(t.libraries.tabs.collections, 2),
|
||||
const SizedBox(width: 8),
|
||||
_buildTabChip(t.libraries.tabs.playlists, 3),
|
||||
for (int i = 0; i < _visibleTabs.length; i++) ...[
|
||||
if (i > 0) const SizedBox(width: 8),
|
||||
buildTabChip(
|
||||
_getTabLabel(_visibleTabs[i]),
|
||||
i,
|
||||
onSelectWhenActive: _focusCurrentTab,
|
||||
onNavigateDown: _focusCurrentTabFromTabBar,
|
||||
onNavigateRightFromLast: () => _actionBarKey.currentState?.getFocusNode(0).requestFocus(),
|
||||
),
|
||||
],
|
||||
],
|
||||
),
|
||||
),
|
||||
@@ -1056,7 +939,7 @@ class _LibrariesScreenState extends State<LibrariesScreen>
|
||||
),
|
||||
|
||||
// Tab content
|
||||
if (_selectedLibraryGlobalKey != null)
|
||||
if (selectedLibrary != null)
|
||||
SliverFillRemaining(
|
||||
child: TabBarView(
|
||||
key: ValueKey(_selectedLibraryGlobalKey),
|
||||
@@ -1064,39 +947,18 @@ class _LibrariesScreenState extends State<LibrariesScreen>
|
||||
// Disable swipe on desktop - trackpad scrolling triggers accidental tab switches
|
||||
// See: https://github.com/flutter/flutter/issues/11132
|
||||
physics: PlatformDetector.isDesktop(context) ? const NeverScrollableScrollPhysics() : null,
|
||||
// Wrap each tab in ClipRect so horizontal overflow (e.g. hub rows
|
||||
// with Clip.none) doesn't bleed into adjacent tabs during swipe transitions.
|
||||
// The TabBarView's own clipBehavior only clips at the viewport level,
|
||||
// not per-page, so we need per-child clipping.
|
||||
children: [
|
||||
LibraryRecommendedTab(
|
||||
key: _recommendedTabKey,
|
||||
library: allLibraries.firstWhere((lib) => lib.globalKey == _selectedLibraryGlobalKey),
|
||||
isActive: tabController.index == 0,
|
||||
suppressAutoFocus: suppressAutoFocus,
|
||||
onDataLoaded: () => _handleTabDataLoaded(0),
|
||||
onBack: focusTabBar,
|
||||
),
|
||||
LibraryBrowseTab(
|
||||
key: _browseTabKey,
|
||||
library: allLibraries.firstWhere((lib) => lib.globalKey == _selectedLibraryGlobalKey),
|
||||
isActive: tabController.index == 1,
|
||||
suppressAutoFocus: suppressAutoFocus,
|
||||
onDataLoaded: () => _handleTabDataLoaded(1),
|
||||
onBack: focusTabBar,
|
||||
),
|
||||
LibraryCollectionsTab(
|
||||
key: _collectionsTabKey,
|
||||
library: allLibraries.firstWhere((lib) => lib.globalKey == _selectedLibraryGlobalKey),
|
||||
isActive: tabController.index == 2,
|
||||
suppressAutoFocus: suppressAutoFocus,
|
||||
onDataLoaded: () => _handleTabDataLoaded(2),
|
||||
onBack: focusTabBar,
|
||||
),
|
||||
LibraryPlaylistsTab(
|
||||
key: _playlistsTabKey,
|
||||
library: allLibraries.firstWhere((lib) => lib.globalKey == _selectedLibraryGlobalKey),
|
||||
isActive: tabController.index == 3,
|
||||
suppressAutoFocus: suppressAutoFocus,
|
||||
onDataLoaded: () => _handleTabDataLoaded(3),
|
||||
onBack: focusTabBar,
|
||||
),
|
||||
for (int i = 0; i < _visibleTabs.length; i++)
|
||||
ClipRect(child: _buildTabContent(
|
||||
_visibleTabs[i],
|
||||
library: selectedLibrary,
|
||||
isActive: tabController.index == i,
|
||||
tabIndex: i,
|
||||
)),
|
||||
],
|
||||
),
|
||||
),
|
||||
@@ -1347,7 +1209,8 @@ class _LibraryManagementSheetState extends State<_LibraryManagementSheet> {
|
||||
|
||||
if (selected != null && mounted) {
|
||||
// Find the selected item to check if confirmation is needed
|
||||
final selectedItem = menuItems.firstWhere((item) => item.value == selected);
|
||||
final selectedItem = menuItems.where((item) => item.value == selected).firstOrNull;
|
||||
if (selectedItem == null) return;
|
||||
|
||||
if (selectedItem.requiresConfirmation) {
|
||||
if (!mounted || !context.mounted) return;
|
||||
|
||||
@@ -2,7 +2,9 @@ import 'package:flutter/material.dart';
|
||||
import 'package:plezy/widgets/app_icon.dart';
|
||||
import 'package:material_symbols_icons/symbols.dart';
|
||||
import '../../focus/dpad_navigator.dart';
|
||||
import '../../focus/input_mode_tracker.dart';
|
||||
import '../../models/plex_sort.dart';
|
||||
import '../../utils/scroll_utils.dart';
|
||||
import '../../widgets/bottom_sheet_header.dart';
|
||||
import '../../widgets/focusable_list_tile.dart';
|
||||
import '../../widgets/overlay_sheet.dart';
|
||||
@@ -32,6 +34,8 @@ class _SortBottomSheetState extends State<SortBottomSheet> {
|
||||
late PlexSort? _currentSort;
|
||||
late bool _currentDescending;
|
||||
late final FocusNode _initialFocusNode;
|
||||
final _firstItemKey = GlobalKey();
|
||||
final _scrollController = ScrollController();
|
||||
|
||||
@override
|
||||
void initState() {
|
||||
@@ -39,8 +43,18 @@ class _SortBottomSheetState extends State<SortBottomSheet> {
|
||||
_currentSort = widget.selectedSort;
|
||||
_currentDescending = widget.isSortDescending;
|
||||
_initialFocusNode = FocusNode(debugLabel: 'SortBottomSheetInitialFocus');
|
||||
|
||||
// Scroll to selected item, then handle focus
|
||||
final selectedIndex = widget.selectedSort != null
|
||||
? widget.sortOptions.indexWhere((s) => s.key == widget.selectedSort!.key)
|
||||
: -1;
|
||||
if (selectedIndex > 0) {
|
||||
scrollToCurrentItem(_scrollController, _firstItemKey, selectedIndex);
|
||||
}
|
||||
|
||||
WidgetsBinding.instance.addPostFrameCallback((_) {
|
||||
if (!mounted) return;
|
||||
if (!InputModeTracker.isKeyboardMode(context)) return;
|
||||
final ctx = _initialFocusNode.context;
|
||||
if (ctx != null) {
|
||||
Scrollable.ensureVisible(ctx, alignment: 0.5);
|
||||
@@ -55,6 +69,7 @@ class _SortBottomSheetState extends State<SortBottomSheet> {
|
||||
|
||||
@override
|
||||
void dispose() {
|
||||
_scrollController.dispose();
|
||||
_initialFocusNode.dispose();
|
||||
super.dispose();
|
||||
}
|
||||
@@ -100,6 +115,7 @@ class _SortBottomSheetState extends State<SortBottomSheet> {
|
||||
if (value != null) _handleSortSelect(value);
|
||||
},
|
||||
child: ListView.builder(
|
||||
controller: _scrollController,
|
||||
padding: const EdgeInsets.symmetric(vertical: 8),
|
||||
itemCount: widget.sortOptions.length,
|
||||
itemBuilder: (context, index) {
|
||||
@@ -107,6 +123,7 @@ class _SortBottomSheetState extends State<SortBottomSheet> {
|
||||
final isSelected = _currentSort?.key == sort.key;
|
||||
|
||||
return Focus(
|
||||
key: index == 0 ? _firstItemKey : null,
|
||||
canRequestFocus: false,
|
||||
skipTraversal: true,
|
||||
onKeyEvent: (node, event) {
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import 'dart:async';
|
||||
import 'package:flutter/material.dart';
|
||||
import '../../../focus/input_mode_tracker.dart';
|
||||
import '../../../models/plex_library.dart';
|
||||
import '../../../utils/app_logger.dart';
|
||||
import '../../../mixins/library_tab_state.dart';
|
||||
@@ -164,6 +165,9 @@ abstract class BaseLibraryTabState<T, W extends BaseLibraryTab<T>> extends State
|
||||
void tryFocus() {
|
||||
// Don't auto-focus if suppressed (e.g., when navigating via tab bar)
|
||||
if (widget.suppressAutoFocus) return;
|
||||
// On mobile (touch mode), skip auto-focus to prevent ensureVisible()
|
||||
// from interfering with TabBarView page animations
|
||||
if (!InputModeTracker.isKeyboardMode(context)) return;
|
||||
|
||||
if (widget.isActive && _hasLoadedData && !hasFocused && _items.isNotEmpty) {
|
||||
hasFocused = true;
|
||||
|
||||
@@ -3,17 +3,21 @@ import 'dart:async';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:material_symbols_icons/symbols.dart';
|
||||
import 'package:provider/provider.dart';
|
||||
import 'package:cached_network_image/cached_network_image.dart';
|
||||
import 'package:dio/dio.dart';
|
||||
import '../../../focus/dpad_navigator.dart';
|
||||
import '../../../focus/input_mode_tracker.dart';
|
||||
import '../../../../services/plex_client.dart';
|
||||
import '../../../models/plex_metadata.dart';
|
||||
import '../../../models/plex_filter.dart';
|
||||
import '../../../models/plex_first_character.dart';
|
||||
import '../../../models/plex_sort.dart';
|
||||
import '../../../providers/settings_provider.dart';
|
||||
import '../../../services/image_cache_service.dart';
|
||||
import '../../../utils/error_message_utils.dart';
|
||||
import '../../../utils/grid_size_calculator.dart';
|
||||
import '../../../utils/layout_constants.dart';
|
||||
import '../../../utils/plex_image_helper.dart';
|
||||
import '../alpha_jump_bar.dart';
|
||||
import '../alpha_jump_helper.dart';
|
||||
import '../alpha_scroll_handle.dart';
|
||||
@@ -26,6 +30,8 @@ import '../../../mixins/library_tab_focus_mixin.dart';
|
||||
import '../folder_tree_view.dart';
|
||||
import '../filters_bottom_sheet.dart';
|
||||
import '../sort_bottom_sheet.dart';
|
||||
import '../../../widgets/app_icon.dart';
|
||||
import '../../../widgets/focusable_list_tile.dart';
|
||||
import '../state_messages.dart';
|
||||
import '../../../services/storage_service.dart';
|
||||
import '../../../services/settings_service.dart' show ViewMode, EpisodePosterMode;
|
||||
@@ -115,6 +121,12 @@ class _LibraryBrowseTabState extends BaseLibraryTabState<PlexMetadata, LibraryBr
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
// If neither the item nor its parents are loaded (evicted), the event
|
||||
// was already filtered by DeletionAware's upstream check against
|
||||
// deletionGlobalKeys/deletionRatingKeys, so this point is unreachable.
|
||||
// The grid self-corrects when _fetchRange updates _totalSize from the
|
||||
// server response on the next scroll.
|
||||
}
|
||||
|
||||
/// Remove an item at [index] and shift all higher indices down by 1
|
||||
@@ -163,7 +175,7 @@ class _LibraryBrowseTabState extends BaseLibraryTabState<PlexMetadata, LibraryBr
|
||||
// Alpha jump bar state
|
||||
List<PlexFirstCharacter> _firstCharacters = [];
|
||||
AlphaJumpHelper _alphaHelper = AlphaJumpHelper(const []);
|
||||
int _currentFirstVisibleIndex = 0;
|
||||
final ValueNotifier<int> _currentFirstVisibleIndex = ValueNotifier<int>(0);
|
||||
int _currentColumnCount = 1;
|
||||
double _lastCrossAxisExtent = 0;
|
||||
double _effectiveTopPadding = _gridTopPadding;
|
||||
@@ -177,10 +189,16 @@ class _LibraryBrowseTabState extends BaseLibraryTabState<PlexMetadata, LibraryBr
|
||||
// Incremented on each jump so that overlapping animations don't clobber each other.
|
||||
int _jumpScrollGeneration = 0;
|
||||
|
||||
// Scroll activity tracking (for phone scroll handle)
|
||||
bool _isScrollActive = false;
|
||||
// Scroll activity tracking (for phone scroll handle and range-load gating)
|
||||
final ValueNotifier<bool> _isScrollActive = ValueNotifier<bool>(false);
|
||||
Timer? _scrollActivityTimer;
|
||||
|
||||
// Eager prefetch throttle
|
||||
DateTime? _lastEagerPrefetch;
|
||||
// Alpha bar update: throttle (leading edge) + trailing timer (ensures final position)
|
||||
DateTime? _lastAlphaUpdate;
|
||||
Timer? _alphaUpdateTimer;
|
||||
|
||||
// Pagination state
|
||||
int _totalSize = 0;
|
||||
final Map<int, PlexMetadata> _loadedItems = {};
|
||||
@@ -190,6 +208,10 @@ class _LibraryBrowseTabState extends BaseLibraryTabState<PlexMetadata, LibraryBr
|
||||
int _firstCharactersRequestId = 0;
|
||||
static const int _fetchSize = 200;
|
||||
Timer? _scrollIdleTimer;
|
||||
Timer? _retryTimer;
|
||||
int _retryCount = 0;
|
||||
bool _rangeLoadScheduled = false;
|
||||
bool _visibleRangeLoading = false;
|
||||
|
||||
// Focus nodes for filter chips
|
||||
final FocusNode _groupingChipFocusNode = FocusNode(debugLabel: 'grouping_chip');
|
||||
@@ -208,14 +230,18 @@ class _LibraryBrowseTabState extends BaseLibraryTabState<PlexMetadata, LibraryBr
|
||||
@override
|
||||
void dispose() {
|
||||
_cancelToken?.cancel();
|
||||
_retryTimer?.cancel();
|
||||
_scrollActivityTimer?.cancel();
|
||||
_scrollIdleTimer?.cancel();
|
||||
_alphaUpdateTimer?.cancel();
|
||||
_scrollController.removeListener(_onScrollChanged);
|
||||
_scrollController.dispose();
|
||||
_groupingChipFocusNode.dispose();
|
||||
_filtersChipFocusNode.dispose();
|
||||
_sortChipFocusNode.dispose();
|
||||
_alphaJumpBarFocusNode.dispose();
|
||||
_currentFirstVisibleIndex.dispose();
|
||||
_isScrollActive.dispose();
|
||||
disposeGridFocusNodes();
|
||||
super.dispose();
|
||||
}
|
||||
@@ -224,6 +250,9 @@ class _LibraryBrowseTabState extends BaseLibraryTabState<PlexMetadata, LibraryBr
|
||||
@override
|
||||
void tryFocus() {
|
||||
if (widget.suppressAutoFocus) return;
|
||||
// On mobile (touch mode), skip auto-focus to prevent ensureVisible()
|
||||
// from interfering with TabBarView page animations
|
||||
if (!InputModeTracker.isKeyboardMode(context)) return;
|
||||
if (widget.isActive && hasLoadedData && !hasFocused && _loadedItems.isNotEmpty) {
|
||||
hasFocused = true;
|
||||
WidgetsBinding.instance.addPostFrameCallback((_) {
|
||||
@@ -296,7 +325,6 @@ class _LibraryBrowseTabState extends BaseLibraryTabState<PlexMetadata, LibraryBr
|
||||
/// Focus the chips bar (for navigating from tab bar to content).
|
||||
/// Called by libraries screen when pressing DOWN on tab bar.
|
||||
void focusChipsBar() {
|
||||
// Grouping chip is always visible (including in folder mode)
|
||||
_groupingChipFocusNode.requestFocus();
|
||||
}
|
||||
|
||||
@@ -304,11 +332,11 @@ class _LibraryBrowseTabState extends BaseLibraryTabState<PlexMetadata, LibraryBr
|
||||
void _resetForFullReload() {
|
||||
_scrollActivityTimer?.cancel();
|
||||
_scrollIdleTimer?.cancel();
|
||||
_isScrollActive = false;
|
||||
_isScrollActive.value = false;
|
||||
_hasJumpPin = false;
|
||||
_isJumpScrolling = false;
|
||||
_jumpScrollGeneration++;
|
||||
_currentFirstVisibleIndex = 0;
|
||||
_currentFirstVisibleIndex.value = 0;
|
||||
|
||||
// The browse tab state is kept alive across libraries, so ensure each
|
||||
// library starts from top instead of inheriting the previous offset.
|
||||
@@ -326,6 +354,7 @@ class _LibraryBrowseTabState extends BaseLibraryTabState<PlexMetadata, LibraryBr
|
||||
Future<void> _loadContent() async {
|
||||
// Cancel any pending request
|
||||
_cancelToken?.cancel();
|
||||
_retryTimer?.cancel();
|
||||
_cancelToken = CancelToken();
|
||||
// Use a generation counter for the filter/sort loading phase
|
||||
final generation = ++_requestId;
|
||||
@@ -352,8 +381,8 @@ class _LibraryBrowseTabState extends BaseLibraryTabState<PlexMetadata, LibraryBr
|
||||
_selectedGrouping = _getDefaultGrouping();
|
||||
_firstCharacters = [];
|
||||
_alphaHelper = AlphaJumpHelper(const []);
|
||||
_currentFirstVisibleIndex = 0;
|
||||
});
|
||||
_currentFirstVisibleIndex.value = 0;
|
||||
|
||||
try {
|
||||
final storage = await StorageService.getInstance();
|
||||
@@ -412,6 +441,9 @@ class _LibraryBrowseTabState extends BaseLibraryTabState<PlexMetadata, LibraryBr
|
||||
if (typeId.isNotEmpty) {
|
||||
filterParams['type'] = typeId;
|
||||
}
|
||||
} else if (_selectedGrouping == 'all' && widget.library.isShared) {
|
||||
// Shared libraries: filter to video content only (exclude library section entries)
|
||||
filterParams['type'] = '1,2,3,4';
|
||||
}
|
||||
|
||||
// Add sort
|
||||
@@ -427,6 +459,7 @@ class _LibraryBrowseTabState extends BaseLibraryTabState<PlexMetadata, LibraryBr
|
||||
Future<void> _loadItems() async {
|
||||
final currentRequestId = ++_requestId;
|
||||
_cancelToken?.cancel();
|
||||
_retryTimer?.cancel();
|
||||
_cancelToken = CancelToken();
|
||||
|
||||
setState(() {
|
||||
@@ -450,7 +483,7 @@ class _LibraryBrowseTabState extends BaseLibraryTabState<PlexMetadata, LibraryBr
|
||||
final result = await client.getLibraryContent(
|
||||
widget.library.key,
|
||||
start: 0,
|
||||
size: _fetchSize,
|
||||
size: _calculateInitialFetchSize(),
|
||||
filters: filterParams,
|
||||
cancelToken: _cancelToken,
|
||||
);
|
||||
@@ -482,15 +515,15 @@ class _LibraryBrowseTabState extends BaseLibraryTabState<PlexMetadata, LibraryBr
|
||||
|
||||
/// Fetch a range of items from the API and store them in the sparse map.
|
||||
/// After a successful fetch, re-checks for remaining gaps in the visible range.
|
||||
Future<void> _fetchRange(int start, int size) async {
|
||||
Future<bool> _fetchRange(int start, int size) async {
|
||||
// Clamp to totalSize
|
||||
if (start >= _totalSize) return;
|
||||
if (start >= _totalSize) return false;
|
||||
final clampedSize = size.clamp(0, _totalSize - start);
|
||||
if (clampedSize == 0) return;
|
||||
if (clampedSize == 0) return false;
|
||||
|
||||
// Deduplicate: track every index in-flight to prevent overlapping fetches
|
||||
final indices = List.generate(clampedSize, (i) => start + i);
|
||||
if (indices.every((i) => _loadingRanges.contains(i) || _loadedItems.containsKey(i))) return;
|
||||
if (indices.every((i) => _loadingRanges.contains(i) || _loadedItems.containsKey(i))) return true;
|
||||
_loadingRanges.addAll(indices);
|
||||
|
||||
final currentRequestId = _requestId;
|
||||
@@ -507,28 +540,31 @@ class _LibraryBrowseTabState extends BaseLibraryTabState<PlexMetadata, LibraryBr
|
||||
cancelToken: _cancelToken,
|
||||
);
|
||||
|
||||
if (currentRequestId != _requestId || !mounted) return;
|
||||
if (currentRequestId != _requestId || !mounted) return false;
|
||||
|
||||
setState(() {
|
||||
for (var i = 0; i < result.items.length; i++) {
|
||||
_loadedItems[start + i] = result.items[i];
|
||||
}
|
||||
// Update totalSize in case it changed (e.g., items added/removed on server)
|
||||
if (result.totalSize != _totalSize) {
|
||||
_totalSize = result.totalSize;
|
||||
}
|
||||
});
|
||||
|
||||
// Re-check for remaining gaps in the visible range after this fetch
|
||||
WidgetsBinding.instance.addPostFrameCallback((_) {
|
||||
_retryCount = 0;
|
||||
_prefetchImages(start, result.items);
|
||||
return true;
|
||||
} catch (e) {
|
||||
if (e is DioException && e.type == DioExceptionType.cancel) return false;
|
||||
_retryCount++;
|
||||
final delay = Duration(milliseconds: 500 * (1 << _retryCount.clamp(0, 4)));
|
||||
_retryTimer?.cancel();
|
||||
_retryTimer = Timer(delay, () {
|
||||
if (mounted && currentRequestId == _requestId) {
|
||||
_loadVisibleRange();
|
||||
}
|
||||
});
|
||||
} catch (e) {
|
||||
// Silently ignore fetch errors for background range loads
|
||||
// (the initial load handles errors with UI feedback)
|
||||
if (e is DioException && e.type == DioExceptionType.cancel) return;
|
||||
return false;
|
||||
} finally {
|
||||
_loadingRanges.removeAll(indices);
|
||||
}
|
||||
@@ -545,11 +581,8 @@ class _LibraryBrowseTabState extends BaseLibraryTabState<PlexMetadata, LibraryBr
|
||||
|
||||
String _getDefaultGrouping() {
|
||||
final type = widget.library.type.toLowerCase();
|
||||
if (type == 'show') {
|
||||
return 'shows';
|
||||
} else if (type == 'movie') {
|
||||
return 'movies';
|
||||
}
|
||||
if (type == 'show') return 'shows';
|
||||
if (type == 'movie') return 'movies';
|
||||
return 'all';
|
||||
}
|
||||
|
||||
@@ -574,8 +607,10 @@ class _LibraryBrowseTabState extends BaseLibraryTabState<PlexMetadata, LibraryBr
|
||||
return ['shows', 'seasons', 'episodes', 'folders'];
|
||||
} else if (type == 'movie') {
|
||||
return ['movies', 'folders'];
|
||||
} else if (type == 'mixed') {
|
||||
// Shared libraries: all video content types, no folders
|
||||
return ['all', 'movies', 'shows', 'seasons', 'episodes'];
|
||||
}
|
||||
// All library types support folder browsing
|
||||
return ['all', 'folders'];
|
||||
}
|
||||
|
||||
@@ -605,49 +640,54 @@ class _LibraryBrowseTabState extends BaseLibraryTabState<PlexMetadata, LibraryBr
|
||||
|
||||
void _showGroupingBottomSheet() {
|
||||
SelectKeyUpSuppressor.suppressSelectUntilKeyUp();
|
||||
var pendingGrouping = _selectedGrouping;
|
||||
OverlaySheetController.of(context)
|
||||
.show(
|
||||
builder: (sheetContext) {
|
||||
final options = _getGroupingOptions();
|
||||
return StatefulBuilder(
|
||||
builder: (context, setSheetState) {
|
||||
return RadioGroup<String>(
|
||||
groupValue: pendingGrouping,
|
||||
onChanged: (value) {
|
||||
if (value == null) return;
|
||||
setSheetState(() {
|
||||
pendingGrouping = value;
|
||||
});
|
||||
},
|
||||
child: ListView.builder(
|
||||
shrinkWrap: true,
|
||||
itemCount: options.length,
|
||||
itemBuilder: (context, index) {
|
||||
final grouping = options[index];
|
||||
return RadioListTile<String>(
|
||||
title: Text(_getGroupingLabel(grouping)),
|
||||
value: grouping,
|
||||
);
|
||||
},
|
||||
),
|
||||
);
|
||||
},
|
||||
);
|
||||
},
|
||||
)
|
||||
.then((_) {
|
||||
if (!mounted) return;
|
||||
if (pendingGrouping == _selectedGrouping) return;
|
||||
setState(() {
|
||||
_selectedGrouping = pendingGrouping;
|
||||
});
|
||||
StorageService.getInstance().then((storage) {
|
||||
storage.saveLibraryGrouping(widget.library.globalKey, pendingGrouping);
|
||||
});
|
||||
_loadItems();
|
||||
_loadFirstCharacters();
|
||||
});
|
||||
final options = _getGroupingOptions();
|
||||
final controller = OverlaySheetController.of(context);
|
||||
controller.show<String>(
|
||||
showDragHandle: true,
|
||||
builder: (sheetContext) => Column(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
children: [
|
||||
Padding(
|
||||
padding: const EdgeInsets.fromLTRB(16, 4, 16, 8),
|
||||
child: Text(
|
||||
t.libraries.groupings.title,
|
||||
style: Theme.of(sheetContext).textTheme.titleMedium,
|
||||
maxLines: 1,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
),
|
||||
),
|
||||
Flexible(
|
||||
child: SingleChildScrollView(
|
||||
child: Column(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
children: options.map((grouping) {
|
||||
final isSelected = _selectedGrouping == grouping;
|
||||
return FocusableListTile(
|
||||
dense: true,
|
||||
leading: AppIcon(
|
||||
isSelected ? Symbols.radio_button_checked_rounded : Symbols.radio_button_unchecked_rounded,
|
||||
fill: 1,
|
||||
),
|
||||
title: Text(_getGroupingLabel(grouping)),
|
||||
onTap: () => controller.close(grouping),
|
||||
);
|
||||
}).toList(),
|
||||
),
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
).then((value) {
|
||||
if (!mounted || value == null || value == _selectedGrouping) return;
|
||||
setState(() {
|
||||
_selectedGrouping = value;
|
||||
});
|
||||
StorageService.getInstance().then((storage) {
|
||||
storage.saveLibraryGrouping(widget.library.globalKey, value);
|
||||
});
|
||||
_loadItems();
|
||||
_loadFirstCharacters();
|
||||
});
|
||||
}
|
||||
|
||||
void _showFiltersBottomSheet() {
|
||||
@@ -752,7 +792,7 @@ class _LibraryBrowseTabState extends BaseLibraryTabState<PlexMetadata, LibraryBr
|
||||
void _navigateToGridNearScroll() {
|
||||
if (_totalSize == 0 || _currentColumnCount < 1) return;
|
||||
|
||||
final row = _currentFirstVisibleIndex ~/ _currentColumnCount;
|
||||
final row = _currentFirstVisibleIndex.value ~/ _currentColumnCount;
|
||||
var targetIndex = ((row + 1) * _currentColumnCount - 1).clamp(0, _totalSize - 1);
|
||||
|
||||
// Find nearest loaded item — skeleton cards have no FocusNode
|
||||
@@ -785,7 +825,7 @@ class _LibraryBrowseTabState extends BaseLibraryTabState<PlexMetadata, LibraryBr
|
||||
}
|
||||
}
|
||||
|
||||
/// Navigate focus from grid up to the grouping chip
|
||||
/// Navigate focus from grid up to the chips bar
|
||||
void _navigateToChips() {
|
||||
_groupingChipFocusNode.requestFocus();
|
||||
}
|
||||
@@ -806,9 +846,7 @@ class _LibraryBrowseTabState extends BaseLibraryTabState<PlexMetadata, LibraryBr
|
||||
/// The letter currently visible at the top of the grid, determined by
|
||||
/// how many items we've scrolled past relative to the API's cumulative
|
||||
/// firstCharacter counts.
|
||||
String get _currentAlphaLetter {
|
||||
return _alphaHelper.currentLetter(_currentFirstVisibleIndex);
|
||||
}
|
||||
String _alphaLetterFor(int index) => _alphaHelper.currentLetter(index);
|
||||
|
||||
/// Whether the alpha jump bar should be shown.
|
||||
/// Only shown when sorting by title (titleSort) and not in folders mode.
|
||||
@@ -823,6 +861,8 @@ class _LibraryBrowseTabState extends BaseLibraryTabState<PlexMetadata, LibraryBr
|
||||
|
||||
/// Fetch first characters for the current library/filter state
|
||||
Future<void> _loadFirstCharacters({int? requestId}) async {
|
||||
// Shared libraries don't support first characters
|
||||
if (widget.library.isShared) return;
|
||||
final currentRequestId = requestId ?? ++_firstCharactersRequestId;
|
||||
final client = getClientForLibrary();
|
||||
final filterParams = Map<String, String>.from(_selectedFilters);
|
||||
@@ -858,9 +898,19 @@ class _LibraryBrowseTabState extends BaseLibraryTabState<PlexMetadata, LibraryBr
|
||||
// Debounced scroll-idle handler: load visible range when scrolling settles
|
||||
_scrollIdleTimer?.cancel();
|
||||
_scrollIdleTimer = Timer(const Duration(milliseconds: 200), () {
|
||||
if (mounted) _loadVisibleRange();
|
||||
if (!mounted) return;
|
||||
// Discard stale in-flight tracking from eager prefetch during scroll
|
||||
// so _loadVisibleRange sees the full gap at the settled position.
|
||||
_loadingRanges.clear();
|
||||
_loadVisibleRange();
|
||||
_evictDistantItems();
|
||||
final firstVisible = _itemIndexFromScrollOffset(_scrollController.offset);
|
||||
evictDistantFocusNodes(firstVisible);
|
||||
});
|
||||
|
||||
// Eager prefetch: fetch data before scroll stops
|
||||
_checkEagerPrefetch();
|
||||
|
||||
if (!_shouldShowAlphaJumpBar || _currentColumnCount < 1) return;
|
||||
|
||||
// During a jump animation, skip alpha bar processing to avoid flashing.
|
||||
@@ -873,7 +923,17 @@ class _LibraryBrowseTabState extends BaseLibraryTabState<PlexMetadata, LibraryBr
|
||||
_hasJumpPin = false;
|
||||
}
|
||||
|
||||
_updateVisibleIndex();
|
||||
// Throttle alpha bar updates to ~50fps, with a trailing-edge timer
|
||||
// so the final scroll position always gets an update
|
||||
final now = DateTime.now();
|
||||
if (_lastAlphaUpdate == null || now.difference(_lastAlphaUpdate!) >= const Duration(milliseconds: 20)) {
|
||||
_lastAlphaUpdate = now;
|
||||
_updateVisibleIndex();
|
||||
}
|
||||
_alphaUpdateTimer?.cancel();
|
||||
_alphaUpdateTimer = Timer(const Duration(milliseconds: 20), () {
|
||||
if (mounted) _updateVisibleIndex();
|
||||
});
|
||||
}
|
||||
|
||||
/// Recompute the first-visible-index from the current scroll offset.
|
||||
@@ -884,8 +944,8 @@ class _LibraryBrowseTabState extends BaseLibraryTabState<PlexMetadata, LibraryBr
|
||||
// updates as soon as items with a new letter appear in that row.
|
||||
final maxIndex = _totalSize > 0 ? _totalSize - 1 : 0;
|
||||
final lastInRow = (firstInRow + _currentColumnCount - 1).clamp(0, maxIndex);
|
||||
if (lastInRow != _currentFirstVisibleIndex) {
|
||||
setState(() => _currentFirstVisibleIndex = lastInRow);
|
||||
if (lastInRow != _currentFirstVisibleIndex.value) {
|
||||
_currentFirstVisibleIndex.value = lastInRow;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -918,7 +978,7 @@ class _LibraryBrowseTabState extends BaseLibraryTabState<PlexMetadata, LibraryBr
|
||||
|
||||
_hasJumpPin = true;
|
||||
final clamped = targetIndex.clamp(0, _totalSize > 0 ? _totalSize - 1 : 0);
|
||||
setState(() => _currentFirstVisibleIndex = clamped);
|
||||
_currentFirstVisibleIndex.value = clamped;
|
||||
|
||||
_scrollToItemIndex(clamped);
|
||||
}
|
||||
@@ -972,7 +1032,7 @@ class _LibraryBrowseTabState extends BaseLibraryTabState<PlexMetadata, LibraryBr
|
||||
serverId: widget.library.serverId,
|
||||
onRefresh: updateItem,
|
||||
firstItemFocusNode: firstItemFocusNode,
|
||||
onNavigateUp: () => _groupingChipFocusNode.requestFocus(),
|
||||
onNavigateUp: _navigateToChips,
|
||||
),
|
||||
),
|
||||
],
|
||||
@@ -995,19 +1055,28 @@ class _LibraryBrowseTabState extends BaseLibraryTabState<PlexMetadata, LibraryBr
|
||||
right: 0,
|
||||
bottom: 0,
|
||||
child: _isPhone(context)
|
||||
? AlphaScrollHandle(
|
||||
firstCharacters: _firstCharacters,
|
||||
onJump: _jumpToIndex,
|
||||
currentLetter: _currentAlphaLetter,
|
||||
isScrolling: _isScrollActive,
|
||||
? ValueListenableBuilder<int>(
|
||||
valueListenable: _currentFirstVisibleIndex,
|
||||
builder: (context, visibleIndex, _) => ValueListenableBuilder<bool>(
|
||||
valueListenable: _isScrollActive,
|
||||
builder: (context, scrolling, _) => AlphaScrollHandle(
|
||||
firstCharacters: _firstCharacters,
|
||||
onJump: _jumpToIndex,
|
||||
currentLetter: _alphaLetterFor(visibleIndex),
|
||||
isScrolling: scrolling,
|
||||
),
|
||||
),
|
||||
)
|
||||
: AlphaJumpBar(
|
||||
firstCharacters: _firstCharacters,
|
||||
onJump: _jumpToIndex,
|
||||
currentLetter: _currentAlphaLetter,
|
||||
focusNode: _alphaJumpBarFocusNode,
|
||||
onNavigateLeft: _navigateToGridNearScroll,
|
||||
onBack: _navigateToGridNearScroll,
|
||||
: ValueListenableBuilder<int>(
|
||||
valueListenable: _currentFirstVisibleIndex,
|
||||
builder: (context, visibleIndex, _) => AlphaJumpBar(
|
||||
firstCharacters: _firstCharacters,
|
||||
onJump: _jumpToIndex,
|
||||
currentLetter: _alphaLetterFor(visibleIndex),
|
||||
focusNode: _alphaJumpBarFocusNode,
|
||||
onNavigateLeft: _navigateToGridNearScroll,
|
||||
onBack: _navigateToGridNearScroll,
|
||||
),
|
||||
),
|
||||
),
|
||||
],
|
||||
@@ -1018,14 +1087,14 @@ class _LibraryBrowseTabState extends BaseLibraryTabState<PlexMetadata, LibraryBr
|
||||
Widget _buildScrollableContent() {
|
||||
return NotificationListener<ScrollNotification>(
|
||||
onNotification: (notification) {
|
||||
// Track scroll activity for phone scroll handle
|
||||
// Track scroll activity for phone scroll handle and range-load gating
|
||||
if (notification is ScrollStartNotification) {
|
||||
if (!_isScrollActive) setState(() => _isScrollActive = true);
|
||||
_isScrollActive.value = true;
|
||||
_scrollActivityTimer?.cancel();
|
||||
} else if (notification is ScrollEndNotification) {
|
||||
_scrollActivityTimer?.cancel();
|
||||
_scrollActivityTimer = Timer(const Duration(milliseconds: 100), () {
|
||||
if (mounted) setState(() => _isScrollActive = false);
|
||||
if (mounted) _isScrollActive.value = false;
|
||||
});
|
||||
}
|
||||
return false;
|
||||
@@ -1039,10 +1108,23 @@ class _LibraryBrowseTabState extends BaseLibraryTabState<PlexMetadata, LibraryBr
|
||||
);
|
||||
}
|
||||
|
||||
/// Self-healing: when a skeleton is rendered after scrolling stops,
|
||||
/// ensure the visible range gets loaded even if the scroll-idle path missed it.
|
||||
void _scheduleRangeLoad() {
|
||||
if (_rangeLoadScheduled || _isScrollActive.value) return;
|
||||
_rangeLoadScheduled = true;
|
||||
WidgetsBinding.instance.addPostFrameCallback((_) {
|
||||
_rangeLoadScheduled = false;
|
||||
if (mounted) _loadVisibleRange();
|
||||
});
|
||||
}
|
||||
|
||||
/// Determine the visible range and fetch any unloaded items within it.
|
||||
/// Covers the full visible area plus a buffer of _fetchSize/2 on each side,
|
||||
/// then finds the first unloaded contiguous block and fetches it.
|
||||
void _loadVisibleRange() {
|
||||
/// Serialized: only one visible-range fetch runs at a time to prevent
|
||||
/// concurrent calls from seeing each other's _loadingRanges and producing
|
||||
/// tiny fetch sizes.
|
||||
Future<void> _loadVisibleRange() async {
|
||||
if (_visibleRangeLoading) return;
|
||||
if (_totalSize == 0 || _currentColumnCount < 1 || !_scrollController.hasClients) return;
|
||||
if (_lastCrossAxisExtent <= 0) return;
|
||||
|
||||
@@ -1050,7 +1132,6 @@ class _LibraryBrowseTabState extends BaseLibraryTabState<PlexMetadata, LibraryBr
|
||||
final viewportHeight = _scrollController.position.viewportDimension;
|
||||
final firstIndex = _itemIndexFromScrollOffset(offset);
|
||||
|
||||
// Calculate how many items fit in the viewport
|
||||
final itemWidth = _lastCrossAxisExtent / _currentColumnCount;
|
||||
final itemHeight = itemWidth / GridLayoutConstants.posterAspectRatio;
|
||||
final rowHeight = itemHeight + GridLayoutConstants.mainAxisSpacing;
|
||||
@@ -1059,12 +1140,10 @@ class _LibraryBrowseTabState extends BaseLibraryTabState<PlexMetadata, LibraryBr
|
||||
final visibleRows = (viewportHeight / rowHeight).ceil() + 1;
|
||||
final visibleCount = visibleRows * _currentColumnCount;
|
||||
|
||||
// Expand the visible range by a buffer on each side
|
||||
final buffer = _fetchSize ~/ 2;
|
||||
final rangeStart = (firstIndex - buffer).clamp(0, _totalSize);
|
||||
final rangeEnd = (firstIndex + visibleCount + buffer).clamp(0, _totalSize);
|
||||
|
||||
// Find the first and last unloaded indices in the range
|
||||
int? fetchStart;
|
||||
int? fetchEnd;
|
||||
for (var i = rangeStart; i < rangeEnd; i++) {
|
||||
@@ -1075,10 +1154,155 @@ class _LibraryBrowseTabState extends BaseLibraryTabState<PlexMetadata, LibraryBr
|
||||
}
|
||||
if (fetchStart == null || fetchEnd == null) return;
|
||||
|
||||
final fetchSize = fetchEnd - fetchStart;
|
||||
if (fetchSize <= 0) return;
|
||||
_retryTimer?.cancel();
|
||||
_visibleRangeLoading = true;
|
||||
try {
|
||||
final success = await _fetchRange(fetchStart, fetchEnd - fetchStart);
|
||||
if (success && mounted) {
|
||||
WidgetsBinding.instance.addPostFrameCallback((_) {
|
||||
if (mounted) _loadVisibleRange();
|
||||
});
|
||||
}
|
||||
} finally {
|
||||
_visibleRangeLoading = false;
|
||||
}
|
||||
}
|
||||
|
||||
_fetchRange(fetchStart, fetchSize);
|
||||
/// Eagerly prefetch data when approaching unloaded boundaries during scroll.
|
||||
/// Throttled to at most once per 100ms to avoid spamming.
|
||||
void _checkEagerPrefetch() {
|
||||
if (_totalSize == 0 || _currentColumnCount < 1 || !_scrollController.hasClients) return;
|
||||
if (_lastCrossAxisExtent <= 0) return;
|
||||
|
||||
final now = DateTime.now();
|
||||
if (_lastEagerPrefetch != null && now.difference(_lastEagerPrefetch!) < const Duration(milliseconds: 100)) return;
|
||||
|
||||
final offset = _scrollController.offset;
|
||||
final viewportHeight = _scrollController.position.viewportDimension;
|
||||
final firstIndex = _itemIndexFromScrollOffset(offset);
|
||||
|
||||
final itemWidth = _lastCrossAxisExtent / _currentColumnCount;
|
||||
final itemHeight = itemWidth / GridLayoutConstants.posterAspectRatio;
|
||||
final rowHeight = itemHeight + GridLayoutConstants.mainAxisSpacing;
|
||||
if (rowHeight <= 0) return;
|
||||
|
||||
final visibleRows = (viewportHeight / rowHeight).ceil() + 1;
|
||||
final visibleCount = visibleRows * _currentColumnCount;
|
||||
|
||||
// Look 1 viewport ahead for unloaded items
|
||||
final lookAheadStart = (firstIndex + visibleCount).clamp(0, _totalSize);
|
||||
final lookAheadEnd = (lookAheadStart + visibleCount).clamp(0, _totalSize);
|
||||
|
||||
for (var i = lookAheadStart; i < lookAheadEnd; i++) {
|
||||
if (!_loadedItems.containsKey(i) && !_loadingRanges.contains(i)) {
|
||||
_lastEagerPrefetch = now;
|
||||
_fetchRange(i, _fetchSize);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
// Check backward if nothing needed forward
|
||||
final lookBehindStart = (firstIndex - visibleCount).clamp(0, _totalSize);
|
||||
for (var i = firstIndex - 1; i >= lookBehindStart; i--) {
|
||||
if (!_loadedItems.containsKey(i) && !_loadingRanges.contains(i)) {
|
||||
_lastEagerPrefetch = now;
|
||||
_fetchRange(i, _fetchSize);
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// Compute initial fetch size based on viewport dimensions.
|
||||
int _calculateInitialFetchSize() {
|
||||
try {
|
||||
final screenSize = MediaQuery.of(context).size;
|
||||
final settingsProvider = context.read<SettingsProvider>();
|
||||
final maxExtent = GridSizeCalculator.getMaxCrossAxisExtent(context, settingsProvider.libraryDensity);
|
||||
final crossAxisSpacing = GridLayoutConstants.crossAxisSpacing;
|
||||
final columnCount =
|
||||
((screenSize.width + crossAxisSpacing) / (maxExtent + crossAxisSpacing)).ceil().clamp(1, 100);
|
||||
final itemWidth = screenSize.width / columnCount;
|
||||
final itemHeight = itemWidth / GridLayoutConstants.posterAspectRatio;
|
||||
final rowHeight = itemHeight + GridLayoutConstants.mainAxisSpacing;
|
||||
if (rowHeight <= 0) return _fetchSize;
|
||||
final visibleRows = (screenSize.height / rowHeight).ceil() + 1;
|
||||
final visibleCount = visibleRows * columnCount;
|
||||
return (visibleCount * 3).clamp(100, 500);
|
||||
} catch (_) {
|
||||
return _fetchSize;
|
||||
}
|
||||
}
|
||||
|
||||
/// Evict loaded items far from the current viewport to bound memory usage.
|
||||
static const int _maxLoadedItems = 500;
|
||||
static const int _evictionThreshold = 600;
|
||||
|
||||
void _evictDistantItems() {
|
||||
if (_loadedItems.length <= _evictionThreshold) return;
|
||||
|
||||
final centerIndex = _itemIndexFromScrollOffset(_scrollController.offset);
|
||||
final halfKeep = _maxLoadedItems ~/ 2;
|
||||
final keepStart = centerIndex - halfKeep;
|
||||
final keepEnd = centerIndex + halfKeep;
|
||||
|
||||
_loadedItems.removeWhere((index, _) => index < keepStart || index > keepEnd);
|
||||
}
|
||||
|
||||
/// Prefetch images for items near the viewport to reduce pop-in.
|
||||
void _prefetchImages(int startIndex, List<PlexMetadata> items) {
|
||||
if (!_scrollController.hasClients || _lastCrossAxisExtent <= 0 || _currentColumnCount < 1) return;
|
||||
|
||||
final offset = _scrollController.offset;
|
||||
final viewportHeight = _scrollController.position.viewportDimension;
|
||||
final firstVisible = _itemIndexFromScrollOffset(offset);
|
||||
final itemWidth = _lastCrossAxisExtent / _currentColumnCount;
|
||||
final itemHeight = itemWidth / GridLayoutConstants.posterAspectRatio;
|
||||
final rowHeight = itemHeight + GridLayoutConstants.mainAxisSpacing;
|
||||
if (rowHeight <= 0) return;
|
||||
|
||||
final visibleRows = (viewportHeight / rowHeight).ceil() + 1;
|
||||
final visibleEnd = firstVisible + visibleRows * _currentColumnCount;
|
||||
// Prefetch 2 rows beyond visible area
|
||||
final prefetchEnd = visibleEnd + 2 * _currentColumnCount;
|
||||
|
||||
final client = getClientForLibrary();
|
||||
final devicePixelRatio = PlexImageHelper.effectiveDevicePixelRatio(context);
|
||||
|
||||
for (var i = 0; i < items.length; i++) {
|
||||
final index = startIndex + i;
|
||||
if (index < firstVisible || index > prefetchEnd) continue;
|
||||
|
||||
final thumb = items[i].thumb;
|
||||
if (thumb == null || thumb.isEmpty) continue;
|
||||
|
||||
final imageUrl = PlexImageHelper.getOptimizedImageUrl(
|
||||
client: client,
|
||||
thumbPath: thumb,
|
||||
maxWidth: itemWidth,
|
||||
maxHeight: itemHeight,
|
||||
devicePixelRatio: devicePixelRatio,
|
||||
enableTranscoding: PlexImageHelper.shouldTranscode(thumb),
|
||||
imageType: ImageType.poster,
|
||||
);
|
||||
if (imageUrl.isEmpty) continue;
|
||||
|
||||
final scaledWidth = itemWidth * devicePixelRatio;
|
||||
final scaledHeight = itemHeight * devicePixelRatio;
|
||||
final (_, memHeight) = PlexImageHelper.getMemCacheDimensions(
|
||||
displayWidth: scaledWidth.isFinite && scaledWidth > 0 ? scaledWidth.round() : 0,
|
||||
displayHeight: scaledHeight.isFinite && scaledHeight > 0 ? scaledHeight.round() : 0,
|
||||
);
|
||||
|
||||
precacheImage(
|
||||
CachedNetworkImageProvider(
|
||||
imageUrl,
|
||||
cacheManager: PlexImageCacheManager.instance,
|
||||
headers: const {'User-Agent': 'Plezy'},
|
||||
maxHeight: memHeight,
|
||||
),
|
||||
context,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
/// Whether the filters chip is visible
|
||||
@@ -1263,6 +1487,7 @@ class _LibraryBrowseTabState extends BaseLibraryTabState<PlexMetadata, LibraryBr
|
||||
|
||||
// Show skeleton placeholder for unloaded items
|
||||
if (item == null) {
|
||||
_scheduleRangeLoad();
|
||||
return const _SkeletonCard();
|
||||
}
|
||||
|
||||
@@ -1293,32 +1518,32 @@ class _SkeletonCard extends StatelessWidget {
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Padding(
|
||||
padding: const EdgeInsets.all(8),
|
||||
return const Padding(
|
||||
padding: EdgeInsets.all(8),
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
// Poster area — matches the Expanded poster in _buildGridCard
|
||||
Expanded(
|
||||
child: ClipRRect(
|
||||
borderRadius: const BorderRadius.all(Radius.circular(8)),
|
||||
child: const SkeletonLoader(child: SizedBox.expand()),
|
||||
borderRadius: BorderRadius.all(Radius.circular(8)),
|
||||
child: SkeletonLoader(child: SizedBox.expand()),
|
||||
),
|
||||
),
|
||||
const SizedBox(height: 4),
|
||||
SizedBox(height: 4),
|
||||
// Title bar
|
||||
SkeletonLoader(
|
||||
borderRadius: const BorderRadius.all(Radius.circular(4)),
|
||||
child: const SizedBox(height: 13, width: double.infinity),
|
||||
borderRadius: BorderRadius.all(Radius.circular(4)),
|
||||
child: SizedBox(height: 13, width: double.infinity),
|
||||
),
|
||||
const SizedBox(height: 3),
|
||||
SizedBox(height: 3),
|
||||
// Subtitle bar
|
||||
FractionallySizedBox(
|
||||
alignment: Alignment.centerLeft,
|
||||
widthFactor: 0.6,
|
||||
child: SkeletonLoader(
|
||||
borderRadius: const BorderRadius.all(Radius.circular(4)),
|
||||
child: const SizedBox(height: 11),
|
||||
borderRadius: BorderRadius.all(Radius.circular(4)),
|
||||
child: SizedBox(height: 11),
|
||||
),
|
||||
),
|
||||
],
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user