/youtube-to-mpd

Front end for youtube-dl to auto add YouTube music to MPD

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

YouTube to MPD

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

Install from the Python Package Index:

Install from source:

  • run setup.py install (with root privileges)

Usage:

  • 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)

Easy usage:

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)

Limitations:

  • Make sure you put the "settings.conf" file in your current path (issue #5)
  • Developed and tested on Debian Wheezy

Dependencies:

License:

If not stated otherwise "YouTube to MPD" is distributed in terms of the GPL software license. See COPYING file in the distribution for details.

Bug reports: