From d1416d8f34a175b44f454a1451b65445fa4264c0 Mon Sep 17 00:00:00 2001 From: SuperBFG7 Date: Tue, 23 Mar 2021 19:25:39 +0100 Subject: [PATCH] Added option for automatic playback of mpd stream. When activated in settings, ympd will atempt to play the mpd stream (ogg/mp3) locally in the browser whenever mpd is playing. This allows to run a headless instance on a PC with sound and start/stop playback also from other instances or mpd clients. e.g. run ympd with autoplay on your private PC with decent loudspeakers, but control it with another instance on your office laptop without the need to switch PCs. --- htdocs/index.html | 14 +++++++------- htdocs/js/mpd.js | 15 +++++++++++++++ 2 files changed, 22 insertions(+), 7 deletions(-) diff --git a/htdocs/index.html b/htdocs/index.html index 4c4fc9c..86592e2 100644 --- a/htdocs/index.html +++ b/htdocs/index.html @@ -281,14 +281,14 @@ -
-
- -
-
+
+
+ +
+