From c9517252220ba5080699e7aa8f9a6e1d9afd2163 Mon Sep 17 00:00:00 2001 From: Fredrik Burmester Date: Sun, 23 Feb 2025 15:02:50 +0100 Subject: [PATCH] chore --- components/PlayButton.tsx | 2 +- utils/profiles/chromecast.ts | 4 ++-- utils/profiles/chromecasth265.ts | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/components/PlayButton.tsx b/components/PlayButton.tsx index c57ef90d..e616895d 100644 --- a/components/PlayButton.tsx +++ b/components/PlayButton.tsx @@ -125,7 +125,7 @@ export const PlayButton: React.FC = ({ const data = await getStreamUrl({ api, item, - deviceProfile: enableH265 ? chromecast : chromecasth265, + deviceProfile: enableH265 ? chromecasth265 : chromecast, startTimeTicks: item?.UserData?.PlaybackPositionTicks!, userId: user?.Id, audioStreamIndex: selectedOptions.audioIndex, diff --git a/utils/profiles/chromecast.ts b/utils/profiles/chromecast.ts index 1a65ce2d..5199dfa7 100644 --- a/utils/profiles/chromecast.ts +++ b/utils/profiles/chromecast.ts @@ -2,8 +2,8 @@ import { DeviceProfile } from "@jellyfin/sdk/lib/generated-client/models"; export const chromecast: DeviceProfile = { Name: "Chromecast Video Profile", - MaxStreamingBitrate: 8000000, // 8 Mbps - MaxStaticBitrate: 8000000, // 8 Mbps + MaxStreamingBitrate: 16000000, // 16 Mbps + MaxStaticBitrate: 16000000, // 16 Mbps MusicStreamingTranscodingBitrate: 384000, // 384 kbps CodecProfiles: [ { diff --git a/utils/profiles/chromecasth265.ts b/utils/profiles/chromecasth265.ts index 49d8f882..e74827b2 100644 --- a/utils/profiles/chromecasth265.ts +++ b/utils/profiles/chromecasth265.ts @@ -2,8 +2,8 @@ import { DeviceProfile } from "@jellyfin/sdk/lib/generated-client/models"; export const chromecasth265: DeviceProfile = { Name: "Chromecast Video Profile", - MaxStreamingBitrate: 8000000, // 8 Mbps - MaxStaticBitrate: 8000000, // 8 Mbps + MaxStreamingBitrate: 16000000, // 16Mbps + MaxStaticBitrate: 16000000, // 16 Mbps MusicStreamingTranscodingBitrate: 384000, // 384 kbps CodecProfiles: [ {