Provides http access to now playing information from MPV.
Go to file
2016-04-11 23:17:07 -05:00
License.txt First commit 2016-04-02 18:44:03 -05:00
mpvNowPlaying.go Learned of fmt.Errorf. Why didn't I know of this? 2016-04-11 23:17:07 -05:00
mpvNowPlaying.service First commit 2016-04-02 18:44:03 -05:00
README.md First commit 2016-04-02 18:44:03 -05:00

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