mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-07 03:48:06 +02:00
ETag for synced media
This commit is contained in:
parent
430b187ef6
commit
b098f0cd27
1 changed files with 4 additions and 0 deletions
|
@ -144,6 +144,10 @@ namespace MediaBrowser.Server.Implementations.Sync
|
|||
{
|
||||
mediaSource.Id = item.Id;
|
||||
mediaSource.SupportsTranscoding = false;
|
||||
if (mediaSource.Protocol == Model.MediaInfo.MediaProtocol.File)
|
||||
{
|
||||
mediaSource.ETag = item.Id;
|
||||
}
|
||||
}
|
||||
|
||||
public Task CloseMediaSource(string liveStreamId, CancellationToken cancellationToken)
|
||||
|
|
Loading…
Reference in a new issue