Skip to content

Commit 801d5e6

Browse files
committed
Get song status regularly
1 parent b282105 commit 801d5e6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mpdcontroller/templates/mpdcontroller/index.html

+2
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@
6565
event.preventDefault();
6666
}
6767

68+
window.setInterval(updateStatus, 5000);
69+
6870
window.onload = function window_onload() {
6971
updateStatus();
7072
a_tag_list = document.querySelectorAll('a');

0 commit comments

Comments
 (0)