Skip to content

Commit 08820e4

Browse files
add no-warning flag to yt-dlp command
1 parent 1437483 commit 08820e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kawaii_player/yt.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ def get_final_for_resolution(self, url, youtube_dl, logger, ytdl_extra,
180180
res = int(resolution)
181181
else:
182182
res = 1080
183-
ytdl_list = [youtube_dl, '-j', '-s', '--all-sub', url]
183+
ytdl_list = [youtube_dl, '-q', '--no-warnings', '-j', '-s', '--all-sub', url]
184184
if os.name == 'posix':
185185
content = subprocess.check_output(ytdl_list, stderr= subprocess.STDOUT)
186186
else:

0 commit comments

Comments
 (0)