Front end for youtube-dl to auto add YouTube music to Music Player Daemon (MPD).
Features:
- Download music from YouTube videos
- Download music from YouTube playlists
- Add them to mpd to allow easy playback
Upcoming features:
- Create folders/mpd playlists for every YouTube playlist
pip install youtube_to_mpd
. (Linux & Windows)- Package can be found here: http://pypi.python.org/pypi/youtube_to_mpd/
- run
setup.py install
(with root privileges)
- Download a single song and add to MPD:
python -m youtube_to_mpd -s SONGID
(for example: DgQR0x5ljek) - Download a playlist and add to MPD:
python -m youtube_to_mpd -p PLAYLISTID
(for example: FLoLRVbYOEns6PTJtWo0Y_7g)
Configure:
- Add the following to your ".bashrc": alias playlist:'python -m youtube_to_mpd -p'
- Add the following to your ".bashrc": alias song:'python -m youtube_to_mpd -s'
- Start a new console session
Then run:
song SONGID
(for example:song mIBTg7q9oNc
)playlist LISTID
(for example:playlist RDmIBTg7q9oNc
)
- Make sure you put the "settings.conf" file in your current path (issue #5)
- Developed and tested on Debian Wheezy
- youtube-dl: https://github.com/rg3/youtube-dl
- Music Player Daemon: http://www.musicpd.org
If not stated otherwise "YouTube to MPD" is distributed in terms of the GPL software license. See COPYING file in the distribution for details.
- Jeroen Doggen [email protected]
- Post issues to GitHub https://github.com/jeroendoggen/youtube-to-mpd/issues.