jellyfin-server/MediaBrowser.Controller/Library/IMusicManager.cs

29 lines
890 B
C#
Raw Normal View History

#pragma warning disable CS1591
using System.Collections.Generic;
2020-05-20 17:07:53 +00:00
using Jellyfin.Data.Entities;
2018-12-27 23:27:57 +00:00
using MediaBrowser.Controller.Dto;
using MediaBrowser.Controller.Entities;
using MediaBrowser.Controller.Entities.Audio;
2018-12-27 23:27:57 +00:00
namespace MediaBrowser.Controller.Library
{
public interface IMusicManager
{
/// <summary>
/// Gets the instant mix from song.
/// </summary>
2020-05-20 17:07:53 +00:00
List<BaseItem> GetInstantMixFromItem(BaseItem item, User user, DtoOptions dtoOptions);
2018-12-27 23:27:57 +00:00
/// <summary>
/// Gets the instant mix from artist.
/// </summary>
2020-05-20 17:07:53 +00:00
List<BaseItem> GetInstantMixFromArtist(MusicArtist artist, User user, DtoOptions dtoOptions);
2018-12-27 23:27:57 +00:00
/// <summary>
/// Gets the instant mix from genre.
/// </summary>
2020-05-20 17:07:53 +00:00
List<BaseItem> GetInstantMixFromGenres(IEnumerable<string> genres, User user, DtoOptions dtoOptions);
2018-12-27 23:27:57 +00:00
}
}