We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b596596 commit fdff9a7Copy full SHA for fdff9a7
pyradio/player.py
@@ -3587,6 +3587,8 @@ def delay(self, a_delay):
3587
x = int(a_delay)
3588
except ValueError:
3589
return
3590
+ if x == 0:
3591
+ return
3592
3593
if self._player_name == 'vlc':
3594
self._data['vlc'][1] = str(x)
pyradio/radio.py
@@ -2139,8 +2139,8 @@ def playSelection(self, restart=False):
2139
self._click_station()
2140
2141
def _enable_player_crash_detection(self):
2142
- if logger.isEnabledFor(logging.INFO):
2143
- logger.info('Enabling crash detection')
+ # if logger.isEnabledFor(logging.INFO):
+ # logger.info('Enabling crash detection')
2144
self.detect_if_player_exited = True
2145
2146
def _click_station(self):
0 commit comments