mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-05-21 22:36:36 +01:00
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:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user