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

converted season providers

This commit is contained in:
Luke Pulverenti 2014-02-03 00:35:43 -05:00
parent 30cf916fa2
commit 78cb9d70da

View file

@ -286,7 +286,8 @@
loadTabs(page, [
{ name: 'Game', type: 'Game' },
{ name: 'Game System', type: 'GameSystem' }
{ name: 'Game System', type: 'GameSystem' },
{ name: 'Game Genre', type: 'GameGenre' }
]);
$('.gamesTab', page).addClass('ui-btn-active');
@ -320,7 +321,8 @@
{ name: 'Artist', type: 'MusicArtist' },
{ name: 'Album', type: 'MusicAlbum' },
{ name: 'Song', type: 'Audio' },
{ name: 'Music Video', type: 'MusicVideo' }
{ name: 'Music Video', type: 'MusicVideo' },
{ name: 'Music Genre', type: 'MusicGenre' }
]);
$('.musicTab', page).addClass('ui-btn-active');
@ -331,8 +333,6 @@
{ name: 'Person', type: 'Person' },
{ name: 'Genre', type: 'Genre' },
{ name: 'Game Genre', type: 'GameGenre' },
{ name: 'Music Genre', type: 'MusicGenre' },
{ name: 'Studio', type: 'Studio' },
{ name: 'Book', type: 'Book' },
{ name: 'Adult Video', type: 'AdultVideo' }
@ -368,6 +368,12 @@
Limit: $('#txtMaxBackdrops', form).val(),
MinWidth: $('#txtMinBackdropDownloadWidth', form).val()
});
} else {
config.ImageOptions.push({
Type: 'Backdrop',
Limit: 0,
MinWidth: 0
});
}
if ($('.screenshotFields:visible', form).length) {
@ -377,6 +383,12 @@
Limit: $('#txtMaxScreenshots', form).val(),
MinWidth: $('#txtMinScreenshotDownloadWidth', form).val()
});
} else {
config.ImageOptions.push({
Type: 'Screenshot',
Limit: 0,
MinWidth: 0
});
}
}