Skip to content

Commit

Permalink
Fix wrong parameter for shuffle
Browse files Browse the repository at this point in the history
  • Loading branch information
pabera committed Jan 3, 2024
1 parent bf937cb commit 7fb7241
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jukebox/components/playermpd/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ def shuffle(self, random):

@plugs.tag
def toggle_shuffle(self):
if self.mpd_status['shuffle'] == '0':
if self.mpd_status['random'] == '0':
self.shuffle(1)
else:
self.shuffle(0)
Expand Down

0 comments on commit 7fb7241

Please sign in to comment.