Skip to content

Commit

Permalink
Fix not setting value using Settings.stream_select(value)
Browse files Browse the repository at this point in the history
  • Loading branch information
MoojMidge committed Mar 17, 2024
1 parent d2f4ce8 commit 31d8e81
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ def stream_features(self, value=None):

def stream_select(self, value=None):
if value is not None:
return self.get_int(settings.MPD_STREAM_SELECT, value)
return self.set_int(settings.MPD_STREAM_SELECT, value)
default = 3
value = self.get_int(settings.MPD_STREAM_SELECT, default)
if value in self._STREAM_SELECT:
Expand Down

0 comments on commit 31d8e81

Please sign in to comment.