fix(radio): pass album_id and artist_id for track navigation
Add album_id and artist_id fields to QueueTrack struct so that radio tracks have proper navigation metadata. This enables clicking artist/album in the main player to navigate correctly when playing tracks from artist or track radio. Changes: - Add album_id/artist_id to Rust QueueTrack struct - Update track_to_queue_track to extract IDs from Qobuz Track - Add fields to frontend BackendQueueTrack interface - Pass IDs in ArtistDetailView radio playback - Pass IDs in playQueueTrack to playTrack service
This commit is contained in:
1 parent
8eed63deb0
commit
aabbe8ea67
5 files changed
+18
-1
No files matched your search
@@ -26,6 +26,10 @@ pub struct QueueTrack {
|
||||
/// Whether this is a local library track (not from Qobuz)
|
||||
#[serde(default)]
|
||||
pub is_local: bool,
|
||||
/// Album ID for navigation (Qobuz album ID)
|
||||
pub album_id: Option<String>,
|
||||
/// Artist ID for navigation (Qobuz artist ID)
|
||||
pub artist_id: Option<u64>,
|
||||
}
|
||||
|
||||
/// Repeat mode options
|
||||
|
||||
Reference in new issue
Block a user