Giter Site home page Giter Site logo

mopidy-youtube's Introduction

Mopidy-YouTube

Latest PyPI version Travis CI build status Test coverage

Mopidy extension that plays sound from YouTube.

Maintainer wanted

Mopidy-YouTube is currently kept on life support by the Mopidy core developers. It is in need of a more dedicated maintainer.

If you want to be the maintainer of Mopidy-YouTube, please:

  1. Make 2-3 good pull requests improving any part of the project.
  2. Read and get familiar with all of the project's open issues.
  3. Send a pull request removing this section and adding yourself as the "Current maintainer" in the "Credits" section below. In the pull request description, please refer to the previous pull requests and state that you've familiarized yourself with the open issues.

As a maintainer, you'll be given push access to the repo and the authority to make releases to PyPI when you see fit.

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 gstreamer1.0-plugins-bad

For older versions of Mopidy (pre v2.0), install the plugins 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

Credits

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.

mopidy-youtube's People

Contributors

jodal avatar dz0ny avatar jcass77 avatar vespakoen avatar ticosax avatar andremiras avatar camilonova avatar waffle-iron avatar interru avatar sleepkever avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.