mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-08-27 04:16:47 +00:00
resolve audio channel playback
This commit is contained in:
parent
0694dba1e0
commit
504c9e34c0
2 changed files with 5 additions and 17 deletions
|
|
@ -255,6 +255,11 @@ namespace MediaBrowser.Controller.Entities
|
|||
|
||||
if (string.IsNullOrWhiteSpace(Path))
|
||||
{
|
||||
if (SourceType == SourceType.Channel)
|
||||
{
|
||||
return LocationType.Remote;
|
||||
}
|
||||
|
||||
return LocationType.Virtual;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue