mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update theme
This commit is contained in:
parent
092a3cd21d
commit
4abca70c1a
1 changed files with 6 additions and 1 deletions
|
@ -32,9 +32,14 @@
|
|||
}
|
||||
|
||||
function playThemeMusic() {
|
||||
|
||||
if (getHolidayTheme() == 'off') {
|
||||
return;
|
||||
}
|
||||
|
||||
if (lastSound == 0) {
|
||||
playSound('https://github.com/MediaBrowser/Emby.Resources/raw/master/themes/holiday/christmas.wav', .1);
|
||||
} else if (getHolidayTheme() != 'off' && (new Date().getTime() - lastSound) > 30000) {
|
||||
} else if ((new Date().getTime() - lastSound) > 30000) {
|
||||
playSound('https://github.com/MediaBrowser/Emby.Resources/raw/master/themes/holiday/sleighbells.wav');
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue