update MediaSourceCount

This commit is contained in:
Luke Pulverenti 2016-05-01 16:56:06 -04:00
parent 6330b13262
commit ad3965a769

View File

@ -1363,9 +1363,10 @@ namespace MediaBrowser.Server.Implementations.Dto
if (fields.Contains(ItemFields.MediaSourceCount))
{
if (video.MediaSourceCount != 1)
var mediaSourceCount = video.MediaSourceCount;
if (mediaSourceCount != 1)
{
dto.MediaSourceCount = video.MediaSourceCount;
dto.MediaSourceCount = mediaSourceCount;
}
}