roadie/RoadieApi/Services/ISubsonicService.cs

33 lines
1.6 KiB
C#
Raw Normal View History

using Roadie.Library;
using Roadie.Library.Models.ThirdPartyApi.Subsonic;
using System.Threading.Tasks;
namespace Roadie.Api.Services
{
public interface ISubsonicService
{
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);
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);
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);
Task<OperationResult<Response>> GetArtistInfo(Request request, string id, int? count, bool includeNotPresent, ArtistInfoVersion version);
}
2018-11-16 03:37:00 +00:00
}