Git Product home page Git Product logo

youtubeplayer's Introduction

YoutubePlayer

Search and play videos from YouTube directly with the ability to stream audio only. Download video or audio from youtube directly. Song metadata including album art is automatically fixed when you stream or download a song.

YouTube Player YouTube Player

YouTube Player

Features

  • Minimial UI.
  • Search, play and download audio or video.
  • Auto correction of metadata (from last.fm) whenever possible.
  • Control through mpris.
  • Music controls integrated into title bar.

Dependencies

Installation

Install the dependencies.

$ sudo apt install python3 python-pip    # For ubuntu
$ sudo pacman -S python3 python-pip      # For Arch derivatives
$ sudo -H pip install --upgrade pygobject python-vlc pafy youtube-dl pydbus mutagen

After installing the dependencies, clone the repository.

$ git clone https://github.com/vn-ki/YoutubePlayer.git
$ cd YoutubePlayer
$ chmod +x YouTubePlayer

# Demo Run
$ ./YouTubePlayer run

# Install
$ ./YouTubePlayer install

# Uninstall
$ ./YouTubePlayer uninstall

# Update
$ ./YouTubePlayer update

Usage

  • Enter the YouTube link in the url tab and press play. The video should start playing.
  • If you want to search for the video, type /<search_query> in the url input and press play. The top search result should start playing.
  • If you want to search for a playlist instead of a video, type //<search_query> in the url input and press play.
  • The download feature (for now) downloads the best available quality. The downloaded file will be available in ~/Downloads/YouTubePlayer/ directory.
  • Press the stop button to stop the running instance of vlc. Ideally this should be done before playing a new video, but is not necessary.
  • The help page includes the above information.

Upcoming features

  • Improved search.
  • More download options.
  • Better support for windows (Chances are thin).

youtubeplayer's People

Contributors

vn-ki avatar joltsama avatar

Watchers

James Cloos avatar Md. Sumon Islam avatar  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.