Skip to content

Commit ae5e396

Browse files
committed
Removing "--quiet" flag from mpv command line when using the external
player
1 parent 40ebece commit ae5e396

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

pyradio/player.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2519,8 +2519,10 @@ def _buildStartOpts(self, streamName, streamUrl, playList=False):
25192519
logger.debug('--input-ipc-server is not supported.')
25202520
newerMpv = False
25212521
logger.error('\n\nself._cnf.user_agent_string = {}\n\n'.format(self._cnf.user_agent_string))
2522-
opts = [self.PLAYER_CMD, '--no-video', '--quiet']
2523-
2522+
if self.DO_NOT_PLAY:
2523+
opts = [self.PLAYER_CMD, '--no-video']
2524+
else:
2525+
opts = [self.PLAYER_CMD, '--no-video', '--quiet']
25242526
if self._cnf.buffering_data:
25252527
opts.extend(self._cnf.buffering_data)
25262528

0 commit comments

Comments
 (0)