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:
parent
30cf916fa2
commit
78cb9d70da
1 changed files with 17 additions and 5 deletions
|
@ -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' }
|
||||
|
@ -362,12 +362,18 @@
|
|||
});
|
||||
|
||||
if ($('.backdropFields:visible', form).length) {
|
||||
|
||||
|
||||
config.ImageOptions.push({
|
||||
Type: 'Backdrop',
|
||||
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
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue