Rockbox open source high quality audio player as a Music Player Daemon
mpris rockbox mpd libadwaita audio rust zig deno
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fill empty track fields from metadata

Update deno submodule to e2ac99fa72a9e3d70a43a11562233271e16e84f9

+12
+12
crates/server/src/lib.rs
··· 345 345 track.album_art = album_art; 346 346 track.album_id = Some(metadata.album_id); 347 347 track.artist_id = Some(metadata.artist_id); 348 + if track.title.is_empty() { 349 + track.title = metadata.title.clone(); 350 + } 351 + if track.artist.is_empty() { 352 + track.artist = metadata.artist.clone(); 353 + } 354 + if track.album.is_empty() { 355 + track.album = metadata.album.clone(); 356 + } 357 + if track.album_artist.is_empty() { 358 + track.album_artist = metadata.album_artist.clone(); 359 + } 348 360 SimpleBroker::publish(track.clone()); 349 361 350 362 let track_changed = if let Some(ref current) = current_scrobble_track {