1
0
mirror of https://github.com/SuperBFG7/ympd synced 2025-10-26 11:27:40 +00:00

Merge branch 'devel' of https://github.com/jcorporation/myMPD into devel

This commit is contained in:
jcorporation
2018-07-02 20:42:05 +01:00

View File

@@ -1,5 +1,5 @@
var mpdstream = decodeURI(location.hash).replace(/^#/,'');
player.src = mpdstream;
var player = document.getElementById('player');
player.src = decodeURI(location.hash).replace(/^#/,'');
console.log('playing mpd stream: ' + player.src);
player.load();
player.play();