|
|
|
@ -79,23 +79,6 @@ namespace MediaBrowser.Controller.Entities
|
|
|
|
|
locationType != LocationType.Virtual;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[IgnoreDataMember]
|
|
|
|
|
public override LocationType LocationType
|
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
{
|
|
|
|
|
if (SourceType == SourceType.Channel)
|
|
|
|
|
{
|
|
|
|
|
if (string.IsNullOrEmpty(Path))
|
|
|
|
|
{
|
|
|
|
|
return LocationType.Remote;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return base.LocationType;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[IgnoreDataMember]
|
|
|
|
|
public override bool SupportsAddingToPlaylist
|
|
|
|
|
{
|
|
|
|
|