mirror of
https://github.com/9001/copyparty.git
synced 2025-08-19 09:52:21 -06:00
dont crash when mediaplayer config is changed while music isnt playing
This commit is contained in:
parent
96ceccd12a
commit
52e63fa101
|
@ -427,7 +427,7 @@ var mpl = (function () {
|
||||||
};
|
};
|
||||||
|
|
||||||
function announce() {
|
function announce() {
|
||||||
if (!r.os_ctl)
|
if (!r.os_ctl || !mp.au)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
var np = get_np()[0],
|
var np = get_np()[0],
|
||||||
|
|
Loading…
Reference in a new issue