altdesktop / playerctl

🎧 mpris media player command-line controller for vlc, mpv, RhythmBox, web browsers, cmus, mpd, spotify and others.
GNU Lesser General Public License v3.0
2.42k stars 79 forks source link

playerctld switches "latest player" to mpv livestream without user input #304

Open nick4f42 opened 1 year ago

nick4f42 commented 1 year ago

When watching a livestream with mpv, playerctld will change the player back to mpv every few seconds. I think this is because the mpris:length field changes as the stream progresses. Maybe ignore changes to mpris:length when deciding if a player has changed?

$ playerctl --version
v2.4.1
paulequilibrio commented 3 months ago

I'm having the same issue when playing a network stream with VLC.