ErrorFlynn / ytdlp-interface

Windows graphical interface for yt-dlp, designed as a simple YouTube downloader
MIT License
1.09k stars 58 forks source link

error on downloading : 'panel' is not a valid URL. #125

Closed etherealxx closed 7 months ago

etherealxx commented 8 months ago

Context: just trying to download without tweaking output settings

full output

[GUI] executing command line: "C:\Users\Ethereal\Documents\ytdlp-interface\yt-dlp.exe" -S "res:1080,vext:mp4,aext:m4a,fps" --embed-thumbnail --no-mtime panel widget  -P C:\Users\Ethereal\Downloads -o "%(title)s.%(ext)s" "https://www.youtube.com/watch?v=60ivD_cZcaY"

[generic] Extracting URL: panel
ERROR: [generic] 'panel' is not a valid URL. Set --default-search "ytsearch" (or run  yt-dlp "ytsearch:panel" ) to search YouTube
[generic] Extracting URL: widget
ERROR: [generic] 'widget' is not a valid URL. Set --default-search "ytsearch" (or run  yt-dlp "ytsearch:widget" ) to search YouTube
[youtube] Extracting URL: https://www.youtube.com/watch?v=60ivD_cZcaY
[youtube] 60ivD_cZcaY: Downloading webpage
[youtube] 60ivD_cZcaY: Downloading ios player API JSON
[youtube] 60ivD_cZcaY: Downloading android player API JSON
[youtube] 60ivD_cZcaY: Downloading m3u8 information
[info] 60ivD_cZcaY: Downloading 1 format(s): 298+140
[info] Downloading video thumbnail 41 ...
[info] Video Thumbnail 41 does not exist
[info] Downloading video thumbnail 40 ...
[info] Video Thumbnail 40 does not exist
[info] Downloading video thumbnail 39 ...
[info] Video Thumbnail 39 does not exist
[info] Downloading video thumbnail 38 ...
[info] Video Thumbnail 38 does not exist
[info] Downloading video thumbnail 37 ...
[info] Writing video thumbnail 37 to: C:\Users\Ethereal\Downloads\XcreatorGoal drama is wacky.webp
[download] C:\Users\Ethereal\Downloads\XcreatorGoal drama is wacky.mp4 has already been downloaded
[ThumbnailsConvertor] Converting thumbnail "C:\Users\Ethereal\Downloads\XcreatorGoal drama is wacky.webp" to png
[EmbedThumbnail] mutagen: Adding thumbnail to "C:\Users\Ethereal\Downloads\XcreatorGoal drama is wacky.mp4"

[GUI] yt-dlp.exe process has exited
ErrorFlynn commented 8 months ago

Thanks for reporting this. Can't even begin to imagine how "panel widget" got into the command line, but I'll do my best to find out. If you're able to consistently reproduce the bug, let me know how, it never happened to me once.

ErrorFlynn commented 8 months ago

Alright, I found it. It happens when you have two or more queue items. If you put the input focus on the custom arguments box (click on it), then click on something else (causing the custom arguments box to lose focus), all the other queue items will have "panel widget" as a custom argument. Internally, each queue item has its own custom arguments box, and any changes to one is supposed to propagate to all (behavior introduced in v2.7). But due to a brain fart, the text "panel widget" is propagated instead. It's fixed now, and I'll see if I can release a new version soon.

etherealxx commented 7 months ago

Thank you so much for your dedication. Your tool is a timesaver. Hope you have a great day✨