<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rsplayer/src/mpris.rs, branch main</title>
<subtitle>Daemon focused CLI music player
</subtitle>
<id>https://git.2137697.xyz/rsplayer/atom?h=main</id>
<link rel='self' href='https://git.2137697.xyz/rsplayer/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://git.2137697.xyz/rsplayer/'/>
<updated>2026-11-02T12:22:44Z</updated>
<entry>
<title>config: parse the config once and reuse it until the file changes</title>
<updated>2026-11-02T12:22:44Z</updated>
<author>
<name>salmonik</name>
<email>salmonik@tuta.io</email>
</author>
<published>2026-11-02T12:22:44Z</published>
<link rel='alternate' type='text/html' href='https://git.2137697.xyz/rsplayer/commit/?id=2c044de38f6adcfbd3cc64eb9fa55e67d61e6f94'/>
<id>urn:sha1:2c044de38f6adcfbd3cc64eb9fa55e67d61e6f94</id>
<content type='text'>
Every command, status line and notification went through Config::load, which
reads *and* rewrites config.toml, so `rsp status` alone touched the file on
each call.

The daemon now keeps a parsed copy and only stats the file to notice outside
edits, so `rsp settings set` still takes effect immediately. Config::save
refreshes the cached copy too, and Config::config_path is shared by the loader
and the cache.
</content>
</entry>
<entry>
<title>seek: jump within the current track from the CLI and over MPRIS</title>
<updated>2026-11-02T12:19:49Z</updated>
<author>
<name>salmonik</name>
<email>salmonik@tuta.io</email>
</author>
<published>2026-11-02T12:19:49Z</published>
<link rel='alternate' type='text/html' href='https://git.2137697.xyz/rsplayer/commit/?id=50cd2a17734dee4c4739112261fc40974cce409a'/>
<id>urn:sha1:50cd2a17734dee4c4739112261fc40974cce409a</id>
<content type='text'>
`rsp seek 1:30`, `rsp seek +15`, `rsp seek -30` and `rsp seek` (print the
position) drive a new AudioCommand that seeks the format reader, resets the
decoder and drops the buffered samples, so the cpal stream keeps running and
playback continues from the new spot.

MPRIS gets a working Seek/SetPosition, reports CanSeek, and the state watcher
now emits Seeked when the playhead jumps (not just on track changes), which is
what clients need to move their progress bar after an external seek.

`rsp status` also reports the position (and duration when known) and says
Paused instead of Stopped when a track is loaded but not playing.
</content>
</entry>
<entry>
<title>state: persist the queue and pick up where playback stopped</title>
<updated>2026-11-02T12:12:48Z</updated>
<author>
<name>salmonik</name>
<email>salmonik@tuta.io</email>
</author>
<published>2026-11-02T12:12:48Z</published>
<link rel='alternate' type='text/html' href='https://git.2137697.xyz/rsplayer/commit/?id=863b4017714130f042f993e7c9d0f3f8adee22bf'/>
<id>urn:sha1:863b4017714130f042f993e7c9d0f3f8adee22bf</id>
<content type='text'>
The queue, its shuffle order and whether playback was running are written to
~/.local/state/rsplayer/state.json whenever they change, and on shutdown, then
restored at daemon start. Tracks that disappeared from disk are dropped
instead of failing on play.

`rsp resume`/`rsp toggle` now start the restored track when nothing is loaded
into the engine yet, which is the state right after a restart with a queue
that was paused.
</content>
</entry>
<entry>
<title>mpris: report trackid as an object path, drop artUrl, track loop status</title>
<updated>2026-11-02T12:02:11Z</updated>
<author>
<name>salmonik</name>
<email>salmonik@tuta.io</email>
</author>
<published>2026-11-02T12:02:11Z</published>
<link rel='alternate' type='text/html' href='https://git.2137697.xyz/rsplayer/commit/?id=42cf7e9ba7ea36e04b970e132ebd7cf59c54dd33'/>
<id>urn:sha1:42cf7e9ba7ea36e04b970e132ebd7cf59c54dd33</id>
<content type='text'>
An empty artUrl is not a valid URI and makes some clients render a broken
image, and the repeat button snapped back to "None" because LoopStatus was
not stored.
</content>
</entry>
<entry>
<title>Fix synchronous HTTP calls</title>
<updated>2026-07-30T16:37:52Z</updated>
<author>
<name>salmonik</name>
<email>salmonik@tuta.io</email>
</author>
<published>2026-07-30T16:37:52Z</published>
<link rel='alternate' type='text/html' href='https://git.2137697.xyz/rsplayer/commit/?id=da0251d55d3902c90967b36b7a5441404bdf24ef'/>
<id>urn:sha1:da0251d55d3902c90967b36b7a5441404bdf24ef</id>
<content type='text'>
</content>
</entry>
<entry>
<title>add track index to MPRIS</title>
<updated>2026-07-06T13:58:01Z</updated>
<author>
<name>salmonik</name>
<email>raisersoft@proton.me</email>
</author>
<published>2026-07-06T13:58:01Z</published>
<link rel='alternate' type='text/html' href='https://git.2137697.xyz/rsplayer/commit/?id=fdfe24213d70b5548fb09051a0e32b7224210231'/>
<id>urn:sha1:fdfe24213d70b5548fb09051a0e32b7224210231</id>
<content type='text'>
</content>
</entry>
<entry>
<title>add MPRIS support and non-blocking notifs</title>
<updated>2026-07-06T13:49:27Z</updated>
<author>
<name>salmonik</name>
<email>raisersoft@proton.me</email>
</author>
<published>2026-07-06T13:49:27Z</published>
<link rel='alternate' type='text/html' href='https://git.2137697.xyz/rsplayer/commit/?id=547e7ac5218327216704e1fb72004a3de6992940'/>
<id>urn:sha1:547e7ac5218327216704e1fb72004a3de6992940</id>
<content type='text'>
</content>
</entry>
</feed>
