send-to-vlc icon indicating copy to clipboard operation
send-to-vlc copied to clipboard

MPV - some youtube videos will not work for seemingly no reason.

Open Xenphor opened this issue 7 years ago • 5 comments

I'm trying to use Send to MPV player with Firefox which seems to work most of the time but for some reason it isn't 100% working. For example I just tried to watch this video and it will not load: https://www.youtube.com/watch?v=rFRW2FOrpuk

That is only one example but I have had it happen before several times. I'm not sure how to troubleshoot it because it seems no different than any other video.

I have tried playing it manually by passing the URL to MPV myself and it will work, but not from within the browser.

Xenphor avatar Feb 27 '18 16:02 Xenphor

Try adding --load-unsafe-playlists to your mpv.conf file

bwat47 avatar Mar 03 '18 14:03 bwat47

Thanks that works.

Xenphor avatar Mar 03 '18 14:03 Xenphor

From mpv documentation about --load-unsafe-playlists: Load URLs from playlists which are considered unsafe (default: no). This includes special protocols and anything that doesn't refer to normal files. Local files and HTTP links on the other hand are always considered safe.

Right now I am using Open With and it handles above link without a problem.

GoodGuyNick avatar Jun 11 '18 17:06 GoodGuyNick

I've tried Open With but it can't seem to handle long URLs with special symbols like "&"

Xenphor avatar Jun 11 '18 17:06 Xenphor

I've been having this issue occasionally, the latest being this Youtube video and adding load-unsafe-playlists=yes into mpv.conf seems to have fixed it for me as well. Not sure why though, since manually running mpv <the problematic url> via the terminal without load-unsafe-playlists has always worked for me when Send to MPV hasn't.

I think it would be worth adding this to a help file or FAQ as a known issue with MPV. There are probably a lot of users who just put up with it since it doesn't occur all that often.

veikk0 avatar Dec 09 '18 02:12 veikk0