Skip to content

Terminal based front-end for mpv and youtube-dl.

License

Notifications You must be signed in to change notification settings

raluvy95/termpv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  ______
 /_  __/__  _________ ___  ____ _   __
  / / / _ \/ ___/ __ `__ \/ __ \ | / /
 / / /  __/ /  / / / / / / /_/ / |/ / 
/_/  \___/_/  /_/ /_/ /_/ .___/|___/  
                       /_/            

Termpv

The front-end terminal for mpv and youtube-dl written in Python

Contest

Installing

We only have Linux x86_64 in releases
If you're using other OS or arhitecture, you need to build yourself.

Requires to have Python 3.8 and up. Open an issue if it works in older python version.

Libraries required

You need to have libraries ffmpeg, mpv, youtube-dl, chafa and python3 installed.

Linux

Please install required libraries above (not *-dev) with your package manager.

Other OS

I didn't test other OS except for Linux. I would be very appreciate if anyone can test it.

Start

Clone this repository and run with python3 cli.py (make sure you installed libraries above)
You can use with arguments for additional actions, see cli.py --help for more info.

Configuration

We currently don't have custom configuration yet. Why not edit python file?

NOTE

This project is in working progress which may not 100% working fine. Please fill the issue if you have one problem with this app.

TODO

  • Improvements in Player
  • Custom configuration
  • ???

Troubleshooting

"FileNotFoundError: [Errno2] No such file or directory: 'mpv'" or similar error

You didn't installed required libraries above.

KeyError: 'channel'

You have older youtube-dl version, please upgrade it with pip or other package manager you use.

Credits

Thanks:

  • @MsMaciek - For making better way to listen to keyboard and display thumbnail in info page.