Skip to content
This repository has been archived by the owner on Mar 21, 2023. It is now read-only.

Commit

Permalink
fix: #76 video pops up
Browse files Browse the repository at this point in the history
  • Loading branch information
iamtalhaasghar committed Oct 20, 2022
1 parent 16d3a18 commit eaeff58
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mps_youtube/players/mpv.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@ def _generate_real_playerargs(self):
if self.softrepeat:
util.list_update("--loop-file", args)

if not config.SHOW_VIDEO.get:
util.list_update('--no-video', args)

return [self.player] + args + [self.stream['url']]

def clean_up(self):
Expand Down

0 comments on commit eaeff58

Please sign in to comment.