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…
Reference in New Issue
Block a user