Coder Social home page Coder Social logo

benpope82 / qmmp-plugin-youtube Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rigon/qmmp-plugin-youtube

0.0 1.0 0.0 120 KB

Plugin for Qmmp (Qt-based Multimedia Player) to search and play musics directly from YouTube.

QMake 1.46% C++ 98.54%

qmmp-plugin-youtube's Introduction

Qmmp plugin for YouTube

Plugin for Qmmp (Qt-based Multimedia Player) to search and play musics directly from YouTube.

Requirements

This plugin has some requirements, you have to install them:

Installation

First, you have to download the source code by Downloading a ZIP Archive or by cloning the repository:

git clone https://github.com/rigon/qmmp-plugin-youtube.git

Now, let's compile. Extract the files (if necessary) and move to inside the project location. Then, run the following commands:

qmake
make -j4

Lastly, copy the newly compiled libraries into to QMMP's plugin directory:

sudo cp -v youtube/libyoutube.so /usr/lib/qmmp/Transports
sudo cp -v youtube/libyoutubeui.so /usr/lib/qmmp/General

If you have problems to compile the project, have a look in the section Known issues.

ArchLinux users

There is available a package for ArchLinux for this plugin in AUR repository: https://aur.archlinux.org/packages/qmmp-plugin-youtube/

You can simply install it by running:

yaourt qmmp-plugin-youtube

Configuration

Open QMMP. Now you have to activate the Youtube plugin. To do so, you have to do the next steps:

QMMP main menu > Settings > Plugins

and activate this two plugins:

  • Youtube Plugin (libyoutube.so under the Transports section)
  • YoutubeUI Plugin (libyoutubeui.so under the General section)

Now, the Youtube plugin is accessible from the menu inside Tools option (you can press Ctrl + Y for quicker access). Alternatively, you can search for the selected track from the track's context menu > Actions > Search track (or using the shortcut Meta + Y).

Known issues

  • The Python version is hard coded, the version used was python 3.5m. If you have a different version installed, edit the following files and change the referenced lines accordingly:

    • youtube/youtube.pro:

          INCLUDEPATH += /usr/include/python3.5m
      
    • youtube/youtubedl.cpp:

          "sys.path.append('/usr/lib/python3.5/site-packages')\n"
      

Important notes

The plugin is not yet finished, but it is in a stage that is already usable. Currently, it is possible to search for videos on Youtube and add them to the selected playlist, search for similar videos and open them in the browser.

If you are interested, you can also contribute to this project, that would be AWESOME. Feel free to send me a message.

Checkout the Issues section to see the exciting new features that we have planned.

qmmp-plugin-youtube's People

Contributors

rigon avatar

Watchers

James Cloos 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.