Compare commits

..

5 Commits

Author SHA1 Message Date
Gallyam Biktashev
479e23f001 fix(i18n): Update transalation for Russian lang (#1427)
Some checks failed
🏗️ Build Apps / 🤖 Build Android APK (Phone) (push) Has been cancelled
🏗️ Build Apps / 🤖 Build Android APK (TV) (push) Has been cancelled
🏗️ Build Apps / 🍎 Build iOS IPA (Phone) (push) Has been cancelled
🏗️ Build Apps / 🍎 Build iOS IPA (Phone - Unsigned) (push) Has been cancelled
🔒 Lockfile Consistency Check / 🔍 Check bun.lock and package.json consistency (push) Has been cancelled
🛡️ CodeQL Analysis / 🔎 Analyze with CodeQL (actions) (push) Has been cancelled
🛡️ CodeQL Analysis / 🔎 Analyze with CodeQL (javascript-typescript) (push) Has been cancelled
🏷️🔀Merge Conflict Labeler / 🏷️ Labeling Merge Conflicts (push) Has been cancelled
🌐 Translation Sync / sync-translations (push) Has been cancelled
🚦 Security & Quality Gate / 📝 Validate PR Title (push) Has been cancelled
🚦 Security & Quality Gate / 🔍 Vulnerable Dependencies (push) Has been cancelled
🚦 Security & Quality Gate / 🚑 Expo Doctor Check (push) Has been cancelled
🚦 Security & Quality Gate / 🔍 Lint & Test (check) (push) Has been cancelled
🚦 Security & Quality Gate / 🔍 Lint & Test (format) (push) Has been cancelled
🚦 Security & Quality Gate / 🔍 Lint & Test (lint) (push) Has been cancelled
🚦 Security & Quality Gate / 🔍 Lint & Test (typecheck) (push) Has been cancelled
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-21 18:51:01 +01:00
github-actions[bot]
019f863b3e feat: New Crowdin Translations (#1346)
Some checks failed
🏗️ Build Apps / 🤖 Build Android APK (Phone) (push) Has been cancelled
🏗️ Build Apps / 🤖 Build Android APK (TV) (push) Has been cancelled
🏗️ Build Apps / 🍎 Build iOS IPA (Phone) (push) Has been cancelled
🏗️ Build Apps / 🍎 Build iOS IPA (Phone - Unsigned) (push) Has been cancelled
🔒 Lockfile Consistency Check / 🔍 Check bun.lock and package.json consistency (push) Has been cancelled
🛡️ CodeQL Analysis / 🔎 Analyze with CodeQL (actions) (push) Has been cancelled
🛡️ CodeQL Analysis / 🔎 Analyze with CodeQL (javascript-typescript) (push) Has been cancelled
🏷️🔀Merge Conflict Labeler / 🏷️ Labeling Merge Conflicts (push) Has been cancelled
🌐 Translation Sync / sync-translations (push) Has been cancelled
🚦 Security & Quality Gate / 📝 Validate PR Title (push) Has been cancelled
🚦 Security & Quality Gate / 🔍 Vulnerable Dependencies (push) Has been cancelled
🚦 Security & Quality Gate / 🚑 Expo Doctor Check (push) Has been cancelled
🚦 Security & Quality Gate / 🔍 Lint & Test (check) (push) Has been cancelled
🚦 Security & Quality Gate / 🔍 Lint & Test (format) (push) Has been cancelled
🚦 Security & Quality Gate / 🔍 Lint & Test (lint) (push) Has been cancelled
🚦 Security & Quality Gate / 🔍 Lint & Test (typecheck) (push) Has been cancelled
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2026-02-19 07:45:11 +01:00
renovate[bot]
54d8693999 chore(deps): Update crowdin/github-action action to v2.14.1 (#1453)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-19 07:44:30 +01:00
quang-tran
8c0cbffd98 fix(logs): change the mimeType and UTI to the proper types for log ex… (#1424) 2026-02-19 07:39:29 +01:00
Alex
9f9d949891 feat: Re-add native apple controls for mpv (#1411) 2026-02-19 07:38:01 +01:00
50 changed files with 2148 additions and 6550 deletions

View File

@@ -3,7 +3,7 @@
## Project Overview ## Project Overview
Streamyfin is a cross-platform Jellyfin video streaming client built with Expo (React Native). Streamyfin is a cross-platform Jellyfin video streaming client built with Expo (React Native).
It supports mobile (iOS/Android) and TV platforms, integrates with Jellyfin and Seerr APIs, It supports mobile (iOS/Android) and TV platforms, integrates with Jellyfin and Jellyseerr APIs,
and provides seamless media streaming with offline capabilities and Chromecast support. and provides seamless media streaming with offline capabilities and Chromecast support.
## Main Technologies ## Main Technologies
@@ -40,30 +40,9 @@ and provides seamless media streaming with offline capabilities and Chromecast s
- `scripts/` Automation scripts (Node.js, Bash) - `scripts/` Automation scripts (Node.js, Bash)
- `plugins/` Expo/Metro plugins - `plugins/` Expo/Metro plugins
## Code Quality Standards ## Coding Standards
**CRITICAL: Code must be production-ready, reliable, and maintainable**
### Type Safety
- Use TypeScript for ALL files (no .js files) - Use TypeScript for ALL files (no .js files)
- **NEVER use `any` type** - use proper types, generics, or `unknown` with type guards
- Use `@ts-expect-error` with detailed comments only when necessary (e.g., library limitations)
- When facing type issues, create proper type definitions and helper functions instead of using `any`
- Use type assertions (`as`) only as a last resort with clear documentation explaining why
- For Expo Router navigation: prefer string URLs with `URLSearchParams` over object syntax to avoid type conflicts
- Enable and respect strict TypeScript compiler options
- Define explicit return types for functions
- Use discriminated unions for complex state
### Code Reliability
- Implement comprehensive error handling with try-catch blocks
- Validate all external inputs (API responses, user input, query params)
- Handle edge cases explicitly (empty arrays, null, undefined)
- Use optional chaining (`?.`) and nullish coalescing (`??`) appropriately
- Add runtime checks for critical operations
- Implement proper loading and error states in components
### Best Practices
- Use descriptive English names for variables, functions, and components - Use descriptive English names for variables, functions, and components
- Prefer functional React components with hooks - Prefer functional React components with hooks
- Use Jotai atoms for global state management - Use Jotai atoms for global state management
@@ -71,10 +50,8 @@ and provides seamless media streaming with offline capabilities and Chromecast s
- Follow BiomeJS formatting and linting rules - Follow BiomeJS formatting and linting rules
- Use `const` over `let`, avoid `var` entirely - Use `const` over `let`, avoid `var` entirely
- Implement proper error boundaries - Implement proper error boundaries
- Use React.memo() for performance optimization when needed - Use React.memo() for performance optimization
- Handle both mobile and TV navigation patterns - Handle both mobile and TV navigation patterns
- Write self-documenting code with clear intent
- Add comments only when code complexity requires explanation
## API Integration ## API Integration
@@ -108,18 +85,6 @@ Exemples:
- `fix(auth): handle expired JWT tokens` - `fix(auth): handle expired JWT tokens`
- `chore(deps): update Jellyfin SDK` - `chore(deps): update Jellyfin SDK`
## Internationalization (i18n)
- **Primary workflow**: Always edit `translations/en.json` for new translation keys or updates
- **Translation files** (ar.json, ca.json, cs.json, de.json, etc.):
- **NEVER add or remove keys** - Crowdin manages the key structure
- **Editing translation values is safe** - Bidirectional sync handles merges
- Prefer letting Crowdin translators update values, but direct edits work if needed
- **Crowdin workflow**:
- New keys added to `en.json` sync to Crowdin automatically
- Approved translations sync back to language files via GitHub integration
- The source of truth is `en.json` for structure, Crowdin for translations
## Special Instructions ## Special Instructions
- Prioritize cross-platform compatibility (mobile + TV) - Prioritize cross-platform compatibility (mobile + TV)

View File

@@ -28,7 +28,7 @@ jobs:
fetch-depth: 0 fetch-depth: 0
- name: 🌐 Sync Translations with Crowdin - name: 🌐 Sync Translations with Crowdin
uses: crowdin/github-action@b4b468cffefb50bdd99dd83e5d2eaeb63c880380 # v2.14.0 uses: crowdin/github-action@5587c43063e52090026857d386174d2599ad323b # v2.14.1
with: with:
upload_sources: true upload_sources: true
upload_translations: true upload_translations: true

View File

@@ -61,7 +61,10 @@ export default function Page() {
setLoading(true); setLoading(true);
try { try {
logsFile.write(JSON.stringify(filteredLogs)); logsFile.write(JSON.stringify(filteredLogs));
await Sharing.shareAsync(logsFile.uri, { mimeType: "txt", UTI: "txt" }); await Sharing.shareAsync(logsFile.uri, {
mimeType: "text/plain",
UTI: "public.plain-text",
});
} catch (e: any) { } catch (e: any) {
writeErrorLog("Something went wrong attempting to export", e); writeErrorLog("Something went wrong attempting to export", e);
} finally { } finally {

View File

@@ -1,238 +0,0 @@
import { Ionicons } from "@expo/vector-icons";
import { useNavigation } from "expo-router";
import { TFunction } from "i18next";
import { useEffect, useMemo } from "react";
import { useTranslation } from "react-i18next";
import { View } from "react-native";
import { Text } from "@/components/common/Text";
import { ListGroup } from "@/components/list/ListGroup";
import { ListItem } from "@/components/list/ListItem";
import { PlatformDropdown } from "@/components/PlatformDropdown";
import DisabledSetting from "@/components/settings/DisabledSetting";
import { useSettings } from "@/utils/atoms/settings";
/**
* Factory function to create skip options for a specific segment type
* Reduces code duplication across all 5 segment types
*/
const useSkipOptions = (
settingKey:
| "skipIntro"
| "skipOutro"
| "skipRecap"
| "skipCommercial"
| "skipPreview",
settings: ReturnType<typeof useSettings>["settings"] | null,
updateSettings: ReturnType<typeof useSettings>["updateSettings"],
t: TFunction<"translation", undefined>,
) => {
return useMemo(
() => [
{
options: SEGMENT_SKIP_OPTIONS(t).map((option) => ({
type: "radio" as const,
label: option.label,
value: option.value,
selected: option.value === settings?.[settingKey],
onPress: () => updateSettings({ [settingKey]: option.value }),
})),
},
],
[settings?.[settingKey], updateSettings, t, settingKey],
);
};
export default function SegmentSkipPage() {
const { settings, updateSettings, pluginSettings } = useSettings();
const { t } = useTranslation();
const navigation = useNavigation();
useEffect(() => {
navigation.setOptions({
title: t("home.settings.other.segment_skip_settings"),
});
}, [navigation, t]);
const skipIntroOptions = useSkipOptions(
"skipIntro",
settings,
updateSettings,
t,
);
const skipOutroOptions = useSkipOptions(
"skipOutro",
settings,
updateSettings,
t,
);
const skipRecapOptions = useSkipOptions(
"skipRecap",
settings,
updateSettings,
t,
);
const skipCommercialOptions = useSkipOptions(
"skipCommercial",
settings,
updateSettings,
t,
);
const skipPreviewOptions = useSkipOptions(
"skipPreview",
settings,
updateSettings,
t,
);
if (!settings) return null;
return (
<DisabledSetting disabled={false} className='px-4'>
<ListGroup>
<ListItem
title={t("home.settings.other.skip_intro")}
subtitle={t("home.settings.other.skip_intro_description")}
disabled={pluginSettings?.skipIntro?.locked}
>
<PlatformDropdown
groups={skipIntroOptions}
disabled={pluginSettings?.skipIntro?.locked}
trigger={
<View className='flex flex-row items-center justify-between py-1.5 pl-3'>
<Text className='mr-1 text-[#8E8D91]'>
{t(`home.settings.other.segment_skip_${settings.skipIntro}`)}
</Text>
<Ionicons
name='chevron-expand-sharp'
size={18}
color='#5A5960'
/>
</View>
}
title={t("home.settings.other.skip_intro")}
/>
</ListItem>
<ListItem
title={t("home.settings.other.skip_outro")}
subtitle={t("home.settings.other.skip_outro_description")}
disabled={pluginSettings?.skipOutro?.locked}
>
<PlatformDropdown
groups={skipOutroOptions}
disabled={pluginSettings?.skipOutro?.locked}
trigger={
<View className='flex flex-row items-center justify-between py-1.5 pl-3'>
<Text className='mr-1 text-[#8E8D91]'>
{t(`home.settings.other.segment_skip_${settings.skipOutro}`)}
</Text>
<Ionicons
name='chevron-expand-sharp'
size={18}
color='#5A5960'
/>
</View>
}
title={t("home.settings.other.skip_outro")}
/>
</ListItem>
<ListItem
title={t("home.settings.other.skip_recap")}
subtitle={t("home.settings.other.skip_recap_description")}
disabled={pluginSettings?.skipRecap?.locked}
>
<PlatformDropdown
groups={skipRecapOptions}
disabled={pluginSettings?.skipRecap?.locked}
trigger={
<View className='flex flex-row items-center justify-between py-1.5 pl-3'>
<Text className='mr-1 text-[#8E8D91]'>
{t(`home.settings.other.segment_skip_${settings.skipRecap}`)}
</Text>
<Ionicons
name='chevron-expand-sharp'
size={18}
color='#5A5960'
/>
</View>
}
title={t("home.settings.other.skip_recap")}
/>
</ListItem>
<ListItem
title={t("home.settings.other.skip_commercial")}
subtitle={t("home.settings.other.skip_commercial_description")}
disabled={pluginSettings?.skipCommercial?.locked}
>
<PlatformDropdown
groups={skipCommercialOptions}
disabled={pluginSettings?.skipCommercial?.locked}
trigger={
<View className='flex flex-row items-center justify-between py-1.5 pl-3'>
<Text className='mr-1 text-[#8E8D91]'>
{t(
`home.settings.other.segment_skip_${settings.skipCommercial}`,
)}
</Text>
<Ionicons
name='chevron-expand-sharp'
size={18}
color='#5A5960'
/>
</View>
}
title={t("home.settings.other.skip_commercial")}
/>
</ListItem>
<ListItem
title={t("home.settings.other.skip_preview")}
subtitle={t("home.settings.other.skip_preview_description")}
disabled={pluginSettings?.skipPreview?.locked}
>
<PlatformDropdown
groups={skipPreviewOptions}
disabled={pluginSettings?.skipPreview?.locked}
trigger={
<View className='flex flex-row items-center justify-between py-1.5 pl-3'>
<Text className='mr-1 text-[#8E8D91]'>
{t(
`home.settings.other.segment_skip_${settings.skipPreview}`,
)}
</Text>
<Ionicons
name='chevron-expand-sharp'
size={18}
color='#5A5960'
/>
</View>
}
title={t("home.settings.other.skip_preview")}
/>
</ListItem>
</ListGroup>
</DisabledSetting>
);
}
const SEGMENT_SKIP_OPTIONS = (
t: TFunction<"translation", undefined>,
): Array<{
label: string;
value: "none" | "ask" | "auto";
}> => [
{
label: t("home.settings.other.segment_skip_auto"),
value: "auto",
},
{
label: t("home.settings.other.segment_skip_ask"),
value: "ask",
},
{
label: t("home.settings.other.segment_skip_none"),
value: "none",
},
];

View File

@@ -11,7 +11,6 @@ import { withLayoutContext } from "expo-router";
import { useTranslation } from "react-i18next"; import { useTranslation } from "react-i18next";
import { Platform, View } from "react-native"; import { Platform, View } from "react-native";
import { SystemBars } from "react-native-edge-to-edge"; import { SystemBars } from "react-native-edge-to-edge";
import { CastingMiniPlayer } from "@/components/casting/CastingMiniPlayer";
import { MiniPlayerBar } from "@/components/music/MiniPlayerBar"; import { MiniPlayerBar } from "@/components/music/MiniPlayerBar";
import { MusicPlaybackEngine } from "@/components/music/MusicPlaybackEngine"; import { MusicPlaybackEngine } from "@/components/music/MusicPlaybackEngine";
import { Colors } from "@/constants/Colors"; import { Colors } from "@/constants/Colors";
@@ -119,7 +118,6 @@ export default function TabLayout() {
}} }}
/> />
</NativeTabs> </NativeTabs>
<CastingMiniPlayer />
<MiniPlayerBar /> <MiniPlayerBar />
<MusicPlaybackEngine /> <MusicPlaybackEngine />
</View> </View>

File diff suppressed because it is too large Load Diff

View File

@@ -48,6 +48,7 @@ import { apiAtom, userAtom } from "@/providers/JellyfinProvider";
import { OfflineModeProvider } from "@/providers/OfflineModeProvider"; import { OfflineModeProvider } from "@/providers/OfflineModeProvider";
import { useSettings } from "@/utils/atoms/settings"; import { useSettings } from "@/utils/atoms/settings";
import { getPrimaryImageUrl } from "@/utils/jellyfin/image/getPrimaryImageUrl";
import { getStreamUrl } from "@/utils/jellyfin/media/getStreamUrl"; import { getStreamUrl } from "@/utils/jellyfin/media/getStreamUrl";
import { import {
getMpvAudioId, getMpvAudioId,
@@ -504,6 +505,31 @@ export default function page() {
return ticksToSeconds(getInitialPlaybackTicks()); return ticksToSeconds(getInitialPlaybackTicks());
}, [getInitialPlaybackTicks]); }, [getInitialPlaybackTicks]);
/** Prepare metadata for iOS native media controls (Control Center, Lock Screen) */
const nowPlayingMetadata = useMemo(() => {
if (!item || !api) return undefined;
const artworkUri = getPrimaryImageUrl({
api,
item,
quality: 90,
width: 500,
});
return {
title: item.Name || "",
artist:
item.Type === "Episode"
? item.SeriesName || ""
: item.AlbumArtist || "",
albumTitle:
item.Type === "Episode" && item.SeasonName
? item.SeasonName
: undefined,
artworkUri: artworkUri || undefined,
};
}, [item, api]);
/** Build video source config for MPV */ /** Build video source config for MPV */
const videoSource = useMemo<MpvVideoSource | undefined>(() => { const videoSource = useMemo<MpvVideoSource | undefined>(() => {
if (!stream?.url) return undefined; if (!stream?.url) return undefined;
@@ -932,6 +958,7 @@ export default function page() {
ref={videoRef} ref={videoRef}
source={videoSource} source={videoSource}
style={{ width: "100%", height: "100%" }} style={{ width: "100%", height: "100%" }}
nowPlayingMetadata={nowPlayingMetadata}
onProgress={onProgress} onProgress={onProgress}
onPlaybackStateChange={onPlaybackStateChanged} onPlaybackStateChange={onPlaybackStateChanged}
onLoad={() => setIsVideoLoaded(true)} onLoad={() => setIsVideoLoaded(true)}
@@ -939,7 +966,7 @@ export default function page() {
console.error("Video Error:", e.nativeEvent); console.error("Video Error:", e.nativeEvent);
Alert.alert( Alert.alert(
t("player.error"), t("player.error"),
t("player.an_error_occurred_while_playing_the_video"), t("player.an_error_occured_while_playing_the_video"),
); );
writeToLog("ERROR", "Video Error", e.nativeEvent); writeToLog("ERROR", "Video Error", e.nativeEvent);
}} }}

View File

@@ -1,5 +1,6 @@
{ {
"lockfileVersion": 1, "lockfileVersion": 1,
"configVersion": 0,
"workspaces": { "workspaces": {
"": { "": {
"name": "streamyfin", "name": "streamyfin",

View File

@@ -1,23 +1,15 @@
import { Feather } from "@expo/vector-icons"; import { Feather } from "@expo/vector-icons";
import type { PlaybackProgressInfo } from "@jellyfin/sdk/lib/generated-client/models"; import { useCallback, useEffect } from "react";
import { getPlaystateApi } from "@jellyfin/sdk/lib/utils/api";
import { router } from "expo-router";
import { useAtomValue } from "jotai";
import { useCallback, useEffect, useRef, useState } from "react";
import { Platform } from "react-native"; import { Platform } from "react-native";
import { Pressable } from "react-native-gesture-handler"; import { Pressable } from "react-native-gesture-handler";
import GoogleCast, { import GoogleCast, {
CastButton, CastButton,
CastContext, CastContext,
CastState,
useCastDevice, useCastDevice,
useCastState,
useDevices, useDevices,
useMediaStatus, useMediaStatus,
useRemoteMediaClient, useRemoteMediaClient,
} from "react-native-google-cast"; } from "react-native-google-cast";
import { apiAtom, userAtom } from "@/providers/JellyfinProvider";
import { ChromecastConnectionMenu } from "./chromecast/ChromecastConnectionMenu";
import { RoundButton } from "./RoundButton"; import { RoundButton } from "./RoundButton";
export function Chromecast({ export function Chromecast({
@@ -26,137 +18,23 @@ export function Chromecast({
background = "transparent", background = "transparent",
...props ...props
}) { }) {
// Hooks called for their side effects (keep Chromecast session active) const client = useRemoteMediaClient();
useRemoteMediaClient(); const castDevice = useCastDevice();
useCastDevice(); const devices = useDevices();
const castState = useCastState(); const sessionManager = GoogleCast.getSessionManager();
useDevices();
const discoveryManager = GoogleCast.getDiscoveryManager(); const discoveryManager = GoogleCast.getDiscoveryManager();
const mediaStatus = useMediaStatus(); const mediaStatus = useMediaStatus();
const api = useAtomValue(apiAtom);
const user = useAtomValue(userAtom);
// Connection menu state
const [showConnectionMenu, setShowConnectionMenu] = useState(false);
const isConnected = castState === CastState.CONNECTED;
const lastReportedProgressRef = useRef(0);
const lastReportedPlayerStateRef = useRef<string | null>(null);
const playSessionIdRef = useRef<string | null>(null);
const lastContentIdRef = useRef<string | null>(null);
const discoveryAttempts = useRef(0);
const maxDiscoveryAttempts = 3;
// Enhanced discovery with retry mechanism - runs once on mount
useEffect(() => { useEffect(() => {
let isSubscribed = true; (async () => {
let retryTimeout: NodeJS.Timeout;
const startDiscoveryWithRetry = async () => {
if (!discoveryManager) { if (!discoveryManager) {
console.warn("DiscoveryManager is not initialized");
return; return;
} }
try { await discoveryManager.startDiscovery();
// Stop any existing discovery first })();
try { }, [client, devices, castDevice, sessionManager, discoveryManager]);
await discoveryManager.stopDiscovery();
} catch {
// Ignore errors when stopping
}
// Start fresh discovery
await discoveryManager.startDiscovery();
discoveryAttempts.current = 0; // Reset on success
} catch (error) {
console.error("[Chromecast Discovery] Failed:", error);
// Retry on error
if (discoveryAttempts.current < maxDiscoveryAttempts && isSubscribed) {
discoveryAttempts.current++;
retryTimeout = setTimeout(() => {
if (isSubscribed) {
startDiscoveryWithRetry();
}
}, 2000);
}
}
};
startDiscoveryWithRetry();
return () => {
isSubscribed = false;
if (retryTimeout) {
clearTimeout(retryTimeout);
}
};
}, [discoveryManager]); // Only re-run if discoveryManager changes
// Report video progress to Jellyfin server
useEffect(() => {
if (!api || !user?.Id || !mediaStatus?.mediaInfo?.contentId) {
return;
}
const streamPosition = mediaStatus.streamPosition || 0;
const playerState = mediaStatus.playerState || null;
// Report every 10 seconds OR immediately when playerState changes (pause/resume)
const positionChanged =
Math.abs(streamPosition - lastReportedProgressRef.current) >= 10;
const stateChanged = playerState !== lastReportedPlayerStateRef.current;
if (!positionChanged && !stateChanged) {
return;
}
const contentId = mediaStatus.mediaInfo.contentId;
// Generate a new PlaySessionId when the content changes
if (contentId !== lastContentIdRef.current) {
const randomBytes = new Uint8Array(16);
crypto.getRandomValues(randomBytes);
// Format as UUID v4
randomBytes[6] = (randomBytes[6] & 0x0f) | 0x40; // Version 4
randomBytes[8] = (randomBytes[8] & 0x3f) | 0x80; // Variant 10
const uuid = Array.from(randomBytes, (b, i) => {
const hex = b.toString(16).padStart(2, "0");
return [4, 6, 8, 10].includes(i) ? `-${hex}` : hex;
}).join("");
playSessionIdRef.current = uuid;
lastContentIdRef.current = contentId;
}
const positionTicks = Math.floor(streamPosition * 10000000);
const isPaused = mediaStatus.playerState === "paused";
const streamUrl = mediaStatus.mediaInfo.contentUrl || "";
const isTranscoding = /m3u8/i.test(streamUrl);
const progressInfo: PlaybackProgressInfo = {
ItemId: contentId,
PositionTicks: positionTicks,
IsPaused: isPaused,
PlayMethod: isTranscoding ? "Transcode" : "DirectStream",
PlaySessionId: playSessionIdRef.current || contentId,
};
getPlaystateApi(api)
.reportPlaybackProgress({ playbackProgressInfo: progressInfo })
.then(() => {
lastReportedProgressRef.current = streamPosition;
lastReportedPlayerStateRef.current = playerState;
})
.catch((error) => {
console.error("Failed to report Chromecast progress:", error);
});
}, [
api,
user?.Id,
mediaStatus?.streamPosition,
mediaStatus?.mediaInfo?.contentId,
mediaStatus?.playerState,
mediaStatus?.mediaInfo?.contentUrl,
]);
// Android requires the cast button to be present for startDiscovery to work // Android requires the cast button to be present for startDiscovery to work
const AndroidCastButton = useCallback( const AndroidCastButton = useCallback(
@@ -165,92 +43,50 @@ export function Chromecast({
[Platform.OS], [Platform.OS],
); );
// Handle press - show connection menu when connected, otherwise show cast dialog
const handlePress = useCallback(() => {
if (isConnected) {
if (mediaStatus?.currentItemId) {
// Media is playing - navigate to full player
router.push("/casting-player");
} else {
// Connected but no media - show connection menu
setShowConnectionMenu(true);
}
} else {
// Not connected - show cast dialog
CastContext.showCastDialog();
}
}, [isConnected, mediaStatus?.currentItemId]);
// Handle disconnect from Chromecast
const handleDisconnect = useCallback(async () => {
try {
const sessionManager = GoogleCast.getSessionManager();
await sessionManager.endCurrentSession(true);
} catch (error) {
console.error("[Chromecast] Disconnect error:", error);
}
}, []);
if (Platform.OS === "ios") { if (Platform.OS === "ios") {
return ( return (
<> <Pressable
<Pressable className='mr-4' onPress={handlePress} {...props}> className='mr-4'
<AndroidCastButton /> onPress={() => {
<Feather if (mediaStatus?.currentItemId) CastContext.showExpandedControls();
name='cast' else CastContext.showCastDialog();
size={22} }}
color={isConnected ? "#a855f7" : "white"} {...props}
/> >
</Pressable> <AndroidCastButton />
<ChromecastConnectionMenu <Feather name='cast' size={22} color={"white"} />
visible={showConnectionMenu} </Pressable>
onClose={() => setShowConnectionMenu(false)}
onDisconnect={handleDisconnect}
/>
</>
); );
} }
if (background === "transparent") if (background === "transparent")
return ( return (
<> <RoundButton
<RoundButton size='large'
size='large' className='mr-2'
className='mr-2' background={false}
background={false} onPress={() => {
onPress={handlePress} if (mediaStatus?.currentItemId) CastContext.showExpandedControls();
{...props} else CastContext.showCastDialog();
> }}
<AndroidCastButton /> {...props}
<Feather >
name='cast' <AndroidCastButton />
size={22} <Feather name='cast' size={22} color={"white"} />
color={isConnected ? "#a855f7" : "white"} </RoundButton>
/>
</RoundButton>
<ChromecastConnectionMenu
visible={showConnectionMenu}
onClose={() => setShowConnectionMenu(false)}
onDisconnect={handleDisconnect}
/>
</>
); );
return ( return (
<> <RoundButton
<RoundButton size='large' onPress={handlePress} {...props}> size='large'
<AndroidCastButton /> onPress={() => {
<Feather if (mediaStatus?.currentItemId) CastContext.showExpandedControls();
name='cast' else CastContext.showCastDialog();
size={22} }}
color={isConnected ? "#a855f7" : "white"} {...props}
/> >
</RoundButton> <AndroidCastButton />
<ChromecastConnectionMenu <Feather name='cast' size={22} color={"white"} />
visible={showConnectionMenu} </RoundButton>
onClose={() => setShowConnectionMenu(false)}
onDisconnect={handleDisconnect}
/>
</>
); );
} }

View File

@@ -47,7 +47,6 @@ interface PlatformDropdownProps {
open?: boolean; open?: boolean;
onOpenChange?: (open: boolean) => void; onOpenChange?: (open: boolean) => void;
onOptionSelect?: (value?: any) => void; onOptionSelect?: (value?: any) => void;
disabled?: boolean;
expoUIConfig?: { expoUIConfig?: {
hostStyle?: any; hostStyle?: any;
}; };
@@ -198,7 +197,6 @@ const PlatformDropdownComponent = ({
onOpenChange: controlledOnOpenChange, onOpenChange: controlledOnOpenChange,
onOptionSelect, onOptionSelect,
expoUIConfig, expoUIConfig,
disabled,
bottomSheetConfig, bottomSheetConfig,
}: PlatformDropdownProps) => { }: PlatformDropdownProps) => {
const { showModal, hideModal, isVisible } = useGlobalModal(); const { showModal, hideModal, isVisible } = useGlobalModal();
@@ -233,13 +231,6 @@ const PlatformDropdownComponent = ({
}, [isVisible, controlledOpen, controlledOnOpenChange]); }, [isVisible, controlledOpen, controlledOnOpenChange]);
if (Platform.OS === "ios") { if (Platform.OS === "ios") {
if (disabled) {
return (
<View style={{ opacity: 0.5 }} pointerEvents='none'>
{trigger || <Text className='text-white'>Open Menu</Text>}
</View>
);
}
return ( return (
<Host style={expoUIConfig?.hostStyle}> <Host style={expoUIConfig?.hostStyle}>
<ContextMenu> <ContextMenu>
@@ -362,14 +353,8 @@ const PlatformDropdownComponent = ({
}; };
return ( return (
<TouchableOpacity <TouchableOpacity onPress={handlePress} activeOpacity={0.7}>
onPress={handlePress} {trigger || <Text className='text-white'>Open Menu</Text>}
activeOpacity={0.7}
disabled={disabled}
>
<View style={disabled ? { opacity: 0.5 } : undefined}>
{trigger || <Text className='text-white'>Open Menu</Text>}
</View>
</TouchableOpacity> </TouchableOpacity>
); );
}; };

View File

@@ -8,7 +8,7 @@ import { useTranslation } from "react-i18next";
import { Alert, Platform, TouchableOpacity, View } from "react-native"; import { Alert, Platform, TouchableOpacity, View } from "react-native";
import CastContext, { import CastContext, {
CastButton, CastButton,
MediaPlayerState, MediaStreamType,
PlayServicesState, PlayServicesState,
useMediaStatus, useMediaStatus,
useRemoteMediaClient, useRemoteMediaClient,
@@ -32,7 +32,8 @@ import { apiAtom, userAtom } from "@/providers/JellyfinProvider";
import { useOfflineMode } from "@/providers/OfflineModeProvider"; import { useOfflineMode } from "@/providers/OfflineModeProvider";
import { itemThemeColorAtom } from "@/utils/atoms/primaryColor"; import { itemThemeColorAtom } from "@/utils/atoms/primaryColor";
import { useSettings } from "@/utils/atoms/settings"; import { useSettings } from "@/utils/atoms/settings";
import { buildCastMediaInfo } from "@/utils/casting/mediaInfo"; import { getParentBackdropImageUrl } from "@/utils/jellyfin/image/getParentBackdropImageUrl";
import { getPrimaryImageUrl } from "@/utils/jellyfin/image/getPrimaryImageUrl";
import { getStreamUrl } from "@/utils/jellyfin/media/getStreamUrl"; import { getStreamUrl } from "@/utils/jellyfin/media/getStreamUrl";
import { chromecast } from "@/utils/profiles/chromecast"; import { chromecast } from "@/utils/profiles/chromecast";
import { chromecasth265 } from "@/utils/profiles/chromecasth265"; import { chromecasth265 } from "@/utils/profiles/chromecasth265";
@@ -110,11 +111,7 @@ export const PlayButton: React.FC<Props> = ({
return; return;
} }
const options = [ const options = ["Chromecast", "Device", "Cancel"];
t("casting_player.chromecast"),
t("casting_player.device"),
t("casting_player.cancel"),
];
const cancelButtonIndex = 2; const cancelButtonIndex = 2;
showActionSheetWithOptions( showActionSheetWithOptions(
{ {
@@ -123,14 +120,9 @@ export const PlayButton: React.FC<Props> = ({
}, },
async (selectedIndex: number | undefined) => { async (selectedIndex: number | undefined) => {
if (!api) return; if (!api) return;
// Compare item IDs AND check if media is actually playing (not stopped/idle) const currentTitle = mediaStatus?.mediaInfo?.metadata?.title;
const currentContentId = mediaStatus?.mediaInfo?.contentId;
const isMediaActive =
mediaStatus?.playerState === MediaPlayerState.PLAYING ||
mediaStatus?.playerState === MediaPlayerState.PAUSED ||
mediaStatus?.playerState === MediaPlayerState.BUFFERING;
const isOpeningCurrentlyPlayingMedia = const isOpeningCurrentlyPlayingMedia =
isMediaActive && currentContentId && currentContentId === item?.Id; currentTitle && currentTitle === item?.Name;
switch (selectedIndex) { switch (selectedIndex) {
case 0: case 0:
@@ -183,6 +175,8 @@ export const PlayButton: React.FC<Props> = ({
subtitleStreamIndex: selectedOptions.subtitleIndex, subtitleStreamIndex: selectedOptions.subtitleIndex,
}); });
console.log("URL: ", data?.url, enableH265);
if (!data?.url) { if (!data?.url) {
console.warn("No URL returned from getStreamUrl", data); console.warn("No URL returned from getStreamUrl", data);
Alert.alert( Alert.alert(
@@ -192,16 +186,74 @@ export const PlayButton: React.FC<Props> = ({
return; return;
} }
// Calculate start time in seconds from playback position
const startTimeSeconds = const startTimeSeconds =
(item?.UserData?.PlaybackPositionTicks ?? 0) / 10000000; (item?.UserData?.PlaybackPositionTicks ?? 0) / 10000000;
// Calculate stream duration in seconds from runtime
const streamDurationSeconds = item.RunTimeTicks
? item.RunTimeTicks / 10000000
: undefined;
client client
.loadMedia({ .loadMedia({
mediaInfo: buildCastMediaInfo({ mediaInfo: {
item, contentId: item.Id,
streamUrl: data.url, contentUrl: data?.url,
api, contentType: "video/mp4",
}), streamType: MediaStreamType.BUFFERED,
streamDuration: streamDurationSeconds,
metadata:
item.Type === "Episode"
? {
type: "tvShow",
title: item.Name || "",
episodeNumber: item.IndexNumber || 0,
seasonNumber: item.ParentIndexNumber || 0,
seriesTitle: item.SeriesName || "",
images: [
{
url: getParentBackdropImageUrl({
api,
item,
quality: 90,
width: 2000,
})!,
},
],
}
: item.Type === "Movie"
? {
type: "movie",
title: item.Name || "",
subtitle: item.Overview || "",
images: [
{
url: getPrimaryImageUrl({
api,
item,
quality: 90,
width: 2000,
})!,
},
],
}
: {
type: "generic",
title: item.Name || "",
subtitle: item.Overview || "",
images: [
{
url: getPrimaryImageUrl({
api,
item,
quality: 90,
width: 2000,
})!,
},
],
},
},
startTime: startTimeSeconds, startTime: startTimeSeconds,
}) })
.then(() => { .then(() => {
@@ -209,13 +261,10 @@ export const PlayButton: React.FC<Props> = ({
if (isOpeningCurrentlyPlayingMedia) { if (isOpeningCurrentlyPlayingMedia) {
return; return;
} }
router.push("/casting-player"); CastContext.showExpandedControls();
})
.catch((err) => {
console.error("[PlayButton] loadMedia failed:", err);
}); });
} catch (e) { } catch (e) {
console.error("[PlayButton] Cast error:", e); console.log(e);
} }
} }
}); });

View File

@@ -1,457 +0,0 @@
/**
* Unified Casting Mini Player
* Works with all supported casting protocols
*/
import { Ionicons } from "@expo/vector-icons";
import type { BaseItemDto } from "@jellyfin/sdk/lib/generated-client";
import { Image } from "expo-image";
import { router } from "expo-router";
import { useAtomValue } from "jotai";
import React, { useEffect, useMemo, useRef, useState } from "react";
import { Dimensions, Pressable, View } from "react-native";
import { Slider } from "react-native-awesome-slider";
import {
MediaPlayerState,
useCastDevice,
useMediaStatus,
useRemoteMediaClient,
} from "react-native-google-cast";
import Animated, {
SlideInDown,
SlideOutDown,
useSharedValue,
} from "react-native-reanimated";
import { useSafeAreaInsets } from "react-native-safe-area-context";
import { Text } from "@/components/common/Text";
import { useTrickplay } from "@/hooks/useTrickplay";
import { apiAtom } from "@/providers/JellyfinProvider";
import {
formatTime,
formatTrickplayTime,
getPosterUrl,
} from "@/utils/casting/helpers";
import { CASTING_CONSTANTS } from "@/utils/casting/types";
import { msToTicks, ticksToSeconds } from "@/utils/time";
export const CastingMiniPlayer: React.FC = () => {
const api = useAtomValue(apiAtom);
const insets = useSafeAreaInsets();
const castDevice = useCastDevice();
const mediaStatus = useMediaStatus();
const remoteMediaClient = useRemoteMediaClient();
const currentItem = useMemo(() => {
return mediaStatus?.mediaInfo?.customData as BaseItemDto | undefined;
}, [mediaStatus?.mediaInfo?.customData]);
// Trickplay support - pass currentItem as BaseItemDto or null
const { trickPlayUrl, calculateTrickplayUrl, trickplayInfo } = useTrickplay(
currentItem || null,
);
const [trickplayTime, setTrickplayTime] = useState({
hours: 0,
minutes: 0,
seconds: 0,
});
const [scrubPercentage, setScrubPercentage] = useState(0);
const isScrubbing = useRef(false);
// Slider shared values
const sliderProgress = useSharedValue(0);
const sliderMin = useSharedValue(0);
const sliderMax = useSharedValue(100);
// Live progress state that updates every second when playing
const [liveProgress, setLiveProgress] = useState(
mediaStatus?.streamPosition || 0,
);
// Track baseline for elapsed-time computation
const baselinePositionRef = useRef(mediaStatus?.streamPosition || 0);
const baselineTimestampRef = useRef(Date.now());
// Sync live progress with mediaStatus and poll every second when playing
useEffect(() => {
// Resync baseline whenever mediaStatus reports a new position
if (mediaStatus?.streamPosition !== undefined) {
baselinePositionRef.current = mediaStatus.streamPosition;
baselineTimestampRef.current = Date.now();
setLiveProgress(mediaStatus.streamPosition);
}
// Update based on elapsed real time when playing
const interval = setInterval(() => {
if (mediaStatus?.playerState === MediaPlayerState.PLAYING) {
const elapsed =
((Date.now() - baselineTimestampRef.current) *
(mediaStatus.playbackRate || 1)) /
1000;
setLiveProgress(baselinePositionRef.current + elapsed);
} else if (mediaStatus?.streamPosition !== undefined) {
// Sync with actual position when paused/buffering
baselinePositionRef.current = mediaStatus.streamPosition;
baselineTimestampRef.current = Date.now();
setLiveProgress(mediaStatus.streamPosition);
}
}, 1000);
return () => clearInterval(interval);
}, [
mediaStatus?.playerState,
mediaStatus?.streamPosition,
mediaStatus?.playbackRate,
]);
const progress = liveProgress * 1000; // Convert to ms
const duration = (mediaStatus?.mediaInfo?.streamDuration || 0) * 1000;
const isPlaying = mediaStatus?.playerState === MediaPlayerState.PLAYING;
// Update slider max value when duration changes
useEffect(() => {
if (duration > 0) {
sliderMax.value = duration;
}
}, [duration, sliderMax]);
// Sync slider progress with live progress (when not scrubbing)
useEffect(() => {
if (!isScrubbing.current && progress >= 0) {
sliderProgress.value = progress;
}
}, [progress, sliderProgress]);
// For episodes, use series poster; for other content, use item poster
const posterUrl = useMemo(() => {
if (!api?.basePath || !currentItem) return null;
if (
currentItem.Type === "Episode" &&
currentItem.SeriesId &&
currentItem.ParentIndexNumber !== undefined &&
currentItem.SeasonId
) {
// Build series poster URL using SeriesId and series-level image tag
const imageTag = currentItem.SeriesPrimaryImageTag || "";
const tagParam = imageTag ? `&tag=${imageTag}` : "";
return `${api.basePath}/Items/${currentItem.SeriesId}/Images/Primary?fillHeight=120&fillWidth=80&quality=96${tagParam}`;
}
// For non-episodes, use item's own poster
return getPosterUrl(
api.basePath,
currentItem.Id,
currentItem.ImageTags?.Primary,
80,
120,
);
}, [api?.basePath, currentItem]);
// Hide mini player when:
// - No cast device connected
// - No media info (currentItem)
// - No media status
// - Media is stopped (IDLE state)
// - Media is unknown state
const playerState = mediaStatus?.playerState;
const isMediaStopped = playerState === MediaPlayerState.IDLE;
if (!castDevice || !currentItem || !mediaStatus || isMediaStopped) {
return null;
}
const protocolColor = "#a855f7"; // Streamyfin purple
const TAB_BAR_HEIGHT = 80; // Standard tab bar height
const handlePress = () => {
router.push("/casting-player");
};
const handleTogglePlayPause = () => {
if (isPlaying) {
remoteMediaClient?.pause()?.catch((error: unknown) => {
console.error("[CastingMiniPlayer] Pause error:", error);
});
} else {
remoteMediaClient?.play()?.catch((error: unknown) => {
console.error("[CastingMiniPlayer] Play error:", error);
});
}
};
return (
<Animated.View
entering={SlideInDown.duration(CASTING_CONSTANTS.ANIMATION_DURATION)}
exiting={SlideOutDown.duration(CASTING_CONSTANTS.ANIMATION_DURATION)}
style={{
position: "absolute",
bottom: TAB_BAR_HEIGHT + insets.bottom,
left: 0,
right: 0,
backgroundColor: "#1a1a1a",
borderTopWidth: 1,
borderTopColor: "#333",
zIndex: 100,
}}
>
{/* Interactive progress slider with trickplay */}
<View style={{ paddingHorizontal: 8, paddingTop: 4 }}>
<Slider
style={{ width: "100%", height: 20 }}
progress={sliderProgress}
minimumValue={sliderMin}
maximumValue={sliderMax}
theme={{
maximumTrackTintColor: "#333",
minimumTrackTintColor: protocolColor,
bubbleBackgroundColor: protocolColor,
bubbleTextColor: "#fff",
}}
onSlidingStart={() => {
isScrubbing.current = true;
}}
onValueChange={(value) => {
// Calculate trickplay preview
const progressInTicks = msToTicks(value);
calculateTrickplayUrl(progressInTicks);
// Update time display for trickplay bubble
const progressInSeconds = Math.floor(
ticksToSeconds(progressInTicks),
);
const hours = Math.floor(progressInSeconds / 3600);
const minutes = Math.floor((progressInSeconds % 3600) / 60);
const seconds = progressInSeconds % 60;
setTrickplayTime({ hours, minutes, seconds });
// Track scrub percentage for bubble positioning
if (duration > 0) {
setScrubPercentage(value / duration);
}
}}
onSlidingComplete={(value) => {
isScrubbing.current = false;
// Seek to the position (value is in milliseconds, convert to seconds)
const positionSeconds = value / 1000;
if (remoteMediaClient && duration > 0) {
remoteMediaClient
.seek({ position: positionSeconds })
.catch((error) => {
console.error("[Mini Player] Seek error:", error);
});
}
}}
renderBubble={() => {
// Calculate bubble position with edge clamping
const screenWidth = Dimensions.get("window").width;
const sliderPadding = 8;
const thumbWidth = 10; // matches thumbWidth prop on Slider
const sliderWidth = screenWidth - sliderPadding * 2;
// Adjust thumb position to account for thumb width affecting travel range
const effectiveTrackWidth = sliderWidth - thumbWidth;
const thumbPosition =
thumbWidth / 2 + scrubPercentage * effectiveTrackWidth;
if (!trickPlayUrl || !trickplayInfo) {
// Show simple time bubble when no trickplay
const timeBubbleWidth = 70;
const minLeft = -thumbPosition;
const maxLeft = sliderWidth - thumbPosition - timeBubbleWidth;
const centeredLeft = -timeBubbleWidth / 2;
const clampedLeft = Math.max(
minLeft,
Math.min(maxLeft, centeredLeft),
);
return (
<View
style={{
position: "absolute",
bottom: 12,
left: clampedLeft,
backgroundColor: protocolColor,
paddingHorizontal: 8,
paddingVertical: 4,
borderRadius: 4,
}}
>
<Text
style={{ color: "#fff", fontSize: 11, fontWeight: "600" }}
>
{formatTrickplayTime(trickplayTime)}
</Text>
</View>
);
}
const { x, y, url } = trickPlayUrl;
const tileWidth = 140; // Smaller preview for mini player
const tileHeight = tileWidth / (trickplayInfo.aspectRatio ?? 1.78);
// Calculate clamped position for trickplay preview
const minLeft = -thumbPosition;
const maxLeft = sliderWidth - thumbPosition - tileWidth;
const centeredLeft = -tileWidth / 2;
const clampedLeft = Math.max(
minLeft,
Math.min(maxLeft, centeredLeft),
);
return (
<View
style={{
position: "absolute",
bottom: 12,
left: clampedLeft,
width: tileWidth,
alignItems: "center",
}}
>
{/* Trickplay image preview */}
<View
style={{
width: tileWidth,
height: tileHeight,
borderRadius: 6,
overflow: "hidden",
backgroundColor: "#1a1a1a",
}}
>
<Image
cachePolicy='memory-disk'
style={{
width: tileWidth * (trickplayInfo.data?.TileWidth ?? 1),
height:
(tileWidth / (trickplayInfo.aspectRatio ?? 1.78)) *
(trickplayInfo.data?.TileHeight ?? 1),
transform: [
{ translateX: -x * tileWidth },
{ translateY: -y * tileHeight },
],
}}
source={{ uri: url }}
contentFit='cover'
/>
</View>
{/* Time overlay */}
<View
style={{
position: "absolute",
bottom: 2,
left: 2,
backgroundColor: "rgba(0, 0, 0, 0.7)",
paddingHorizontal: 4,
paddingVertical: 1,
borderRadius: 3,
}}
>
<Text
style={{ color: "#fff", fontSize: 10, fontWeight: "600" }}
>
{formatTrickplayTime(trickplayTime)}
</Text>
</View>
</View>
);
}}
sliderHeight={3}
thumbWidth={10}
panHitSlop={{ top: 20, bottom: 20, left: 5, right: 5 }}
/>
</View>
<Pressable onPress={handlePress}>
{/* Content */}
<View
style={{
flexDirection: "row",
alignItems: "center",
padding: 12,
paddingTop: 6,
gap: 12,
}}
>
{/* Poster */}
{posterUrl && (
<Image
source={{ uri: posterUrl }}
style={{
width: 40,
height: 60,
borderRadius: 4,
}}
contentFit='cover'
/>
)}
{/* Info */}
<View style={{ flex: 1 }}>
<Text
style={{
color: "white",
fontSize: 14,
fontWeight: "600",
}}
numberOfLines={1}
>
{currentItem.Name}
</Text>
{currentItem.SeriesName && (
<Text
style={{
color: "#999",
fontSize: 12,
}}
numberOfLines={1}
>
{currentItem.SeriesName}
</Text>
)}
<View
style={{
flexDirection: "row",
alignItems: "center",
gap: 8,
marginTop: 2,
}}
>
<Ionicons name='tv' size={12} color={protocolColor} />
<Text
style={{
color: protocolColor,
fontSize: 11,
}}
numberOfLines={1}
>
{castDevice.friendlyName || "Chromecast"}
</Text>
<Text
style={{
color: "#666",
fontSize: 11,
}}
>
{formatTime(progress)} / {formatTime(duration)}
</Text>
</View>
</View>
{/* Play/Pause button */}
<Pressable
onPress={(e) => {
e.stopPropagation();
handleTogglePlayPause();
}}
style={{ padding: 8 }}
>
<Ionicons
name={isPlaying ? "pause" : "play"}
size={28}
color='white'
/>
</Pressable>
</View>
</Pressable>
</Animated.View>
);
};

View File

@@ -1,321 +0,0 @@
/**
* Chromecast Connection Menu
* Shows device info, volume control, and disconnect option
* Simple menu for when connected but not actively controlling playback
*/
import { Ionicons } from "@expo/vector-icons";
import React, { useCallback, useEffect, useRef, useState } from "react";
import { useTranslation } from "react-i18next";
import { Modal, Pressable, View } from "react-native";
import { Slider } from "react-native-awesome-slider";
import { GestureHandlerRootView } from "react-native-gesture-handler";
import { useCastDevice, useCastSession } from "react-native-google-cast";
import { useSharedValue } from "react-native-reanimated";
import { useSafeAreaInsets } from "react-native-safe-area-context";
import { Text } from "@/components/common/Text";
interface ChromecastConnectionMenuProps {
visible: boolean;
onClose: () => void;
onDisconnect?: () => Promise<void>;
}
export const ChromecastConnectionMenu: React.FC<
ChromecastConnectionMenuProps
> = ({ visible, onClose, onDisconnect }) => {
const insets = useSafeAreaInsets();
const { t } = useTranslation();
const castDevice = useCastDevice();
const castSession = useCastSession();
// Volume state - use refs to avoid triggering re-renders during sliding
const [displayVolume, setDisplayVolume] = useState(50);
const [isMuted, setIsMuted] = useState(false);
const isMutedRef = useRef(false);
const volumeValue = useSharedValue(50);
const minimumValue = useSharedValue(0);
const maximumValue = useSharedValue(100);
const isSliding = useRef(false);
const lastSetVolume = useRef(50);
const protocolColor = "#a855f7";
// Get initial volume and mute state when menu opens
useEffect(() => {
if (!visible || !castSession) return;
// Get initial states
const fetchInitialState = async () => {
try {
const vol = await castSession.getVolume();
if (vol !== undefined) {
const percent = Math.round(vol * 100);
setDisplayVolume(percent);
volumeValue.value = percent;
lastSetVolume.current = percent;
}
const muted = await castSession.isMute();
isMutedRef.current = muted;
setIsMuted(muted);
} catch {
// Ignore errors
}
};
fetchInitialState();
// Poll for external volume changes (physical buttons) - only when not sliding
const interval = setInterval(async () => {
if (isSliding.current) return;
try {
const vol = await castSession.getVolume();
if (vol !== undefined) {
const percent = Math.round(vol * 100);
// Only update if external change detected (not our own change)
if (Math.abs(percent - lastSetVolume.current) > 2) {
setDisplayVolume(percent);
volumeValue.value = percent;
lastSetVolume.current = percent;
}
}
const muted = await castSession.isMute();
if (muted !== isMutedRef.current) {
isMutedRef.current = muted;
setIsMuted(muted);
}
} catch {
// Ignore errors
}
}, 1000); // Poll less frequently
return () => clearInterval(interval);
}, [visible, castSession, volumeValue]);
// Volume change during sliding - update display only, don't call API
const handleVolumeChange = useCallback((value: number) => {
const rounded = Math.round(value);
setDisplayVolume(rounded);
}, []);
// Volume change complete - call API
const handleVolumeComplete = useCallback(
async (value: number) => {
isSliding.current = false;
const rounded = Math.round(value);
setDisplayVolume(rounded);
lastSetVolume.current = rounded;
try {
if (castSession) {
await castSession.setVolume(rounded / 100);
}
} catch (error) {
console.error("[Connection Menu] Volume error:", error);
}
},
[castSession],
);
// Toggle mute
const handleToggleMute = useCallback(async () => {
if (!castSession) return;
try {
const newMute = !isMuted;
await castSession.setMute(newMute);
isMutedRef.current = newMute;
setIsMuted(newMute);
} catch (error) {
console.error("[Connection Menu] Mute error:", error);
}
}, [castSession, isMuted]);
// Disconnect
const handleDisconnect = useCallback(async () => {
try {
if (onDisconnect) {
await onDisconnect();
}
} catch (error) {
console.error("[Connection Menu] Disconnect error:", error);
} finally {
onClose();
}
}, [onDisconnect, onClose]);
return (
<Modal
visible={visible}
transparent={true}
animationType='slide'
onRequestClose={onClose}
>
<GestureHandlerRootView style={{ flex: 1 }}>
<Pressable
style={{
flex: 1,
backgroundColor: "rgba(0, 0, 0, 0.9)",
justifyContent: "flex-end",
}}
onPress={onClose}
>
<Pressable
style={{
backgroundColor: "#1a1a1a",
borderTopLeftRadius: 20,
borderTopRightRadius: 20,
paddingBottom: insets.bottom + 16,
}}
onPress={(e) => e.stopPropagation()}
>
{/* Header with device name */}
<View
style={{
flexDirection: "row",
justifyContent: "space-between",
alignItems: "center",
padding: 16,
borderBottomWidth: 1,
borderBottomColor: "#333",
}}
>
<View
style={{ flexDirection: "row", alignItems: "center", gap: 12 }}
>
<View
style={{
width: 40,
height: 40,
borderRadius: 20,
backgroundColor: protocolColor,
justifyContent: "center",
alignItems: "center",
}}
>
<Ionicons name='tv' size={20} color='white' />
</View>
<View>
<Text
style={{ color: "white", fontSize: 16, fontWeight: "600" }}
>
{castDevice?.friendlyName || t("casting_player.chromecast")}
</Text>
<Text style={{ color: protocolColor, fontSize: 12 }}>
{t("casting_player.connected")}
</Text>
</View>
</View>
<Pressable onPress={onClose} style={{ padding: 8 }}>
<Ionicons name='close' size={24} color='white' />
</Pressable>
</View>
{/* Volume Control */}
<View style={{ padding: 16 }}>
<View
style={{
flexDirection: "row",
justifyContent: "space-between",
alignItems: "center",
marginBottom: 12,
}}
>
<Text style={{ color: "#999", fontSize: 12 }}>
{t("casting_player.volume")}
</Text>
<Text style={{ color: "white", fontSize: 14 }}>
{isMuted ? t("casting_player.muted") : `${displayVolume}%`}
</Text>
</View>
<View
style={{ flexDirection: "row", alignItems: "center", gap: 12 }}
>
<Pressable
onPress={handleToggleMute}
style={{
padding: 8,
borderRadius: 20,
backgroundColor: isMuted ? protocolColor : "transparent",
}}
>
<Ionicons
name={isMuted ? "volume-mute" : "volume-low"}
size={20}
color={isMuted ? "white" : "#999"}
/>
</Pressable>
<View style={{ flex: 1 }}>
<Slider
style={{ width: "100%", height: 40 }}
progress={volumeValue}
minimumValue={minimumValue}
maximumValue={maximumValue}
theme={{
disableMinTrackTintColor: "#333",
maximumTrackTintColor: "#333",
minimumTrackTintColor: isMuted ? "#666" : protocolColor,
bubbleBackgroundColor: protocolColor,
}}
onSlidingStart={() => {
isSliding.current = true;
}}
onValueChange={async (value) => {
volumeValue.value = value;
handleVolumeChange(value);
// Unmute when adjusting volume - use ref to avoid
// stale closure and prevent repeated async calls
if (isMutedRef.current) {
isMutedRef.current = false;
setIsMuted(false);
try {
await castSession?.setMute(false);
} catch (error: unknown) {
console.error(
"[ChromecastConnectionMenu] Failed to unmute:",
error,
);
isMutedRef.current = true;
setIsMuted(true); // Rollback on failure
}
}
}}
onSlidingComplete={handleVolumeComplete}
panHitSlop={{ top: 20, bottom: 20, left: 0, right: 0 }}
/>
</View>
<Ionicons
name='volume-high'
size={20}
color={isMuted ? "#666" : "#999"}
/>
</View>
</View>
{/* Disconnect button */}
<View style={{ paddingHorizontal: 16 }}>
<Pressable
onPress={handleDisconnect}
style={{
backgroundColor: protocolColor,
padding: 14,
borderRadius: 8,
flexDirection: "row",
justifyContent: "center",
alignItems: "center",
gap: 8,
}}
>
<Ionicons name='power' size={20} color='white' />
<Text
style={{ color: "white", fontSize: 14, fontWeight: "500" }}
>
{t("casting_player.disconnect")}
</Text>
</Pressable>
</View>
</Pressable>
</Pressable>
</GestureHandlerRootView>
</Modal>
);
};

View File

@@ -1,348 +0,0 @@
/**
* Chromecast Device Info Sheet
* Shows device details, volume control, and disconnect option
*/
import { Ionicons } from "@expo/vector-icons";
import React, { useCallback, useEffect, useRef, useState } from "react";
import { useTranslation } from "react-i18next";
import { Modal, Pressable, View } from "react-native";
import { Slider } from "react-native-awesome-slider";
import { GestureHandlerRootView } from "react-native-gesture-handler";
import { useCastSession } from "react-native-google-cast";
import { useSharedValue } from "react-native-reanimated";
import { useSafeAreaInsets } from "react-native-safe-area-context";
import { Text } from "@/components/common/Text";
interface ChromecastDeviceSheetProps {
visible: boolean;
onClose: () => void;
device: { friendlyName?: string } | null;
onDisconnect: () => Promise<void>;
volume?: number;
onVolumeChange?: (volume: number) => Promise<void>;
}
export const ChromecastDeviceSheet: React.FC<ChromecastDeviceSheetProps> = ({
visible,
onClose,
device,
onDisconnect,
volume = 0.5,
onVolumeChange,
}) => {
const insets = useSafeAreaInsets();
const { t } = useTranslation();
const [isDisconnecting, setIsDisconnecting] = useState(false);
const [displayVolume, setDisplayVolume] = useState(Math.round(volume * 100));
const volumeValue = useSharedValue(volume * 100);
const minimumValue = useSharedValue(0);
const maximumValue = useSharedValue(100);
const castSession = useCastSession();
const volumeDebounceRef = useRef<NodeJS.Timeout | null>(null);
const [isMuted, setIsMuted] = useState(false);
const isSliding = useRef(false);
const lastSetVolume = useRef(Math.round(volume * 100));
// Sync volume slider with prop changes (updates from physical buttons)
// Skip updates while user is actively sliding to avoid overwriting drag
useEffect(() => {
if (isSliding.current) return;
volumeValue.value = volume * 100;
setDisplayVolume(Math.round(volume * 100));
}, [volume, volumeValue]);
// Poll for volume and mute updates when sheet is visible to catch physical button changes
useEffect(() => {
if (!visible || !castSession) return;
// Get initial mute state
castSession
.isMute()
.then(setIsMuted)
.catch(() => {});
// Poll CastSession for device volume and mute state (only when not sliding)
const interval = setInterval(async () => {
if (isSliding.current) return;
try {
const deviceVolume = await castSession.getVolume();
if (deviceVolume !== undefined) {
const volumePercent = Math.round(deviceVolume * 100);
// Only update if external change (physical buttons)
if (Math.abs(volumePercent - lastSetVolume.current) > 2) {
setDisplayVolume(volumePercent);
volumeValue.value = volumePercent;
lastSetVolume.current = volumePercent;
}
}
// Check mute state
const muteState = await castSession.isMute();
setIsMuted(muteState);
} catch {
// Ignore errors - device might be disconnected
}
}, 1000);
return () => clearInterval(interval);
}, [visible, castSession, volumeValue]);
const handleDisconnect = async () => {
setIsDisconnecting(true);
try {
await onDisconnect();
onClose();
} catch (error) {
console.error("Failed to disconnect:", error);
} finally {
setIsDisconnecting(false);
}
};
const handleVolumeComplete = async (value: number) => {
const newVolume = value / 100;
setDisplayVolume(Math.round(value));
try {
// Use CastSession.setVolume for DEVICE volume control
// This works even when no media is playing, unlike setStreamVolume
if (castSession) {
await castSession.setVolume(newVolume);
} else if (onVolumeChange) {
// Fallback to prop method if session not available
await onVolumeChange(newVolume);
}
} catch (error) {
console.error("[Volume] Error setting volume:", error);
}
};
// Debounced volume update during sliding for smooth live feedback
const handleVolumeChange = useCallback(
(value: number) => {
setDisplayVolume(Math.round(value));
// Debounce the API call to avoid too many requests
if (volumeDebounceRef.current) {
clearTimeout(volumeDebounceRef.current);
}
volumeDebounceRef.current = setTimeout(async () => {
const newVolume = value / 100;
try {
if (castSession) {
await castSession.setVolume(newVolume);
}
} catch {
// Ignore errors during sliding
}
}, 150); // 150ms debounce
},
[castSession],
);
// Toggle mute state
const handleToggleMute = useCallback(async () => {
if (!castSession) return;
try {
const newMuteState = !isMuted;
await castSession.setMute(newMuteState);
setIsMuted(newMuteState);
} catch (error) {
console.error("[Volume] Error toggling mute:", error);
}
}, [castSession, isMuted]);
// Cleanup debounce timer on unmount
useEffect(() => {
return () => {
if (volumeDebounceRef.current) {
clearTimeout(volumeDebounceRef.current);
}
};
}, []);
return (
<Modal
visible={visible}
transparent={true}
animationType='slide'
onRequestClose={onClose}
>
<GestureHandlerRootView style={{ flex: 1 }}>
<Pressable
style={{
flex: 1,
backgroundColor: "rgba(0, 0, 0, 0.85)",
justifyContent: "flex-end",
}}
onPress={onClose}
>
<Pressable
style={{
backgroundColor: "#1a1a1a",
borderTopLeftRadius: 16,
borderTopRightRadius: 16,
paddingBottom: insets.bottom + 16,
}}
onPress={(e) => e.stopPropagation()}
>
{/* Header */}
<View
style={{
flexDirection: "row",
justifyContent: "space-between",
alignItems: "center",
padding: 16,
borderBottomWidth: 1,
borderBottomColor: "#333",
}}
>
<View
style={{ flexDirection: "row", alignItems: "center", gap: 12 }}
>
<Ionicons name='tv' size={24} color='#a855f7' />
<Text
style={{ color: "white", fontSize: 18, fontWeight: "600" }}
>
{t("casting_player.chromecast")}
</Text>
</View>
<Pressable onPress={onClose} style={{ padding: 8 }}>
<Ionicons name='close' size={24} color='white' />
</Pressable>
</View>
{/* Device info */}
<View style={{ padding: 16 }}>
<View style={{ marginBottom: 20 }}>
<Text style={{ color: "#999", fontSize: 12, marginBottom: 4 }}>
{t("casting_player.device_name")}
</Text>
<Text
style={{ color: "white", fontSize: 16, fontWeight: "500" }}
>
{device?.friendlyName || t("casting_player.unknown_device")}
</Text>
</View>
{/* Volume control */}
<View style={{ marginBottom: 24 }}>
<View
style={{
flexDirection: "row",
justifyContent: "space-between",
alignItems: "center",
marginBottom: 12,
}}
>
<Text style={{ color: "#999", fontSize: 12 }}>
{t("casting_player.volume")}
</Text>
<Text style={{ color: "white", fontSize: 14 }}>
{isMuted ? t("casting_player.muted") : `${displayVolume}%`}
</Text>
</View>
<View
style={{
flexDirection: "row",
alignItems: "center",
gap: 12,
}}
>
{/* Mute button */}
<Pressable
onPress={handleToggleMute}
style={{
padding: 8,
borderRadius: 20,
backgroundColor: isMuted ? "#a855f7" : "transparent",
}}
>
<Ionicons
name={isMuted ? "volume-mute" : "volume-low"}
size={20}
color={isMuted ? "white" : "#999"}
/>
</Pressable>
<View style={{ flex: 1 }}>
<Slider
style={{ width: "100%", height: 40 }}
progress={volumeValue}
minimumValue={minimumValue}
maximumValue={maximumValue}
theme={{
disableMinTrackTintColor: "#333",
maximumTrackTintColor: "#333",
minimumTrackTintColor: isMuted ? "#666" : "#a855f7",
bubbleBackgroundColor: "#a855f7",
}}
onSlidingStart={async () => {
isSliding.current = true;
// Auto-unmute when user starts adjusting volume
if (isMuted && castSession) {
setIsMuted(false);
try {
await castSession.setMute(false);
} catch (error) {
console.error("[Volume] Failed to unmute:", error);
setIsMuted(true); // Rollback on failure
}
}
}}
onValueChange={(value) => {
volumeValue.value = value;
handleVolumeChange(value);
}}
onSlidingComplete={(value) => {
isSliding.current = false;
lastSetVolume.current = Math.round(value);
handleVolumeComplete(value);
}}
panHitSlop={{ top: 20, bottom: 20, left: 0, right: 0 }}
/>
</View>
<Ionicons
name='volume-high'
size={20}
color={isMuted ? "#666" : "#999"}
/>
</View>
</View>
{/* Disconnect button */}
<Pressable
onPress={handleDisconnect}
disabled={isDisconnecting}
style={{
backgroundColor: "#a855f7",
padding: 16,
borderRadius: 8,
flexDirection: "row",
justifyContent: "center",
alignItems: "center",
gap: 8,
opacity: isDisconnecting ? 0.5 : 1,
}}
>
<Ionicons
name='power'
size={20}
color='white'
style={{ marginTop: 2 }}
/>
<Text
style={{ color: "white", fontSize: 16, fontWeight: "600" }}
>
{isDisconnecting
? t("casting_player.disconnecting")
: t("casting_player.stop_casting")}
</Text>
</Pressable>
</View>
</Pressable>
</Pressable>
</GestureHandlerRootView>
</Modal>
);
};

View File

@@ -1,351 +0,0 @@
/**
* Episode List for Chromecast Player
* Displays list of episodes for TV shows with thumbnails
*/
import { Ionicons } from "@expo/vector-icons";
import type { Api } from "@jellyfin/sdk";
import type { BaseItemDto } from "@jellyfin/sdk/lib/generated-client";
import { Image } from "expo-image";
import React, { useEffect, useMemo, useRef, useState } from "react";
import { useTranslation } from "react-i18next";
import { FlatList, Modal, Pressable, ScrollView, View } from "react-native";
import { useSafeAreaInsets } from "react-native-safe-area-context";
import { Text } from "@/components/common/Text";
import { truncateTitle } from "@/utils/casting/helpers";
import { getPrimaryImageUrl } from "@/utils/jellyfin/image/getPrimaryImageUrl";
interface ChromecastEpisodeListProps {
visible: boolean;
onClose: () => void;
currentItem: BaseItemDto | null;
episodes: BaseItemDto[];
onSelectEpisode: (episode: BaseItemDto) => void;
api: Api | null;
}
export const ChromecastEpisodeList: React.FC<ChromecastEpisodeListProps> = ({
visible,
onClose,
currentItem,
episodes,
onSelectEpisode,
api,
}) => {
const insets = useSafeAreaInsets();
const { t } = useTranslation();
const flatListRef = useRef<FlatList>(null);
const [selectedSeason, setSelectedSeason] = useState<number | null>(null);
const scrollRetryCountRef = useRef(0);
const scrollRetryTimeoutRef = useRef<NodeJS.Timeout | null>(null);
const MAX_SCROLL_RETRIES = 3;
// Cleanup pending retry timeout on unmount
useEffect(() => {
return () => {
if (scrollRetryTimeoutRef.current) {
clearTimeout(scrollRetryTimeoutRef.current);
scrollRetryTimeoutRef.current = null;
}
scrollRetryCountRef.current = 0;
};
}, []);
// Get unique seasons from episodes
const seasons = useMemo(() => {
const seasonSet = new Set<number>();
for (const ep of episodes) {
if (ep.ParentIndexNumber !== undefined && ep.ParentIndexNumber !== null) {
seasonSet.add(ep.ParentIndexNumber);
}
}
return Array.from(seasonSet).sort((a, b) => a - b);
}, [episodes]);
// Filter episodes by selected season and exclude virtual episodes
const filteredEpisodes = useMemo(() => {
let eps = episodes;
// Filter by season if selected
if (selectedSeason !== null) {
eps = eps.filter((ep) => ep.ParentIndexNumber === selectedSeason);
}
// Filter out virtual episodes (episodes without actual video files)
// LocationType === "Virtual" means the episode doesn't have a media file
eps = eps.filter((ep) => ep.LocationType !== "Virtual");
return eps;
}, [episodes, selectedSeason]);
// Set initial season to current episode's season
useEffect(() => {
if (currentItem?.ParentIndexNumber !== undefined) {
setSelectedSeason(currentItem.ParentIndexNumber);
}
}, [currentItem]);
useEffect(() => {
// Reset retry counter when visibility or data changes
scrollRetryCountRef.current = 0;
if (scrollRetryTimeoutRef.current) {
clearTimeout(scrollRetryTimeoutRef.current);
}
if (visible && currentItem && filteredEpisodes.length > 0) {
const currentIndex = filteredEpisodes.findIndex(
(ep) => ep.Id === currentItem.Id,
);
if (currentIndex !== -1 && flatListRef.current) {
// Delay to ensure FlatList is rendered
const timeoutId = setTimeout(() => {
flatListRef.current?.scrollToIndex({
index: currentIndex,
animated: true,
viewPosition: 0.5, // Center the item
});
}, 300);
return () => {
clearTimeout(timeoutId);
if (scrollRetryTimeoutRef.current) {
clearTimeout(scrollRetryTimeoutRef.current);
}
};
}
}
}, [visible, currentItem, filteredEpisodes]);
const renderEpisode = ({ item }: { item: BaseItemDto }) => {
const isCurrentEpisode = item.Id === currentItem?.Id;
return (
<Pressable
onPress={() => {
onSelectEpisode(item);
onClose();
}}
style={{
flexDirection: "row",
padding: 12,
backgroundColor: isCurrentEpisode ? "#a855f7" : "transparent",
borderRadius: 8,
marginBottom: 8,
}}
>
{/* Thumbnail */}
<View
style={{
width: 120,
height: 68,
borderRadius: 4,
overflow: "hidden",
backgroundColor: "#1a1a1a",
}}
>
{(() => {
const imageUrl =
api && item.Id ? getPrimaryImageUrl({ api, item }) : null;
if (imageUrl) {
return (
<Image
source={{ uri: imageUrl }}
style={{ width: "100%", height: "100%" }}
contentFit='cover'
/>
);
}
return (
<View
style={{
flex: 1,
justifyContent: "center",
alignItems: "center",
}}
>
<Ionicons name='film-outline' size={32} color='#333' />
</View>
);
})()}
</View>
{/* Episode info */}
<View style={{ flex: 1, marginLeft: 12, justifyContent: "center" }}>
<Text
style={{
color: "white",
fontSize: 14,
fontWeight: "600",
marginBottom: 4,
}}
numberOfLines={1}
>
{item.IndexNumber != null ? `${item.IndexNumber}. ` : ""}
{truncateTitle(item.Name || t("casting_player.unknown"), 30)}
</Text>
{item.Overview && (
<Text
style={{
color: "#999",
fontSize: 12,
marginBottom: 4,
}}
numberOfLines={2}
>
{item.Overview}
</Text>
)}
<View style={{ flexDirection: "row", gap: 8, alignItems: "center" }}>
{item.ParentIndexNumber !== undefined &&
item.IndexNumber !== undefined && (
<Text
style={{ color: "#a855f7", fontSize: 11, fontWeight: "600" }}
>
S{String(item.ParentIndexNumber).padStart(2, "0")}:E
{String(item.IndexNumber).padStart(2, "0")}
</Text>
)}
{item.ProductionYear && (
<Text style={{ color: "#666", fontSize: 11 }}>
{item.ProductionYear}
</Text>
)}
{item.RunTimeTicks && (
<Text style={{ color: "#666", fontSize: 11 }}>
{Math.round(item.RunTimeTicks / 600000000)}{" "}
{t("casting_player.minutes_short")}
</Text>
)}
</View>
</View>
{isCurrentEpisode && (
<View
style={{
justifyContent: "center",
marginLeft: 8,
}}
>
<Ionicons name='play-circle' size={24} color='white' />
</View>
)}
</Pressable>
);
};
return (
<Modal
visible={visible}
transparent={true}
animationType='slide'
onRequestClose={onClose}
>
<Pressable
style={{
flex: 1,
backgroundColor: "rgba(0, 0, 0, 0.85)",
}}
onPress={onClose}
>
<Pressable
style={{
flex: 1,
paddingTop: insets.top,
}}
onPress={(e) => e.stopPropagation()}
>
{/* Header */}
<View
style={{
paddingHorizontal: 16,
paddingVertical: 12,
borderBottomWidth: 1,
borderBottomColor: "#333",
}}
>
<View
style={{
flexDirection: "row",
justifyContent: "space-between",
alignItems: "center",
marginBottom: seasons.length > 1 ? 12 : 0,
}}
>
<Text style={{ color: "white", fontSize: 18, fontWeight: "600" }}>
{t("casting_player.episodes")}
</Text>
<Pressable onPress={onClose} style={{ padding: 8 }}>
<Ionicons name='close' size={24} color='white' />
</Pressable>
</View>
{/* Season selector */}
{seasons.length > 1 && (
<ScrollView
horizontal
showsHorizontalScrollIndicator={false}
contentContainerStyle={{ gap: 8 }}
>
{seasons.map((season) => (
<Pressable
key={season}
onPress={() => setSelectedSeason(season)}
style={{
paddingHorizontal: 16,
paddingVertical: 8,
borderRadius: 20,
backgroundColor:
selectedSeason === season ? "#a855f7" : "#1a1a1a",
}}
>
<Text
style={{
color: "white",
fontSize: 14,
fontWeight: selectedSeason === season ? "600" : "400",
}}
>
{t("casting_player.season", { number: season })}
</Text>
</Pressable>
))}
</ScrollView>
)}
</View>
{/* Episode list */}
<FlatList
ref={flatListRef}
data={filteredEpisodes}
renderItem={renderEpisode}
keyExtractor={(item, index) => item.Id || `episode-${index}`}
contentContainerStyle={{
padding: 16,
paddingBottom: insets.bottom + 16,
}}
showsVerticalScrollIndicator={false}
onScrollToIndexFailed={(info) => {
// Bounded retry for scroll failures
if (
scrollRetryCountRef.current >= MAX_SCROLL_RETRIES ||
info.index >= filteredEpisodes.length
) {
return;
}
scrollRetryCountRef.current += 1;
if (scrollRetryTimeoutRef.current) {
clearTimeout(scrollRetryTimeoutRef.current);
}
scrollRetryTimeoutRef.current = setTimeout(() => {
flatListRef.current?.scrollToIndex({
index: info.index,
animated: true,
viewPosition: 0.5,
});
}, 500);
}}
/>
</Pressable>
</Pressable>
</Modal>
);
};

View File

@@ -1,347 +0,0 @@
/**
* Chromecast Settings Menu
* Allows users to configure audio, subtitles, quality, and playback speed
*/
import { Ionicons } from "@expo/vector-icons";
import type { BaseItemDto } from "@jellyfin/sdk/lib/generated-client/models";
import React, { useState } from "react";
import { useTranslation } from "react-i18next";
import { Modal, Pressable, ScrollView, View } from "react-native";
import { useSafeAreaInsets } from "react-native-safe-area-context";
import { Text } from "@/components/common/Text";
import type {
AudioTrack,
MediaSource,
SubtitleTrack,
} from "@/utils/casting/types";
interface ChromecastSettingsMenuProps {
visible: boolean;
onClose: () => void;
item: BaseItemDto;
mediaSources: MediaSource[];
selectedMediaSource: MediaSource | null;
onMediaSourceChange: (source: MediaSource) => void;
audioTracks: AudioTrack[];
selectedAudioTrack: AudioTrack | null;
onAudioTrackChange: (track: AudioTrack) => void;
subtitleTracks: SubtitleTrack[];
selectedSubtitleTrack: SubtitleTrack | null;
onSubtitleTrackChange: (track: SubtitleTrack | null) => void;
playbackSpeed: number;
onPlaybackSpeedChange: (speed: number) => void;
}
const PLAYBACK_SPEEDS = [0.25, 0.5, 0.75, 1, 1.25, 1.5, 1.75, 2];
export const ChromecastSettingsMenu: React.FC<ChromecastSettingsMenuProps> = ({
visible,
onClose,
item: _item, // Reserved for future use (technical info display)
mediaSources,
selectedMediaSource,
onMediaSourceChange,
audioTracks,
selectedAudioTrack,
onAudioTrackChange,
subtitleTracks,
selectedSubtitleTrack,
onSubtitleTrackChange,
playbackSpeed,
onPlaybackSpeedChange,
}) => {
const insets = useSafeAreaInsets();
const { t } = useTranslation();
const [expandedSection, setExpandedSection] = useState<string | null>(null);
const toggleSection = (section: string) => {
setExpandedSection(expandedSection === section ? null : section);
};
const renderSectionHeader = (
title: string,
icon: keyof typeof Ionicons.glyphMap,
sectionKey: string,
) => (
<Pressable
onPress={() => toggleSection(sectionKey)}
style={{
flexDirection: "row",
justifyContent: "space-between",
alignItems: "center",
padding: 16,
borderBottomWidth: 1,
borderBottomColor: "#333",
}}
>
<View style={{ flexDirection: "row", alignItems: "center", gap: 12 }}>
<Ionicons name={icon} size={20} color='white' />
<Text style={{ color: "white", fontSize: 16, fontWeight: "500" }}>
{title}
</Text>
</View>
<Ionicons
name={expandedSection === sectionKey ? "chevron-up" : "chevron-down"}
size={20}
color='#999'
/>
</Pressable>
);
return (
<Modal
visible={visible}
transparent={true}
animationType='slide'
onRequestClose={onClose}
>
<Pressable
style={{
flex: 1,
backgroundColor: "rgba(0, 0, 0, 0.85)",
justifyContent: "flex-end",
}}
onPress={onClose}
>
<Pressable
style={{
backgroundColor: "#1a1a1a",
borderTopLeftRadius: 16,
borderTopRightRadius: 16,
maxHeight: "80%",
paddingBottom: insets.bottom,
}}
onPress={(e) => e.stopPropagation()}
>
{/* Header */}
<View
style={{
flexDirection: "row",
justifyContent: "space-between",
alignItems: "center",
padding: 16,
borderBottomWidth: 1,
borderBottomColor: "#333",
}}
>
<Text style={{ color: "white", fontSize: 18, fontWeight: "600" }}>
{t("casting_player.playback_settings")}
</Text>
<Pressable onPress={onClose} style={{ padding: 8 }}>
<Ionicons name='close' size={24} color='white' />
</Pressable>
</View>
<ScrollView>
{/* Quality/Media Source - only show when sources available */}
{mediaSources.length > 0 &&
renderSectionHeader(
t("casting_player.quality"),
"film-outline",
"quality",
)}
{mediaSources.length > 0 && expandedSection === "quality" && (
<View style={{ paddingVertical: 8 }}>
{mediaSources.map((source) => (
<Pressable
key={source.id}
onPress={() => {
onMediaSourceChange(source);
setExpandedSection(null);
}}
style={{
flexDirection: "row",
justifyContent: "space-between",
alignItems: "center",
padding: 16,
backgroundColor:
selectedMediaSource?.id === source.id
? "#2a2a2a"
: "transparent",
}}
>
<View>
<Text style={{ color: "white", fontSize: 15 }}>
{source.name}
</Text>
{source.bitrate && (
<Text
style={{ color: "#999", fontSize: 13, marginTop: 2 }}
>
{Math.round(source.bitrate / 1000000)} Mbps
</Text>
)}
</View>
{selectedMediaSource?.id === source.id && (
<Ionicons name='checkmark' size={20} color='#a855f7' />
)}
</Pressable>
))}
</View>
)}
{/* Audio Tracks - only show if more than one track */}
{audioTracks.length > 1 &&
renderSectionHeader(
t("casting_player.audio"),
"musical-notes",
"audio",
)}
{audioTracks.length > 1 && expandedSection === "audio" && (
<View style={{ paddingVertical: 8 }}>
{audioTracks.map((track) => (
<Pressable
key={track.index}
onPress={() => {
onAudioTrackChange(track);
setExpandedSection(null);
}}
style={{
flexDirection: "row",
justifyContent: "space-between",
alignItems: "center",
padding: 16,
backgroundColor:
selectedAudioTrack?.index === track.index
? "#2a2a2a"
: "transparent",
}}
>
<View>
<Text style={{ color: "white", fontSize: 15 }}>
{track.displayTitle ||
track.language ||
t("casting_player.unknown")}
</Text>
{track.codec && (
<Text
style={{ color: "#999", fontSize: 13, marginTop: 2 }}
>
{track.codec.toUpperCase()}
</Text>
)}
</View>
{selectedAudioTrack?.index === track.index && (
<Ionicons name='checkmark' size={20} color='#a855f7' />
)}
</Pressable>
))}
</View>
)}
{/* Subtitle Tracks - only show if subtitles available */}
{subtitleTracks.length > 0 &&
renderSectionHeader(
t("casting_player.subtitles"),
"text",
"subtitles",
)}
{subtitleTracks.length > 0 && expandedSection === "subtitles" && (
<View style={{ paddingVertical: 8 }}>
<Pressable
onPress={() => {
onSubtitleTrackChange(null);
setExpandedSection(null);
}}
style={{
flexDirection: "row",
justifyContent: "space-between",
alignItems: "center",
padding: 16,
backgroundColor:
selectedSubtitleTrack === null
? "#2a2a2a"
: "transparent",
}}
>
<Text style={{ color: "white", fontSize: 15 }}>
{t("casting_player.none")}
</Text>
{selectedSubtitleTrack === null && (
<Ionicons name='checkmark' size={20} color='#a855f7' />
)}
</Pressable>
{subtitleTracks.map((track) => (
<Pressable
key={track.index}
onPress={() => {
onSubtitleTrackChange(track);
setExpandedSection(null);
}}
style={{
flexDirection: "row",
justifyContent: "space-between",
alignItems: "center",
padding: 16,
backgroundColor:
selectedSubtitleTrack?.index === track.index
? "#2a2a2a"
: "transparent",
}}
>
<View>
<Text style={{ color: "white", fontSize: 15 }}>
{track.displayTitle ||
track.language ||
t("casting_player.unknown")}
</Text>
{(track.codec || track.isForced) && (
<Text
style={{ color: "#999", fontSize: 13, marginTop: 2 }}
>
{track.codec ? track.codec.toUpperCase() : ""}
{track.isForced && `${t("casting_player.forced")}`}
</Text>
)}
</View>
{selectedSubtitleTrack?.index === track.index && (
<Ionicons name='checkmark' size={20} color='#a855f7' />
)}
</Pressable>
))}
</View>
)}
{/* Playback Speed */}
{renderSectionHeader(
t("casting_player.playback_speed"),
"speedometer",
"speed",
)}
{expandedSection === "speed" && (
<View style={{ paddingVertical: 8 }}>
{PLAYBACK_SPEEDS.map((speed) => (
<Pressable
key={speed}
onPress={() => {
onPlaybackSpeedChange(speed);
setExpandedSection(null);
}}
style={{
flexDirection: "row",
justifyContent: "space-between",
alignItems: "center",
padding: 16,
backgroundColor:
Math.abs(playbackSpeed - speed) < 0.01
? "#2a2a2a"
: "transparent",
}}
>
<Text style={{ color: "white", fontSize: 15 }}>
{speed === 1 ? t("casting_player.normal") : `${speed}x`}
</Text>
{Math.abs(playbackSpeed - speed) < 0.01 && (
<Ionicons name='checkmark' size={20} color='#a855f7' />
)}
</Pressable>
))}
</View>
)}
</ScrollView>
</Pressable>
</Pressable>
</Modal>
);
};

View File

@@ -1,171 +0,0 @@
/**
* Hook for managing Chromecast segments (intro, credits, recap, commercial, preview)
* Integrates with autoskip API for segment detection
*/
import type { BaseItemDto } from "@jellyfin/sdk/lib/generated-client";
import { useAtomValue } from "jotai";
import { useCallback, useMemo } from "react";
import { apiAtom } from "@/providers/JellyfinProvider";
import { useSettings } from "@/utils/atoms/settings";
import { isWithinSegment } from "@/utils/casting/helpers";
import type { ChromecastSegmentData } from "@/utils/chromecast/options";
import { useSegments } from "@/utils/segments";
export const useChromecastSegments = (
item: BaseItemDto | null,
currentProgressMs: number,
isOffline = false,
) => {
const api = useAtomValue(apiAtom);
const { settings } = useSettings();
// Fetch segments from autoskip API
const { data: segmentData } = useSegments(
item?.Id || "",
isOffline,
undefined, // downloadedFiles parameter
api,
);
// Parse segments into usable format
const segments = useMemo<ChromecastSegmentData>(() => {
if (!segmentData) {
return {
intro: null,
credits: null,
recap: null,
commercial: [],
preview: [],
};
}
const intro =
segmentData.introSegments && segmentData.introSegments.length > 0
? {
start: segmentData.introSegments[0].startTime,
end: segmentData.introSegments[0].endTime,
}
: null;
const credits =
segmentData.creditSegments && segmentData.creditSegments.length > 0
? {
start: segmentData.creditSegments[0].startTime,
end: segmentData.creditSegments[0].endTime,
}
: null;
const recap =
segmentData.recapSegments && segmentData.recapSegments.length > 0
? {
start: segmentData.recapSegments[0].startTime,
end: segmentData.recapSegments[0].endTime,
}
: null;
const commercial = (segmentData.commercialSegments || []).map((seg) => ({
start: seg.startTime,
end: seg.endTime,
}));
const preview = (segmentData.previewSegments || []).map((seg) => ({
start: seg.startTime,
end: seg.endTime,
}));
return { intro, credits, recap, commercial, preview };
}, [segmentData]);
// Check which segment we're currently in
// currentProgressMs is in milliseconds; isWithinSegment() converts ms→seconds internally
// before comparing with segment times (which are in seconds from the autoskip API)
const currentSegment = useMemo(() => {
if (isWithinSegment(currentProgressMs, segments.intro)) {
return { type: "intro" as const, segment: segments.intro };
}
if (isWithinSegment(currentProgressMs, segments.credits)) {
return { type: "credits" as const, segment: segments.credits };
}
if (isWithinSegment(currentProgressMs, segments.recap)) {
return { type: "recap" as const, segment: segments.recap };
}
for (const commercial of segments.commercial) {
if (isWithinSegment(currentProgressMs, commercial)) {
return { type: "commercial" as const, segment: commercial };
}
}
for (const preview of segments.preview) {
if (isWithinSegment(currentProgressMs, preview)) {
return { type: "preview" as const, segment: preview };
}
}
return null;
}, [currentProgressMs, segments]);
// Skip functions
const skipIntro = useCallback(
async (seekFn: (positionMs: number) => Promise<void>): Promise<void> => {
if (segments.intro) {
await seekFn(segments.intro.end * 1000);
}
},
[segments.intro],
);
const skipCredits = useCallback(
async (seekFn: (positionMs: number) => Promise<void>): Promise<void> => {
if (segments.credits) {
await seekFn(segments.credits.end * 1000);
}
},
[segments.credits],
);
const skipSegment = useCallback(
async (seekFn: (positionMs: number) => Promise<void>): Promise<void> => {
if (currentSegment?.segment) {
await seekFn(currentSegment.segment.end * 1000);
}
},
[currentSegment],
);
// Auto-skip logic based on settings
const shouldAutoSkip = useMemo(() => {
if (!currentSegment) return false;
switch (currentSegment.type) {
case "intro":
return settings?.skipIntro === "auto";
case "credits":
return settings?.skipOutro === "auto";
case "recap":
return settings?.skipRecap === "auto";
case "commercial":
return settings?.skipCommercial === "auto";
case "preview":
return settings?.skipPreview === "auto";
default:
return false;
}
}, [
currentSegment,
settings?.skipIntro,
settings?.skipOutro,
settings?.skipRecap,
settings?.skipCommercial,
settings?.skipPreview,
]);
return {
segments,
currentSegment,
skipIntro,
skipCredits,
skipSegment,
shouldAutoSkip,
hasIntro: !!segments.intro,
hasCredits: !!segments.credits,
};
};

View File

@@ -47,7 +47,7 @@ export const ItemPeopleSections: React.FC<Props> = ({ item, ...props }) => {
return ( return (
<MoreMoviesWithActor <MoreMoviesWithActor
key={`${person.Id}-${idx}`} key={person.Id}
currentItem={item} currentItem={item}
actorId={person.Id} actorId={person.Id}
actorName={person.Name} actorName={person.Name}

View File

@@ -8,7 +8,6 @@ import { BITRATES } from "@/components/BitrateSelector";
import { PlatformDropdown } from "@/components/PlatformDropdown"; import { PlatformDropdown } from "@/components/PlatformDropdown";
import { PLAYBACK_SPEEDS } from "@/components/PlaybackSpeedSelector"; import { PLAYBACK_SPEEDS } from "@/components/PlaybackSpeedSelector";
import DisabledSetting from "@/components/settings/DisabledSetting"; import DisabledSetting from "@/components/settings/DisabledSetting";
import useRouter from "@/hooks/useAppRouter";
import * as ScreenOrientation from "@/packages/expo-screen-orientation"; import * as ScreenOrientation from "@/packages/expo-screen-orientation";
import { ScreenOrientationEnum, useSettings } from "@/utils/atoms/settings"; import { ScreenOrientationEnum, useSettings } from "@/utils/atoms/settings";
import { Text } from "../common/Text"; import { Text } from "../common/Text";
@@ -16,7 +15,6 @@ import { ListGroup } from "../list/ListGroup";
import { ListItem } from "../list/ListItem"; import { ListItem } from "../list/ListItem";
export const PlaybackControlsSettings: React.FC = () => { export const PlaybackControlsSettings: React.FC = () => {
const router = useRouter();
const { settings, updateSettings, pluginSettings } = useSettings(); const { settings, updateSettings, pluginSettings } = useSettings();
const { t } = useTranslation(); const { t } = useTranslation();
@@ -250,15 +248,6 @@ export const PlaybackControlsSettings: React.FC = () => {
title={t("home.settings.other.max_auto_play_episode_count")} title={t("home.settings.other.max_auto_play_episode_count")}
/> />
</ListItem> </ListItem>
{/* Media Segment Skip Settings */}
<ListItem
title={t("home.settings.other.segment_skip_settings")}
subtitle={t("home.settings.other.segment_skip_settings_description")}
onPress={() => router.push("/settings/segment-skip/page")}
>
<Ionicons name='chevron-forward' size={20} color='#8E8D91' />
</ListItem>
</ListGroup> </ListGroup>
</DisabledSetting> </DisabledSetting>
); );

View File

@@ -19,9 +19,7 @@ interface BottomControlsProps {
currentTime: number; currentTime: number;
remainingTime: number; remainingTime: number;
showSkipButton: boolean; showSkipButton: boolean;
skipButtonText: string;
showSkipCreditButton: boolean; showSkipCreditButton: boolean;
skipCreditButtonText: string;
hasContentAfterCredits: boolean; hasContentAfterCredits: boolean;
skipIntro: () => void; skipIntro: () => void;
skipCredit: () => void; skipCredit: () => void;
@@ -69,9 +67,7 @@ export const BottomControls: FC<BottomControlsProps> = ({
currentTime, currentTime,
remainingTime, remainingTime,
showSkipButton, showSkipButton,
skipButtonText,
showSkipCreditButton, showSkipCreditButton,
skipCreditButtonText,
hasContentAfterCredits, hasContentAfterCredits,
skipIntro, skipIntro,
skipCredit, skipCredit,
@@ -140,7 +136,7 @@ export const BottomControls: FC<BottomControlsProps> = ({
<SkipButton <SkipButton
showButton={showSkipButton} showButton={showSkipButton}
onPress={skipIntro} onPress={skipIntro}
buttonText={skipButtonText} buttonText='Skip Intro'
/> />
{/* Smart Skip Credits behavior: {/* Smart Skip Credits behavior:
- Show "Skip Credits" if there's content after credits OR no next episode - Show "Skip Credits" if there's content after credits OR no next episode
@@ -150,7 +146,7 @@ export const BottomControls: FC<BottomControlsProps> = ({
showSkipCreditButton && (hasContentAfterCredits || !nextItem) showSkipCreditButton && (hasContentAfterCredits || !nextItem)
} }
onPress={skipCredit} onPress={skipCredit}
buttonText={skipCreditButtonText} buttonText='Skip Credits'
/> />
{settings.autoPlayNextEpisode !== false && {settings.autoPlayNextEpisode !== false &&
(settings.maxAutoPlayEpisodeCount.value === -1 || (settings.maxAutoPlayEpisodeCount.value === -1 ||

View File

@@ -4,15 +4,7 @@ import type {
MediaSourceInfo, MediaSourceInfo,
} from "@jellyfin/sdk/lib/generated-client"; } from "@jellyfin/sdk/lib/generated-client";
import { useLocalSearchParams } from "expo-router"; import { useLocalSearchParams } from "expo-router";
import { import { type FC, useCallback, useEffect, useState } from "react";
type FC,
useCallback,
useEffect,
useMemo,
useRef,
useState,
} from "react";
import { useTranslation } from "react-i18next";
import { StyleSheet, useWindowDimensions, View } from "react-native"; import { StyleSheet, useWindowDimensions, View } from "react-native";
import Animated, { import Animated, {
Easing, Easing,
@@ -24,17 +16,17 @@ import Animated, {
} from "react-native-reanimated"; } from "react-native-reanimated";
import ContinueWatchingOverlay from "@/components/video-player/controls/ContinueWatchingOverlay"; import ContinueWatchingOverlay from "@/components/video-player/controls/ContinueWatchingOverlay";
import useRouter from "@/hooks/useAppRouter"; import useRouter from "@/hooks/useAppRouter";
import { useCreditSkipper } from "@/hooks/useCreditSkipper";
import { useHaptic } from "@/hooks/useHaptic"; import { useHaptic } from "@/hooks/useHaptic";
import { useIntroSkipper } from "@/hooks/useIntroSkipper";
import { usePlaybackManager } from "@/hooks/usePlaybackManager"; import { usePlaybackManager } from "@/hooks/usePlaybackManager";
import { useSegmentSkipper } from "@/hooks/useSegmentSkipper";
import { useTrickplay } from "@/hooks/useTrickplay"; import { useTrickplay } from "@/hooks/useTrickplay";
import type { TechnicalInfo } from "@/modules/mpv-player"; import type { TechnicalInfo } from "@/modules/mpv-player";
import { DownloadedItem } from "@/providers/Downloads/types"; import { DownloadedItem } from "@/providers/Downloads/types";
import { useOfflineMode } from "@/providers/OfflineModeProvider"; import { useOfflineMode } from "@/providers/OfflineModeProvider";
import { useSettings } from "@/utils/atoms/settings"; import { useSettings } from "@/utils/atoms/settings";
import { getDefaultPlaySettings } from "@/utils/jellyfin/getDefaultPlaySettings"; import { getDefaultPlaySettings } from "@/utils/jellyfin/getDefaultPlaySettings";
import { useSegments } from "@/utils/segments"; import { ticksToMs } from "@/utils/time";
import { msToSeconds, ticksToMs } from "@/utils/time";
import { BottomControls } from "./BottomControls"; import { BottomControls } from "./BottomControls";
import { CenterControls } from "./CenterControls"; import { CenterControls } from "./CenterControls";
import { CONTROLS_CONSTANTS } from "./constants"; import { CONTROLS_CONSTANTS } from "./constants";
@@ -50,9 +42,6 @@ import { useControlsTimeout } from "./useControlsTimeout";
import { PlaybackSpeedScope } from "./utils/playback-speed-settings"; import { PlaybackSpeedScope } from "./utils/playback-speed-settings";
import { type AspectRatio } from "./VideoScalingModeSelector"; import { type AspectRatio } from "./VideoScalingModeSelector";
// No-op function to avoid creating new references on every render
const noop = () => {};
interface Props { interface Props {
item: BaseItemDto; item: BaseItemDto;
isPlaying: boolean; isPlaying: boolean;
@@ -121,24 +110,6 @@ export const Controls: FC<Props> = ({
const [episodeView, setEpisodeView] = useState(false); const [episodeView, setEpisodeView] = useState(false);
const [showAudioSlider, setShowAudioSlider] = useState(false); const [showAudioSlider, setShowAudioSlider] = useState(false);
// Ref to track pending play timeout for cleanup and cancellation
const playTimeoutRef = useRef<ReturnType<typeof setTimeout> | null>(null);
// Mutable ref tracking isPlaying to avoid stale closures in seekMs timeout
const playingRef = useRef(isPlaying);
useEffect(() => {
playingRef.current = isPlaying;
}, [isPlaying]);
// Clean up timeout on unmount
useEffect(() => {
return () => {
if (playTimeoutRef.current) {
clearTimeout(playTimeoutRef.current);
}
};
}, []);
const { height: screenHeight, width: screenWidth } = useWindowDimensions(); const { height: screenHeight, width: screenWidth } = useWindowDimensions();
const { previousItem, nextItem } = usePlaybackManager({ const { previousItem, nextItem } = usePlaybackManager({
item, item,
@@ -329,125 +300,27 @@ export const Controls: FC<Props> = ({
subtitleIndex: string; subtitleIndex: string;
}>(); }>();
// Fetch all segments for the current item const { showSkipButton, skipIntro } = useIntroSkipper(
const { data: segments } = useSegments( item.Id!,
item.Id ?? "", currentTime,
seek,
play,
offline, offline,
downloadedFiles,
api, api,
downloadedFiles,
); );
// Convert milliseconds to seconds for segment comparison const { showSkipCreditButton, skipCredit, hasContentAfterCredits } =
const currentTimeSeconds = msToSeconds(currentTime); useCreditSkipper(
const maxSeconds = maxMs ? msToSeconds(maxMs) : undefined; item.Id!,
currentTime,
// Wrapper to convert segment skip from seconds to milliseconds seek,
// Includes 200ms delay to allow seek operation to complete before resuming playback play,
const seekMs = useCallback( offline,
(timeInSeconds: number) => { api,
// Cancel any pending play call to avoid race conditions downloadedFiles,
if (playTimeoutRef.current) { maxMs,
clearTimeout(playTimeoutRef.current); );
}
seek(timeInSeconds * 1000);
// Brief delay ensures the seek operation completes before resuming playback
// Without this, playback may resume from the old position
// Read latest isPlaying from ref to avoid stale closure
playTimeoutRef.current = setTimeout(() => {
if (playingRef.current) {
play();
}
playTimeoutRef.current = null;
}, 200);
},
[seek, play],
);
// Use unified segment skipper for all segment types
const introSkipper = useSegmentSkipper({
segments: segments?.introSegments || [],
segmentType: "Intro",
currentTime: currentTimeSeconds,
seek: seekMs,
isPaused: !isPlaying,
});
const outroSkipper = useSegmentSkipper({
segments: segments?.creditSegments || [],
segmentType: "Outro",
currentTime: currentTimeSeconds,
totalDuration: maxSeconds,
seek: seekMs,
isPaused: !isPlaying,
});
const recapSkipper = useSegmentSkipper({
segments: segments?.recapSegments || [],
segmentType: "Recap",
currentTime: currentTimeSeconds,
seek: seekMs,
isPaused: !isPlaying,
});
const commercialSkipper = useSegmentSkipper({
segments: segments?.commercialSegments || [],
segmentType: "Commercial",
currentTime: currentTimeSeconds,
seek: seekMs,
isPaused: !isPlaying,
});
const previewSkipper = useSegmentSkipper({
segments: segments?.previewSegments || [],
segmentType: "Preview",
currentTime: currentTimeSeconds,
seek: seekMs,
isPaused: !isPlaying,
});
// Determine which segment button to show (priority order)
// Commercial > Recap > Intro > Preview > Outro
const activeSegment = useMemo(() => {
if (commercialSkipper.currentSegment)
return { type: "Commercial", ...commercialSkipper };
if (recapSkipper.currentSegment) return { type: "Recap", ...recapSkipper };
if (introSkipper.currentSegment) return { type: "Intro", ...introSkipper };
if (previewSkipper.currentSegment)
return { type: "Preview", ...previewSkipper };
if (outroSkipper.currentSegment) return { type: "Outro", ...outroSkipper };
return null;
}, [
commercialSkipper.currentSegment,
recapSkipper.currentSegment,
introSkipper.currentSegment,
previewSkipper.currentSegment,
outroSkipper.currentSegment,
commercialSkipper,
recapSkipper,
introSkipper,
previewSkipper,
outroSkipper,
]);
// Legacy compatibility: map to old variable names
const showSkipButton = !!(
activeSegment &&
["Intro", "Recap", "Commercial", "Preview"].includes(activeSegment.type)
);
const skipIntro = activeSegment?.skipSegment || noop;
const showSkipCreditButton = activeSegment?.type === "Outro";
const skipCredit = outroSkipper.skipSegment || noop;
const hasContentAfterCredits =
outroSkipper.currentSegment && maxSeconds
? outroSkipper.currentSegment.endTime < maxSeconds
: false;
// Get button text based on segment type using i18n
const { t } = useTranslation();
const skipButtonText = activeSegment
? t(`player.skip_${activeSegment.type.toLowerCase()}`)
: t("player.skip_intro");
const skipCreditButtonText = t("player.skip_outro");
const goToItemCommon = useCallback( const goToItemCommon = useCallback(
(item: BaseItemDto) => { (item: BaseItemDto) => {
@@ -661,9 +534,7 @@ export const Controls: FC<Props> = ({
currentTime={currentTime} currentTime={currentTime}
remainingTime={remainingTime} remainingTime={remainingTime}
showSkipButton={showSkipButton} showSkipButton={showSkipButton}
skipButtonText={skipButtonText}
showSkipCreditButton={showSkipCreditButton} showSkipCreditButton={showSkipCreditButton}
skipCreditButtonText={skipCreditButtonText}
hasContentAfterCredits={hasContentAfterCredits} hasContentAfterCredits={hasContentAfterCredits}
skipIntro={skipIntro} skipIntro={skipIntro}
skipCredit={skipCredit} skipCredit={skipCredit}

View File

@@ -120,7 +120,13 @@ const formatTranscodeReason = (reason: string): string => {
}; };
export const TechnicalInfoOverlay: FC<TechnicalInfoOverlayProps> = memo( export const TechnicalInfoOverlay: FC<TechnicalInfoOverlayProps> = memo(
({ visible, getTechnicalInfo, playMethod, transcodeReasons }) => { ({
showControls,
visible,
getTechnicalInfo,
playMethod,
transcodeReasons,
}) => {
const { settings } = useSettings(); const { settings } = useSettings();
const insets = useSafeAreaInsets(); const insets = useSafeAreaInsets();
const [info, setInfo] = useState<TechnicalInfo | null>(null); const [info, setInfo] = useState<TechnicalInfo | null>(null);

View File

@@ -1,393 +0,0 @@
/**
* Unified Casting Hook
* Protocol-agnostic casting interface - currently supports Chromecast
* Architecture allows for future protocol integrations
*/
import type { BaseItemDto } from "@jellyfin/sdk/lib/generated-client";
import { getPlaystateApi } from "@jellyfin/sdk/lib/utils/api";
import { useAtomValue } from "jotai";
import { useCallback, useEffect, useRef, useState } from "react";
import {
CastState,
useCastDevice,
useCastState,
useMediaStatus,
useRemoteMediaClient,
} from "react-native-google-cast";
import { apiAtom, userAtom } from "@/providers/JellyfinProvider";
import type { CastPlayerState, CastProtocol } from "@/utils/casting/types";
import { DEFAULT_CAST_STATE } from "@/utils/casting/types";
/**
* Unified hook for managing casting
* Extensible architecture supporting multiple protocols
*/
export const useCasting = (item: BaseItemDto | null) => {
const api = useAtomValue(apiAtom);
const user = useAtomValue(userAtom);
// Chromecast hooks
const client = useRemoteMediaClient();
const castDevice = useCastDevice();
const castState = useCastState();
const mediaStatus = useMediaStatus();
// Local state
const [state, setState] = useState<CastPlayerState>(DEFAULT_CAST_STATE);
const lastReportedProgressRef = useRef(0);
const volumeDebounceRef = useRef<NodeJS.Timeout | null>(null);
const hasReportedStartRef = useRef<string | null>(null); // Track which item we reported start for
const stateRef = useRef<CastPlayerState>(DEFAULT_CAST_STATE); // Ref for progress reporting without deps
// Helper to update both state and ref
const updateState = useCallback(
(updater: (prev: CastPlayerState) => CastPlayerState) => {
setState((prev) => {
const next = updater(prev);
stateRef.current = next;
return next;
});
},
[],
);
// Detect which protocol is active - use CastState for reliable detection
const chromecastConnected = castState === CastState.CONNECTED;
// Future: Add detection for other protocols here
const activeProtocol: CastProtocol | null = chromecastConnected
? "chromecast"
: null;
const isConnected = chromecastConnected;
// Update current device
useEffect(() => {
if (chromecastConnected && castDevice) {
updateState((prev) => ({
...prev,
isConnected: true,
protocol: "chromecast",
currentDevice: {
id: castDevice.deviceId,
name: castDevice.friendlyName || castDevice.deviceId,
protocol: "chromecast",
},
}));
} else {
updateState((prev) => ({
...prev,
isConnected: false,
protocol: null,
currentDevice: null,
}));
}
// Future: Add device detection for other protocols
}, [chromecastConnected, castDevice]);
// Chromecast: Update playback state
useEffect(() => {
if (activeProtocol === "chromecast" && mediaStatus) {
updateState((prev) => ({
...prev,
isPlaying: mediaStatus.playerState === "playing",
progress: (mediaStatus.streamPosition || 0) * 1000,
duration: (mediaStatus.mediaInfo?.streamDuration || 0) * 1000,
isBuffering: mediaStatus.playerState === "buffering",
}));
}
}, [mediaStatus, activeProtocol, updateState]);
// Chromecast: Sync volume from mediaStatus
useEffect(() => {
if (activeProtocol !== "chromecast") return;
// Sync from mediaStatus when available
if (mediaStatus?.volume !== undefined) {
updateState((prev) => ({
...prev,
volume: mediaStatus.volume,
}));
}
}, [mediaStatus?.volume, activeProtocol, updateState]);
// Progress reporting to Jellyfin (matches native player behavior)
// Uses stateRef to read current progress/volume without adding them as deps
useEffect(() => {
if (!isConnected || !item?.Id || !user?.Id || !api) return;
const playStateApi = getPlaystateApi(api);
// Report playback start when media begins (only once per item)
// Don't require progress > 0 — playback can legitimately start at position 0
const currentState = stateRef.current;
const isPlaybackActive =
currentState.isPlaying ||
mediaStatus?.playerState === "playing" ||
currentState.progress > 0;
if (hasReportedStartRef.current !== item.Id && isPlaybackActive) {
// Set synchronously before async call to prevent race condition duplicates
hasReportedStartRef.current = item.Id || null;
playStateApi
.reportPlaybackStart({
playbackStartInfo: {
ItemId: item.Id,
PositionTicks: Math.floor(currentState.progress * 10000),
PlayMethod:
activeProtocol === "chromecast" ? "DirectStream" : "DirectPlay",
VolumeLevel: Math.floor(currentState.volume * 100),
IsMuted: currentState.volume === 0,
PlaySessionId: mediaStatus?.mediaInfo?.contentId,
},
})
.catch((error) => {
// Revert on failure so it can be retried
hasReportedStartRef.current = null;
console.error("[useCasting] Failed to report playback start:", error);
});
}
const reportProgress = () => {
const s = stateRef.current;
// Don't report if no meaningful progress or if buffering
if (s.progress <= 0 || s.isBuffering) return;
const progressMs = Math.floor(s.progress);
const progressTicks = progressMs * 10000; // Convert ms to ticks
const progressSeconds = Math.floor(progressMs / 1000);
// When paused, always report to keep server in sync
// When playing, skip if progress hasn't changed significantly (less than 3 seconds)
if (
s.isPlaying &&
Math.abs(progressSeconds - lastReportedProgressRef.current) < 3
) {
return;
}
lastReportedProgressRef.current = progressSeconds;
playStateApi
.reportPlaybackProgress({
playbackProgressInfo: {
ItemId: item.Id,
PositionTicks: progressTicks,
IsPaused: !s.isPlaying,
PlayMethod:
activeProtocol === "chromecast" ? "DirectStream" : "DirectPlay",
VolumeLevel: Math.floor(s.volume * 100),
IsMuted: s.volume === 0,
PlaySessionId: mediaStatus?.mediaInfo?.contentId,
},
})
.catch((error) => {
console.error("[useCasting] Failed to report progress:", error);
});
};
// Report progress on a fixed interval, reading latest state from ref
const interval = setInterval(reportProgress, 10000);
return () => clearInterval(interval);
}, [
api,
item?.Id,
user?.Id,
isConnected,
activeProtocol,
mediaStatus?.mediaInfo?.contentId,
]);
// Play/Pause controls
const play = useCallback(async () => {
if (activeProtocol === "chromecast") {
// Check if there's an active media session
if (!client || !mediaStatus?.mediaInfo) {
console.warn(
"[useCasting] Cannot play - no active media session. Media needs to be loaded first.",
);
return;
}
try {
await client.play();
} catch (error) {
console.error("[useCasting] Error playing:", error);
throw error;
}
}
// Future: Add play control for other protocols
}, [client, mediaStatus, activeProtocol]);
const pause = useCallback(async () => {
if (activeProtocol === "chromecast") {
try {
await client?.pause();
} catch (error) {
console.error("[useCasting] Error pausing:", error);
throw error;
}
}
// Future: Add pause control for other protocols
}, [client, activeProtocol]);
const togglePlayPause = useCallback(async () => {
if (state.isPlaying) {
await pause();
} else {
await play();
}
}, [state.isPlaying, play, pause]);
// Seek controls
const seek = useCallback(
async (positionMs: number) => {
// Validate position
if (positionMs < 0 || !Number.isFinite(positionMs)) {
console.error("[useCasting] Invalid seek position (ms):", positionMs);
return;
}
const positionSeconds = positionMs / 1000;
// Additional validation for Chromecast
if (activeProtocol === "chromecast") {
// state.duration is in ms, positionSeconds is in seconds - compare in same unit
// Only clamp when duration is known (> 0) to avoid forcing seeks to 0
const durationSeconds = state.duration / 1000;
if (durationSeconds > 0 && positionSeconds > durationSeconds) {
console.warn(
"[useCasting] Seek position exceeds duration, clamping:",
positionSeconds,
"->",
durationSeconds,
);
await client?.seek({ position: durationSeconds });
return;
}
await client?.seek({ position: positionSeconds });
}
// Future: Add seek control for other protocols
},
[client, activeProtocol, state.duration],
);
const skipForward = useCallback(
async (seconds = 10) => {
const newPosition = state.progress + seconds * 1000;
await seek(Math.min(newPosition, state.duration));
},
[state.progress, state.duration, seek],
);
const skipBackward = useCallback(
async (seconds = 10) => {
const newPosition = state.progress - seconds * 1000;
await seek(Math.max(newPosition, 0));
},
[state.progress, seek],
);
// Stop and disconnect
const stop = useCallback(
async (onStopComplete?: () => void) => {
try {
if (activeProtocol === "chromecast") {
await client?.stop();
}
// Future: Add stop control for other protocols
// Report stop to Jellyfin
if (api && item?.Id && user?.Id) {
const playStateApi = getPlaystateApi(api);
await playStateApi.reportPlaybackStopped({
playbackStopInfo: {
ItemId: item.Id,
PositionTicks: stateRef.current.progress * 10000,
},
});
}
} catch (error) {
console.error("[useCasting] Error during stop:", error);
} finally {
hasReportedStartRef.current = null;
setState(DEFAULT_CAST_STATE);
stateRef.current = DEFAULT_CAST_STATE;
// Call callback after stop completes (e.g., to navigate away)
if (onStopComplete) {
onStopComplete();
}
}
},
[client, api, item?.Id, user?.Id, activeProtocol],
);
// Volume control (debounced to reduce API calls)
const setVolume = useCallback(
(volume: number) => {
const clampedVolume = Math.max(0, Math.min(1, volume));
// Update UI immediately
updateState((prev) => ({ ...prev, volume: clampedVolume }));
// Debounce API call
if (volumeDebounceRef.current) {
clearTimeout(volumeDebounceRef.current);
}
volumeDebounceRef.current = setTimeout(async () => {
if (activeProtocol === "chromecast" && client && isConnected) {
// Use setStreamVolume for media stream volume (0.0 - 1.0)
// Physical volume buttons are handled automatically by the framework
await client.setStreamVolume(clampedVolume).catch(() => {
// Ignore errors - session might have ended
});
}
// Future: Add volume control for other protocols
}, 300);
},
[client, activeProtocol, isConnected],
);
// Cleanup
useEffect(() => {
return () => {
if (volumeDebounceRef.current) {
clearTimeout(volumeDebounceRef.current);
}
};
}, []);
return {
// State
isConnected,
protocol: activeProtocol,
isPlaying: state.isPlaying,
isBuffering: state.isBuffering,
currentItem: item,
currentDevice: state.currentDevice,
progress: state.progress,
duration: state.duration,
volume: state.volume,
// Availability - derived from actual cast state
isChromecastAvailable:
castState === CastState.CONNECTED ||
castState === CastState.CONNECTING ||
castState === CastState.NOT_CONNECTED,
// Raw clients (for advanced operations)
remoteMediaClient: client,
// Controls
play,
pause,
togglePlayPause,
seek,
skipForward,
skipBackward,
stop,
setVolume,
};
};

109
hooks/useCreditSkipper.ts Normal file
View File

@@ -0,0 +1,109 @@
import { Api } from "@jellyfin/sdk";
import { useCallback, useEffect, useState } from "react";
import { DownloadedItem } from "@/providers/Downloads/types";
import { useSegments } from "@/utils/segments";
import { msToSeconds, secondsToMs } from "@/utils/time";
import { useHaptic } from "./useHaptic";
/**
* Custom hook to handle skipping credits in a media player.
* The player reports time values in milliseconds.
*/
export const useCreditSkipper = (
itemId: string,
currentTime: number,
seek: (ms: number) => void,
play: () => void,
isOffline = false,
api: Api | null = null,
downloadedFiles: DownloadedItem[] | undefined = undefined,
totalDuration?: number,
) => {
const [showSkipCreditButton, setShowSkipCreditButton] = useState(false);
const lightHapticFeedback = useHaptic("light");
// Convert ms to seconds for comparison with timestamps
const currentTimeSeconds = msToSeconds(currentTime);
const totalDurationInSeconds =
totalDuration != null ? msToSeconds(totalDuration) : undefined;
// Regular function (not useCallback) to match useIntroSkipper pattern
const wrappedSeek = (seconds: number) => {
seek(secondsToMs(seconds));
};
const { data: segments } = useSegments(
itemId,
isOffline,
downloadedFiles,
api,
);
const creditTimestamps = segments?.creditSegments?.[0];
// Determine if there's content after credits (credits don't extend to video end)
// Use a 5-second buffer to account for timing discrepancies
const hasContentAfterCredits = (() => {
if (
!creditTimestamps ||
totalDurationInSeconds == null ||
!Number.isFinite(totalDurationInSeconds)
) {
return false;
}
const creditsEndToVideoEnd =
totalDurationInSeconds - creditTimestamps.endTime;
// If credits end more than 5 seconds before video ends, there's content after
return creditsEndToVideoEnd > 5;
})();
useEffect(() => {
if (creditTimestamps) {
const shouldShow =
currentTimeSeconds > creditTimestamps.startTime &&
currentTimeSeconds < creditTimestamps.endTime;
setShowSkipCreditButton(shouldShow);
} else {
// Reset button state when no credit timestamps exist
if (showSkipCreditButton) {
setShowSkipCreditButton(false);
}
}
}, [creditTimestamps, currentTimeSeconds, showSkipCreditButton]);
const skipCredit = useCallback(() => {
if (!creditTimestamps) return;
try {
lightHapticFeedback();
// Calculate the target seek position
let seekTarget = creditTimestamps.endTime;
// If we have total duration, ensure we don't seek past the end of the video.
// Some media sources report credit end times that exceed the actual video duration,
// which causes the player to pause/stop when seeking past the end.
// Leave a small buffer (2 seconds) to trigger the natural end-of-video flow
// (next episode countdown, etc.) instead of an abrupt pause.
if (totalDurationInSeconds && seekTarget >= totalDurationInSeconds) {
seekTarget = Math.max(0, totalDurationInSeconds - 2);
}
wrappedSeek(seekTarget);
setTimeout(() => {
play();
}, 200);
} catch (error) {
console.error("[CREDIT_SKIPPER] Error skipping credit", error);
}
}, [
creditTimestamps,
lightHapticFeedback,
wrappedSeek,
play,
totalDurationInSeconds,
]);
return { showSkipCreditButton, skipCredit, hasContentAfterCredits };
};

68
hooks/useIntroSkipper.ts Normal file
View File

@@ -0,0 +1,68 @@
import { Api } from "@jellyfin/sdk";
import { useCallback, useEffect, useState } from "react";
import { DownloadedItem } from "@/providers/Downloads/types";
import { useSegments } from "@/utils/segments";
import { msToSeconds, secondsToMs } from "@/utils/time";
import { useHaptic } from "./useHaptic";
/**
* Custom hook to handle skipping intros in a media player.
* MPV player uses milliseconds for time.
*
* @param {number} currentTime - The current playback time in milliseconds.
*/
export const useIntroSkipper = (
itemId: string,
currentTime: number,
seek: (ms: number) => void,
play: () => void,
isOffline = false,
api: Api | null = null,
downloadedFiles: DownloadedItem[] | undefined = undefined,
) => {
const [showSkipButton, setShowSkipButton] = useState(false);
// Convert ms to seconds for comparison with timestamps
const currentTimeSeconds = msToSeconds(currentTime);
const lightHapticFeedback = useHaptic("light");
const wrappedSeek = (seconds: number) => {
seek(secondsToMs(seconds));
};
const { data: segments } = useSegments(
itemId,
isOffline,
downloadedFiles,
api,
);
const introTimestamps = segments?.introSegments?.[0];
useEffect(() => {
if (introTimestamps) {
const shouldShow =
currentTimeSeconds > introTimestamps.startTime &&
currentTimeSeconds < introTimestamps.endTime;
setShowSkipButton(shouldShow);
} else {
if (showSkipButton) {
setShowSkipButton(false);
}
}
}, [introTimestamps, currentTimeSeconds, showSkipButton]);
const skipIntro = useCallback(() => {
if (!introTimestamps) return;
try {
lightHapticFeedback();
wrappedSeek(introTimestamps.endTime);
setTimeout(() => {
play();
}, 200);
} catch (error) {
console.error("[INTRO_SKIPPER] Error skipping intro", error);
}
}, [introTimestamps, lightHapticFeedback, wrappedSeek, play]);
return { showSkipButton, skipIntro };
};

View File

@@ -1,113 +0,0 @@
import { useCallback, useEffect, useRef } from "react";
import { MediaTimeSegment } from "@/providers/Downloads/types";
import { useSettings } from "@/utils/atoms/settings";
import { useHaptic } from "./useHaptic";
type SegmentType = "Intro" | "Outro" | "Recap" | "Commercial" | "Preview";
interface UseSegmentSkipperProps {
segments: MediaTimeSegment[];
segmentType: SegmentType;
currentTime: number;
totalDuration?: number;
seek: (time: number) => void;
isPaused: boolean;
}
interface UseSegmentSkipperReturn {
currentSegment: MediaTimeSegment | null;
skipSegment: (notifyOrUseHaptics?: boolean) => void;
}
/**
* Generic hook to handle all media segment types (intro, outro, recap, commercial, preview)
* Supports three modes: 'none' (disabled), 'ask' (show button), 'auto' (auto-skip)
*/
export const useSegmentSkipper = ({
segments,
segmentType,
currentTime,
totalDuration,
seek,
isPaused,
}: UseSegmentSkipperProps): UseSegmentSkipperReturn => {
const { settings } = useSettings();
const haptic = useHaptic();
const autoSkipTriggeredRef = useRef<string | null>(null);
// Get skip mode based on segment type
const skipMode = (() => {
switch (segmentType) {
case "Intro":
return settings.skipIntro;
case "Outro":
return settings.skipOutro;
case "Recap":
return settings.skipRecap;
case "Commercial":
return settings.skipCommercial;
case "Preview":
return settings.skipPreview;
default:
return "none";
}
})();
// Find current segment
const currentSegment =
segments.find(
(segment) =>
currentTime >= segment.startTime && currentTime < segment.endTime,
) || null;
// Skip function with optional haptic feedback
const skipSegment = useCallback(
(notifyOrUseHaptics = true) => {
if (!currentSegment || skipMode === "none") return;
// For Outro segments, prevent seeking past the end
if (
segmentType === "Outro" &&
totalDuration != null &&
Number.isFinite(totalDuration)
) {
const seekTime = Math.min(currentSegment.endTime, totalDuration);
seek(seekTime);
} else {
seek(currentSegment.endTime);
}
// Only trigger haptic feedback if explicitly requested (manual skip)
if (notifyOrUseHaptics) {
haptic();
}
},
[currentSegment, segmentType, totalDuration, seek, haptic, skipMode],
);
// Auto-skip logic when mode is 'auto'
useEffect(() => {
if (skipMode !== "auto" || isPaused) {
return;
}
// Track segment identity to avoid re-triggering on pause/unpause
const segmentId = currentSegment
? `${currentSegment.startTime}-${currentSegment.endTime}`
: null;
if (currentSegment && autoSkipTriggeredRef.current !== segmentId) {
autoSkipTriggeredRef.current = segmentId;
skipSegment(false); // Don't trigger haptics for auto-skip
}
if (!currentSegment) {
autoSkipTriggeredRef.current = null;
}
}, [currentSegment, skipMode, isPaused, skipSegment]);
// Return null segment if skip mode is 'none'
return {
currentSegment: skipMode === "none" ? null : currentSegment,
skipSegment,
};
};

View File

@@ -17,24 +17,20 @@ interface TrickplayUrl {
} }
/** Hook to handle trickplay logic for a given item. */ /** Hook to handle trickplay logic for a given item. */
export const useTrickplay = (item: BaseItemDto | null) => { export const useTrickplay = (item: BaseItemDto) => {
const { getDownloadedItemById } = useDownload(); const { getDownloadedItemById } = useDownload();
const [trickPlayUrl, setTrickPlayUrl] = useState<TrickplayUrl | null>(null); const [trickPlayUrl, setTrickPlayUrl] = useState<TrickplayUrl | null>(null);
const lastCalculationTime = useRef(0); const lastCalculationTime = useRef(0);
const throttleDelay = 200; const throttleDelay = 200;
const isOffline = useGlobalSearchParams().offline === "true"; const isOffline = useGlobalSearchParams().offline === "true";
const trickplayInfo = useMemo( const trickplayInfo = useMemo(() => getTrickplayInfo(item), [item]);
() => (item ? getTrickplayInfo(item) : null),
[item],
);
/** Generates the trickplay URL for the given item and sheet index. /** Generates the trickplay URL for the given item and sheet index.
* We change between offline and online trickplay URLs depending on the state of the app. */ * We change between offline and online trickplay URLs depending on the state of the app. */
const getTrickplayUrl = useCallback( const getTrickplayUrl = useCallback(
(item: BaseItemDto, sheetIndex: number) => { (item: BaseItemDto, sheetIndex: number) => {
if (!item.Id) return null;
// If we are offline, we can use the downloaded item's trickplay data path // If we are offline, we can use the downloaded item's trickplay data path
const downloadedItem = getDownloadedItemById(item.Id); const downloadedItem = getDownloadedItemById(item.Id!);
if (isOffline && downloadedItem?.trickPlayData?.path) { if (isOffline && downloadedItem?.trickPlayData?.path) {
return `${downloadedItem.trickPlayData.path}${sheetIndex}.jpg`; return `${downloadedItem.trickPlayData.path}${sheetIndex}.jpg`;
} }
@@ -49,7 +45,7 @@ export const useTrickplay = (item: BaseItemDto | null) => {
const now = Date.now(); const now = Date.now();
if ( if (
!trickplayInfo || !trickplayInfo ||
!item?.Id || !item.Id ||
now - lastCalculationTime.current < throttleDelay now - lastCalculationTime.current < throttleDelay
) )
return; return;
@@ -66,7 +62,7 @@ export const useTrickplay = (item: BaseItemDto | null) => {
/** Prefetches all the trickplay images for the item, limiting concurrency to avoid I/O spikes. */ /** Prefetches all the trickplay images for the item, limiting concurrency to avoid I/O spikes. */
const prefetchAllTrickplayImages = useCallback(async () => { const prefetchAllTrickplayImages = useCallback(async () => {
if (!trickplayInfo || !item?.Id) return; if (!trickplayInfo || !item.Id) return;
const maxConcurrent = 4; const maxConcurrent = 4;
const total = trickplayInfo.totalImageSheets; const total = trickplayInfo.totalImageSheets;
const urls: string[] = []; const urls: string[] = [];

View File

@@ -43,6 +43,12 @@ class MpvPlayerModule : Module() {
view.loadVideo(config) view.loadVideo(config)
} }
// Now Playing metadata for media controls (iOS-only, no-op on Android)
// Android handles media session differently via MediaSessionCompat
Prop("nowPlayingMetadata") { _: MpvPlayerView, _: Map<String, String>? ->
// No-op on Android - media session integration would require MediaSessionCompat
}
// Async function to play video // Async function to play video
AsyncFunction("play") { view: MpvPlayerView -> AsyncFunction("play") { view: MpvPlayerView ->
view.play() view.play()

View File

@@ -10,6 +10,7 @@ protocol MPVLayerRendererDelegate: AnyObject {
func renderer(_ renderer: MPVLayerRenderer, didChangeLoading isLoading: Bool) func renderer(_ renderer: MPVLayerRenderer, didChangeLoading isLoading: Bool)
func renderer(_ renderer: MPVLayerRenderer, didBecomeReadyToSeek: Bool) func renderer(_ renderer: MPVLayerRenderer, didBecomeReadyToSeek: Bool)
func renderer(_ renderer: MPVLayerRenderer, didBecomeTracksReady: Bool) func renderer(_ renderer: MPVLayerRenderer, didBecomeTracksReady: Bool)
func renderer(_ renderer: MPVLayerRenderer, didSelectAudioOutput audioOutput: String)
} }
/// MPV player using vo_avfoundation for video output. /// MPV player using vo_avfoundation for video output.
@@ -347,7 +348,8 @@ final class MPVLayerRenderer {
("pause", MPV_FORMAT_FLAG), ("pause", MPV_FORMAT_FLAG),
("track-list/count", MPV_FORMAT_INT64), ("track-list/count", MPV_FORMAT_INT64),
("paused-for-cache", MPV_FORMAT_FLAG), ("paused-for-cache", MPV_FORMAT_FLAG),
("demuxer-cache-duration", MPV_FORMAT_DOUBLE) ("demuxer-cache-duration", MPV_FORMAT_DOUBLE),
("current-ao", MPV_FORMAT_STRING)
] ]
for (name, format) in properties { for (name, format) in properties {
mpv_observe_property(handle, 0, name, format) mpv_observe_property(handle, 0, name, format)
@@ -552,6 +554,15 @@ final class MPVLayerRenderer {
self.delegate?.renderer(self, didBecomeTracksReady: true) self.delegate?.renderer(self, didBecomeTracksReady: true)
} }
} }
case "current-ao":
// Audio output is now active - notify delegate
if let aoName = getStringProperty(handle: handle, name: name) {
print("[MPV] 🔊 Audio output selected: \(aoName)")
DispatchQueue.main.async { [weak self] in
guard let self else { return }
self.delegate?.renderer(self, didSelectAudioOutput: aoName)
}
}
default: default:
break break
} }

View File

@@ -0,0 +1,188 @@
import Foundation
import MediaPlayer
import UIKit
import AVFoundation
/// Simple manager for Now Playing info and remote commands.
/// Stores all state internally and updates Now Playing when ready.
class MPVNowPlayingManager {
static let shared = MPVNowPlayingManager()
// State
private var title: String?
private var artist: String?
private var albumTitle: String?
private var cachedArtwork: MPMediaItemArtwork?
private var duration: TimeInterval = 0
private var position: TimeInterval = 0
private var isPlaying: Bool = false
private var isCommandsSetup = false
private var artworkTask: URLSessionDataTask?
private init() {}
// MARK: - Audio Session
func activateAudioSession() {
do {
let session = AVAudioSession.sharedInstance()
try session.setCategory(.playback, mode: .moviePlayback)
try session.setActive(true)
print("[NowPlaying] Audio session activated")
} catch {
print("[NowPlaying] Audio session error: \(error)")
}
}
func deactivateAudioSession() {
do {
try AVAudioSession.sharedInstance().setActive(false, options: .notifyOthersOnDeactivation)
print("[NowPlaying] Audio session deactivated")
} catch {
print("[NowPlaying] Deactivation error: \(error)")
}
}
// MARK: - Remote Commands
func setupRemoteCommands(
playHandler: @escaping () -> Void,
pauseHandler: @escaping () -> Void,
toggleHandler: @escaping () -> Void,
seekHandler: @escaping (TimeInterval) -> Void,
skipForward: @escaping (TimeInterval) -> Void,
skipBackward: @escaping (TimeInterval) -> Void
) {
guard !isCommandsSetup else { return }
isCommandsSetup = true
DispatchQueue.main.async {
UIApplication.shared.beginReceivingRemoteControlEvents()
}
let cc = MPRemoteCommandCenter.shared()
cc.playCommand.isEnabled = true
cc.playCommand.addTarget { _ in playHandler(); return .success }
cc.pauseCommand.isEnabled = true
cc.pauseCommand.addTarget { _ in pauseHandler(); return .success }
cc.togglePlayPauseCommand.isEnabled = true
cc.togglePlayPauseCommand.addTarget { _ in toggleHandler(); return .success }
cc.skipForwardCommand.isEnabled = true
cc.skipForwardCommand.preferredIntervals = [15]
cc.skipForwardCommand.addTarget { e in
if let ev = e as? MPSkipIntervalCommandEvent { skipForward(ev.interval) }
return .success
}
cc.skipBackwardCommand.isEnabled = true
cc.skipBackwardCommand.preferredIntervals = [15]
cc.skipBackwardCommand.addTarget { e in
if let ev = e as? MPSkipIntervalCommandEvent { skipBackward(ev.interval) }
return .success
}
cc.changePlaybackPositionCommand.isEnabled = true
cc.changePlaybackPositionCommand.addTarget { e in
if let ev = e as? MPChangePlaybackPositionCommandEvent { seekHandler(ev.positionTime) }
return .success
}
print("[NowPlaying] Remote commands ready")
}
func cleanupRemoteCommands() {
guard isCommandsSetup else { return }
let cc = MPRemoteCommandCenter.shared()
cc.playCommand.removeTarget(nil)
cc.pauseCommand.removeTarget(nil)
cc.togglePlayPauseCommand.removeTarget(nil)
cc.skipForwardCommand.removeTarget(nil)
cc.skipBackwardCommand.removeTarget(nil)
cc.changePlaybackPositionCommand.removeTarget(nil)
DispatchQueue.main.async {
UIApplication.shared.endReceivingRemoteControlEvents()
}
isCommandsSetup = false
print("[NowPlaying] Remote commands cleaned up")
}
// MARK: - State Updates (call these whenever data changes)
/// Set metadata (title, artist, artwork URL)
func setMetadata(title: String?, artist: String?, albumTitle: String?, artworkUrl: String?) {
self.title = title
self.artist = artist
self.albumTitle = albumTitle
print("[NowPlaying] Metadata: \(title ?? "nil")")
// Load artwork async
artworkTask?.cancel()
if let urlString = artworkUrl, let url = URL(string: urlString) {
artworkTask = URLSession.shared.dataTask(with: url) { [weak self] data, _, _ in
if let data = data, let image = UIImage(data: data) {
self?.cachedArtwork = MPMediaItemArtwork(boundsSize: image.size) { _ in image }
print("[NowPlaying] Artwork loaded")
DispatchQueue.main.async { self?.refresh() }
}
}
artworkTask?.resume()
}
refresh()
}
/// Update playback state (position, duration, playing)
func updatePlayback(position: TimeInterval, duration: TimeInterval, isPlaying: Bool) {
self.position = position
self.duration = duration
self.isPlaying = isPlaying
refresh()
}
/// Clear everything
func clear() {
artworkTask?.cancel()
title = nil
artist = nil
albumTitle = nil
cachedArtwork = nil
duration = 0
position = 0
isPlaying = false
MPNowPlayingInfoCenter.default().nowPlayingInfo = nil
print("[NowPlaying] Cleared")
}
// MARK: - Private
/// Refresh Now Playing info if we have enough data
private func refresh() {
guard duration > 0 else {
print("[NowPlaying] refresh skipped - duration is 0")
return
}
var info: [String: Any] = [
MPMediaItemPropertyPlaybackDuration: duration,
MPNowPlayingInfoPropertyElapsedPlaybackTime: position,
MPNowPlayingInfoPropertyPlaybackRate: isPlaying ? 1.0 : 0.0
]
if let title { info[MPMediaItemPropertyTitle] = title }
if let artist { info[MPMediaItemPropertyArtist] = artist }
if let albumTitle { info[MPMediaItemPropertyAlbumTitle] = albumTitle }
if let cachedArtwork { info[MPMediaItemPropertyArtwork] = cachedArtwork }
MPNowPlayingInfoCenter.default().nowPlayingInfo = info
print("[NowPlaying] ✅ Set info: title=\(title ?? "nil"), dur=\(Int(duration))s, pos=\(Int(position))s, rate=\(isPlaying ? 1.0 : 0.0)")
}
}

View File

@@ -43,6 +43,21 @@ public class MpvPlayerModule: Module {
view.loadVideo(config: config) view.loadVideo(config: config)
} }
// Now Playing metadata for iOS Control Center and Lock Screen
Prop("nowPlayingMetadata") { (view: MpvPlayerView, metadata: [String: Any]?) in
guard let metadata = metadata else { return }
// Convert Any values to String, filtering out nil/null values
var stringMetadata: [String: String] = [:]
for (key, value) in metadata {
if let stringValue = value as? String {
stringMetadata[key] = stringValue
}
}
if !stringMetadata.isEmpty {
view.setNowPlayingMetadata(stringMetadata)
}
}
// Async function to play video // Async function to play video
AsyncFunction("play") { (view: MpvPlayerView) in AsyncFunction("play") { (view: MpvPlayerView) in
view.play() view.play()

View File

@@ -1,6 +1,7 @@
import AVFoundation import AVFoundation
import CoreMedia import CoreMedia
import ExpoModulesCore import ExpoModulesCore
import MediaPlayer
import UIKit import UIKit
/// Configuration for loading a video /// Configuration for loading a video
@@ -41,7 +42,6 @@ class MpvPlayerView: ExpoView {
private var renderer: MPVLayerRenderer? private var renderer: MPVLayerRenderer?
private var videoContainer: UIView! private var videoContainer: UIView!
private var pipController: PiPController? private var pipController: PiPController?
let onLoad = EventDispatcher() let onLoad = EventDispatcher()
let onPlaybackStateChange = EventDispatcher() let onPlaybackStateChange = EventDispatcher()
let onProgress = EventDispatcher() let onProgress = EventDispatcher()
@@ -53,11 +53,14 @@ class MpvPlayerView: ExpoView {
private var cachedDuration: Double = 0 private var cachedDuration: Double = 0
private var intendedPlayState: Bool = false private var intendedPlayState: Bool = false
private var _isZoomedToFill: Bool = false private var _isZoomedToFill: Bool = false
// Reference to now playing manager
private let nowPlayingManager = MPVNowPlayingManager.shared
required init(appContext: AppContext? = nil) { required init(appContext: AppContext? = nil) {
super.init(appContext: appContext) super.init(appContext: appContext)
setupNotifications()
setupView() setupView()
// Note: Decoder reset is handled automatically via KVO in MPVLayerRenderer
} }
private func setupView() { private func setupView() {
@@ -109,6 +112,77 @@ class MpvPlayerView: ExpoView {
CATransaction.commit() CATransaction.commit()
} }
// MARK: - Audio Session & Notifications
private func setupNotifications() {
// Handle audio session interruptions (e.g., incoming calls, other apps playing audio)
NotificationCenter.default.addObserver(
self, selector: #selector(handleAudioSessionInterruption),
name: AVAudioSession.interruptionNotification, object: nil)
}
@objc func handleAudioSessionInterruption(_ notification: Notification) {
guard let userInfo = notification.userInfo,
let typeValue = userInfo[AVAudioSessionInterruptionTypeKey] as? UInt,
let type = AVAudioSession.InterruptionType(rawValue: typeValue) else {
return
}
switch type {
case .began:
// Interruption began - pause the video
print("[MPV] Audio session interrupted - pausing video")
self.pause()
case .ended:
// Interruption ended - check if we should resume
if let optionsValue = userInfo[AVAudioSessionInterruptionOptionKey] as? UInt {
let options = AVAudioSession.InterruptionOptions(rawValue: optionsValue)
if options.contains(.shouldResume) {
print("[MPV] Audio session interruption ended - can resume")
// Don't auto-resume - let user manually resume playback
} else {
print("[MPV] Audio session interruption ended - should not resume")
}
}
@unknown default:
break
}
}
private func setupRemoteCommands() {
nowPlayingManager.setupRemoteCommands(
playHandler: { [weak self] in self?.play() },
pauseHandler: { [weak self] in self?.pause() },
toggleHandler: { [weak self] in
guard let self else { return }
if self.intendedPlayState { self.pause() } else { self.play() }
},
seekHandler: { [weak self] time in self?.seekTo(position: time) },
skipForward: { [weak self] interval in self?.seekBy(offset: interval) },
skipBackward: { [weak self] interval in self?.seekBy(offset: -interval) }
)
}
// MARK: - Now Playing Info
func setNowPlayingMetadata(_ metadata: [String: String]) {
print("[MPV] setNowPlayingMetadata: \(metadata["title"] ?? "nil")")
nowPlayingManager.setMetadata(
title: metadata["title"],
artist: metadata["artist"],
albumTitle: metadata["albumTitle"],
artworkUrl: metadata["artworkUri"]
)
}
private func clearNowPlayingInfo() {
nowPlayingManager.cleanupRemoteCommands()
nowPlayingManager.deactivateAudioSession()
nowPlayingManager.clear()
}
func loadVideo(config: VideoLoadConfig) { func loadVideo(config: VideoLoadConfig) {
// Skip reload if same URL is already playing // Skip reload if same URL is already playing
if currentURL == config.url { if currentURL == config.url {
@@ -149,6 +223,7 @@ class MpvPlayerView: ExpoView {
func play() { func play() {
intendedPlayState = true intendedPlayState = true
setupRemoteCommands()
renderer?.play() renderer?.play()
pipController?.setPlaybackRate(1.0) pipController?.setPlaybackRate(1.0)
pipController?.updatePlaybackState() pipController?.updatePlaybackState()
@@ -162,10 +237,17 @@ class MpvPlayerView: ExpoView {
} }
func seekTo(position: Double) { func seekTo(position: Double) {
// Update cached position and Now Playing immediately for smooth Control Center feedback
cachedPosition = position
syncNowPlaying(isPlaying: !isPaused())
renderer?.seek(to: position) renderer?.seek(to: position)
} }
func seekBy(offset: Double) { func seekBy(offset: Double) {
// Update cached position and Now Playing immediately for smooth Control Center feedback
let newPosition = max(0, min(cachedPosition + offset, cachedDuration))
cachedPosition = newPosition
syncNowPlaying(isPlaying: !isPaused())
renderer?.seek(by: offset) renderer?.seek(by: offset)
} }
@@ -292,23 +374,32 @@ class MpvPlayerView: ExpoView {
pipController?.stopPictureInPicture() pipController?.stopPictureInPicture()
renderer?.stop() renderer?.stop()
displayLayer.removeFromSuperlayer() displayLayer.removeFromSuperlayer()
clearNowPlayingInfo()
NotificationCenter.default.removeObserver(self)
} }
} }
// MARK: - MPVLayerRendererDelegate // MARK: - MPVLayerRendererDelegate
extension MpvPlayerView: MPVLayerRendererDelegate { extension MpvPlayerView: MPVLayerRendererDelegate {
// MARK: - Single location for Now Playing updates
private func syncNowPlaying(isPlaying: Bool) {
print("[MPV] syncNowPlaying: pos=\(Int(cachedPosition))s, dur=\(Int(cachedDuration))s, playing=\(isPlaying)")
nowPlayingManager.updatePlayback(position: cachedPosition, duration: cachedDuration, isPlaying: isPlaying)
}
func renderer(_: MPVLayerRenderer, didUpdatePosition position: Double, duration: Double, cacheSeconds: Double) { func renderer(_: MPVLayerRenderer, didUpdatePosition position: Double, duration: Double, cacheSeconds: Double) {
cachedPosition = position cachedPosition = position
cachedDuration = duration cachedDuration = duration
DispatchQueue.main.async { [weak self] in DispatchQueue.main.async { [weak self] in
guard let self else { return } guard let self else { return }
// Update PiP current time for progress bar
if self.pipController?.isPictureInPictureActive == true { if self.pipController?.isPictureInPictureActive == true {
self.pipController?.setCurrentTimeFromSeconds(position, duration: duration) self.pipController?.setCurrentTimeFromSeconds(position, duration: duration)
} }
self.onProgress([ self.onProgress([
"position": position, "position": position,
"duration": duration, "duration": duration,
@@ -321,12 +412,10 @@ extension MpvPlayerView: MPVLayerRendererDelegate {
func renderer(_: MPVLayerRenderer, didChangePause isPaused: Bool) { func renderer(_: MPVLayerRenderer, didChangePause isPaused: Bool) {
DispatchQueue.main.async { [weak self] in DispatchQueue.main.async { [weak self] in
guard let self else { return } guard let self else { return }
// Don't update intendedPlayState here - it's only set by user actions (play/pause)
// This prevents PiP UI flicker during seeking
// Sync timebase rate with actual playback state print("[MPV] didChangePause: isPaused=\(isPaused), cachedDuration=\(self.cachedDuration)")
self.pipController?.setPlaybackRate(isPaused ? 0.0 : 1.0) self.pipController?.setPlaybackRate(isPaused ? 0.0 : 1.0)
self.syncNowPlaying(isPlaying: !isPaused)
self.onPlaybackStateChange([ self.onPlaybackStateChange([
"isPaused": isPaused, "isPaused": isPaused,
"isPlaying": !isPaused, "isPlaying": !isPaused,
@@ -358,6 +447,13 @@ extension MpvPlayerView: MPVLayerRendererDelegate {
self.onTracksReady([:]) self.onTracksReady([:])
} }
} }
func renderer(_: MPVLayerRenderer, didSelectAudioOutput audioOutput: String) {
// Audio output is now active - this is the right time to activate audio session and set Now Playing
print("[MPV] Audio output ready (\(audioOutput)), activating audio session and syncing Now Playing")
nowPlayingManager.activateAudioSession()
syncNowPlaying(isPlaying: !isPaused())
}
} }
// MARK: - PiPControllerDelegate // MARK: - PiPControllerDelegate

View File

@@ -25,6 +25,13 @@ export type OnErrorEventPayload = {
export type OnTracksReadyEventPayload = Record<string, never>; export type OnTracksReadyEventPayload = Record<string, never>;
export type NowPlayingMetadata = {
title?: string;
artist?: string;
albumTitle?: string;
artworkUri?: string;
};
export type MpvPlayerModuleEvents = { export type MpvPlayerModuleEvents = {
onChange: (params: ChangeEventPayload) => void; onChange: (params: ChangeEventPayload) => void;
}; };
@@ -48,6 +55,8 @@ export type VideoSource = {
export type MpvPlayerViewProps = { export type MpvPlayerViewProps = {
source?: VideoSource; source?: VideoSource;
style?: StyleProp<ViewStyle>; style?: StyleProp<ViewStyle>;
/** Metadata for iOS Control Center and Lock Screen now playing info */
nowPlayingMetadata?: NowPlayingMetadata;
onLoad?: (event: { nativeEvent: OnLoadEventPayload }) => void; onLoad?: (event: { nativeEvent: OnLoadEventPayload }) => void;
onPlaybackStateChange?: (event: { onPlaybackStateChange?: (event: {
nativeEvent: OnPlaybackStateChangePayload; nativeEvent: OnPlaybackStateChangePayload;

View File

@@ -32,6 +32,12 @@ export interface MediaTimeSegment {
text: string; text: string;
} }
export interface Segment {
startTime: number;
endTime: number;
text: string;
}
/** Represents a single downloaded media item with all necessary metadata for offline playback. */ /** Represents a single downloaded media item with all necessary metadata for offline playback. */
export interface DownloadedItem { export interface DownloadedItem {
/** The Jellyfin item DTO. */ /** The Jellyfin item DTO. */
@@ -50,12 +56,6 @@ export interface DownloadedItem {
introSegments?: MediaTimeSegment[]; introSegments?: MediaTimeSegment[];
/** The credit segments for the item. */ /** The credit segments for the item. */
creditSegments?: MediaTimeSegment[]; creditSegments?: MediaTimeSegment[];
/** The recap segments for the item. */
recapSegments?: MediaTimeSegment[];
/** The commercial segments for the item. */
commercialSegments?: MediaTimeSegment[];
/** The preview segments for the item. */
previewSegments?: MediaTimeSegment[];
/** The user data for the item. */ /** The user data for the item. */
userData: UserData; userData: UserData;
} }
@@ -144,12 +144,6 @@ export type JobStatus = {
introSegments?: MediaTimeSegment[]; introSegments?: MediaTimeSegment[];
/** Pre-downloaded credit segments (optional) - downloaded before video starts */ /** Pre-downloaded credit segments (optional) - downloaded before video starts */
creditSegments?: MediaTimeSegment[]; creditSegments?: MediaTimeSegment[];
/** Pre-downloaded recap segments (optional) - downloaded before video starts */
recapSegments?: MediaTimeSegment[];
/** Pre-downloaded commercial segments (optional) - downloaded before video starts */
commercialSegments?: MediaTimeSegment[];
/** Pre-downloaded preview segments (optional) - downloaded before video starts */
previewSegments?: MediaTimeSegment[];
/** The audio stream index selected for this download */ /** The audio stream index selected for this download */
audioStreamIndex?: number; audioStreamIndex?: number;
/** The subtitle stream index selected for this download */ /** The subtitle stream index selected for this download */

View File

@@ -7,7 +7,7 @@
"username_placeholder": "Benutzername", "username_placeholder": "Benutzername",
"password_placeholder": "Passwort", "password_placeholder": "Passwort",
"login_button": "Anmelden", "login_button": "Anmelden",
"quick_connect": "Schnellverbindung", "quick_connect": "Quick Connect",
"enter_code_to_login": "Gib den Code {{code}} ein, um dich anzumelden", "enter_code_to_login": "Gib den Code {{code}} ein, um dich anzumelden",
"failed_to_initiate_quick_connect": "Fehler beim Initiieren der Schnellverbindung", "failed_to_initiate_quick_connect": "Fehler beim Initiieren der Schnellverbindung",
"got_it": "Verstanden", "got_it": "Verstanden",
@@ -30,48 +30,48 @@
"connect_button": "Verbinden", "connect_button": "Verbinden",
"previous_servers": "Vorherige Server", "previous_servers": "Vorherige Server",
"clear_button": "Löschen", "clear_button": "Löschen",
"swipe_to_remove": "Swipe to remove", "swipe_to_remove": "Wischen, um zu entfernen",
"search_for_local_servers": "Nach lokalen Servern suchen", "search_for_local_servers": "Nach lokalen Servern suchen",
"searching": "Suche...", "searching": "Suche...",
"servers": "Server", "servers": "Server",
"saved": "Saved", "saved": "Gespeichert",
"session_expired": "Session Expired", "session_expired": "Sitzung abgelaufen",
"please_login_again": "Your saved session has expired. Please log in again.", "please_login_again": "Ihre Sitzung ist abgelaufen. Bitte erneut anmelden.",
"remove_saved_login": "Remove Saved Login", "remove_saved_login": "Gespeicherte Zugangsdaten entfernen",
"remove_saved_login_description": "This will remove your saved credentials for this server. You'll need to enter your username and password again next time.", "remove_saved_login_description": "Hiermit werden ihre gespeicherten Zugangsdaten für diesen Server entfernt. Sie müssen sich dann erneut anmelden.",
"accounts_count": "{{count}} accounts", "accounts_count": "{{count}} Konten",
"select_account": "Select Account", "select_account": "Konto auswählen",
"add_account": "Add Account", "add_account": "Konto hinzufügen",
"remove_account_description": "This will remove the saved credentials for {{username}}." "remove_account_description": "Hiermit werden die gespeicherten Zugangsdaten für {{username}} entfernt."
}, },
"save_account": { "save_account": {
"title": "Save Account", "title": "Konto speichern",
"save_for_later": "Save this account", "save_for_later": "Dieses Konto speichern",
"security_option": "Security Option", "security_option": "Sicherheitseinstellung",
"no_protection": "No protection", "no_protection": "Keine",
"no_protection_desc": "Quick login without authentication", "no_protection_desc": "Schnellanmeldung ohne Authentifizierung",
"pin_code": "PIN code", "pin_code": "PIN",
"pin_code_desc": "4-digit PIN required when switching", "pin_code_desc": "4-stellige PIN bei Konto-Wechsel erforderlich",
"password": "Re-enter password", "password": "Passwort wiederholen",
"password_desc": "Password required when switching", "password_desc": "Passwort bei Konto-Wechsel erforderlich",
"save_button": "Save", "save_button": "Speichern",
"cancel_button": "Cancel" "cancel_button": "Abbrechen"
}, },
"pin": { "pin": {
"enter_pin": "Enter PIN", "enter_pin": "PIN eingeben",
"enter_pin_for": "Enter PIN for {{username}}", "enter_pin_for": "PIN für {{username}} eingeben",
"enter_4_digits": "Enter 4 digits", "enter_4_digits": "4 Ziffern eingeben",
"invalid_pin": "Invalid PIN", "invalid_pin": "Ungültige PIN",
"setup_pin": "Set Up PIN", "setup_pin": "PIN festlegen",
"confirm_pin": "Confirm PIN", "confirm_pin": "PIN bestätigen",
"pins_dont_match": "PINs don't match", "pins_dont_match": "PIN stimmt nicht überein",
"forgot_pin": "Forgot PIN?", "forgot_pin": "PIN vergessen?",
"forgot_pin_desc": "Your saved credentials will be removed" "forgot_pin_desc": "Ihre gespeicherten Zugangsdaten werden entfernt"
}, },
"password": { "password": {
"enter_password": "Enter Password", "enter_password": "Passwort eingeben",
"enter_password_for": "Enter password for {{username}}", "enter_password_for": "Passwort für {{username}} eingeben",
"invalid_password": "Invalid password" "invalid_password": "Ungültiges Passwort"
}, },
"home": { "home": {
"checking_server_connection": "Überprüfe Serververbindung...", "checking_server_connection": "Überprüfe Serververbindung...",
@@ -87,7 +87,7 @@
"error_message": "Etwas ist schiefgelaufen.\nBitte melde dich ab und wieder an.", "error_message": "Etwas ist schiefgelaufen.\nBitte melde dich ab und wieder an.",
"continue_watching": "Weiterschauen", "continue_watching": "Weiterschauen",
"next_up": "Als nächstes", "next_up": "Als nächstes",
"continue_and_next_up": "Continue & Next Up", "continue_and_next_up": "\"Weiterschauen\" und \"Als Nächstes\"",
"recently_added_in": "Kürzlich hinzugefügt in {{libraryName}}", "recently_added_in": "Kürzlich hinzugefügt in {{libraryName}}",
"suggested_movies": "Empfohlene Filme", "suggested_movies": "Empfohlene Filme",
"suggested_episodes": "Empfohlene Episoden", "suggested_episodes": "Empfohlene Episoden",
@@ -120,36 +120,36 @@
}, },
"appearance": { "appearance": {
"title": "Aussehen", "title": "Aussehen",
"merge_next_up_continue_watching": "Merge Continue Watching & Next Up", "merge_next_up_continue_watching": "\"Weiterschauen\" und \"Als Nächstes\" kombinieren",
"hide_remote_session_button": "Hide Remote Session Button" "hide_remote_session_button": "Button für Remote-Sitzung ausblenden"
}, },
"network": { "network": {
"title": "Network", "title": "Netzwerk",
"local_network": "Local Network", "local_network": "Lokales Netzwerk",
"auto_switch_enabled": "Auto-switch when at home", "auto_switch_enabled": "Zuhause automatisch wechseln",
"auto_switch_description": "Automatically switch to local URL when connected to home WiFi", "auto_switch_description": "Im WLAN Zuhause automatisch zu lokaler URL wechseln",
"local_url": "Local URL", "local_url": "Lokale URL",
"local_url_hint": "Enter your local server address (e.g., http://192.168.1.100:8096)", "local_url_hint": "Lokale Server-URL eingeben (zB. http://192.168.1.100:8096)",
"local_url_placeholder": "http://192.168.1.100:8096", "local_url_placeholder": "http://192.168.1.100:8096",
"home_wifi_networks": "Home WiFi Networks", "home_wifi_networks": "Private WLAN-Netze",
"add_current_network": "Add \"{{ssid}}\"", "add_current_network": "{{ssid}} hinzufügen",
"not_connected_to_wifi": "Not connected to WiFi", "not_connected_to_wifi": "Nicht mit WLAN verbunden",
"no_networks_configured": "No networks configured", "no_networks_configured": "Keine Netzwerke konfiguriert",
"add_network_hint": "Add your home WiFi network to enable auto-switching", "add_network_hint": "Füge dein privates WLAN-Netz hinzu um automatischen Wechsel zu aktivieren",
"current_wifi": "Current WiFi", "current_wifi": "Aktuelles WLAN-Netz",
"using_url": "Using", "using_url": "Verwendet",
"local": "Local URL", "local": "Lokale URL",
"remote": "Remote URL", "remote": "Remote URL",
"not_connected": "Not connected", "not_connected": "Nicht verbunden",
"current_server": "Current Server", "current_server": "Aktueller Server",
"remote_url": "Remote URL", "remote_url": "Remote URL",
"active_url": "Active URL", "active_url": "Aktive URL",
"not_configured": "Not configured", "not_configured": "Nicht konfiguriert",
"network_added": "Network added", "network_added": "Netzwerk hinzugefügt",
"network_already_added": "Network already added", "network_already_added": "Netzwerk bereits hinzugefügt",
"no_wifi_connected": "Not connected to WiFi", "no_wifi_connected": "Nicht mit WLAN verbunden",
"permission_denied": "Location permission denied", "permission_denied": "Standortberechtigung nicht verfügbar",
"permission_denied_explanation": "Location permission is required to detect WiFi network for auto-switching. Please enable it in Settings." "permission_denied_explanation": "Standortberechtigung ist nötig um WLAN-Netze für den automatischen Wechsel zu erkennen. Bitte in den Einstellungen aktivieren."
}, },
"user_info": { "user_info": {
"user_info_title": "Benutzerinformationen", "user_info_title": "Benutzerinformationen",
@@ -159,82 +159,82 @@
"app_version": "App-Version" "app_version": "App-Version"
}, },
"quick_connect": { "quick_connect": {
"quick_connect_title": "Schnellverbindung", "quick_connect_title": "Quick Connect",
"authorize_button": "Schnellverbindung autorisieren", "authorize_button": "Quick Connect autorisieren",
"enter_the_quick_connect_code": "Gib den Schnellverbindungscode ein...", "enter_the_quick_connect_code": "Quick Connect-Code eingeben...",
"success": "Erfolg", "success": "Erfolgreich verbunden",
"quick_connect_autorized": "Schnellverbindung autorisiert", "quick_connect_autorized": "Quick Connect autorisiert",
"error": "Fehler", "error": "Fehler",
"invalid_code": "Ungültiger Code", "invalid_code": "Ungültiger Code",
"authorize": "Autorisieren" "authorize": "Autorisieren"
}, },
"media_controls": { "media_controls": {
"media_controls_title": "Mediensteuerung", "media_controls_title": "Mediensteuerung",
"forward_skip_length": "Vorspulzeit", "forward_skip_length": "Vorspullänge",
"rewind_length": "Rückspulzeit", "rewind_length": "Rückspullänge",
"seconds_unit": "s" "seconds_unit": "s"
}, },
"gesture_controls": { "gesture_controls": {
"gesture_controls_title": "Gestensteuerung", "gesture_controls_title": "Gestensteuerung",
"horizontal_swipe_skip": "Horizontales Wischen zum Überspringen", "horizontal_swipe_skip": "Horizontal Wischen zum Überspringen",
"horizontal_swipe_skip_description": "Wische links/rechts, wenn Steuerelemente ausgeblendet werden um zu überspringen", "horizontal_swipe_skip_description": "Wische links/rechts, wenn Steuerelemente ausgeblendet sind um zu überspringen",
"left_side_brightness": "Helligkeitskontrolle der linken Seite", "left_side_brightness": "Helligkeitsregler Links",
"left_side_brightness_description": "Wischen Sie auf der linken Seite nach oben/runter, um die Helligkeit anzupassen", "left_side_brightness_description": "Links nach oben/unten wischen um Helligkeit anzupassen",
"right_side_volume": "Lautstärkeregelung der rechten Seite", "right_side_volume": "Lautstärkeregler Rechts",
"right_side_volume_description": "Auf der rechten Seite nach oben/unten wischen, um Lautstärke anzupassen", "right_side_volume_description": "Rechts nach oben/unten wischen um Lautstärke anzupassen",
"hide_volume_slider": "Hide Volume Slider", "hide_volume_slider": "Lautstärkeregler ausblenden",
"hide_volume_slider_description": "Hide the volume slider in the video player", "hide_volume_slider_description": "Lautstärkeregler im Videoplayer ausblenden",
"hide_brightness_slider": "Hide Brightness Slider", "hide_brightness_slider": "Helligkeitsregler ausblenden",
"hide_brightness_slider_description": "Hide the brightness slider in the video player" "hide_brightness_slider_description": "Helligkeitsregler im Videoplayer ausblenden"
}, },
"audio": { "audio": {
"audio_title": "Audio", "audio_title": "Audio",
"set_audio_track": "Audiospur aus dem vorherigen Element festlegen", "set_audio_track": "Audiospur aus dem vorherigen Element übernehmen",
"audio_language": "Audio-Sprache", "audio_language": "Audio-Sprache",
"audio_hint": "Wähl die Standardsprache für Audio aus.", "audio_hint": "Standardsprache für Audio auswählen.",
"none": "Keine", "none": "Keine",
"language": "Sprache", "language": "Sprache",
"transcode_mode": { "transcode_mode": {
"title": "Audio Transcoding", "title": "Audio-Transcoding",
"description": "Controls how surround audio (7.1, TrueHD, DTS-HD) is handled", "description": "Legt fest, wie Surround-Audio (7.1, TrueHD, DTS-HD) behandelt wird",
"auto": "Auto", "auto": "Auto",
"stereo": "Force Stereo", "stereo": "Stereo erzwingen",
"5_1": "Allow 5.1", "5_1": "5.1 erlauben",
"passthrough": "Passthrough" "passthrough": "Passthrough"
} }
}, },
"subtitles": { "subtitles": {
"subtitle_title": "Untertitel", "subtitle_title": "Untertitel",
"subtitle_hint": "Konfigurier die Untertitel-Präferenzen.", "subtitle_hint": "Untertitel-Erscheinungsbild und Verhalten konfigurieren.",
"subtitle_language": "Untertitel-Sprache", "subtitle_language": "Untertitel-Sprache",
"subtitle_mode": "Untertitel-Modus", "subtitle_mode": "Untertitel-Modus",
"set_subtitle_track": "Untertitel-Spur aus dem vorherigen Element festlegen", "set_subtitle_track": "Untertitel-Spur aus dem vorherigen Element übernehmen",
"subtitle_size": "Untertitel-Größe", "subtitle_size": "Untertitel-Größe",
"none": "Keine", "none": "Keine",
"language": "Sprache", "language": "Sprache",
"loading": "Lädt", "loading": "Lädt",
"modes": { "modes": {
"Default": "Standard", "Default": "Standard",
"Smart": "Intelligent", "Smart": "Smart",
"Always": "Immer", "Always": "Immer",
"None": "Keine", "None": "Keine",
"OnlyForced": "Nur erzwungen" "OnlyForced": "Nur erzwungene"
}, },
"text_color": "Textfarbe", "text_color": "Textfarbe",
"background_color": "Hintergrundfarbe", "background_color": "Hintergrundfarbe",
"outline_color": "Konturfarbe", "outline_color": "Konturfarbe",
"outline_thickness": "Umriss Dicke", "outline_thickness": "Konturdicke",
"background_opacity": "Hintergrundtransparenz", "background_opacity": "Hintergrundtransparenz",
"outline_opacity": "Kontur-Deckkraft", "outline_opacity": "Konturtransparenz",
"bold_text": "Bold Text", "bold_text": "Fettgedruckter Text",
"colors": { "colors": {
"Black": "Schwarz", "Black": "Schwarz",
"Gray": "Grau", "Gray": "Grau",
"Silver": "Silber", "Silver": "Silber",
"White": "Weiß", "White": "Weiß",
"Maroon": "Marotte", "Maroon": "Rotbraun",
"Red": "Rot", "Red": "Rot",
"Fuchsia": "Fuchsia", "Fuchsia": "Magenta",
"Yellow": "Gelb", "Yellow": "Gelb",
"Olive": "Olivgrün", "Olive": "Olivgrün",
"Green": "Grün", "Green": "Grün",
@@ -251,29 +251,29 @@
"Normal": "Normal", "Normal": "Normal",
"Thick": "Dick" "Thick": "Dick"
}, },
"subtitle_color": "Subtitle Color", "subtitle_color": "Untertitelfarbe",
"subtitle_background_color": "Background Color", "subtitle_background_color": "Hintergrundfarbe",
"subtitle_font": "Subtitle Font", "subtitle_font": "Untertitel-Schriftart",
"ksplayer_title": "KSPlayer Settings", "ksplayer_title": "KSPlayer Einstellungen",
"hardware_decode": "Hardware Decoding", "hardware_decode": "Hardware Decoding",
"hardware_decode_description": "Use hardware acceleration for video decoding. Disable if you experience playback issues." "hardware_decode_description": "Hardwarebeschleunigung für Video Decoding verwenden. Deaktivieren wenn Wiedergabeprobleme auftreten."
}, },
"vlc_subtitles": { "vlc_subtitles": {
"title": "VLC Subtitle Settings", "title": "VLC Untertitel-Einstellungen",
"hint": "Customize subtitle appearance for VLC player. Changes take effect on next playback.", "hint": "Anpassen des Untertitel-Erscheinungsbildes für VLC. Änderungen werden bei der nächsten Wiedergabe übernommen.",
"text_color": "Text Color", "text_color": "Schriftfarbe",
"background_color": "Background Color", "background_color": "Hintergrundfarbe",
"background_opacity": "Background Opacity", "background_opacity": "Hintergrundtransparenz",
"outline_color": "Outline Color", "outline_color": "Konturfarbe",
"outline_opacity": "Outline Opacity", "outline_opacity": "Konturtransparenz",
"outline_thickness": "Outline Thickness", "outline_thickness": "Konturdicke",
"bold": "Bold Text", "bold": "Fettgedruckter Text",
"margin": "Bottom Margin" "margin": "Unterer Abstand"
}, },
"video_player": { "video_player": {
"title": "Video Player", "title": "Videoplayer",
"video_player": "Video Player", "video_player": "Videoplayer",
"video_player_description": "Choose which video player to use on iOS.", "video_player_description": "Videoplayer auf iOS auswählen.",
"ksplayer": "KSPlayer", "ksplayer": "KSPlayer",
"vlc": "VLC" "vlc": "VLC"
}, },
@@ -282,7 +282,7 @@
"video_orientation": "Videoausrichtung", "video_orientation": "Videoausrichtung",
"orientation": "Ausrichtung", "orientation": "Ausrichtung",
"orientations": { "orientations": {
"DEFAULT": "Standard", "DEFAULT": "Geräteausrichtung folgen",
"ALL": "Alle", "ALL": "Alle",
"PORTRAIT": "Hochformat", "PORTRAIT": "Hochformat",
"PORTRAIT_UP": "Hochformat oben", "PORTRAIT_UP": "Hochformat oben",
@@ -294,54 +294,54 @@
"UNKNOWN": "Unbekannt" "UNKNOWN": "Unbekannt"
}, },
"safe_area_in_controls": "Sicherer Bereich in den Steuerungen", "safe_area_in_controls": "Sicherer Bereich in den Steuerungen",
"video_player": "Video player", "video_player": "Videoplayer",
"video_players": { "video_players": {
"VLC_3": "VLC 3", "VLC_3": "VLC 3",
"VLC_4": "VLC 4 (Experimentell + PiP)" "VLC_4": "VLC 4 (Experimentell + PiP)"
}, },
"show_custom_menu_links": "Benutzerdefinierte Menülinks anzeigen", "show_custom_menu_links": "Benutzerdefinierte Menülinks anzeigen",
"show_large_home_carousel": "Zeige Großes Heimkarussell (Beta)", "show_large_home_carousel": "Zeige große Startseiten-Übersicht (Beta)",
"hide_libraries": "Bibliotheken ausblenden", "hide_libraries": "Bibliotheken ausblenden",
"select_liraries_you_want_to_hide": "Wähl die Bibliotheken aus, die du im Bibliothekstab und auf der Startseite ausblenden möchtest.", "select_liraries_you_want_to_hide": "Bibliotheken auswählen die aus dem Bibliothekstab und der Startseite ausgeblendet werden sollen.",
"disable_haptic_feedback": "Haptisches Feedback deaktivieren", "disable_haptic_feedback": "Haptisches Feedback deaktivieren",
"default_quality": "Standardqualität", "default_quality": "Standardqualität",
"default_playback_speed": "Default Playback Speed", "default_playback_speed": "Standard-Wiedergabegeschwindigkeit",
"auto_play_next_episode": "Auto-play Next Episode", "auto_play_next_episode": "Automatisch nächste Episode abspielen",
"max_auto_play_episode_count": "Max. automatische Wiedergabe Episodenanzahl", "max_auto_play_episode_count": "Maximale automatisch abzuspielende Episodenanzahl",
"disabled": "Deaktiviert" "disabled": "Deaktiviert"
}, },
"downloads": { "downloads": {
"downloads_title": "Downloads" "downloads_title": "Downloads"
}, },
"music": { "music": {
"title": "Music", "title": "Musik",
"playback_title": "Playback", "playback_title": "Wiedergabe",
"playback_description": "Configure how music is played.", "playback_description": "Konfigurieren, wie Musik abgespielt wird.",
"prefer_downloaded": "Prefer Downloaded Songs", "prefer_downloaded": "Bevorzuge heruntergeladene Titel",
"caching_title": "Caching", "caching_title": "Caching",
"caching_description": "Automatically cache upcoming tracks for smoother playback.", "caching_description": "Automatisches Caching anstehender Titel für bessere Wiedergabe.",
"lookahead_enabled": "Enable Look-Ahead Caching", "lookahead_enabled": "Look-Ahead Caching aktivieren",
"lookahead_count": "Tracks to Pre-cache", "lookahead_count": "Titel vorher in den Cache laden",
"max_cache_size": "Max Cache Size" "max_cache_size": "Maximale Cache-Größe"
}, },
"plugins": { "plugins": {
"plugins_title": "Erweiterungen", "plugins_title": "Plugins",
"jellyseerr": { "jellyseerr": {
"jellyseerr_warning": "Diese integration ist in einer frühen Entwicklungsphase. Erwarte Veränderungen.", "jellyseerr_warning": "Diese Integration ist in einer frühen Entwicklungsphase und kann jederzeit geändert werden.",
"server_url": "Server Adresse", "server_url": "Server URL",
"server_url_hint": "Beispiel: http(s)://your-host.url\n(Portnummer hinzufügen, falls erforderlich)", "server_url_hint": "Beispiel: http(s)://your-host.url\n(Port hinzufügen, falls erforderlich)",
"server_url_placeholder": "Jellyseerr URL...", "server_url_placeholder": "Seerr URL",
"password": "Passwort", "password": "Passwort",
"password_placeholder": "Passwort für Jellyfin Benutzer {{username}} eingeben", "password_placeholder": "Passwort für Jellyfin Benutzer {{username}} eingeben",
"login_button": "Anmelden", "login_button": "Anmelden",
"total_media_requests": "Gesamtanfragen", "total_media_requests": "Gesamtanfragen",
"movie_quota_limit": "Film-Anfragelimit", "movie_quota_limit": "Film-Anfragelimit",
"movie_quota_days": "Film-Anfragetage", "movie_quota_days": "Film-Anfragetagelimit",
"tv_quota_limit": "TV-Anfragelimit", "tv_quota_limit": "Serien-Anfragelimit",
"tv_quota_days": "TV-Anfragetage", "tv_quota_days": "Serien-Anfragetagelimit",
"reset_jellyseerr_config_button": "Setze Jellyseerr-Konfiguration zurück", "reset_jellyseerr_config_button": "Seerr-Konfiguration zurücksetzen",
"unlimited": "Unlimitiert", "unlimited": "Unlimitiert",
"plus_n_more": "+{{n}} more", "plus_n_more": "+{{n}} weitere",
"order_by": { "order_by": {
"DEFAULT": "Standard", "DEFAULT": "Standard",
"VOTE_COUNT_AND_AVERAGE": "Stimmenanzahl und Durchschnitt", "VOTE_COUNT_AND_AVERAGE": "Stimmenanzahl und Durchschnitt",
@@ -352,71 +352,71 @@
"enable_marlin_search": "Aktiviere Marlin Search", "enable_marlin_search": "Aktiviere Marlin Search",
"url": "URL", "url": "URL",
"server_url_placeholder": "http(s)://domain.org:port", "server_url_placeholder": "http(s)://domain.org:port",
"marlin_search_hint": "Gib die URL für den Marlin Server ein. Die URL sollte http oder https enthalten und optional den Port.", "marlin_search_hint": "URL für den Marlin Server eingeben. Die URL sollte http oder https enthalten und optional den Port.",
"read_more_about_marlin": "Erfahre mehr über Marlin.", "read_more_about_marlin": "Erfahre mehr über Marlin.",
"save_button": "Speichern", "save_button": "Speichern",
"toasts": { "toasts": {
"saved": "Gespeichert", "saved": "Gespeichert",
"refreshed": "Settings refreshed from server" "refreshed": "Einstellungen vom Server aktualisiert"
}, },
"refresh_from_server": "Refresh Settings from Server" "refresh_from_server": "Einstellungen vom Server aktualisieren"
}, },
"streamystats": { "streamystats": {
"enable_streamystats": "Enable Streamystats", "enable_streamystats": "Streamystats aktivieren",
"disable_streamystats": "Disable Streamystats", "disable_streamystats": "Streamystats deaktivieren",
"enable_search": "Use for Search", "enable_search": "Zum Suchen verwenden",
"url": "URL", "url": "URL",
"server_url_placeholder": "http(s)://streamystats.example.com", "server_url_placeholder": "http(s)://streamystats.example.com",
"streamystats_search_hint": "Enter the URL for your Streamystats server. The URL should include http or https and optionally the port.", "streamystats_search_hint": "URL für den Streamystats-Server eingeben.",
"read_more_about_streamystats": "Read More About Streamystats.", "read_more_about_streamystats": "Mehr über Streamystats erfahren.",
"save_button": "Save", "save_button": "Speichern",
"save": "Save", "save": "Gespeichert",
"features_title": "Features", "features_title": "Features",
"home_sections_title": "Home Sections", "home_sections_title": "Startseitenbereiche",
"enable_movie_recommendations": "Movie Recommendations", "enable_movie_recommendations": "Filmempfehlungen",
"enable_series_recommendations": "Series Recommendations", "enable_series_recommendations": "Serienempfehlungen",
"enable_promoted_watchlists": "Promoted Watchlists", "enable_promoted_watchlists": "Empfohlene Merklisten",
"hide_watchlists_tab": "Hide Watchlists Tab", "hide_watchlists_tab": "Merklisten-Tab ausblenden",
"home_sections_hint": "Show personalized recommendations and promoted watchlists from Streamystats on the home page.", "home_sections_hint": "Zeige personalisierte Empfehlungen und empfohlene Merklisten von Streamystats auf der Startseite.",
"recommended_movies": "Recommended Movies", "recommended_movies": "Empfohlene Filme",
"recommended_series": "Recommended Series", "recommended_series": "Empfohlene Serien",
"toasts": { "toasts": {
"saved": "Saved", "saved": "Gespeichert",
"refreshed": "Settings refreshed from server", "refreshed": "Einstellungen vom Server aktualisiert",
"disabled": "Streamystats disabled" "disabled": "Streamystats deaktiviert"
}, },
"refresh_from_server": "Refresh Settings from Server" "refresh_from_server": "Einstellungen vom Server aktualisieren"
}, },
"kefinTweaks": { "kefinTweaks": {
"watchlist_enabler": "Enable our Watchlist integration", "watchlist_enabler": "Merklisten-Integration aktivieren",
"watchlist_button": "Toggle Watchlist integration" "watchlist_button": "Merklisten-Integration umschalten"
} }
}, },
"storage": { "storage": {
"storage_title": "Speicher", "storage_title": "Speicher",
"app_usage": "App {{usedSpace}}%", "app_usage": "App {{usedSpace}}%",
"device_usage": "Gerät {{availableSpace}}%", "device_usage": "Gerät {{availableSpace}}%",
"size_used": "{{used}} von {{total}} benutzt", "size_used": "{{used}} von {{total}} genutzt",
"delete_all_downloaded_files": "Alle Downloads löschen", "delete_all_downloaded_files": "Alle heruntergeladenen Dateien löschen",
"music_cache_title": "Music Cache", "music_cache_title": "Musik-Cache",
"music_cache_description": "Automatically cache songs as you listen for smoother playback and offline support", "music_cache_description": "Beim Anhören Titel automatisch in den Cache laden um bessere Wiedergabe und Offline-Wiedergabe zu ermöglichen",
"enable_music_cache": "Enable Music Cache", "enable_music_cache": "Musik-Cache aktivieren",
"clear_music_cache": "Clear Music Cache", "clear_music_cache": "Musik-Cache leeren",
"music_cache_size": "{{size}} cached", "music_cache_size": "{{size}} gechached",
"music_cache_cleared": "Music cache cleared", "music_cache_cleared": "Musik-Cache geleert",
"delete_all_downloaded_songs": "Delete All Downloaded Songs", "delete_all_downloaded_songs": "Alle heruntergeladenen Titel löschen",
"downloaded_songs_size": "{{size}} downloaded", "downloaded_songs_size": "{{size}} heruntergeladen",
"downloaded_songs_deleted": "Downloaded songs deleted" "downloaded_songs_deleted": "Heruntergeladene Titel gelöscht"
}, },
"intro": { "intro": {
"title": "Intro ", "title": "Einführung",
"show_intro": "Show intro", "show_intro": "Einführung anzeigen",
"reset_intro": "Reset intro" "reset_intro": "Einführung zurücksetzen"
}, },
"logs": { "logs": {
"logs_title": "Logs", "logs_title": "Logs",
"export_logs": "Export logs", "export_logs": "Logs exportieren",
"click_for_more_info": "Click for more info", "click_for_more_info": "Für mehr Informationen klicken",
"level": "Level", "level": "Level",
"no_logs_available": "Keine Logs verfügbar", "no_logs_available": "Keine Logs verfügbar",
"delete_all_logs": "Alle Logs löschen" "delete_all_logs": "Alle Logs löschen"
@@ -438,21 +438,21 @@
}, },
"downloads": { "downloads": {
"downloads_title": "Downloads", "downloads_title": "Downloads",
"tvseries": "TV-Serien", "tvseries": "Serien",
"movies": "Filme", "movies": "Filme",
"queue": "Warteschlange", "queue": "Warteschlange",
"other_media": "Andere Medien", "other_media": "Andere Medien",
"queue_hint": "Warteschlange und aktive Downloads gehen verloren bei App-Neustart", "queue_hint": "Warteschlange und aktive Downloads gehen verloren wenn die App neu gestartet wird",
"no_items_in_queue": "Keine Elemente in der Warteschlange", "no_items_in_queue": "Keine Elemente in der Warteschlange",
"no_downloaded_items": "Keine heruntergeladenen Elemente", "no_downloaded_items": "Keine heruntergeladenen Elemente",
"delete_all_movies_button": "Alle Filme löschen", "delete_all_movies_button": "Alle Filme löschen",
"delete_all_tvseries_button": "Alle TV-Serien löschen", "delete_all_tvseries_button": "Alle Serien löschen",
"delete_all_button": "Alles löschen", "delete_all_button": "Alles löschen",
"delete_all_other_media_button": "Andere Medien löschen", "delete_all_other_media_button": "Alle anderen Medien löschen",
"active_download": "Aktiver Download", "active_download": "Aktiver Download",
"no_active_downloads": "Keine aktiven Downloads", "no_active_downloads": "Keine aktiven Downloads",
"active_downloads": "Aktive Downloads", "active_downloads": "Aktive Downloads",
"new_app_version_requires_re_download": "Die neue App-Version erfordert das erneute Herunterladen.", "new_app_version_requires_re_download": "Neue App-Version erfordert erneutes Herunterladen",
"new_app_version_requires_re_download_description": "Die neue App-Version erfordert das erneute Herunterladen von Filmen und Serien. Bitte lösche alle heruntergeladenen Elemente und starte den Download erneut.", "new_app_version_requires_re_download_description": "Die neue App-Version erfordert das erneute Herunterladen von Filmen und Serien. Bitte lösche alle heruntergeladenen Elemente und starte den Download erneut.",
"back": "Zurück", "back": "Zurück",
"delete": "Löschen", "delete": "Löschen",
@@ -463,8 +463,8 @@
"you_are_not_allowed_to_download_files": "Du hast keine Berechtigung, Dateien herunterzuladen", "you_are_not_allowed_to_download_files": "Du hast keine Berechtigung, Dateien herunterzuladen",
"deleted_all_movies_successfully": "Alle Filme erfolgreich gelöscht!", "deleted_all_movies_successfully": "Alle Filme erfolgreich gelöscht!",
"failed_to_delete_all_movies": "Fehler beim Löschen aller Filme", "failed_to_delete_all_movies": "Fehler beim Löschen aller Filme",
"deleted_all_tvseries_successfully": "Alle TV-Serien erfolgreich gelöscht!", "deleted_all_tvseries_successfully": "Alle Serien erfolgreich gelöscht!",
"failed_to_delete_all_tvseries": "Fehler beim Löschen aller TV-Serien", "failed_to_delete_all_tvseries": "Fehler beim Löschen aller Serien",
"deleted_media_successfully": "Andere Medien erfolgreich gelöscht!", "deleted_media_successfully": "Andere Medien erfolgreich gelöscht!",
"failed_to_delete_media": "Fehler beim Löschen anderer Medien", "failed_to_delete_media": "Fehler beim Löschen anderer Medien",
"download_deleted": "Download gelöscht", "download_deleted": "Download gelöscht",
@@ -486,7 +486,7 @@
"all_files_folders_and_jobs_deleted_successfully": "Alle Dateien, Ordner und Jobs erfolgreich gelöscht", "all_files_folders_and_jobs_deleted_successfully": "Alle Dateien, Ordner und Jobs erfolgreich gelöscht",
"failed_to_clean_cache_directory": "Fehler beim Bereinigen des Cache-Verzeichnisses", "failed_to_clean_cache_directory": "Fehler beim Bereinigen des Cache-Verzeichnisses",
"could_not_get_download_url_for_item": "Download-URL für {{itemName}} konnte nicht geladen werden", "could_not_get_download_url_for_item": "Download-URL für {{itemName}} konnte nicht geladen werden",
"go_to_downloads": "Gehe zu den Downloads", "go_to_downloads": "Zu Downloads gehen",
"file_deleted": "{{item}} gelöscht" "file_deleted": "{{item}} gelöscht"
} }
} }
@@ -499,18 +499,18 @@
"subtitle": "Untertitel", "subtitle": "Untertitel",
"play": "Abspielen", "play": "Abspielen",
"none": "Keine", "none": "Keine",
"track": "Track", "track": "Spur",
"cancel": "Cancel", "cancel": "Abbrechen",
"delete": "Delete", "delete": "Löschen",
"ok": "OK", "ok": "OK",
"remove": "Remove", "remove": "Entfernen",
"next": "Next", "next": "Weiter",
"back": "Back", "back": "Zurück",
"continue": "Continue", "continue": "Fortsetzen",
"verifying": "Verifying..." "verifying": "Verifiziere..."
}, },
"search": { "search": {
"search": "Suche...", "search": "Suchen...",
"x_items": "{{count}} Elemente", "x_items": "{{count}} Elemente",
"library": "Bibliothek", "library": "Bibliothek",
"discover": "Entdecken", "discover": "Entdecken",
@@ -521,33 +521,33 @@
"episodes": "Episoden", "episodes": "Episoden",
"collections": "Sammlungen", "collections": "Sammlungen",
"actors": "Schauspieler", "actors": "Schauspieler",
"artists": "Artists", "artists": "Künstler",
"albums": "Albums", "albums": "Alben",
"songs": "Songs", "songs": "Titel",
"playlists": "Playlists", "playlists": "Playlists",
"request_movies": "Film anfragen", "request_movies": "Film anfragen",
"request_series": "Serie anfragen", "request_series": "Serie anfragen",
"recently_added": "Kürzlich hinzugefügt", "recently_added": "Kürzlich hinzugefügt",
"recent_requests": "Kürzlich angefragt", "recent_requests": "Kürzlich angefragt",
"plex_watchlist": "Plex Watchlist", "plex_watchlist": "Plex Merkliste",
"trending": "In den Trends", "trending": "Beliebt",
"popular_movies": "Beliebte Filme", "popular_movies": "Beliebte Filme",
"movie_genres": "Film-Genres", "movie_genres": "Film-Genres",
"upcoming_movies": "Kommende Filme", "upcoming_movies": "Kommende Filme",
"studios": "Studios", "studios": "Studios",
"popular_tv": "Beliebte TV-Serien", "popular_tv": "Beliebte Serien",
"tv_genres": "TV-Serien-Genres", "tv_genres": "Serien-Genres",
"upcoming_tv": "Kommende TV-Serien", "upcoming_tv": "Kommende Serien",
"networks": "Netzwerke", "networks": "Sender",
"tmdb_movie_keyword": "TMDB Film-Schlüsselwort", "tmdb_movie_keyword": "TMDB Film-Schlüsselwort",
"tmdb_movie_genre": "TMDB Film-Genre", "tmdb_movie_genre": "TMDB Film-Genre",
"tmdb_tv_keyword": "TMDB TV-Serien-Schlüsselwort", "tmdb_tv_keyword": "TMDB Serien-Schlüsselwort",
"tmdb_tv_genre": "TMDB TV-Serien-Genre", "tmdb_tv_genre": "TMDB Serien-Genre",
"tmdb_search": "TMDB Suche", "tmdb_search": "TMDB Suche",
"tmdb_studio": "TMDB Studio", "tmdb_studio": "TMDB Studio",
"tmdb_network": "TMDB Netzwerk", "tmdb_network": "TMDB Netzwerk",
"tmdb_movie_streaming_services": "TMDB Film-Streaming-Dienste", "tmdb_movie_streaming_services": "TMDB Film-Streaming-Dienste",
"tmdb_tv_streaming_services": "TMDB TV-Serien-Streaming-Dienste" "tmdb_tv_streaming_services": "TMDB Serien-Streaming-Dienste"
}, },
"library": { "library": {
"no_results": "Keine Ergebnisse", "no_results": "Keine Ergebnisse",
@@ -572,7 +572,7 @@
"genres": "Genres", "genres": "Genres",
"years": "Jahre", "years": "Jahre",
"sort_by": "Sortieren nach", "sort_by": "Sortieren nach",
"filter_by": "Filter By", "filter_by": "Filtern nach",
"sort_order": "Sortierreihenfolge", "sort_order": "Sortierreihenfolge",
"tags": "Tags" "tags": "Tags"
} }
@@ -585,7 +585,7 @@
"boxsets": "Boxsets", "boxsets": "Boxsets",
"playlists": "Wiedergabelisten", "playlists": "Wiedergabelisten",
"noDataTitle": "Noch keine Favoriten", "noDataTitle": "Noch keine Favoriten",
"noData": "Markiere Elemente als Favoriten, damit sie hier für einen schnellen Zugriff angezeigt werden." "noData": "Elemente als Favoriten markieren, um sie hier anzuzeigen."
}, },
"custom_links": { "custom_links": {
"no_links": "Keine Links" "no_links": "Keine Links"
@@ -593,7 +593,7 @@
"player": { "player": {
"error": "Fehler", "error": "Fehler",
"failed_to_get_stream_url": "Fehler beim Abrufen der Stream-URL", "failed_to_get_stream_url": "Fehler beim Abrufen der Stream-URL",
"an_error_occured_while_playing_the_video": "Ein Fehler ist beim Abspielen des Videos aufgetreten. Überprüf die Logs in den Einstellungen.", "an_error_occured_while_playing_the_video": "Ein Fehler ist beim Abspielen des Videos aufgetreten. Logs in den Einstellungen überprüfen.",
"client_error": "Client-Fehler", "client_error": "Client-Fehler",
"could_not_create_stream_for_chromecast": "Konnte keinen Stream für Chromecast erstellen", "could_not_create_stream_for_chromecast": "Konnte keinen Stream für Chromecast erstellen",
"message_from_server": "Nachricht vom Server: {{message}}", "message_from_server": "Nachricht vom Server: {{message}}",
@@ -602,17 +602,17 @@
"audio_tracks": "Audiospuren:", "audio_tracks": "Audiospuren:",
"playback_state": "Wiedergabestatus:", "playback_state": "Wiedergabestatus:",
"index": "Index:", "index": "Index:",
"continue_watching": "Weiterschauen", "continue_watching": "Fortsetzen",
"go_back": "Zurück", "go_back": "Zurück",
"downloaded_file_title": "Diese Datei wurde heruntergeladen", "downloaded_file_title": "Diese Datei wurde bereits heruntergeladen",
"downloaded_file_message": "Möchten Sie die heruntergeladene Datei abspielen?", "downloaded_file_message": "Heruntergeladene Datei abspielen?",
"downloaded_file_yes": "Ja", "downloaded_file_yes": "Ja",
"downloaded_file_no": "Nein", "downloaded_file_no": "Nein",
"downloaded_file_cancel": "Abbrechen" "downloaded_file_cancel": "Abbrechen"
}, },
"item_card": { "item_card": {
"next_up": "Als Nächstes", "next_up": "Als Nächstes",
"no_items_to_display": "Keine Elemente zum Anzeigen", "no_items_to_display": "Keine Elemente",
"cast_and_crew": "Besetzung und Crew", "cast_and_crew": "Besetzung und Crew",
"series": "Serien", "series": "Serien",
"seasons": "Staffeln", "seasons": "Staffeln",
@@ -630,7 +630,7 @@
"subtitles": "Untertitel", "subtitles": "Untertitel",
"show_more": "Mehr anzeigen", "show_more": "Mehr anzeigen",
"show_less": "Weniger anzeigen", "show_less": "Weniger anzeigen",
"appeared_in": "Erschienen in", "appeared_in": "Erschien in",
"could_not_load_item": "Konnte Element nicht laden", "could_not_load_item": "Konnte Element nicht laden",
"none": "Keine", "none": "Keine",
"download": { "download": {
@@ -639,13 +639,13 @@
"download_episode": "Episode herunterladen", "download_episode": "Episode herunterladen",
"download_movie": "Film herunterladen", "download_movie": "Film herunterladen",
"download_x_item": "{{item_count}} Elemente herunterladen", "download_x_item": "{{item_count}} Elemente herunterladen",
"download_unwatched_only": "Nur unbeobachtete", "download_unwatched_only": "Nur Ungesehene",
"download_button": "Herunterladen" "download_button": "Herunterladen"
} }
}, },
"live_tv": { "live_tv": {
"next": "Nächster", "next": "Nächste",
"previous": "Vorheriger", "previous": "Vorherige",
"coming_soon": "Demnächst", "coming_soon": "Demnächst",
"on_now": "Jetzt", "on_now": "Jetzt",
"shows": "Serien", "shows": "Serien",
@@ -658,10 +658,10 @@
"confirm": "Bestätigen", "confirm": "Bestätigen",
"cancel": "Abbrechen", "cancel": "Abbrechen",
"yes": "Ja", "yes": "Ja",
"whats_wrong": "Hast du Probleme?", "whats_wrong": "Was stimmt nicht?",
"issue_type": "Fehlerart", "issue_type": "Art des Problems",
"select_an_issue": "Wähle einen Fehlerart aus", "select_an_issue": "Wähle die Art des Problems aus",
"types": "Arten", "types": "Problem-Arten",
"describe_the_issue": "(optional) Beschreibe das Problem", "describe_the_issue": "(optional) Beschreibe das Problem",
"submit_button": "Absenden", "submit_button": "Absenden",
"report_issue_button": "Fehler melden", "report_issue_button": "Fehler melden",
@@ -671,7 +671,7 @@
"cast": "Besetzung", "cast": "Besetzung",
"details": "Details", "details": "Details",
"status": "Status", "status": "Status",
"original_title": "Original Titel", "original_title": "Originaltitel",
"series_type": "Serien Typ", "series_type": "Serien Typ",
"release_dates": "Veröffentlichungsdaten", "release_dates": "Veröffentlichungsdaten",
"first_air_date": "Erstausstrahlungsdatum", "first_air_date": "Erstausstrahlungsdatum",
@@ -687,10 +687,10 @@
"request_as": "Anfragen als", "request_as": "Anfragen als",
"tags": "Tags", "tags": "Tags",
"quality_profile": "Qualitätsprofil", "quality_profile": "Qualitätsprofil",
"root_folder": "Root-Ordner", "root_folder": "Stammverzeichnis",
"season_all": "Season (all)", "season_all": "Staffeln (alle)",
"season_number": "Staffel {{season_number}}", "season_number": "Staffel {{season_number}}",
"number_episodes": "{{episode_number}} Folgen", "number_episodes": "{{episode_number}} Episoden",
"born": "Geboren", "born": "Geboren",
"appearances": "Auftritte", "appearances": "Auftritte",
"approve": "Genehmigen", "approve": "Genehmigen",
@@ -698,9 +698,9 @@
"requested_by": "Angefragt von {{user}}", "requested_by": "Angefragt von {{user}}",
"unknown_user": "Unbekannter Nutzer", "unknown_user": "Unbekannter Nutzer",
"toasts": { "toasts": {
"jellyseer_does_not_meet_requirements": "Jellyseerr Server erfüllt nicht die Anforderungsversion. Bitte aktualisiere deinen Jellyseerr Server auf mindestens 2.0.0", "jellyseer_does_not_meet_requirements": "Seerr-Server erfüllt nicht die minimalen Versionsanforderungen. Bitte den Seerr-Server auf mindestens 2.0.0 aktualisieren.",
"jellyseerr_test_failed": "Jellyseerr-Test fehlgeschlagen. Bitte versuche es erneut.", "jellyseerr_test_failed": "Seerr-Test fehlgeschlagen. Bitte erneut versuchen.",
"failed_to_test_jellyseerr_server_url": "Fehler beim Testen der Jellyseerr-Server-URL", "failed_to_test_jellyseerr_server_url": "Fehler beim Test der Seerr-Server-URL",
"issue_submitted": "Problem eingereicht!", "issue_submitted": "Problem eingereicht!",
"requested_item": "{{item}} angefragt!", "requested_item": "{{item}} angefragt!",
"you_dont_have_permission_to_request": "Du hast keine Berechtigung Anfragen zu stellen", "you_dont_have_permission_to_request": "Du hast keine Berechtigung Anfragen zu stellen",
@@ -715,131 +715,131 @@
"home": "Startseite", "home": "Startseite",
"search": "Suche", "search": "Suche",
"library": "Bibliothek", "library": "Bibliothek",
"custom_links": "Benutzerdefinierte Links", "custom_links": "Links",
"favorites": "Favoriten" "favorites": "Favoriten"
}, },
"music": { "music": {
"title": "Music", "title": "Musik",
"tabs": { "tabs": {
"suggestions": "Suggestions", "suggestions": "Vorschläge",
"albums": "Albums", "albums": "Alben",
"artists": "Artists", "artists": "Künstler",
"playlists": "Playlists", "playlists": "Playlists",
"tracks": "tracks" "tracks": "Titel"
}, },
"filters": { "filters": {
"all": "All" "all": "Alle"
}, },
"recently_added": "Recently Added", "recently_added": "Kürzlich hinzugefügt",
"recently_played": "Recently Played", "recently_played": "Vor kurzem gehört",
"frequently_played": "Frequently Played", "frequently_played": "Oft gehört",
"explore": "Explore", "explore": "Entdecken",
"top_tracks": "Top Tracks", "top_tracks": "Top-Titel",
"play": "Play", "play": "Abspielen",
"shuffle": "Shuffle", "shuffle": "Shuffle",
"play_top_tracks": "Play Top Tracks", "play_top_tracks": "Top-Tracks abspielen",
"no_suggestions": "No suggestions available", "no_suggestions": "Keine Vorschläge verfügbar",
"no_albums": "No albums found", "no_albums": "Keine Alben gefunden",
"no_artists": "No artists found", "no_artists": "Keine Künstler gefunden",
"no_playlists": "No playlists found", "no_playlists": "Keine Playlists gefunden",
"album_not_found": "Album not found", "album_not_found": "Album nicht gefunden",
"artist_not_found": "Artist not found", "artist_not_found": "Künstler nicht gefunden",
"playlist_not_found": "Playlist not found", "playlist_not_found": "Playlist nicht gefunden",
"track_options": { "track_options": {
"play_next": "Play Next", "play_next": "Als Nächstes wiedergeben",
"add_to_queue": "Add to Queue", "add_to_queue": "Zur Warteschlange hinzufügen",
"add_to_playlist": "Add to Playlist", "add_to_playlist": "Zur Playlist hinzufügen",
"download": "Download", "download": "Herunterladen",
"downloaded": "Downloaded", "downloaded": "Heruntergeladen",
"downloading": "Downloading...", "downloading": "Wird heruntergeladen...",
"cached": "Cached", "cached": "Gecached",
"delete_download": "Delete Download", "delete_download": "Download löschen",
"delete_cache": "Remove from Cache", "delete_cache": "Aus dem Cache löschen",
"go_to_artist": "Go to Artist", "go_to_artist": "Zum Künstler gehen",
"go_to_album": "Go to Album", "go_to_album": "Zum Album gehen",
"add_to_favorites": "Add to Favorites", "add_to_favorites": "Zu Favoriten hinzufügen",
"remove_from_favorites": "Remove from Favorites", "remove_from_favorites": "Aus Favoriten entfernen",
"remove_from_playlist": "Remove from Playlist" "remove_from_playlist": "Aus Playlist entfernen"
}, },
"playlists": { "playlists": {
"create_playlist": "Create Playlist", "create_playlist": "Playlist erstellen",
"playlist_name": "Playlist Name", "playlist_name": "Playlist Name",
"enter_name": "Enter playlist name", "enter_name": "Playlist Name eingeben",
"create": "Create", "create": "Erstellen",
"search_playlists": "Search playlists...", "search_playlists": "Playlisten durchsuchen...",
"added_to": "Added to {{name}}", "added_to": "Zu {{name}} hinzugefügt",
"added": "Added to playlist", "added": "Zur Playlist hinzugefügt",
"removed_from": "Removed from {{name}}", "removed_from": "Aus {{name}} entfernt",
"removed": "Removed from playlist", "removed": "Aus Playlist entfernt",
"created": "Playlist created", "created": "Playlist erstellt",
"create_new": "Create New Playlist", "create_new": "Neue Playlist erstellen",
"failed_to_add": "Failed to add to playlist", "failed_to_add": "Fehler beim Hinzufügen zur Playlist",
"failed_to_remove": "Failed to remove from playlist", "failed_to_remove": "Fehler beim Entfernen aus der Playlist",
"failed_to_create": "Failed to create playlist", "failed_to_create": "Fehler beim Erstellen der Playlist",
"delete_playlist": "Delete Playlist", "delete_playlist": "Playlist löschen",
"delete_confirm": "Are you sure you want to delete \"{{name}}\"? This action cannot be undone.", "delete_confirm": "Bist Du sicher, dass Du \"{{name}}\" löschen möchtest? Das kann nicht rückgängig gemacht werden.",
"deleted": "Playlist deleted", "deleted": "Playlist gelöscht",
"failed_to_delete": "Failed to delete playlist" "failed_to_delete": "Fehler beim Löschen der Playlist"
}, },
"sort": { "sort": {
"title": "Sort By", "title": "Sortieren nach",
"alphabetical": "Alphabetical", "alphabetical": "Alphabetisch",
"date_created": "Date Created" "date_created": "Erstellungsdatum"
} }
}, },
"watchlists": { "watchlists": {
"title": "Watchlists", "title": "Merklisten",
"my_watchlists": "My Watchlists", "my_watchlists": "Meine Merklisten",
"public_watchlists": "Public Watchlists", "public_watchlists": "Öffentliche Merklisten",
"create_title": "Create Watchlist", "create_title": "Merkliste erstellen",
"edit_title": "Edit Watchlist", "edit_title": "Merkliste bearbeiten",
"create_button": "Create Watchlist", "create_button": "Merkliste erstellen",
"save_button": "Save Changes", "save_button": "Änderungen speichern",
"delete_button": "Delete", "delete_button": "Löschen",
"remove_button": "Remove", "remove_button": "Entfernen",
"cancel_button": "Cancel", "cancel_button": "Abbrechen",
"name_label": "Name", "name_label": "Name",
"name_placeholder": "Enter watchlist name", "name_placeholder": "Merklistenname eingeben",
"description_label": "Description", "description_label": "Beschreibung",
"description_placeholder": "Enter description (optional)", "description_placeholder": "Beschreibung eingeben (optional)",
"is_public_label": "Public Watchlist", "is_public_label": "Öffentliche Merkliste",
"is_public_description": "Allow others to view this watchlist", "is_public_description": "Anderen erlauben diese Merkliste anzusehen",
"allowed_type_label": "Content Type", "allowed_type_label": "Inhaltstyp",
"sort_order_label": "Default Sort Order", "sort_order_label": "Standard-Sortierreihenfolge",
"empty_title": "No Watchlists", "empty_title": "Keine Merklisten",
"empty_description": "Create your first watchlist to start organizing your media", "empty_description": "Erstelle deine erste Merkliste um deine Medien zu organisieren",
"empty_watchlist": "This watchlist is empty", "empty_watchlist": "Diese Merkliste ist leer",
"empty_watchlist_hint": "Add items from your library to this watchlist", "empty_watchlist_hint": "Füge Elemente aus deiner Bibliothek zu dieser Merkliste hinzu",
"not_configured_title": "Streamystats Not Configured", "not_configured_title": "Streamystats nicht konfiguriert",
"not_configured_description": "Configure Streamystats in settings to use watchlists", "not_configured_description": "Streamystats in den Einstellungen konfigurieren, um Merklisten zu verwenden",
"go_to_settings": "Go to Settings", "go_to_settings": "Gehe zu Einstellungen",
"add_to_watchlist": "Add to Watchlist", "add_to_watchlist": "Zur Merkliste hinzufügen",
"remove_from_watchlist": "Remove from Watchlist", "remove_from_watchlist": "Von Merkliste entfernen",
"select_watchlist": "Select Watchlist", "select_watchlist": "Merkliste auswählen",
"create_new": "Create New Watchlist", "create_new": "Neue Merkliste erstellen",
"item": "item", "item": "Element",
"items": "items", "items": "Elemente",
"public": "Public", "public": "Öffentlich",
"private": "Private", "private": "Privat",
"you": "You", "you": "Du",
"by_owner": "By another user", "by_owner": "Von einem anderen Benutzer",
"not_found": "Watchlist not found", "not_found": "Merkliste nicht gefunden",
"delete_confirm_title": "Delete Watchlist", "delete_confirm_title": "Merkliste löschen",
"delete_confirm_message": "Are you sure you want to delete \"{{name}}\"? This action cannot be undone.", "delete_confirm_message": "Bist Du sicher, dass Du \"{{name}}\" löschen möchtest? Das kann nicht rückgängig gemacht werden.",
"remove_item_title": "Remove from Watchlist", "remove_item_title": "Von Merkliste entfernen",
"remove_item_message": "Remove \"{{name}}\" from this watchlist?", "remove_item_message": "\"{{name}}\" von dieser Merkliste entfernen?",
"loading": "Loading watchlists...", "loading": "Lade Merklisten...",
"no_compatible_watchlists": "No compatible watchlists", "no_compatible_watchlists": "Keine kompatiblen Merklisten",
"create_one_first": "Create a watchlist that accepts this content type" "create_one_first": "Erstelle eine Merkliste, welche diesen Inhaltstyp akzeptiert"
}, },
"playback_speed": { "playback_speed": {
"title": "Playback Speed", "title": "Wiedergabegeschwindigkeit",
"apply_to": "Apply To", "apply_to": "Anwenden auf",
"speed": "Speed", "speed": "Geschwindigkeit",
"scope": { "scope": {
"media": "This media only", "media": "Nur hier",
"show": "This show", "show": "Nur diese Serie",
"all": "All media (default)" "all": "Alle (Standard)"
} }
} }
} }

View File

@@ -24,82 +24,6 @@
"too_old_server_text": "Unsupported Jellyfin Server Discovered", "too_old_server_text": "Unsupported Jellyfin Server Discovered",
"too_old_server_description": "Please update Jellyfin to the latest version" "too_old_server_description": "Please update Jellyfin to the latest version"
}, },
"player": {
"skip_intro": "Skip Intro",
"skip_outro": "Skip Outro",
"skip_recap": "Skip Recap",
"skip_commercial": "Skip Commercial",
"skip_preview": "Skip Preview",
"error": "Error",
"failed_to_get_stream_url": "Failed to get the stream URL",
"an_error_occurred_while_playing_the_video": "An error occurred while playing the video. Check logs in settings.",
"client_error": "Client Error",
"could_not_create_stream_for_chromecast": "Could not create a stream for Chromecast",
"message_from_server": "Message from Server: {{message}}",
"next_episode": "Next Episode",
"refresh_tracks": "Refresh Tracks",
"audio_tracks": "Audio Tracks:",
"playback_state": "Playback State:",
"index": "Index:",
"continue_watching": "Continue Watching",
"go_back": "Go Back",
"downloaded_file_title": "You have this file downloaded",
"downloaded_file_message": "Do you want to play the downloaded file?",
"downloaded_file_yes": "Yes",
"downloaded_file_no": "No",
"downloaded_file_cancel": "Cancel"
},
"casting_player": {
"buffering": "Buffering...",
"changing_audio": "Changing audio...",
"changing_subtitles": "Changing subtitles...",
"season_episode_format": "Season {{season}} • Episode {{episode}}",
"connecting": "Connecting to Chromecast...",
"unknown_device": "Unknown Device",
"ending_at": "Ending at {{time}}",
"unknown": "Unknown",
"connected": "Connected",
"volume": "Volume",
"muted": "Muted",
"disconnect": "Disconnect",
"stop_casting": "Stop Casting",
"disconnecting": "Disconnecting...",
"chromecast": "Chromecast",
"device_name": "Device Name",
"playback_settings": "Playback Settings",
"quality": "Quality",
"audio": "Audio",
"subtitles": "Subtitles",
"none": "None",
"playback_speed": "Playback Speed",
"normal": "Normal",
"episodes": "Episodes",
"season": "Season {{number}}",
"minutes_short": "min",
"episode_label": "Episode {{number}}",
"forced": "Forced",
"device": "Device",
"cancel": "Cancel",
"connection_quality": {
"excellent": "Excellent",
"good": "Good",
"fair": "Fair",
"poor": "Poor",
"disconnected": "Disconnected"
},
"error_title": "Chromecast Error",
"error_description": "Something went wrong with the cast session",
"retry": "Try Again",
"critical_error_title": "Multiple Errors Detected",
"critical_error_description": "Chromecast encountered multiple errors. Please disconnect and try casting again.",
"track_changed": "Track changed successfully",
"audio_track_changed": "Audio track changed",
"subtitle_track_changed": "Subtitle track changed",
"seeking": "Seeking...",
"seeking_error": "Failed to seek",
"load_failed": "Failed to load media",
"load_retry": "Retrying media load..."
},
"server": { "server": {
"enter_url_to_jellyfin_server": "Enter the URL to your Jellyfin server", "enter_url_to_jellyfin_server": "Enter the URL to your Jellyfin server",
"server_url_placeholder": "http(s)://your-server.com", "server_url_placeholder": "http(s)://your-server.com",
@@ -384,21 +308,6 @@
"default_playback_speed": "Default Playback Speed", "default_playback_speed": "Default Playback Speed",
"auto_play_next_episode": "Auto-play Next Episode", "auto_play_next_episode": "Auto-play Next Episode",
"max_auto_play_episode_count": "Max Auto Play Episode Count", "max_auto_play_episode_count": "Max Auto Play Episode Count",
"segment_skip_settings": "Segment Skip Settings",
"segment_skip_settings_description": "Configure skip behavior for intros, credits, and other segments",
"skip_intro": "Skip Intro",
"skip_intro_description": "Action when intro segment is detected",
"skip_outro": "Skip Outro/Credits",
"skip_outro_description": "Action when outro/credits segment is detected",
"skip_recap": "Skip Recap",
"skip_recap_description": "Action when recap segment is detected",
"skip_commercial": "Skip Commercial",
"skip_commercial_description": "Action when commercial segment is detected",
"skip_preview": "Skip Preview",
"skip_preview_description": "Action when preview segment is detected",
"segment_skip_none": "None",
"segment_skip_ask": "Show Skip Button",
"segment_skip_auto": "Auto Skip",
"disabled": "Disabled" "disabled": "Disabled"
}, },
"downloads": { "downloads": {
@@ -681,6 +590,26 @@
"custom_links": { "custom_links": {
"no_links": "No Links" "no_links": "No Links"
}, },
"player": {
"error": "Error",
"failed_to_get_stream_url": "Failed to get the stream URL",
"an_error_occured_while_playing_the_video": "An error occurred while playing the video. Check logs in settings.",
"client_error": "Client Error",
"could_not_create_stream_for_chromecast": "Could not create a stream for Chromecast",
"message_from_server": "Message from Server: {{message}}",
"next_episode": "Next Episode",
"refresh_tracks": "Refresh Tracks",
"audio_tracks": "Audio Tracks:",
"playback_state": "Playback State:",
"index": "Index:",
"continue_watching": "Continue Watching",
"go_back": "Go Back",
"downloaded_file_title": "You have this file downloaded",
"downloaded_file_message": "Do you want to play the downloaded file?",
"downloaded_file_yes": "Yes",
"downloaded_file_no": "No",
"downloaded_file_cancel": "Cancel"
},
"item_card": { "item_card": {
"next_up": "Next Up", "next_up": "Next Up",
"no_items_to_display": "No Items to Display", "no_items_to_display": "No Items to Display",

View File

@@ -39,39 +39,39 @@
"please_login_again": "Su sesión guardada ha caducado. Por favor, inicie sesión de nuevo.", "please_login_again": "Su sesión guardada ha caducado. Por favor, inicie sesión de nuevo.",
"remove_saved_login": "Eliminar inicio de sesión guardado", "remove_saved_login": "Eliminar inicio de sesión guardado",
"remove_saved_login_description": "Esto eliminará tus credenciales guardadas para este servidor. Tendrás que volver a introducir tu nombre de usuario y contraseña la próxima vez.", "remove_saved_login_description": "Esto eliminará tus credenciales guardadas para este servidor. Tendrás que volver a introducir tu nombre de usuario y contraseña la próxima vez.",
"accounts_count": "{{count}} accounts", "accounts_count": "{{count}} cuentas",
"select_account": "Select Account", "select_account": "Seleccione una cuenta",
"add_account": "Add Account", "add_account": "Añadir cuenta",
"remove_account_description": "This will remove the saved credentials for {{username}}." "remove_account_description": "Esto eliminará las credenciales guardadas para {{username}}."
}, },
"save_account": { "save_account": {
"title": "Save Account", "title": "Guardar Cuenta",
"save_for_later": "Save this account", "save_for_later": "Guardar esta cuenta",
"security_option": "Security Option", "security_option": "Opciones de seguridad",
"no_protection": "No protection", "no_protection": "Sin Protección",
"no_protection_desc": "Quick login without authentication", "no_protection_desc": "Inicio de sesión rápido sin autenticación",
"pin_code": "PIN code", "pin_code": "Código PIN",
"pin_code_desc": "4-digit PIN required when switching", "pin_code_desc": "PIN de 4 dígitos requerido al cambiar",
"password": "Re-enter password", "password": "Vuelva a introducir la contraseña",
"password_desc": "Password required when switching", "password_desc": "Contraseña requerida al cambiar",
"save_button": "Save", "save_button": "Guardar",
"cancel_button": "Cancel" "cancel_button": "Cancelar"
}, },
"pin": { "pin": {
"enter_pin": "Enter PIN", "enter_pin": "Introduce el PIN",
"enter_pin_for": "Enter PIN for {{username}}", "enter_pin_for": "Introduzca el PIN para {{username}}",
"enter_4_digits": "Enter 4 digits", "enter_4_digits": "Introduce 4 dígitos",
"invalid_pin": "Invalid PIN", "invalid_pin": "PIN inválido",
"setup_pin": "Set Up PIN", "setup_pin": "Configurar PIN",
"confirm_pin": "Confirm PIN", "confirm_pin": "Confirmar PIN",
"pins_dont_match": "PINs don't match", "pins_dont_match": "Los códigos PIN no coinciden",
"forgot_pin": "Forgot PIN?", "forgot_pin": "¿Olvidó el PIN?",
"forgot_pin_desc": "Your saved credentials will be removed" "forgot_pin_desc": "Sus credenciales guardadas serán eliminadas"
}, },
"password": { "password": {
"enter_password": "Enter Password", "enter_password": "Introduzca la contraseña",
"enter_password_for": "Enter password for {{username}}", "enter_password_for": "Introduzca la contraseña para {{username}}",
"invalid_password": "Invalid password" "invalid_password": "Contraseña inválida"
}, },
"home": { "home": {
"checking_server_connection": "Comprobando conexión con el servidor...", "checking_server_connection": "Comprobando conexión con el servidor...",
@@ -124,32 +124,32 @@
"hide_remote_session_button": "Ocultar botón de sesión remota" "hide_remote_session_button": "Ocultar botón de sesión remota"
}, },
"network": { "network": {
"title": "Network", "title": "Cadena",
"local_network": "Local Network", "local_network": "Red local",
"auto_switch_enabled": "Auto-switch when at home", "auto_switch_enabled": "Cambiar automáticamente en casa",
"auto_switch_description": "Automatically switch to local URL when connected to home WiFi", "auto_switch_description": "Cambiar automáticamente a la URL local cuando se conecta a la WiFi de casa",
"local_url": "Local URL", "local_url": "URL local",
"local_url_hint": "Enter your local server address (e.g., http://192.168.1.100:8096)", "local_url_hint": "Introduzca la dirección de su servidor local (por ejemplo, http://192.168.1.100:8096)",
"local_url_placeholder": "http://192.168.1.100:8096", "local_url_placeholder": "http://192.168.1.100:8096",
"home_wifi_networks": "Home WiFi Networks", "home_wifi_networks": "Redes WiFi domésticas",
"add_current_network": "Add \"{{ssid}}\"", "add_current_network": "Añadir \"{{ssid}}\"",
"not_connected_to_wifi": "Not connected to WiFi", "not_connected_to_wifi": "No está conectado a WiFi",
"no_networks_configured": "No networks configured", "no_networks_configured": "No hay redes configuradas",
"add_network_hint": "Add your home WiFi network to enable auto-switching", "add_network_hint": "Añade tu red WiFi doméstica para activar el cambio automático",
"current_wifi": "Current WiFi", "current_wifi": "WiFi actual",
"using_url": "Using", "using_url": "Utilizando",
"local": "Local URL", "local": "URL local",
"remote": "Remote URL", "remote": "URL Remota",
"not_connected": "Not connected", "not_connected": "Sin conexión",
"current_server": "Current Server", "current_server": "Servidor actual",
"remote_url": "Remote URL", "remote_url": "URL Remota",
"active_url": "Active URL", "active_url": "URL Activa",
"not_configured": "Not configured", "not_configured": "Sin configurar",
"network_added": "Network added", "network_added": "Red añadida",
"network_already_added": "Network already added", "network_already_added": "Red ya añadida",
"no_wifi_connected": "Not connected to WiFi", "no_wifi_connected": "Sin conexión a WiFi",
"permission_denied": "Location permission denied", "permission_denied": "Permiso de ubicación denegado",
"permission_denied_explanation": "Location permission is required to detect WiFi network for auto-switching. Please enable it in Settings." "permission_denied_explanation": "Se necesita el permiso de ubicación para detectar la red WiFi para cambiar automáticamente. Por favor, actívala en Configuración."
}, },
"user_info": { "user_info": {
"user_info_title": "Información de usuario", "user_info_title": "Información de usuario",
@@ -195,12 +195,12 @@
"none": "Ninguno", "none": "Ninguno",
"language": "Idioma", "language": "Idioma",
"transcode_mode": { "transcode_mode": {
"title": "Audio Transcoding", "title": "Transcodificación de audio",
"description": "Controls how surround audio (7.1, TrueHD, DTS-HD) is handled", "description": "Controla cómo el audio envolvente (7.1, TrueHD, DTS-HD) es manejado",
"auto": "Auto", "auto": "Auto",
"stereo": "Force Stereo", "stereo": "Forzar salida estéreo",
"5_1": "Allow 5.1", "5_1": "Permitir 5.1",
"passthrough": "Passthrough" "passthrough": "Directo"
} }
}, },
"subtitles": { "subtitles": {
@@ -259,16 +259,16 @@
"hardware_decode_description": "Utilizar la aceleración de hardware para la decodificación de vídeo. Deshabilite si experimenta problemas de reproducción." "hardware_decode_description": "Utilizar la aceleración de hardware para la decodificación de vídeo. Deshabilite si experimenta problemas de reproducción."
}, },
"vlc_subtitles": { "vlc_subtitles": {
"title": "VLC Subtitle Settings", "title": "Configuración de subtítulos VLC",
"hint": "Customize subtitle appearance for VLC player. Changes take effect on next playback.", "hint": "Personalizar la apariencia de los subtítulos para el reproductor VLC. Los cambios tendrán efecto en la próxima reproducción.",
"text_color": "Text Color", "text_color": "Color del texto",
"background_color": "Background Color", "background_color": "Color del fondo",
"background_opacity": "Background Opacity", "background_opacity": "Opacidad del fondo",
"outline_color": "Outline Color", "outline_color": "Color del contorno",
"outline_opacity": "Outline Opacity", "outline_opacity": "Opacidad del contorno",
"outline_thickness": "Outline Thickness", "outline_thickness": "Grosor del contorno",
"bold": "Bold Text", "bold": "Texto en negrita",
"margin": "Bottom Margin" "margin": "Margen inferior"
}, },
"video_player": { "video_player": {
"title": "Reproductor de vídeo", "title": "Reproductor de vídeo",
@@ -300,13 +300,13 @@
"VLC_4": "VLC 4 (Experimental + PiP)" "VLC_4": "VLC 4 (Experimental + PiP)"
}, },
"show_custom_menu_links": "Mostrar enlaces de menú personalizados", "show_custom_menu_links": "Mostrar enlaces de menú personalizados",
"show_large_home_carousel": "Show Large Home Carousel (beta)", "show_large_home_carousel": "Mostrar carrusel del menú principal grande (beta)",
"hide_libraries": "Ocultar bibliotecas", "hide_libraries": "Ocultar bibliotecas",
"select_liraries_you_want_to_hide": "Selecciona las bibliotecas que quieres ocultar de la pestaña Bibliotecas y de Inicio.", "select_liraries_you_want_to_hide": "Selecciona las bibliotecas que quieres ocultar de la pestaña Bibliotecas y de Inicio.",
"disable_haptic_feedback": "Desactivar feedback háptico", "disable_haptic_feedback": "Desactivar feedback háptico",
"default_quality": "Calidad por defecto", "default_quality": "Calidad por defecto",
"default_playback_speed": "Velocidad de reproducción predeterminada", "default_playback_speed": "Velocidad de reproducción predeterminada",
"auto_play_next_episode": "Auto-play Next Episode", "auto_play_next_episode": "Reproducir automáticamente el siguiente episodio",
"max_auto_play_episode_count": "Máximo número de episodios de Auto Play", "max_auto_play_episode_count": "Máximo número de episodios de Auto Play",
"disabled": "Deshabilitado" "disabled": "Deshabilitado"
}, },
@@ -317,10 +317,10 @@
"title": "Música", "title": "Música",
"playback_title": "Reproducir", "playback_title": "Reproducir",
"playback_description": "Configurar cómo se reproduce la música.", "playback_description": "Configurar cómo se reproduce la música.",
"prefer_downloaded": "Prefer Downloaded Songs", "prefer_downloaded": "Preferir las canciones descargadas",
"caching_title": "Almacenando en caché", "caching_title": "Almacenando en caché",
"caching_description": "Automatically cache upcoming tracks for smoother playback.", "caching_description": "Cachear automáticamente las próximas canciones para una reproducción más suave.",
"lookahead_enabled": "Enable Look-Ahead Caching", "lookahead_enabled": "Activar el look-Ahead Cache",
"lookahead_count": "", "lookahead_count": "",
"max_cache_size": "Tamaño máximo del caché" "max_cache_size": "Tamaño máximo del caché"
}, },
@@ -399,7 +399,7 @@
"size_used": "{{used}} de {{total}} usado", "size_used": "{{used}} de {{total}} usado",
"delete_all_downloaded_files": "Eliminar todos los archivos descargados", "delete_all_downloaded_files": "Eliminar todos los archivos descargados",
"music_cache_title": "Caché de música", "music_cache_title": "Caché de música",
"music_cache_description": "Automatically cache songs as you listen for smoother playback and offline support", "music_cache_description": "Cachear automáticamente las canciones mientras escuchas una reproducción más suave y soporte sin conexión",
"enable_music_cache": "Activar Caché de Música", "enable_music_cache": "Activar Caché de Música",
"clear_music_cache": "Borrar Caché de Música", "clear_music_cache": "Borrar Caché de Música",
"music_cache_size": "Caché {{Tamaño}}", "music_cache_size": "Caché {{Tamaño}}",
@@ -504,10 +504,10 @@
"delete": "Borrar", "delete": "Borrar",
"ok": "Aceptar", "ok": "Aceptar",
"remove": "Eliminar", "remove": "Eliminar",
"next": "Next", "next": "Siguiente",
"back": "Back", "back": "Atrás",
"continue": "Continue", "continue": "Continuar",
"verifying": "Verifying..." "verifying": "Verificando..."
}, },
"search": { "search": {
"search": "Buscar...", "search": "Buscar...",
@@ -753,8 +753,8 @@
"downloaded": "Descargado", "downloaded": "Descargado",
"downloading": "Descargando...", "downloading": "Descargando...",
"cached": "En caché", "cached": "En caché",
"delete_download": "Delete Download", "delete_download": "Eliminar descarga",
"delete_cache": "Remove from Cache", "delete_cache": "Borrar del caché",
"go_to_artist": "Ir al artista", "go_to_artist": "Ir al artista",
"go_to_album": "Ir al álbum", "go_to_album": "Ir al álbum",
"add_to_favorites": "Añadir a Favoritos", "add_to_favorites": "Añadir a Favoritos",

View File

@@ -305,8 +305,8 @@
"select_liraries_you_want_to_hide": "Sélectionnez les bibliothèques que vous souhaitez masquer dans l'onglet Bibliothèque et les sections de la page d'accueil.", "select_liraries_you_want_to_hide": "Sélectionnez les bibliothèques que vous souhaitez masquer dans l'onglet Bibliothèque et les sections de la page d'accueil.",
"disable_haptic_feedback": "Désactiver le retour haptique", "disable_haptic_feedback": "Désactiver le retour haptique",
"default_quality": "Qualité par défaut", "default_quality": "Qualité par défaut",
"default_playback_speed": "Default Playback Speed", "default_playback_speed": "Vitesse de lecture par défaut",
"auto_play_next_episode": "Auto-play Next Episode", "auto_play_next_episode": "Lecture automatique de l'épisode suivant",
"max_auto_play_episode_count": "Nombre d'épisodes en lecture automatique max", "max_auto_play_episode_count": "Nombre d'épisodes en lecture automatique max",
"disabled": "Désactivé" "disabled": "Désactivé"
}, },
@@ -314,15 +314,15 @@
"downloads_title": "Téléchargements" "downloads_title": "Téléchargements"
}, },
"music": { "music": {
"title": "Music", "title": "Musique",
"playback_title": "Playback", "playback_title": "Lecture",
"playback_description": "Configure how music is played.", "playback_description": "Configurer le mode de lecture de la musique.",
"prefer_downloaded": "Prefer Downloaded Songs", "prefer_downloaded": "Supprimer toutes les musiques téléchargées",
"caching_title": "Caching", "caching_title": "Mise en cache",
"caching_description": "Automatically cache upcoming tracks for smoother playback.", "caching_description": "Mettre automatiquement en cache les pistes à venir pour une lecture plus fluide.",
"lookahead_enabled": "Enable Look-Ahead Caching", "lookahead_enabled": "Activer la mise en cache guidée",
"lookahead_count": "Tracks to Pre-cache", "lookahead_count": "Pistes à pré-mettre en cache",
"max_cache_size": "Max Cache Size" "max_cache_size": "Taille max de cache"
}, },
"plugins": { "plugins": {
"plugins_title": "Plugins", "plugins_title": "Plugins",
@@ -357,19 +357,19 @@
"save_button": "Enregistrer", "save_button": "Enregistrer",
"toasts": { "toasts": {
"saved": "Enregistré", "saved": "Enregistré",
"refreshed": "Settings refreshed from server" "refreshed": "Paramètres actualisés depuis le serveur"
}, },
"refresh_from_server": "Refresh Settings from Server" "refresh_from_server": "Rafraîchir les paramètres depuis le serveur"
}, },
"streamystats": { "streamystats": {
"enable_streamystats": "Enable Streamystats", "enable_streamystats": "Activer Streamystats",
"disable_streamystats": "Disable Streamystats", "disable_streamystats": "Désactiver Streamystats",
"enable_search": "Use for Search", "enable_search": "Utiliser pour la recherche",
"url": "URL", "url": "URL",
"server_url_placeholder": "http(s)://streamystats.example.com", "server_url_placeholder": "http(s)://streamystats.example.com",
"streamystats_search_hint": "Enter the URL for your Streamystats server. The URL should include http or https and optionally the port.", "streamystats_search_hint": "Entrez l'URL de votre serveur Streamystats. L'URL doit inclure http ou https et éventuellement le port.",
"read_more_about_streamystats": "Read More About Streamystats.", "read_more_about_streamystats": "En savoir plus sur Streamystats.",
"save_button": "Save", "save_button": "Enregistrer",
"save": "Enregistrer", "save": "Enregistrer",
"features_title": "Fonctionnalités", "features_title": "Fonctionnalités",
"home_sections_title": "Sections de la page d´accueil", "home_sections_title": "Sections de la page d´accueil",
@@ -572,7 +572,7 @@
"genres": "Genres", "genres": "Genres",
"years": "Années", "years": "Années",
"sort_by": "Trier par", "sort_by": "Trier par",
"filter_by": "Filter By", "filter_by": "Filtrer par",
"sort_order": "Ordre de tri", "sort_order": "Ordre de tri",
"tags": "Tags" "tags": "Tags"
} }
@@ -719,127 +719,127 @@
"favorites": "Favoris" "favorites": "Favoris"
}, },
"music": { "music": {
"title": "Music", "title": "Musique",
"tabs": { "tabs": {
"suggestions": "Suggestions", "suggestions": "Suggestions",
"albums": "Albums", "albums": "Albums",
"artists": "Artists", "artists": "Artistes",
"playlists": "Playlists", "playlists": "Playlists",
"tracks": "tracks" "tracks": "morceaux"
}, },
"filters": { "filters": {
"all": "All" "all": "Toutes"
}, },
"recently_added": "Recently Added", "recently_added": "Ajoutés récemment",
"recently_played": "Recently Played", "recently_played": "Récemment joué",
"frequently_played": "Frequently Played", "frequently_played": "Fréquemment joué",
"explore": "Explore", "explore": "Explorez",
"top_tracks": "Top Tracks", "top_tracks": "Top chansons",
"play": "Play", "play": "Lecture",
"shuffle": "Shuffle", "shuffle": "Aléatoire",
"play_top_tracks": "Play Top Tracks", "play_top_tracks": "Jouer les pistes les plus populaires",
"no_suggestions": "No suggestions available", "no_suggestions": "Pas de suggestion disponible",
"no_albums": "No albums found", "no_albums": "Pas d'albums trouvés",
"no_artists": "No artists found", "no_artists": "Pas d'artistes trouvé",
"no_playlists": "No playlists found", "no_playlists": "Pas de playlists trouvées",
"album_not_found": "Album not found", "album_not_found": "Album introuvable",
"artist_not_found": "Artist not found", "artist_not_found": "Artiste introuvable",
"playlist_not_found": "Playlist not found", "playlist_not_found": "Playlist introuvable",
"track_options": { "track_options": {
"play_next": "Play Next", "play_next": "Lecture suivante",
"add_to_queue": "Add to Queue", "add_to_queue": "Ajouter à la file d'attente",
"add_to_playlist": "Add to Playlist", "add_to_playlist": "Ajouter à la playlist",
"download": "Download", "download": "Télécharger",
"downloaded": "Downloaded", "downloaded": "Téléchargé",
"downloading": "Downloading...", "downloading": "Téléchargement en cours...",
"cached": "Cached", "cached": "En cache",
"delete_download": "Delete Download", "delete_download": "Supprimer un téléchargement",
"delete_cache": "Remove from Cache", "delete_cache": "Supprimer du cache",
"go_to_artist": "Go to Artist", "go_to_artist": "Voir l'artiste",
"go_to_album": "Go to Album", "go_to_album": "Aller à lalbum",
"add_to_favorites": "Add to Favorites", "add_to_favorites": "Ajouter aux favoris",
"remove_from_favorites": "Remove from Favorites", "remove_from_favorites": "Retirer des favoris",
"remove_from_playlist": "Remove from Playlist" "remove_from_playlist": "Retirer de la playlist"
}, },
"playlists": { "playlists": {
"create_playlist": "Create Playlist", "create_playlist": "Créer une Playlist",
"playlist_name": "Playlist Name", "playlist_name": "Nom de la Playlist",
"enter_name": "Enter playlist name", "enter_name": "Entrer le nom de la playlist",
"create": "Create", "create": "Créer",
"search_playlists": "Search playlists...", "search_playlists": "Rechercher des playlists...",
"added_to": "Added to {{name}}", "added_to": "Ajouté à {{name}}",
"added": "Added to playlist", "added": "Ajouté à la playlist",
"removed_from": "Removed from {{name}}", "removed_from": "Retiré de {{name}}",
"removed": "Removed from playlist", "removed": "Retiré de la playlist",
"created": "Playlist created", "created": "Playlist créée",
"create_new": "Create New Playlist", "create_new": "Créer une nouvelle playlist",
"failed_to_add": "Failed to add to playlist", "failed_to_add": "Échec de l'ajout à la playlist",
"failed_to_remove": "Failed to remove from playlist", "failed_to_remove": "Échec de la suppression de la playlist",
"failed_to_create": "Failed to create playlist", "failed_to_create": "Échec de la suppression de la playlist",
"delete_playlist": "Delete Playlist", "delete_playlist": "Supprimer la playlist",
"delete_confirm": "Are you sure you want to delete \"{{name}}\"? This action cannot be undone.", "delete_confirm": "Êtes-vous sûr de vouloir supprimer « {{ name }} » ? Cette action est irréversible.",
"deleted": "Playlist deleted", "deleted": "Playlist supprimée",
"failed_to_delete": "Failed to delete playlist" "failed_to_delete": "Échec de la suppression de la playlist"
}, },
"sort": { "sort": {
"title": "Sort By", "title": "Trier par",
"alphabetical": "Alphabetical", "alphabetical": "Ordre alphabétique",
"date_created": "Date Created" "date_created": "Date de création"
} }
}, },
"watchlists": { "watchlists": {
"title": "Watchlists", "title": "Watchlists",
"my_watchlists": "My Watchlists", "my_watchlists": "My Watchlists",
"public_watchlists": "Public Watchlists", "public_watchlists": "Watchlist publique",
"create_title": "Create Watchlist", "create_title": "Créer une Watchlist",
"edit_title": "Edit Watchlist", "edit_title": "Modifier la Watchlist",
"create_button": "Create Watchlist", "create_button": "Créer une Watchlist",
"save_button": "Save Changes", "save_button": "Enregistrer les modifications",
"delete_button": "Delete", "delete_button": "Supprimer",
"remove_button": "Remove", "remove_button": "Retirer",
"cancel_button": "Cancel", "cancel_button": "Annuler",
"name_label": "Name", "name_label": "Nom",
"name_placeholder": "Enter watchlist name", "name_placeholder": "Entrer le nom de la playlist",
"description_label": "Description", "description_label": "Description",
"description_placeholder": "Enter description (optional)", "description_placeholder": "Entrez la description (facultatif)",
"is_public_label": "Public Watchlist", "is_public_label": "Public Watchlist",
"is_public_description": "Allow others to view this watchlist", "is_public_description": "Autoriser d'autres personnes à voir cette liste de suivi",
"allowed_type_label": "Content Type", "allowed_type_label": "Type de contenu",
"sort_order_label": "Default Sort Order", "sort_order_label": "Ordre de tri par défaut",
"empty_title": "No Watchlists", "empty_title": "Pas de Watchlists",
"empty_description": "Create your first watchlist to start organizing your media", "empty_description": "Créez votre première liste de suivi pour commencer à organiser vos médias",
"empty_watchlist": "This watchlist is empty", "empty_watchlist": "Cette liste de suivi est vide",
"empty_watchlist_hint": "Add items from your library to this watchlist", "empty_watchlist_hint": "Ajouter des éléments de votre bibliothèque à cette liste de suivi",
"not_configured_title": "Streamystats Not Configured", "not_configured_title": "Streamystats non configuré",
"not_configured_description": "Configure Streamystats in settings to use watchlists", "not_configured_description": "Configurer Streamystats dans les paramètres pour utiliser les listes de suivi",
"go_to_settings": "Go to Settings", "go_to_settings": "Accédez aux Paramètres",
"add_to_watchlist": "Add to Watchlist", "add_to_watchlist": "Ajouter à la Watchlist",
"remove_from_watchlist": "Remove from Watchlist", "remove_from_watchlist": "Retirer de la Watchlist",
"select_watchlist": "Select Watchlist", "select_watchlist": "Sélectionner la liste de suivi",
"create_new": "Create New Watchlist", "create_new": "Créer une Watchlist",
"item": "item", "item": "médias",
"items": "items", "items": "élément",
"public": "Public", "public": "Publique",
"private": "Private", "private": "Privée",
"you": "You", "you": "Vous-même",
"by_owner": "By another user", "by_owner": "Par un autre utilisateur",
"not_found": "Watchlist not found", "not_found": "Playlist introuvable",
"delete_confirm_title": "Delete Watchlist", "delete_confirm_title": "Supprimer la Watchlist",
"delete_confirm_message": "Are you sure you want to delete \"{{name}}\"? This action cannot be undone.", "delete_confirm_message": "Tous les médias (par défaut)",
"remove_item_title": "Remove from Watchlist", "remove_item_title": "Retirer de la Watchlist",
"remove_item_message": "Remove \"{{name}}\" from this watchlist?", "remove_item_message": "Retirer «{{name}}» de cette liste de suivi?",
"loading": "Loading watchlists...", "loading": "Chargement des listes de suivi...",
"no_compatible_watchlists": "No compatible watchlists", "no_compatible_watchlists": "Aucune liste de suivi compatible",
"create_one_first": "Create a watchlist that accepts this content type" "create_one_first": "Créer une liste de suivi qui accepte ce type de contenu"
}, },
"playback_speed": { "playback_speed": {
"title": "Playback Speed", "title": "Vitesse de lecture",
"apply_to": "Apply To", "apply_to": "Appliquer à",
"speed": "Speed", "speed": "Vitesse",
"scope": { "scope": {
"media": "This media only", "media": "Ce média uniquement",
"show": "This show", "show": "Cette série",
"all": "All media (default)" "all": "Tous les médias (par défaut)"
} }
} }
} }

View File

@@ -34,9 +34,9 @@
"search_for_local_servers": "Ricerca dei server locali", "search_for_local_servers": "Ricerca dei server locali",
"searching": "Cercando...", "searching": "Cercando...",
"servers": "Server", "servers": "Server",
"saved": "Saved", "saved": "Salvato",
"session_expired": "Session Expired", "session_expired": "Session Expired",
"please_login_again": "Your saved session has expired. Please log in again.", "please_login_again": "La tua sessione è scaduta. Si prega di eseguire nuovamente l'accesso.",
"remove_saved_login": "Remove Saved Login", "remove_saved_login": "Remove Saved Login",
"remove_saved_login_description": "This will remove your saved credentials for this server. You'll need to enter your username and password again next time.", "remove_saved_login_description": "This will remove your saved credentials for this server. You'll need to enter your username and password again next time.",
"accounts_count": "{{count}} accounts", "accounts_count": "{{count}} accounts",
@@ -125,7 +125,7 @@
}, },
"network": { "network": {
"title": "Network", "title": "Network",
"local_network": "Local Network", "local_network": "",
"auto_switch_enabled": "Auto-switch when at home", "auto_switch_enabled": "Auto-switch when at home",
"auto_switch_description": "Automatically switch to local URL when connected to home WiFi", "auto_switch_description": "Automatically switch to local URL when connected to home WiFi",
"local_url": "Local URL", "local_url": "Local URL",
@@ -137,7 +137,7 @@
"no_networks_configured": "No networks configured", "no_networks_configured": "No networks configured",
"add_network_hint": "Add your home WiFi network to enable auto-switching", "add_network_hint": "Add your home WiFi network to enable auto-switching",
"current_wifi": "Current WiFi", "current_wifi": "Current WiFi",
"using_url": "Using", "using_url": "Sta utilizzando",
"local": "Local URL", "local": "Local URL",
"remote": "Remote URL", "remote": "Remote URL",
"not_connected": "Not connected", "not_connected": "Not connected",

View File

@@ -30,7 +30,7 @@
"connect_button": "Verbinden", "connect_button": "Verbinden",
"previous_servers": "vorige servers", "previous_servers": "vorige servers",
"clear_button": "Wissen", "clear_button": "Wissen",
"swipe_to_remove": "Swipe to remove", "swipe_to_remove": "Swipe om te verwijderen.",
"search_for_local_servers": "Zoek naar lokale servers", "search_for_local_servers": "Zoek naar lokale servers",
"searching": "Zoeken...", "searching": "Zoeken...",
"servers": "Servers", "servers": "Servers",
@@ -40,38 +40,38 @@
"remove_saved_login": "Opgeslagen login verwijderen", "remove_saved_login": "Opgeslagen login verwijderen",
"remove_saved_login_description": "Hiermee worden uw opgeslagen gegevens voor deze server verwijderd. U moet uw gebruikersnaam en wachtwoord de volgende keer opnieuw invoeren.", "remove_saved_login_description": "Hiermee worden uw opgeslagen gegevens voor deze server verwijderd. U moet uw gebruikersnaam en wachtwoord de volgende keer opnieuw invoeren.",
"accounts_count": "{{count}} accounts", "accounts_count": "{{count}} accounts",
"select_account": "Select Account", "select_account": "Account selecteren",
"add_account": "Add Account", "add_account": "Account toevoegen",
"remove_account_description": "This will remove the saved credentials for {{username}}." "remove_account_description": "Hiermee worden de opgeslagen inloggegevens voor {{username}} verwijderd."
}, },
"save_account": { "save_account": {
"title": "Save Account", "title": "Account opslaan",
"save_for_later": "Save this account", "save_for_later": "Dit account opslaan",
"security_option": "Security Option", "security_option": "Beveiligingsopties",
"no_protection": "No protection", "no_protection": "Geen beveiliging",
"no_protection_desc": "Quick login without authentication", "no_protection_desc": "Snelle login zonder authenticatie",
"pin_code": "PIN code", "pin_code": "Pincode",
"pin_code_desc": "4-digit PIN required when switching", "pin_code_desc": "4-cijferige pincode vereist bij wisselen",
"password": "Re-enter password", "password": "Wachtwoord opnieuw invoeren",
"password_desc": "Password required when switching", "password_desc": "Wachtwoord vereist bij wisselen",
"save_button": "Save", "save_button": "Opslaan",
"cancel_button": "Cancel" "cancel_button": "Annuleren"
}, },
"pin": { "pin": {
"enter_pin": "Enter PIN", "enter_pin": "Pincode invoeren",
"enter_pin_for": "Enter PIN for {{username}}", "enter_pin_for": "Pincode voor {{username}} invoeren",
"enter_4_digits": "Enter 4 digits", "enter_4_digits": "Voer 6 cijfers in",
"invalid_pin": "Invalid PIN", "invalid_pin": "Ongeldige pincode",
"setup_pin": "Set Up PIN", "setup_pin": "Pincode instellen",
"confirm_pin": "Confirm PIN", "confirm_pin": "Pincode bevestigen",
"pins_dont_match": "PINs don't match", "pins_dont_match": "Pincodes komen niet overeen",
"forgot_pin": "Forgot PIN?", "forgot_pin": "Pincode vergeten?",
"forgot_pin_desc": "Your saved credentials will be removed" "forgot_pin_desc": "Je opgeslagen inloggegevens worden verwijderd"
}, },
"password": { "password": {
"enter_password": "Enter Password", "enter_password": "Voer wachtwoord in",
"enter_password_for": "Enter password for {{username}}", "enter_password_for": "Voer wachtwoord voor {{username}} in",
"invalid_password": "Invalid password" "invalid_password": "Ongeldig wachtwoord"
}, },
"home": { "home": {
"checking_server_connection": "Serververbinding controleren...", "checking_server_connection": "Serververbinding controleren...",
@@ -84,7 +84,7 @@
"server_unreachable": "Server onbereikbaar", "server_unreachable": "Server onbereikbaar",
"server_unreachable_message": "Kon de server niet bereiken.\nControleer uw netwerkverbinding.", "server_unreachable_message": "Kon de server niet bereiken.\nControleer uw netwerkverbinding.",
"oops": "Oeps!", "oops": "Oeps!",
"error_message": "Er ging iets fout\nGelieve af en aan te melden.", "error_message": "Er ging iets fout\nProbeer opnieuw in te loggen.",
"continue_watching": "Verder Kijken", "continue_watching": "Verder Kijken",
"next_up": "Volgende", "next_up": "Volgende",
"continue_and_next_up": "Doorgaan & Volgende", "continue_and_next_up": "Doorgaan & Volgende",
@@ -124,32 +124,32 @@
"hide_remote_session_button": "Verberg Knop voor Externe Sessie" "hide_remote_session_button": "Verberg Knop voor Externe Sessie"
}, },
"network": { "network": {
"title": "Network", "title": "Netwerk",
"local_network": "Local Network", "local_network": "Lokaal netwerk",
"auto_switch_enabled": "Auto-switch when at home", "auto_switch_enabled": "Automatisch wisselen wanneer thuis",
"auto_switch_description": "Automatically switch to local URL when connected to home WiFi", "auto_switch_description": "Automatisch wisselen naar lokale URL wanneer verbonden met thuisnetwerk",
"local_url": "Local URL", "local_url": "Lokale URL",
"local_url_hint": "Enter your local server address (e.g., http://192.168.1.100:8096)", "local_url_hint": "Voer uw lokale serveradres in (bijv. http://192.168.1.100:8096)",
"local_url_placeholder": "http://192.168.1.100:8096", "local_url_placeholder": "http://192.168.1.100:8096",
"home_wifi_networks": "Home WiFi Networks", "home_wifi_networks": "Wi-Fi netwerken",
"add_current_network": "Add \"{{ssid}}\"", "add_current_network": "Voeg \"{{ssid}} \" toe",
"not_connected_to_wifi": "Not connected to WiFi", "not_connected_to_wifi": "Niet verbonden met Wi-Fi",
"no_networks_configured": "No networks configured", "no_networks_configured": "Geen netwerken geconfigureerd",
"add_network_hint": "Add your home WiFi network to enable auto-switching", "add_network_hint": "Voeg je thuisnetwerk toe om automatisch wisselen in te schakelen",
"current_wifi": "Current WiFi", "current_wifi": "Huidige Wi-Fi",
"using_url": "Using", "using_url": "Gebruik makend van",
"local": "Local URL", "local": "Lokale URL",
"remote": "Remote URL", "remote": "Externe URL",
"not_connected": "Not connected", "not_connected": "Niet verbonden",
"current_server": "Current Server", "current_server": "Huidige Server",
"remote_url": "Remote URL", "remote_url": "Externe URL",
"active_url": "Active URL", "active_url": "Actieve URL",
"not_configured": "Not configured", "not_configured": "Niet geconfigureerd",
"network_added": "Network added", "network_added": "Netwerk toegevoegd",
"network_already_added": "Network already added", "network_already_added": "Netwerk reeds toegevoegd",
"no_wifi_connected": "Not connected to WiFi", "no_wifi_connected": "Niet verbonden met Wi-Fi",
"permission_denied": "Location permission denied", "permission_denied": "Locatie toestemming geweigerd",
"permission_denied_explanation": "Location permission is required to detect WiFi network for auto-switching. Please enable it in Settings." "permission_denied_explanation": "Locatie permissie is vereist om Wifi-netwerk te kunnen detecteren voor automatisch wisselen. Schakel het in via Instellingen."
}, },
"user_info": { "user_info": {
"user_info_title": "Gebruiker Info", "user_info_title": "Gebruiker Info",
@@ -195,11 +195,11 @@
"none": "Geen", "none": "Geen",
"language": "Taal", "language": "Taal",
"transcode_mode": { "transcode_mode": {
"title": "Audio Transcoding", "title": "Audio-transcoding",
"description": "Controls how surround audio (7.1, TrueHD, DTS-HD) is handled", "description": "Bepaalt hoe surround audio (7.1, TrueHD, DTS-HD) wordt behandeld",
"auto": "Auto", "auto": "Automatisch",
"stereo": "Force Stereo", "stereo": "Stereo forceren",
"5_1": "Allow 5.1", "5_1": "5.1 toestaan",
"passthrough": "Passthrough" "passthrough": "Passthrough"
} }
}, },
@@ -231,7 +231,7 @@
"Black": "Zwart", "Black": "Zwart",
"Gray": "Grijs", "Gray": "Grijs",
"Silver": "Zilver", "Silver": "Zilver",
"White": "wit", "White": "Wit",
"Maroon": "Kastanjebruin", "Maroon": "Kastanjebruin",
"Red": "Rood", "Red": "Rood",
"Fuchsia": "Fuchsia", "Fuchsia": "Fuchsia",
@@ -259,14 +259,14 @@
"hardware_decode_description": "Gebruik hardware acceleratie voor video-decodering. Uitschakelen als u problemen met afspelen ondervindt." "hardware_decode_description": "Gebruik hardware acceleratie voor video-decodering. Uitschakelen als u problemen met afspelen ondervindt."
}, },
"vlc_subtitles": { "vlc_subtitles": {
"title": "VLC Subtitle Settings", "title": "VLC ondertitel instellingen",
"hint": "Customize subtitle appearance for VLC player. Changes take effect on next playback.", "hint": "Aanpassen van ondertiteling voor VLC-speler. Wijzigingen worden toegepast bij het afspelen.",
"text_color": "Text Color", "text_color": "Tekstkleur",
"background_color": "Background Color", "background_color": "Achtergrondkleur",
"background_opacity": "Background Opacity", "background_opacity": "Doorzichtigheid achtergrond",
"outline_color": "Outline Color", "outline_color": "Kleur omlijning",
"outline_opacity": "Outline Opacity", "outline_opacity": "Omtrek opaciteit",
"outline_thickness": "Outline Thickness", "outline_thickness": "Omtrek dikte",
"bold": "Bold Text", "bold": "Bold Text",
"margin": "Bottom Margin" "margin": "Bottom Margin"
}, },
@@ -306,7 +306,7 @@
"disable_haptic_feedback": "Haptische feedback uitschakelen", "disable_haptic_feedback": "Haptische feedback uitschakelen",
"default_quality": "Standaard kwaliteit", "default_quality": "Standaard kwaliteit",
"default_playback_speed": "Standaard Afspeelsnelheid", "default_playback_speed": "Standaard Afspeelsnelheid",
"auto_play_next_episode": "Auto-play Next Episode", "auto_play_next_episode": "Volgende aflevering automatisch afspelen",
"max_auto_play_episode_count": "Max Automatisch Aflevering Aantal", "max_auto_play_episode_count": "Max Automatisch Aflevering Aantal",
"disabled": "Uitgeschakeld" "disabled": "Uitgeschakeld"
}, },
@@ -378,12 +378,12 @@
"enable_promoted_watchlists": "Gepromote Kijklijst", "enable_promoted_watchlists": "Gepromote Kijklijst",
"hide_watchlists_tab": "Hide Watchlists Tab", "hide_watchlists_tab": "Hide Watchlists Tab",
"home_sections_hint": "Show personalized recommendations and promoted watchlists from Streamystats on the home page.", "home_sections_hint": "Show personalized recommendations and promoted watchlists from Streamystats on the home page.",
"recommended_movies": "Recommended Movies", "recommended_movies": "Aanbevolen films",
"recommended_series": "Recommended Series", "recommended_series": "Aanbevolen serie",
"toasts": { "toasts": {
"saved": "Saved", "saved": "Opgeslagen",
"refreshed": "Settings refreshed from server", "refreshed": "Settings refreshed from server",
"disabled": "Streamystats disabled" "disabled": "Streamystats uitgeschakeld"
}, },
"refresh_from_server": "Refresh Settings from Server" "refresh_from_server": "Refresh Settings from Server"
}, },
@@ -402,24 +402,24 @@
"music_cache_description": "Automatically cache songs as you listen for smoother playback and offline support", "music_cache_description": "Automatically cache songs as you listen for smoother playback and offline support",
"enable_music_cache": "Enable Music Cache", "enable_music_cache": "Enable Music Cache",
"clear_music_cache": "Clear Music Cache", "clear_music_cache": "Clear Music Cache",
"music_cache_size": "{{size}} cached", "music_cache_size": "{{size}} gecached",
"music_cache_cleared": "Music cache cleared", "music_cache_cleared": "Muziek cache gewist",
"delete_all_downloaded_songs": "Delete All Downloaded Songs", "delete_all_downloaded_songs": "Verwijder alle gedownloade liedjes",
"downloaded_songs_size": "{{size}} downloaded", "downloaded_songs_size": "{{size}} gedownload",
"downloaded_songs_deleted": "Downloaded songs deleted" "downloaded_songs_deleted": "Downloaded songs deleted"
}, },
"intro": { "intro": {
"title": "Intro", "title": "Intro",
"show_intro": "Toon intro", "show_intro": "Toon intro",
"reset_intro": "intro opnieuw instellen" "reset_intro": "Reset Intro"
}, },
"logs": { "logs": {
"logs_title": "Logboek", "logs_title": "Logboek",
"export_logs": "Export logs", "export_logs": "Export logs",
"click_for_more_info": "Click for more info", "click_for_more_info": "Klik voor meer info",
"level": "Niveau", "level": "Niveau",
"no_logs_available": "Geen logs beschikbaar", "no_logs_available": "Geen logs beschikbaar",
"delete_all_logs": "Verwijder alle logs" "delete_all_logs": "Alle logs verwijderen"
}, },
"languages": { "languages": {
"title": "Talen", "title": "Talen",
@@ -500,14 +500,14 @@
"play": "Afspelen", "play": "Afspelen",
"none": "Geen", "none": "Geen",
"track": "Spoor", "track": "Spoor",
"cancel": "Cancel", "cancel": "Annuleren",
"delete": "Delete", "delete": "Verwijderen",
"ok": "OK", "ok": "O",
"remove": "Remove", "remove": "Verwijderen",
"next": "Next", "next": "Volgende",
"back": "Back", "back": "Terug",
"continue": "Continue", "continue": "Doorgaan",
"verifying": "Verifying..." "verifying": "Verifiëren..."
}, },
"search": { "search": {
"search": "Zoek...", "search": "Zoek...",
@@ -521,10 +521,10 @@
"episodes": "Afleveringen", "episodes": "Afleveringen",
"collections": "Collecties", "collections": "Collecties",
"actors": "Acteurs", "actors": "Acteurs",
"artists": "Artists", "artists": "Artiesten",
"albums": "Albums", "albums": "Albums",
"songs": "Songs", "songs": "Nummers",
"playlists": "Playlists", "playlists": "Afspeellijsten",
"request_movies": "Vraag films aan", "request_movies": "Vraag films aan",
"request_series": "Vraag series aan", "request_series": "Vraag series aan",
"recently_added": "Recent Toegevoegd", "recently_added": "Recent Toegevoegd",
@@ -572,7 +572,7 @@
"genres": "Genres", "genres": "Genres",
"years": "Jaren", "years": "Jaren",
"sort_by": "Sorteren op", "sort_by": "Sorteren op",
"filter_by": "Filter By", "filter_by": "Filteren op",
"sort_order": "Sorteer volgorde", "sort_order": "Sorteer volgorde",
"tags": "Labels" "tags": "Labels"
} }
@@ -719,127 +719,127 @@
"favorites": "Favorieten" "favorites": "Favorieten"
}, },
"music": { "music": {
"title": "Music", "title": "Muziek",
"tabs": { "tabs": {
"suggestions": "Suggestions", "suggestions": "Suggesties",
"albums": "Albums", "albums": "Albums",
"artists": "Artists", "artists": "Artiesten",
"playlists": "Playlists", "playlists": "Afspeellijsten",
"tracks": "tracks" "tracks": "Nummers"
}, },
"filters": { "filters": {
"all": "All" "all": "Alle"
}, },
"recently_added": "Recently Added", "recently_added": "Recent toegevoegd",
"recently_played": "Recently Played", "recently_played": "Onlangs afgespeeld",
"frequently_played": "Frequently Played", "frequently_played": "Vaak afgespeeld",
"explore": "Explore", "explore": "Ontdek",
"top_tracks": "Top Tracks", "top_tracks": "Top Tracks",
"play": "Play", "play": "Afspelen",
"shuffle": "Shuffle", "shuffle": "Shuffle",
"play_top_tracks": "Play Top Tracks", "play_top_tracks": "Play Top Tracks",
"no_suggestions": "No suggestions available", "no_suggestions": "Geen suggesties beschikbaar",
"no_albums": "No albums found", "no_albums": "Geen albums gevonden",
"no_artists": "No artists found", "no_artists": "Geen artiesten gevonden",
"no_playlists": "No playlists found", "no_playlists": "Geen afspeellijsten gevonden",
"album_not_found": "Album not found", "album_not_found": "Album niet gevonden",
"artist_not_found": "Artist not found", "artist_not_found": "Artiest niet gevonden",
"playlist_not_found": "Playlist not found", "playlist_not_found": "Afspeellijst niet gevonden",
"track_options": { "track_options": {
"play_next": "Play Next", "play_next": "Speel volgende af",
"add_to_queue": "Add to Queue", "add_to_queue": "Toevoegen aan wachtrij",
"add_to_playlist": "Add to Playlist", "add_to_playlist": "Voeg toe aan afspeellijst",
"download": "Download", "download": "Downloaden",
"downloaded": "Downloaded", "downloaded": "Gedownload",
"downloading": "Downloading...", "downloading": "Downloaden...",
"cached": "Cached", "cached": "Gecached",
"delete_download": "Delete Download", "delete_download": "Download verwijderen",
"delete_cache": "Remove from Cache", "delete_cache": "Verwijderen uit cache",
"go_to_artist": "Go to Artist", "go_to_artist": "Ga naar artiest",
"go_to_album": "Go to Album", "go_to_album": "Ga naar album",
"add_to_favorites": "Add to Favorites", "add_to_favorites": "Toevoegen aan favorieten",
"remove_from_favorites": "Remove from Favorites", "remove_from_favorites": "Verwijderen uit favorieten",
"remove_from_playlist": "Remove from Playlist" "remove_from_playlist": "Verwijder uit afspeellijst"
}, },
"playlists": { "playlists": {
"create_playlist": "Create Playlist", "create_playlist": "Afspeellijst aanmaken",
"playlist_name": "Playlist Name", "playlist_name": "Afspeellijst naam",
"enter_name": "Enter playlist name", "enter_name": "Enter playlist name",
"create": "Create", "create": "Aanmaken",
"search_playlists": "Search playlists...", "search_playlists": "Playlist zoeken...",
"added_to": "Added to {{name}}", "added_to": "Toegevoegd aan {{name}}",
"added": "Added to playlist", "added": "Toegevoegd aan playlist",
"removed_from": "Removed from {{name}}", "removed_from": "Verwijderd uit {{name}}",
"removed": "Removed from playlist", "removed": "Verwijderd uit playlist",
"created": "Playlist created", "created": "Playlist created",
"create_new": "Create New Playlist", "create_new": "Create New Playlist",
"failed_to_add": "Failed to add to playlist", "failed_to_add": "Failed to add to playlist",
"failed_to_remove": "Failed to remove from playlist", "failed_to_remove": "Verwijderen uit afspeellijst is mislukt",
"failed_to_create": "Failed to create playlist", "failed_to_create": "Het maken van de afspeellijst is mislukt",
"delete_playlist": "Delete Playlist", "delete_playlist": "Afspeellijst verwijderen",
"delete_confirm": "Are you sure you want to delete \"{{name}}\"? This action cannot be undone.", "delete_confirm": "Weet u zeker dat u \"{{name}}\"wilt verwijderen? Deze actie kan niet ongedaan worden gemaakt.",
"deleted": "Playlist deleted", "deleted": "Afspeellijst verwijderd.",
"failed_to_delete": "Failed to delete playlist" "failed_to_delete": "Verwijderen van afspeellijst mislukt"
}, },
"sort": { "sort": {
"title": "Sort By", "title": "Sorteren op",
"alphabetical": "Alphabetical", "alphabetical": "Alfabetisch",
"date_created": "Date Created" "date_created": "Aanmaakdatum"
} }
}, },
"watchlists": { "watchlists": {
"title": "Watchlists", "title": "Watchlist",
"my_watchlists": "My Watchlists", "my_watchlists": "Mijn watchlists",
"public_watchlists": "Public Watchlists", "public_watchlists": "Public Watchlists",
"create_title": "Create Watchlist", "create_title": "Create Watchlist",
"edit_title": "Edit Watchlist", "edit_title": "Edit Watchlist",
"create_button": "Create Watchlist", "create_button": "Create Watchlist",
"save_button": "Save Changes", "save_button": "Wijzigingen opslaan",
"delete_button": "Delete", "delete_button": "Verwijder",
"remove_button": "Remove", "remove_button": "Verwijderen",
"cancel_button": "Cancel", "cancel_button": "Annuleren",
"name_label": "Name", "name_label": "Naam",
"name_placeholder": "Enter watchlist name", "name_placeholder": "Voer naam van kijklijst in",
"description_label": "Description", "description_label": "Beschrijving",
"description_placeholder": "Enter description (optional)", "description_placeholder": "Voer beschrijving in (optioneel)",
"is_public_label": "Public Watchlist", "is_public_label": "Openbare Kijklijst",
"is_public_description": "Allow others to view this watchlist", "is_public_description": "Sta anderen toe om deze kijklijst te bekijken",
"allowed_type_label": "Content Type", "allowed_type_label": "Inhoudstype",
"sort_order_label": "Default Sort Order", "sort_order_label": "Standaard Sortering",
"empty_title": "No Watchlists", "empty_title": "Geen Kijklijsten",
"empty_description": "Create your first watchlist to start organizing your media", "empty_description": "Maak je eerste kijklijst om je media te organiseren",
"empty_watchlist": "This watchlist is empty", "empty_watchlist": "Deze watchlist is leeg",
"empty_watchlist_hint": "Add items from your library to this watchlist", "empty_watchlist_hint": "Voeg items uit je bibliotheek toe aan deze kijklijst",
"not_configured_title": "Streamystats Not Configured", "not_configured_title": "Streamystats niet geconfigureerd",
"not_configured_description": "Configure Streamystats in settings to use watchlists", "not_configured_description": "Configureer Streamystats in instellingen om kijklijsten te gebruiken",
"go_to_settings": "Go to Settings", "go_to_settings": "Ga naar Instellingen",
"add_to_watchlist": "Add to Watchlist", "add_to_watchlist": "Voeg toe aan kijklijst",
"remove_from_watchlist": "Remove from Watchlist", "remove_from_watchlist": "Verwijder van kijklijst",
"select_watchlist": "Select Watchlist", "select_watchlist": "Selecteer kijklijst",
"create_new": "Create New Watchlist", "create_new": "Nieuwe kijklijst aanmaken",
"item": "item", "item": "item",
"items": "items", "items": "items",
"public": "Public", "public": "Publiek",
"private": "Private", "private": "Privé",
"you": "You", "you": "Jij",
"by_owner": "By another user", "by_owner": "Door een andere gebruiker",
"not_found": "Watchlist not found", "not_found": "Kijklijst niet gevonden",
"delete_confirm_title": "Delete Watchlist", "delete_confirm_title": "Verwijder kijklijst",
"delete_confirm_message": "Are you sure you want to delete \"{{name}}\"? This action cannot be undone.", "delete_confirm_message": "Weet u zeker dat u \"{{name}}\"wilt verwijderen? Deze actie kan niet ongedaan worden gemaakt.",
"remove_item_title": "Remove from Watchlist", "remove_item_title": "Verwijder van watchlist",
"remove_item_message": "Remove \"{{name}}\" from this watchlist?", "remove_item_message": "Verwijder \"{{name}}\" uit deze watchlist?",
"loading": "Loading watchlists...", "loading": "Laden van watchlists...",
"no_compatible_watchlists": "No compatible watchlists", "no_compatible_watchlists": "Geen compatibele watchlist",
"create_one_first": "Create a watchlist that accepts this content type" "create_one_first": "Maak een watchlist aan die dit inhoudstype accepteert"
}, },
"playback_speed": { "playback_speed": {
"title": "Playback Speed", "title": "Afspeelsnelheid",
"apply_to": "Apply To", "apply_to": "Toepassen op",
"speed": "Speed", "speed": "Snelheid",
"scope": { "scope": {
"media": "This media only", "media": "Alleen deze media",
"show": "This show", "show": "Deze serie",
"all": "All media (default)" "all": "Alle media (standaard)"
} }
} }
} }

View File

@@ -34,44 +34,44 @@
"search_for_local_servers": "Поиск локальных серверов", "search_for_local_servers": "Поиск локальных серверов",
"searching": "Поиск...", "searching": "Поиск...",
"servers": "Сервера", "servers": "Сервера",
"saved": "Saved", "saved": "Сохранено",
"session_expired": "Session Expired", "session_expired": "Сессия истекла",
"please_login_again": "Your saved session has expired. Please log in again.", "please_login_again": "Ваша сессия истекла. Пожалуйста, войдите снова.",
"remove_saved_login": "Remove Saved Login", "remove_saved_login": "Удалить сохраненный аккаунт",
"remove_saved_login_description": "This will remove your saved credentials for this server. You'll need to enter your username and password again next time.", "remove_saved_login_description": "Ваши сохранённые данные для входа от этого сервера будут удалены. Вам придётся ввести ваши логин и пароль ещё раз.",
"accounts_count": "{{count}} accounts", "accounts_count": "{{count}} аккаунтов",
"select_account": "Select Account", "select_account": "Выбрать аккаунт",
"add_account": "Add Account", "add_account": "Добавить аккаунт",
"remove_account_description": "This will remove the saved credentials for {{username}}." "remove_account_description": "Данные для входа {{username}} будут удалены."
}, },
"save_account": { "save_account": {
"title": "Save Account", "title": "Сохранить аккаунт",
"save_for_later": "Save this account", "save_for_later": "Сохранить этот аккаунт",
"security_option": "Security Option", "security_option": "Опции безопасности",
"no_protection": "No protection", "no_protection": "Без защиты",
"no_protection_desc": "Quick login without authentication", "no_protection_desc": "Быстрый вход без ввода данных",
"pin_code": "PIN code", "pin_code": "PIN-код",
"pin_code_desc": "4-digit PIN required when switching", "pin_code_desc": "При переключении будет требоваться 4-значный PIN",
"password": "Re-enter password", "password": "Пароль",
"password_desc": "Password required when switching", "password_desc": "При переключении будет требоваться пароль",
"save_button": "Save", "save_button": "Сохранить",
"cancel_button": "Cancel" "cancel_button": "Отмена"
}, },
"pin": { "pin": {
"enter_pin": "Enter PIN", "enter_pin": "Введите PIN",
"enter_pin_for": "Enter PIN for {{username}}", "enter_pin_for": "Введите PIN для {{username}}",
"enter_4_digits": "Enter 4 digits", "enter_4_digits": "Введите 4 цифры",
"invalid_pin": "Invalid PIN", "invalid_pin": "Некорректный PIN",
"setup_pin": "Set Up PIN", "setup_pin": "Установить PIN",
"confirm_pin": "Confirm PIN", "confirm_pin": "Подтвердите PIN",
"pins_dont_match": "PINs don't match", "pins_dont_match": "PIN-коды не совпадают",
"forgot_pin": "Forgot PIN?", "forgot_pin": "Забыли PIN?",
"forgot_pin_desc": "Your saved credentials will be removed" "forgot_pin_desc": "Ваши данные для входа будут удалены"
}, },
"password": { "password": {
"enter_password": "Enter Password", "enter_password": "Введите пароль",
"enter_password_for": "Enter password for {{username}}", "enter_password_for": "Введите пароль для {{username}}",
"invalid_password": "Invalid password" "invalid_password": "Неверный пароль"
}, },
"home": { "home": {
"checking_server_connection": "Проверка соединения с сервером...", "checking_server_connection": "Проверка соединения с сервером...",
@@ -82,12 +82,12 @@
"go_to_downloads": "В загрузки", "go_to_downloads": "В загрузки",
"retry": "Повторить", "retry": "Повторить",
"server_unreachable": "Сервер недоступен", "server_unreachable": "Сервер недоступен",
"server_unreachable_message": "Could not reach the server.\nPlease check your network connection.", "server_unreachable_message": "Не удалось соединиться с сервером.\nПожалуйста, проверьте настройки сети.",
"oops": "Упс!", "oops": "Упс!",
"error_message": "Что-то пошло не так.\nПожалуйста выйдите и зайдите снова.", "error_message": "Что-то пошло не так.\nПожалуйста выйдите и зайдите снова.",
"continue_watching": "Продолжить просмотр", "continue_watching": "Продолжить",
"next_up": "Следующее", "next_up": "Далее",
"continue_and_next_up": "Continue & Next Up", "continue_and_next_up": "Продолжить и Далее",
"recently_added_in": "Недавно добавлено в {{libraryName}}", "recently_added_in": "Недавно добавлено в {{libraryName}}",
"suggested_movies": "Предложенные фильмы", "suggested_movies": "Предложенные фильмы",
"suggested_episodes": "Предложенные серии", "suggested_episodes": "Предложенные серии",
@@ -110,46 +110,46 @@
"settings_title": "Настройки", "settings_title": "Настройки",
"log_out_button": "Выйти", "log_out_button": "Выйти",
"categories": { "categories": {
"title": "Categories" "title": "Категории"
}, },
"playback_controls": { "playback_controls": {
"title": "Playback & Controls" "title": "Воспроизведение и управление"
}, },
"audio_subtitles": { "audio_subtitles": {
"title": "Audio & Subtitles" "title": "Аудио и субтитры"
}, },
"appearance": { "appearance": {
"title": "Appearance", "title": "Внешний вид",
"merge_next_up_continue_watching": "Merge Continue Watching & Next Up", "merge_next_up_continue_watching": "Объединить «Продолжить» и «Далее»",
"hide_remote_session_button": "Hide Remote Session Button" "hide_remote_session_button": "Скрыть кнопку «Удалённый сеанс»"
}, },
"network": { "network": {
"title": "Network", "title": "Сеть",
"local_network": "Local Network", "local_network": "Локальная сеть",
"auto_switch_enabled": "Auto-switch when at home", "auto_switch_enabled": "Переключаться дома автоматически",
"auto_switch_description": "Automatically switch to local URL when connected to home WiFi", "auto_switch_description": "Автоматически переключаться на локальный URL при присоединении к домашней WiFi сети",
"local_url": "Local URL", "local_url": "Локальный URL",
"local_url_hint": "Enter your local server address (e.g., http://192.168.1.100:8096)", "local_url_hint": "Введите локальный URL вашего сервера (e.g., http://192.168.1.100:8096)",
"local_url_placeholder": "http://192.168.1.100:8096", "local_url_placeholder": "http://192.168.1.100:8096",
"home_wifi_networks": "Home WiFi Networks", "home_wifi_networks": "Домашние WiFi сети",
"add_current_network": "Add \"{{ssid}}\"", "add_current_network": "Добавить \"{{ssid}}\"",
"not_connected_to_wifi": "Not connected to WiFi", "not_connected_to_wifi": "Нет WiFi соединения",
"no_networks_configured": "No networks configured", "no_networks_configured": "Нет настроенных сетей",
"add_network_hint": "Add your home WiFi network to enable auto-switching", "add_network_hint": "Добавьте вашу домашнюю сеть WiFi для включения автоматического переключения",
"current_wifi": "Current WiFi", "current_wifi": "Текущая WiFi сеть",
"using_url": "Using", "using_url": "Используется",
"local": "Local URL", "local": "Локальный",
"remote": "Remote URL", "remote": "Внешний",
"not_connected": "Not connected", "not_connected": "Нет соединения",
"current_server": "Current Server", "current_server": "Текущий сервер",
"remote_url": "Remote URL", "remote_url": "Внешний URL",
"active_url": "Active URL", "active_url": "Активный URL",
"not_configured": "Not configured", "not_configured": "Не настроено",
"network_added": "Network added", "network_added": "Сеть добавлена",
"network_already_added": "Network already added", "network_already_added": "Сеть уже добавлена",
"no_wifi_connected": "Not connected to WiFi", "no_wifi_connected": "Нет WiFi соединения",
"permission_denied": "Location permission denied", "permission_denied": "Нет доступа к местоположению",
"permission_denied_explanation": "Location permission is required to detect WiFi network for auto-switching. Please enable it in Settings." "permission_denied_explanation": "Разрешение на доступ к местоположению обязательно для обнаружения WiFi сети при автоматическом переключении. Пожалуйста, включите его в настройках."
}, },
"user_info": { "user_info": {
"user_info_title": "Информация о пользователе", "user_info_title": "Информация о пользователе",
@@ -170,22 +170,22 @@
}, },
"media_controls": { "media_controls": {
"media_controls_title": "Медиа-контроль", "media_controls_title": "Медиа-контроль",
"forward_skip_length": "Длина пропуска вперед", "forward_skip_length": "Шаг перемотки вперёд",
"rewind_length": "Длина перемотки", "rewind_length": "Шаг перемотки назад",
"seconds_unit": "c" "seconds_unit": "c"
}, },
"gesture_controls": { "gesture_controls": {
"gesture_controls_title": "Управление жестами", "gesture_controls_title": "Управление жестами",
"horizontal_swipe_skip": "Горизонтальный свайп, чтобы пропустить", "horizontal_swipe_skip": "Горизонтальный свайп для перемотки",
"horizontal_swipe_skip_description": "Проведите влево/вправо, когда элементы управления скрыты, чтобы пропустить", "horizontal_swipe_skip_description": "Проведите влево/вправо, когда элементы управления скрыты, чтобы пропустить",
"left_side_brightness": "Управление яркостью левой стороны", "left_side_brightness": "Управление яркостью левой стороны",
"left_side_brightness_description": "Смахните вверх/вниз на левой стороне для настройки яркости", "left_side_brightness_description": "Смахните вверх/вниз на левой стороне для настройки яркости",
"right_side_volume": "Управление громкостью справа", "right_side_volume": "Управление громкостью справа",
"right_side_volume_description": "Свайп вверх/вниз с правой стороны для настройки громкости", "right_side_volume_description": "Свайп вверх/вниз с правой стороны для настройки громкости",
"hide_volume_slider": "Hide Volume Slider", "hide_volume_slider": "Скрыть индикатор громкости",
"hide_volume_slider_description": "Hide the volume slider in the video player", "hide_volume_slider_description": "Скрывает индикатор громкости в плеере",
"hide_brightness_slider": "Hide Brightness Slider", "hide_brightness_slider": "Скрыть индикатор яркости",
"hide_brightness_slider_description": "Hide the brightness slider in the video player" "hide_brightness_slider_description": "Скрывает индикатор яркости в плеере"
}, },
"audio": { "audio": {
"audio_title": "Аудио", "audio_title": "Аудио",
@@ -195,17 +195,17 @@
"none": "Отсутствует", "none": "Отсутствует",
"language": "Язык", "language": "Язык",
"transcode_mode": { "transcode_mode": {
"title": "Audio Transcoding", "title": "Перекодировка аудио",
"description": "Controls how surround audio (7.1, TrueHD, DTS-HD) is handled", "description": "Управляет обработкой пространственного звука (7.1, TrueHD, DTS-HD)",
"auto": "Auto", "auto": "Авто",
"stereo": "Force Stereo", "stereo": "Принудительно в стерео",
"5_1": "Allow 5.1", "5_1": "Разрешить 5.1",
"passthrough": "Passthrough" "passthrough": "Ничего не изменять"
} }
}, },
"subtitles": { "subtitles": {
"subtitle_title": "Субтитры", "subtitle_title": "Субтитры",
"subtitle_hint": "Настроить субтитры.", "subtitle_hint": "Настройки отображения субтитров",
"subtitle_language": "Язык субтитров", "subtitle_language": "Язык субтитров",
"subtitle_mode": "Режим субтитров", "subtitle_mode": "Режим субтитров",
"set_subtitle_track": "Устанавливать субтитры из предыдущего элемента", "set_subtitle_track": "Устанавливать субтитры из предыдущего элемента",
@@ -226,24 +226,24 @@
"outline_thickness": "Толщина контура", "outline_thickness": "Толщина контура",
"background_opacity": "Прозрачность фона", "background_opacity": "Прозрачность фона",
"outline_opacity": "Прозрачность контура", "outline_opacity": "Прозрачность контура",
"bold_text": "Bold Text", "bold_text": "Жирный",
"colors": { "colors": {
"Black": "Черный", "Black": "Черный",
"Gray": "Серый", "Gray": "Серый",
"Silver": "Серебряный", "Silver": "Серебристый",
"White": "Белый", "White": "Белый",
"Maroon": "Марун", "Maroon": "Бордовый",
"Red": "Красный", "Red": "Красный",
"Fuchsia": "Fuchsia", "Fuchsia": "Пурпурный",
"Yellow": "Жёлтый", "Yellow": "Жёлтый",
"Olive": "Олив", "Olive": "Оливковый",
"Green": "Зелёный", "Green": "Зелёный",
"Teal": "Бирюзовый", "Teal": "Бирюзовый",
"Lime": "Лаймовый", "Lime": "Лаймовый",
"Purple": "Фиолетовый", "Purple": "Фиолетовый",
"Navy": "Тёмно-синий", "Navy": "Тёмно-синий",
"Blue": "Синий", "Blue": "Синий",
"Aqua": "Акваа" "Aqua": "Голубой"
}, },
"thickness": { "thickness": {
"None": "Отсутствует", "None": "Отсутствует",
@@ -251,29 +251,29 @@
"Normal": "Обычный", "Normal": "Обычный",
"Thick": "Толстый" "Thick": "Толстый"
}, },
"subtitle_color": "Subtitle Color", "subtitle_color": "Цвет субтитров",
"subtitle_background_color": "Background Color", "subtitle_background_color": "Цвет фона",
"subtitle_font": "Subtitle Font", "subtitle_font": "Шрифт субтитров",
"ksplayer_title": "KSPlayer Settings", "ksplayer_title": "Настройки KSPlayer",
"hardware_decode": "Hardware Decoding", "hardware_decode": "Аппаратное декодирование",
"hardware_decode_description": "Use hardware acceleration for video decoding. Disable if you experience playback issues." "hardware_decode_description": "Использовать аппаратное ускорение для декодирования видео. Выключите, если наблюдаете проблемы с воспроизведением."
}, },
"vlc_subtitles": { "vlc_subtitles": {
"title": "VLC Subtitle Settings", "title": "Настройки субтитров в VLC",
"hint": "Customize subtitle appearance for VLC player. Changes take effect on next playback.", "hint": "Настройте внешний вид субтитров в VLC плеере. Изменения применятся при следующем воспроизведении.",
"text_color": "Text Color", "text_color": "Цвет текста",
"background_color": "Background Color", "background_color": "Цвет фона",
"background_opacity": "Background Opacity", "background_opacity": "Прозрачность фона",
"outline_color": "Outline Color", "outline_color": "Цвет контура",
"outline_opacity": "Outline Opacity", "outline_opacity": "Прозрачность контура",
"outline_thickness": "Outline Thickness", "outline_thickness": "Толщина контура",
"bold": "Bold Text", "bold": "Жирный",
"margin": "Bottom Margin" "margin": "Отступ снизу"
}, },
"video_player": { "video_player": {
"title": "Video Player", "title": "Видеоплеер",
"video_player": "Video Player", "video_player": "Видеоплеер",
"video_player_description": "Choose which video player to use on iOS.", "video_player_description": "Выберите видеоплеер в iOS.",
"ksplayer": "KSPlayer", "ksplayer": "KSPlayer",
"vlc": "VLC" "vlc": "VLC"
}, },
@@ -294,19 +294,19 @@
"UNKNOWN": "Неизвестное" "UNKNOWN": "Неизвестное"
}, },
"safe_area_in_controls": "Безопасная зона в элементах управления", "safe_area_in_controls": "Безопасная зона в элементах управления",
"video_player": "Видео прейер", "video_player": "Видеоплеер",
"video_players": { "video_players": {
"VLC_3": "VLC 3", "VLC_3": "VLC 3",
"VLC_4": "VLC 4 (Экспериментальный + PiP)" "VLC_4": "VLC 4 (Экспериментальный + PiP)"
}, },
"show_custom_menu_links": "Показать ссылки кастомного меню", "show_custom_menu_links": "Показать ссылки кастомного меню",
"show_large_home_carousel": "Show Large Home Carousel (beta)", "show_large_home_carousel": "Показывать большую карусель (beta)",
"hide_libraries": "Скрыть библиотеки", "hide_libraries": "Скрыть библиотеки",
"select_liraries_you_want_to_hide": "Выберите Библиотеки, которое хотите спрятать из вкладки Библиотеки и домашней страницы.", "select_liraries_you_want_to_hide": "Выберите Библиотеки, которое хотите спрятать из вкладки Библиотеки и домашней страницы.",
"disable_haptic_feedback": "Отключить тактильную обратную связь", "disable_haptic_feedback": "Отключить тактильную обратную связь",
"default_quality": "Качество по умолчанию", "default_quality": "Качество по умолчанию",
"default_playback_speed": "Default Playback Speed", "default_playback_speed": "Скорость воспроизведения по умолчанию",
"auto_play_next_episode": "Auto-play Next Episode", "auto_play_next_episode": "Автоматически воспроизводить следующий эпизод",
"max_auto_play_episode_count": "Максимальное количество автовоспроизведения эпизодов", "max_auto_play_episode_count": "Максимальное количество автовоспроизведения эпизодов",
"disabled": "Отключено" "disabled": "Отключено"
}, },
@@ -314,15 +314,15 @@
"downloads_title": "Загрузки" "downloads_title": "Загрузки"
}, },
"music": { "music": {
"title": "Music", "title": "Музыка",
"playback_title": "Playback", "playback_title": "Воспроизведение",
"playback_description": "Configure how music is played.", "playback_description": "Настройте воспроизведение музыки.",
"prefer_downloaded": "Prefer Downloaded Songs", "prefer_downloaded": "Предпочитать скачанные песни",
"caching_title": "Caching", "caching_title": "Кеширование",
"caching_description": "Automatically cache upcoming tracks for smoother playback.", "caching_description": "Автоматически предкешировать следующие треки для стабильного воспроизведения.",
"lookahead_enabled": "Enable Look-Ahead Caching", "lookahead_enabled": "Включить предкеширование",
"lookahead_count": "Tracks to Pre-cache", "lookahead_count": "Сколько предкешировать",
"max_cache_size": "Max Cache Size" "max_cache_size": "Максимальное число предкешированных треков"
}, },
"plugins": { "plugins": {
"plugins_title": "Плагины", "plugins_title": "Плагины",
@@ -357,39 +357,39 @@
"save_button": "Сохранить", "save_button": "Сохранить",
"toasts": { "toasts": {
"saved": "Сохранено", "saved": "Сохранено",
"refreshed": "Settings refreshed from server" "refreshed": "Настройки обновлены с сервера"
}, },
"refresh_from_server": "Refresh Settings from Server" "refresh_from_server": "Обновить настройки с сервера"
}, },
"streamystats": { "streamystats": {
"enable_streamystats": "Enable Streamystats", "enable_streamystats": "Включить Streamystats",
"disable_streamystats": "Disable Streamystats", "disable_streamystats": "Выключить Streamystats",
"enable_search": "Use for Search", "enable_search": "Использовать в поиске",
"url": "URL", "url": "URL",
"server_url_placeholder": "http(s)://streamystats.example.com", "server_url_placeholder": "http(s)://streamystats.example.com",
"streamystats_search_hint": "Enter the URL for your Streamystats server. The URL should include http or https and optionally the port.", "streamystats_search_hint": "Введите URL вашего сервера Streamystats. URL должен включать http/https и порт при необходимости.",
"read_more_about_streamystats": "Read More About Streamystats.", "read_more_about_streamystats": "Узнать больше про Streamystats.",
"save_button": "Save", "save_button": "Сохранить",
"save": "Save", "save": "Сохранить",
"features_title": "Features", "features_title": "Функции",
"home_sections_title": "Home Sections", "home_sections_title": "Показывать на главной",
"enable_movie_recommendations": "Movie Recommendations", "enable_movie_recommendations": "Рекомендации фильмов",
"enable_series_recommendations": "Series Recommendations", "enable_series_recommendations": "Рекомендации сериалов",
"enable_promoted_watchlists": "Promoted Watchlists", "enable_promoted_watchlists": "Продвигаемые списки просмотра",
"hide_watchlists_tab": "Hide Watchlists Tab", "hide_watchlists_tab": "Скрыть вкладку со списками",
"home_sections_hint": "Show personalized recommendations and promoted watchlists from Streamystats on the home page.", "home_sections_hint": "Показывать персонализированные рекомендации и подходящие списки просмотров из Streamystats на главной странице.",
"recommended_movies": "Recommended Movies", "recommended_movies": "Рекомендованные фильмы",
"recommended_series": "Recommended Series", "recommended_series": "Рекомендованные сериалы",
"toasts": { "toasts": {
"saved": "Saved", "saved": "Сохранено",
"refreshed": "Settings refreshed from server", "refreshed": "Настройки обновлены с сервера",
"disabled": "Streamystats disabled" "disabled": "Streamystats отключен"
}, },
"refresh_from_server": "Refresh Settings from Server" "refresh_from_server": "Обновить настройки с сервера"
}, },
"kefinTweaks": { "kefinTweaks": {
"watchlist_enabler": "Enable our Watchlist integration", "watchlist_enabler": "Включить интеграцию со списками просмотра",
"watchlist_button": "Toggle Watchlist integration" "watchlist_button": "Изменить интеграцию со списками просмотра"
} }
}, },
"storage": { "storage": {
@@ -398,18 +398,18 @@
"device_usage": "Устройство {{availableSpace}}%", "device_usage": "Устройство {{availableSpace}}%",
"size_used": "{{used}} из {{total}} использовано", "size_used": "{{used}} из {{total}} использовано",
"delete_all_downloaded_files": "Удалить все загруженные файлы", "delete_all_downloaded_files": "Удалить все загруженные файлы",
"music_cache_title": "Music Cache", "music_cache_title": "Кеш музыки",
"music_cache_description": "Automatically cache songs as you listen for smoother playback and offline support", "music_cache_description": "Автоматически прекешировать песни по мере прослушивания для плавного воспроизведения и поддержки отсутствия интернета",
"enable_music_cache": "Enable Music Cache", "enable_music_cache": "Кешировать музыку",
"clear_music_cache": "Clear Music Cache", "clear_music_cache": "Очистить кеш музыки",
"music_cache_size": "{{size}} cached", "music_cache_size": "{{size}} кешировано",
"music_cache_cleared": "Music cache cleared", "music_cache_cleared": "Кеш музыки очищен",
"delete_all_downloaded_songs": "Delete All Downloaded Songs", "delete_all_downloaded_songs": "Удалить все скачанные песни",
"downloaded_songs_size": "{{size}} downloaded", "downloaded_songs_size": "{{size}} скачано",
"downloaded_songs_deleted": "Downloaded songs deleted" "downloaded_songs_deleted": "Скачанные песни удалены"
}, },
"intro": { "intro": {
"title": "Intro", "title": "Вступление",
"show_intro": "Показать вступление", "show_intro": "Показать вступление",
"reset_intro": "Сбросить вступление" "reset_intro": "Сбросить вступление"
}, },
@@ -441,24 +441,24 @@
"tvseries": "Сериалы", "tvseries": "Сериалы",
"movies": "Фильмы", "movies": "Фильмы",
"queue": "Очередь", "queue": "Очередь",
"other_media": "Другие медиа", "other_media": "Прочие файлы",
"queue_hint": "Очередь и загрузки будут удалены при перезагрузке приложения", "queue_hint": "Очередь очистится после перезапуска",
"no_items_in_queue": "Нет элементов в очереди", "no_items_in_queue": "Нет элементов в очереди",
"no_downloaded_items": "Нет загруженых предметов", "no_downloaded_items": "Нет загруженных файлов",
"delete_all_movies_button": "Удалить все фильмы", "delete_all_movies_button": "Удалить все фильмы",
"delete_all_tvseries_button": "Удалить все сериалы", "delete_all_tvseries_button": "Удалить все сериалы",
"delete_all_button": "Удалить все", "delete_all_button": "Удалить все",
"delete_all_other_media_button": "Удалить другой материал", "delete_all_other_media_button": "Удалить прочие файлы",
"active_download": "Активно загружается", "active_download": "Загружается",
"no_active_downloads": "Нет активных загрузок", "no_active_downloads": "Нет активных загрузок",
"active_downloads": "Активные загрузки", "active_downloads": "Активные",
"new_app_version_requires_re_download": "Новая версия приложения требует повторной загрузки", "new_app_version_requires_re_download": "Новая версия приложения требует повторной загрузки",
"new_app_version_requires_re_download_description": "Новая версия приложения требует повторной загрузки. Пожалуйста удалите всё и попробуйте заново.", "new_app_version_requires_re_download_description": "Новая версия приложения требует повторной загрузки. Пожалуйста удалите всё и попробуйте заново.",
"back": "Назад", "back": "Назад",
"delete": "Удалить", "delete": "Удалить",
"something_went_wrong": "Что-то пошло не так", "something_went_wrong": "Что-то пошло не так",
"could_not_get_stream_url_from_jellyfin": "Не удалось получить ссылку трансляции из Jellyfin", "could_not_get_stream_url_from_jellyfin": "Не удалось получить ссылку трансляции из Jellyfin",
"eta": "ETA {{eta}}", "eta": "Осталось {{eta}}",
"toasts": { "toasts": {
"you_are_not_allowed_to_download_files": "Нет разрешения на скачивание файлов.", "you_are_not_allowed_to_download_files": "Нет разрешения на скачивание файлов.",
"deleted_all_movies_successfully": "Все фильмы были успешно удалены!", "deleted_all_movies_successfully": "Все фильмы были успешно удалены!",
@@ -467,64 +467,64 @@
"failed_to_delete_all_tvseries": "Возникла ошибка при удалении всех сериалов", "failed_to_delete_all_tvseries": "Возникла ошибка при удалении всех сериалов",
"deleted_media_successfully": "Другие носители успешно удалены!", "deleted_media_successfully": "Другие носители успешно удалены!",
"failed_to_delete_media": "Не удалось удалить другой файл", "failed_to_delete_media": "Не удалось удалить другой файл",
"download_deleted": "Загрузка удалена", "download_deleted": "Удалено",
"download_cancelled": "Загрузка отменена", "download_cancelled": "Загрузка отменена",
"could_not_delete_download": "Не удалось удалить загрузку", "could_not_delete_download": "Не удалось удалить загрузку",
"download_paused": "Загрузка приостановлена", "download_paused": "На паузе",
"could_not_pause_download": "Не удалось приостановить загрузку", "could_not_pause_download": "Не удалось приостановить загрузку",
"download_resumed": "Загрузка возобновлена", "download_resumed": "Продолжено",
"could_not_resume_download": "Не удалось продолжить загрузку", "could_not_resume_download": "Не удалось продолжить загрузку",
"download_completed": "Загрузка завершена", "download_completed": "Завершено",
"download_failed": "Download Failed", "download_failed": "Не удалось загрузить",
"download_failed_for_item": "Загрузка {{item}} провалилась с ошибкой: {{error}}", "download_failed_for_item": "Загрузка {{item}} провалилась с ошибкой: {{error}}",
"download_completed_for_item": "{{item}} успешно загружен", "download_completed_for_item": "{{item}} успешно загружен",
"download_started_for_item": "Загрузка началась для {{item}}", "download_started_for_item": "Загрузка началась для {{item}}",
"failed_to_start_download": "Не удалось начать загрузку", "failed_to_start_download": "Не удалось начать загрузку",
"item_already_downloading": "{{item}} is already downloading", "item_already_downloading": "{{item}} уже загружается",
"all_files_deleted": "All Downloads Deleted Successfully", "all_files_deleted": "Все загрузки удалены",
"files_deleted_by_type": "{{count}} {{type}} deleted", "files_deleted_by_type": "{{count}} {{type}} удалён(о)",
"all_files_folders_and_jobs_deleted_successfully": "Все файлы, папки, и задачи были успешно удалены", "all_files_folders_and_jobs_deleted_successfully": "Все файлы, папки, и задачи были успешно удалены",
"failed_to_clean_cache_directory": "Не удалось очистить директорию кэша", "failed_to_clean_cache_directory": "Не удалось очистить директорию кэша",
"could_not_get_download_url_for_item": "Не удалось получить URL загрузки для {{itemName}}", "could_not_get_download_url_for_item": "Не удалось получить URL загрузки для {{itemName}}",
"go_to_downloads": "В загрузки", "go_to_downloads": "В загрузки",
"file_deleted": "{{item}} deleted" "file_deleted": "{{item}} удалён"
} }
} }
}, },
"common": { "common": {
"select": "Выбрать", "select": "Выбрать",
"no_trailer_available": "Прицеп недоступен", "no_trailer_available": "Трейлер недоступен",
"video": "Видео", "video": "Видео",
"audio": "Звук", "audio": "Звук",
"subtitle": "Субтитры", "subtitle": "Субтитры",
"play": "Играть", "play": "Воспроизвести",
"none": "None", "none": "Отсутствует",
"track": "Track", "track": "Трек",
"cancel": "Cancel", "cancel": "Отмена",
"delete": "Delete", "delete": "Удалить",
"ok": "OK", "ok": "ОК",
"remove": "Remove", "remove": "Удалить",
"next": "Next", "next": "Вперед",
"back": "Back", "back": "Назад",
"continue": "Continue", "continue": "Продолжить",
"verifying": "Verifying..." "verifying": "Проверка..."
}, },
"search": { "search": {
"search": "Поиск...", "search": "Поиск...",
"x_items": "{{count}} предметов", "x_items": "{{count}} элементов",
"library": "Библиотека", "library": "Библиотека",
"discover": "Найти новое", "discover": "Найти новое",
"no_results": "Нет результатов", "no_results": "Ничего не найдено",
"no_results_found_for": "Не было результатов при поиске", "no_results_found_for": "Ничего не найдено по запросу",
"movies": "Фильмы", "movies": "Фильмы",
"series": "Сериалы", "series": "Сериалы",
"episodes": "Серии", "episodes": "Серии",
"collections": "Коллекции", "collections": "Коллекции",
"actors": "Актеры", "actors": "Актеры",
"artists": "Artists", "artists": "Артисты",
"albums": "Albums", "albums": "Альбомы",
"songs": "Songs", "songs": "Песни",
"playlists": "Playlists", "playlists": "Плейлисты",
"request_movies": "Запросить фильмы", "request_movies": "Запросить фильмы",
"request_series": "Запросить сериалы", "request_series": "Запросить сериалы",
"recently_added": "Недавно добавлено", "recently_added": "Недавно добавлено",
@@ -553,7 +553,7 @@
"no_results": "Нет результатов", "no_results": "Нет результатов",
"no_libraries_found": "Библиотеки не найдены", "no_libraries_found": "Библиотеки не найдены",
"item_types": { "item_types": {
"movies": "фильмы", "movies": "Фильмы",
"series": "Сериалы", "series": "Сериалы",
"boxsets": "Коллекции", "boxsets": "Коллекции",
"items": "элементы" "items": "элементы"
@@ -571,9 +571,9 @@
"filters": { "filters": {
"genres": "Жанры", "genres": "Жанры",
"years": "Года", "years": "Года",
"sort_by": "Сортировать по", "sort_by": "Сортировка",
"filter_by": "Filter By", "filter_by": "Фильтр",
"sort_order": "Порядок сортировки", "sort_order": "Порядок",
"tags": "Тэги" "tags": "Тэги"
} }
}, },
@@ -604,14 +604,14 @@
"index": "Индекс:", "index": "Индекс:",
"continue_watching": "Продолжить просмотр", "continue_watching": "Продолжить просмотр",
"go_back": "Назад", "go_back": "Назад",
"downloaded_file_title": "You have this file downloaded", "downloaded_file_title": "Этот файл уже скачан",
"downloaded_file_message": "Do you want to play the downloaded file?", "downloaded_file_message": "Хотите воспроизвести скачанный файл?",
"downloaded_file_yes": "Yes", "downloaded_file_yes": "Да",
"downloaded_file_no": "No", "downloaded_file_no": "Нет",
"downloaded_file_cancel": "Cancel" "downloaded_file_cancel": "Отмена"
}, },
"item_card": { "item_card": {
"next_up": "Следующее", "next_up": "Далее",
"no_items_to_display": "Нет элементов для отображения", "no_items_to_display": "Нет элементов для отображения",
"cast_and_crew": "Актеры и съемочная группа", "cast_and_crew": "Актеры и съемочная группа",
"series": "Серии", "series": "Серии",
@@ -644,7 +644,7 @@
} }
}, },
"live_tv": { "live_tv": {
"next": "Следующая", "next": "Далее",
"previous": "Предыдущая", "previous": "Предыдущая",
"coming_soon": "Скоро", "coming_soon": "Скоро",
"on_now": "Сейчас в эфире", "on_now": "Сейчас в эфире",
@@ -675,7 +675,7 @@
"series_type": "Тип сериала", "series_type": "Тип сериала",
"release_dates": "Дата релиза", "release_dates": "Дата релиза",
"first_air_date": "Первая дата выхода в эфир", "first_air_date": "Первая дата выхода в эфир",
"next_air_date": "Следующая дата выхода в эфир", "next_air_date": "Ближайшая дата выхода в эфир",
"revenue": "Прибыль", "revenue": "Прибыль",
"budget": "Бюджет", "budget": "Бюджет",
"original_language": "Оригинальный язык", "original_language": "Оригинальный язык",
@@ -693,10 +693,10 @@
"number_episodes": "{{episode_number}} серий", "number_episodes": "{{episode_number}} серий",
"born": "Рожден", "born": "Рожден",
"appearances": "Появления", "appearances": "Появления",
"approve": "Approve", "approve": "Одобрить",
"decline": "Decline", "decline": "Отклонить",
"requested_by": "Requested by {{user}}", "requested_by": "Запрошено {{user}}",
"unknown_user": "Unknown User", "unknown_user": "Неизвестный пользователь",
"toasts": { "toasts": {
"jellyseer_does_not_meet_requirements": "Сервер Jellyseerr не соответствует минимальным требованиям версии! Пожалуйста, обновите до версии не ниже 2.0.0", "jellyseer_does_not_meet_requirements": "Сервер Jellyseerr не соответствует минимальным требованиям версии! Пожалуйста, обновите до версии не ниже 2.0.0",
"jellyseerr_test_failed": "Тест Jellyseerr не пройден. Попробуйте еще раз.", "jellyseerr_test_failed": "Тест Jellyseerr не пройден. Попробуйте еще раз.",
@@ -705,141 +705,141 @@
"requested_item": "Запрошено {{item}}!", "requested_item": "Запрошено {{item}}!",
"you_dont_have_permission_to_request": "У вас нет разрешения на запрос!", "you_dont_have_permission_to_request": "У вас нет разрешения на запрос!",
"something_went_wrong_requesting_media": "Что-то пошло не так при запросе медиафайлов!", "something_went_wrong_requesting_media": "Что-то пошло не так при запросе медиафайлов!",
"request_approved": "Request Approved!", "request_approved": "Запрос одобрен!",
"request_declined": "Request Declined!", "request_declined": "Запрос отклонён!",
"failed_to_approve_request": "Failed to Approve Request", "failed_to_approve_request": "Не удалось одобрить запрос",
"failed_to_decline_request": "Failed to Decline Request" "failed_to_decline_request": "Не удалось отклонить запрос"
} }
}, },
"tabs": { "tabs": {
"home": "Дом", "home": "Главная",
"search": "Поиск", "search": "Поиск",
"library": "Библиотека", "library": "Библиотека",
"custom_links": "Кастомные ссылки", "custom_links": "Ссылки",
"favorites": "Избранное" "favorites": "Избранное"
}, },
"music": { "music": {
"title": "Music", "title": "Музыка",
"tabs": { "tabs": {
"suggestions": "Suggestions", "suggestions": "Рекомендации",
"albums": "Albums", "albums": "Альбомы",
"artists": "Artists", "artists": "Исполнители",
"playlists": "Playlists", "playlists": "Плейлисты",
"tracks": "tracks" "tracks": "треки"
}, },
"filters": { "filters": {
"all": "All" "all": "Все"
}, },
"recently_added": "Recently Added", "recently_added": "Недавно добавлено",
"recently_played": "Recently Played", "recently_played": "Недавно воспроизведено",
"frequently_played": "Frequently Played", "frequently_played": "Часто играет",
"explore": "Explore", "explore": "Найти новое",
"top_tracks": "Top Tracks", "top_tracks": "Топ",
"play": "Play", "play": "Воспроизвести",
"shuffle": "Shuffle", "shuffle": "Перемешать",
"play_top_tracks": "Play Top Tracks", "play_top_tracks": "Воспроизвести топ",
"no_suggestions": "No suggestions available", "no_suggestions": "Нет рекомендаций",
"no_albums": "No albums found", "no_albums": "Альбомы не найдены",
"no_artists": "No artists found", "no_artists": "Исполнители не найдены",
"no_playlists": "No playlists found", "no_playlists": "Плейлисты не найдены",
"album_not_found": "Album not found", "album_not_found": "Альбом не найден",
"artist_not_found": "Artist not found", "artist_not_found": "Исполнитель не найден",
"playlist_not_found": "Playlist not found", "playlist_not_found": "Плейлист не найден",
"track_options": { "track_options": {
"play_next": "Play Next", "play_next": "Далее",
"add_to_queue": "Add to Queue", "add_to_queue": "Добавить в очередь",
"add_to_playlist": "Add to Playlist", "add_to_playlist": "Добавить в плейлист",
"download": "Download", "download": "Скачать",
"downloaded": "Downloaded", "downloaded": "Скачано",
"downloading": "Downloading...", "downloading": "Скачивается...",
"cached": "Cached", "cached": "Кешировано",
"delete_download": "Delete Download", "delete_download": "Удалить загрузку",
"delete_cache": "Remove from Cache", "delete_cache": "Удалить из кеша",
"go_to_artist": "Go to Artist", "go_to_artist": "К исполнителю",
"go_to_album": "Go to Album", "go_to_album": "К альбому",
"add_to_favorites": "Add to Favorites", "add_to_favorites": "В избранное",
"remove_from_favorites": "Remove from Favorites", "remove_from_favorites": "Удалить из избранного",
"remove_from_playlist": "Remove from Playlist" "remove_from_playlist": "Удалить из плейлиста"
}, },
"playlists": { "playlists": {
"create_playlist": "Create Playlist", "create_playlist": "Создать плейлист",
"playlist_name": "Playlist Name", "playlist_name": "Название плейлиста",
"enter_name": "Enter playlist name", "enter_name": "Введите название плейлиста",
"create": "Create", "create": "Создать",
"search_playlists": "Search playlists...", "search_playlists": "Поиск плейлистов...",
"added_to": "Added to {{name}}", "added_to": "Добавлено в {{name}}",
"added": "Added to playlist", "added": "Добавлено в плейлист",
"removed_from": "Removed from {{name}}", "removed_from": "Удалено из {{name}}",
"removed": "Removed from playlist", "removed": "Удалено из плейлиста",
"created": "Playlist created", "created": "Плейлист создан",
"create_new": "Create New Playlist", "create_new": "Добавить новый плейлист",
"failed_to_add": "Failed to add to playlist", "failed_to_add": "Не удалось добавить в плейлист",
"failed_to_remove": "Failed to remove from playlist", "failed_to_remove": "Не удалось удалить из плейлиста",
"failed_to_create": "Failed to create playlist", "failed_to_create": "Не удалось создать плейлист",
"delete_playlist": "Delete Playlist", "delete_playlist": "Удалить плейлист",
"delete_confirm": "Are you sure you want to delete \"{{name}}\"? This action cannot be undone.", "delete_confirm": "Вы уверены, что хотите удалить \"{{name}}\"? Это действие необратимо.",
"deleted": "Playlist deleted", "deleted": "Плейлист удалён",
"failed_to_delete": "Failed to delete playlist" "failed_to_delete": "Не удалось удалить плейлист"
}, },
"sort": { "sort": {
"title": "Sort By", "title": "Сортировка",
"alphabetical": "Alphabetical", "alphabetical": "По алфавиту",
"date_created": "Date Created" "date_created": "По дате создания"
} }
}, },
"watchlists": { "watchlists": {
"title": "Watchlists", "title": "Списки просмотров",
"my_watchlists": "My Watchlists", "my_watchlists": "Мои списки",
"public_watchlists": "Public Watchlists", "public_watchlists": "Публичные списки",
"create_title": "Create Watchlist", "create_title": "Создать список",
"edit_title": "Edit Watchlist", "edit_title": "Редактировать список",
"create_button": "Create Watchlist", "create_button": "Создать список",
"save_button": "Save Changes", "save_button": "Сохранить изменения",
"delete_button": "Delete", "delete_button": "Удалить",
"remove_button": "Remove", "remove_button": "Удалить",
"cancel_button": "Cancel", "cancel_button": "Отмена",
"name_label": "Name", "name_label": "Название",
"name_placeholder": "Enter watchlist name", "name_placeholder": "Введите название списка",
"description_label": "Description", "description_label": "Описание",
"description_placeholder": "Enter description (optional)", "description_placeholder": "Введите описание (не обязательно)",
"is_public_label": "Public Watchlist", "is_public_label": "Публичный",
"is_public_description": "Allow others to view this watchlist", "is_public_description": "Разрешить остальным пользователям видеть этот список",
"allowed_type_label": "Content Type", "allowed_type_label": "Тип контента",
"sort_order_label": "Default Sort Order", "sort_order_label": "Сортировка по умолчанию",
"empty_title": "No Watchlists", "empty_title": "Нет списков",
"empty_description": "Create your first watchlist to start organizing your media", "empty_description": "Создайте ваш первый список для управления вашими медиа",
"empty_watchlist": "This watchlist is empty", "empty_watchlist": "Этот список пуст",
"empty_watchlist_hint": "Add items from your library to this watchlist", "empty_watchlist_hint": "Добавляйте элементы из библиотеки в этот список",
"not_configured_title": "Streamystats Not Configured", "not_configured_title": "Streamystats не настроен",
"not_configured_description": "Configure Streamystats in settings to use watchlists", "not_configured_description": "Настройте Streamystats для использования функционала списков",
"go_to_settings": "Go to Settings", "go_to_settings": "В настройки",
"add_to_watchlist": "Add to Watchlist", "add_to_watchlist": "Добавить в список просмотра",
"remove_from_watchlist": "Remove from Watchlist", "remove_from_watchlist": "Удалить из списка просмотра",
"select_watchlist": "Select Watchlist", "select_watchlist": "Выбрать список",
"create_new": "Create New Watchlist", "create_new": "Создать новый список",
"item": "item", "item": "элемент",
"items": "items", "items": "элементы",
"public": "Public", "public": "Публичный",
"private": "Private", "private": "Личный",
"you": "You", "you": "Ваш",
"by_owner": "By another user", "by_owner": "Другим пользователем",
"not_found": "Watchlist not found", "not_found": "Список не найден",
"delete_confirm_title": "Delete Watchlist", "delete_confirm_title": "Удалить список",
"delete_confirm_message": "Are you sure you want to delete \"{{name}}\"? This action cannot be undone.", "delete_confirm_message": "Вы уверены, что хотите удалить список \"{{name}}\"? Это действие необратимо.",
"remove_item_title": "Remove from Watchlist", "remove_item_title": "Удалить из списка",
"remove_item_message": "Remove \"{{name}}\" from this watchlist?", "remove_item_message": "Удалить \"{{name}}\" из списка?",
"loading": "Loading watchlists...", "loading": "Загрузка списков...",
"no_compatible_watchlists": "No compatible watchlists", "no_compatible_watchlists": "Нет совместимых списков",
"create_one_first": "Create a watchlist that accepts this content type" "create_one_first": "Создайте список просмотра с подходящим типом контента"
}, },
"playback_speed": { "playback_speed": {
"title": "Playback Speed", "title": "Скорость воспроизведения",
"apply_to": "Apply To", "apply_to": "Применять к",
"speed": "Speed", "speed": "Скорость",
"scope": { "scope": {
"media": "This media only", "media": "Только в этот раз",
"show": "This show", "show": "Ко всему сериалу",
"all": "All media (default)" "all": "Ко всем файлам (по умолчанию)"
} }
} }
} }

View File

@@ -7,88 +7,88 @@
"username_placeholder": "Kullanıcı adı", "username_placeholder": "Kullanıcı adı",
"password_placeholder": "Şifre", "password_placeholder": "Şifre",
"login_button": "Giriş yap", "login_button": "Giriş yap",
"quick_connect": "Hızlı Bağlantı", "quick_connect": "Hızlı Bağlan",
"enter_code_to_login": "Giriş yapmak için {{code}} kodunu girin", "enter_code_to_login": "Giriş yapmak için {{code}} kodunu girin",
"failed_to_initiate_quick_connect": "Quick Connect başlatılamadı", "failed_to_initiate_quick_connect": "Hızlı Bağlan başlatılamadı",
"got_it": "Anlaşıldı", "got_it": "Anlaşıldı",
"connection_failed": "Bağlantı başarısız", "connection_failed": "Bağlantı başarısız",
"could_not_connect_to_server": "Sunucuya bağlanılamadı. Lütfen URL'yi ve ağ bağlantınızı kontrol edin", "could_not_connect_to_server": "Sunucuya bağlanılamadı. Lütfen URL'yi ve ağ bağlantınızı kontrol edin.",
"an_unexpected_error_occured": "Beklenmedik bir hata oluştu", "an_unexpected_error_occured": "Beklenmedik bir hata oluştu",
"change_server": "Sunucuyu değiştir", "change_server": "Sunucu değiştir",
"invalid_username_or_password": "Geçersiz kullanıcı adı veya şifre", "invalid_username_or_password": "Geçersiz kullanıcı adı veya şifre",
"user_does_not_have_permission_to_log_in": "Kullanıcının giriş yapma izni yok", "user_does_not_have_permission_to_log_in": "Kullanıcının giriş yapma izni yok",
"server_is_taking_too_long_to_respond_try_again_later": "Sunucu yanıt vermekte çok uzun sürüyor, lütfen tekrar deneyin", "server_is_taking_too_long_to_respond_try_again_later": "Sunucunun yanıt vermesi çok uzun sürüyor, lütfen daha sonra tekrar deneyin",
"server_received_too_many_requests_try_again_later": "Sunucu çok fazla istek aldı, lütfen tekrar deneyin.", "server_received_too_many_requests_try_again_later": "Sunucu çok fazla istek aldı, lütfen daha sonra tekrar deneyin.",
"there_is_a_server_error": "Sunucu hatası var", "there_is_a_server_error": "Sunucu hatası var",
"an_unexpected_error_occured_did_you_enter_the_correct_url": "Beklenmedik bir hata oluştu. Sunucu URL'sini doğru girdiğinizden emin oldunuz mu?", "an_unexpected_error_occured_did_you_enter_the_correct_url": "Beklenmedik bir hata oluştu. Sunucu URL'sini doğru girdiğinizden emin misiniz?",
"too_old_server_text": "Unsupported Jellyfin Server Discovered", "too_old_server_text": "Desteklenmeyen Jellyfin Sunucu sürümü bulundu.",
"too_old_server_description": "Please update Jellyfin to the latest version" "too_old_server_description": "Lütfen Jellyfin'i en son sürüme güncelleyin."
}, },
"server": { "server": {
"enter_url_to_jellyfin_server": "Jellyfin sunucunusun URL'sini girin", "enter_url_to_jellyfin_server": "Jellyfin sunucunusun URL adresini girin",
"server_url_placeholder": "http(s)://sunucunuz.com", "server_url_placeholder": "http(s)://sunucunuz.com",
"connect_button": "Bağlan", "connect_button": "Bağlan",
"previous_servers": "Önceki sunucular", "previous_servers": "Önceki sunucular",
"clear_button": "Temizle", "clear_button": "Temizle",
"swipe_to_remove": "Swipe to remove", "swipe_to_remove": "Kaldırmak için kaydırın",
"search_for_local_servers": "Yerel sunucuları ara", "search_for_local_servers": "Yerel sunucuları ara",
"searching": "Aranıyor...", "searching": "Aranıyor...",
"servers": "Sunucular", "servers": "Sunucular",
"saved": "Saved", "saved": "Kaydedildi",
"session_expired": "Session Expired", "session_expired": "Oturum süresi doldu",
"please_login_again": "Your saved session has expired. Please log in again.", "please_login_again": "Kaydedilmiş oturumunuzun süresi doldu. Lütfen tekrar giriş yapın.",
"remove_saved_login": "Remove Saved Login", "remove_saved_login": "Kayıtlı oturumu kaldır",
"remove_saved_login_description": "This will remove your saved credentials for this server. You'll need to enter your username and password again next time.", "remove_saved_login_description": "Bu sunucu için kaydedilmiş kimlik bilgileriniz kaldırılacaktır. Bir sonraki sefere kullanıcı adı ve şifrenizi yeniden girmeniz gerekecek.",
"accounts_count": "{{count}} accounts", "accounts_count": "{{count}} hesap",
"select_account": "Select Account", "select_account": "Hesap Seç",
"add_account": "Add Account", "add_account": "Hesap Ekle",
"remove_account_description": "This will remove the saved credentials for {{username}}." "remove_account_description": "{{username}} için kayıtlı bilgiler kaldırılacaktır."
}, },
"save_account": { "save_account": {
"title": "Save Account", "title": "Hesabı Kaydet",
"save_for_later": "Save this account", "save_for_later": "Bu hesabı kaydet",
"security_option": "Security Option", "security_option": "Güvenlik Seçeneği",
"no_protection": "No protection", "no_protection": "No protection",
"no_protection_desc": "Quick login without authentication", "no_protection_desc": "Kimlik doğrulamasız hızlı giriş",
"pin_code": "PIN code", "pin_code": "PIN kodu",
"pin_code_desc": "4-digit PIN required when switching", "pin_code_desc": "Geçiş yaparken 4 haneli PIN kodu gereklidir",
"password": "Re-enter password", "password": "Şifrenizi tekrar girin ",
"password_desc": "Password required when switching", "password_desc": "Geçiş yaparken şifre gereklidir",
"save_button": "Save", "save_button": "Kaydet",
"cancel_button": "Cancel" "cancel_button": "Vazgeç"
}, },
"pin": { "pin": {
"enter_pin": "Enter PIN", "enter_pin": "PIN kodunu girin",
"enter_pin_for": "Enter PIN for {{username}}", "enter_pin_for": "{{username}} için PIN kodunu girin",
"enter_4_digits": "Enter 4 digits", "enter_4_digits": "4 hane girin",
"invalid_pin": "Invalid PIN", "invalid_pin": "Geçersiz PIN kodu",
"setup_pin": "Set Up PIN", "setup_pin": "PIN kodunu ayarla",
"confirm_pin": "Confirm PIN", "confirm_pin": "PIN kodunu onayla",
"pins_dont_match": "PINs don't match", "pins_dont_match": "PIN kodları eşleşmiyor",
"forgot_pin": "Forgot PIN?", "forgot_pin": "PIN kodunu mu unuttunuz?",
"forgot_pin_desc": "Your saved credentials will be removed" "forgot_pin_desc": "Kayıtlı bilgileriniz kaldırılacaktır"
}, },
"password": { "password": {
"enter_password": "Enter Password", "enter_password": "Şifrenizi girin",
"enter_password_for": "Enter password for {{username}}", "enter_password_for": "{{username}} için şifrenizi girin",
"invalid_password": "Invalid password" "invalid_password": "Geçersiz şifre"
}, },
"home": { "home": {
"checking_server_connection": "Checking server connection...", "checking_server_connection": "Sunucu bağlantısı kontrol ediliyor...",
"no_internet": "İnternet Yok", "no_internet": "İnternet Yok",
"no_items": "Öge Yok", "no_items": "Öge Yok",
"no_internet_message": "Endişelenmeyin, hala\ndownloaded içerik izleyebilirsiniz.", "no_internet_message": "Endişelenmeyin, indirilmiş içerikleri izleyebilirsiniz.",
"checking_server_connection_message": "Checking connection to server", "checking_server_connection_message": "Sunucuya bağlantı kontrol ediliyor",
"go_to_downloads": "İndirmelere Git", "go_to_downloads": "İndirilenlere git",
"retry": "Retry", "retry": "Tekrar dene",
"server_unreachable": "Server Unreachable", "server_unreachable": "Sunucuya ulaşılamıyor",
"server_unreachable_message": "Could not reach the server.\nPlease check your network connection.", "server_unreachable_message": "Sunucuya bağlanılamadı. Lütfen ağ bağlantınızı kontrol edin.",
"oops": "Hups!", "oops": "Hups!",
"error_message": "Bir şeyler ters gitti.\nLütfen çıkış yapın ve tekrar giriş yapın.", "error_message": "Bir şeyler ters gitti.\nLütfen çıkış yapıp tekrar giriş yapın.",
"continue_watching": "İzlemeye Devam Et", "continue_watching": "İzlemeye Devam Et",
"next_up": "Sonraki", "next_up": "Sonraki",
"continue_and_next_up": "Continue & Next Up", "continue_and_next_up": "İzlemeye Devam Et & Sıradakiler",
"recently_added_in": "{{libraryName}}'de Yakınlarda Eklendi", "recently_added_in": "{{libraryName}} Kütüphanesine Son Eklenenler",
"suggested_movies": "Önerilen Filmler", "suggested_movies": "Önerilen Filmler",
"suggested_episodes": "Önerilen Bölümler", "suggested_episodes": "Önerilen Bölümler",
"intro": { "intro": {
@@ -110,52 +110,52 @@
"settings_title": "Ayarlar", "settings_title": "Ayarlar",
"log_out_button": ıkış Yap", "log_out_button": ıkış Yap",
"categories": { "categories": {
"title": "Categories" "title": "Kategoriler"
}, },
"playback_controls": { "playback_controls": {
"title": "Playback & Controls" "title": "Oynatma & Kontroller"
}, },
"audio_subtitles": { "audio_subtitles": {
"title": "Audio & Subtitles" "title": "Ses & Altyazılar"
}, },
"appearance": { "appearance": {
"title": "Appearance", "title": "Görünüm",
"merge_next_up_continue_watching": "Merge Continue Watching & Next Up", "merge_next_up_continue_watching": "İzlemeye Devam Et & Sıradakiler'i birleştir",
"hide_remote_session_button": "Hide Remote Session Button" "hide_remote_session_button": "Uzak Oturum Butonunu Gizle"
}, },
"network": { "network": {
"title": "Network", "title": "",
"local_network": "Local Network", "local_network": "Yerel Ağ",
"auto_switch_enabled": "Auto-switch when at home", "auto_switch_enabled": "Evdeyken otomatik geçiş yap",
"auto_switch_description": "Automatically switch to local URL when connected to home WiFi", "auto_switch_description": "Ev WiFi'sine bağlanınca otomatik olarak yerek URL adresine geçiş yap",
"local_url": "Local URL", "local_url": "Yerel URL Adresi",
"local_url_hint": "Enter your local server address (e.g., http://192.168.1.100:8096)", "local_url_hint": "Yerel sunucu adresinizi girin (http://192.168.1.100:8096, gibi)",
"local_url_placeholder": "http://192.168.1.100:8096", "local_url_placeholder": "http://192.168.1.100:8096",
"home_wifi_networks": "Home WiFi Networks", "home_wifi_networks": "Ev WiFi ağları",
"add_current_network": "Add \"{{ssid}}\"", "add_current_network": "\"{{ssid}}\"'yi ekle",
"not_connected_to_wifi": "Not connected to WiFi", "not_connected_to_wifi": "WiFi'a bağlı değil",
"no_networks_configured": "No networks configured", "no_networks_configured": "Herhangi bir ağ ayarlanmadı",
"add_network_hint": "Add your home WiFi network to enable auto-switching", "add_network_hint": "Otomatik geçişi etkinleştirmek için ev WiFi'nizi ekleyin",
"current_wifi": "Current WiFi", "current_wifi": "Şu anki WiFi",
"using_url": "Using", "using_url": "Kullanılıyor",
"local": "Local URL", "local": "Yerel URL Adresi",
"remote": "Remote URL", "remote": "Uzak URL Adresi",
"not_connected": "Not connected", "not_connected": "Bağlı değil",
"current_server": "Current Server", "current_server": "Geçerli Sunucu",
"remote_url": "Remote URL", "remote_url": "Uzak URL Adresi",
"active_url": "Active URL", "active_url": "Aktif URL Adresi",
"not_configured": "Not configured", "not_configured": "Yapılandırılmamış",
"network_added": "Network added", "network_added": "Ağ eklendi",
"network_already_added": "Network already added", "network_already_added": "Ağ zaten eklendi",
"no_wifi_connected": "Not connected to WiFi", "no_wifi_connected": "WiFi'a bağlı değil",
"permission_denied": "Location permission denied", "permission_denied": "Konum izni reddedildi",
"permission_denied_explanation": "Location permission is required to detect WiFi network for auto-switching. Please enable it in Settings." "permission_denied_explanation": "Otomatik geçiş yapabilmek için WiFi ağını algılayabilmek için konum izni gereklidir. Lütfen Ayarlarda etkinleştirin."
}, },
"user_info": { "user_info": {
"user_info_title": "Kullanıcı Bilgisi", "user_info_title": "Kullanıcı Bilgisi",
"user": "Kullanıcı", "user": "Kullanıcı",
"server": "Sunucu", "server": "Sunucu",
"token": "Token", "token": "Erişim Anahtarı",
"app_version": "Uygulama Sürümü" "app_version": "Uygulama Sürümü"
}, },
"quick_connect": { "quick_connect": {
@@ -172,20 +172,20 @@
"media_controls_title": "Medya Kontrolleri", "media_controls_title": "Medya Kontrolleri",
"forward_skip_length": "İleri Sarma Uzunluğu", "forward_skip_length": "İleri Sarma Uzunluğu",
"rewind_length": "Geri Sarma Uzunluğu", "rewind_length": "Geri Sarma Uzunluğu",
"seconds_unit": "s" "seconds_unit": "sn"
}, },
"gesture_controls": { "gesture_controls": {
"gesture_controls_title": "Gesture Controls", "gesture_controls_title": "Hareketle Kontrol",
"horizontal_swipe_skip": "Horizontal Swipe to Skip", "horizontal_swipe_skip": "Atlamak için yatay kaydırma",
"horizontal_swipe_skip_description": "Swipe left/right when controls are hidden to skip", "horizontal_swipe_skip_description": "Kontroller gizliyken sola/sağa kaydırarak atlama",
"left_side_brightness": "Left Side Brightness Control", "left_side_brightness": "Sol Taraf Parlaklık Kontrolü",
"left_side_brightness_description": "Swipe up/down on left side to adjust brightness", "left_side_brightness_description": "Sol tarafta aşağı/yukarı kaydırarak parlaklık ayarı",
"right_side_volume": "Right Side Volume Control", "right_side_volume": "Sağ Taraf Ses Kontrolü",
"right_side_volume_description": "Swipe up/down on right side to adjust volume", "right_side_volume_description": "Sağ tarafta aşağı/yukarı kaydırarak ses ayarı",
"hide_volume_slider": "Hide Volume Slider", "hide_volume_slider": "Ses Ayarını Gizle",
"hide_volume_slider_description": "Hide the volume slider in the video player", "hide_volume_slider_description": "Video oynatıcıda ses ayarını gizle",
"hide_brightness_slider": "Hide Brightness Slider", "hide_brightness_slider": "Parlaklık Ayarını Gizle",
"hide_brightness_slider_description": "Hide the brightness slider in the video player" "hide_brightness_slider_description": "Video oynatıcıda parlaklık ayarını gizle"
}, },
"audio": { "audio": {
"audio_title": "Ses", "audio_title": "Ses",
@@ -195,12 +195,12 @@
"none": "Yok", "none": "Yok",
"language": "Dil", "language": "Dil",
"transcode_mode": { "transcode_mode": {
"title": "Audio Transcoding", "title": "Ses Kod Dönüştürmesi",
"description": "Controls how surround audio (7.1, TrueHD, DTS-HD) is handled", "description": "Surround sesin (7.1, TrueHD, DTS-HD) nasıl işleneceğini kontrol eder.",
"auto": "Auto", "auto": "Oto",
"stereo": "Force Stereo", "stereo": "Stereo'ya zorla",
"5_1": "Allow 5.1", "5_1": "5.1'e izin ver",
"passthrough": "Passthrough" "passthrough": "Doğrudan geçiş"
} }
}, },
"subtitles": { "subtitles": {
@@ -220,60 +220,60 @@
"None": "Yok", "None": "Yok",
"OnlyForced": "Sadece Zorunlu" "OnlyForced": "Sadece Zorunlu"
}, },
"text_color": "Text Color", "text_color": "Metin Rengi",
"background_color": "Background Color", "background_color": "Arkaplan Rengi",
"outline_color": "Outline Color", "outline_color": "Kenarlık Rengi",
"outline_thickness": "Outline Thickness", "outline_thickness": "Kenarlık kalınlığı",
"background_opacity": "Background Opacity", "background_opacity": "Arkaplan Opaklığı",
"outline_opacity": "Outline Opacity", "outline_opacity": "Kenarlık Opaklığı",
"bold_text": "Bold Text", "bold_text": "Kalın Metin",
"colors": { "colors": {
"Black": "Black", "Black": "Siyah",
"Gray": "Gray", "Gray": "Gri",
"Silver": "Silver", "Silver": "Gümüş",
"White": "White", "White": "Beyaz",
"Maroon": "Maroon", "Maroon": "Kestane",
"Red": "Red", "Red": "Kırmızı",
"Fuchsia": "Fuchsia", "Fuchsia": "Fuşya",
"Yellow": "Yellow", "Yellow": "Sarı",
"Olive": "Olive", "Olive": "Zeytin yeşili",
"Green": "Green", "Green": "Yeşil",
"Teal": "Teal", "Teal": "Deniz mavisi",
"Lime": "Lime", "Lime": "Limon",
"Purple": "Purple", "Purple": "Mor",
"Navy": "Navy", "Navy": "Lacivert",
"Blue": "Blue", "Blue": "Mavi",
"Aqua": "Aqua" "Aqua": "Açık Mavi"
}, },
"thickness": { "thickness": {
"None": "Hiçbiri", "None": "Hiçbiri",
"Thin": "Thin", "Thin": "İnce",
"Normal": "Normal", "Normal": "Normal",
"Thick": "Thick" "Thick": "Kalın"
}, },
"subtitle_color": "Subtitle Color", "subtitle_color": "Altyazı Rengi",
"subtitle_background_color": "Background Color", "subtitle_background_color": "Arkaplan Rengi",
"subtitle_font": "Subtitle Font", "subtitle_font": "Altyazı Yazı Tipi",
"ksplayer_title": "KSPlayer Settings", "ksplayer_title": "KSPlayer Ayarları",
"hardware_decode": "Hardware Decoding", "hardware_decode": "Donanımsal Kod Çözme",
"hardware_decode_description": "Use hardware acceleration for video decoding. Disable if you experience playback issues." "hardware_decode_description": "Video kod çözme için donanımsal hızlandırma kullan. Oynatma sorunları yaşıyorsanız devre dışı bırakın."
}, },
"vlc_subtitles": { "vlc_subtitles": {
"title": "VLC Subtitle Settings", "title": "VLC Altyazı Ayarları",
"hint": "Customize subtitle appearance for VLC player. Changes take effect on next playback.", "hint": "VLC oynatıcı için altyazı görünümünü değiştirin. Değişiklikler bir sonraki oynatmada etkili olacak.",
"text_color": "Text Color", "text_color": "Metin Rengi",
"background_color": "Background Color", "background_color": "Arkaplan Rengi",
"background_opacity": "Background Opacity", "background_opacity": "Arkaplan Opaklığı",
"outline_color": "Outline Color", "outline_color": "Kenarlık Rengi",
"outline_opacity": "Outline Opacity", "outline_opacity": "Kenarlık Opaklığı",
"outline_thickness": "Outline Thickness", "outline_thickness": "Kenarlık Kalınlığı",
"bold": "Bold Text", "bold": "Kalın Metin",
"margin": "Bottom Margin" "margin": "Alt Kenar Boşluğu"
}, },
"video_player": { "video_player": {
"title": "Video Player", "title": "Video oynatıcısı",
"video_player": "Video Player", "video_player": "Video oynatıcısı",
"video_player_description": "Choose which video player to use on iOS.", "video_player_description": "iOS'da hangi video oynatıcının kullanılacağını seçin.",
"ksplayer": "KSPlayer", "ksplayer": "KSPlayer",
"vlc": "VLC" "vlc": "VLC"
}, },
@@ -297,7 +297,7 @@
"video_player": "Video player", "video_player": "Video player",
"video_players": { "video_players": {
"VLC_3": "VLC 3", "VLC_3": "VLC 3",
"VLC_4": "VLC 4 (Experimental + PiP)" "VLC_4": "VLC 4 (Deneysel + PiP)"
}, },
"show_custom_menu_links": "Özel Menü Bağlantılarını Göster", "show_custom_menu_links": "Özel Menü Bağlantılarını Göster",
"show_large_home_carousel": "Show Large Home Carousel (beta)", "show_large_home_carousel": "Show Large Home Carousel (beta)",
@@ -305,24 +305,24 @@
"select_liraries_you_want_to_hide": "Kütüphane sekmesinden ve ana sayfa bölümlerinden gizlemek istediğiniz kütüphaneleri seçin.", "select_liraries_you_want_to_hide": "Kütüphane sekmesinden ve ana sayfa bölümlerinden gizlemek istediğiniz kütüphaneleri seçin.",
"disable_haptic_feedback": "Dokunsal Geri Bildirimi Devre Dışı Bırak", "disable_haptic_feedback": "Dokunsal Geri Bildirimi Devre Dışı Bırak",
"default_quality": "Varsayılan kalite", "default_quality": "Varsayılan kalite",
"default_playback_speed": "Default Playback Speed", "default_playback_speed": "Varsayılan Oynatma Hızı",
"auto_play_next_episode": "Auto-play Next Episode", "auto_play_next_episode": "Otomatik Sonraki Bölümü Oynat",
"max_auto_play_episode_count": "Max Auto Play Episode Count", "max_auto_play_episode_count": "En Fazla Otomatik Oynatılacak Bölüm Sayısı",
"disabled": "Devre dışı" "disabled": "Devre dışı"
}, },
"downloads": { "downloads": {
"downloads_title": "İndirmeler" "downloads_title": "İndirmeler"
}, },
"music": { "music": {
"title": "Music", "title": "Müzik",
"playback_title": "Playback", "playback_title": "Oynatma",
"playback_description": "Configure how music is played.", "playback_description": "Müziğin nasıl çalınacağını ayarlayın.",
"prefer_downloaded": "Prefer Downloaded Songs", "prefer_downloaded": "İndirilmiş Şarkıları Tercih Et",
"caching_title": "Caching", "caching_title": "Önbellekleme",
"caching_description": "Automatically cache upcoming tracks for smoother playback.", "caching_description": "Akıcı oynatım için gelecek şarkıları otomatik önbelleğe al.",
"lookahead_enabled": "Enable Look-Ahead Caching", "lookahead_enabled": "Enable Look-Ahead Caching",
"lookahead_count": "Tracks to Pre-cache", "lookahead_count": "Önden Önbelleklenecek Parça Sayısı",
"max_cache_size": "Max Cache Size" "max_cache_size": "Maksimum Önbellek Boyutu"
}, },
"plugins": { "plugins": {
"plugins_title": "Eklentiler", "plugins_title": "Eklentiler",
@@ -345,7 +345,7 @@
"order_by": { "order_by": {
"DEFAULT": "Varsayılan", "DEFAULT": "Varsayılan",
"VOTE_COUNT_AND_AVERAGE": "Vote count and average", "VOTE_COUNT_AND_AVERAGE": "Vote count and average",
"POPULARITY": "Popularity" "POPULARITY": "Popülerlik"
} }
}, },
"marlin_search": { "marlin_search": {
@@ -357,35 +357,35 @@
"save_button": "Kaydet", "save_button": "Kaydet",
"toasts": { "toasts": {
"saved": "Kaydedildi", "saved": "Kaydedildi",
"refreshed": "Settings refreshed from server" "refreshed": "Ayarlar sunucudan yeniden alındı"
}, },
"refresh_from_server": "Refresh Settings from Server" "refresh_from_server": "Ayarları Sunucudan Yeniden Al"
}, },
"streamystats": { "streamystats": {
"enable_streamystats": "Enable Streamystats", "enable_streamystats": "Streamystats'ı Etkinleştir",
"disable_streamystats": "Disable Streamystats", "disable_streamystats": "Streamystats'ı Devre Dışı Bırak",
"enable_search": "Use for Search", "enable_search": "Arama için kullan",
"url": "URL", "url": "URL Adresi",
"server_url_placeholder": "http(s)://streamystats.example.com", "server_url_placeholder": "http(s)://streamystats.example.com",
"streamystats_search_hint": "Enter the URL for your Streamystats server. The URL should include http or https and optionally the port.", "streamystats_search_hint": "Streamystats sunucu URL'sini girin. URL, http veya https içermeli ve isteğe bağlı olarak portu içerebilir.",
"read_more_about_streamystats": "Read More About Streamystats.", "read_more_about_streamystats": "Streamystats hakkında daha fazla bilgi.",
"save_button": "Save", "save_button": "Kaydet",
"save": "Save", "save": "Kaydet",
"features_title": "Features", "features_title": "Özellikler",
"home_sections_title": "Home Sections", "home_sections_title": "Home Sections",
"enable_movie_recommendations": "Movie Recommendations", "enable_movie_recommendations": "Film Önerileri",
"enable_series_recommendations": "Series Recommendations", "enable_series_recommendations": "Dizi Önerileri",
"enable_promoted_watchlists": "Promoted Watchlists", "enable_promoted_watchlists": "Promoted Watchlists",
"hide_watchlists_tab": "Hide Watchlists Tab", "hide_watchlists_tab": "Hide Watchlists Tab",
"home_sections_hint": "Show personalized recommendations and promoted watchlists from Streamystats on the home page.", "home_sections_hint": "Show personalized recommendations and promoted watchlists from Streamystats on the home page.",
"recommended_movies": "Recommended Movies", "recommended_movies": "Önerilen Filmler",
"recommended_series": "Recommended Series", "recommended_series": "Önerilen Diziler",
"toasts": { "toasts": {
"saved": "Saved", "saved": "Kaydedildi",
"refreshed": "Settings refreshed from server", "refreshed": "Ayarlar sunucudan yeniden alındı",
"disabled": "Streamystats disabled" "disabled": "Streamystats devre dışı"
}, },
"refresh_from_server": "Refresh Settings from Server" "refresh_from_server": "Ayarları Sunucudan Yeniden Al"
}, },
"kefinTweaks": { "kefinTweaks": {
"watchlist_enabler": "Enable our Watchlist integration", "watchlist_enabler": "Enable our Watchlist integration",
@@ -398,18 +398,18 @@
"device_usage": "Cihaz {{availableSpace}}%", "device_usage": "Cihaz {{availableSpace}}%",
"size_used": "{{used}} / {{total}} kullanıldı", "size_used": "{{used}} / {{total}} kullanıldı",
"delete_all_downloaded_files": "Tüm indirilen dosyaları sil", "delete_all_downloaded_files": "Tüm indirilen dosyaları sil",
"music_cache_title": "Music Cache", "music_cache_title": "Müzik Ön Belleği",
"music_cache_description": "Automatically cache songs as you listen for smoother playback and offline support", "music_cache_description": "Automatically cache songs as you listen for smoother playback and offline support",
"enable_music_cache": "Enable Music Cache", "enable_music_cache": "Müzik Ön Belleğini Etkinleştir",
"clear_music_cache": "Clear Music Cache", "clear_music_cache": "Müzik Ön Belleğini Temizle",
"music_cache_size": "{{size}} cached", "music_cache_size": "{{size}} ön belleklendi",
"music_cache_cleared": "Music cache cleared", "music_cache_cleared": "Müzik ön belleği temizlendi",
"delete_all_downloaded_songs": "Delete All Downloaded Songs", "delete_all_downloaded_songs": "Tüm İndirilen Müzikleri Sil",
"downloaded_songs_size": "{{size}} downloaded", "downloaded_songs_size": "{{size}} indirildi",
"downloaded_songs_deleted": "Downloaded songs deleted" "downloaded_songs_deleted": "İndirilen müzikler silindi"
}, },
"intro": { "intro": {
"title": "Intro", "title": "Giriş",
"show_intro": "Tanıtımı Göster", "show_intro": "Tanıtımı Göster",
"reset_intro": "Tanıtımı Sıfırla" "reset_intro": "Tanıtımı Sıfırla"
}, },
@@ -417,7 +417,7 @@
"logs_title": "Günlükler", "logs_title": "Günlükler",
"export_logs": "Export logs", "export_logs": "Export logs",
"click_for_more_info": "Click for more info", "click_for_more_info": "Click for more info",
"level": "Level", "level": "Düzey",
"no_logs_available": "Günlükler mevcut değil", "no_logs_available": "Günlükler mevcut değil",
"delete_all_logs": "Tüm günlükleri sil" "delete_all_logs": "Tüm günlükleri sil"
}, },
@@ -433,22 +433,22 @@
} }
}, },
"sessions": { "sessions": {
"title": "Sessions", "title": "Oturumlar",
"no_active_sessions": "No Active Sessions" "no_active_sessions": "Aktif Oturum Yok"
}, },
"downloads": { "downloads": {
"downloads_title": "İndirilenler", "downloads_title": "İndirilenler",
"tvseries": "Diziler", "tvseries": "Diziler",
"movies": "Filmler", "movies": "Filmler",
"queue": "Sıra", "queue": "Sıra",
"other_media": "Other media", "other_media": "Diğer medya",
"queue_hint": "Sıra ve indirmeler uygulama yeniden başlatıldığında kaybolacaktır", "queue_hint": "Sıra ve indirmeler uygulama yeniden başlatıldığında kaybolacaktır",
"no_items_in_queue": "Sırada öğe yok", "no_items_in_queue": "Sırada öğe yok",
"no_downloaded_items": "İndirilen öğe yok", "no_downloaded_items": "İndirilen öğe yok",
"delete_all_movies_button": "Tüm Filmleri Sil", "delete_all_movies_button": "Tüm Filmleri Sil",
"delete_all_tvseries_button": "Tüm Dizileri Sil", "delete_all_tvseries_button": "Tüm Dizileri Sil",
"delete_all_button": "Tümünü Sil", "delete_all_button": "Tümünü Sil",
"delete_all_other_media_button": "Delete other media", "delete_all_other_media_button": "Diğer medyayı sil",
"active_download": "Aktif indirme", "active_download": "Aktif indirme",
"no_active_downloads": "Aktif indirme yok", "no_active_downloads": "Aktif indirme yok",
"active_downloads": "Aktif indirmeler", "active_downloads": "Aktif indirmeler",
@@ -465,49 +465,49 @@
"failed_to_delete_all_movies": "Filmler silinemedi", "failed_to_delete_all_movies": "Filmler silinemedi",
"deleted_all_tvseries_successfully": "Tüm diziler başarıyla silindi!", "deleted_all_tvseries_successfully": "Tüm diziler başarıyla silindi!",
"failed_to_delete_all_tvseries": "Diziler silinemedi", "failed_to_delete_all_tvseries": "Diziler silinemedi",
"deleted_media_successfully": "Deleted other media Successfully!", "deleted_media_successfully": "Diğer medya başarıyla silindi!",
"failed_to_delete_media": "Failed to Delete other media", "failed_to_delete_media": "Failed to Delete other media",
"download_deleted": "Download Deleted", "download_deleted": "İndirme silindi",
"download_cancelled": "İndirme iptal edildi", "download_cancelled": "İndirme iptal edildi",
"could_not_delete_download": "Could Not Delete Download", "could_not_delete_download": "İndirme Silinemedi",
"download_paused": "Download Paused", "download_paused": "İndirme Duraklatıldı",
"could_not_pause_download": "Could Not Pause Download", "could_not_pause_download": "İndirme Duraklatılamadı",
"download_resumed": "Download Resumed", "download_resumed": "İndirme Devam Ediyor",
"could_not_resume_download": "Could Not Resume Download", "could_not_resume_download": "İndirme Devam Ettirilemedi",
"download_completed": "İndirme tamamlandı", "download_completed": "İndirme tamamlandı",
"download_failed": "Download Failed", "download_failed": "İndirme başarısız oldu",
"download_failed_for_item": "{{item}} için indirme başarısız oldu - {{error}}", "download_failed_for_item": "{{item}} için indirme başarısız oldu - {{error}}",
"download_completed_for_item": "{{item}} için indirme tamamlandı", "download_completed_for_item": "{{item}} için indirme tamamlandı",
"download_started_for_item": "Download Started for {{item}}", "download_started_for_item": "{{item}} için indirme başladı",
"failed_to_start_download": "Failed to start download", "failed_to_start_download": "İndirme başlatılamadı",
"item_already_downloading": "{{item}} is already downloading", "item_already_downloading": "{{item}} zaten indiriliyor",
"all_files_deleted": "All Downloads Deleted Successfully", "all_files_deleted": "Bütün indirilenler başarıyla silindi",
"files_deleted_by_type": "{{count}} {{type}} deleted", "files_deleted_by_type": "{{count}} {{type}} silindi",
"all_files_folders_and_jobs_deleted_successfully": "Tüm dosyalar, klasörler ve işler başarıyla silindi", "all_files_folders_and_jobs_deleted_successfully": "Tüm dosyalar, klasörler ve işler başarıyla silindi",
"failed_to_clean_cache_directory": "Failed to clean cache directory", "failed_to_clean_cache_directory": "Önbellek dizini temizlenemedi",
"could_not_get_download_url_for_item": "Could not get download URL for {{itemName}}", "could_not_get_download_url_for_item": "{{itemName}} için indirme URL'si alınamadı",
"go_to_downloads": "İndirmelere git", "go_to_downloads": "İndirmelere git",
"file_deleted": "{{item}} deleted" "file_deleted": "{{item}} silindi"
} }
} }
}, },
"common": { "common": {
"select": "Select", "select": "Seç",
"no_trailer_available": "No trailer available", "no_trailer_available": "Fragman mevcut değil",
"video": "Video", "video": "Video",
"audio": "Ses", "audio": "Ses",
"subtitle": "Altyazı", "subtitle": "Altyazı",
"play": "Play", "play": "Oynat",
"none": "None", "none": "Hiçbiri",
"track": "Track", "track": "Parça",
"cancel": "Cancel", "cancel": "Vazgeç",
"delete": "Delete", "delete": "Sil",
"ok": "OK", "ok": "Tamam",
"remove": "Remove", "remove": "Kaldır",
"next": "Next", "next": "Sonraki",
"back": "Back", "back": "Geri",
"continue": "Continue", "continue": "Devam",
"verifying": "Verifying..." "verifying": "Doğrulanıyor..."
}, },
"search": { "search": {
"search": "Ara...", "search": "Ara...",
@@ -521,10 +521,10 @@
"episodes": "Bölümler", "episodes": "Bölümler",
"collections": "Koleksiyonlar", "collections": "Koleksiyonlar",
"actors": "Oyuncular", "actors": "Oyuncular",
"artists": "Artists", "artists": "Sanatçılar",
"albums": "Albums", "albums": "Albümler",
"songs": "Songs", "songs": "Şarkılar",
"playlists": "Playlists", "playlists": "Çalma listeleri",
"request_movies": "Film Talep Et", "request_movies": "Film Talep Et",
"request_series": "Dizi Talep Et", "request_series": "Dizi Talep Et",
"recently_added": "Son Eklenenler", "recently_added": "Son Eklenenler",
@@ -572,7 +572,7 @@
"genres": "Türler", "genres": "Türler",
"years": "Yıllar", "years": "Yıllar",
"sort_by": "Sırala", "sort_by": "Sırala",
"filter_by": "Filter By", "filter_by": "Filtrele",
"sort_order": "Sıralama düzeni", "sort_order": "Sıralama düzeni",
"tags": "Etiketler" "tags": "Etiketler"
} }
@@ -604,11 +604,11 @@
"index": "İndeks:", "index": "İndeks:",
"continue_watching": "İzlemeye devam et", "continue_watching": "İzlemeye devam et",
"go_back": "Geri", "go_back": "Geri",
"downloaded_file_title": "You have this file downloaded", "downloaded_file_title": "Bu dosya indirilmiş",
"downloaded_file_message": "Do you want to play the downloaded file?", "downloaded_file_message": "İndirilmiş dosyayı oynatmak ister misiniz?",
"downloaded_file_yes": "Yes", "downloaded_file_yes": "Evet",
"downloaded_file_no": "No", "downloaded_file_no": "Hayır",
"downloaded_file_cancel": "Cancel" "downloaded_file_cancel": "Vazgeç"
}, },
"item_card": { "item_card": {
"next_up": "Sıradaki", "next_up": "Sıradaki",
@@ -624,7 +624,7 @@
"no_similar_items_found": "Benzer öge bulunamadı", "no_similar_items_found": "Benzer öge bulunamadı",
"video": "Video", "video": "Video",
"more_details": "Daha fazla detay", "more_details": "Daha fazla detay",
"media_options": "Media Options", "media_options": "Medya Seçenekleri",
"quality": "Kalite", "quality": "Kalite",
"audio": "Ses", "audio": "Ses",
"subtitles": "Altyazı", "subtitles": "Altyazı",
@@ -639,7 +639,7 @@
"download_episode": "Bölümü indir", "download_episode": "Bölümü indir",
"download_movie": "Filmi indir", "download_movie": "Filmi indir",
"download_x_item": "{{item_count}} tane ögeyi indir", "download_x_item": "{{item_count}} tane ögeyi indir",
"download_unwatched_only": "Unwatched Only", "download_unwatched_only": "Yalnızca İzlenmemişler",
"download_button": "İndir" "download_button": "İndir"
} }
}, },
@@ -693,10 +693,10 @@
"number_episodes": "Bölüm {{episode_number}}", "number_episodes": "Bölüm {{episode_number}}",
"born": "Doğum", "born": "Doğum",
"appearances": "Görünmeler", "appearances": "Görünmeler",
"approve": "Approve", "approve": "Onayla",
"decline": "Decline", "decline": "Reddet",
"requested_by": "Requested by {{user}}", "requested_by": "{{user}} tarafından istendi",
"unknown_user": "Unknown User", "unknown_user": "Bilinmeyen Kullanıcı",
"toasts": { "toasts": {
"jellyseer_does_not_meet_requirements": "Jellyseerr sunucusu minimum sürüm gereksinimlerini karşılamıyor! Lütfen en az 2.0.0 sürümüne güncelleyin", "jellyseer_does_not_meet_requirements": "Jellyseerr sunucusu minimum sürüm gereksinimlerini karşılamıyor! Lütfen en az 2.0.0 sürümüne güncelleyin",
"jellyseerr_test_failed": "Jellyseerr testi başarısız oldu. Lütfen tekrar deneyin.", "jellyseerr_test_failed": "Jellyseerr testi başarısız oldu. Lütfen tekrar deneyin.",
@@ -705,10 +705,10 @@
"requested_item": "{{item}} talep edildi!", "requested_item": "{{item}} talep edildi!",
"you_dont_have_permission_to_request": "İstek göndermeye izniniz yok!", "you_dont_have_permission_to_request": "İstek göndermeye izniniz yok!",
"something_went_wrong_requesting_media": "Medya talep edilirken bir şeyler ters gitti!", "something_went_wrong_requesting_media": "Medya talep edilirken bir şeyler ters gitti!",
"request_approved": "Request Approved!", "request_approved": "İstek Onaylandı!",
"request_declined": "Request Declined!", "request_declined": "İstek Reddedildi!",
"failed_to_approve_request": "Failed to Approve Request", "failed_to_approve_request": "İsteği Onaylama Başarısız Oldu",
"failed_to_decline_request": "Failed to Decline Request" "failed_to_decline_request": "İsteği Reddetme Başarısız Oldu"
} }
}, },
"tabs": { "tabs": {
@@ -719,127 +719,127 @@
"favorites": "Favoriler" "favorites": "Favoriler"
}, },
"music": { "music": {
"title": "Music", "title": "Müzik",
"tabs": { "tabs": {
"suggestions": "Suggestions", "suggestions": "Öneriler",
"albums": "Albums", "albums": "Albümler",
"artists": "Artists", "artists": "Sanatçılar",
"playlists": "Playlists", "playlists": "Çalma listeleri",
"tracks": "tracks" "tracks": "parçalar"
}, },
"filters": { "filters": {
"all": "All" "all": "Tümü"
}, },
"recently_added": "Recently Added", "recently_added": "Son Eklenenler",
"recently_played": "Recently Played", "recently_played": "Son Oynatılanlar",
"frequently_played": "Frequently Played", "frequently_played": "Sık Oynatılanlar",
"explore": "Explore", "explore": "Keşfet",
"top_tracks": "Top Tracks", "top_tracks": "En Popülar Parçalar",
"play": "Play", "play": "Oynat",
"shuffle": "Shuffle", "shuffle": "Karıştır",
"play_top_tracks": "Play Top Tracks", "play_top_tracks": "En Çok Oynatılan Parçaları Oynat",
"no_suggestions": "No suggestions available", "no_suggestions": "Öneri mevcut değil",
"no_albums": "No albums found", "no_albums": "Hiç albüm bulunamadı",
"no_artists": "No artists found", "no_artists": "Hiç sanatçı bulunamadı",
"no_playlists": "No playlists found", "no_playlists": "Hiç çalma listesi bulunamadı",
"album_not_found": "Album not found", "album_not_found": "Albüm bulunamadı",
"artist_not_found": "Artist not found", "artist_not_found": "Sanatçı bulunamadı",
"playlist_not_found": "Playlist not found", "playlist_not_found": "Çalma listesi bulunamadı",
"track_options": { "track_options": {
"play_next": "Play Next", "play_next": "Sıradakini Çal",
"add_to_queue": "Add to Queue", "add_to_queue": "Sıraya Ekle",
"add_to_playlist": "Add to Playlist", "add_to_playlist": "Çalma listesine ekle",
"download": "Download", "download": "İndir",
"downloaded": "Downloaded", "downloaded": "İndirildi",
"downloading": "Downloading...", "downloading": "İndiriliyor...",
"cached": "Cached", "cached": "Önbellekte",
"delete_download": "Delete Download", "delete_download": "İndirmeyi Sil",
"delete_cache": "Remove from Cache", "delete_cache": "Ön bellekten kaldır",
"go_to_artist": "Go to Artist", "go_to_artist": "Sanatçıya Git",
"go_to_album": "Go to Album", "go_to_album": "Albüme Git",
"add_to_favorites": "Add to Favorites", "add_to_favorites": "Favorilere Ekle",
"remove_from_favorites": "Remove from Favorites", "remove_from_favorites": "Favorilerden Kaldır",
"remove_from_playlist": "Remove from Playlist" "remove_from_playlist": "Çalma Listesinden Kaldır"
}, },
"playlists": { "playlists": {
"create_playlist": "Create Playlist", "create_playlist": "Çalma Listesi Oluştur",
"playlist_name": "Playlist Name", "playlist_name": "Çalma Listesi Adı",
"enter_name": "Enter playlist name", "enter_name": "Çalma listesi adı girin",
"create": "Create", "create": "Oluştur",
"search_playlists": "Search playlists...", "search_playlists": "Çalma listelerini ara...",
"added_to": "Added to {{name}}", "added_to": "Şu çalma listesine eklendi: {{name}}",
"added": "Added to playlist", "added": "Çalma listesine eklendi",
"removed_from": "Removed from {{name}}", "removed_from": "Şu çalma listesinden kaldırıldı: {{name}}",
"removed": "Removed from playlist", "removed": "Çalma listesinden kaldır",
"created": "Playlist created", "created": "Çalma listesi oluşturuldu",
"create_new": "Create New Playlist", "create_new": "Yeni Çalma Listesi Oluştur",
"failed_to_add": "Failed to add to playlist", "failed_to_add": "Çalma listesine eklenemedi",
"failed_to_remove": "Failed to remove from playlist", "failed_to_remove": "Çalma listesinden kaldırılamadı",
"failed_to_create": "Failed to create playlist", "failed_to_create": "Çalma listesi oluşturulamadı",
"delete_playlist": "Delete Playlist", "delete_playlist": "Çalma Listesini Sil",
"delete_confirm": "Are you sure you want to delete \"{{name}}\"? This action cannot be undone.", "delete_confirm": "\"{{name}}\" adlı çalma listesini silmek istediğinize emin misiniz? Bu işlem geri alınamaz.",
"deleted": "Playlist deleted", "deleted": "Çalma listesi silindi",
"failed_to_delete": "Failed to delete playlist" "failed_to_delete": "Çalma listesi oluşturulamadı"
}, },
"sort": { "sort": {
"title": "Sort By", "title": "Sırala",
"alphabetical": "Alphabetical", "alphabetical": "Alfabetik",
"date_created": "Date Created" "date_created": "Oluşturulma Tarihi"
} }
}, },
"watchlists": { "watchlists": {
"title": "Watchlists", "title": "İzleme listeleri",
"my_watchlists": "My Watchlists", "my_watchlists": "İzleme listelerim",
"public_watchlists": "Public Watchlists", "public_watchlists": "Herkese açık izleme listeleri",
"create_title": "Create Watchlist", "create_title": "İzleme listesi oluştur",
"edit_title": "Edit Watchlist", "edit_title": "İzleme listesini düzenle",
"create_button": "Create Watchlist", "create_button": "İzleme listesi oluştur",
"save_button": "Save Changes", "save_button": "Değişiklikleri Kaydet",
"delete_button": "Delete", "delete_button": "Sil",
"remove_button": "Remove", "remove_button": "Kaldır",
"cancel_button": "Cancel", "cancel_button": "Vazgeç",
"name_label": "Name", "name_label": "Name",
"name_placeholder": "Enter watchlist name", "name_placeholder": "İzleme listesi adını girin",
"description_label": "Description", "description_label": "ıklama",
"description_placeholder": "Enter description (optional)", "description_placeholder": "ıklama girin (isteğe bağlı)",
"is_public_label": "Public Watchlist", "is_public_label": "Herkese açık izleme listesi",
"is_public_description": "Allow others to view this watchlist", "is_public_description": "Başkalarının da bu izleme listesini görmesine izin ver",
"allowed_type_label": "Content Type", "allowed_type_label": "İçerik Türü",
"sort_order_label": "Default Sort Order", "sort_order_label": "Varsayılan Sıralama",
"empty_title": "No Watchlists", "empty_title": "İzleme listesi yok",
"empty_description": "Create your first watchlist to start organizing your media", "empty_description": "Create your first watchlist to start organizing your media",
"empty_watchlist": "This watchlist is empty", "empty_watchlist": "Bu izleme listesi boş",
"empty_watchlist_hint": "Add items from your library to this watchlist", "empty_watchlist_hint": "Kütüphanenizdeki nesneleri bu izleme listesine ekleyin",
"not_configured_title": "Streamystats Not Configured", "not_configured_title": "Streamystats ayarlanmamış",
"not_configured_description": "Configure Streamystats in settings to use watchlists", "not_configured_description": "İzleme listelerini kullanmak için ayarlardan Streamystats'ı ayarlayın",
"go_to_settings": "Go to Settings", "go_to_settings": "Ayarlara git",
"add_to_watchlist": "Add to Watchlist", "add_to_watchlist": "İzleme Listesine Ekle",
"remove_from_watchlist": "Remove from Watchlist", "remove_from_watchlist": "İzleme Listesinden Kaldır",
"select_watchlist": "Select Watchlist", "select_watchlist": "İzleme Listesi Seç",
"create_new": "Create New Watchlist", "create_new": "Yeni İzleme Listesi Oluştur",
"item": "item", "item": "öğe",
"items": "items", "items": "öğeler",
"public": "Public", "public": "Herkese Açık",
"private": "Private", "private": "Özel",
"you": "You", "you": "Siz",
"by_owner": "By another user", "by_owner": "Başka kullanıcı tarafından",
"not_found": "Watchlist not found", "not_found": "İzleme listesi bulunamadı",
"delete_confirm_title": "Delete Watchlist", "delete_confirm_title": "İzleme listesini sil",
"delete_confirm_message": "Are you sure you want to delete \"{{name}}\"? This action cannot be undone.", "delete_confirm_message": "Are you sure you want to delete \"{{name}}\"? This action cannot be undone.",
"remove_item_title": "Remove from Watchlist", "remove_item_title": "İzleme Listesinden Kaldır",
"remove_item_message": "Remove \"{{name}}\" from this watchlist?", "remove_item_message": "{{name}} bu izleme listesinden kaldırılsın mı?",
"loading": "Loading watchlists...", "loading": "İzleme listeleri yükleniyor...",
"no_compatible_watchlists": "No compatible watchlists", "no_compatible_watchlists": "Uyumlu izleme listesi yok",
"create_one_first": "Create a watchlist that accepts this content type" "create_one_first": "Bu içerik türünü kabul eden bir izleme listesi oluşturun"
}, },
"playback_speed": { "playback_speed": {
"title": "Playback Speed", "title": "Oynatma Hızı",
"apply_to": "Apply To", "apply_to": "Şuna Uygula",
"speed": "Speed", "speed": "Hız",
"scope": { "scope": {
"media": "This media only", "media": "Yalnızca bu medyada",
"show": "This show", "show": "Bu dizide",
"all": "All media (default)" "all": "Bütün medyalarda (varsayılan)"
} }
} }
} }

View File

@@ -134,9 +134,6 @@ export enum VideoPlayer {
MPV = 0, MPV = 0,
} }
// Segment skip behavior options
export type SegmentSkipMode = "none" | "ask" | "auto";
// Audio transcoding mode - controls how surround audio is handled // Audio transcoding mode - controls how surround audio is handled
// This controls server-side transcoding behavior for audio streams. // This controls server-side transcoding behavior for audio streams.
// MPV decodes via FFmpeg and supports most formats, but mobile devices // MPV decodes via FFmpeg and supports most formats, but mobile devices
@@ -184,12 +181,6 @@ export type Settings = {
maxAutoPlayEpisodeCount: MaxAutoPlayEpisodeCount; maxAutoPlayEpisodeCount: MaxAutoPlayEpisodeCount;
autoPlayEpisodeCount: number; autoPlayEpisodeCount: number;
autoPlayNextEpisode: boolean; autoPlayNextEpisode: boolean;
// Media segment skip preferences
skipIntro: SegmentSkipMode;
skipOutro: SegmentSkipMode;
skipRecap: SegmentSkipMode;
skipCommercial: SegmentSkipMode;
skipPreview: SegmentSkipMode;
// Playback speed settings // Playback speed settings
defaultPlaybackSpeed: number; defaultPlaybackSpeed: number;
playbackSpeedPerMedia: Record<string, number>; playbackSpeedPerMedia: Record<string, number>;
@@ -275,12 +266,6 @@ export const defaultValues: Settings = {
maxAutoPlayEpisodeCount: { key: "3", value: 3 }, maxAutoPlayEpisodeCount: { key: "3", value: 3 },
autoPlayEpisodeCount: 0, autoPlayEpisodeCount: 0,
autoPlayNextEpisode: true, autoPlayNextEpisode: true,
// Media segment skip defaults
skipIntro: "ask",
skipOutro: "ask",
skipRecap: "ask",
skipCommercial: "ask",
skipPreview: "ask",
// Playback speed defaults // Playback speed defaults
defaultPlaybackSpeed: 1.0, defaultPlaybackSpeed: 1.0,
playbackSpeedPerMedia: {}, playbackSpeedPerMedia: {},

View File

@@ -1,102 +0,0 @@
/**
* Unified Casting Helper Functions
* Common utilities for casting protocols
*/
/**
* Format milliseconds to HH:MM:SS or MM:SS
*/
export const formatTime = (ms: number): string => {
const totalSeconds = Math.floor(ms / 1000);
const hours = Math.floor(totalSeconds / 3600);
const minutes = Math.floor((totalSeconds % 3600) / 60);
const seconds = totalSeconds % 60;
if (hours > 0) {
return `${hours}:${minutes.toString().padStart(2, "0")}:${seconds.toString().padStart(2, "0")}`;
}
return `${minutes}:${seconds.toString().padStart(2, "0")}`;
};
/**
* Calculate ending time based on current progress and duration.
* Uses locale-aware formatting when available.
*/
export const calculateEndingTime = (
currentMs: number,
durationMs: number,
): string => {
const remainingMs = durationMs - currentMs;
const endTime = new Date(Date.now() + remainingMs);
try {
return endTime.toLocaleTimeString(undefined, {
hour: "numeric",
minute: "2-digit",
});
} catch {
// Fallback for environments without Intl support
const hours = endTime.getHours();
const minutes = endTime.getMinutes();
const ampm = hours >= 12 ? "PM" : "AM";
const displayHours = hours % 12 || 12;
return `${displayHours}:${minutes.toString().padStart(2, "0")} ${ampm}`;
}
};
/**
* Get poster URL for item with specified dimensions
*/
export const getPosterUrl = (
baseUrl: string | undefined,
itemId: string | undefined,
tag: string | undefined,
width: number,
height: number,
): string | null => {
if (!baseUrl || !itemId) return null;
const params = new URLSearchParams({
maxWidth: width.toString(),
maxHeight: height.toString(),
quality: "90",
...(tag && { tag }),
});
return `${baseUrl}/Items/${itemId}/Images/Primary?${params.toString()}`;
};
/**
* Truncate title to max length with ellipsis
*/
export const truncateTitle = (title: string, maxLength: number): string => {
if (maxLength < 4) return title.substring(0, maxLength);
if (title.length <= maxLength) return title;
return `${title.substring(0, maxLength - 3)}...`;
};
/**
* Check if current time is within a segment
*/
export const isWithinSegment = (
currentMs: number,
segment: { start: number; end: number } | null,
): boolean => {
if (!segment) return false;
const currentSeconds = currentMs / 1000;
return currentSeconds >= segment.start && currentSeconds <= segment.end;
};
/**
* Format trickplay time from {hours, minutes, seconds} to display string.
* Produces "H:MM:SS" when hours > 0, otherwise "MM:SS".
*/
export const formatTrickplayTime = (time: {
hours: number;
minutes: number;
seconds: number;
}): string => {
const mm = String(time.minutes).padStart(2, "0");
const ss = String(time.seconds).padStart(2, "0");
return time.hours > 0 ? `${time.hours}:${mm}:${ss}` : `${mm}:${ss}`;
};

View File

@@ -1,120 +0,0 @@
/**
* Shared helper to build Chromecast media metadata.
* Eliminates duplication between PlayButton, casting-player reloadWithSettings, and loadEpisode.
*/
import type { Api } from "@jellyfin/sdk";
import type { BaseItemDto } from "@jellyfin/sdk/lib/generated-client";
import { MediaStreamType } from "react-native-google-cast";
import { getParentBackdropImageUrl } from "@/utils/jellyfin/image/getParentBackdropImageUrl";
import { getPrimaryImageUrl } from "@/utils/jellyfin/image/getPrimaryImageUrl";
/**
* Build a MediaInfo object suitable for `remoteMediaClient.loadMedia()`.
*
* NOTE on contentType: Chromecast Default Media Receiver auto-detects HLS/DASH
* from the URL. Setting contentType to "application/x-mpegurl" or "application/dash+xml"
* actually BREAKS playback on many receivers. Always use "video/mp4" unless
* you have a custom receiver that explicitly handles other MIME types.
*/
export const buildCastMediaInfo = ({
item,
streamUrl,
api,
contentType,
isLive = false,
}: {
item: BaseItemDto;
streamUrl: string;
api: Api;
/** Override MIME type. Defaults to "video/mp4" which works for all stream types on Default Media Receiver. */
contentType?: string;
/** Set true for live TV streams to use MediaStreamType.LIVE. */
isLive?: boolean;
}) => {
if (!item.Id) {
throw new Error("Missing item.Id for media load — cannot build contentId");
}
const itemId: string = item.Id;
const streamDuration = item.RunTimeTicks
? item.RunTimeTicks / 10000000
: undefined;
const buildImages = (urls: (string | null | undefined)[]) =>
urls.filter(Boolean).map((url) => ({ url: url as string }));
const buildItemMetadata = () => {
if (item.Type === "Episode") {
return {
type: "tvShow" as const,
title: item.Name || "",
episodeNumber: item.IndexNumber || 0,
seasonNumber: item.ParentIndexNumber || 0,
seriesTitle: item.SeriesName || "",
images: buildImages([
getParentBackdropImageUrl({ api, item, quality: 90, width: 2000 }),
]),
};
}
if (item.Type === "Movie") {
return {
type: "movie" as const,
title: item.Name || "",
subtitle: item.Overview || "",
images: buildImages([
getPrimaryImageUrl({ api, item, quality: 90, width: 2000 }),
]),
};
}
return {
type: "generic" as const,
title: item.Name || "",
subtitle: item.Overview || "",
images: buildImages([
getPrimaryImageUrl({ api, item, quality: 90, width: 2000 }),
]),
};
};
const metadata = buildItemMetadata();
// Build a slim customData payload with only the fields the casting-player needs.
// Sending the full BaseItemDto can exceed the Cast protocol's ~64KB message limit,
// especially for movies with many chapters, media sources, and people.
const slimCustomData: Partial<BaseItemDto> = {
Id: item.Id,
Name: item.Name,
Type: item.Type,
SeriesName: item.SeriesName,
SeriesId: item.SeriesId,
SeasonId: item.SeasonId,
IndexNumber: item.IndexNumber,
ParentIndexNumber: item.ParentIndexNumber,
ImageTags: item.ImageTags,
RunTimeTicks: item.RunTimeTicks,
Overview: item.Overview,
MediaStreams: item.MediaStreams,
MediaSources: item.MediaSources?.map((src) => ({
Id: src.Id,
Bitrate: src.Bitrate,
Container: src.Container,
Name: src.Name,
})),
UserData: item.UserData
? { PlaybackPositionTicks: item.UserData.PlaybackPositionTicks }
: undefined,
};
return {
contentId: itemId,
contentUrl: streamUrl,
contentType: contentType || "video/mp4",
streamType: isLive ? MediaStreamType.LIVE : MediaStreamType.BUFFERED,
streamDuration,
customData: slimCustomData,
metadata,
};
};

View File

@@ -1,72 +0,0 @@
/**
* Unified Casting Types and Options
* Protocol-agnostic casting interface - currently supports Chromecast
* Architecture allows for future protocols (AirPlay, DLNA, etc.)
*/
import type { BaseItemDto } from "@jellyfin/sdk/lib/generated-client";
export type CastProtocol = "chromecast";
export interface CastDevice {
id: string;
name: string;
protocol: CastProtocol;
type?: string;
}
export interface CastPlayerState {
isConnected: boolean;
isPlaying: boolean;
currentItem: BaseItemDto | null;
currentDevice: CastDevice | null;
protocol: CastProtocol | null;
progress: number;
duration: number;
volume: number;
isBuffering: boolean;
}
export interface AudioTrack {
index: number;
language: string;
codec: string;
displayTitle: string;
}
export interface SubtitleTrack {
index: number;
language: string;
codec: string;
displayTitle: string;
isForced: boolean;
}
export interface MediaSource {
id: string;
name: string;
bitrate?: number;
container: string;
}
export const CASTING_CONSTANTS = {
POSTER_WIDTH: 300,
POSTER_HEIGHT: 450,
ANIMATION_DURATION: 300,
CONTROL_HIDE_DELAY: 5000,
PROGRESS_UPDATE_INTERVAL: 1000,
SEEK_FORWARD_SECONDS: 10,
SEEK_BACKWARD_SECONDS: 10,
} as const;
export const DEFAULT_CAST_STATE: CastPlayerState = {
isConnected: false,
isPlaying: false,
currentItem: null,
currentDevice: null,
protocol: null,
progress: 0,
duration: 0,
volume: 0.5,
isBuffering: false,
};

View File

@@ -1,11 +0,0 @@
/**
* Chromecast player configuration and types
*/
export interface ChromecastSegmentData {
intro: { start: number; end: number } | null;
credits: { start: number; end: number } | null;
recap: { start: number; end: number } | null;
commercial: { start: number; end: number }[];
preview: { start: number; end: number }[];
}

View File

@@ -13,14 +13,6 @@ export const chromecast: DeviceProfile = {
{ {
Type: "Audio", Type: "Audio",
Codec: "aac,mp3,flac,opus,vorbis", Codec: "aac,mp3,flac,opus,vorbis",
// Force transcode if audio has more than 2 channels (5.1, 7.1, etc)
Conditions: [
{
Condition: "LessThanEqual",
Property: "AudioChannels",
Value: "2",
},
],
}, },
], ],
ContainerProfiles: [], ContainerProfiles: [],
@@ -92,5 +84,9 @@ export const chromecast: DeviceProfile = {
Format: "vtt", Format: "vtt",
Method: "Encode", Method: "Encode",
}, },
{
Format: "vtt",
Method: "Encode",
},
], ],
}; };

View File

@@ -12,14 +12,7 @@ export const chromecasth265: DeviceProfile = {
}, },
{ {
Type: "Audio", Type: "Audio",
Codec: "aac,mp3,flac,opus,vorbis", // Force transcode if audio has more than 2 channels (5.1, 7.1, etc) Codec: "aac,mp3,flac,opus,vorbis",
Conditions: [
{
Condition: "LessThanEqual",
Property: "AudioChannels",
Value: "2",
},
],
}, },
], ],
ContainerProfiles: [], ContainerProfiles: [],
@@ -91,5 +84,9 @@ export const chromecasth265: DeviceProfile = {
Format: "vtt", Format: "vtt",
Method: "Encode", Method: "Encode",
}, },
{
Format: "vtt",
Method: "Encode",
},
], ],
}; };

View File

@@ -74,16 +74,10 @@ export const getSegmentsForItem = (
): { ): {
introSegments: MediaTimeSegment[]; introSegments: MediaTimeSegment[];
creditSegments: MediaTimeSegment[]; creditSegments: MediaTimeSegment[];
recapSegments: MediaTimeSegment[];
commercialSegments: MediaTimeSegment[];
previewSegments: MediaTimeSegment[];
} => { } => {
return { return {
introSegments: item.introSegments || [], introSegments: item.introSegments || [],
creditSegments: item.creditSegments || [], creditSegments: item.creditSegments || [],
recapSegments: item.recapSegments || [],
commercialSegments: item.commercialSegments || [],
previewSegments: item.previewSegments || [],
}; };
}; };
@@ -101,9 +95,6 @@ const fetchMediaSegments = async (
): Promise<{ ): Promise<{
introSegments: MediaTimeSegment[]; introSegments: MediaTimeSegment[];
creditSegments: MediaTimeSegment[]; creditSegments: MediaTimeSegment[];
recapSegments: MediaTimeSegment[];
commercialSegments: MediaTimeSegment[];
previewSegments: MediaTimeSegment[];
} | null> => { } | null> => {
try { try {
const response = await api.axiosInstance.get<MediaSegmentsResponse>( const response = await api.axiosInstance.get<MediaSegmentsResponse>(
@@ -111,22 +102,13 @@ const fetchMediaSegments = async (
{ {
headers: getAuthHeaders(api), headers: getAuthHeaders(api),
params: { params: {
includeSegmentTypes: [ includeSegmentTypes: ["Intro", "Outro"],
"Intro",
"Outro",
"Recap",
"Commercial",
"Preview",
],
}, },
}, },
); );
const introSegments: MediaTimeSegment[] = []; const introSegments: MediaTimeSegment[] = [];
const creditSegments: MediaTimeSegment[] = []; const creditSegments: MediaTimeSegment[] = [];
const recapSegments: MediaTimeSegment[] = [];
const commercialSegments: MediaTimeSegment[] = [];
const previewSegments: MediaTimeSegment[] = [];
response.data.Items.forEach((segment) => { response.data.Items.forEach((segment) => {
const timeSegment: MediaTimeSegment = { const timeSegment: MediaTimeSegment = {
@@ -142,27 +124,13 @@ const fetchMediaSegments = async (
case "Outro": case "Outro":
creditSegments.push(timeSegment); creditSegments.push(timeSegment);
break; break;
case "Recap": // Optionally handle other types like Recap, Commercial, Preview
recapSegments.push(timeSegment);
break;
case "Commercial":
commercialSegments.push(timeSegment);
break;
case "Preview":
previewSegments.push(timeSegment);
break;
default: default:
break; break;
} }
}); });
return { return { introSegments, creditSegments };
introSegments,
creditSegments,
recapSegments,
commercialSegments,
previewSegments,
};
} catch (_error) { } catch (_error) {
// Return null to indicate we should try legacy endpoints // Return null to indicate we should try legacy endpoints
return null; return null;
@@ -178,47 +146,45 @@ const fetchLegacySegments = async (
): Promise<{ ): Promise<{
introSegments: MediaTimeSegment[]; introSegments: MediaTimeSegment[];
creditSegments: MediaTimeSegment[]; creditSegments: MediaTimeSegment[];
recapSegments: MediaTimeSegment[];
commercialSegments: MediaTimeSegment[];
previewSegments: MediaTimeSegment[];
}> => { }> => {
const introSegments: MediaTimeSegment[] = []; const introSegments: MediaTimeSegment[] = [];
const creditSegments: MediaTimeSegment[] = []; const creditSegments: MediaTimeSegment[] = [];
const [introRes, creditRes] = await Promise.allSettled([ try {
api.axiosInstance.get<IntroTimestamps>( const [introRes, creditRes] = await Promise.allSettled([
`${api.basePath}/Episode/${itemId}/IntroTimestamps`, api.axiosInstance.get<IntroTimestamps>(
{ headers: getAuthHeaders(api) }, `${api.basePath}/Episode/${itemId}/IntroTimestamps`,
), { headers: getAuthHeaders(api) },
api.axiosInstance.get<CreditTimestamps>( ),
`${api.basePath}/Episode/${itemId}/Timestamps`, api.axiosInstance.get<CreditTimestamps>(
{ headers: getAuthHeaders(api) }, `${api.basePath}/Episode/${itemId}/Timestamps`,
), { headers: getAuthHeaders(api) },
]); ),
]);
if (introRes.status === "fulfilled" && introRes.value.data.Valid) { if (introRes.status === "fulfilled" && introRes.value.data.Valid) {
introSegments.push({ introSegments.push({
startTime: introRes.value.data.IntroStart, startTime: introRes.value.data.IntroStart,
endTime: introRes.value.data.IntroEnd, endTime: introRes.value.data.IntroEnd,
text: "Intro", text: "Intro",
}); });
}
if (
creditRes.status === "fulfilled" &&
creditRes.value.data.Credits.Valid
) {
creditSegments.push({
startTime: creditRes.value.data.Credits.Start,
endTime: creditRes.value.data.Credits.End,
text: "Credits",
});
}
} catch (error) {
console.error("Failed to fetch legacy segments", error);
} }
if (creditRes.status === "fulfilled" && creditRes.value.data.Credits.Valid) { return { introSegments, creditSegments };
creditSegments.push({
startTime: creditRes.value.data.Credits.Start,
endTime: creditRes.value.data.Credits.End,
text: "Credits",
});
}
return {
introSegments,
creditSegments,
recapSegments: [],
commercialSegments: [],
previewSegments: [],
};
}; };
export const fetchAndParseSegments = async ( export const fetchAndParseSegments = async (
@@ -227,9 +193,6 @@ export const fetchAndParseSegments = async (
): Promise<{ ): Promise<{
introSegments: MediaTimeSegment[]; introSegments: MediaTimeSegment[];
creditSegments: MediaTimeSegment[]; creditSegments: MediaTimeSegment[];
recapSegments: MediaTimeSegment[];
commercialSegments: MediaTimeSegment[];
previewSegments: MediaTimeSegment[];
}> => { }> => {
// Try new API first (Jellyfin 10.11+) // Try new API first (Jellyfin 10.11+)
const newSegments = await fetchMediaSegments(itemId, api); const newSegments = await fetchMediaSegments(itemId, api);