1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

update theme

This commit is contained in:
Luke Pulverenti 2015-12-20 11:21:47 -05:00
parent 092a3cd21d
commit 4abca70c1a

View file

@ -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');
}
}