JustinHop / pympvpd

Control MPV with MPD

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pympvpd

Control an mpv(mplayer/ffmpeg) instance using Music Player Daemon protocol.

Status

https://secure.travis-ci.org/JustinHop/pympvpd.png?branch=master https://coveralls.io/repos/JustinHop/pympvpd/badge.png?branch=master Documentation Status

Requirements

Features

  • 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

Setup

$ python -m pip install --user pympvpd
or
(venv)$ python -m pip install pympvpd

Usage

ToDo: Rewrite me.

$ python
>>> import pympvpd
>>> pympvpd.sample.hello()
'hello'
>>>

About

Control MPV with MPD


Languages

Language:Python 98.8%Language:Shell 1.2%