Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
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.27.2"
|
||||
sha256 "5cd0ff1aa7390fd208ea69069e352bb02a0f57c242556e10b7dcb3707c12850e"
|
||||
|
||||
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,24 @@ plugins {
|
||||
id("dev.flutter.flutter-gradle-plugin")
|
||||
}
|
||||
|
||||
val assVersion = "flags"
|
||||
val assDir = layout.buildDirectory.dir("libass-android").get().asFile
|
||||
val assAars = listOf("lib_ass-release.aar", "lib_ass_kt-release.aar", "lib_ass_media-release.aar")
|
||||
|
||||
val downloadLibassAndroid 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,6 +145,11 @@ tasks.matching { it.name.contains("CMake") || it.name.contains("externalNative")
|
||||
dependsOn(downloadLibdovi)
|
||||
}
|
||||
|
||||
// Download libass-android AARs before compilation
|
||||
tasks.matching { it.name.startsWith("compile") || it.name.startsWith("pre") }.configureEach {
|
||||
dependsOn(downloadLibassAndroid)
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation("dev.jdtech.mpv:libmpv:0.5.1")
|
||||
|
||||
@@ -138,11 +161,15 @@ 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")
|
||||
// libass-android for ASS/SSA subtitle rendering (forked for AssMatroskaExtractor flags constructor)
|
||||
implementation(files("${assDir.absolutePath}/lib_ass-release.aar"))
|
||||
implementation(files("${assDir.absolutePath}/lib_ass_kt-release.aar"))
|
||||
implementation(files("${assDir.absolutePath}/lib_ass_media-release.aar"))
|
||||
}
|
||||
|
||||
@@ -1,20 +1,25 @@
|
||||
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.android.FlutterTextureView
|
||||
import io.flutter.embedding.android.RenderMode
|
||||
import io.flutter.embedding.android.TransparencyMode
|
||||
import io.flutter.embedding.engine.FlutterEngine
|
||||
@@ -119,6 +124,38 @@ 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 {
|
||||
original.onSurfaceTextureSizeChanged(surface, w, h)
|
||||
}
|
||||
handler.post(pendingResize!!)
|
||||
}
|
||||
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())
|
||||
@@ -265,11 +302,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,16 +77,6 @@ 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"
|
||||
|
||||
@@ -95,6 +89,18 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
|
||||
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 +110,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 +119,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
|
||||
|
||||
@@ -142,6 +145,8 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
|
||||
|
||||
// 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
|
||||
@@ -155,8 +160,6 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
|
||||
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 fun emitLog(level: String, prefix: String, message: String) {
|
||||
when (level) {
|
||||
@@ -222,7 +225,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 {
|
||||
@@ -323,7 +326,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 +355,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 +383,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 +404,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 +418,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 +432,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!!)
|
||||
@@ -602,7 +612,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 +652,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 +660,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 +687,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
|
||||
|
||||
@@ -976,11 +989,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,165 +1016,6 @@ 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)
|
||||
@@ -1169,23 +1027,6 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
|
||||
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 +1085,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"
|
||||
)
|
||||
}
|
||||
@@ -1342,40 +1183,35 @@ 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
|
||||
selectedAudioTrackId = null
|
||||
selectedSubtitleTrackId = null
|
||||
pendingRestoredAudioTrackId = null
|
||||
pendingRestoredSubtitleTrackId = null
|
||||
tunnelingCorrectionInProgress = false
|
||||
lastTunnelingCorrectionTarget = null
|
||||
lastTunnelingCorrectionAtMs = 0L
|
||||
reapplySubtitleStyleOnNextReady = false
|
||||
tunnelingDisabledForAudioCodec = false
|
||||
tunnelingDisabledForVideoCodec = false
|
||||
currentTunneledPlayback = false
|
||||
currentTunneledPlayback = tunnelingUserEnabled
|
||||
pendingStartPositionMs = startPositionMs
|
||||
applyTunnelingMode(false)
|
||||
trackSelector?.setParameters(
|
||||
trackSelector!!.buildUponParameters().setTunnelingEnabled(tunnelingUserEnabled)
|
||||
)
|
||||
emitSeekable(false, force = true)
|
||||
|
||||
if (isLive) {
|
||||
// Live MKV streams lack Cues (seek index). FLAG_DISABLE_SEEK_FOR_CUES tells
|
||||
// MatroskaExtractor to not seek for them, treating the stream as unseekable
|
||||
// so data flows immediately without hanging.
|
||||
val dataSourceFactory = if (!headers.isNullOrEmpty()) {
|
||||
DefaultDataSource.Factory(activity,
|
||||
androidx.media3.datasource.DefaultHttpDataSource.Factory()
|
||||
.setDefaultRequestProperties(headers))
|
||||
} else {
|
||||
DefaultDataSource.Factory(activity)
|
||||
}
|
||||
|
||||
// Headers already applied to httpDataSourceFactory above.
|
||||
val extractorsFactory = androidx.media3.extractor.ExtractorsFactory {
|
||||
arrayOf(MatroskaExtractor(MatroskaExtractor.FLAG_DISABLE_SEEK_FOR_CUES))
|
||||
}
|
||||
|
||||
val mediaSource = ProgressiveMediaSource.Factory(dataSourceFactory, extractorsFactory)
|
||||
val mediaSource = ProgressiveMediaSource.Factory(dataSourceFactory!!, extractorsFactory)
|
||||
.createMediaSource(MediaItem.fromUri(uri))
|
||||
|
||||
exoPlayer?.apply {
|
||||
@@ -1567,15 +1403,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)
|
||||
@@ -1711,7 +1538,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),
|
||||
@@ -1763,6 +1590,7 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
|
||||
fun dispose() {
|
||||
if (disposing) return
|
||||
disposing = true
|
||||
check(Looper.myLooper() == Looper.getMainLooper())
|
||||
Log.d(TAG, "Disposing")
|
||||
|
||||
stopFrameWatchdog()
|
||||
@@ -1779,11 +1607,6 @@ 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
|
||||
@@ -1791,36 +1614,46 @@ class ExoPlayerCore(private val activity: Activity) : Player.Listener {
|
||||
selectedAudioTrackId = null
|
||||
selectedSubtitleTrackId = null
|
||||
selectedExternalSubtitleIndex = null
|
||||
reapplySubtitleStyleOnNextReady = false
|
||||
exoPlayer?.clearVideoSurface()
|
||||
exoPlayer?.removeListener(this)
|
||||
exoPlayer?.release()
|
||||
exoPlayer = null
|
||||
trackSelector = null
|
||||
httpDataSourceFactory = null
|
||||
dataSourceFactory = null
|
||||
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")
|
||||
@@ -161,6 +169,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 +202,7 @@ class ExoPlayerPlugin : FlutterPlugin, MethodChannel.MethodCallHandler,
|
||||
|
||||
private fun handleDispose(result: MethodChannel.Result) {
|
||||
activity?.runOnUiThread {
|
||||
sessionGeneration++
|
||||
playerCore?.dispose()
|
||||
playerCore = null
|
||||
mpvCore?.dispose()
|
||||
@@ -208,8 +226,11 @@ class ExoPlayerPlugin : FlutterPlugin, MethodChannel.MethodCallHandler,
|
||||
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) {
|
||||
@@ -224,7 +245,9 @@ class ExoPlayerPlugin : FlutterPlugin, MethodChannel.MethodCallHandler,
|
||||
val optionsStr = options.joinToString(",")
|
||||
// Convert content:// URIs to fdclose:// for MPV (SAF SD card downloads)
|
||||
val mpvUri = openContentFd(uri)?.let { "fdclose://$it" } ?: uri
|
||||
mpvCore?.command(arrayOf("loadfile", mpvUri, "replace", "-1", optionsStr))
|
||||
mpvCore?.runOnExecutor {
|
||||
mpvCore?.command(arrayOf("loadfile", mpvUri, "replace", "-1", optionsStr))
|
||||
}
|
||||
} else {
|
||||
playerCore?.open(uri, headers, startPositionMs, autoPlay, isLive)
|
||||
}
|
||||
@@ -235,7 +258,7 @@ class ExoPlayerPlugin : FlutterPlugin, MethodChannel.MethodCallHandler,
|
||||
private fun handlePlay(result: MethodChannel.Result) {
|
||||
activity?.runOnUiThread {
|
||||
if (usingMpvFallback) {
|
||||
mpvCore?.setProperty("pause", "no")
|
||||
mpvCore?.runOnExecutor { mpvCore?.setProperty("pause", "no") }
|
||||
} else {
|
||||
playerCore?.play()
|
||||
}
|
||||
@@ -246,7 +269,7 @@ class ExoPlayerPlugin : FlutterPlugin, MethodChannel.MethodCallHandler,
|
||||
private fun handlePause(result: MethodChannel.Result) {
|
||||
activity?.runOnUiThread {
|
||||
if (usingMpvFallback) {
|
||||
mpvCore?.setProperty("pause", "yes")
|
||||
mpvCore?.runOnExecutor { mpvCore?.setProperty("pause", "yes") }
|
||||
} else {
|
||||
playerCore?.pause()
|
||||
}
|
||||
@@ -257,8 +280,10 @@ class ExoPlayerPlugin : FlutterPlugin, MethodChannel.MethodCallHandler,
|
||||
private fun handleStop(result: MethodChannel.Result) {
|
||||
activity?.runOnUiThread {
|
||||
if (usingMpvFallback) {
|
||||
mpvCore?.command(arrayOf("stop"))
|
||||
mpvCore?.setVisible(false)
|
||||
mpvCore?.runOnExecutor {
|
||||
mpvCore?.command(arrayOf("stop"))
|
||||
mpvCore?.setVisible(false)
|
||||
}
|
||||
} else {
|
||||
playerCore?.stop()
|
||||
}
|
||||
@@ -277,7 +302,9 @@ class ExoPlayerPlugin : FlutterPlugin, MethodChannel.MethodCallHandler,
|
||||
activity?.runOnUiThread {
|
||||
if (usingMpvFallback) {
|
||||
val positionSeconds = positionMs / 1000.0
|
||||
mpvCore?.command(arrayOf("seek", positionSeconds.toString(), "absolute"))
|
||||
mpvCore?.runOnExecutor {
|
||||
mpvCore?.command(arrayOf("seek", positionSeconds.toString(), "absolute"))
|
||||
}
|
||||
} else {
|
||||
playerCore?.seekTo(positionMs)
|
||||
}
|
||||
@@ -295,7 +322,7 @@ class ExoPlayerPlugin : FlutterPlugin, MethodChannel.MethodCallHandler,
|
||||
|
||||
activity?.runOnUiThread {
|
||||
if (usingMpvFallback) {
|
||||
mpvCore?.setProperty("volume", volume.toString())
|
||||
mpvCore?.runOnExecutor { mpvCore?.setProperty("volume", volume.toString()) }
|
||||
} else {
|
||||
playerCore?.setVolume(volume / 100f) // Convert 0-100 to 0-1
|
||||
}
|
||||
@@ -313,7 +340,7 @@ class ExoPlayerPlugin : FlutterPlugin, MethodChannel.MethodCallHandler,
|
||||
|
||||
activity?.runOnUiThread {
|
||||
if (usingMpvFallback) {
|
||||
mpvCore?.setProperty("speed", rate.toString())
|
||||
mpvCore?.runOnExecutor { mpvCore?.setProperty("speed", rate.toString()) }
|
||||
} else {
|
||||
playerCore?.setPlaybackSpeed(rate)
|
||||
}
|
||||
@@ -333,7 +360,7 @@ class ExoPlayerPlugin : FlutterPlugin, MethodChannel.MethodCallHandler,
|
||||
if (usingMpvFallback) {
|
||||
// MPV uses numeric track IDs - extract from string format
|
||||
val numericId = trackId.split("_").lastOrNull()?.toIntOrNull() ?: 1
|
||||
mpvCore?.setProperty("aid", numericId.toString())
|
||||
mpvCore?.runOnExecutor { mpvCore?.setProperty("aid", numericId.toString()) }
|
||||
} else {
|
||||
playerCore?.selectAudioTrack(trackId)
|
||||
}
|
||||
@@ -347,11 +374,13 @@ class ExoPlayerPlugin : FlutterPlugin, MethodChannel.MethodCallHandler,
|
||||
// trackId can be null or "no" to disable subtitles
|
||||
activity?.runOnUiThread {
|
||||
if (usingMpvFallback) {
|
||||
if (trackId == null || trackId == "no") {
|
||||
mpvCore?.setProperty("sid", "no")
|
||||
} else {
|
||||
val numericId = trackId.split("_").lastOrNull()?.toIntOrNull() ?: 1
|
||||
mpvCore?.setProperty("sid", numericId.toString())
|
||||
mpvCore?.runOnExecutor {
|
||||
if (trackId == null || trackId == "no") {
|
||||
mpvCore?.setProperty("sid", "no")
|
||||
} else {
|
||||
val numericId = trackId.split("_").lastOrNull()?.toIntOrNull() ?: 1
|
||||
mpvCore?.setProperty("sid", numericId.toString())
|
||||
}
|
||||
}
|
||||
} else {
|
||||
playerCore?.selectSubtitleTrack(trackId)
|
||||
@@ -375,7 +404,9 @@ class ExoPlayerPlugin : FlutterPlugin, MethodChannel.MethodCallHandler,
|
||||
activity?.runOnUiThread {
|
||||
if (usingMpvFallback) {
|
||||
val selectFlag = if (select) "select" else "auto"
|
||||
mpvCore?.command(arrayOf("sub-add", uri, selectFlag, title ?: "External"))
|
||||
mpvCore?.runOnExecutor {
|
||||
mpvCore?.command(arrayOf("sub-add", uri, selectFlag, title ?: "External"))
|
||||
}
|
||||
} else {
|
||||
playerCore?.addSubtitleTrack(uri, title, language, mimeType, select)
|
||||
}
|
||||
@@ -484,7 +515,7 @@ class ExoPlayerPlugin : FlutterPlugin, MethodChannel.MethodCallHandler,
|
||||
}
|
||||
|
||||
if (usingMpvFallback) {
|
||||
mpvCore?.setProperty(name, value)
|
||||
mpvCore?.runOnExecutor { mpvCore?.setProperty(name, value) }
|
||||
} else {
|
||||
// Store for later application if ExoPlayer falls back to MPV
|
||||
pendingMpvProperties.add(Pair(name, value))
|
||||
@@ -493,16 +524,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) {
|
||||
mpvCore?.runOnExecutor {
|
||||
val stats = getMpvStats()
|
||||
activity?.runOnUiThread { result.success(stats) }
|
||||
} ?: result.success(mapOf("playerType" to "mpv"))
|
||||
} else {
|
||||
activity?.runOnUiThread {
|
||||
val coreStats = playerCore?.getStats() ?: emptyMap()
|
||||
coreStats + mapOf("playerType" to "exoplayer")
|
||||
}
|
||||
result.success(stats)
|
||||
} ?: result.success(mapOf("playerType" to "unknown"))
|
||||
result.success(coreStats + mapOf("playerType" to "exoplayer"))
|
||||
} ?: result.success(mapOf("playerType" to "unknown"))
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -576,7 +608,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 +617,7 @@ class ExoPlayerPlugin : FlutterPlugin, MethodChannel.MethodCallHandler,
|
||||
"name" to name
|
||||
)
|
||||
data?.let { event["data"] = it }
|
||||
eventSink?.success(event)
|
||||
mainHandler.post { eventSink?.success(event) }
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -593,11 +625,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 +671,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
|
||||
}
|
||||
core.runOnExecutor {
|
||||
// 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.
|
||||
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")
|
||||
}
|
||||
|
||||
// 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)
|
||||
}
|
||||
}
|
||||
@@ -115,7 +115,7 @@ class MpvPlayerCore(private val activity: Activity) :
|
||||
}
|
||||
},
|
||||
isPaused = {
|
||||
try { MPVLib.getPropertyBoolean("pause") }
|
||||
try { MPVLib.getPropertyBoolean("pause") == true }
|
||||
catch (e: Exception) { true }
|
||||
}
|
||||
)
|
||||
@@ -124,7 +124,7 @@ class MpvPlayerCore(private val activity: Activity) :
|
||||
handler = handler,
|
||||
onDisplayChanged = {
|
||||
try {
|
||||
if (MPVLib.getPropertyBoolean("pause")) {
|
||||
if (MPVLib.getPropertyBoolean("pause") == true) {
|
||||
Log.d(TAG, "Display changed, resuming playback")
|
||||
MPVLib.setPropertyBoolean("pause", false)
|
||||
}
|
||||
@@ -361,15 +361,22 @@ class MpvPlayerCore(private val activity: Activity) :
|
||||
}
|
||||
|
||||
override fun event(eventId: Int) {
|
||||
val eventName = when (eventId) {
|
||||
MPVLib.MPV_EVENT_FILE_LOADED -> "file-loaded"
|
||||
MPVLib.MPV_EVENT_END_FILE -> "end-file"
|
||||
MPVLib.MPV_EVENT_PLAYBACK_RESTART -> "playback-restart"
|
||||
else -> null
|
||||
}
|
||||
eventName?.let { name ->
|
||||
activity.runOnUiThread {
|
||||
delegate?.onEvent(name, null)
|
||||
if (disposing) return
|
||||
when (eventId) {
|
||||
MPVLib.MPV_EVENT_END_FILE -> {
|
||||
val eofReached = try { MPVLib.getPropertyBoolean("eof-reached") == true } catch (_: Exception) { false }
|
||||
val data: Map<String, Any>? = if (eofReached) {
|
||||
mapOf("reason" to 0) // EOF
|
||||
} else {
|
||||
null // Could be stop, quit, or error — no way to distinguish from JNI
|
||||
}
|
||||
activity.runOnUiThread { delegate?.onEvent("end-file", data) }
|
||||
}
|
||||
MPVLib.MPV_EVENT_FILE_LOADED -> {
|
||||
activity.runOnUiThread { delegate?.onEvent("file-loaded", null) }
|
||||
}
|
||||
MPVLib.MPV_EVENT_PLAYBACK_RESTART -> {
|
||||
activity.runOnUiThread { delegate?.onEvent("playback-restart", null) }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -432,17 +439,22 @@ class MpvPlayerCore(private val activity: Activity) :
|
||||
* This prevents ANR when mpv_get_property blocks waiting for internal locks.
|
||||
*/
|
||||
fun getPropertyAsync(name: String, result: MethodChannel.Result) {
|
||||
if (!isInitialized) {
|
||||
if (!isInitialized || disposing) {
|
||||
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) }
|
||||
try {
|
||||
commandExecutor.execute {
|
||||
try {
|
||||
val value = MPVLib.getPropertyString(name)
|
||||
activity.runOnUiThread { result.success(value) }
|
||||
} catch (e: Exception) {
|
||||
activity.runOnUiThread { result.success(null) }
|
||||
}
|
||||
}
|
||||
} catch (e: java.util.concurrent.RejectedExecutionException) {
|
||||
Log.w(TAG, "getPropertyAsync rejected (executor shut down)")
|
||||
result.success(null)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -451,18 +463,23 @@ class MpvPlayerCore(private val activity: Activity) :
|
||||
* This prevents ANR when mpv_set_property blocks waiting for internal locks.
|
||||
*/
|
||||
fun setPropertyAsync(name: String, value: String, result: MethodChannel.Result) {
|
||||
if (!isInitialized) {
|
||||
if (!isInitialized || disposing) {
|
||||
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) }
|
||||
try {
|
||||
commandExecutor.execute {
|
||||
try {
|
||||
MPVLib.setPropertyString(name, value)
|
||||
activity.runOnUiThread { result.success(null) }
|
||||
} catch (e: Exception) {
|
||||
Log.e(TAG, "Async setProperty failed: ${e.message}", e)
|
||||
activity.runOnUiThread { result.success(null) }
|
||||
}
|
||||
}
|
||||
} catch (e: java.util.concurrent.RejectedExecutionException) {
|
||||
Log.w(TAG, "setPropertyAsync rejected (executor shut down)")
|
||||
result.success(null)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -471,7 +488,7 @@ class MpvPlayerCore(private val activity: Activity) :
|
||||
* This prevents ANR when mpv_observe_property blocks waiting for internal locks.
|
||||
*/
|
||||
fun observePropertyAsync(name: String, format: String, result: MethodChannel.Result) {
|
||||
if (!isInitialized) {
|
||||
if (!isInitialized || disposing) {
|
||||
result.success(null)
|
||||
return
|
||||
}
|
||||
@@ -482,14 +499,19 @@ class MpvPlayerCore(private val activity: Activity) :
|
||||
"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) }
|
||||
try {
|
||||
commandExecutor.execute {
|
||||
try {
|
||||
MPVLib.observeProperty(name, mpvFormat)
|
||||
activity.runOnUiThread { result.success(null) }
|
||||
} catch (e: Exception) {
|
||||
Log.e(TAG, "Async observeProperty failed: ${e.message}", e)
|
||||
activity.runOnUiThread { result.success(null) }
|
||||
}
|
||||
}
|
||||
} catch (e: java.util.concurrent.RejectedExecutionException) {
|
||||
Log.w(TAG, "observePropertyAsync rejected (executor shut down)")
|
||||
result.success(null)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -498,7 +520,12 @@ class MpvPlayerCore(private val activity: Activity) :
|
||||
* Used by the plugin for I/O operations that shouldn't block the main thread.
|
||||
*/
|
||||
fun runOnExecutor(block: () -> Unit) {
|
||||
commandExecutor.execute(block)
|
||||
if (disposing) return
|
||||
try {
|
||||
commandExecutor.execute(block)
|
||||
} catch (e: java.util.concurrent.RejectedExecutionException) {
|
||||
Log.w(TAG, "runOnExecutor rejected (executor shut down)")
|
||||
}
|
||||
}
|
||||
|
||||
fun command(args: Array<String>) {
|
||||
@@ -512,23 +539,28 @@ class MpvPlayerCore(private val activity: Activity) :
|
||||
* The result is called back on the UI thread when the command completes.
|
||||
*/
|
||||
fun commandAsync(args: Array<String>, result: MethodChannel.Result) {
|
||||
if (!isInitialized || args.isEmpty()) {
|
||||
if (!isInitialized || disposing || args.isEmpty()) {
|
||||
result.success(null)
|
||||
return
|
||||
}
|
||||
|
||||
commandExecutor.execute {
|
||||
try {
|
||||
MPVLib.command(args)
|
||||
activity.runOnUiThread {
|
||||
result.success(null)
|
||||
}
|
||||
} catch (e: Exception) {
|
||||
Log.e(TAG, "Async command failed: ${e.message}", e)
|
||||
activity.runOnUiThread {
|
||||
result.error("COMMAND_FAILED", e.message, null)
|
||||
try {
|
||||
commandExecutor.execute {
|
||||
try {
|
||||
MPVLib.command(args)
|
||||
activity.runOnUiThread {
|
||||
result.success(null)
|
||||
}
|
||||
} catch (e: Exception) {
|
||||
Log.e(TAG, "Async command failed: ${e.message}", e)
|
||||
activity.runOnUiThread {
|
||||
result.error("COMMAND_FAILED", e.message, null)
|
||||
}
|
||||
}
|
||||
}
|
||||
} catch (e: java.util.concurrent.RejectedExecutionException) {
|
||||
Log.w(TAG, "commandAsync rejected (executor shut down)")
|
||||
result.success(null)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -563,6 +595,7 @@ class MpvPlayerCore(private val activity: Activity) :
|
||||
return
|
||||
}
|
||||
disposing = true
|
||||
check(Looper.myLooper() == Looper.getMainLooper())
|
||||
Log.d(TAG, "Disposing")
|
||||
|
||||
// Shutdown command executor
|
||||
@@ -584,27 +617,35 @@ class MpvPlayerCore(private val activity: Activity) :
|
||||
}
|
||||
}
|
||||
|
||||
// Capture locals for deferred cleanup
|
||||
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
|
||||
|
||||
// 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
|
||||
|
||||
// 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(this)
|
||||
if (container?.parent != null) {
|
||||
contentView.removeView(container)
|
||||
}
|
||||
}
|
||||
|
||||
// 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.
|
||||
|
||||
@@ -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: [
|
||||
|
||||
@@ -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(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?;
|
||||
|
||||
+641
-256
File diff suppressed because it is too large
Load Diff
+12
-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?",
|
||||
@@ -178,6 +176,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 +211,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 +246,6 @@
|
||||
"skipMarker": "Intro/Abspann überspringen"
|
||||
}
|
||||
},
|
||||
"pinEntry": {
|
||||
"enterPin": "PIN eingeben",
|
||||
"showPin": "PIN anzeigen",
|
||||
"hidePin": "PIN verbergen"
|
||||
},
|
||||
"fileInfo": {
|
||||
"title": "Dateiinfo",
|
||||
"video": "Video",
|
||||
@@ -318,7 +318,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,16 +334,12 @@
|
||||
"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",
|
||||
@@ -448,11 +443,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 +506,7 @@
|
||||
"playlists": "Wiedergabelisten"
|
||||
},
|
||||
"groupings": {
|
||||
"title": "Gruppierung",
|
||||
"all": "Alle",
|
||||
"movies": "Filme",
|
||||
"shows": "Serien",
|
||||
@@ -544,9 +537,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 +552,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 +567,8 @@
|
||||
"evening": "Abend",
|
||||
"lateNight": "Spätnacht",
|
||||
"whatsOn": "Jetzt im TV",
|
||||
"watchChannel": "Kanal ansehen"
|
||||
"watchChannel": "Kanal ansehen",
|
||||
"favorites": "Favoriten"
|
||||
},
|
||||
"downloads": {
|
||||
"title": "Downloads",
|
||||
@@ -829,7 +813,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",
|
||||
|
||||
+12
-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?",
|
||||
@@ -178,6 +176,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 +211,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 +246,6 @@
|
||||
"skipMarker": "Skip Intro/Credits"
|
||||
}
|
||||
},
|
||||
"pinEntry": {
|
||||
"enterPin": "Enter PIN",
|
||||
"showPin": "Show PIN",
|
||||
"hidePin": "Hide PIN"
|
||||
},
|
||||
"fileInfo": {
|
||||
"title": "File Info",
|
||||
"video": "Video",
|
||||
@@ -318,7 +318,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,16 +334,12 @@
|
||||
"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",
|
||||
@@ -448,11 +443,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 +506,7 @@
|
||||
"playlists": "Playlists"
|
||||
},
|
||||
"groupings": {
|
||||
"title": "Grouping",
|
||||
"all": "All",
|
||||
"movies": "Movies",
|
||||
"shows": "TV Shows",
|
||||
@@ -544,9 +537,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 +552,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 +567,8 @@
|
||||
"evening": "Evening",
|
||||
"lateNight": "Late Night",
|
||||
"whatsOn": "What's On",
|
||||
"watchChannel": "Watch Channel"
|
||||
"watchChannel": "Watch Channel",
|
||||
"favorites": "Favorites"
|
||||
},
|
||||
"collections": {
|
||||
"title": "Collections",
|
||||
@@ -829,7 +813,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",
|
||||
|
||||
+12
-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?",
|
||||
@@ -178,6 +176,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 +211,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 +246,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 +318,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,16 +334,12 @@
|
||||
"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",
|
||||
@@ -448,11 +443,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 +506,7 @@
|
||||
"playlists": "Listas"
|
||||
},
|
||||
"groupings": {
|
||||
"title": "Agrupación",
|
||||
"all": "Todo",
|
||||
"movies": "Películas",
|
||||
"shows": "Series",
|
||||
@@ -544,9 +537,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 +552,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 +567,8 @@
|
||||
"evening": "Noche",
|
||||
"lateNight": "Trasnoche",
|
||||
"whatsOn": "En emisión",
|
||||
"watchChannel": "Ver canal"
|
||||
"watchChannel": "Ver canal",
|
||||
"favorites": "Favoritos"
|
||||
},
|
||||
"collections": {
|
||||
"title": "Colecciones",
|
||||
@@ -829,7 +813,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",
|
||||
|
||||
+12
-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 ?",
|
||||
@@ -178,6 +176,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 +211,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 +246,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 +318,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,16 +334,12 @@
|
||||
"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",
|
||||
@@ -448,11 +443,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 +506,7 @@
|
||||
"playlists": "Playlists"
|
||||
},
|
||||
"groupings": {
|
||||
"title": "Regroupement",
|
||||
"all": "Tous",
|
||||
"movies": "Films",
|
||||
"shows": "Show TV",
|
||||
@@ -544,9 +537,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 +552,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 +567,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 +813,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é",
|
||||
|
||||
+12
-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?",
|
||||
@@ -178,6 +176,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 +211,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 +246,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 +318,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,16 +334,12 @@
|
||||
"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",
|
||||
@@ -448,11 +443,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 +506,7 @@
|
||||
"playlists": "Playlist"
|
||||
},
|
||||
"groupings": {
|
||||
"title": "Raggruppamento",
|
||||
"all": "Tutti",
|
||||
"movies": "Film",
|
||||
"shows": "Serie TV",
|
||||
@@ -544,9 +537,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 +552,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 +567,8 @@
|
||||
"evening": "Sera",
|
||||
"lateNight": "Notte tarda",
|
||||
"whatsOn": "In onda ora",
|
||||
"watchChannel": "Guarda canale"
|
||||
"watchChannel": "Guarda canale",
|
||||
"favorites": "Preferiti"
|
||||
},
|
||||
"downloads": {
|
||||
"title": "Download",
|
||||
@@ -829,7 +813,6 @@
|
||||
"playerCommand": "Comando",
|
||||
"playerPackage": "Nome pacchetto",
|
||||
"playerUrlScheme": "Schema URL",
|
||||
"customPlayer": "Lettore personalizzato",
|
||||
"off": "Disattivato",
|
||||
"launchFailed": "Impossibile aprire il lettore esterno",
|
||||
"appNotInstalled": "${name} non è installato",
|
||||
|
||||
+12
-29
@@ -30,7 +30,6 @@
|
||||
"shuffle": "シャッフル",
|
||||
"addTo": "追加...",
|
||||
"createNew": "新規作成",
|
||||
"remove": "削除",
|
||||
"paste": "貼り付け",
|
||||
"connect": "接続",
|
||||
"disconnect": "切断",
|
||||
@@ -44,7 +43,6 @@
|
||||
"settings": "設定",
|
||||
"mute": "ミュート",
|
||||
"ok": "OK",
|
||||
"loading": "読み込み中...",
|
||||
"reconnect": "再接続",
|
||||
"exitConfirmTitle": "アプリを終了しますか?",
|
||||
"exitConfirmMessage": "終了してもよろしいですか?",
|
||||
@@ -178,6 +176,11 @@
|
||||
"autoSkipCreditsDescription": "クレジットを自動的にスキップして次のエピソードを再生",
|
||||
"autoSkipDelay": "自動スキップの遅延",
|
||||
"autoSkipDelayDescription": "自動スキップまで${seconds}秒待機",
|
||||
"introPattern": "イントロマーカーパターン",
|
||||
"introPatternDescription": "チャプタータイトルのイントロマーカーに一致する正規表現パターン",
|
||||
"creditsPattern": "クレジットマーカーパターン",
|
||||
"creditsPatternDescription": "チャプタータイトルのクレジットマーカーに一致する正規表現パターン",
|
||||
"invalidRegex": "無効な正規表現",
|
||||
"downloads": "ダウンロード",
|
||||
"downloadLocationDescription": "ダウンロードコンテンツの保存場所を選択",
|
||||
"downloadLocationDefault": "デフォルト(アプリストレージ)",
|
||||
@@ -208,7 +211,9 @@
|
||||
"confirmExitOnBack": "終了前に確認",
|
||||
"confirmExitOnBackDescription": "戻るボタンでアプリを終了する際に確認ダイアログを表示",
|
||||
"showNavBarLabels": "ナビゲーションバーラベルを表示",
|
||||
"showNavBarLabelsDescription": "ナビゲーションバーアイコンの下にテキストラベルを表示"
|
||||
"showNavBarLabelsDescription": "ナビゲーションバーアイコンの下にテキストラベルを表示",
|
||||
"liveTvDefaultFavorites": "お気に入りチャンネルをデフォルトに",
|
||||
"liveTvDefaultFavoritesDescription": "ライブTV を開いたときにお気に入りチャンネルのみ表示"
|
||||
},
|
||||
"search": {
|
||||
"hint": "映画、番組、音楽を検索...",
|
||||
@@ -241,11 +246,6 @@
|
||||
"skipMarker": "イントロ/クレジットをスキップ"
|
||||
}
|
||||
},
|
||||
"pinEntry": {
|
||||
"enterPin": "PINを入力",
|
||||
"showPin": "PINを表示",
|
||||
"hidePin": "PINを非表示"
|
||||
},
|
||||
"fileInfo": {
|
||||
"title": "ファイル情報",
|
||||
"video": "映像",
|
||||
@@ -318,7 +318,6 @@
|
||||
"unlockRotation": "回転のロックを解除",
|
||||
"timerActive": "タイマー動作中",
|
||||
"playbackWillPauseIn": "再生は${duration}後に一時停止します",
|
||||
"sleepTimerCompleted": "スリープタイマー完了 - 再生を一時停止しました",
|
||||
"stillWatching": "まだ視聴中ですか?",
|
||||
"pausingIn": "${seconds}秒後に一時停止",
|
||||
"continueWatching": "続ける",
|
||||
@@ -335,16 +334,12 @@
|
||||
"muteButton": "ミュート",
|
||||
"unmuteButton": "ミュート解除",
|
||||
"settingsButton": "動画設定",
|
||||
"audioTrackButton": "音声トラック",
|
||||
"subtitlesButton": "字幕",
|
||||
"tracksButton": "音声と字幕",
|
||||
"chaptersButton": "チャプター",
|
||||
"versionsButton": "動画バージョン",
|
||||
"pipButton": "ピクチャーインピクチャーモード",
|
||||
"aspectRatioButton": "アスペクト比",
|
||||
"ambientLighting": "アンビエントライティング",
|
||||
"ambientLightingOn": "アンビエントライティングを有効化",
|
||||
"ambientLightingOff": "アンビエントライティングを無効化",
|
||||
"fullscreenButton": "フルスクリーンに入る",
|
||||
"exitFullscreenButton": "フルスクリーンを終了",
|
||||
"alwaysOnTopButton": "常に前面に表示",
|
||||
@@ -448,11 +443,8 @@
|
||||
"overview": "あらすじ",
|
||||
"cast": "キャスト",
|
||||
"extras": "予告編とエクストラ",
|
||||
"seasons": "シーズン",
|
||||
"studio": "スタジオ",
|
||||
"rating": "評価",
|
||||
"episodeCount": "${count}エピソード",
|
||||
"watchedProgress": "${watched}/${total}視聴済み",
|
||||
"movie": "映画",
|
||||
"tvShow": "テレビ番組",
|
||||
"minutesLeft": "残り${minutes}分"
|
||||
@@ -514,6 +506,7 @@
|
||||
"playlists": "プレイリスト"
|
||||
},
|
||||
"groupings": {
|
||||
"title": "グループ",
|
||||
"all": "すべて",
|
||||
"movies": "映画",
|
||||
"shows": "テレビ番組",
|
||||
@@ -544,9 +537,7 @@
|
||||
"logs": {
|
||||
"clearLogs": "ログをクリア",
|
||||
"copyLogs": "ログをコピー",
|
||||
"uploadLogs": "ログをアップロード",
|
||||
"error": "エラー:",
|
||||
"stackTrace": "スタックトレース:"
|
||||
"uploadLogs": "ログをアップロード"
|
||||
},
|
||||
"licenses": {
|
||||
"relatedPackages": "関連パッケージ",
|
||||
@@ -561,20 +552,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 +567,8 @@
|
||||
"evening": "夕方",
|
||||
"lateNight": "深夜",
|
||||
"whatsOn": "放送中",
|
||||
"watchChannel": "チャンネルを視聴"
|
||||
"watchChannel": "チャンネルを視聴",
|
||||
"favorites": "お気に入り"
|
||||
},
|
||||
"collections": {
|
||||
"title": "コレクション",
|
||||
@@ -829,7 +813,6 @@
|
||||
"playerCommand": "コマンド",
|
||||
"playerPackage": "パッケージ名",
|
||||
"playerUrlScheme": "URLスキーム",
|
||||
"customPlayer": "カスタムプレーヤー",
|
||||
"off": "オフ",
|
||||
"launchFailed": "外部プレーヤーの起動に失敗しました",
|
||||
"appNotInstalled": "${name}がインストールされていません",
|
||||
|
||||
+12
-29
@@ -30,7 +30,6 @@
|
||||
"shuffle": "무작위 재생",
|
||||
"addTo": "추가하기...",
|
||||
"createNew": "새로 만들기",
|
||||
"remove": "삭제",
|
||||
"paste": "붙여넣기",
|
||||
"connect": "연결",
|
||||
"disconnect": "연결 해제",
|
||||
@@ -44,7 +43,6 @@
|
||||
"settings": "설정",
|
||||
"mute": "음소거",
|
||||
"ok": "확인",
|
||||
"loading": "로딩 중...",
|
||||
"reconnect": "다시 연결",
|
||||
"exitConfirmTitle": "앱을 종료하시겠습니까?",
|
||||
"exitConfirmMessage": "정말 종료하시겠습니까?",
|
||||
@@ -178,6 +176,11 @@
|
||||
"autoSkipCreditsDescription": "엔딩 크레딧 자동 건너뛰기 후 다음 에피소드 재생",
|
||||
"autoSkipDelay": "자동 건너뛰기 지연",
|
||||
"autoSkipDelayDescription": "자동 건너뛰기 전 ${seconds} 초 대기",
|
||||
"introPattern": "인트로 마커 패턴",
|
||||
"introPatternDescription": "챕터 제목에서 인트로 마커를 인식하는 정규식 패턴",
|
||||
"creditsPattern": "크레딧 마커 패턴",
|
||||
"creditsPatternDescription": "챕터 제목에서 크레딧 마커를 인식하는 정규식 패턴",
|
||||
"invalidRegex": "잘못된 정규식",
|
||||
"downloads": "다운로드",
|
||||
"downloadLocationDescription": "다운로드 콘텐츠 저장 위치 선택",
|
||||
"downloadLocationDefault": "기본값 (앱 저장소)",
|
||||
@@ -208,7 +211,9 @@
|
||||
"confirmExitOnBack": "종료 전 확인",
|
||||
"confirmExitOnBackDescription": "뒤로 버튼을 눌러 앱을 종료할 때 확인 대화상자를 표시합니다",
|
||||
"showNavBarLabels": "내비게이션 바 라벨 표시",
|
||||
"showNavBarLabelsDescription": "내비게이션 바 아이콘 아래에 텍스트 라벨을 표시합니다"
|
||||
"showNavBarLabelsDescription": "내비게이션 바 아이콘 아래에 텍스트 라벨을 표시합니다",
|
||||
"liveTvDefaultFavorites": "즐겨찾기 채널 기본 설정",
|
||||
"liveTvDefaultFavoritesDescription": "라이브 TV를 열 때 즐겨찾기 채널만 표시"
|
||||
},
|
||||
"search": {
|
||||
"hint": "영화, 시리즈, 음악 등을 검색하세요...",
|
||||
@@ -241,11 +246,6 @@
|
||||
"skipMarker": "인트로/크레딧 건너뛰기"
|
||||
}
|
||||
},
|
||||
"pinEntry": {
|
||||
"enterPin": "PIN 입력",
|
||||
"showPin": "PIN 표시",
|
||||
"hidePin": "PIN 숨기기"
|
||||
},
|
||||
"fileInfo": {
|
||||
"title": "파일 정보",
|
||||
"video": "비디오",
|
||||
@@ -318,7 +318,6 @@
|
||||
"unlockRotation": "회전 잠금 해제",
|
||||
"timerActive": "타이머 활성화됨",
|
||||
"playbackWillPauseIn": "재생이 ${duration} 후에 일시 중지 됩니다",
|
||||
"sleepTimerCompleted": "수면 타이머 완료됨 - 재생이 일시 중지되었습니다",
|
||||
"stillWatching": "아직 시청 중이신가요?",
|
||||
"pausingIn": "${seconds}초 후 일시 정지",
|
||||
"continueWatching": "계속",
|
||||
@@ -335,16 +334,12 @@
|
||||
"muteButton": "음소거",
|
||||
"unmuteButton": "음소거 해제",
|
||||
"settingsButton": "동영상 설정",
|
||||
"audioTrackButton": "음원 트랙",
|
||||
"subtitlesButton": "자막",
|
||||
"tracksButton": "오디오 및 자막",
|
||||
"chaptersButton": "챕터",
|
||||
"versionsButton": "동영상 버전",
|
||||
"pipButton": "픽처 인 픽처 모드",
|
||||
"aspectRatioButton": "화면비율",
|
||||
"ambientLighting": "주변 조명",
|
||||
"ambientLightingOn": "주변 조명 켜기",
|
||||
"ambientLightingOff": "주변 조명 끄기",
|
||||
"fullscreenButton": "전체화면",
|
||||
"exitFullscreenButton": "전체화면 종료",
|
||||
"alwaysOnTopButton": "창 최상위 고정",
|
||||
@@ -448,11 +443,8 @@
|
||||
"overview": "개요",
|
||||
"cast": "출연진",
|
||||
"extras": "예고편 및 부가영상",
|
||||
"seasons": "시즌 수",
|
||||
"studio": "제작사",
|
||||
"rating": "연령 등급",
|
||||
"episodeCount": "${count} 편",
|
||||
"watchedProgress": "${watched}/${total} 편 시청 완료",
|
||||
"movie": "영화",
|
||||
"tvShow": "TV 시리즈",
|
||||
"minutesLeft": "${minutes}분 남음"
|
||||
@@ -514,6 +506,7 @@
|
||||
"playlists": "재생 목록"
|
||||
},
|
||||
"groupings": {
|
||||
"title": "그룹",
|
||||
"all": "전체",
|
||||
"movies": "영화",
|
||||
"shows": "TV 프로그램",
|
||||
@@ -544,9 +537,7 @@
|
||||
"logs": {
|
||||
"clearLogs": "로그 지우기",
|
||||
"copyLogs": "로그 복사",
|
||||
"uploadLogs": "로그 업로드",
|
||||
"error": "오류:",
|
||||
"stackTrace": "스택 추적 (Stack Trace):"
|
||||
"uploadLogs": "로그 업로드"
|
||||
},
|
||||
"licenses": {
|
||||
"relatedPackages": "관련 소프트웨어 패키지",
|
||||
@@ -561,20 +552,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 +567,8 @@
|
||||
"evening": "저녁",
|
||||
"lateNight": "심야 방송",
|
||||
"whatsOn": "지금 방송 중",
|
||||
"watchChannel": "채널 시청"
|
||||
"watchChannel": "채널 시청",
|
||||
"favorites": "즐겨찾기"
|
||||
},
|
||||
"collections": {
|
||||
"title": "컬렉션",
|
||||
@@ -829,7 +813,6 @@
|
||||
"playerCommand": "명령어",
|
||||
"playerPackage": "패키지 이름",
|
||||
"playerUrlScheme": "URL 스킴",
|
||||
"customPlayer": "사용자 정의 플레이어",
|
||||
"off": "꺼짐",
|
||||
"launchFailed": "외부 플레이어를 열 수 없습니다",
|
||||
"appNotInstalled": "${name}이(가) 설치되어 있지 않습니다",
|
||||
|
||||
+12
-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?",
|
||||
@@ -178,6 +176,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 +211,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 +246,6 @@
|
||||
"skipMarker": "Hopp over intro/rulletekst"
|
||||
}
|
||||
},
|
||||
"pinEntry": {
|
||||
"enterPin": "Skriv inn PIN",
|
||||
"showPin": "Vis PIN",
|
||||
"hidePin": "Skjul PIN"
|
||||
},
|
||||
"fileInfo": {
|
||||
"title": "Filinformasjon",
|
||||
"video": "Video",
|
||||
@@ -318,7 +318,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,16 +334,12 @@
|
||||
"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",
|
||||
@@ -448,11 +443,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 +506,7 @@
|
||||
"playlists": "Spillelister"
|
||||
},
|
||||
"groupings": {
|
||||
"title": "Gruppering",
|
||||
"all": "Alle",
|
||||
"movies": "Filmer",
|
||||
"shows": "TV-serier",
|
||||
@@ -544,9 +537,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 +552,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 +567,8 @@
|
||||
"evening": "Kveld",
|
||||
"lateNight": "Sen kveld",
|
||||
"whatsOn": "Hva går nå",
|
||||
"watchChannel": "Se kanal"
|
||||
"watchChannel": "Se kanal",
|
||||
"favorites": "Favoritter"
|
||||
},
|
||||
"collections": {
|
||||
"title": "Samlinger",
|
||||
@@ -829,7 +813,6 @@
|
||||
"playerCommand": "Kommando",
|
||||
"playerPackage": "Pakkenavn",
|
||||
"playerUrlScheme": "URL-skjema",
|
||||
"customPlayer": "Egendefinert spiller",
|
||||
"off": "Av",
|
||||
"launchFailed": "Kunne ikke åpne ekstern spiller",
|
||||
"appNotInstalled": "${name} er ikke installert",
|
||||
|
||||
+12
-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?",
|
||||
@@ -178,6 +176,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 +211,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 +246,6 @@
|
||||
"skipMarker": "Intro/aftiteling overslaan"
|
||||
}
|
||||
},
|
||||
"pinEntry": {
|
||||
"enterPin": "Voer PIN in",
|
||||
"showPin": "Toon PIN",
|
||||
"hidePin": "Verberg PIN"
|
||||
},
|
||||
"fileInfo": {
|
||||
"title": "Bestand info",
|
||||
"video": "Video",
|
||||
@@ -318,7 +318,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,16 +334,12 @@
|
||||
"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",
|
||||
@@ -448,11 +443,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 +506,7 @@
|
||||
"playlists": "Afspeellijsten"
|
||||
},
|
||||
"groupings": {
|
||||
"title": "Groepering",
|
||||
"all": "Alles",
|
||||
"movies": "Films",
|
||||
"shows": "Series",
|
||||
@@ -544,9 +537,7 @@
|
||||
"logs": {
|
||||
"clearLogs": "Wis logs",
|
||||
"copyLogs": "Kopieer logs",
|
||||
"uploadLogs": "Logs uploaden",
|
||||
"error": "Fout:",
|
||||
"stackTrace": "Stacktracering:"
|
||||
"uploadLogs": "Logs uploaden"
|
||||
},
|
||||
"licenses": {
|
||||
"relatedPackages": "Gerelateerde pakketten",
|
||||
@@ -561,20 +552,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 +567,8 @@
|
||||
"evening": "Avond",
|
||||
"lateNight": "Late avond",
|
||||
"whatsOn": "Nu op TV",
|
||||
"watchChannel": "Kanaal bekijken"
|
||||
"watchChannel": "Kanaal bekijken",
|
||||
"favorites": "Favorieten"
|
||||
},
|
||||
"downloads": {
|
||||
"title": "Downloads",
|
||||
@@ -829,7 +813,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",
|
||||
|
||||
+12
-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ść?",
|
||||
@@ -178,6 +176,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 +211,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 +246,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 +318,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,16 +334,12 @@
|
||||
"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",
|
||||
@@ -448,11 +443,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 +506,7 @@
|
||||
"playlists": "Playlisty"
|
||||
},
|
||||
"groupings": {
|
||||
"title": "Grupowanie",
|
||||
"all": "Wszystkie",
|
||||
"movies": "Filmy",
|
||||
"shows": "Seriale TV",
|
||||
@@ -544,9 +537,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 +552,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 +567,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 +813,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",
|
||||
|
||||
+12
-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?",
|
||||
@@ -178,6 +176,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 +211,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 +246,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 +318,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,16 +334,12 @@
|
||||
"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",
|
||||
@@ -448,11 +443,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 +506,7 @@
|
||||
"playlists": "Playlists"
|
||||
},
|
||||
"groupings": {
|
||||
"title": "Agrupamento",
|
||||
"all": "Todos",
|
||||
"movies": "Filmes",
|
||||
"shows": "Séries de TV",
|
||||
@@ -544,9 +537,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 +552,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 +567,8 @@
|
||||
"evening": "Noite",
|
||||
"lateNight": "Madrugada",
|
||||
"whatsOn": "O que Está Passando",
|
||||
"watchChannel": "Assistir Canal"
|
||||
"watchChannel": "Assistir Canal",
|
||||
"favorites": "Favoritos"
|
||||
},
|
||||
"collections": {
|
||||
"title": "Coleções",
|
||||
@@ -829,7 +813,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",
|
||||
|
||||
+12
-29
@@ -30,7 +30,6 @@
|
||||
"shuffle": "Перемешать",
|
||||
"addTo": "Добавить в...",
|
||||
"createNew": "Создать новый",
|
||||
"remove": "Удалить",
|
||||
"paste": "Вставить",
|
||||
"connect": "Подключить",
|
||||
"disconnect": "Отключить",
|
||||
@@ -44,7 +43,6 @@
|
||||
"settings": "Настройки",
|
||||
"mute": "Без звука",
|
||||
"ok": "OK",
|
||||
"loading": "Загрузка...",
|
||||
"reconnect": "Переподключить",
|
||||
"exitConfirmTitle": "Выйти из приложения?",
|
||||
"exitConfirmMessage": "Вы уверены, что хотите выйти?",
|
||||
@@ -178,6 +176,11 @@
|
||||
"autoSkipCreditsDescription": "Автоматически пропускать титры и воспроизводить следующий эпизод",
|
||||
"autoSkipDelay": "Задержка автопропуска",
|
||||
"autoSkipDelayDescription": "Подождать ${seconds} секунд перед автопропуском",
|
||||
"introPattern": "Шаблон маркера вступления",
|
||||
"introPatternDescription": "Регулярное выражение для распознавания маркеров вступления в заголовках глав",
|
||||
"creditsPattern": "Шаблон маркера титров",
|
||||
"creditsPatternDescription": "Регулярное выражение для распознавания маркеров титров в заголовках глав",
|
||||
"invalidRegex": "Недопустимое регулярное выражение",
|
||||
"downloads": "Загрузки",
|
||||
"downloadLocationDescription": "Выберите место для хранения загруженного контента",
|
||||
"downloadLocationDefault": "По умолчанию (Хранилище приложения)",
|
||||
@@ -208,7 +211,9 @@
|
||||
"confirmExitOnBack": "Подтверждать выход",
|
||||
"confirmExitOnBackDescription": "Показывать диалог подтверждения при нажатии «назад» для выхода из приложения",
|
||||
"showNavBarLabels": "Показывать подписи панели навигации",
|
||||
"showNavBarLabelsDescription": "Отображать текстовые подписи под иконками панели навигации"
|
||||
"showNavBarLabelsDescription": "Отображать текстовые подписи под иконками панели навигации",
|
||||
"liveTvDefaultFavorites": "Избранные каналы по умолчанию",
|
||||
"liveTvDefaultFavoritesDescription": "Показывать только избранные каналы при открытии ТВ"
|
||||
},
|
||||
"search": {
|
||||
"hint": "Поиск фильмов, сериалов, музыки...",
|
||||
@@ -241,11 +246,6 @@
|
||||
"skipMarker": "Пропустить вступление/титры"
|
||||
}
|
||||
},
|
||||
"pinEntry": {
|
||||
"enterPin": "Введите PIN",
|
||||
"showPin": "Показать PIN",
|
||||
"hidePin": "Скрыть PIN"
|
||||
},
|
||||
"fileInfo": {
|
||||
"title": "Информация о файле",
|
||||
"video": "Видео",
|
||||
@@ -318,7 +318,6 @@
|
||||
"unlockRotation": "Разблокировать поворот",
|
||||
"timerActive": "Таймер активен",
|
||||
"playbackWillPauseIn": "Воспроизведение будет приостановлено через ${duration}",
|
||||
"sleepTimerCompleted": "Таймер сна завершён — воспроизведение приостановлено",
|
||||
"stillWatching": "Всё ещё смотрите?",
|
||||
"pausingIn": "Пауза через ${seconds}с",
|
||||
"continueWatching": "Продолжить",
|
||||
@@ -335,16 +334,12 @@
|
||||
"muteButton": "Без звука",
|
||||
"unmuteButton": "Включить звук",
|
||||
"settingsButton": "Настройки видео",
|
||||
"audioTrackButton": "Аудиодорожки",
|
||||
"subtitlesButton": "Субтитры",
|
||||
"tracksButton": "Аудио и субтитры",
|
||||
"chaptersButton": "Главы",
|
||||
"versionsButton": "Версии видео",
|
||||
"pipButton": "Режим «картинка в картинке»",
|
||||
"aspectRatioButton": "Соотношение сторон",
|
||||
"ambientLighting": "Фоновая подсветка",
|
||||
"ambientLightingOn": "Включить фоновую подсветку",
|
||||
"ambientLightingOff": "Выключить фоновую подсветку",
|
||||
"fullscreenButton": "Полноэкранный режим",
|
||||
"exitFullscreenButton": "Выйти из полноэкранного режима",
|
||||
"alwaysOnTopButton": "Всегда поверх",
|
||||
@@ -448,11 +443,8 @@
|
||||
"overview": "Обзор",
|
||||
"cast": "В ролях",
|
||||
"extras": "Трейлеры и доп. материалы",
|
||||
"seasons": "Сезоны",
|
||||
"studio": "Студия",
|
||||
"rating": "Рейтинг",
|
||||
"episodeCount": "${count} эпизодов",
|
||||
"watchedProgress": "${watched}/${total} просмотрено",
|
||||
"movie": "Фильм",
|
||||
"tvShow": "Сериал",
|
||||
"minutesLeft": "Осталось ${minutes} мин"
|
||||
@@ -514,6 +506,7 @@
|
||||
"playlists": "Плейлисты"
|
||||
},
|
||||
"groupings": {
|
||||
"title": "Группировка",
|
||||
"all": "Все",
|
||||
"movies": "Фильмы",
|
||||
"shows": "Сериалы",
|
||||
@@ -544,9 +537,7 @@
|
||||
"logs": {
|
||||
"clearLogs": "Очистить логи",
|
||||
"copyLogs": "Скопировать логи",
|
||||
"uploadLogs": "Загрузить логи",
|
||||
"error": "Ошибка:",
|
||||
"stackTrace": "Стек вызовов:"
|
||||
"uploadLogs": "Загрузить логи"
|
||||
},
|
||||
"licenses": {
|
||||
"relatedPackages": "Связанные пакеты",
|
||||
@@ -561,20 +552,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 +567,8 @@
|
||||
"evening": "Вечер",
|
||||
"lateNight": "Поздний вечер",
|
||||
"whatsOn": "Что идёт",
|
||||
"watchChannel": "Смотреть канал"
|
||||
"watchChannel": "Смотреть канал",
|
||||
"favorites": "Избранное"
|
||||
},
|
||||
"collections": {
|
||||
"title": "Коллекции",
|
||||
@@ -829,7 +813,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: 11880 (792 per locale)
|
||||
///
|
||||
/// Built on 2026-03-10 at 00:19 UTC
|
||||
/// Built on 2026-03-15 at 06:54 UTC
|
||||
|
||||
// coverage:ignore-file
|
||||
// ignore_for_file: type=lint, unused_import
|
||||
|
||||
+20
-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?';
|
||||
@@ -297,6 +294,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 +330,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 +359,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 +465,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,16 +481,12 @@ 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';
|
||||
@@ -637,11 +624,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 +748,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 +783,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 +799,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 +1028,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 +1166,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 +1305,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 +1318,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?',
|
||||
@@ -1472,6 +1445,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 +1481,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 +1508,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 +1571,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,16 +1587,12 @@ 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',
|
||||
@@ -1710,11 +1682,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 +1738,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 +1761,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 +1769,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,11 +1785,14 @@ extension on TranslationsDa {
|
||||
'liveTv.lateNight' => 'Sen aften',
|
||||
'liveTv.whatsOn' => 'Hvad der kører',
|
||||
'liveTv.watchChannel' => 'Se kanal',
|
||||
'liveTv.favorites' => 'Favoritter',
|
||||
'collections.title' => 'Samlinger',
|
||||
'collections.collection' => 'Samling',
|
||||
'collections.empty' => 'Samlingen er tom',
|
||||
'collections.unknownLibrarySection' => 'Kan ikke slette: Ukendt bibliotekssektion',
|
||||
'collections.deleteCollection' => 'Slet samling',
|
||||
_ => null,
|
||||
} ?? switch (path) {
|
||||
'collections.deleteConfirm' => ({required Object title}) => 'Er du sikker på, at du vil slette "${title}"? Denne handling kan ikke fortrydes.',
|
||||
'collections.deleted' => 'Samling slettet',
|
||||
'collections.deleteFailed' => 'Kunne ikke slette samling',
|
||||
@@ -2049,7 +2010,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',
|
||||
|
||||
+20
-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?';
|
||||
@@ -297,6 +294,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 +330,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 +359,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 +465,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,16 +481,12 @@ 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';
|
||||
@@ -637,11 +624,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 +748,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 +783,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 +799,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 +1028,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 +1166,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 +1305,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 +1318,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?',
|
||||
@@ -1472,6 +1445,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 +1481,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 +1508,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 +1571,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,16 +1587,12 @@ 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',
|
||||
@@ -1710,11 +1682,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 +1738,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 +1761,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 +1769,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,11 +1785,14 @@ extension on TranslationsDe {
|
||||
'liveTv.lateNight' => 'Spätnacht',
|
||||
'liveTv.whatsOn' => 'Jetzt im TV',
|
||||
'liveTv.watchChannel' => 'Kanal ansehen',
|
||||
'liveTv.favorites' => 'Favoriten',
|
||||
'downloads.title' => 'Downloads',
|
||||
'downloads.manage' => 'Verwalten',
|
||||
'downloads.tvShows' => 'Serien',
|
||||
'downloads.movies' => 'Filme',
|
||||
'downloads.noDownloads' => 'Noch keine Downloads',
|
||||
_ => null,
|
||||
} ?? switch (path) {
|
||||
'downloads.noDownloadsDescription' => 'Heruntergeladene Inhalte werden hier für die Offline-Wiedergabe angezeigt',
|
||||
'downloads.downloadNow' => 'Herunterladen',
|
||||
'downloads.deleteDownload' => 'Download löschen',
|
||||
@@ -2049,7 +2010,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',
|
||||
|
||||
+38
-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';
|
||||
|
||||
@@ -637,6 +630,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 +737,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 +783,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 +1016,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 +1064,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 +1082,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';
|
||||
|
||||
@@ -1403,21 +1384,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 +1644,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 +1696,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 +1705,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 +1743,9 @@ class TranslationsLiveTvEn {
|
||||
|
||||
/// en: 'Watch Channel'
|
||||
String get watchChannel => 'Watch Channel';
|
||||
|
||||
/// en: 'Favorites'
|
||||
String get favorites => 'Favorites';
|
||||
}
|
||||
|
||||
// Path: collections
|
||||
@@ -2337,9 +2282,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 +2606,9 @@ class TranslationsLibrariesGroupingsEn {
|
||||
|
||||
// Translations
|
||||
|
||||
/// en: 'Grouping'
|
||||
String get title => 'Grouping';
|
||||
|
||||
/// en: 'All'
|
||||
String get all => 'All';
|
||||
|
||||
@@ -2951,7 +2896,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 +2909,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?',
|
||||
@@ -3093,6 +3036,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 +3072,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 +3099,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 +3162,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,16 +3178,12 @@ 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',
|
||||
@@ -3331,11 +3273,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 +3329,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 +3352,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 +3360,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,11 +3376,14 @@ extension on Translations {
|
||||
'liveTv.lateNight' => 'Late Night',
|
||||
'liveTv.whatsOn' => 'What\'s On',
|
||||
'liveTv.watchChannel' => 'Watch Channel',
|
||||
'liveTv.favorites' => 'Favorites',
|
||||
'collections.title' => 'Collections',
|
||||
'collections.collection' => 'Collection',
|
||||
'collections.empty' => 'Collection is empty',
|
||||
'collections.unknownLibrarySection' => 'Cannot delete: Unknown library section',
|
||||
'collections.deleteCollection' => 'Delete Collection',
|
||||
_ => null,
|
||||
} ?? switch (path) {
|
||||
'collections.deleteConfirm' => ({required Object title}) => 'Are you sure you want to delete "${title}"? This action cannot be undone.',
|
||||
'collections.deleted' => 'Collection deleted',
|
||||
'collections.deleteFailed' => 'Failed to delete collection',
|
||||
@@ -3670,7 +3601,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',
|
||||
|
||||
+20
-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?';
|
||||
@@ -297,6 +294,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 +330,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 +359,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 +465,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,16 +481,12 @@ 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';
|
||||
@@ -637,11 +624,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 +748,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 +783,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 +799,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 +1028,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 +1166,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 +1305,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 +1318,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?',
|
||||
@@ -1472,6 +1445,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 +1481,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 +1508,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 +1571,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,16 +1587,12 @@ 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',
|
||||
@@ -1710,11 +1682,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 +1738,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 +1761,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 +1769,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,11 +1785,14 @@ extension on TranslationsEs {
|
||||
'liveTv.lateNight' => 'Trasnoche',
|
||||
'liveTv.whatsOn' => 'En emisión',
|
||||
'liveTv.watchChannel' => 'Ver canal',
|
||||
'liveTv.favorites' => 'Favoritos',
|
||||
'collections.title' => 'Colecciones',
|
||||
'collections.collection' => 'Colección',
|
||||
'collections.empty' => 'La colección está vacía',
|
||||
'collections.unknownLibrarySection' => 'No se puede eliminar: Sección de biblioteca desconocida',
|
||||
'collections.deleteCollection' => 'Eliminar Colección',
|
||||
_ => null,
|
||||
} ?? switch (path) {
|
||||
'collections.deleteConfirm' => ({required Object title}) => '¿Estás seguro de que quieres eliminar "${title}"? Esta acción no se puede deshacer.',
|
||||
'collections.deleted' => 'Colección eliminada',
|
||||
'collections.deleteFailed' => 'Error al eliminar la colección',
|
||||
@@ -2049,7 +2010,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',
|
||||
|
||||
+20
-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 ?';
|
||||
@@ -297,6 +294,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 +330,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 +359,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 +465,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,16 +481,12 @@ 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';
|
||||
@@ -637,11 +624,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 +748,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 +783,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 +799,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 +1028,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 +1166,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 +1305,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 +1318,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 ?',
|
||||
@@ -1472,6 +1445,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 +1481,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 +1508,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 +1571,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,16 +1587,12 @@ 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',
|
||||
@@ -1710,11 +1682,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 +1738,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 +1761,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 +1769,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,11 +1785,14 @@ extension on TranslationsFr {
|
||||
'liveTv.lateNight' => 'Nuit tardive',
|
||||
'liveTv.whatsOn' => 'En ce moment',
|
||||
'liveTv.watchChannel' => 'Regarder la chaîne',
|
||||
'liveTv.favorites' => 'Favoris',
|
||||
'collections.title' => 'Collections',
|
||||
'collections.collection' => 'Collection',
|
||||
'collections.empty' => 'La collection est vide',
|
||||
'collections.unknownLibrarySection' => 'Impossible de supprimer : section de bibliothèque inconnue',
|
||||
'collections.deleteCollection' => 'Supprimer la collection',
|
||||
_ => null,
|
||||
} ?? switch (path) {
|
||||
'collections.deleteConfirm' => ({required Object title}) => 'Êtes-vous sûr de vouloir supprimer "${title}" ? Cette action ne peut pas être annulée.',
|
||||
'collections.deleted' => 'Collection supprimée',
|
||||
'collections.deleteFailed' => 'Échec de la suppression de la collection',
|
||||
@@ -2049,7 +2010,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é',
|
||||
|
||||
+20
-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?';
|
||||
@@ -297,6 +294,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 +330,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 +359,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 +465,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,16 +481,12 @@ 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';
|
||||
@@ -637,11 +624,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 +748,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 +783,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 +799,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 +1028,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 +1166,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 +1305,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 +1318,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?',
|
||||
@@ -1472,6 +1445,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 +1481,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 +1508,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 +1571,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,16 +1587,12 @@ 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',
|
||||
@@ -1710,11 +1682,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 +1738,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 +1761,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 +1769,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,11 +1785,14 @@ extension on TranslationsIt {
|
||||
'liveTv.lateNight' => 'Notte tarda',
|
||||
'liveTv.whatsOn' => 'In onda ora',
|
||||
'liveTv.watchChannel' => 'Guarda canale',
|
||||
'liveTv.favorites' => 'Preferiti',
|
||||
'downloads.title' => 'Download',
|
||||
'downloads.manage' => 'Gestisci',
|
||||
'downloads.tvShows' => 'Serie TV',
|
||||
'downloads.movies' => 'Film',
|
||||
'downloads.noDownloads' => 'Nessun download',
|
||||
_ => null,
|
||||
} ?? switch (path) {
|
||||
'downloads.noDownloadsDescription' => 'I contenuti scaricati appariranno qui per la visualizzazione offline',
|
||||
'downloads.downloadNow' => 'Scarica',
|
||||
'downloads.deleteDownload' => 'Elimina download',
|
||||
@@ -2049,7 +2010,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',
|
||||
|
||||
+20
-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 => '終了してもよろしいですか?';
|
||||
@@ -297,6 +294,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 +330,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 +359,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 +465,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,16 +481,12 @@ 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 => '常に前面に表示';
|
||||
@@ -637,11 +624,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 +748,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 +783,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 +799,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 +1028,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 +1166,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 +1305,6 @@ extension on TranslationsJa {
|
||||
'common.shuffle' => 'シャッフル',
|
||||
'common.addTo' => '追加...',
|
||||
'common.createNew' => '新規作成',
|
||||
'common.remove' => '削除',
|
||||
'common.paste' => '貼り付け',
|
||||
'common.connect' => '接続',
|
||||
'common.disconnect' => '切断',
|
||||
@@ -1344,7 +1318,6 @@ extension on TranslationsJa {
|
||||
'common.settings' => '設定',
|
||||
'common.mute' => 'ミュート',
|
||||
'common.ok' => 'OK',
|
||||
'common.loading' => '読み込み中...',
|
||||
'common.reconnect' => '再接続',
|
||||
'common.exitConfirmTitle' => 'アプリを終了しますか?',
|
||||
'common.exitConfirmMessage' => '終了してもよろしいですか?',
|
||||
@@ -1472,6 +1445,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 +1481,8 @@ extension on TranslationsJa {
|
||||
'settings.confirmExitOnBackDescription' => '戻るボタンでアプリを終了する際に確認ダイアログを表示',
|
||||
'settings.showNavBarLabels' => 'ナビゲーションバーラベルを表示',
|
||||
'settings.showNavBarLabelsDescription' => 'ナビゲーションバーアイコンの下にテキストラベルを表示',
|
||||
'settings.liveTvDefaultFavorites' => 'お気に入りチャンネルをデフォルトに',
|
||||
'settings.liveTvDefaultFavoritesDescription' => 'ライブTV を開いたときにお気に入りチャンネルのみ表示',
|
||||
'search.hint' => '映画、番組、音楽を検索...',
|
||||
'search.tryDifferentTerm' => '別の検索語をお試しください',
|
||||
'search.searchYourMedia' => 'メディアを検索',
|
||||
@@ -1528,9 +1508,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 +1571,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,16 +1587,12 @@ 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' => '常に前面に表示',
|
||||
@@ -1710,11 +1682,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 +1738,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 +1761,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 +1769,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,11 +1785,14 @@ extension on TranslationsJa {
|
||||
'liveTv.lateNight' => '深夜',
|
||||
'liveTv.whatsOn' => '放送中',
|
||||
'liveTv.watchChannel' => 'チャンネルを視聴',
|
||||
'liveTv.favorites' => 'お気に入り',
|
||||
'collections.title' => 'コレクション',
|
||||
'collections.collection' => 'コレクション',
|
||||
'collections.empty' => 'コレクションは空です',
|
||||
'collections.unknownLibrarySection' => '削除できません:不明なライブラリセクション',
|
||||
'collections.deleteCollection' => 'コレクションを削除',
|
||||
_ => null,
|
||||
} ?? switch (path) {
|
||||
'collections.deleteConfirm' => ({required Object title}) => '"${title}"を削除してもよろしいですか?この操作は元に戻せません。',
|
||||
'collections.deleted' => 'コレクションを削除しました',
|
||||
'collections.deleteFailed' => 'コレクションの削除に失敗しました',
|
||||
@@ -2049,7 +2010,6 @@ extension on TranslationsJa {
|
||||
'externalPlayer.playerCommand' => 'コマンド',
|
||||
'externalPlayer.playerPackage' => 'パッケージ名',
|
||||
'externalPlayer.playerUrlScheme' => 'URLスキーム',
|
||||
'externalPlayer.customPlayer' => 'カスタムプレーヤー',
|
||||
'externalPlayer.off' => 'オフ',
|
||||
'externalPlayer.launchFailed' => '外部プレーヤーの起動に失敗しました',
|
||||
'externalPlayer.appNotInstalled' => ({required Object name}) => '${name}がインストールされていません',
|
||||
|
||||
+20
-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 => '정말 종료하시겠습니까?';
|
||||
@@ -297,6 +294,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 +330,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 +359,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 +465,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,16 +481,12 @@ 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 => '창 최상위 고정';
|
||||
@@ -637,11 +624,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 +748,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 +783,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 +799,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 +1028,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 +1166,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 +1305,6 @@ extension on TranslationsKo {
|
||||
'common.shuffle' => '무작위 재생',
|
||||
'common.addTo' => '추가하기...',
|
||||
'common.createNew' => '새로 만들기',
|
||||
'common.remove' => '삭제',
|
||||
'common.paste' => '붙여넣기',
|
||||
'common.connect' => '연결',
|
||||
'common.disconnect' => '연결 해제',
|
||||
@@ -1344,7 +1318,6 @@ extension on TranslationsKo {
|
||||
'common.settings' => '설정',
|
||||
'common.mute' => '음소거',
|
||||
'common.ok' => '확인',
|
||||
'common.loading' => '로딩 중...',
|
||||
'common.reconnect' => '다시 연결',
|
||||
'common.exitConfirmTitle' => '앱을 종료하시겠습니까?',
|
||||
'common.exitConfirmMessage' => '정말 종료하시겠습니까?',
|
||||
@@ -1472,6 +1445,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 +1481,8 @@ extension on TranslationsKo {
|
||||
'settings.confirmExitOnBackDescription' => '뒤로 버튼을 눌러 앱을 종료할 때 확인 대화상자를 표시합니다',
|
||||
'settings.showNavBarLabels' => '내비게이션 바 라벨 표시',
|
||||
'settings.showNavBarLabelsDescription' => '내비게이션 바 아이콘 아래에 텍스트 라벨을 표시합니다',
|
||||
'settings.liveTvDefaultFavorites' => '즐겨찾기 채널 기본 설정',
|
||||
'settings.liveTvDefaultFavoritesDescription' => '라이브 TV를 열 때 즐겨찾기 채널만 표시',
|
||||
'search.hint' => '영화, 시리즈, 음악 등을 검색하세요...',
|
||||
'search.tryDifferentTerm' => '다른 검색어를 시도해 보세요',
|
||||
'search.searchYourMedia' => '미디어 검색',
|
||||
@@ -1528,9 +1508,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 +1571,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,16 +1587,12 @@ 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' => '창 최상위 고정',
|
||||
@@ -1710,11 +1682,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 +1738,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 +1761,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 +1769,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,11 +1785,14 @@ extension on TranslationsKo {
|
||||
'liveTv.lateNight' => '심야 방송',
|
||||
'liveTv.whatsOn' => '지금 방송 중',
|
||||
'liveTv.watchChannel' => '채널 시청',
|
||||
'liveTv.favorites' => '즐겨찾기',
|
||||
'collections.title' => '컬렉션',
|
||||
'collections.collection' => '컬렉션',
|
||||
'collections.empty' => '컬렉션이 비어 있습니다',
|
||||
'collections.unknownLibrarySection' => '삭제할 수 없습니다: 알 수 없는 미디어 라이브러리 섹션입니다',
|
||||
'collections.deleteCollection' => '컬렉션 삭제',
|
||||
_ => null,
|
||||
} ?? switch (path) {
|
||||
'collections.deleteConfirm' => ({required Object title}) => '"${title}"을(를) 삭제 하시겠습니까? 이 작업은 되돌릴 수 없습니다.',
|
||||
'collections.deleted' => '컬렉션 삭제됨',
|
||||
'collections.deleteFailed' => '컬렉션 삭제 실패',
|
||||
@@ -2049,7 +2010,6 @@ extension on TranslationsKo {
|
||||
'externalPlayer.playerCommand' => '명령어',
|
||||
'externalPlayer.playerPackage' => '패키지 이름',
|
||||
'externalPlayer.playerUrlScheme' => 'URL 스킴',
|
||||
'externalPlayer.customPlayer' => '사용자 정의 플레이어',
|
||||
'externalPlayer.off' => '꺼짐',
|
||||
'externalPlayer.launchFailed' => '외부 플레이어를 열 수 없습니다',
|
||||
'externalPlayer.appNotInstalled' => ({required Object name}) => '${name}이(가) 설치되어 있지 않습니다',
|
||||
|
||||
+20
-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?';
|
||||
@@ -297,6 +294,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 +330,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 +359,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 +465,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,16 +481,12 @@ 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';
|
||||
@@ -637,11 +624,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 +748,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 +783,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 +799,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 +1028,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 +1166,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 +1305,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 +1318,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?',
|
||||
@@ -1472,6 +1445,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 +1481,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 +1508,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 +1571,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,16 +1587,12 @@ 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',
|
||||
@@ -1710,11 +1682,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 +1738,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 +1761,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 +1769,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,11 +1785,14 @@ extension on TranslationsNb {
|
||||
'liveTv.lateNight' => 'Sen kveld',
|
||||
'liveTv.whatsOn' => 'Hva går nå',
|
||||
'liveTv.watchChannel' => 'Se kanal',
|
||||
'liveTv.favorites' => 'Favoritter',
|
||||
'collections.title' => 'Samlinger',
|
||||
'collections.collection' => 'Samling',
|
||||
'collections.empty' => 'Samlingen er tom',
|
||||
'collections.unknownLibrarySection' => 'Kan ikke slette: Ukjent bibliotekseksjon',
|
||||
'collections.deleteCollection' => 'Slett samling',
|
||||
_ => null,
|
||||
} ?? switch (path) {
|
||||
'collections.deleteConfirm' => ({required Object title}) => 'Er du sikker på at du vil slette "${title}"? Denne handlingen kan ikke angres.',
|
||||
'collections.deleted' => 'Samling slettet',
|
||||
'collections.deleteFailed' => 'Kunne ikke slette samling',
|
||||
@@ -2049,7 +2010,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',
|
||||
|
||||
+20
-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?';
|
||||
@@ -297,6 +294,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 +330,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 +359,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 +465,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,16 +481,12 @@ 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';
|
||||
@@ -637,11 +624,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 +748,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 +783,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 +799,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 +1028,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 +1166,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 +1305,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 +1318,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?',
|
||||
@@ -1472,6 +1445,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 +1481,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 +1508,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 +1571,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,16 +1587,12 @@ 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',
|
||||
@@ -1710,11 +1682,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 +1738,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 +1761,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 +1769,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,11 +1785,14 @@ extension on TranslationsNl {
|
||||
'liveTv.lateNight' => 'Late avond',
|
||||
'liveTv.whatsOn' => 'Nu op TV',
|
||||
'liveTv.watchChannel' => 'Kanaal bekijken',
|
||||
'liveTv.favorites' => 'Favorieten',
|
||||
'downloads.title' => 'Downloads',
|
||||
'downloads.manage' => 'Beheren',
|
||||
'downloads.tvShows' => 'Series',
|
||||
'downloads.movies' => 'Films',
|
||||
'downloads.noDownloads' => 'Nog geen downloads',
|
||||
_ => null,
|
||||
} ?? switch (path) {
|
||||
'downloads.noDownloadsDescription' => 'Gedownloade content verschijnt hier voor offline weergave',
|
||||
'downloads.downloadNow' => 'Download',
|
||||
'downloads.deleteDownload' => 'Download verwijderen',
|
||||
@@ -2049,7 +2010,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',
|
||||
|
||||
+20
-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ść?';
|
||||
@@ -297,6 +294,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 +330,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 +359,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 +465,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,16 +481,12 @@ 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';
|
||||
@@ -637,11 +624,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 +748,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 +783,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 +799,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 +1028,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 +1166,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 +1305,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 +1318,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ść?',
|
||||
@@ -1472,6 +1445,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 +1481,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 +1508,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 +1571,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,16 +1587,12 @@ 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',
|
||||
@@ -1710,11 +1682,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 +1738,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 +1761,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 +1769,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,11 +1785,14 @@ extension on TranslationsPl {
|
||||
'liveTv.lateNight' => 'Późna noc',
|
||||
'liveTv.whatsOn' => 'Co leci',
|
||||
'liveTv.watchChannel' => 'Oglądaj kanał',
|
||||
'liveTv.favorites' => 'Ulubione',
|
||||
'collections.title' => 'Kolekcje',
|
||||
'collections.collection' => 'Kolekcja',
|
||||
'collections.empty' => 'Kolekcja jest pusta',
|
||||
'collections.unknownLibrarySection' => 'Nie można usunąć: Nieznana sekcja biblioteki',
|
||||
'collections.deleteCollection' => 'Usuń kolekcję',
|
||||
_ => null,
|
||||
} ?? switch (path) {
|
||||
'collections.deleteConfirm' => ({required Object title}) => 'Czy na pewno chcesz usunąć "${title}"? Tej operacji nie można cofnąć.',
|
||||
'collections.deleted' => 'Kolekcja usunięta',
|
||||
'collections.deleteFailed' => 'Nie udało się usunąć kolekcji',
|
||||
@@ -2049,7 +2010,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',
|
||||
|
||||
+20
-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?';
|
||||
@@ -297,6 +294,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 +330,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 +359,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 +465,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,16 +481,12 @@ 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';
|
||||
@@ -637,11 +624,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 +748,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 +783,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 +799,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 +1028,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 +1166,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 +1305,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 +1318,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?',
|
||||
@@ -1472,6 +1445,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 +1481,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 +1508,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 +1571,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,16 +1587,12 @@ 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',
|
||||
@@ -1710,11 +1682,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 +1738,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 +1761,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 +1769,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,11 +1785,14 @@ extension on TranslationsPt {
|
||||
'liveTv.lateNight' => 'Madrugada',
|
||||
'liveTv.whatsOn' => 'O que Está Passando',
|
||||
'liveTv.watchChannel' => 'Assistir Canal',
|
||||
'liveTv.favorites' => 'Favoritos',
|
||||
'collections.title' => 'Coleções',
|
||||
'collections.collection' => 'Coleção',
|
||||
'collections.empty' => 'A coleção está vazia',
|
||||
'collections.unknownLibrarySection' => 'Não é possível excluir: Seção de biblioteca desconhecida',
|
||||
'collections.deleteCollection' => 'Excluir Coleção',
|
||||
_ => null,
|
||||
} ?? switch (path) {
|
||||
'collections.deleteConfirm' => ({required Object title}) => 'Tem certeza que deseja excluir "${title}"? Esta ação não pode ser desfeita.',
|
||||
'collections.deleted' => 'Coleção excluída',
|
||||
'collections.deleteFailed' => 'Falha ao excluir coleção',
|
||||
@@ -2049,7 +2010,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',
|
||||
|
||||
+20
-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 => 'Вы уверены, что хотите выйти?';
|
||||
@@ -297,6 +294,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 +330,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 +359,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 +465,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,16 +481,12 @@ 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 => 'Всегда поверх';
|
||||
@@ -637,11 +624,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 +748,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 +783,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 +799,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 +1028,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 +1166,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 +1305,6 @@ extension on TranslationsRu {
|
||||
'common.shuffle' => 'Перемешать',
|
||||
'common.addTo' => 'Добавить в...',
|
||||
'common.createNew' => 'Создать новый',
|
||||
'common.remove' => 'Удалить',
|
||||
'common.paste' => 'Вставить',
|
||||
'common.connect' => 'Подключить',
|
||||
'common.disconnect' => 'Отключить',
|
||||
@@ -1344,7 +1318,6 @@ extension on TranslationsRu {
|
||||
'common.settings' => 'Настройки',
|
||||
'common.mute' => 'Без звука',
|
||||
'common.ok' => 'OK',
|
||||
'common.loading' => 'Загрузка...',
|
||||
'common.reconnect' => 'Переподключить',
|
||||
'common.exitConfirmTitle' => 'Выйти из приложения?',
|
||||
'common.exitConfirmMessage' => 'Вы уверены, что хотите выйти?',
|
||||
@@ -1472,6 +1445,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 +1481,8 @@ extension on TranslationsRu {
|
||||
'settings.confirmExitOnBackDescription' => 'Показывать диалог подтверждения при нажатии «назад» для выхода из приложения',
|
||||
'settings.showNavBarLabels' => 'Показывать подписи панели навигации',
|
||||
'settings.showNavBarLabelsDescription' => 'Отображать текстовые подписи под иконками панели навигации',
|
||||
'settings.liveTvDefaultFavorites' => 'Избранные каналы по умолчанию',
|
||||
'settings.liveTvDefaultFavoritesDescription' => 'Показывать только избранные каналы при открытии ТВ',
|
||||
'search.hint' => 'Поиск фильмов, сериалов, музыки...',
|
||||
'search.tryDifferentTerm' => 'Попробуйте другой запрос',
|
||||
'search.searchYourMedia' => 'Поиск в вашей медиатеке',
|
||||
@@ -1528,9 +1508,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 +1571,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,16 +1587,12 @@ 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' => 'Всегда поверх',
|
||||
@@ -1710,11 +1682,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 +1738,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 +1761,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 +1769,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,11 +1785,14 @@ extension on TranslationsRu {
|
||||
'liveTv.lateNight' => 'Поздний вечер',
|
||||
'liveTv.whatsOn' => 'Что идёт',
|
||||
'liveTv.watchChannel' => 'Смотреть канал',
|
||||
'liveTv.favorites' => 'Избранное',
|
||||
'collections.title' => 'Коллекции',
|
||||
'collections.collection' => 'Коллекция',
|
||||
'collections.empty' => 'Коллекция пуста',
|
||||
'collections.unknownLibrarySection' => 'Невозможно удалить: неизвестный раздел библиотеки',
|
||||
'collections.deleteCollection' => 'Удалить коллекцию',
|
||||
_ => null,
|
||||
} ?? switch (path) {
|
||||
'collections.deleteConfirm' => ({required Object title}) => 'Вы уверены, что хотите удалить "${title}"? Это действие нельзя отменить.',
|
||||
'collections.deleted' => 'Коллекция удалена',
|
||||
'collections.deleteFailed' => 'Не удалось удалить коллекцию',
|
||||
@@ -2049,7 +2010,6 @@ extension on TranslationsRu {
|
||||
'externalPlayer.playerCommand' => 'Команда',
|
||||
'externalPlayer.playerPackage' => 'Имя пакета',
|
||||
'externalPlayer.playerUrlScheme' => 'URL-схема',
|
||||
'externalPlayer.customPlayer' => 'Свой плеер',
|
||||
'externalPlayer.off' => 'Выкл.',
|
||||
'externalPlayer.launchFailed' => 'Не удалось открыть внешний плеер',
|
||||
'externalPlayer.appNotInstalled' => ({required Object name}) => '${name} не установлен',
|
||||
|
||||
+20
-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?';
|
||||
@@ -297,6 +294,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 +330,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 +359,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 +465,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,16 +481,12 @@ 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';
|
||||
@@ -637,11 +624,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 +748,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 +783,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 +799,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 +1028,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 +1166,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 +1305,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 +1318,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?',
|
||||
@@ -1472,6 +1445,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 +1481,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 +1508,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 +1571,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,16 +1587,12 @@ 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',
|
||||
@@ -1710,11 +1682,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 +1738,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 +1761,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 +1769,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,11 +1785,14 @@ extension on TranslationsSv {
|
||||
'liveTv.lateNight' => 'Sen kväll',
|
||||
'liveTv.whatsOn' => 'På TV nu',
|
||||
'liveTv.watchChannel' => 'Titta på kanal',
|
||||
'liveTv.favorites' => 'Favoriter',
|
||||
'downloads.title' => 'Nedladdningar',
|
||||
'downloads.manage' => 'Hantera',
|
||||
'downloads.tvShows' => 'TV-serier',
|
||||
'downloads.movies' => 'Filmer',
|
||||
'downloads.noDownloads' => 'Inga nedladdningar ännu',
|
||||
_ => null,
|
||||
} ?? switch (path) {
|
||||
'downloads.noDownloadsDescription' => 'Nedladdat innehåll visas här för offline-visning',
|
||||
'downloads.downloadNow' => 'Ladda ner',
|
||||
'downloads.deleteDownload' => 'Ta bort nedladdning',
|
||||
@@ -2049,7 +2010,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',
|
||||
|
||||
+20
-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 => '确定要退出吗?';
|
||||
@@ -297,6 +294,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 +330,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 +359,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 +465,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,16 +481,12 @@ 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 => '置顶窗口';
|
||||
@@ -637,11 +624,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 +748,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 +783,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 +799,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 +1028,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 +1166,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 +1305,6 @@ extension on TranslationsZh {
|
||||
'common.shuffle' => '随机播放',
|
||||
'common.addTo' => '添加到...',
|
||||
'common.createNew' => '新建',
|
||||
'common.remove' => '删除',
|
||||
'common.paste' => '粘贴',
|
||||
'common.connect' => '连接',
|
||||
'common.disconnect' => '断开连接',
|
||||
@@ -1344,7 +1318,6 @@ extension on TranslationsZh {
|
||||
'common.settings' => '设置',
|
||||
'common.mute' => '静音',
|
||||
'common.ok' => '确定',
|
||||
'common.loading' => '加载中...',
|
||||
'common.reconnect' => '重新连接',
|
||||
'common.exitConfirmTitle' => '退出应用?',
|
||||
'common.exitConfirmMessage' => '确定要退出吗?',
|
||||
@@ -1472,6 +1445,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 +1481,8 @@ extension on TranslationsZh {
|
||||
'settings.confirmExitOnBackDescription' => '按返回键退出应用时显示确认对话框',
|
||||
'settings.showNavBarLabels' => '显示导航栏标签',
|
||||
'settings.showNavBarLabelsDescription' => '在导航栏图标下方显示文字标签',
|
||||
'settings.liveTvDefaultFavorites' => '默认显示收藏频道',
|
||||
'settings.liveTvDefaultFavoritesDescription' => '打开直播电视时仅显示收藏频道',
|
||||
'search.hint' => '搜索电影、系列、音乐...',
|
||||
'search.tryDifferentTerm' => '尝试不同的搜索词',
|
||||
'search.searchYourMedia' => '搜索媒体',
|
||||
@@ -1528,9 +1508,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 +1571,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,16 +1587,12 @@ 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' => '置顶窗口',
|
||||
@@ -1710,11 +1682,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 +1738,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 +1761,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 +1769,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,11 +1785,14 @@ extension on TranslationsZh {
|
||||
'liveTv.lateNight' => '深夜',
|
||||
'liveTv.whatsOn' => '正在播出',
|
||||
'liveTv.watchChannel' => '观看频道',
|
||||
'liveTv.favorites' => '收藏',
|
||||
'downloads.title' => '下载',
|
||||
'downloads.manage' => '管理',
|
||||
'downloads.tvShows' => '电视剧',
|
||||
'downloads.movies' => '电影',
|
||||
'downloads.noDownloads' => '暂无下载',
|
||||
_ => null,
|
||||
} ?? switch (path) {
|
||||
'downloads.noDownloadsDescription' => '下载的内容将在此处显示以供离线观看',
|
||||
'downloads.downloadNow' => '下载',
|
||||
'downloads.deleteDownload' => '删除下载',
|
||||
@@ -2049,7 +2010,6 @@ extension on TranslationsZh {
|
||||
'externalPlayer.playerCommand' => '命令',
|
||||
'externalPlayer.playerPackage' => '包名',
|
||||
'externalPlayer.playerUrlScheme' => 'URL 方案',
|
||||
'externalPlayer.customPlayer' => '自定义播放器',
|
||||
'externalPlayer.off' => '关闭',
|
||||
'externalPlayer.launchFailed' => '无法打开外部播放器',
|
||||
'externalPlayer.appNotInstalled' => ({required Object name}) => '${name} 未安装',
|
||||
|
||||
+12
-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?",
|
||||
@@ -178,6 +176,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 +211,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 +246,6 @@
|
||||
"skipMarker": "Hoppa över intro/eftertexter"
|
||||
}
|
||||
},
|
||||
"pinEntry": {
|
||||
"enterPin": "Ange PIN",
|
||||
"showPin": "Visa PIN",
|
||||
"hidePin": "Dölj PIN"
|
||||
},
|
||||
"fileInfo": {
|
||||
"title": "Filinformation",
|
||||
"video": "Video",
|
||||
@@ -318,7 +318,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,16 +334,12 @@
|
||||
"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",
|
||||
@@ -448,11 +443,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 +506,7 @@
|
||||
"playlists": "Spellistor"
|
||||
},
|
||||
"groupings": {
|
||||
"title": "Gruppering",
|
||||
"all": "Alla",
|
||||
"movies": "Filmer",
|
||||
"shows": "Serier",
|
||||
@@ -544,9 +537,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 +552,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 +567,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 +813,6 @@
|
||||
"playerCommand": "Kommando",
|
||||
"playerPackage": "Paketnamn",
|
||||
"playerUrlScheme": "URL-schema",
|
||||
"customPlayer": "Anpassad spelare",
|
||||
"off": "Av",
|
||||
"launchFailed": "Kunde inte öppna extern spelare",
|
||||
"appNotInstalled": "${name} är inte installerad",
|
||||
|
||||
+12
-29
@@ -30,7 +30,6 @@
|
||||
"shuffle": "随机播放",
|
||||
"addTo": "添加到...",
|
||||
"createNew": "新建",
|
||||
"remove": "删除",
|
||||
"paste": "粘贴",
|
||||
"connect": "连接",
|
||||
"disconnect": "断开连接",
|
||||
@@ -44,7 +43,6 @@
|
||||
"settings": "设置",
|
||||
"mute": "静音",
|
||||
"ok": "确定",
|
||||
"loading": "加载中...",
|
||||
"reconnect": "重新连接",
|
||||
"exitConfirmTitle": "退出应用?",
|
||||
"exitConfirmMessage": "确定要退出吗?",
|
||||
@@ -178,6 +176,11 @@
|
||||
"autoSkipCreditsDescription": "自动跳过片尾并播放下一集",
|
||||
"autoSkipDelay": "自动跳过延迟",
|
||||
"autoSkipDelayDescription": "自动跳过前等待 ${seconds} 秒",
|
||||
"introPattern": "片头标记模式",
|
||||
"introPatternDescription": "用于匹配章节标题中片头标记的正则表达式",
|
||||
"creditsPattern": "片尾标记模式",
|
||||
"creditsPatternDescription": "用于匹配章节标题中片尾标记的正则表达式",
|
||||
"invalidRegex": "无效的正则表达式",
|
||||
"downloads": "下载",
|
||||
"downloadLocationDescription": "选择下载内容的存储位置",
|
||||
"downloadLocationDefault": "默认(应用存储)",
|
||||
@@ -208,7 +211,9 @@
|
||||
"confirmExitOnBack": "退出前确认",
|
||||
"confirmExitOnBackDescription": "按返回键退出应用时显示确认对话框",
|
||||
"showNavBarLabels": "显示导航栏标签",
|
||||
"showNavBarLabelsDescription": "在导航栏图标下方显示文字标签"
|
||||
"showNavBarLabelsDescription": "在导航栏图标下方显示文字标签",
|
||||
"liveTvDefaultFavorites": "默认显示收藏频道",
|
||||
"liveTvDefaultFavoritesDescription": "打开直播电视时仅显示收藏频道"
|
||||
},
|
||||
"search": {
|
||||
"hint": "搜索电影、系列、音乐...",
|
||||
@@ -241,11 +246,6 @@
|
||||
"skipMarker": "跳过片头/片尾"
|
||||
}
|
||||
},
|
||||
"pinEntry": {
|
||||
"enterPin": "输入 PIN",
|
||||
"showPin": "显示 PIN",
|
||||
"hidePin": "隐藏 PIN"
|
||||
},
|
||||
"fileInfo": {
|
||||
"title": "文件信息",
|
||||
"video": "视频",
|
||||
@@ -318,7 +318,6 @@
|
||||
"unlockRotation": "解锁旋转",
|
||||
"timerActive": "定时器已激活",
|
||||
"playbackWillPauseIn": "播放将在 ${duration} 后暂停",
|
||||
"sleepTimerCompleted": "睡眠定时器已完成 - 播放已暂停",
|
||||
"stillWatching": "还在看吗?",
|
||||
"pausingIn": "${seconds}秒后暂停",
|
||||
"continueWatching": "继续",
|
||||
@@ -335,16 +334,12 @@
|
||||
"muteButton": "静音",
|
||||
"unmuteButton": "取消静音",
|
||||
"settingsButton": "视频设置",
|
||||
"audioTrackButton": "音轨",
|
||||
"subtitlesButton": "字幕",
|
||||
"tracksButton": "音频和字幕",
|
||||
"chaptersButton": "章节",
|
||||
"versionsButton": "视频版本",
|
||||
"pipButton": "画中画模式",
|
||||
"aspectRatioButton": "宽高比",
|
||||
"ambientLighting": "氛围灯光",
|
||||
"ambientLightingOn": "开启氛围灯光",
|
||||
"ambientLightingOff": "关闭氛围灯光",
|
||||
"fullscreenButton": "进入全屏",
|
||||
"exitFullscreenButton": "退出全屏",
|
||||
"alwaysOnTopButton": "置顶窗口",
|
||||
@@ -448,11 +443,8 @@
|
||||
"overview": "概述",
|
||||
"cast": "演员表",
|
||||
"extras": "预告片与花絮",
|
||||
"seasons": "季数",
|
||||
"studio": "制作公司",
|
||||
"rating": "年龄分级",
|
||||
"episodeCount": "${count} 集",
|
||||
"watchedProgress": "已观看 ${watched}/${total} 集",
|
||||
"movie": "电影",
|
||||
"tvShow": "电视剧",
|
||||
"minutesLeft": "剩余 ${minutes} 分钟"
|
||||
@@ -514,6 +506,7 @@
|
||||
"playlists": "播放列表"
|
||||
},
|
||||
"groupings": {
|
||||
"title": "分组",
|
||||
"all": "全部",
|
||||
"movies": "电影",
|
||||
"shows": "剧集",
|
||||
@@ -544,9 +537,7 @@
|
||||
"logs": {
|
||||
"clearLogs": "清除日志",
|
||||
"copyLogs": "复制日志",
|
||||
"uploadLogs": "上传日志",
|
||||
"error": "错误:",
|
||||
"stackTrace": "堆栈跟踪 (Stack Trace):"
|
||||
"uploadLogs": "上传日志"
|
||||
},
|
||||
"licenses": {
|
||||
"relatedPackages": "相关软件包",
|
||||
@@ -561,20 +552,12 @@
|
||||
},
|
||||
"liveTv": {
|
||||
"title": "电视直播",
|
||||
"channels": "频道",
|
||||
"guide": "节目指南",
|
||||
"noChannels": "没有可用的频道",
|
||||
"noDvr": "没有服务器配置了DVR",
|
||||
"tuneFailed": "无法调谐频道",
|
||||
"loading": "正在加载频道...",
|
||||
"nowPlaying": "正在播放",
|
||||
"noPrograms": "没有可用的节目数据",
|
||||
"channelNumber": "频道 ${number}",
|
||||
"live": "直播",
|
||||
"hd": "高清",
|
||||
"premiere": "新",
|
||||
"reloadGuide": "重新加载节目指南",
|
||||
"allChannels": "所有频道",
|
||||
"now": "现在",
|
||||
"today": "今天",
|
||||
"midnight": "午夜",
|
||||
@@ -584,7 +567,8 @@
|
||||
"evening": "晚上",
|
||||
"lateNight": "深夜",
|
||||
"whatsOn": "正在播出",
|
||||
"watchChannel": "观看频道"
|
||||
"watchChannel": "观看频道",
|
||||
"favorites": "收藏"
|
||||
},
|
||||
"downloads": {
|
||||
"title": "下载",
|
||||
@@ -829,7 +813,6 @@
|
||||
"playerCommand": "命令",
|
||||
"playerPackage": "包名",
|
||||
"playerUrlScheme": "URL 方案",
|
||||
"customPlayer": "自定义播放器",
|
||||
"off": "关闭",
|
||||
"launchFailed": "无法打开外部播放器",
|
||||
"appNotInstalled": "${name} 未安装",
|
||||
|
||||
+93
-14
@@ -2,7 +2,7 @@ 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:window_manager/window_manager.dart';
|
||||
import 'package:provider/provider.dart';
|
||||
import 'package:flutter_svg/flutter_svg.dart';
|
||||
@@ -28,6 +28,7 @@ import 'providers/offline_mode_provider.dart';
|
||||
import 'providers/offline_watch_provider.dart';
|
||||
import 'providers/companion_remote_provider.dart';
|
||||
import 'providers/shader_provider.dart';
|
||||
import 'utils/snackbar_helper.dart';
|
||||
import 'watch_together/watch_together.dart';
|
||||
import 'services/multi_server_manager.dart';
|
||||
import 'services/offline_watch_sync_service.dart';
|
||||
@@ -53,6 +54,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 +82,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 +109,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 +149,11 @@ 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)})' : '';
|
||||
appLogger.i('Plezy v${packageInfo.version}+${packageInfo.buildNumber}$commitSuffix');
|
||||
|
||||
// Initialize download storage service with settings
|
||||
await DownloadStorageService.instance.initialize(settings);
|
||||
|
||||
@@ -194,6 +208,11 @@ 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) {
|
||||
@@ -292,11 +311,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 +351,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 +375,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 +470,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 +541,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 +595,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
|
||||
|
||||
@@ -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',
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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';
|
||||
@@ -550,6 +551,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
|
||||
// ============================================
|
||||
|
||||
@@ -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(
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -83,6 +84,7 @@ class _DiscoverScreenState extends State<DiscoverScreen>
|
||||
final ValueNotifier<double> _indicatorProgress = ValueNotifier(0.0);
|
||||
bool _isAutoScrollPaused = false;
|
||||
HiddenLibrariesProvider? _hiddenLibrariesProvider;
|
||||
Set<String> _lastSeenHiddenKeys = {};
|
||||
|
||||
// WatchStateAware: watch on-deck items and their parent shows/seasons
|
||||
@override
|
||||
@@ -257,6 +259,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();
|
||||
}
|
||||
|
||||
@@ -388,13 +395,15 @@ class _DiscoverScreenState extends State<DiscoverScreen>
|
||||
}
|
||||
|
||||
@override
|
||||
void onTabShown({bool scrollToTop = true}) {
|
||||
void onTabShown() {
|
||||
if (!_isAutoScrollPaused) {
|
||||
_startAutoScroll();
|
||||
}
|
||||
if (scrollToTop) {
|
||||
_focusTopBoundary();
|
||||
}
|
||||
}
|
||||
|
||||
@override
|
||||
void focusActiveTabIfReady() {
|
||||
_focusTopBoundary();
|
||||
}
|
||||
|
||||
// Helper method to calculate visible dot range (max 5 dots)
|
||||
@@ -450,9 +459,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 +480,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 +540,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 +578,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 +1309,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');
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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,6 +2,7 @@ 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 '../../widgets/bottom_sheet_header.dart';
|
||||
import '../../widgets/focusable_list_tile.dart';
|
||||
@@ -41,6 +42,7 @@ class _SortBottomSheetState extends State<SortBottomSheet> {
|
||||
_initialFocusNode = FocusNode(debugLabel: 'SortBottomSheetInitialFocus');
|
||||
WidgetsBinding.instance.addPostFrameCallback((_) {
|
||||
if (!mounted) return;
|
||||
if (!InputModeTracker.isKeyboardMode(context)) return;
|
||||
final ctx = _initialFocusNode.context;
|
||||
if (ctx != null) {
|
||||
Scrollable.ensureVisible(ctx, alignment: 0.5);
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -5,6 +5,7 @@ import 'package:material_symbols_icons/symbols.dart';
|
||||
import 'package:provider/provider.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';
|
||||
@@ -26,6 +27,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;
|
||||
@@ -224,6 +227,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 +302,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();
|
||||
}
|
||||
|
||||
@@ -412,6 +417,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
|
||||
@@ -545,11 +553,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 +579,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 +612,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() {
|
||||
@@ -785,7 +797,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();
|
||||
}
|
||||
@@ -823,6 +835,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);
|
||||
@@ -972,7 +986,7 @@ class _LibraryBrowseTabState extends BaseLibraryTabState<PlexMetadata, LibraryBr
|
||||
serverId: widget.library.serverId,
|
||||
onRefresh: updateItem,
|
||||
firstItemFocusNode: firstItemFocusNode,
|
||||
onNavigateUp: () => _groupingChipFocusNode.requestFocus(),
|
||||
onNavigateUp: _navigateToChips,
|
||||
),
|
||||
),
|
||||
],
|
||||
|
||||
@@ -9,14 +9,16 @@ import '../../models/livetv_dvr.dart';
|
||||
import '../../mixins/refreshable.dart';
|
||||
import '../../mixins/tab_navigation_mixin.dart';
|
||||
import '../../providers/multi_server_provider.dart';
|
||||
import '../../providers/settings_provider.dart';
|
||||
import '../../utils/app_logger.dart';
|
||||
import '../../utils/desktop_window_padding.dart';
|
||||
import '../../utils/platform_detector.dart';
|
||||
import '../../widgets/app_icon.dart';
|
||||
import '../../widgets/focusable_tab_chip.dart';
|
||||
import 'tabs/guide_tab.dart';
|
||||
import 'tabs/whats_on_tab.dart';
|
||||
|
||||
enum LiveTvTab { guide, whatsOn }
|
||||
|
||||
class LiveTvScreen extends StatefulWidget {
|
||||
const LiveTvScreen({super.key});
|
||||
|
||||
@@ -25,7 +27,7 @@ class LiveTvScreen extends StatefulWidget {
|
||||
}
|
||||
|
||||
class _LiveTvScreenState extends State<LiveTvScreen>
|
||||
with SingleTickerProviderStateMixin, TabNavigationMixin
|
||||
with TickerProviderStateMixin, TabNavigationMixin
|
||||
implements FocusableTab {
|
||||
final _guideTabFocusNode = FocusNode(debugLabel: 'tab_chip_guide');
|
||||
final _whatsOnTabFocusNode = FocusNode(debugLabel: 'tab_chip_whats_on');
|
||||
@@ -39,6 +41,18 @@ class _LiveTvScreenState extends State<LiveTvScreen>
|
||||
bool _isLoading = true;
|
||||
String? _error;
|
||||
|
||||
// Favorites
|
||||
bool _showFavoritesOnly = false;
|
||||
Set<String> _favoriteChannelIds = {};
|
||||
List<FavoriteChannel> _favoriteChannels = [];
|
||||
/// Source URI per server, built from machineIdentifier + EPG provider identifier.
|
||||
final Map<String, String> _favoriteSourceByServer = {};
|
||||
|
||||
List<LiveTvChannel> get _filteredChannels {
|
||||
if (!_showFavoritesOnly || _favoriteChannelIds.isEmpty) return _channels;
|
||||
return _channels.where((c) => _favoriteChannelIds.contains(c.key)).toList();
|
||||
}
|
||||
|
||||
@override
|
||||
List<FocusNode> get tabChipFocusNodes => [_guideTabFocusNode, _whatsOnTabFocusNode];
|
||||
|
||||
@@ -46,6 +60,7 @@ class _LiveTvScreenState extends State<LiveTvScreen>
|
||||
void initState() {
|
||||
super.initState();
|
||||
suppressAutoFocus = true;
|
||||
_showFavoritesOnly = context.read<SettingsProvider>().liveTvDefaultFavorites;
|
||||
initTabNavigation();
|
||||
_loadChannels();
|
||||
}
|
||||
@@ -64,12 +79,13 @@ class _LiveTvScreenState extends State<LiveTvScreen>
|
||||
if (!tabController.indexIsChanging) {
|
||||
super.onTabChanged();
|
||||
// Pause/resume timers based on active tab
|
||||
if (tabController.index == 0) {
|
||||
_whatsOnTabKey.currentState?.pauseRefresh();
|
||||
_guideTabKey.currentState?.resumeRefresh();
|
||||
} else {
|
||||
_guideTabKey.currentState?.pauseRefresh();
|
||||
_whatsOnTabKey.currentState?.resumeRefresh();
|
||||
switch (LiveTvTab.values[tabController.index]) {
|
||||
case LiveTvTab.guide:
|
||||
_whatsOnTabKey.currentState?.pauseRefresh();
|
||||
_guideTabKey.currentState?.resumeRefresh();
|
||||
case LiveTvTab.whatsOn:
|
||||
_guideTabKey.currentState?.pauseRefresh();
|
||||
_whatsOnTabKey.currentState?.resumeRefresh();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -116,21 +132,14 @@ class _LiveTvScreenState extends State<LiveTvScreen>
|
||||
'Live TV DVRs: ${liveTvServers.map((s) => '${s.serverId}/${s.dvrKey} lineup=${s.lineup}').join(', ')}',
|
||||
);
|
||||
|
||||
// Build a set of enabled channel keys per server from DVR mappings
|
||||
// Build a set of enabled channel keys per server from cached DVR data
|
||||
final enabledKeysByServer = <String, Set<String>>{};
|
||||
final queriedServers = <String>{};
|
||||
final processedServers = <String>{};
|
||||
for (final serverInfo in liveTvServers) {
|
||||
if (!queriedServers.add(serverInfo.serverId)) continue;
|
||||
try {
|
||||
final client = multiServer.getClientForServer(serverInfo.serverId);
|
||||
if (client == null) continue;
|
||||
final dvrs = await client.getDvrs();
|
||||
final enabledKeys = _extractEnabledChannelKeys(dvrs);
|
||||
if (enabledKeys != null) {
|
||||
enabledKeysByServer[serverInfo.serverId] = enabledKeys;
|
||||
}
|
||||
} catch (e) {
|
||||
appLogger.e('Failed to load DVR mappings for server ${serverInfo.serverId}', error: e);
|
||||
if (!processedServers.add(serverInfo.serverId)) continue;
|
||||
final enabledKeys = _extractEnabledChannelKeys(serverInfo.dvrs);
|
||||
if (enabledKeys != null) {
|
||||
enabledKeysByServer[serverInfo.serverId] = enabledKeys;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -172,6 +181,9 @@ class _LiveTvScreenState extends State<LiveTvScreen>
|
||||
_isLoading = false;
|
||||
});
|
||||
|
||||
// Load favorites from the first available server (favorites are cloud-synced)
|
||||
_loadFavorites(multiServer);
|
||||
|
||||
if (allChannels.isNotEmpty && PlatformDetector.shouldUseSideNavigation(context)) {
|
||||
WidgetsBinding.instance.addPostFrameCallback((_) {
|
||||
if (mounted) _focusCurrentTab();
|
||||
@@ -188,11 +200,68 @@ class _LiveTvScreenState extends State<LiveTvScreen>
|
||||
}
|
||||
}
|
||||
|
||||
Future<void> _loadFavorites(MultiServerProvider multiServer) async {
|
||||
try {
|
||||
// Use the first available server's client to fetch favorites
|
||||
for (final serverInfo in multiServer.liveTvServers) {
|
||||
final client = multiServer.getClientForServer(serverInfo.serverId);
|
||||
if (client == null) continue;
|
||||
|
||||
// Build and cache the source URI for this server
|
||||
final source = await client.buildFavoriteChannelSource();
|
||||
_favoriteSourceByServer[serverInfo.serverId] = source;
|
||||
|
||||
final favorites = await client.getFavoriteChannels();
|
||||
if (!mounted) return;
|
||||
|
||||
setState(() {
|
||||
_favoriteChannels = favorites;
|
||||
_favoriteChannelIds = favorites.map((f) => f.id).toSet();
|
||||
});
|
||||
appLogger.d('Live TV: loaded ${favorites.length} favorite channels');
|
||||
break; // Favorites are cloud-synced, only need to fetch once
|
||||
}
|
||||
} catch (e) {
|
||||
appLogger.e('Failed to load favorite channels', error: e);
|
||||
}
|
||||
}
|
||||
|
||||
void _toggleFavoritesFilter() {
|
||||
setState(() {
|
||||
_showFavoritesOnly = !_showFavoritesOnly;
|
||||
});
|
||||
}
|
||||
|
||||
void _toggleFavorite(LiveTvChannel channel) {
|
||||
final multiServer = context.read<MultiServerProvider>();
|
||||
final source = _favoriteSourceByServer[channel.serverId] ?? '';
|
||||
|
||||
setState(() {
|
||||
if (_favoriteChannelIds.contains(channel.key)) {
|
||||
_favoriteChannelIds = Set.from(_favoriteChannelIds)..remove(channel.key);
|
||||
_favoriteChannels = _favoriteChannels.where((f) => f.id != channel.key).toList();
|
||||
} else {
|
||||
_favoriteChannelIds = Set.from(_favoriteChannelIds)..add(channel.key);
|
||||
_favoriteChannels = [..._favoriteChannels, FavoriteChannel.fromLiveTvChannel(channel, source)];
|
||||
}
|
||||
});
|
||||
|
||||
// Persist to server (fire-and-forget, optimistic UI)
|
||||
for (final serverInfo in multiServer.liveTvServers) {
|
||||
final client = multiServer.getClientForServer(serverInfo.serverId);
|
||||
if (client != null) {
|
||||
client.setFavoriteChannels(_favoriteChannels);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void _focusCurrentTab() {
|
||||
if (tabController.index == 0) {
|
||||
_guideTabKey.currentState?.focusContent();
|
||||
} else if (tabController.index == 1) {
|
||||
_whatsOnTabKey.currentState?.focusFirstHub();
|
||||
switch (LiveTvTab.values[tabController.index]) {
|
||||
case LiveTvTab.guide:
|
||||
_guideTabKey.currentState?.focusContent();
|
||||
case LiveTvTab.whatsOn:
|
||||
_whatsOnTabKey.currentState?.focusFirstHub();
|
||||
}
|
||||
setState(() {
|
||||
suppressAutoFocus = false;
|
||||
@@ -207,45 +276,11 @@ class _LiveTvScreenState extends State<LiveTvScreen>
|
||||
// Tab chips
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
Widget _buildTabChip(String label, int index) {
|
||||
final isSelected = tabController.index == index;
|
||||
|
||||
return FocusableTabChip(
|
||||
label: label,
|
||||
isSelected: isSelected,
|
||||
focusNode: getTabChipFocusNode(index),
|
||||
onSelect: () {
|
||||
if (isSelected) {
|
||||
_focusCurrentTab();
|
||||
} 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();
|
||||
}
|
||||
: () => _actionBarKey.currentState?.getFocusNode(0).requestFocus(),
|
||||
onNavigateDown: _focusCurrentTab,
|
||||
onBack: onTabBarBack,
|
||||
);
|
||||
String _getTabLabel(LiveTvTab tab) {
|
||||
return switch (tab) {
|
||||
LiveTvTab.guide => t.liveTv.guide,
|
||||
LiveTvTab.whatsOn => t.liveTv.whatsOn,
|
||||
};
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
@@ -262,9 +297,16 @@ class _LiveTvScreenState extends State<LiveTvScreen>
|
||||
title: useSideNav
|
||||
? Row(
|
||||
children: [
|
||||
_buildTabChip(t.liveTv.guide, 0),
|
||||
const SizedBox(width: 8),
|
||||
_buildTabChip(t.liveTv.whatsOn, 1),
|
||||
for (int i = 0; i < LiveTvTab.values.length; i++) ...[
|
||||
if (i > 0) const SizedBox(width: 8),
|
||||
buildTabChip(
|
||||
_getTabLabel(LiveTvTab.values[i]),
|
||||
i,
|
||||
onSelectWhenActive: _focusCurrentTab,
|
||||
onNavigateDown: _focusCurrentTab,
|
||||
onNavigateRightFromLast: () => _actionBarKey.currentState?.getFocusNode(0).requestFocus(),
|
||||
),
|
||||
],
|
||||
],
|
||||
)
|
||||
: Text(t.liveTv.title),
|
||||
@@ -274,6 +316,12 @@ class _LiveTvScreenState extends State<LiveTvScreen>
|
||||
onNavigateLeft: () => getTabChipFocusNode(tabCount - 1).requestFocus(),
|
||||
onNavigateDown: _focusCurrentTab,
|
||||
actions: [
|
||||
FocusableAction(
|
||||
icon: _showFavoritesOnly ? Symbols.star_rounded : Symbols.star_outline_rounded,
|
||||
iconFill: _showFavoritesOnly ? 1.0 : 0.0,
|
||||
tooltip: t.liveTv.favorites,
|
||||
onPressed: _toggleFavoritesFilter,
|
||||
),
|
||||
FocusableAction(
|
||||
icon: Symbols.refresh_rounded,
|
||||
tooltip: t.liveTv.reloadGuide,
|
||||
@@ -312,6 +360,9 @@ class _LiveTvScreenState extends State<LiveTvScreen>
|
||||
if (_channels.isEmpty) {
|
||||
return Center(child: Text(t.liveTv.noChannels));
|
||||
}
|
||||
|
||||
final guideChannels = _filteredChannels;
|
||||
|
||||
return Column(
|
||||
children: [
|
||||
if (!useSideNav)
|
||||
@@ -322,9 +373,16 @@ class _LiveTvScreenState extends State<LiveTvScreen>
|
||||
scrollDirection: Axis.horizontal,
|
||||
child: Row(
|
||||
children: [
|
||||
_buildTabChip(t.liveTv.guide, 0),
|
||||
const SizedBox(width: 8),
|
||||
_buildTabChip(t.liveTv.whatsOn, 1),
|
||||
for (int i = 0; i < LiveTvTab.values.length; i++) ...[
|
||||
if (i > 0) const SizedBox(width: 8),
|
||||
buildTabChip(
|
||||
_getTabLabel(LiveTvTab.values[i]),
|
||||
i,
|
||||
onSelectWhenActive: _focusCurrentTab,
|
||||
onNavigateDown: _focusCurrentTab,
|
||||
onNavigateRightFromLast: () => _actionBarKey.currentState?.getFocusNode(0).requestFocus(),
|
||||
),
|
||||
],
|
||||
],
|
||||
),
|
||||
),
|
||||
@@ -333,7 +391,14 @@ class _LiveTvScreenState extends State<LiveTvScreen>
|
||||
child: TabBarView(
|
||||
controller: tabController,
|
||||
children: [
|
||||
GuideTab(key: _guideTabKey, channels: _channels, onNavigateUp: focusTabBar, onBack: onTabBarBack),
|
||||
GuideTab(
|
||||
key: _guideTabKey,
|
||||
channels: guideChannels,
|
||||
favoriteChannelIds: _favoriteChannelIds,
|
||||
onToggleFavorite: _toggleFavorite,
|
||||
onNavigateUp: focusTabBar,
|
||||
onBack: onTabBarBack,
|
||||
),
|
||||
WhatsOnTab(key: _whatsOnTabKey, channels: _channels, onNavigateUp: focusTabBar, onBack: onTabBarBack),
|
||||
],
|
||||
),
|
||||
|
||||
@@ -25,10 +25,19 @@ import '../program_details_sheet.dart';
|
||||
|
||||
class GuideTab extends StatefulWidget {
|
||||
final List<LiveTvChannel> channels;
|
||||
final Set<String> favoriteChannelIds;
|
||||
final void Function(LiveTvChannel)? onToggleFavorite;
|
||||
final VoidCallback? onNavigateUp;
|
||||
final VoidCallback? onBack;
|
||||
|
||||
const GuideTab({super.key, required this.channels, this.onNavigateUp, this.onBack});
|
||||
const GuideTab({
|
||||
super.key,
|
||||
required this.channels,
|
||||
this.favoriteChannelIds = const {},
|
||||
this.onToggleFavorite,
|
||||
this.onNavigateUp,
|
||||
this.onBack,
|
||||
});
|
||||
|
||||
@override
|
||||
State<GuideTab> createState() => GuideTabState();
|
||||
@@ -410,6 +419,13 @@ class GuideTabState extends State<GuideTab> {
|
||||
}
|
||||
return KeyEventResult.handled;
|
||||
}
|
||||
// 'F' key toggles favorite on focused channel
|
||||
if (key == LogicalKeyboardKey.keyF && _gridColumn == 0) {
|
||||
if (_gridChannelIndex >= 0 && _gridChannelIndex < widget.channels.length) {
|
||||
widget.onToggleFavorite?.call(widget.channels[_gridChannelIndex]);
|
||||
}
|
||||
return KeyEventResult.handled;
|
||||
}
|
||||
return KeyEventResult.ignored;
|
||||
}
|
||||
|
||||
@@ -888,7 +904,9 @@ class GuideTabState extends State<GuideTab> {
|
||||
channel: channel,
|
||||
theme: theme,
|
||||
onTap: () => _tuneChannel(channel),
|
||||
onLongPress: widget.onToggleFavorite != null ? () => widget.onToggleFavorite!(channel) : null,
|
||||
isFocused: isFocused,
|
||||
isFavorite: widget.favoriteChannelIds.contains(channel.key),
|
||||
fallbackBuilder: () => _buildChannelNameFallback(channel, theme),
|
||||
);
|
||||
}
|
||||
@@ -970,7 +988,8 @@ class GuideTabState extends State<GuideTab> {
|
||||
channel,
|
||||
program,
|
||||
theme,
|
||||
isLast: program == programs.last,
|
||||
isFirst: progStart == gridStartEpoch,
|
||||
isLast: program == programs.last && progEnd != gridEndEpoch,
|
||||
isFocused: identical(program, focusProg),
|
||||
),
|
||||
),
|
||||
@@ -990,6 +1009,7 @@ class GuideTabState extends State<GuideTab> {
|
||||
LiveTvChannel channel,
|
||||
LiveTvProgram program,
|
||||
ThemeData theme, {
|
||||
bool isFirst = false,
|
||||
bool isLast = false,
|
||||
bool isFocused = false,
|
||||
}) {
|
||||
@@ -998,11 +1018,11 @@ class GuideTabState extends State<GuideTab> {
|
||||
|
||||
Color materialColor;
|
||||
if (isFocused) {
|
||||
materialColor = theme.colorScheme.primary.withValues(alpha: 0.25);
|
||||
materialColor = theme.colorScheme.primary.withValues(alpha: 0.15);
|
||||
} else if (isCurrentlyAiring) {
|
||||
materialColor = theme.colorScheme.onSurface.withValues(alpha: 0.3);
|
||||
} else {
|
||||
materialColor = theme.colorScheme.onSurface.withValues(alpha: 0.12);
|
||||
} else {
|
||||
materialColor = theme.colorScheme.onSurface.withValues(alpha: 0.05);
|
||||
}
|
||||
|
||||
Color titleColor;
|
||||
@@ -1036,7 +1056,7 @@ class GuideTabState extends State<GuideTab> {
|
||||
child: Container(
|
||||
decoration: BoxDecoration(
|
||||
border: Border(
|
||||
left: BorderSide(color: theme.dividerColor.withValues(alpha: 0.3)),
|
||||
left: isFirst ? BorderSide.none : BorderSide(color: theme.dividerColor.withValues(alpha: 0.3)),
|
||||
right: isLast ? BorderSide(color: theme.dividerColor.withValues(alpha: 0.3)) : BorderSide.none,
|
||||
),
|
||||
),
|
||||
@@ -1049,8 +1069,8 @@ class GuideTabState extends State<GuideTab> {
|
||||
children: [
|
||||
Text(
|
||||
program.grandparentTitle ?? program.title,
|
||||
style: theme.textTheme.bodySmall?.copyWith(
|
||||
fontWeight: isCurrentlyAiring ? FontWeight.w600 : FontWeight.normal,
|
||||
style: theme.textTheme.bodyMedium?.copyWith(
|
||||
fontWeight: FontWeight.w600,
|
||||
color: titleColor,
|
||||
),
|
||||
maxLines: 1,
|
||||
@@ -1111,7 +1131,9 @@ class _ChannelCell extends StatefulWidget {
|
||||
final LiveTvChannel channel;
|
||||
final ThemeData theme;
|
||||
final VoidCallback onTap;
|
||||
final VoidCallback? onLongPress;
|
||||
final bool isFocused;
|
||||
final bool isFavorite;
|
||||
final Widget Function() fallbackBuilder;
|
||||
|
||||
const _ChannelCell({
|
||||
@@ -1122,7 +1144,9 @@ class _ChannelCell extends StatefulWidget {
|
||||
required this.channel,
|
||||
required this.theme,
|
||||
required this.onTap,
|
||||
this.onLongPress,
|
||||
required this.isFocused,
|
||||
this.isFavorite = false,
|
||||
required this.fallbackBuilder,
|
||||
});
|
||||
|
||||
@@ -1141,12 +1165,15 @@ class _ChannelCellState extends State<_ChannelCell> {
|
||||
return MouseRegion(
|
||||
onEnter: (_) => setState(() => _hovered = true),
|
||||
onExit: (_) => setState(() => _hovered = false),
|
||||
child: Material(
|
||||
color: widget.isFocused ? theme.colorScheme.primary.withValues(alpha: 0.15) : Colors.transparent,
|
||||
child: InkWell(
|
||||
canRequestFocus: false,
|
||||
onTap: widget.onTap,
|
||||
child: Container(
|
||||
child: GestureDetector(
|
||||
onSecondaryTap: widget.onLongPress,
|
||||
child: Material(
|
||||
color: widget.isFocused ? theme.colorScheme.primary.withValues(alpha: 0.15) : Colors.transparent,
|
||||
child: InkWell(
|
||||
canRequestFocus: false,
|
||||
onTap: widget.onTap,
|
||||
onLongPress: widget.onLongPress,
|
||||
child: Container(
|
||||
height: widget.rowHeight,
|
||||
padding: const EdgeInsets.symmetric(horizontal: 8),
|
||||
decoration: BoxDecoration(
|
||||
@@ -1172,11 +1199,18 @@ class _ChannelCellState extends State<_ChannelCell> {
|
||||
: widget.fallbackBuilder(),
|
||||
),
|
||||
if (showAction) AppIcon(Symbols.play_arrow_rounded, size: 32, color: theme.colorScheme.onSurface),
|
||||
if (widget.isFavorite)
|
||||
Positioned(
|
||||
top: 2,
|
||||
right: 0,
|
||||
child: AppIcon(Symbols.star_rounded, size: 14, color: theme.colorScheme.primary),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,6 +11,7 @@ import '../../../focus/locked_hub_controller.dart';
|
||||
import '../../../i18n/strings.g.dart';
|
||||
import '../../../models/livetv_channel.dart';
|
||||
import '../../../models/livetv_hub_result.dart';
|
||||
import '../../../models/plex_metadata.dart';
|
||||
import '../../../providers/multi_server_provider.dart';
|
||||
import '../../../providers/settings_provider.dart';
|
||||
import '../../../services/settings_service.dart' show LibraryDensity;
|
||||
@@ -168,12 +169,12 @@ class WhatsOnTabState extends State<WhatsOnTab> {
|
||||
if (entry.program.isCurrentlyAiring && channel != null) {
|
||||
// Live → play directly
|
||||
_tuneChannel(channel);
|
||||
} else if (entry.metadata.type.toLowerCase() == 'show') {
|
||||
} else if (entry.metadata.mediaType == PlexMediaType.show) {
|
||||
// Show with upcoming episodes → show full schedule
|
||||
Navigator.of(context).push(
|
||||
MaterialPageRoute(
|
||||
builder: (_) => LiveTvShowScheduleScreen(
|
||||
showTitle: entry.metadata.title,
|
||||
showTitle: entry.metadata.displayTitle,
|
||||
serverId: entry.metadata.serverId ?? '',
|
||||
channels: widget.channels,
|
||||
),
|
||||
|
||||
+148
-204
@@ -1,7 +1,7 @@
|
||||
import 'dart:io' show Platform, exit;
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter/services.dart' show KeyUpEvent, SystemNavigator;
|
||||
import 'package:flutter/services.dart' show HardwareKeyboard, KeyDownEvent, KeyUpEvent, LogicalKeyboardKey, SystemNavigator;
|
||||
import 'package:material_symbols_icons/symbols.dart';
|
||||
import 'package:provider/provider.dart';
|
||||
import 'package:url_launcher/url_launcher.dart';
|
||||
@@ -52,12 +52,14 @@ class MainScreenFocusScope extends InheritedWidget {
|
||||
final VoidCallback focusSidebar;
|
||||
final VoidCallback focusContent;
|
||||
final bool isSidebarFocused;
|
||||
final void Function(String libraryGlobalKey)? selectLibrary;
|
||||
|
||||
const MainScreenFocusScope({
|
||||
super.key,
|
||||
required this.focusSidebar,
|
||||
required this.focusContent,
|
||||
required this.isSidebarFocused,
|
||||
this.selectLibrary,
|
||||
required super.child,
|
||||
});
|
||||
|
||||
@@ -82,12 +84,20 @@ class MainScreen extends StatefulWidget {
|
||||
}
|
||||
|
||||
class _MainScreenState extends State<MainScreen> with RouteAware, WindowListener, WidgetsBindingObserver {
|
||||
late int _currentIndex;
|
||||
NavigationTabId _currentTab = NavigationTabId.discover;
|
||||
String? _selectedLibraryGlobalKey;
|
||||
|
||||
/// Whether the app is in offline mode (no server connection)
|
||||
bool _isOffline = false;
|
||||
|
||||
/// Computed index — searches the same _getVisibleTabs() that _buildScreens iterates,
|
||||
/// so _screens[_currentIndex] is always the widget for _currentTab.
|
||||
int get _currentIndex {
|
||||
final tabs = _getVisibleTabs(_isOffline);
|
||||
final idx = tabs.indexWhere((t) => t.id == _currentTab);
|
||||
return (idx >= 0 ? idx : 0).clamp(0, _screens.length - 1);
|
||||
}
|
||||
|
||||
/// Last selected online tab (restored when coming back online after an offline fallback)
|
||||
NavigationTabId? _lastOnlineTabId;
|
||||
|
||||
@@ -130,13 +140,17 @@ class _MainScreenState extends State<MainScreen> with RouteAware, WindowListener
|
||||
windowManager.setPreventClose(true);
|
||||
}
|
||||
|
||||
// Start on Downloads tab when in offline mode
|
||||
// In offline mode: visual index 0 = Downloads (screen 3), 1 = Settings (screen 4)
|
||||
// In online mode: indices match directly
|
||||
_currentIndex = 0;
|
||||
_currentTab = _isOffline ? NavigationTabId.downloads : NavigationTabId.discover;
|
||||
_lastOnlineTabId = _isOffline ? null : NavigationTabId.discover;
|
||||
_autoSwitchedToDownloads = _isOffline;
|
||||
|
||||
// Synchronize _lastHasLiveTv with provider before building screens
|
||||
// so _buildScreens and _hasLiveTv getter agree from the start.
|
||||
try {
|
||||
_lastHasLiveTv = context.read<MultiServerProvider>().hasLiveTv;
|
||||
} catch (_) {
|
||||
_lastHasLiveTv = false;
|
||||
}
|
||||
_screens = _buildScreens(_isOffline);
|
||||
|
||||
// Set up Watch Together callbacks immediately (must be synchronous to catch early messages)
|
||||
@@ -425,48 +439,29 @@ class _MainScreenState extends State<MainScreen> with RouteAware, WindowListener
|
||||
final receiver = CompanionRemoteReceiver.instance;
|
||||
|
||||
receiver.onTabNext = () {
|
||||
final tabCount = _getVisibleTabs(_isOffline).length;
|
||||
_selectTab((_currentIndex + 1) % tabCount);
|
||||
final tabs = _getVisibleTabs(_isOffline);
|
||||
final idx = tabs.indexWhere((t) => t.id == _currentTab);
|
||||
if (idx >= 0) _selectTab(tabs[(idx + 1) % tabs.length].id);
|
||||
};
|
||||
receiver.onTabPrevious = () {
|
||||
final tabCount = _getVisibleTabs(_isOffline).length;
|
||||
_selectTab((_currentIndex - 1 + tabCount) % tabCount);
|
||||
};
|
||||
receiver.onTabDiscover = () {
|
||||
final idx = NavigationTab.indexFor(NavigationTabId.discover, isOffline: _isOffline, hasLiveTv: _hasLiveTv);
|
||||
if (idx >= 0) _selectTab(idx);
|
||||
};
|
||||
receiver.onTabLibraries = () {
|
||||
final idx = NavigationTab.indexFor(NavigationTabId.libraries, isOffline: _isOffline, hasLiveTv: _hasLiveTv);
|
||||
if (idx >= 0) _selectTab(idx);
|
||||
};
|
||||
receiver.onTabSearch = () {
|
||||
final idx = NavigationTab.indexFor(NavigationTabId.search, isOffline: _isOffline, hasLiveTv: _hasLiveTv);
|
||||
if (idx >= 0) _selectTab(idx);
|
||||
};
|
||||
receiver.onTabDownloads = () {
|
||||
final idx = NavigationTab.indexFor(NavigationTabId.downloads, isOffline: _isOffline, hasLiveTv: _hasLiveTv);
|
||||
if (idx >= 0) _selectTab(idx);
|
||||
};
|
||||
receiver.onTabSettings = () {
|
||||
final idx = NavigationTab.indexFor(NavigationTabId.settings, isOffline: _isOffline, hasLiveTv: _hasLiveTv);
|
||||
if (idx >= 0) _selectTab(idx);
|
||||
};
|
||||
receiver.onHome = () {
|
||||
final idx = NavigationTab.indexFor(NavigationTabId.discover, isOffline: _isOffline, hasLiveTv: _hasLiveTv);
|
||||
if (idx >= 0) _selectTab(idx);
|
||||
final tabs = _getVisibleTabs(_isOffline);
|
||||
final idx = tabs.indexWhere((t) => t.id == _currentTab);
|
||||
if (idx >= 0) _selectTab(tabs[(idx - 1 + tabs.length) % tabs.length].id);
|
||||
};
|
||||
receiver.onTabDiscover = () => _selectTab(NavigationTabId.discover);
|
||||
receiver.onTabLibraries = () => _selectTab(NavigationTabId.libraries);
|
||||
receiver.onTabSearch = () => _selectTab(NavigationTabId.search);
|
||||
receiver.onTabDownloads = () => _selectTab(NavigationTabId.downloads);
|
||||
receiver.onTabSettings = () => _selectTab(NavigationTabId.settings);
|
||||
receiver.onHome = () => _selectTab(NavigationTabId.discover);
|
||||
receiver.onSearchAction = (query) {
|
||||
final idx = NavigationTab.indexFor(NavigationTabId.search, isOffline: _isOffline, hasLiveTv: _hasLiveTv);
|
||||
if (idx >= 0) {
|
||||
_selectTab(idx);
|
||||
if (query != null && query.isNotEmpty) {
|
||||
WidgetsBinding.instance.addPostFrameCallback((_) {
|
||||
if (_searchKey.currentState case final SearchInputFocusable searchable) {
|
||||
searchable.setSearchQuery(query);
|
||||
}
|
||||
});
|
||||
}
|
||||
_selectTab(NavigationTabId.search);
|
||||
if (query != null && query.isNotEmpty) {
|
||||
WidgetsBinding.instance.addPostFrameCallback((_) {
|
||||
if (_searchKey.currentState case final SearchInputFocusable searchable) {
|
||||
searchable.setSearchQuery(query);
|
||||
}
|
||||
});
|
||||
}
|
||||
};
|
||||
}
|
||||
@@ -534,39 +529,25 @@ class _MainScreenState extends State<MainScreen> with RouteAware, WindowListener
|
||||
}
|
||||
|
||||
List<Widget> _buildScreens(bool offline) {
|
||||
// In offline mode, only show Downloads and Settings
|
||||
if (offline) {
|
||||
return [DownloadsScreen(key: _downloadsKey), SettingsScreen(key: _settingsKey)];
|
||||
}
|
||||
|
||||
final hasLiveTv = context.read<MultiServerProvider>().hasLiveTv;
|
||||
|
||||
return [
|
||||
DiscoverScreen(key: _discoverKey, onBecameVisible: _onDiscoverBecameVisible),
|
||||
LibrariesScreen(key: _librariesKey, onLibraryOrderChanged: _onLibraryOrderChanged),
|
||||
if (hasLiveTv) LiveTvScreen(key: _liveTvKey),
|
||||
SearchScreen(key: _searchKey),
|
||||
DownloadsScreen(key: _downloadsKey),
|
||||
SettingsScreen(key: _settingsKey),
|
||||
for (final tab in _getVisibleTabs(offline))
|
||||
switch (tab.id) {
|
||||
NavigationTabId.discover => DiscoverScreen(key: _discoverKey, onBecameVisible: _onDiscoverBecameVisible),
|
||||
NavigationTabId.libraries => LibrariesScreen(key: _librariesKey, onLibraryOrderChanged: _onLibraryOrderChanged),
|
||||
NavigationTabId.liveTv => LiveTvScreen(key: _liveTvKey),
|
||||
NavigationTabId.search => SearchScreen(key: _searchKey),
|
||||
NavigationTabId.downloads => DownloadsScreen(key: _downloadsKey),
|
||||
NavigationTabId.settings => SettingsScreen(key: _settingsKey),
|
||||
},
|
||||
];
|
||||
}
|
||||
|
||||
/// Normalize tab index when switching between offline/online modes.
|
||||
/// Normalize tab ID when switching between offline/online modes.
|
||||
/// Preserves the current tab if it exists in the new mode, otherwise defaults to first tab.
|
||||
int _normalizeIndexForMode(int currentIndex, bool wasOffline, bool isOffline) {
|
||||
if (wasOffline == isOffline) return currentIndex;
|
||||
|
||||
final oldTabs = _getVisibleTabs(wasOffline);
|
||||
final newTabs = _getVisibleTabs(isOffline);
|
||||
|
||||
// Get the tab ID at the current index (or first tab if out of bounds)
|
||||
final currentTabId = currentIndex >= 0 && currentIndex < oldTabs.length
|
||||
? oldTabs[currentIndex].id
|
||||
: oldTabs.first.id;
|
||||
|
||||
// Find the same tab in the new mode's tab list
|
||||
final newIndex = newTabs.indexWhere((tab) => tab.id == currentTabId);
|
||||
return newIndex >= 0 ? newIndex : 0;
|
||||
NavigationTabId _normalizeTabForMode(NavigationTabId currentTab, bool isOffline) {
|
||||
final tabs = _getVisibleTabs(isOffline);
|
||||
if (tabs.any((t) => t.id == currentTab)) return currentTab;
|
||||
return tabs.first.id;
|
||||
}
|
||||
|
||||
void _triggerReconnect() {
|
||||
@@ -589,11 +570,8 @@ class _MainScreenState extends State<MainScreen> with RouteAware, WindowListener
|
||||
_lastHasLiveTv = hasLiveTv;
|
||||
|
||||
setState(() {
|
||||
final currentTabId = _tabIdForIndex(_isOffline, _currentIndex);
|
||||
_screens = _buildScreens(_isOffline);
|
||||
// Restore the correct tab index after rebuilding
|
||||
final newIndex = NavigationTab.indexFor(currentTabId, isOffline: _isOffline, hasLiveTv: hasLiveTv);
|
||||
_currentIndex = newIndex >= 0 ? newIndex : 0;
|
||||
_currentTab = _normalizeTabForMode(_currentTab, _isOffline);
|
||||
});
|
||||
}
|
||||
|
||||
@@ -602,7 +580,7 @@ class _MainScreenState extends State<MainScreen> with RouteAware, WindowListener
|
||||
|
||||
if (newOffline == _isOffline) return;
|
||||
|
||||
final previousTabId = _tabIdForIndex(_isOffline, _currentIndex);
|
||||
final previousTab = _currentTab;
|
||||
final wasOffline = _isOffline;
|
||||
setState(() {
|
||||
_isReconnecting = false;
|
||||
@@ -613,23 +591,23 @@ class _MainScreenState extends State<MainScreen> with RouteAware, WindowListener
|
||||
if (_isOffline) {
|
||||
// Remember the online tab so we can restore it when reconnecting.
|
||||
if (!wasOffline) {
|
||||
_lastOnlineTabId = previousTabId;
|
||||
_lastOnlineTabId = previousTab;
|
||||
}
|
||||
|
||||
_currentIndex = _normalizeIndexForMode(_currentIndex, wasOffline, _isOffline);
|
||||
final normalizedTab = _normalizeTabForMode(_currentTab, _isOffline);
|
||||
_currentTab = normalizedTab;
|
||||
|
||||
// Track if we auto-switched to Downloads because the previous tab was unavailable.
|
||||
_autoSwitchedToDownloads =
|
||||
previousTabId != NavigationTabId.downloads &&
|
||||
_tabIdForIndex(true, _currentIndex) == NavigationTabId.downloads;
|
||||
previousTab != NavigationTabId.downloads &&
|
||||
normalizedTab == NavigationTabId.downloads;
|
||||
} else {
|
||||
// Coming back online: restore the last online tab if we forced a switch to Downloads.
|
||||
if (_autoSwitchedToDownloads) {
|
||||
final restoredTab = _lastOnlineTabId ?? NavigationTabId.discover;
|
||||
final restoredIndex = NavigationTab.indexFor(restoredTab, isOffline: _isOffline, hasLiveTv: _hasLiveTv);
|
||||
_currentIndex = restoredIndex >= 0 ? restoredIndex : 0;
|
||||
_currentTab = _normalizeTabForMode(restoredTab, _isOffline);
|
||||
} else {
|
||||
_currentIndex = _normalizeIndexForMode(_currentIndex, wasOffline, _isOffline);
|
||||
_currentTab = _normalizeTabForMode(_currentTab, _isOffline);
|
||||
}
|
||||
_autoSwitchedToDownloads = false;
|
||||
}
|
||||
@@ -664,48 +642,15 @@ class _MainScreenState extends State<MainScreen> with RouteAware, WindowListener
|
||||
void _focusContent() {
|
||||
setState(() => _isSidebarFocused = false);
|
||||
_contentFocusScope.requestFocus();
|
||||
// When content regains focus while on Discover, focus the hero section
|
||||
if (_currentIndex == 0 && !_isOffline) {
|
||||
WidgetsBinding.instance.addPostFrameCallback((_) {
|
||||
if (_discoverKey.currentState case final TabVisibilityAware aware) {
|
||||
aware.onTabShown();
|
||||
}
|
||||
});
|
||||
}
|
||||
// When content regains focus while on Libraries, only focus the active tab
|
||||
// if no child already has focus (avoids stale focus requests stealing focus
|
||||
// from the current item when scrolling back to item 0)
|
||||
if (_currentIndex == 1 && !_isOffline) {
|
||||
WidgetsBinding.instance.addPostFrameCallback((_) {
|
||||
if (_contentFocusScope.focusedChild == null) {
|
||||
if (_librariesKey.currentState case final FocusableTab focusable) {
|
||||
focusable.focusActiveTabIfReady();
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
// When content regains focus while on Live TV, focus the active guide/whats-on tab
|
||||
final liveTvIndex = NavigationTab.indexFor(NavigationTabId.liveTv, isOffline: _isOffline, hasLiveTv: _hasLiveTv);
|
||||
if (_currentIndex == liveTvIndex && liveTvIndex >= 0) {
|
||||
WidgetsBinding.instance.addPostFrameCallback((_) {
|
||||
if (_liveTvKey.currentState case final FocusableTab focusable) {
|
||||
// Only programmatically focus if the scope didn't auto-restore a child.
|
||||
// This preserves the user's focus position when returning from sidebar.
|
||||
WidgetsBinding.instance.addPostFrameCallback((_) {
|
||||
if (_contentFocusScope.focusedChild == null) {
|
||||
if (_screenKeyFor(_currentTab)?.currentState case final FocusableTab focusable) {
|
||||
focusable.focusActiveTabIfReady();
|
||||
}
|
||||
});
|
||||
}
|
||||
// When content regains focus while on Settings, restore focus to last focused setting
|
||||
final settingsIndex = NavigationTab.indexFor(
|
||||
NavigationTabId.settings,
|
||||
isOffline: _isOffline,
|
||||
hasLiveTv: _hasLiveTv,
|
||||
);
|
||||
if (_currentIndex == settingsIndex) {
|
||||
WidgetsBinding.instance.addPostFrameCallback((_) {
|
||||
if (_settingsKey.currentState case final FocusableTab focusable) {
|
||||
focusable.focusActiveTabIfReady();
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
/// Suppress stray back events after a child route pops.
|
||||
@@ -746,10 +691,35 @@ class _MainScreenState extends State<MainScreen> with RouteAware, WindowListener
|
||||
});
|
||||
}
|
||||
|
||||
/// Handle Cmd+F (macOS) / Ctrl+F (Windows/Linux) to navigate to search.
|
||||
KeyEventResult _handleSearchShortcut(KeyEvent event) {
|
||||
if (event is! KeyDownEvent) return KeyEventResult.ignored;
|
||||
if (event.logicalKey != LogicalKeyboardKey.keyF) return KeyEventResult.ignored;
|
||||
|
||||
final isMetaPressed = HardwareKeyboard.instance.isMetaPressed;
|
||||
final isControlPressed = HardwareKeyboard.instance.isControlPressed;
|
||||
|
||||
final isMacShortcut = Platform.isMacOS && isMetaPressed && !isControlPressed;
|
||||
final isOtherShortcut = !Platform.isMacOS && isControlPressed && !isMetaPressed;
|
||||
|
||||
if (!isMacShortcut && !isOtherShortcut) return KeyEventResult.ignored;
|
||||
if (_isOffline) return KeyEventResult.handled;
|
||||
|
||||
_selectTab(NavigationTabId.search);
|
||||
if (_isSidebarFocused) _focusContent();
|
||||
// Schedule focus after the frame so the search screen is visible in the IndexedStack
|
||||
WidgetsBinding.instance.addPostFrameCallback((_) {
|
||||
if (_searchKey.currentState case final SearchInputFocusable searchable) {
|
||||
searchable.focusSearchInput();
|
||||
}
|
||||
});
|
||||
return KeyEventResult.handled;
|
||||
}
|
||||
|
||||
@override
|
||||
void didPush() {
|
||||
// Called when this route has been pushed (initial navigation)
|
||||
if (_currentIndex == 0 && !_isOffline) {
|
||||
if (_currentTab == NavigationTabId.discover) {
|
||||
_onDiscoverBecameVisible();
|
||||
}
|
||||
}
|
||||
@@ -757,7 +727,7 @@ class _MainScreenState extends State<MainScreen> with RouteAware, WindowListener
|
||||
@override
|
||||
void didPushNext() {
|
||||
// Called when a child route is pushed on top (e.g., video player)
|
||||
if (_currentIndex == 0 && !_isOffline) {
|
||||
if (_currentTab == NavigationTabId.discover) {
|
||||
if (_discoverKey.currentState case final TabVisibilityAware aware) {
|
||||
aware.onTabHidden();
|
||||
}
|
||||
@@ -776,9 +746,9 @@ class _MainScreenState extends State<MainScreen> with RouteAware, WindowListener
|
||||
});
|
||||
|
||||
// Called when returning to this route from a child route (e.g., from video player)
|
||||
if (_currentIndex == 0 && !_isOffline) {
|
||||
if (_currentTab == NavigationTabId.discover) {
|
||||
if (_discoverKey.currentState case final TabVisibilityAware aware) {
|
||||
aware.onTabShown(scrollToTop: false);
|
||||
aware.onTabShown();
|
||||
}
|
||||
_onDiscoverBecameVisible();
|
||||
}
|
||||
@@ -854,81 +824,47 @@ class _MainScreenState extends State<MainScreen> with RouteAware, WindowListener
|
||||
// Sidebar automatically updates since it watches LibrariesProvider
|
||||
}
|
||||
|
||||
void _selectTab(int index) {
|
||||
final previousIndex = _currentIndex;
|
||||
void _selectTab(NavigationTabId tab) {
|
||||
// Guard: ignore if tab isn't available in current mode
|
||||
if (!_getVisibleTabs(_isOffline).any((t) => t.id == tab)) return;
|
||||
|
||||
final previousTab = _currentTab;
|
||||
setState(() {
|
||||
_currentIndex = index;
|
||||
_currentTab = tab;
|
||||
if (!_isOffline) {
|
||||
_lastOnlineTabId = _tabIdForIndex(false, index);
|
||||
} else if (previousIndex != index) {
|
||||
_lastOnlineTabId = tab;
|
||||
} else if (previousTab != tab) {
|
||||
// User made an explicit offline selection, so don't auto-restore later.
|
||||
_autoSwitchedToDownloads = false;
|
||||
}
|
||||
});
|
||||
|
||||
// Handle screen-specific logic
|
||||
final settingsIndex = NavigationTab.indexFor(
|
||||
NavigationTabId.settings,
|
||||
isOffline: _isOffline,
|
||||
hasLiveTv: _hasLiveTv,
|
||||
);
|
||||
|
||||
// Skip online-only screen logic in offline mode
|
||||
if (!_isOffline) {
|
||||
// Pause/resume discover auto-scroll when switching tabs
|
||||
if (previousIndex == 0 && index != 0) {
|
||||
if (_discoverKey.currentState case final TabVisibilityAware aware) {
|
||||
aware.onTabHidden();
|
||||
}
|
||||
if (previousTab != tab) {
|
||||
// Notify previous screen it's being hidden
|
||||
if (_screenKeyFor(previousTab)?.currentState case final TabVisibilityAware aware) {
|
||||
aware.onTabHidden();
|
||||
}
|
||||
// Notify discover screen when it becomes visible via tab switch
|
||||
if (index == 0) {
|
||||
if (previousIndex != 0) {
|
||||
if (_discoverKey.currentState case final TabVisibilityAware aware) {
|
||||
aware.onTabShown();
|
||||
}
|
||||
}
|
||||
_onDiscoverBecameVisible();
|
||||
// Notify and focus new screen
|
||||
final newState = _screenKeyFor(tab)?.currentState;
|
||||
if (newState case final TabVisibilityAware aware) {
|
||||
aware.onTabShown();
|
||||
}
|
||||
// Ensure the libraries screen applies focus when brought into view
|
||||
if (index == 1 && previousIndex != 1) {
|
||||
if (_librariesKey.currentState case final FocusableTab focusable) {
|
||||
focusable.focusActiveTabIfReady();
|
||||
}
|
||||
}
|
||||
// Ensure the Live TV screen applies focus when brought into view
|
||||
final liveTvIdx = NavigationTab.indexFor(NavigationTabId.liveTv, isOffline: _isOffline, hasLiveTv: _hasLiveTv);
|
||||
if (index == liveTvIdx && liveTvIdx >= 0 && previousIndex != liveTvIdx) {
|
||||
if (_liveTvKey.currentState case final FocusableTab focusable) {
|
||||
focusable.focusActiveTabIfReady();
|
||||
}
|
||||
}
|
||||
// Focus search input when selecting Search tab
|
||||
if (NavigationTab.isTabAtIndex(NavigationTabId.search, index, isOffline: _isOffline, hasLiveTv: _hasLiveTv)) {
|
||||
if (_searchKey.currentState case final SearchInputFocusable searchable) {
|
||||
searchable.focusSearchInput();
|
||||
}
|
||||
if (newState case final FocusableTab focusable) {
|
||||
focusable.focusActiveTabIfReady();
|
||||
}
|
||||
}
|
||||
|
||||
// Restore focus when switching to Settings tab (works in both online and offline mode)
|
||||
if (index == settingsIndex && previousIndex != settingsIndex) {
|
||||
if (_settingsKey.currentState case final FocusableTab focusable) {
|
||||
focusable.focusActiveTabIfReady();
|
||||
}
|
||||
// Discover: always refresh content (even on re-selection)
|
||||
if (!_isOffline && tab == NavigationTabId.discover) {
|
||||
_onDiscoverBecameVisible();
|
||||
}
|
||||
}
|
||||
|
||||
/// Handle library selection from side navigation rail
|
||||
void _selectLibrary(String libraryGlobalKey) {
|
||||
setState(() {
|
||||
_selectedLibraryGlobalKey = libraryGlobalKey;
|
||||
_currentIndex = 1; // Switch to Libraries tab
|
||||
if (!_isOffline) {
|
||||
_lastOnlineTabId = NavigationTabId.libraries;
|
||||
}
|
||||
});
|
||||
// Tell LibrariesScreen to load this library
|
||||
_selectedLibraryGlobalKey = libraryGlobalKey;
|
||||
_selectTab(NavigationTabId.libraries);
|
||||
// Tell LibrariesScreen to load this library after tab switch
|
||||
if (_librariesKey.currentState case final LibraryLoadable loadable) {
|
||||
loadable.loadLibraryByKey(libraryGlobalKey);
|
||||
}
|
||||
@@ -938,25 +874,25 @@ class _MainScreenState extends State<MainScreen> with RouteAware, WindowListener
|
||||
}
|
||||
|
||||
/// Whether the Live TV tab is currently visible
|
||||
bool get _hasLiveTv {
|
||||
try {
|
||||
return context.read<MultiServerProvider>().hasLiveTv;
|
||||
} catch (_) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
/// Use the synchronized value so screens list and nav bar always agree.
|
||||
/// Updated by _handleLiveTvChanged when the provider notifies.
|
||||
bool get _hasLiveTv => _lastHasLiveTv;
|
||||
|
||||
/// Get navigation tabs filtered by offline mode
|
||||
List<NavigationTab> _getVisibleTabs(bool isOffline) {
|
||||
return NavigationTab.getVisibleTabs(isOffline: isOffline, hasLiveTv: _hasLiveTv);
|
||||
}
|
||||
|
||||
/// Get the tab ID for a given index, clamping to the available range.
|
||||
NavigationTabId _tabIdForIndex(bool isOffline, int index) {
|
||||
final tabs = _getVisibleTabs(isOffline);
|
||||
if (tabs.isEmpty) return NavigationTabId.discover;
|
||||
final safeIndex = index.clamp(0, tabs.length - 1).toInt();
|
||||
return tabs[safeIndex].id;
|
||||
/// Get the GlobalKey for a given tab.
|
||||
GlobalKey? _screenKeyFor(NavigationTabId tab) {
|
||||
return switch (tab) {
|
||||
NavigationTabId.discover => _discoverKey,
|
||||
NavigationTabId.libraries => _librariesKey,
|
||||
NavigationTabId.liveTv => _liveTvKey,
|
||||
NavigationTabId.search => _searchKey,
|
||||
NavigationTabId.downloads => _downloadsKey,
|
||||
NavigationTabId.settings => _settingsKey,
|
||||
};
|
||||
}
|
||||
|
||||
/// Build navigation destinations for bottom navigation bar.
|
||||
@@ -986,11 +922,16 @@ class _MainScreenState extends State<MainScreen> with RouteAware, WindowListener
|
||||
// ignore: no-empty-block - required callback, back navigation handled by _handleBackKey
|
||||
onPopInvokedWithResult: (didPop, result) {},
|
||||
child: Focus(
|
||||
onKeyEvent: (node, event) => _handleBackKey(event),
|
||||
onKeyEvent: (node, event) {
|
||||
final searchResult = _handleSearchShortcut(event);
|
||||
if (searchResult == KeyEventResult.handled) return searchResult;
|
||||
return _handleBackKey(event);
|
||||
},
|
||||
child: MainScreenFocusScope(
|
||||
focusSidebar: _focusSidebar,
|
||||
focusContent: _focusContent,
|
||||
isSidebarFocused: _isSidebarFocused,
|
||||
selectLibrary: _selectLibrary,
|
||||
child: SideNavigationScope(
|
||||
child: Stack(
|
||||
children: [
|
||||
@@ -1017,14 +958,14 @@ class _MainScreenState extends State<MainScreen> with RouteAware, WindowListener
|
||||
node: _sidebarFocusScope,
|
||||
child: SideNavigationRail(
|
||||
key: _sideNavKey,
|
||||
selectedIndex: _currentIndex,
|
||||
selectedTab: _currentTab,
|
||||
selectedLibraryKey: _selectedLibraryGlobalKey,
|
||||
isOfflineMode: _isOffline,
|
||||
isSidebarFocused: _isSidebarFocused,
|
||||
alwaysExpanded: alwaysExpanded,
|
||||
isReconnecting: _isReconnecting,
|
||||
onDestinationSelected: (index) {
|
||||
_selectTab(index);
|
||||
onDestinationSelected: (tab) {
|
||||
_selectTab(tab);
|
||||
_focusContent();
|
||||
},
|
||||
onLibrarySelected: (key) {
|
||||
@@ -1096,7 +1037,10 @@ class _MainScreenState extends State<MainScreen> with RouteAware, WindowListener
|
||||
data: NavigationBarTheme.of(context).copyWith(height: hideLabels ? 56 : null),
|
||||
child: NavigationBar(
|
||||
selectedIndex: _currentIndex,
|
||||
onDestinationSelected: _selectTab,
|
||||
onDestinationSelected: (i) {
|
||||
final tabs = _getVisibleTabs(_isOffline);
|
||||
if (i >= 0 && i < tabs.length) _selectTab(tabs[i].id);
|
||||
},
|
||||
labelBehavior: hideLabels
|
||||
? NavigationDestinationLabelBehavior.alwaysHide
|
||||
: NavigationDestinationLabelBehavior.alwaysShow,
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -237,9 +237,9 @@ class _PlaylistItemCardState extends State<PlaylistItemCard> {
|
||||
}
|
||||
|
||||
String _buildSubtitle() {
|
||||
final itemType = widget.item.type.toLowerCase();
|
||||
final itemType = widget.item.mediaType;
|
||||
|
||||
if (itemType == 'episode') {
|
||||
if (itemType == PlexMediaType.episode) {
|
||||
// For episodes, show "S#E# - Episode Title"
|
||||
final season = widget.item.parentIndex;
|
||||
final episode = widget.item.index;
|
||||
@@ -247,7 +247,7 @@ class _PlaylistItemCardState extends State<PlaylistItemCard> {
|
||||
return 'S${season}E$episode${widget.item.displaySubtitle != null ? ' - ${widget.item.displaySubtitle}' : ''}';
|
||||
}
|
||||
return widget.item.displaySubtitle ?? t.discover.tvShow;
|
||||
} else if (itemType == 'movie') {
|
||||
} else if (itemType == PlexMediaType.movie) {
|
||||
// For movies, show year and edition
|
||||
final year = widget.item.year?.toString();
|
||||
if (year != null && widget.item.editionTitle != null) {
|
||||
@@ -257,6 +257,6 @@ class _PlaylistItemCardState extends State<PlaylistItemCard> {
|
||||
}
|
||||
|
||||
// Default to type
|
||||
return widget.item.type;
|
||||
return widget.item.mediaType.name;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -497,7 +497,7 @@ class _DigitBox extends StatelessWidget {
|
||||
color: isActive ? focusColor.withValues(alpha: 0.08) : Colors.transparent,
|
||||
),
|
||||
child: Text(
|
||||
digit != null ? digit.toString() : '–',
|
||||
digit != null ? (isActive ? digit.toString() : '•') : '–',
|
||||
style: theme.textTheme.headlineSmall?.copyWith(
|
||||
fontWeight: FontWeight.bold,
|
||||
color: digit != null
|
||||
|
||||
@@ -24,7 +24,7 @@ class SearchScreen extends StatefulWidget {
|
||||
State<SearchScreen> createState() => _SearchScreenState();
|
||||
}
|
||||
|
||||
class _SearchScreenState extends State<SearchScreen> with Refreshable, FullRefreshable, SearchInputFocusable {
|
||||
class _SearchScreenState extends State<SearchScreen> with Refreshable, FullRefreshable, SearchInputFocusable, FocusableTab {
|
||||
final _searchController = TextEditingController();
|
||||
final _searchFocusNode = FocusNode(debugLabel: 'SearchInput');
|
||||
final _firstResultFocusNode = FocusNode(debugLabel: 'SearchFirstResult');
|
||||
@@ -129,6 +129,11 @@ class _SearchScreenState extends State<SearchScreen> with Refreshable, FullRefre
|
||||
_searchFocusNode.requestFocus();
|
||||
}
|
||||
|
||||
@override
|
||||
void focusActiveTabIfReady() {
|
||||
_searchFocusNode.requestFocus();
|
||||
}
|
||||
|
||||
/// Set the search query externally (e.g. from companion remote)
|
||||
@override
|
||||
void setSearchQuery(String query) {
|
||||
@@ -204,6 +209,7 @@ class _SearchScreenState extends State<SearchScreen> with Refreshable, FullRefre
|
||||
key: Key(item.globalKey),
|
||||
item: item,
|
||||
forceListMode: true,
|
||||
disableScale: true,
|
||||
focusNode: index == 0 ? _firstResultFocusNode : null,
|
||||
onListRefresh: () => updateItem(item.ratingKey),
|
||||
onNavigateLeft: _navigateToSidebar,
|
||||
|
||||
@@ -13,6 +13,7 @@ import '../../focus/focusable_action_bar.dart';
|
||||
import '../../focus/focusable_button.dart';
|
||||
import '../../focus/key_event_utils.dart';
|
||||
import '../../i18n/strings.g.dart';
|
||||
import '../../main.dart' show gitCommit;
|
||||
import '../../utils/app_logger.dart';
|
||||
import '../../utils/platform_detector.dart';
|
||||
import '../../utils/snackbar_helper.dart';
|
||||
@@ -41,7 +42,8 @@ class _LogsScreenState extends State<LogsScreen> {
|
||||
final packageInfo = await PackageInfo.fromPlatform();
|
||||
final deviceInfo = DeviceInfoPlugin();
|
||||
final buffer = StringBuffer();
|
||||
buffer.writeln('${t.app.title} v${packageInfo.version} (${packageInfo.buildNumber})');
|
||||
final commitSuffix = gitCommit.isNotEmpty ? ' ${gitCommit.substring(0, 7)}' : '';
|
||||
buffer.writeln('${t.app.title} v${packageInfo.version} (${packageInfo.buildNumber})$commitSuffix');
|
||||
|
||||
if (Platform.isAndroid) {
|
||||
final info = await deviceInfo.androidInfo;
|
||||
|
||||
@@ -77,6 +77,7 @@ class _SettingsScreenState extends State<SettingsScreen> with FocusableTab {
|
||||
static const _kShowUnwatchedCount = 'show_unwatched_count';
|
||||
static const _kHideSpoilers = 'hide_spoilers';
|
||||
static const _kShowNavBarLabels = 'show_nav_bar_labels';
|
||||
static const _kLiveTvDefaultFavorites = 'live_tv_default_favorites';
|
||||
static const _kRequireProfileSelectionOnOpen = 'require_profile_selection_on_open';
|
||||
static const _kConfirmExitOnBack = 'confirm_exit_on_back';
|
||||
static const _kPlayerBackend = 'player_backend';
|
||||
@@ -98,6 +99,8 @@ class _SettingsScreenState extends State<SettingsScreen> with FocusableTab {
|
||||
static const _kAutoSkipIntro = 'auto_skip_intro';
|
||||
static const _kAutoSkipCredits = 'auto_skip_credits';
|
||||
static const _kAutoSkipDelay = 'auto_skip_delay';
|
||||
static const _kIntroPattern = 'intro_pattern';
|
||||
static const _kCreditsPattern = 'credits_pattern';
|
||||
static const _kDownloadLocation = 'download_location';
|
||||
static const _kDownloadOnWifiOnly = 'download_on_wifi_only';
|
||||
static const _kVideoPlayerControls = 'video_player_controls';
|
||||
@@ -125,6 +128,8 @@ class _SettingsScreenState extends State<SettingsScreen> with FocusableTab {
|
||||
bool _autoSkipIntro = false;
|
||||
bool _autoSkipCredits = false;
|
||||
int _autoSkipDelay = 5;
|
||||
String _introPattern = settings.SettingsService.defaultIntroPattern;
|
||||
String _creditsPattern = settings.SettingsService.defaultCreditsPattern;
|
||||
bool _downloadOnWifiOnly = false;
|
||||
bool _videoPlayerNavigationEnabled = false;
|
||||
int _maxVolume = 100;
|
||||
@@ -202,6 +207,8 @@ class _SettingsScreenState extends State<SettingsScreen> with FocusableTab {
|
||||
_autoSkipIntro = _settingsService.getAutoSkipIntro();
|
||||
_autoSkipCredits = _settingsService.getAutoSkipCredits();
|
||||
_autoSkipDelay = _settingsService.getAutoSkipDelay();
|
||||
_introPattern = _settingsService.getIntroPattern();
|
||||
_creditsPattern = _settingsService.getCreditsPattern();
|
||||
_downloadOnWifiOnly = _settingsService.getDownloadOnWifiOnly();
|
||||
_videoPlayerNavigationEnabled = _settingsService.getVideoPlayerNavigationEnabled();
|
||||
_maxVolume = _settingsService.getMaxVolume();
|
||||
@@ -519,6 +526,20 @@ class _SettingsScreenState extends State<SettingsScreen> with FocusableTab {
|
||||
);
|
||||
},
|
||||
),
|
||||
Consumer<SettingsProvider>(
|
||||
builder: (context, settingsProvider, child) {
|
||||
return SwitchListTile(
|
||||
focusNode: _focusTracker.get(_kLiveTvDefaultFavorites),
|
||||
secondary: const AppIcon(Symbols.star_rounded, fill: 1),
|
||||
title: Text(t.settings.liveTvDefaultFavorites),
|
||||
subtitle: Text(t.settings.liveTvDefaultFavoritesDescription),
|
||||
value: settingsProvider.liveTvDefaultFavorites,
|
||||
onChanged: (value) async {
|
||||
await settingsProvider.setLiveTvDefaultFavorites(value);
|
||||
},
|
||||
);
|
||||
},
|
||||
),
|
||||
Consumer<SettingsProvider>(
|
||||
builder: (context, settingsProvider, child) {
|
||||
return SwitchListTile(
|
||||
@@ -874,6 +895,38 @@ class _SettingsScreenState extends State<SettingsScreen> with FocusableTab {
|
||||
trailing: const AppIcon(Symbols.chevron_right_rounded, fill: 1),
|
||||
onTap: () => _showAutoSkipDelayDialog(),
|
||||
),
|
||||
ListTile(
|
||||
focusNode: _focusTracker.get(_kIntroPattern),
|
||||
leading: const AppIcon(Symbols.match_case_rounded, fill: 1),
|
||||
title: Text(t.settings.introPattern),
|
||||
subtitle: Text(t.settings.introPatternDescription),
|
||||
trailing: const AppIcon(Symbols.chevron_right_rounded, fill: 1),
|
||||
onTap: () => _showTextInputDialog(
|
||||
title: t.settings.introPattern,
|
||||
currentValue: _introPattern,
|
||||
defaultValue: settings.SettingsService.defaultIntroPattern,
|
||||
onSave: (value) async {
|
||||
setState(() => _introPattern = value);
|
||||
await _settingsService.setIntroPattern(value);
|
||||
},
|
||||
),
|
||||
),
|
||||
ListTile(
|
||||
focusNode: _focusTracker.get(_kCreditsPattern),
|
||||
leading: const AppIcon(Symbols.match_case_rounded, fill: 1),
|
||||
title: Text(t.settings.creditsPattern),
|
||||
subtitle: Text(t.settings.creditsPatternDescription),
|
||||
trailing: const AppIcon(Symbols.chevron_right_rounded, fill: 1),
|
||||
onTap: () => _showTextInputDialog(
|
||||
title: t.settings.creditsPattern,
|
||||
currentValue: _creditsPattern,
|
||||
defaultValue: settings.SettingsService.defaultCreditsPattern,
|
||||
onSave: (value) async {
|
||||
setState(() => _creditsPattern = value);
|
||||
await _settingsService.setCreditsPattern(value);
|
||||
},
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
);
|
||||
@@ -1602,6 +1655,69 @@ class _SettingsScreenState extends State<SettingsScreen> with FocusableTab {
|
||||
);
|
||||
}
|
||||
|
||||
void _showTextInputDialog({
|
||||
required String title,
|
||||
required String currentValue,
|
||||
required String defaultValue,
|
||||
required Future<void> Function(String value) onSave,
|
||||
}) {
|
||||
final controller = TextEditingController(text: currentValue);
|
||||
String? errorText;
|
||||
final saveFocusNode = FocusNode();
|
||||
|
||||
showDialog(
|
||||
context: context,
|
||||
builder: (BuildContext dialogContext) {
|
||||
return StatefulBuilder(
|
||||
builder: (context, setDialogState) {
|
||||
return AlertDialog(
|
||||
title: Text(title),
|
||||
content: TextField(
|
||||
controller: controller,
|
||||
decoration: InputDecoration(
|
||||
labelText: 'Regex',
|
||||
errorText: errorText,
|
||||
),
|
||||
autofocus: true,
|
||||
textInputAction: TextInputAction.done,
|
||||
onEditingComplete: () => saveFocusNode.requestFocus(),
|
||||
onChanged: (value) {
|
||||
setDialogState(() {
|
||||
try {
|
||||
RegExp(value, caseSensitive: false);
|
||||
errorText = null;
|
||||
} catch (_) {
|
||||
errorText = t.settings.invalidRegex;
|
||||
}
|
||||
});
|
||||
},
|
||||
),
|
||||
actions: [
|
||||
TextButton(
|
||||
onPressed: () {
|
||||
controller.text = defaultValue;
|
||||
setDialogState(() => errorText = null);
|
||||
},
|
||||
child: Text(t.settings.resetToDefault),
|
||||
),
|
||||
TextButton(onPressed: () => Navigator.pop(dialogContext), child: Text(t.common.cancel)),
|
||||
TextButton(
|
||||
focusNode: saveFocusNode,
|
||||
onPressed: () async {
|
||||
if (errorText != null) return;
|
||||
await onSave(controller.text);
|
||||
if (dialogContext.mounted) Navigator.pop(dialogContext);
|
||||
},
|
||||
child: Text(t.common.save),
|
||||
),
|
||||
],
|
||||
);
|
||||
},
|
||||
);
|
||||
},
|
||||
).then((_) => saveFocusNode.dispose());
|
||||
}
|
||||
|
||||
void _showMaxVolumeDialog() {
|
||||
_showNumericInputDialog(
|
||||
title: t.settings.maxVolume,
|
||||
|
||||
@@ -2,6 +2,8 @@ import 'dart:async';
|
||||
import 'dart:io';
|
||||
import 'dart:math';
|
||||
|
||||
import 'package:path/path.dart' as p;
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:plezy/widgets/app_icon.dart';
|
||||
import 'package:material_symbols_icons/symbols.dart';
|
||||
@@ -152,11 +154,13 @@ class VideoPlayerScreenState extends State<VideoPlayerScreen> with WidgetsBindin
|
||||
StreamSubscription<Duration>? _positionSubscription;
|
||||
StreamSubscription<void>? _playbackRestartSubscription;
|
||||
StreamSubscription<void>? _backendSwitchedSubscription;
|
||||
StreamSubscription<PlayerLog>? _logSubscription;
|
||||
StreamSubscription<void>? _sleepTimerSubscription;
|
||||
StreamSubscription<bool>? _mediaControlsPlayingSubscription;
|
||||
StreamSubscription<Duration>? _mediaControlsPositionSubscription;
|
||||
StreamSubscription<double>? _mediaControlsRateSubscription;
|
||||
StreamSubscription<bool>? _mediaControlsSeekableSubscription;
|
||||
StreamSubscription<Map<String, bool>>? _serverStatusSubscription;
|
||||
bool _isReplacingWithVideo = false; // Flag to skip orientation restoration during video-to-video navigation
|
||||
bool _isDisposingForNavigation = false;
|
||||
bool _waitingForExternalSubsTrackSelection = false;
|
||||
@@ -411,6 +415,7 @@ class VideoPlayerScreenState extends State<VideoPlayerScreen> with WidgetsBindin
|
||||
// Create player (on Android, uses ExoPlayer by default, MPV as fallback)
|
||||
player = Player(useExoPlayer: useExoPlayer);
|
||||
|
||||
await player!.configureSubtitleFonts();
|
||||
await player!.setProperty('sub-ass', 'yes'); // Enable libass
|
||||
if (Platform.isAndroid && useExoPlayer) {
|
||||
final tunneledPlayback = settingsService.getTunneledPlayback();
|
||||
@@ -581,6 +586,11 @@ class VideoPlayerScreenState extends State<VideoPlayerScreen> with WidgetsBindin
|
||||
// Listen to MPV errors
|
||||
_errorSubscription = player!.streams.error.listen(_onPlayerError);
|
||||
|
||||
// Listen to error-level log messages for user-visible snackbars
|
||||
_logSubscription = player!.streams.log
|
||||
.where((log) => log.level == PlayerLogLevel.error || log.level == PlayerLogLevel.fatal)
|
||||
.listen(_onPlayerLogError);
|
||||
|
||||
// Listen for backend switched event (ExoPlayer -> MPV fallback on Android)
|
||||
if (Platform.isAndroid && useExoPlayer) {
|
||||
_backendSwitchedSubscription = player!.streams.backendSwitched.listen((_) => _onBackendSwitched());
|
||||
@@ -591,8 +601,28 @@ class VideoPlayerScreenState extends State<VideoPlayerScreen> with WidgetsBindin
|
||||
_isBuffering.value = isBuffering;
|
||||
});
|
||||
|
||||
// When server comes back online while buffering, force mpv to reconnect
|
||||
// immediately instead of waiting for ffmpeg's exponential backoff
|
||||
if (!widget.isOffline && !widget.isLive) {
|
||||
final serverId = widget.metadata.serverId;
|
||||
if (serverId != null) {
|
||||
final serverManager = context.read<MultiServerProvider>().serverManager;
|
||||
bool wasOffline = false;
|
||||
_serverStatusSubscription = serverManager.statusStream.listen((statusMap) {
|
||||
final isOnline = statusMap[serverId] == true;
|
||||
if (!isOnline) {
|
||||
wasOffline = true;
|
||||
} else if (wasOffline && _isBuffering.value) {
|
||||
wasOffline = false;
|
||||
_forceStreamReconnect();
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
// Listen to playback restart to detect first frame ready
|
||||
_playbackRestartSubscription = player!.streams.playbackRestart.listen((_) async {
|
||||
_lastLogError = null;
|
||||
if (!_hasFirstFrame.value) {
|
||||
_hasFirstFrame.value = true;
|
||||
Sentry.addBreadcrumb(Breadcrumb(message: 'First frame ready', category: 'player'));
|
||||
@@ -742,37 +772,36 @@ class VideoPlayerScreenState extends State<VideoPlayerScreen> with WidgetsBindin
|
||||
|
||||
// Set up media control event handling
|
||||
_mediaControlSubscription = _mediaControlsManager!.controlEvents.listen((event) {
|
||||
final currentPlayer = player;
|
||||
if (currentPlayer == null && event is! NextTrackEvent && event is! PreviousTrackEvent) return;
|
||||
|
||||
if (event is PlayEvent) {
|
||||
appLogger.d('Media control: Play event received');
|
||||
if (player != null) {
|
||||
player!.play();
|
||||
_wasPlayingBeforeInactive = false;
|
||||
appLogger.d('Cleared _wasPlayingBeforeInactive due to manual play via media controls');
|
||||
_updateMediaControlsPlaybackState();
|
||||
}
|
||||
currentPlayer!.play();
|
||||
_wasPlayingBeforeInactive = false;
|
||||
_updateMediaControlsPlaybackState();
|
||||
} else if (event is PauseEvent) {
|
||||
appLogger.d('Media control: Pause event received');
|
||||
if (player != null) {
|
||||
player!.pause();
|
||||
appLogger.d('Video paused via media controls');
|
||||
_updateMediaControlsPlaybackState();
|
||||
currentPlayer!.pause();
|
||||
_updateMediaControlsPlaybackState();
|
||||
} else if (event is TogglePlayPauseEvent) {
|
||||
appLogger.d('Media control: Toggle play/pause event received');
|
||||
if (currentPlayer!.state.playing) {
|
||||
currentPlayer.pause();
|
||||
} else {
|
||||
currentPlayer.play();
|
||||
_wasPlayingBeforeInactive = false;
|
||||
}
|
||||
_updateMediaControlsPlaybackState();
|
||||
} else if (event is SeekEvent) {
|
||||
appLogger.d('Media control: Seek event received to ${event.position}');
|
||||
final currentPlayer = player;
|
||||
if (currentPlayer != null) {
|
||||
unawaited(currentPlayer.seek(clampSeekPosition(currentPlayer, event.position)));
|
||||
}
|
||||
unawaited(currentPlayer!.seek(clampSeekPosition(currentPlayer, event.position)));
|
||||
} else if (event is NextTrackEvent) {
|
||||
appLogger.d('Media control: Next track event received');
|
||||
if (_nextEpisode != null) {
|
||||
_playNext();
|
||||
}
|
||||
if (_nextEpisode != null) _playNext();
|
||||
} else if (event is PreviousTrackEvent) {
|
||||
appLogger.d('Media control: Previous track event received');
|
||||
if (_previousEpisode != null) {
|
||||
_playPrevious();
|
||||
}
|
||||
if (_previousEpisode != null) _playPrevious();
|
||||
}
|
||||
});
|
||||
|
||||
@@ -1055,10 +1084,8 @@ class VideoPlayerScreenState extends State<VideoPlayerScreen> with WidgetsBindin
|
||||
|
||||
// Enable FFmpeg auto-reconnect for VOD streams (covers network drops up to 10 min)
|
||||
if (!widget.isOffline && !widget.isLive) {
|
||||
await player!.setProperty('stream-lavf-o-append', 'reconnect=1');
|
||||
await player!.setProperty('stream-lavf-o-append', 'reconnect_on_network_error=1');
|
||||
await player!.setProperty('stream-lavf-o-append', 'reconnect_streamed=1');
|
||||
await player!.setProperty('stream-lavf-o-append', 'reconnect_delay_max=600');
|
||||
await player!.setProperty('stream-lavf-o',
|
||||
'reconnect=1,reconnect_on_network_error=1,reconnect_streamed=1,reconnect_delay_max=600');
|
||||
}
|
||||
|
||||
// If we have external subtitles, open paused to add them before playback starts.
|
||||
@@ -1251,11 +1278,43 @@ class VideoPlayerScreenState extends State<VideoPlayerScreen> with WidgetsBindin
|
||||
appLogger.d('Could not load cached media info for offline playback', error: e);
|
||||
}
|
||||
|
||||
// Discover downloaded subtitle files for offline playback
|
||||
final offlineSubtitles = <SubtitleTrack>[];
|
||||
if (!videoPath.startsWith('content://')) {
|
||||
final subsPath = videoPath.replaceAll(RegExp(r'\.[^.]+$'), '_subs');
|
||||
var subsDir = Directory(subsPath);
|
||||
|
||||
// Fallback: legacy structure uses 'subtitles/' in parent dir
|
||||
if (!await subsDir.exists()) {
|
||||
final legacyDir = Directory(p.join(File(videoPath).parent.path, 'subtitles'));
|
||||
if (await legacyDir.exists()) subsDir = legacyDir;
|
||||
}
|
||||
|
||||
if (await subsDir.exists()) {
|
||||
final entities = await subsDir.list().toList();
|
||||
for (final entity in entities) {
|
||||
if (entity is! File) continue;
|
||||
final fileName = p.basenameWithoutExtension(entity.path);
|
||||
final trackId = int.tryParse(fileName);
|
||||
|
||||
final plexTrack = trackId != null
|
||||
? mediaInfo?.subtitleTracks.where((t) => t.id == trackId).firstOrNull
|
||||
: null;
|
||||
|
||||
offlineSubtitles.add(SubtitleTrack.uri(
|
||||
'file://${entity.path}',
|
||||
title: plexTrack?.displayTitle ?? plexTrack?.language ?? 'Subtitle $fileName',
|
||||
language: plexTrack?.languageCode,
|
||||
));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return PlaybackInitializationResult(
|
||||
availableVersions: [],
|
||||
videoUrl: videoPath.contains('://') ? videoPath : 'file://$videoPath',
|
||||
mediaInfo: mediaInfo,
|
||||
externalSubtitles: const [],
|
||||
externalSubtitles: offlineSubtitles,
|
||||
isOffline: true,
|
||||
);
|
||||
}
|
||||
@@ -1461,7 +1520,7 @@ class VideoPlayerScreenState extends State<VideoPlayerScreen> with WidgetsBindin
|
||||
watchTogether.setCurrentMedia(
|
||||
ratingKey: targetMetadata.ratingKey,
|
||||
serverId: targetMetadata.serverId!,
|
||||
mediaTitle: targetMetadata.title,
|
||||
mediaTitle: targetMetadata.displayTitle,
|
||||
);
|
||||
}
|
||||
} catch (e) {
|
||||
@@ -1742,11 +1801,13 @@ class VideoPlayerScreenState extends State<VideoPlayerScreen> with WidgetsBindin
|
||||
_positionSubscription?.cancel();
|
||||
_playbackRestartSubscription?.cancel();
|
||||
_backendSwitchedSubscription?.cancel();
|
||||
_logSubscription?.cancel();
|
||||
_sleepTimerSubscription?.cancel();
|
||||
_mediaControlsPlayingSubscription?.cancel();
|
||||
_mediaControlsPositionSubscription?.cancel();
|
||||
_mediaControlsRateSubscription?.cancel();
|
||||
_mediaControlsSeekableSubscription?.cancel();
|
||||
_serverStatusSubscription?.cancel();
|
||||
|
||||
// Cancel auto-play timer
|
||||
_autoPlayTimer?.cancel();
|
||||
@@ -1901,9 +1962,16 @@ class VideoPlayerScreenState extends State<VideoPlayerScreen> with WidgetsBindin
|
||||
|
||||
void _onPlayerError(String error) {
|
||||
appLogger.e('[Player ERROR] $error');
|
||||
if (!mounted) return;
|
||||
if (!mounted || _isExiting.value) return;
|
||||
showGlobalErrorSnackBar(_lastLogError ?? error);
|
||||
_handleBackButton();
|
||||
}
|
||||
|
||||
showErrorSnackBar(context, t.messages.failedPlayback(action: 'play', error: error));
|
||||
String? _lastLogError;
|
||||
|
||||
void _onPlayerLogError(PlayerLog log) {
|
||||
appLogger.e('[Player LOG ERROR] [${log.prefix}] ${log.text}');
|
||||
_lastLogError = log.text.trim();
|
||||
}
|
||||
|
||||
/// Handle notification when native player switched from ExoPlayer to MPV
|
||||
@@ -2069,16 +2137,24 @@ class VideoPlayerScreenState extends State<VideoPlayerScreen> with WidgetsBindin
|
||||
}
|
||||
}
|
||||
|
||||
/// Force mpv to reconnect its HTTP stream by seeking to the current position.
|
||||
/// This bypasses ffmpeg's exponential reconnect backoff when the app detects
|
||||
/// that network connectivity has been restored.
|
||||
void _forceStreamReconnect() {
|
||||
final p = player;
|
||||
if (p == null || !_isPlayerInitialized) return;
|
||||
final pos = p.state.position;
|
||||
appLogger.i('Network restored while buffering, forcing stream reconnect at ${pos.inSeconds}s');
|
||||
p.seek(pos);
|
||||
}
|
||||
|
||||
/// Configure MPV/FFmpeg options for live streaming resilience.
|
||||
/// Enables automatic reconnection on EOF and network errors.
|
||||
Future<void> _setLiveStreamOptions() async {
|
||||
final p = player!;
|
||||
// FFmpeg HTTP protocol reconnection
|
||||
await p.setProperty('stream-lavf-o-append', 'reconnect=1');
|
||||
await p.setProperty('stream-lavf-o-append', 'reconnect_at_eof=1');
|
||||
await p.setProperty('stream-lavf-o-append', 'reconnect_streamed=1');
|
||||
await p.setProperty('stream-lavf-o-append', 'reconnect_on_network_error=1');
|
||||
await p.setProperty('stream-lavf-o-append', 'reconnect_delay_max=30');
|
||||
await p.setProperty('stream-lavf-o',
|
||||
'reconnect=1,reconnect_at_eof=1,reconnect_streamed=1,reconnect_on_network_error=1,reconnect_delay_max=30');
|
||||
// Demuxer: retry up to 1000 times on stream reload failures
|
||||
await p.setProperty('demuxer-lavf-o', 'max_reload=1000');
|
||||
await p.setProperty('force-seekable', 'no');
|
||||
@@ -2857,7 +2933,7 @@ class VideoPlayerScreenState extends State<VideoPlayerScreen> with WidgetsBindin
|
||||
)
|
||||
else
|
||||
Text(
|
||||
_nextEpisode!.title,
|
||||
_nextEpisode!.title!,
|
||||
style: const TextStyle(
|
||||
color: Colors.white,
|
||||
fontSize: 14,
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user