Query media streams by type instead of filtering

This commit is contained in:
Joe Rogers
2021-11-17 22:03:52 +01:00
parent c32a421ea7
commit 7cf5767949
7 changed files with 12 additions and 18 deletions

View File

@@ -126,15 +126,6 @@ namespace MediaBrowser.Controller.Entities.Audio
return base.GetBlockUnratedType();
}
public List<MediaStream> GetMediaStreams(MediaStreamType type)
{
return MediaSourceManager.GetMediaStreams(new MediaStreamQuery
{
ItemId = Id,
Type = type
});
}
public SongInfo GetLookupInfo()
{
var info = GetItemLookupInfo<SongInfo>();