Mopidy extension that plays sound from YouTube.
Make sure you already have the GStreamer plugins, especially the "bad" collection of plugins. For example, on Debian/Ubuntu you can install it by running:
sudo apt-get install gstreamer0.10-plugins-bad
Install by running:
pip install Mopidy-YouTube
No configuration needed. The only supported config value is youtube/enabled
which can be set to false
to disable the extension.
Simply use search for filename in your MPD client or add YouTube URL to
playlist prefixed by yt:
.
Example video:
yt:http://www.youtube.com/watch?v=Njpw2PVb1c0
Example for playlist:
yt:http://www.youtube.com/playlist?list=PLeCg_YDclAETQHa8VyFUHKC_Ly0HUWUnq
If resolving of URIs stops working, always try to update the pafy library first:
pip install --upgrade pafy
- Update links to GitHub repository.
- Don't return
None
values to Mopidy when lookup or search returns invalid data. In Mopidy 1.0, this caused a crash. In Mopidy 1.1, this caused warnings about the YouTube backend returning invalid data. (Fixes: #28, PR: #35)
- Require Mopidy >= 1.0.
- Update to work with the new playback API in Mopidy 1.0.
- Update to work with the new search API in Mopidy 1.0.
- Changelog missing.
- Changelog missing.
- Initial release.