ETag for synced media

This commit is contained in:
Softworkz 2016-08-14 02:51:11 +02:00 committed by softworkz
parent 430b187ef6
commit b098f0cd27

View File

@ -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)