mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-01-25 04:28:06 +00:00
fix(chromecast): resolve TypeScript errors and improve type safety
- Fix deviceName property to use friendlyName - Update disconnect to use stop() instead of endSession() - Fix null handling in getPosterUrl and useTrickplay - Remove unused variables and imports - Add proper null checks in segment skipping - Disable auto-skip until settings are available
This commit is contained in:
@@ -112,10 +112,10 @@ export const formatEpisodeInfo = (
|
||||
*/
|
||||
export const getPosterUrl = (
|
||||
item: {
|
||||
Type?: string;
|
||||
ParentBackdropImageTags?: string[];
|
||||
SeriesId?: string;
|
||||
Id?: string;
|
||||
Type?: string | null;
|
||||
ParentBackdropImageTags?: string[] | null;
|
||||
SeriesId?: string | null;
|
||||
Id?: string | null;
|
||||
},
|
||||
api: { basePath?: string },
|
||||
): string | null => {
|
||||
|
||||
Reference in New Issue
Block a user