resolve audio channel playback

This commit is contained in:
Luke Pulverenti 2016-04-01 01:02:29 -04:00
parent 0694dba1e0
commit 504c9e34c0
2 changed files with 5 additions and 17 deletions

View File

@ -255,6 +255,11 @@ namespace MediaBrowser.Controller.Entities
if (string.IsNullOrWhiteSpace(Path)) if (string.IsNullOrWhiteSpace(Path))
{ {
if (SourceType == SourceType.Channel)
{
return LocationType.Remote;
}
return LocationType.Virtual; return LocationType.Virtual;
} }

View File

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