mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
commit
b0855a04d7
1 changed files with 1 additions and 3 deletions
|
@ -33,9 +33,7 @@
|
||||||
|
|
||||||
function playThemeMusic() {
|
function playThemeMusic() {
|
||||||
if (lastSound == 0) {
|
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) {
|
} else if (getHolidayTheme() != 'off' && (new Date().getTime() - lastSound) > 30000) {
|
||||||
playSound('https://github.com/MediaBrowser/Emby.Resources/raw/master/themes/holiday/sleighbells.wav');
|
playSound('https://github.com/MediaBrowser/Emby.Resources/raw/master/themes/holiday/sleighbells.wav');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue