Merge mix-play-track-selection-fix into dev (forward releaseId through TrackProxyController so WASM-path mix/session Play resolves the release's own track)
This commit is contained in:
@@ -32,6 +32,7 @@ public class TrackProxyController : ControllerBase
|
||||
[FromQuery] string? q = null,
|
||||
[FromQuery] string? album = null,
|
||||
[FromQuery] string? genre = null,
|
||||
[FromQuery] long? releaseId = null,
|
||||
CancellationToken ct = default)
|
||||
{
|
||||
var query = $"api/track/page?page={page}&pageSize={pageSize}&sortDescending={sortDescending}";
|
||||
@@ -43,6 +44,8 @@ public class TrackProxyController : ControllerBase
|
||||
query += $"&album={Uri.EscapeDataString(album)}";
|
||||
if (!string.IsNullOrWhiteSpace(genre))
|
||||
query += $"&genre={Uri.EscapeDataString(genre)}";
|
||||
if (releaseId is { } rid)
|
||||
query += $"&releaseId={rid}";
|
||||
|
||||
HttpResponseMessage upstream;
|
||||
try
|
||||
|
||||
Reference in New Issue
Block a user