mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-26 20:14:45 +01:00
Query MediaSourceManager directly in image providers
Add doc comments/minor tweaks to AudioImageProvider
This commit is contained in:
@@ -1107,16 +1107,10 @@ namespace MediaBrowser.Controller.Entities
|
||||
}
|
||||
|
||||
public virtual List<MediaStream> GetMediaStreams()
|
||||
{
|
||||
return GetMediaStreams(null);
|
||||
}
|
||||
|
||||
public virtual List<MediaStream> GetMediaStreams(MediaStreamType? type)
|
||||
{
|
||||
return MediaSourceManager.GetMediaStreams(new MediaStreamQuery
|
||||
{
|
||||
ItemId = Id,
|
||||
Type = type
|
||||
ItemId = Id
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -154,11 +154,6 @@ namespace MediaBrowser.Controller.LiveTv
|
||||
return new List<MediaStream>();
|
||||
}
|
||||
|
||||
public override List<MediaStream> GetMediaStreams(MediaStreamType? type)
|
||||
{
|
||||
return new List<MediaStream>();
|
||||
}
|
||||
|
||||
protected override string GetInternalMetadataPath(string basePath)
|
||||
{
|
||||
return System.IO.Path.Combine(basePath, "livetv", Id.ToString("N", CultureInfo.InvariantCulture), "metadata");
|
||||
|
||||
Reference in New Issue
Block a user