arcnmx / MPD

MPD fork adding a youtube-dl plugin
https://github.com/MusicPlayerDaemon/MPD/pull/223
GNU General Public License v2.0
7 stars 2 forks source link

URLs starting with hypens break playback #27

Closed arcnmx closed 3 years ago

arcnmx commented 3 years ago

Trying to play ytdl://--csL-sJ3jI results in an error:

Usage: youtube-dl [OPTIONS] URL [URL...]
youtube-dl: error: no such option: --csL-sJ3jI
exception: Failed to decode ytdl://--csL-sJ3jI; youtube-dl exited with code 512

what's going on is pretty obvious, I assume -- <URL> will fix this but need to check and test