mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Fix LiveTV Playback
This commit is contained in:
parent
3a33ed9ffc
commit
c54db604d9
1 changed files with 2 additions and 2 deletions
|
@ -2573,8 +2573,8 @@ export class PlaybackManager {
|
||||||
}
|
}
|
||||||
|
|
||||||
const apiClient = ServerConnections.getApiClient(item.ServerId);
|
const apiClient = ServerConnections.getApiClient(item.ServerId);
|
||||||
const mediaSourceId = playOptions.mediaSourceId || item.Id;
|
const mediaSourceId = playOptions.mediaSourceId;
|
||||||
const getMediaStreams = apiClient.getItem(apiClient.getCurrentUserId(), mediaSourceId)
|
const getMediaStreams = apiClient.getItem(apiClient.getCurrentUserId(), mediaSourceId || item.Id)
|
||||||
.then(fullItem => {
|
.then(fullItem => {
|
||||||
return fullItem.MediaStreams;
|
return fullItem.MediaStreams;
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue