2018-11-19 23:51:58 +00:00
|
|
|
|
using Roadie.Library;
|
|
|
|
|
using Roadie.Library.Models.ThirdPartyApi.Subsonic;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace Roadie.Api.Services
|
2018-11-15 15:10:29 +00:00
|
|
|
|
{
|
|
|
|
|
public interface ISubsonicService
|
|
|
|
|
{
|
2018-11-21 15:22:55 +00:00
|
|
|
|
Task<OperationResult<Response>> GetAlbumList(Request request, Roadie.Library.Models.Users.User roadieUser, AlbumListVersions version);
|
2018-11-21 06:34:53 +00:00
|
|
|
|
|
|
|
|
|
Task<FileOperationResult<Roadie.Library.Models.Image>> GetCoverArt(Request request, int? size);
|
|
|
|
|
|
2018-11-19 23:51:58 +00:00
|
|
|
|
Task<OperationResult<Response>> GetGenres(Request request);
|
|
|
|
|
|
2018-11-21 06:34:53 +00:00
|
|
|
|
Task<OperationResult<Response>> GetIndexes(Request request, Roadie.Library.Models.Users.User roadieUser, string musicFolderId = null, long? ifModifiedSince = null);
|
|
|
|
|
|
|
|
|
|
Task<OperationResult<Response>> GetMusicDirectory(Request request, Roadie.Library.Models.Users.User roadieUser, string id);
|
2018-11-19 23:51:58 +00:00
|
|
|
|
|
|
|
|
|
Task<OperationResult<Response>> GetMusicFolders(Request request);
|
|
|
|
|
|
|
|
|
|
Task<OperationResult<Response>> GetPlaylists(Request request, Roadie.Library.Models.Users.User roadieUser, string filterToUserName);
|
|
|
|
|
|
|
|
|
|
Task<OperationResult<Response>> GetPodcasts(Request request);
|
|
|
|
|
|
2018-11-21 06:34:53 +00:00
|
|
|
|
OperationResult<Response> Ping(Request request);
|
2018-11-20 04:47:12 +00:00
|
|
|
|
|
2018-11-21 06:34:53 +00:00
|
|
|
|
OperationResult<Response> GetLicense(Request request);
|
2018-11-20 14:36:07 +00:00
|
|
|
|
|
2018-11-21 06:34:53 +00:00
|
|
|
|
Task<OperationResult<Response>> Search(Request request, Roadie.Library.Models.Users.User roadieUser);
|
|
|
|
|
Task<OperationResult<Response>> GetAlbum(Request request, Roadie.Library.Models.Users.User roadieUser);
|
2018-11-21 15:22:55 +00:00
|
|
|
|
Task<OperationResult<Response>> GetArtistInfo(Request request, string id, int? count, bool includeNotPresent, ArtistInfoVersion version);
|
2018-11-15 15:10:29 +00:00
|
|
|
|
}
|
2018-11-16 03:37:00 +00:00
|
|
|
|
}
|