2014-03-30 16:49:40 +00:00
|
|
|
|
using MediaBrowser.Controller.Entities;
|
|
|
|
|
using MediaBrowser.Controller.Entities.Audio;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
|
|
namespace MediaBrowser.Controller.Library
|
|
|
|
|
{
|
|
|
|
|
public interface IMusicManager
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets the instant mix from song.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="item">The item.</param>
|
|
|
|
|
/// <param name="user">The user.</param>
|
|
|
|
|
/// <returns>IEnumerable{Audio}.</returns>
|
2015-01-26 16:47:15 +00:00
|
|
|
|
IEnumerable<Audio> GetInstantMixFromItem(BaseItem item, User user);
|
2014-03-30 16:49:40 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets the instant mix from artist.
|
|
|
|
|
/// </summary>
|
2015-08-19 23:57:27 +00:00
|
|
|
|
/// <param name="artist">The artist.</param>
|
2014-03-30 16:49:40 +00:00
|
|
|
|
/// <param name="user">The user.</param>
|
|
|
|
|
/// <returns>IEnumerable{Audio}.</returns>
|
2015-08-19 23:57:27 +00:00
|
|
|
|
IEnumerable<Audio> GetInstantMixFromArtist(MusicArtist artist, User user);
|
2014-03-30 16:49:40 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets the instant mix from genre.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="genres">The genres.</param>
|
|
|
|
|
/// <param name="user">The user.</param>
|
|
|
|
|
/// <returns>IEnumerable{Audio}.</returns>
|
|
|
|
|
IEnumerable<Audio> GetInstantMixFromGenres(IEnumerable<string> genres, User user);
|
|
|
|
|
}
|
|
|
|
|
}
|