mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
add new fields from omdb
This commit is contained in:
parent
e8dd5c816f
commit
8c99e99477
17 changed files with 314 additions and 47 deletions
|
@ -585,6 +585,18 @@
|
|||
$('#fldRottenTomatoes', page).hide();
|
||||
}
|
||||
|
||||
if (item.Type == "Movie") {
|
||||
$('#fldAwardSummary', page).show();
|
||||
} else {
|
||||
$('#fldAwardSummary', page).hide();
|
||||
}
|
||||
|
||||
if (item.Type == "Movie" || item.Type == "Trailer") {
|
||||
$('#fldMetascore', page).show();
|
||||
} else {
|
||||
$('#fldMetascore', page).hide();
|
||||
}
|
||||
|
||||
if (item.Type == "Movie" || item.Type == "Trailer" || item.Type == "Person" || item.Type == "BoxSet" || item.Type == "MusicAlbum") {
|
||||
$('#fldTmdb', page).show();
|
||||
} else {
|
||||
|
@ -859,6 +871,9 @@
|
|||
$('#txtCommunityVoteCount', page).val(item.VoteCount || "");
|
||||
$('#txtHomePageUrl', page).val(item.HomePageUrl || "");
|
||||
|
||||
$('#txtAwardSummary', page).val(item.AwardSummary || "");
|
||||
$('#txtMetascore', page).val(item.Metascore || "");
|
||||
|
||||
$('#txtBudget', page).val(item.Budget || "");
|
||||
$('#txtRevenue', page).val(item.Revenue || "");
|
||||
|
||||
|
@ -1153,6 +1168,8 @@
|
|||
Album: $('#txtAlbum', form).val(),
|
||||
AlbumArtist: $('#txtAlbumArtist', form).val(),
|
||||
Artists: $('#txtArtist', form).val().split(';'),
|
||||
Metascore: $('#txtMetascore', form).val(),
|
||||
AwardSummary: $('#txtAwardSummary', form).val(),
|
||||
Overview: $('#txtOverview', form).val(),
|
||||
Status: $('#selectStatus', form).val(),
|
||||
AirDays: editableListViewValues($("#listAirDays", form)),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue