Skip to content
This repository has been archived by the owner on Dec 28, 2022. It is now read-only.

Now what? #340

Open
Beach77 opened this issue Sep 22, 2022 · 4 comments
Open

Now what? #340

Beach77 opened this issue Sep 22, 2022 · 4 comments

Comments

@Beach77
Copy link

Beach77 commented Sep 22, 2022

I have installed the addon, the test succeeds and it finds all browsers. But how do I download with it using yt-dlp? That's the part I'm confused about and I would appreciate it if someone shows me how to add yt-dlp to it. I'm using a mac with Monterey 12.6. Thanks.

@Mattwmaster58
Copy link

Mattwmaster58 commented Sep 24, 2022

Also wondering on tips to debug this. Currently, I have the custom command yt-dlp "%s" -o ~/Downloads/yt-dlp/%(name)s.%(ext)s however, this doesn't appear to work and I haven't found a good way to debug exactly why.

Edit: Wow, after having this broken for months I revisited it and took a look. Turns out the download path didn't exist which was causing it to fail silently. After fixing the issue, works fine!

@Beach77
Copy link
Author

Beach77 commented Sep 24, 2022

Also wondering on tips to debug this. Currently, I have the custom command yt-dlp "%s" -o ~/Downloads/yt-dlp/%(name)s.%(ext)s however, this doesn't appear to work and I haven't found a good way to debug exactly why.

Edit: Wow, after having this broken for months I revisited it and took a look. Turns out the download path didn't exist which was causing it to fail silently. After fixing the issue, works fine!

Good job on fixing it and thanks for replying. I'm still not sure on how to get it to work though since I'm not good with computers other than following instructions. How do I tell the "Open With" add-on where yt-dlp is so that I can make it download videos? I feel like an idiot trying to figure it out and will soon give up. Also naming the add-on "Open With" isn't helping because googling brings up nothing because there are millions of results with sentence "open with".

@Killogy
Copy link

Killogy commented Sep 25, 2022

@Beach77 Add a new "Browser" and in the command field add the yt-dlp path between quotation, then add the command to download the video.

For example, I have yt-dlp.exe and mpv.exe in the same folder and I renamed yt-dlp.exe to youtube-dl.exe.

Command path field is "C:\Users\Killogy\AppData\Roaming\ACEStream\mpv\youtube-dl.exe" -o ~/Videos/%(title)s.%(ext)s

I visit a youtube video and from Open With menu I choose the yt-dlp entrie then the youtube video is downloaded in "C:\Users\Killogy\Videos" folder.

P.S: Visit yt-dlp github to learn more about usage and options.

@Beach77
Copy link
Author

Beach77 commented Oct 2, 2022

@Beach77 Add a new "Browser" and in the command field add the yt-dlp path between quotation, then add the command to download the video.

For example, I have yt-dlp.exe and mpv.exe in the same folder and I renamed yt-dlp.exe to youtube-dl.exe.

Command path field is "C:\Users\Killogy\AppData\Roaming\ACEStream\mpv\youtube-dl.exe" -o ~/Videos/%(title)s.%(ext)s

I visit a youtube video and from Open With menu I choose the yt-dlp entrie then the youtube video is downloaded in "C:\Users\Killogy\Videos" folder.

P.S: Visit yt-dlp github to learn more about usage and options.

Sorry for replying so late and thank you very much for this! I will be trying this soon and I think this will become very helpful for me.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants