feat: Stream Now instant-play of a random track from the nav button
This commit is contained in:
@@ -20,4 +20,11 @@ public interface ITrackDataService
|
||||
bool sortDescending = false);
|
||||
|
||||
Task<ApiResult<TrackDto>> GetTrack(string trackId);
|
||||
|
||||
/// <summary>
|
||||
/// Fetches a random track from the public library for instant play. Success with a value on a
|
||||
/// hit; success with a null value when the library is empty (a valid state, not a failure);
|
||||
/// failure on any other transport error.
|
||||
/// </summary>
|
||||
Task<ApiResult<TrackDto?>> GetRandomTrack();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user