Control an mpv(mplayer/ffmpeg) instance using Music Player Daemon protocol.
- Python 3.7 over
- You need to use my version of python-mpd-server https://github.com/JustinHop/python-mpd-server.git
- You can try older, but I'm not
- Plan:
- Support configfile and positional args for port, user, logging, paths....
Use click and click-config-file
Done.
Needs test
Start up mpd compliant tcp server
Done.
Needs test
Add media/urls over mpd
Stateful playlist, maybe sqlite, maybe mongdb, maybe pickle
Maybe m3u8 playlists with modified tags to support streaming metadata
Parse youtube-dl able content and map data, artist=channel, track=title etc
Store original url, release date, views, thumbnails, etc
Map playback commands
Package nicely with systemd units, Dockerfiles, etc
- Ideas:
Map youtube/bitchute channel to directory
Map youtube playlists to playlists
use aio_mpv_jsonipc
$ python -m pip install --user pympvpd or (venv)$ python -m pip install pympvpd
ToDo: Rewrite me.
$ python >>> import pympvpd >>> pympvpd.sample.hello() 'hello' >>>