mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
ETag for synced media
This commit is contained in:
parent
430b187ef6
commit
b098f0cd27
@ -144,6 +144,10 @@ namespace MediaBrowser.Server.Implementations.Sync
|
|||||||
{
|
{
|
||||||
mediaSource.Id = item.Id;
|
mediaSource.Id = item.Id;
|
||||||
mediaSource.SupportsTranscoding = false;
|
mediaSource.SupportsTranscoding = false;
|
||||||
|
if (mediaSource.Protocol == Model.MediaInfo.MediaProtocol.File)
|
||||||
|
{
|
||||||
|
mediaSource.ETag = item.Id;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public Task CloseMediaSource(string liveStreamId, CancellationToken cancellationToken)
|
public Task CloseMediaSource(string liveStreamId, CancellationToken cancellationToken)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user