Skip to content

waddles/mvid_dl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mvid_dl

Music video downloader for XBMC

Loads artist and track titles from various sources then uses http://theaudiodb.com to retrieve music video urls to pass to youtube-dl which saves them in appropriately named video files for XBMC's Music Video Scraper.

Sources

Planned features

  • flexible configuration of other song chart sources
  • command line switches to accept artist and/or song titles on command line or standard input
  • (eventually) download all songs in XBMC's music collection

Installation

  • Install youtube-dl according to that project's instructions or your distro's instructions.
  • Clone the repo from github
$ git clone https://github.com/waddles/mvid_dl mvid_dl
$ virtualenv --python=python2.7 --verbose mvid_dl
$ cd mvid_dl
$ . bin/activate
  • Install required python (2.7) packages
$ pip install -r requires.txt 

NOTE - this project uses an alternative version of pylast than the default installed by pip as the original project has not been updated for several years. If you have the original pylast installed, you will need to uninstall it first.

Settings

Enable the desired sources in settings.ini.

If using the last.fm played tracks feature, you will also need to enter your last.fm username and generate your own API keys

Usage

Currently, it only outputs the url and file name which needs to be passed as follows:

$ ./mvid_dl.py | while read url name; do youtube-dl --recode-video mp4 --output "${name}.mp4" --continue -f best "${url}"; done

About

Music video downloader for XBMC

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages