aboutsummaryrefslogtreecommitdiffstats
path: root/Cargo.lock
diff options
context:
space:
mode:
authorsalmonik <raisersoft@proton.me>2026-05-16 11:43:32 +0200
committersalmonik <raisersoft@proton.me>2026-05-16 11:43:32 +0200
commit04add15691578316ff3da5b5a07d05b314488370 (patch)
tree458b1066001697faa75466d51c7dfd9008ccac16 /Cargo.lock
parentaesthetic changes (diff)
downloadrsplayer-04add15691578316ff3da5b5a07d05b314488370.tar.gz
rsplayer-04add15691578316ff3da5b5a07d05b314488370.zip
Add scrobbling support (Last.fm + ListenBrainz) and rsp settings reload
- Full Last.fm API implementation with MD5 signing (track.updateNowPlaying, track.scrobble) - Full ListenBrainz API implementation (/1/submit-listens for playing_now and single) - ScrobbleState in daemon tracking track, start time, and unix timestamp per play - Scrobble threshold: ≥30s play AND (≥half duration OR ≥4 min) - Duration extraction from symphonia codec params into AudioMetadata and Track - Token validation at daemon startup and on config change - ListenBrainz token valid (user: Salmonium) command to re-read config from disk (avoids token in shell history) - Desktop notifications for token validation results - Empty-credential filtering (empty string = no-op)
Diffstat (limited to '')
-rw-r--r--Cargo.lock89
1 files changed, 88 insertions, 1 deletions
diff --git a/Cargo.lock b/Cargo.lock
index d4a7870..923e985 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -279,6 +279,15 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
279checksum = "c4512299f36f043ab09a583e57bceb5a5aab7a73db1805848e8fef3c9e8c78b3" 279checksum = "c4512299f36f043ab09a583e57bceb5a5aab7a73db1805848e8fef3c9e8c78b3"
280 280
281[[package]] 281[[package]]
282name = "block-buffer"
283version = "0.12.0"
284source = "registry+https://github.com/rust-lang/crates.io-index"
285checksum = "cdd35008169921d80bc60d3d0ab416eecb028c4cd653352907921d95084790be"
286dependencies = [
287 "hybrid-array",
288]
289
290[[package]]
282name = "block2" 291name = "block2"
283version = "0.6.2" 292version = "0.6.2"
284source = "registry+https://github.com/rust-lang/crates.io-index" 293source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -456,6 +465,12 @@ dependencies = [
456] 465]
457 466
458[[package]] 467[[package]]
468name = "const-oid"
469version = "0.10.2"
470source = "registry+https://github.com/rust-lang/crates.io-index"
471checksum = "a6ef517f0926dd24a1582492c791b6a4818a4d94e789a334894aa15b0d12f55c"
472
473[[package]]
459name = "core-foundation" 474name = "core-foundation"
460version = "0.9.4" 475version = "0.9.4"
461source = "registry+https://github.com/rust-lang/crates.io-index" 476source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -541,6 +556,15 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
541checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28" 556checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28"
542 557
543[[package]] 558[[package]]
559name = "crypto-common"
560version = "0.2.1"
561source = "registry+https://github.com/rust-lang/crates.io-index"
562checksum = "77727bb15fa921304124b128af125e7e3b968275d1b108b379190264f4423710"
563dependencies = [
564 "hybrid-array",
565]
566
567[[package]]
544name = "ctrlc" 568name = "ctrlc"
545version = "3.5.2" 569version = "3.5.2"
546source = "registry+https://github.com/rust-lang/crates.io-index" 570source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -567,6 +591,17 @@ dependencies = [
567] 591]
568 592
569[[package]] 593[[package]]
594name = "digest"
595version = "0.11.3"
596source = "registry+https://github.com/rust-lang/crates.io-index"
597checksum = "f1dd6dbb5841937940781866fa1281a1ff7bd3bf827091440879f9994983d5c2"
598dependencies = [
599 "block-buffer",
600 "const-oid",
601 "crypto-common",
602]
603
604[[package]]
570name = "directories" 605name = "directories"
571version = "6.0.0" 606version = "6.0.0"
572source = "registry+https://github.com/rust-lang/crates.io-index" 607source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -768,6 +803,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
768checksum = "07bbe89c50d7a535e539b8c17bc0b49bdb77747034daa8087407d655f3f7cc1d" 803checksum = "07bbe89c50d7a535e539b8c17bc0b49bdb77747034daa8087407d655f3f7cc1d"
769dependencies = [ 804dependencies = [
770 "futures-core", 805 "futures-core",
806 "futures-sink",
771] 807]
772 808
773[[package]] 809[[package]]
@@ -814,7 +850,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
814checksum = "389ca41296e6190b48053de0321d02a77f32f8a5d2461dd38762c0593805c6d6" 850checksum = "389ca41296e6190b48053de0321d02a77f32f8a5d2461dd38762c0593805c6d6"
815dependencies = [ 851dependencies = [
816 "futures-core", 852 "futures-core",
853 "futures-io",
854 "futures-sink",
817 "futures-task", 855 "futures-task",
856 "memchr",
818 "pin-project-lite", 857 "pin-project-lite",
819 "slab", 858 "slab",
820] 859]
@@ -970,6 +1009,15 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
970checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87" 1009checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87"
971 1010
972[[package]] 1011[[package]]
1012name = "hybrid-array"
1013version = "0.4.12"
1014source = "registry+https://github.com/rust-lang/crates.io-index"
1015checksum = "9155a582abd142abc056962c29e3ce5ff2ad5469f4246b537ed42c5deba857da"
1016dependencies = [
1017 "typenum",
1018]
1019
1020[[package]]
973name = "hyper" 1021name = "hyper"
974version = "1.9.0" 1022version = "1.9.0"
975source = "registry+https://github.com/rust-lang/crates.io-index" 1023source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -1382,6 +1430,16 @@ dependencies = [
1382] 1430]
1383 1431
1384[[package]] 1432[[package]]
1433name = "md-5"
1434version = "0.11.0"
1435source = "registry+https://github.com/rust-lang/crates.io-index"
1436checksum = "69b6441f590336821bb897fb28fc622898ccceb1d6cea3fde5ea86b090c4de98"
1437dependencies = [
1438 "cfg-if",
1439 "digest",
1440]
1441
1442[[package]]
1385name = "memchr" 1443name = "memchr"
1386version = "2.8.0" 1444version = "2.8.0"
1387source = "registry+https://github.com/rust-lang/crates.io-index" 1445source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -1924,7 +1982,9 @@ dependencies = [
1924 "base64", 1982 "base64",
1925 "bytes", 1983 "bytes",
1926 "encoding_rs", 1984 "encoding_rs",
1985 "futures-channel",
1927 "futures-core", 1986 "futures-core",
1987 "futures-util",
1928 "h2", 1988 "h2",
1929 "http", 1989 "http",
1930 "http-body", 1990 "http-body",
@@ -1943,6 +2003,7 @@ dependencies = [
1943 "rustls-platform-verifier", 2003 "rustls-platform-verifier",
1944 "serde", 2004 "serde",
1945 "serde_json", 2005 "serde_json",
2006 "serde_urlencoded",
1946 "sync_wrapper", 2007 "sync_wrapper",
1947 "tokio", 2008 "tokio",
1948 "tokio-rustls", 2009 "tokio-rustls",
@@ -1971,7 +2032,7 @@ dependencies = [
1971 2032
1972[[package]] 2033[[package]]
1973name = "rsp" 2034name = "rsp"
1974version = "0.5.0" 2035version = "0.8.0"
1975dependencies = [ 2036dependencies = [
1976 "chrono", 2037 "chrono",
1977 "clap", 2038 "clap",
@@ -1980,7 +2041,9 @@ dependencies = [
1980 "ctrlc", 2041 "ctrlc",
1981 "directories", 2042 "directories",
1982 "dirs", 2043 "dirs",
2044 "hex",
1983 "libc", 2045 "libc",
2046 "md-5",
1984 "notify-rust", 2047 "notify-rust",
1985 "rand 0.10.1", 2048 "rand 0.10.1",
1986 "reqwest", 2049 "reqwest",
@@ -2129,6 +2192,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
2129checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d" 2192checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d"
2130 2193
2131[[package]] 2194[[package]]
2195name = "ryu"
2196version = "1.0.23"
2197source = "registry+https://github.com/rust-lang/crates.io-index"
2198checksum = "9774ba4a74de5f7b1c1451ed6cd5285a32eddb5cccb8cc655a4e50009e06477f"
2199
2200[[package]]
2132name = "same-file" 2201name = "same-file"
2133version = "1.0.6" 2202version = "1.0.6"
2134source = "registry+https://github.com/rust-lang/crates.io-index" 2203source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -2245,6 +2314,18 @@ dependencies = [
2245] 2314]
2246 2315
2247[[package]] 2316[[package]]
2317name = "serde_urlencoded"
2318version = "0.7.1"
2319source = "registry+https://github.com/rust-lang/crates.io-index"
2320checksum = "d3491c14715ca2294c4d6a88f15e84739788c1d030eed8c110436aafdaa2f3fd"
2321dependencies = [
2322 "form_urlencoded",
2323 "itoa",
2324 "ryu",
2325 "serde",
2326]
2327
2328[[package]]
2248name = "shlex" 2329name = "shlex"
2249version = "1.3.0" 2330version = "1.3.0"
2250source = "registry+https://github.com/rust-lang/crates.io-index" 2331source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -2879,6 +2960,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
2879checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" 2960checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b"
2880 2961
2881[[package]] 2962[[package]]
2963name = "typenum"
2964version = "1.20.0"
2965source = "registry+https://github.com/rust-lang/crates.io-index"
2966checksum = "40ce102ab67701b8526c123c1bab5cbe42d7040ccfd0f64af1a385808d2f43de"
2967
2968[[package]]
2882name = "uds_windows" 2969name = "uds_windows"
2883version = "1.2.1" 2970version = "1.2.1"
2884source = "registry+https://github.com/rust-lang/crates.io-index" 2971source = "registry+https://github.com/rust-lang/crates.io-index"