Provides http access to now playing information from MPV.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
James Coleman 8f07531e31 Fixed issue where listening to radio in MPV will result in no information 8 years ago
License.txt First commit 8 years ago
README.md First commit 8 years ago
mpvNowPlaying.go Fixed issue where listening to radio in MPV will result in no information 8 years ago
mpvNowPlaying.service First commit 8 years ago

README.md

This is a simple web server to provide now playing data from mpv's JSON IPC server.

#External items needed

go get github.com/dwbuiten/go-mediainfo/mediainfo

#How to use ##Testing Run:

mpv run mpvNowPLaying.go

##Main use Compile with:

mpv build mpvNowPLaying.go

Move to system directory:

sudo mv mpvNowPlaying /usr/local/bin

Modify mpvNowPlaying.service and move/start:

sudo mv mpvNowPlaying.service /etc/systemd/system/ systemctl start mpvNowPlaying systemctl enable mpvNowPlaying