https://github.com/cumulus13/mpdart
Music Player Daemon Current playing info
https://github.com/cumulus13/mpdart
album-art albumart cd-art cd-art-display cdart cover-art mpd music music-player-daemon musicplayer python python3
Last synced: 8 months ago
JSON representation
Music Player Daemon Current playing info
- Host: GitHub
- URL: https://github.com/cumulus13/mpdart
- Owner: cumulus13
- Created: 2022-12-13T15:35:42.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2024-09-12T22:43:30.000Z (about 1 year ago)
- Last Synced: 2024-09-13T11:57:04.009Z (about 1 year ago)
- Topics: album-art, albumart, cd-art, cd-art-display, cdart, cover-art, mpd, music, music-player-daemon, musicplayer, python, python3
- Language: Python
- Homepage:
- Size: 4.6 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MPD-Art
--------------------
Music Player Daemon Current playing info



## requirements
-------------------
- netifaces
- Pillow
- make_colors
- pydebugger
- mutagen >= 1.43.1
- requests
- PyQT5
- qdarkstyle
- qtmodern
- qt-material
- configset
- python-mpd2 / python-mpd
- xnotify (option for notification to growl/pushbullet/nmd/ntfy on nix/win)
- notify2 (option for local notification on nix)
- mimelist
- python 3+
## usage
----------------
cover: will check image file for local/remote before if run on local then will check tag, if not exist or cover not valid then will get cover from cover server or last.fm (api key requirement). (`optional`) run mpd as `cover server` (`-s`) with `-S, -P and -p` options on where mpd server running before if you want get cover from cover server.
```bash
usage: mpdart [-h] [-s] [-S COVER_SERVER_HOST] [-P COVER_SERVER_PORT] [-p MUSIC_DIR] [--mpd-host MPD_HOST] [--mpd-port MPD_PORT]
[-t SECOND]
optional arguments:
-h, --help show this help message and exit
-s, --cover-server Run cover server
-S COVER_SERVER_HOST, --cover-server-host COVER_SERVER_HOST
Listen cover server on, default = "0.0.0.0"
-P COVER_SERVER_PORT, --cover-server-port COVER_SERVER_PORT
Listen cover server on port, default = "8800"
-p MUSIC_DIR, --music-dir MUSIC_DIR
Music dir from config file
--mpd-host MPD_HOST MPD Server host, default = "127.0.0.1"
--mpd-port MPD_PORT MPD Server port, default = "6600"
-t SECOND, --sleep SECOND
Time interval, default = 1 second
MPD Client info + Art
```
* example:
```bash
# running as cover server on MPD Server
python mpdart.py -s -S 192.168.0.3 -P 8800 -p /mnt/musics
# running mpdart as a client on any guest / pc
python mpdart.py -p /mnt/musics
```you can use config file `mpdart.ini` to direct setup some options
## author
---------
[cumulus13](mailto:cumulus13@gmail.com)[](https://www.buymeacoffee.com/cumulus13)
[](https://ko-fi.com/cumulus13)
[Support me on Patreon](https://www.patreon.com/cumulus13)