diff --git a/js/app.js b/js/app.js index 198c9639b66184b4da425d06b480fcbd0236e1fc..5dd91387bf0282daac4a4c99d0a2907ff2dd0d26 100644 --- a/js/app.js +++ b/js/app.js @@ -397,7 +397,7 @@ async function getCurrentSongInfoFromIceCastStation(streamUrl) { async function updateLoop() { let metadata = {} if (!currentStation) { - await updateMetadata("Not tuned", "radio waves") + await updateMetadata("Not tuned", "waves") return; } if (currentStation.metadata_type === "azuracast") { diff --git a/main.js b/main.js index fbe87d6dc7b004a833dd69fbae8053f23d5e49f6..8e45ef039c550e9a9b1d49c5efb0cc82c21dd33a 100644 --- a/main.js +++ b/main.js @@ -43,7 +43,7 @@ function updatePlayer (event, args) { return (Date.now() - args.startTime) * 1000 } - // win.setProgressBar((Date.now() - args.startTime) / args.duration) + win.setProgressBar((Date.now() - args.startTime) / args.duration) console.log((Date.now() - args.startTime) / args.duration) player.playbackStatus = args.playingStatus; @@ -75,7 +75,7 @@ function createWindow () { } }) - win.setProgressBar(0.69) + // win.setProgressBar(0.69) win.loadFile('index.html') }