added MPRE* support

+ a few strings from #139
+ minor cleanup
This commit is contained in:
Shiny Nematoda 2023-08-12 07:58:58 +00:00
parent d673c0d998
commit d4eee69077
11 changed files with 30 additions and 29 deletions

View file

@ -21,9 +21,7 @@ function audioCanPlay() {
player.state.status = 'play';
});
if (location.pathname != '/playlist') {
useRoute(data.state.url);
}
if (location.pathname != '/playlist') useRoute(data.state.url);
document.title = `Playing: ${data.state.title} by ${data.state.artist}`;
}