The player reported a track only when the queue index changed, to drop the repeat stream-start messages playbin posts for one track. Starting another album at the same index (track 1 after track 1) therefore sent no event: the app kept the old track on screen, and pause said nothing was playing, because it had cleared the current track while waiting for that event. A stream-start that begins a track the player was asked to start is now always reported. Only repeats within one track are dropped, and the app treats every report as a new play, so replaying the current track resets its position and scrobbles again.
27 lines
758 B
TOML
27 lines
758 B
TOML
[package]
|
|
name = "remus"
|
|
version = "0.2.1"
|
|
edition = "2024"
|
|
license = "MIT"
|
|
|
|
[dependencies]
|
|
anyhow = "1.0.104"
|
|
directories = "6.0.0"
|
|
env_logger = "0.11.11"
|
|
fontique = { version = "0.11", default-features = false, features = ["fontconfig-dlopen"] }
|
|
gilrs = "0.11.2"
|
|
gstreamer = "0.25.4"
|
|
image = { version = "0.25.10", default-features = false, features = ["jpeg", "png", "webp"] }
|
|
log = "0.4.35"
|
|
lru = "0.19.0"
|
|
md5 = "0.8.1"
|
|
reqwest = { version = "0.13.5", default-features = false, features = ["json", "rustls"] }
|
|
serde = { version = "1.0.229", features = ["derive"] }
|
|
serde_json = "1.0.154"
|
|
slint = "1.18.1"
|
|
tokio = { version = "1.54.1", features = ["rt-multi-thread", "sync", "macros", "time"] }
|
|
toml = "1.1.8"
|
|
|
|
[build-dependencies]
|
|
slint-build = "1.18.1"
|