Skip to content

Latest commit

 

History

History
39 lines (35 loc) · 2.29 KB

README.md

File metadata and controls

39 lines (35 loc) · 2.29 KB

TexturedPlayer - ffplay and python based TUI music player

Requirements:

  • ffplay installed (it comes with ffmpeg). Search on google, how to install ffmpeg that on your OS.
  • Textual library. You can install it using pip install textual.

Optional

  • Tinytag library for metadata (like title, author etc.) support. You can install it using pip install tinytag.
  • Pypresence library for discord rich presence (in-game status). You can install it using pip install pypresence.
    pypresence

Note

Songs in discord rich presence may change with a delay (about 15 seconds).

Functions

  • Create randomized playlist from files in chosen (in config.json) directory.
  • Play any formats supported by ffplay.

Instalation

Install it from releases or clone this repository and install requirements.

Usage

  1. Rename sample_config.json to config.json (Windows only)
  2. Edit music-directory in config.json (Windows) or ~/.texturedplayer/config.json (Linux and MacOS).
  3. Run main.py (Repo cloned) or texturedplayer (Installed only)
  4. Enjoy :)

Warning

ffplay can also play videos. This program however will just play sound from videos. Put into music directory only music for the best expierence.

Warning

Any none video or sound file in music directory can slow down player except playlist.json.

Note

playlist.json will be created in music directory. That file store information about playlist. It will be ignored by ffplay.