All Projects → TimeTraveller-San → Ytermplayer

TimeTraveller-San / Ytermplayer

Licence: gpl-3.0
Stream youtube playlists as audio on linux terminal

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Ytermplayer

Kaku
🎧 Kaku is a highly integrated music player supports different online platform like YouTube, SoundCloud, Vimeo and more. Available on Mac, Windows and Linux.
Stars: ✭ 1,028 (+337.45%)
Mutual labels:  music, player, youtube
Openwhyd
💎 Like Pinterest, for Music
Stars: ✭ 287 (+22.13%)
Mutual labels:  music, player, youtube
Musicalyoutube
A Youtube floating PIP player for Android.
Stars: ✭ 50 (-78.72%)
Mutual labels:  music, player, youtube
Upnext
Chrome Extension for streaming music from SoundCloud & YouTube
Stars: ✭ 320 (+36.17%)
Mutual labels:  music, player, youtube
Shuffle
Shuffle every song in existence from YouTube
Stars: ✭ 131 (-44.26%)
Mutual labels:  music, player, youtube
Discord Player
🎧 Complete framework to simplify the implementation of music commands using discords.js v12
Stars: ✭ 161 (-31.49%)
Mutual labels:  music, youtube
Otter
Music player for Funkwhale
Stars: ✭ 177 (-24.68%)
Mutual labels:  music, player
Min Vid
Popout video player in Firefox
Stars: ✭ 180 (-23.4%)
Mutual labels:  player, youtube
Imusic
一个集视频播放器、音乐播放器封装库于一身的iMusic工程
Stars: ✭ 228 (-2.98%)
Mutual labels:  music, player
Odyssey
Odyssey music player
Stars: ✭ 153 (-34.89%)
Mutual labels:  music, player
Zen Audio Player.github.io
Listen to YouTube videos, without the distracting visuals.
Stars: ✭ 180 (-23.4%)
Mutual labels:  music, youtube
Fradioplayer
A simple radio player framework for iOS, macOS, tvOS.
Stars: ✭ 183 (-22.13%)
Mutual labels:  music, player
Album Splitter
Split a single-file mp3 album into its tracks. Supports downloading from YouTube.
Stars: ✭ 160 (-31.91%)
Mutual labels:  music, youtube
Html Midi Player
🎹 Play and display MIDI files on the web
Stars: ✭ 158 (-32.77%)
Mutual labels:  music, player
Mellplayer
A tiny terminal player based on Python3
Stars: ✭ 176 (-25.11%)
Mutual labels:  terminal, player
Web
Angular6 music player to search and play YouTube, SoundCloud and Mixcloud tracks
Stars: ✭ 156 (-33.62%)
Mutual labels:  music, youtube
Piano Rs
A multiplayer piano using UDP sockets that can be played using computer keyboard, in the terminal
Stars: ✭ 180 (-23.4%)
Mutual labels:  terminal, music
Youtag
iOS music player app that downloads music from the internet, even YouTube
Stars: ✭ 193 (-17.87%)
Mutual labels:  music, youtube
Youtube Mp3 Downloader
Extract music from YouTube videos
Stars: ✭ 187 (-20.43%)
Mutual labels:  music, youtube
Swift Radio Pro
Professional Radio Station App for iOS!
Stars: ✭ 2,644 (+1025.11%)
Mutual labels:  music, player

ytTerm player (BETA)

Play youtube playlists as audio on linux terminal

Build Status PyPI version PyPI pyversions PyPI license Downloads

About

ytTerm player is a terminal youtube music player. It's completely written in python.

UI: Made using a wrapper for curses called urwid

Player: Handled using python-mpv

Stream fetch: Audio streams from youtube are fetched using pafy

Features:

  • Import and play youtube playlists on terminal
  • Save playlists in library
  • Use several playback modes such as repeat one, repeat list, random
  • Download complete list (coming soon)

Installation

Set up a virtual environment and install the dependencies:

$ pip install -r requirements.txt

python3 pip :-

$ pip install ytermplayer
$ yterm

or Git clone :-

$ git clone https://github.com/TimeTraveller-San/yTermPlayer
$ cd yTermPlayer/yTermPlayer/
$ python __main__.py

Dependencies

Python 3

ytTerm player uses a number of open source projects to work properly:

ytTerm player itself is open source. Feel free to modify and distribute the code

KeyBindings

Key Function
s save current list
enter select option/play song at selection
n play next song
p play previous song
h play first song
e play last song
space pause/play song
u volume up
d volume down
q quit
1 playback mode: Repeat one
2 playback mode: Repeat list
3 playback mode: None
r playback mode: Random
more features coming soon

Screenshots

Start screen :

Start Screem

The UI will automatically use your terminal colors.

Blue Yellow

Working video: https://youtu.be/rQpO1qBmxlY

Working video 2: https://youtu.be/bQrNtcIcHc0

FAQ

  • How to fix out of range/url not found errors?

YouTube keeps changing its structure so it's important you have installed the latest version of youtube-dl as follows: pip install --upgrade youtube_dl

  • Where are my playlists stored and how to delete playlists?

Playlists are saved in $HOME/.yTermPlayer/playlists as plain text. You may delete or add new playlists directly here.

  • How to contact me?

Email: [email protected] Twitter: https://twitter.com/timetravellertt

Known Bugs

  • Buggy / unexpected playback behavior It was caused because of race conditions and absence of critical section among the threads. Fixed it using semaphores

  • If some VLC error starts showing up on the screen, just resize the terminal and it will be gone Completely removed VLC and replaced it with much more minimal and faster mpv player. Thank to python-mpv by jaseg

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].