fix saving of IsVirtualItem
This commit is contained in:
parent
4fa0df37e2
commit
73bafa7cda
|
@ -283,7 +283,7 @@ namespace MediaBrowser.Server.Implementations.Library
|
||||||
ExcludeItemTypes = excludeItemTypes,
|
ExcludeItemTypes = excludeItemTypes,
|
||||||
ExcludeLocationTypes = new[] { LocationType.Virtual },
|
ExcludeLocationTypes = new[] { LocationType.Virtual },
|
||||||
Limit = limit * 5,
|
Limit = limit * 5,
|
||||||
ExcludeSourceTypes = parentIds.Length == 0 ? new[] { SourceType.Channel, SourceType.LiveTV } : new SourceType[] { },
|
SourceTypes = parentIds.Length == 0 ? new[] { SourceType.Library } : new SourceType[] { },
|
||||||
IsPlayed = request.IsPlayed
|
IsPlayed = request.IsPlayed
|
||||||
|
|
||||||
}, parentIds);
|
}, parentIds);
|
||||||
|
|
|
@ -937,7 +937,7 @@ namespace MediaBrowser.Server.Implementations.Persistence
|
||||||
|
|
||||||
_saveItemCommand.GetParameter(index++).Value = item.Album;
|
_saveItemCommand.GetParameter(index++).Value = item.Album;
|
||||||
|
|
||||||
_saveItemCommand.GetParameter(index++).Value = item.IsVirtualItem || (!item.IsFolder && item.LocationType == LocationType.Virtual);
|
_saveItemCommand.GetParameter(index++).Value = item.IsVirtualItem;
|
||||||
|
|
||||||
var hasSeries = item as IHasSeries;
|
var hasSeries = item as IHasSeries;
|
||||||
if (hasSeries != null)
|
if (hasSeries != null)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user