2021-07-24 13:58:50 -04:00
|
|
|
#pragma warning disable CA1002, CS1591
|
2020-08-22 15:56:24 -04:00
|
|
|
|
2019-01-13 15:01:16 -05:00
|
|
|
using System.Collections.Generic;
|
2020-05-20 13:07:53 -04:00
|
|
|
using Jellyfin.Data.Entities;
|
2018-12-27 18:27:57 -05:00
|
|
|
using MediaBrowser.Controller.Dto;
|
2019-01-13 14:25:32 -05:00
|
|
|
using MediaBrowser.Controller.Entities;
|
|
|
|
using MediaBrowser.Controller.Entities.Audio;
|
2018-12-27 18:27:57 -05:00
|
|
|
|
|
|
|
namespace MediaBrowser.Controller.Library
|
|
|
|
{
|
|
|
|
public interface IMusicManager
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// Gets the instant mix from song.
|
|
|
|
/// </summary>
|
2021-07-24 13:58:50 -04:00
|
|
|
/// <param name="item">The item to use.</param>
|
|
|
|
/// <param name="user">The user to use.</param>
|
|
|
|
/// <param name="dtoOptions">The options to use.</param>
|
|
|
|
/// <returns>List of items.</returns>
|
2024-03-13 09:56:51 -04:00
|
|
|
List<BaseItem> GetInstantMixFromItem(BaseItem item, User? user, DtoOptions dtoOptions);
|
2018-12-27 18:27:57 -05:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Gets the instant mix from artist.
|
|
|
|
/// </summary>
|
2021-07-24 13:58:50 -04:00
|
|
|
/// <param name="artist">The artist to use.</param>
|
|
|
|
/// <param name="user">The user to use.</param>
|
|
|
|
/// <param name="dtoOptions">The options to use.</param>
|
|
|
|
/// <returns>List of items.</returns>
|
2024-03-13 09:56:51 -04:00
|
|
|
List<BaseItem> GetInstantMixFromArtist(MusicArtist artist, User? user, DtoOptions dtoOptions);
|
2018-12-27 18:27:57 -05:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Gets the instant mix from genre.
|
|
|
|
/// </summary>
|
2021-07-24 13:58:50 -04:00
|
|
|
/// <param name="genres">The genres to use.</param>
|
|
|
|
/// <param name="user">The user to use.</param>
|
|
|
|
/// <param name="dtoOptions">The options to use.</param>
|
|
|
|
/// <returns>List of items.</returns>
|
2024-03-13 09:56:51 -04:00
|
|
|
List<BaseItem> GetInstantMixFromGenres(IEnumerable<string> genres, User? user, DtoOptions dtoOptions);
|
2018-12-27 18:27:57 -05:00
|
|
|
}
|
|
|
|
}
|