hoyon / mpv-mpris

MPRIS plugin for mpv

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Loop property doesn't 'update' in 0.33.0

pauloo27 opened this issue · comments

commented

I updated to version 0.33.0 and now changing the loop status work, but fetching it doesn't return the correct value.

Running playerctl -p mpv loop Track && playerctl -p mpv loop the output is None, but it actually loops the track.

commented

I tried to do some debug and the status when you set the loop to Track is inf instead of yes.

Replacing yes by inf in

if (g_strcmp0(status, "yes") == 0) {
seems to fix the problem.

Can I create a PR fixing it?