- 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
.
- 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
.
Note
Songs in discord rich presence may change with a delay (about 15 seconds).
- Create randomized playlist from files in chosen (in config.json) directory.
- Play any formats supported by ffplay.
Install it from releases or clone this repository and install requirements.
- Rename sample_config.json to config.json (Windows only)
- Edit
music-directory
in config.json (Windows) or ~/.texturedplayer/config.json (Linux and MacOS). - Run main.py (Repo cloned) or texturedplayer (Installed only)
- 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
.