@@ -33,9 +33,7 @@
|
||||
|
||||
function playThemeMusic() {
|
||||
if (lastSound == 0) {
|
||||
if (getHolidayTheme() == 'christmas') {
|
||||
playSound('https://github.com/MediaBrowser/Emby.Resources/raw/master/themes/holiday/christmas.wav', .1);
|
||||
}
|
||||
playSound('https://github.com/MediaBrowser/Emby.Resources/raw/master/themes/holiday/christmas.wav', .1);
|
||||
} else if (getHolidayTheme() != 'off' && (new Date().getTime() - lastSound) > 30000) {
|
||||
playSound('https://github.com/MediaBrowser/Emby.Resources/raw/master/themes/holiday/sleighbells.wav');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user