1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Update playbackmanager.js

Co-authored-by: Bill Thornton <thornbill@users.noreply.github.com>
This commit is contained in:
viown 2024-10-08 19:19:38 +03:00 committed by GitHub
parent c2c5228c06
commit 07316cf870
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2576,7 +2576,7 @@ export class PlaybackManager {
const apiClient = ServerConnections.getApiClient(item.ServerId);
let mediaSourceId;
const isLiveTv = [BaseItemKind.TvChannel, BaseItemKind.Channel, BaseItemKind.LiveTvChannel].includes(item.Type);
const isLiveTv = [BaseItemKind.TvChannel, BaseItemKind.LiveTvChannel].includes(item.Type);
if (!isLiveTv) {
mediaSourceId = playOptions.mediaSourceId || item.Id;