mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update direct stream url for improved caching
This commit is contained in:
parent
1895de9249
commit
22883e74a5
1 changed files with 4 additions and 0 deletions
|
@ -520,6 +520,10 @@ define(['appSettings', 'userSettings', 'appStorage', 'datetime'], function (appS
|
||||||
api_key: ApiClient.accessToken()
|
api_key: ApiClient.accessToken()
|
||||||
};
|
};
|
||||||
|
|
||||||
|
if (mediaSource.ETag) {
|
||||||
|
directOptions.Tag = mediaSource.ETag;
|
||||||
|
}
|
||||||
|
|
||||||
if (mediaSource.LiveStreamId) {
|
if (mediaSource.LiveStreamId) {
|
||||||
directOptions.LiveStreamId = mediaSource.LiveStreamId;
|
directOptions.LiveStreamId = mediaSource.LiveStreamId;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue