Merge pull request #2091 from softworkz/EtagForSync
Provide (unique) ETag value for synced media sources
This commit is contained in:
commit
4964899fa3
|
@ -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 New Issue
Block a user