mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-08 20:38:24 +02:00
update MediaSourceCount
This commit is contained in:
parent
6330b13262
commit
ad3965a769
1 changed files with 3 additions and 2 deletions
|
@ -1363,9 +1363,10 @@ namespace MediaBrowser.Server.Implementations.Dto
|
||||||
|
|
||||||
if (fields.Contains(ItemFields.MediaSourceCount))
|
if (fields.Contains(ItemFields.MediaSourceCount))
|
||||||
{
|
{
|
||||||
if (video.MediaSourceCount != 1)
|
var mediaSourceCount = video.MediaSourceCount;
|
||||||
|
if (mediaSourceCount != 1)
|
||||||
{
|
{
|
||||||
dto.MediaSourceCount = video.MediaSourceCount;
|
dto.MediaSourceCount = mediaSourceCount;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue