Skip to main content

Mopidy extension that plays sound from YouTube

Project description

Latest PyPI version Number of PyPI downloads Travis CI build status Test coverage

Mopidy extension that plays sound from YouTube.

Installation

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

Configuration

No configuration needed. The only supported config value is youtube/enabled which can be set to false to disable the extension.

Usage

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

Troubleshooting

If resolving of URIs stops working, always try to update the pafy library first:

pip install --upgrade pafy

Project resources

Changelog

v2.0.2 (2016-01-19)

  • Fix resolving of youtube:video URIs when looking up tracks. (Fixes: #21, PR: #50)

  • Ensure None doesn’t get includes in track image lists. (PR: #48)

v2.0.1 (2015-08-19)

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

v2.0.0 (2015-04-01)

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

v1.0.2 (2015-01-02)

  • Changelog missing.

v1.0.1 (2014-05-28)

  • Changelog missing.

v0.1.0 (2014-03-06)

  • Initial release.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Mopidy-Youtube-2.0.2.tar.gz (73.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

Mopidy_Youtube-2.0.2-py2.py3-none-any.whl (7.6 kB view details)

Uploaded Python 2Python 3

File details

Details for the file Mopidy-Youtube-2.0.2.tar.gz.

File metadata

File hashes

Hashes for Mopidy-Youtube-2.0.2.tar.gz
Algorithm Hash digest
SHA256 30e18bc017707cebb425616aba4cab6ed99196aa04e9706e4fbfe839809ef4c5
MD5 4105886936d766c3995a96022d52ec35
BLAKE2b-256 01a089424a534460b8f9c50a85ad8f10427f12f3afb34fd44f29aabcf9b05d15

See more details on using hashes here.

File details

Details for the file Mopidy_Youtube-2.0.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for Mopidy_Youtube-2.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 6c98ccc89af37df412ba5cf874d813dd472d5fef6459ca47984cffbd7359cfa8
MD5 8b91b8def79ad0e8447b2c8ba04baf71
BLAKE2b-256 a4fc4f427c363212b161dea18d4854392264c417d119df8e913abb3a0709b92f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page