aboutsummaryrefslogtreecommitdiffstats
path: root/tests/queue.rs
diff options
context:
space:
mode:
authorsalmonik <raisersoft@proton.me>2026-07-06 15:58:01 +0200
committersalmonik <raisersoft@proton.me>2026-07-06 15:58:01 +0200
commitfdfe24213d70b5548fb09051a0e32b7224210231 (patch)
treeced63779d57e44fa35a896b27bf07e9eee120d5f /tests/queue.rs
parentadd MPRIS support and non-blocking notifs (diff)
downloadrsplayer-fdfe24213d70b5548fb09051a0e32b7224210231.tar.gz
rsplayer-fdfe24213d70b5548fb09051a0e32b7224210231.zip
add track index to MPRIS
Diffstat (limited to 'tests/queue.rs')
-rw-r--r--tests/queue.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/queue.rs b/tests/queue.rs
index 59311d2..2eaa6f3 100644
--- a/tests/queue.rs
+++ b/tests/queue.rs
@@ -14,6 +14,7 @@ fn track(path: &str, title: Option<&str>, artist: Option<&str>, album: Option<&s
14 title: title.map(|s| s.to_string()), 14 title: title.map(|s| s.to_string()),
15 artist: artist.map(|s| s.to_string()), 15 artist: artist.map(|s| s.to_string()),
16 album: album.map(|s| s.to_string()), 16 album: album.map(|s| s.to_string()),
17 track_number: None,
17 duration_secs: None, 18 duration_secs: None,
18 is_stream: false, 19 is_stream: false,
19 } 20 }
@@ -25,6 +26,7 @@ fn track_no_meta(path: &str) -> Track {
25 title: None, 26 title: None,
26 artist: None, 27 artist: None,
27 album: None, 28 album: None,
29 track_number: None,
28 duration_secs: None, 30 duration_secs: None,
29 is_stream: false, 31 is_stream: false,
30 } 32 }