Metadata-Version: 2.1
Name: yTermPlayer
Version: 1.0.0
Summary: Play youtube playlists as audio on linux terminal 
Home-page: https://github.com/TimeTraveller-San/yTermPlayer
Author: Time Traveller
Author-email: notSharing@ever.com
License: GPLv3
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: POSIX :: Linux
Requires-Python: >=3
Description-Content-Type: text/markdown

# ytTerm player [BETA]
Play youtube playlists as audio on linux terminal

# About
ytTerm player is a terminal youtube music player. It's completely written in python. 
UI: Made using a wrapper for curses called [urwid][urwid]
Codec handling/audio playing: Handled using [python-vlc][vlc]
YouTube fetch: Audio streams from youtube are fetched using [pafy][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
First install the dependencies: 

```sh
$ pip install -r requirements.txt 
```
python3 pip :-
```sh
$ pip install ytermplayer
```
or Git clone :-
```sh
$ 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:

* [urwid][urwid]
* [python-vlc][vlc]
* [pafy][pafy] 
* python3
* vlc media player (sudo pacman -S vlc) or (sudo apt-get install vlc)


And of course ytTerm player itself is open source.

### KeyBindings

| Key       | Function  |
|:------------- |:-------------| 
| s | save current list     |
| enter     | select option/play song at selection | 
| n      | play next song     |  
| p | play previous song      |  
| space | pause/play song      |  
| 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
### Working video:  https://youtu.be/rQpO1qBmxlY
### Start  screen : 
![Start Screem](https://i.imgur.com/rvVUmDP.png)
#### The UI will automatically use your terminal colors.
![Blue](https://i.imgur.com/R8a0Zy5.png)
![Yellow](https://i.imgur.com/TrHKuQg.jpg)

   [urwid]: <https://github.com/urwid/urwid>
   [vlc]: <https://github.com/oaubert/python-vlc>
   [pafy]: <https://github.com/mps-youtube/pafy>

### Known Bugs
If some VLC error starts showing up on the screen, just resize the terminal and it will be gone
fix coming soon


