News for hackers. Stuff that matters.
Re:Youtube-dl: Command-line program to download videos by efiecho on Wednesday July 04, 2018 @11:08PM (#17460610)
> I have two monitors, so I put a button on my Firefox toolbar to launch MPV with the current URL, and configured MPV to start fullscreen on the second monitor immediately and quit when done. It's made my video-watching experience on the web an order of magnitude better.

How did you do that? I would really like to have that setup also.

Re:Youtube-dl: Command-line program to download videos by StavrosK on Thursday July 05, 2018 @05:41AM (#17461956)
I used this extension:

https://addons.mozilla.org/en-US/firefox/addon/open-with/

mpv can easily be configured to open full screen on a specific screen.

Re:Youtube-dl: Command-line program to download videos by urmish on Friday July 06, 2018 @11:16AM (#17472086)
So adding that button requires downloading and installing a file, and it has some references to [email protected]. I am not a web programmer but that doesn't seem right. The open with mpv browser extension, seems cleaner. https://addons.mozilla.org/en-US/firefox/addon/send-to-mpv-p...
Re:Youtube-dl: Command-line program to download videos by StavrosK on Friday July 06, 2018 @11:22AM (#17472145)
Yeah, it didn't look good. The extension you posted downloads and installs the native client on its own, which is worse. However, you can't really do this any better, as the apps are sandboxed and not allowed to launch external programs.

I've audited the script for the extension I posted and it looks good, I've posted mine here: https://www.pastery.net/dyeamx/

Re:Youtube-dl: Command-line program to download videos by urmish on Friday July 06, 2018 @11:29AM (#17472201)
yes. Seems you're right.
Re:Youtube-dl: Command-line program to download videos by efiecho on Thursday July 05, 2018 @06:16AM (#17462077)
Thanks, I will take a look at that extension.

After reading the documentation for mpv I found the options --screen=<default|0-32> and --fs-screen=<all|current|0-32> these are used for selecting a specific screen.

Re:Youtube-dl: Command-line program to download videos by StavrosK on Thursday July 05, 2018 @07:00AM (#17462272)
Here's my config, now that I'm at the computer:

https://www.pastery.net/vurryk/