about summary refs log tree commit diff stats
path: root/pkgs/by-name/mp/mpdpopm/src/storage/mod.rs
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-01-25 00:46:33 +0100
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-01-25 00:46:33 +0100
commit17be85d4155628b7a6a8c3e76641f20a91af4da4 (patch)
treec9b66f7399a7e80cc50db6b16c3534e3fcdc1e75 /pkgs/by-name/mp/mpdpopm/src/storage/mod.rs
parentpkgs/mpdpopm: Init (diff)
downloadnixos-config-17be85d4155628b7a6a8c3e76641f20a91af4da4.zip
modules/{mpdpopm,legacy/beets}: Move the mpd stat tracking to mpdpopm
It is just easier to use the hand-written rust version, than to try to
do this via the beets plugin.
Diffstat (limited to 'pkgs/by-name/mp/mpdpopm/src/storage/mod.rs')
-rw-r--r--pkgs/by-name/mp/mpdpopm/src/storage/mod.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/by-name/mp/mpdpopm/src/storage/mod.rs b/pkgs/by-name/mp/mpdpopm/src/storage/mod.rs
index 29cfe144..325b633a 100644
--- a/pkgs/by-name/mp/mpdpopm/src/storage/mod.rs
+++ b/pkgs/by-name/mp/mpdpopm/src/storage/mod.rs
@@ -93,12 +93,12 @@ pub mod play_count {
         #[tokio::test]
         async fn pc_smoke() {
             let mock = Box::new(Mock::new(&[
-                ("sticker get song a pc", "sticker: pc=11\nOK\n"),
+                ("sticker get song a unwoundstack.com:playcount", "sticker: unwoundstack.com:playcount=11\nOK\n"),
                 (
-                    "sticker get song a pc",
+                    "sticker get song a unwoundstack.com:playcount",
                     "ACK [50@0] {sticker} no such sticker\n",
                 ),
-                ("sticker get song a pc", "splat!"),
+                ("sticker get song a unwoundstack.com:playcount", "splat!"),
             ]));
             let mut cli = Client::new(mock).unwrap();