Skip to content

Commit

Permalink
1922
Browse files Browse the repository at this point in the history
  • Loading branch information
Sjoerd82 committed Jul 3, 2018
1 parent 1019567 commit 91aed3f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions modules/source_plugin_mpd.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,16 +290,16 @@ def random( self, mode, **kwargs ):
else:
return False

self.printer('Random. Mode: {0}'.format(self.random_modes.active))
if 'off' in self.random_modes.active:
self.printer('Random. Mode: {0}'.format(self.random_modes.active()))
if 'off' in self.random_modes.active():
self.mpdc.random('off')
elif 'playlist' in self.random_modes.active:
elif 'playlist' in self.random_modes.active():
self.mpdc.random('on')
elif 'folder' in self.random_modes.active:
elif 'folder' in self.random_modes.active():
pass
elif 'artist' in self.random_modes.active:
elif 'artist' in self.random_modes.active():
pass
elif 'genre' in self.random_modes.active:
elif 'genre' in self.random_modes.active():
pass
else:
return False
Expand Down

0 comments on commit 91aed3f

Please sign in to comment.