Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when selecting another "Max quality" #600

Closed
sergio45012 opened this issue May 4, 2022 · 2 comments · Fixed by #657
Closed

Error when selecting another "Max quality" #600

sergio45012 opened this issue May 4, 2022 · 2 comments · Fixed by #657
Assignees
Labels
is: bug Something isn't working
Milestone

Comments

@sergio45012
Copy link

sergio45012 commented May 4, 2022

Hi,

When on any subscription I choose another "Max quality" than "Best" looks like it is not building correctly the youtube-dl arguments (missing "]", puting just '(mp4)[height=720'):

2022-05-04T15:40:43.784Z INFO: YoutubeDL-Material v4.2 started on PORT 17442 2022-05-04T15:40:43.791Z VERBOSE: Watching test with delay interval of 30000000 2022-05-04T15:40:43.802Z VERBOSE: Subscription: getting videos for subscription test with args: --dump-json,-o,"subscriptions/playlists/test/%(id)s.%(ext)s",-ciw,--write-info-json,--print-json,-f,bestvideo[height<=720]+bestaudio/best[height<=720],--merge-output-format,mp4,--download-archive,,--write-thumbnail 2022-05-04T15:40:55.216Z VERBOSE: Subscription: finished check for test 2022-05-04T15:40:55.278Z DEBUG: Inserted doc into download_queue 2022-05-04T15:40:55.284Z DEBUG: Inserted doc into download_queue 2022-05-04T15:40:55.290Z DEBUG: Inserted doc into download_queue 2022-05-04T15:40:55.801Z VERBOSE: Collecting info for download 912d35e7-1f19-4075-abf8-fed9c4a95509 2022-05-04T15:40:55.805Z VERBOSE: Collecting info for download 2d4d49df-fb16-4f98-8ec8-1a1744257a21 2022-05-04T15:40:55.809Z VERBOSE: Collecting info for download 6514bb69-8d62-4255-93d2-aa4129dc41c1 2022-05-04T15:40:55.852Z VERBOSE: youtube-dl args being used: -o,subscriptions/playlists/test/%(id)s.%(ext)s,--write-info-json,--print-json,-f,'(mp4)[height=720',--download-archive,/app/subscriptions/archives/test/merged_video.txt,--write-thumbnail 2022-05-04T15:40:55.871Z VERBOSE: youtube-dl args being used: -o,subscriptions/playlists/test/%(id)s.%(ext)s,--write-info-json,--print-json,-f,'(mp4)[height=720',--download-archive,/app/subscriptions/archives/test/merged_video.txt,--write-thumbnail 2022-05-04T15:40:55.890Z VERBOSE: youtube-dl args being used: -o,subscriptions/playlists/test/%(id)s.%(ext)s,--write-info-json,--print-json,-f,'(mp4)[height=720',--download-archive,/app/subscriptions/archives/test/merged_video.txt,--write-thumbnail 2022-05-04T15:41:12.969Z ERROR: Error while retrieving info on video with URL https://www.youtube.com/watch?v=DkPpu5bRgAQ with the following message: Error: Command failed with exit code 1: /app/node_modules/youtube-dl/bin/youtube-dl -o subscriptions/playlists/test/%(id)s.%(ext)s --write-info-json --print-json -f '(mp4)[height=720' --write-thumbnail --dump-json http://www.youtube.com/watch?v=DkPpu5bRgAQ ERROR: requested format not available 2022-05-04T15:41:13.378Z ERROR: Error while retrieving info on video with URL https://www.youtube.com/watch?v=9DXMDzqA-UI with the following message: Error: Command failed with exit code 1: /app/node_modules/youtube-dl/bin/youtube-dl -o subscriptions/playlists/test/%(id)s.%(ext)s --write-info-json --print-json -f '(mp4)[height=720' --write-thumbnail --dump-json http://www.youtube.com/watch?v=9DXMDzqA-UI ERROR: requested format not available 2022-05-04T15:41:15.152Z ERROR: Error while retrieving info on video with URL https://www.youtube.com/watch?v=zA52uNzx7Y4 with the following message: Error: Command failed with exit code 1: /app/node_modules/youtube-dl/bin/youtube-dl -o subscriptions/playlists/test/%(id)s.%(ext)s --write-info-json --print-json -f '(mp4)[height=720' --write-thumbnail --dump-json http://www.youtube.com/watch?v=zA52uNzx7Y4 ERROR: requested format not available 2022-05-04T15:41:15.872Z VERBOSE: Disabling checking downloads as none are available.

@GlassedSilver GlassedSilver added the is: bug Something isn't working label May 4, 2022
@GlassedSilver GlassedSilver self-assigned this May 4, 2022
@GlassedSilver
Copy link
Collaborator

Thank you for your report, will look into this!

@GlassedSilver GlassedSilver added this to the v4.3 milestone May 4, 2022
@Tzahi12345
Copy link
Owner

Will be fixed in #657, thanks for the report!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
is: bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants