youtube to mpd scripts, using bash-cgi and youtube-dl to download and play the audio of youtube videos on a mpd
- Python (for youtube-dl)
- youtube-dl
- sed
- xargs
- mpd/mpc
- cgi-webserver
- inotifywait
- ffmpeg (for extracting the audio form the video)
cgi-script, that needs to be run by a cgi-webserver you only need to configure the path to the youtube-new file
bashscript to be run in the background as a deamon, used to make the slow downloads asyncronous to the website-part. you will need to change path to youtube-new, youtube-old and the fullpath to the youtube-dl directory, just like the relative path used by mpd