update theme

This commit is contained in:
Luke Pulverenti 2015-10-16 14:55:35 -04:00
parent 31091e3937
commit 81edf6ccd9
2 changed files with 4 additions and 2 deletions

View file

@ -12,12 +12,13 @@
ApiClient.addMediaPath(virtualFolder.Name, path, refreshAfterChange).done(function () {
hasChanges = true;
refreshLibraryFromServer(page);
}).fail(function () {
Dashboard.showError(Globalize.translate('DefaultErrorMessage'));
})
});
}
function onRemoveClick() {
@ -37,6 +38,7 @@
ApiClient.removeMediaPath(virtualFolder.Name, location, refreshAfterChange).done(function () {
hasChanges = true;
refreshLibraryFromServer($(button).parents('.editorContent')[0]);
}).fail(function () {

View file

@ -14,7 +14,7 @@
}
if (lastSound == 0) {
playSound('http://github.com/MediaBrowser/Emby.Resources/raw/master/themes/halloween/monsterparade.mp3', .1);
playSound('http://github.com/MediaBrowser/Emby.Resources/raw/master/themes/halloween/monsterparadefade.mp3', .1);
} else if ((new Date().getTime() - lastSound) > 30000) {
playSound('http://github.com/MediaBrowser/Emby.Resources/raw/master/themes/halloween/howl.wav');
}