feat: Stream Now instant-play of a random track from the nav button

This commit is contained in:
daniel-c-harvey
2026-06-07 18:33:08 -04:00
parent 2b4cdeaf72
commit 0d4ef369b9
11 changed files with 287 additions and 2 deletions
@@ -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();
}