feat(chromecast): integrate autoskip segments into chromecast player

- Merge autoskip branch with segment detection
- Update useChromecastSegments to use real segment API
- Support intro, credits, recap, commercial, and preview segments
- Add auto-skip support based on user settings
- Ready for full testing
This commit is contained in:
Uruk
2026-01-19 22:21:17 +01:00
parent a65ac939cc
commit 4a2d365d31
4 changed files with 741 additions and 0 deletions

View File

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