diff options
author | danielwerg <[email protected]> | 2024-12-06 01:41:00 +0300 |
---|---|---|
committer | danielwerg <[email protected]> | 2024-12-06 01:41:00 +0300 |
commit | ae85ea90419401e726262b466a5c67b533f0746c (patch) | |
tree | b5cb95ac828115c3cd1aa3a3f72ad87d21b8233b | |
parent | c9f8f984a38df29fd4c265b77c8eedddc96b3ad1 (diff) |
fix(mpris): shuffle/loop unsupported
-rw-r--r-- | lib/mpris/player.vala | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/mpris/player.vala b/lib/mpris/player.vala index f4ba8ec..e6d84bf 100644 --- a/lib/mpris/player.vala +++ b/lib/mpris/player.vala @@ -440,6 +440,9 @@ public class AstalMpris.Player : Object { _loop_status = Loop.from_string(proxy.loop_status); notify_property("loop-status"); } + } else { + _loop_status = Loop.UNSUPPORTED; + notify_property("loop-status"); } if (rate != proxy.rate) { @@ -452,6 +455,9 @@ public class AstalMpris.Player : Object { _shuffle_status = Shuffle.from_bool(proxy.shuffle); notify_property("shuffle-status"); } + } else { + _shuffle_status = Shuffle.UNSUPPORTED; + notify_property("shuffle-status"); } if (volume != proxy.volume) { |