https://github.com/jbltx/pyaudiotft
Show Music Player Daemon informations on your TFT screen
https://github.com/jbltx/pyaudiotft
Last synced: 6 months ago
JSON representation
Show Music Player Daemon informations on your TFT screen
- Host: GitHub
- URL: https://github.com/jbltx/pyaudiotft
- Owner: jbltx
- License: gpl-2.0
- Created: 2015-12-26T04:01:50.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-01-08T23:51:03.000Z (about 10 years ago)
- Last Synced: 2023-08-05T11:13:23.054Z (over 2 years ago)
- Language: Python
- Size: 902 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# PyAudioTFT 
Show Music Player Daemon informations on your TFT screen

---
### What you need
- [Python 3](https://www.python.org/downloads/) (3.5.1 used)
- [PyGame](http://www.pygame.org/download.shtml) with extended Image module (1.9.2 used)
- [Mpd2](https://pypi.python.org/pypi/python-mpd2) Python library
- [MPD](http://www.musicpd.org/download.html) running on one of your machine (locally or not)
- [An Internet connection](https://www.youtube.com/watch?v=dQw4w9WgXcQ) (to get album artworks via iTunes)
### What is customizable
- You can develop your own interface by creating a new theme in the `themes` directory
- All default icons and background can be overwritten in the `resources` directory
### How it works
You just need to set the host name or IP address where your MPD is located, its port and your mpd music directory path in `main.py` file:
```python
__mpd_host__ = "localhost"
__mpd_port__ = 6600
__mpd_music_dir__ = "/path/to/your/mpd/music/dir"
__theme__ = "default"
__fps__ = 12
```
Then you can launch the script:
```bash
$ python3 main.py
```
### Available shortcuts
- Play/Pause :
- Stop : s
- Next Song : →
- Previous Song : ←
- Volume Up : ↑
- Volume Down : ↓
- Toggle Repeat : l
- Toggle Single : o
- Toggle Random : r
- Toggle Consume : c
- Close Application : Esc
### Contribute
Don't hesitate to fork this project and send back some pull requests !