roadie/RoadieApi/Services/ITrackService.cs

19 lines
658 B
C#
Raw Normal View History

2018-11-17 02:14:32 +00:00
using Roadie.Library;
using Roadie.Library.Models;
2018-11-12 00:28:37 +00:00
using Roadie.Library.Models.Pagination;
using Roadie.Library.Models.Users;
2018-11-15 00:16:25 +00:00
using System;
2018-11-17 02:14:32 +00:00
using System.Collections.Generic;
using System.Threading.Tasks;
2018-11-12 00:28:37 +00:00
namespace Roadie.Api.Services
{
public interface ITrackService
{
2018-11-17 02:14:32 +00:00
Task<OperationResult<Track>> ById(User roadieUser, Guid id, IEnumerable<string> includes);
2018-11-15 00:16:25 +00:00
Task<Library.Models.Pagination.PagedResult<TrackList>> List(User roadieUser, PagedRequest request, bool? doRandomize = false, Guid? releaseId = null);
2018-11-17 02:14:32 +00:00
Task<OperationResult<TrackStreamInfo>> TrackStreamInfo(Guid trackId, long beginBytes, long endBytes);
2018-11-12 00:28:37 +00:00
}
}