feat: Enhance Chromecast functionality and UI improvements

- Implemented a retry mechanism for Chromecast device discovery with a maximum of 3 attempts.
- Added logging for discovered devices to aid in debugging.
- Updated Chromecast button interactions to streamline navigation to the casting player.
- Changed the color scheme for Chromecast components to a consistent purple theme.
- Modified the ChromecastDeviceSheet to sync volume slider with prop changes.
- Improved the ChromecastSettingsMenu to conditionally render audio and subtitle tracks based on availability.
- Updated translations for the casting player to include new strings for better user experience.
This commit is contained in:
Uruk
2026-01-22 18:57:56 +01:00
committed by Gauvain
parent d4f730fc54
commit 7589ccd284
9 changed files with 1135 additions and 475 deletions

View File

@@ -47,7 +47,7 @@ export const CastingMiniPlayer: React.FC = () => {
);
const progressPercent = duration > 0 ? (progress / duration) * 100 : 0;
const protocolColor = protocol === "chromecast" ? "#F9AB00" : "#666"; // Google yellow
const protocolColor = "#a855f7"; // Streamyfin purple
const handlePress = () => {
router.push("/casting-player");