mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
added MusicBrainzReleaseGroupId
This commit is contained in:
parent
e02ebdbb51
commit
0f35a73376
2 changed files with 12 additions and 0 deletions
|
@ -174,6 +174,10 @@
|
||||||
<label for="txtMusicBrainz">MusicBrainz:</label>
|
<label for="txtMusicBrainz">MusicBrainz:</label>
|
||||||
<input id="txtMusicBrainz" name="txtMusicBrainz" data-mini="true" />
|
<input id="txtMusicBrainz" name="txtMusicBrainz" data-mini="true" />
|
||||||
</div>
|
</div>
|
||||||
|
<div data-role="fieldcontain" id="fldMusicBrainzReleaseGroupId" style="display: none;">
|
||||||
|
<label for="txtMusicBrainzReleaseGroupId">MusicBrainz Release Group Id:</label>
|
||||||
|
<input id="txtMusicBrainzReleaseGroupId" name="txtMusicBrainzReleaseGroupId" data-mini="true" />
|
||||||
|
</div>
|
||||||
<div data-role="fieldcontain" id="fldRottenTomatoes" style="display: none;">
|
<div data-role="fieldcontain" id="fldRottenTomatoes" style="display: none;">
|
||||||
<label for="txtRottenTomatoes">Rotten Tomatoes:</label>
|
<label for="txtRottenTomatoes">Rotten Tomatoes:</label>
|
||||||
<input id="txtRottenTomatoes" name="txtRottenTomatoes" data-mini="true" />
|
<input id="txtRottenTomatoes" name="txtRottenTomatoes" data-mini="true" />
|
||||||
|
|
|
@ -111,6 +111,12 @@
|
||||||
$('#fldMusicBrainz', page).hide();
|
$('#fldMusicBrainz', page).hide();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (item.Type == "MusicAlbum") {
|
||||||
|
$('#fldMusicBrainzReleaseGroupId', page).show();
|
||||||
|
} else {
|
||||||
|
$('#fldMusicBrainzReleaseGroupId', page).hide();
|
||||||
|
}
|
||||||
|
|
||||||
if (item.MediaType == "Video") {
|
if (item.MediaType == "Video") {
|
||||||
$('#fldOriginalAspectRatio', page).show();
|
$('#fldOriginalAspectRatio', page).show();
|
||||||
} else {
|
} else {
|
||||||
|
@ -252,6 +258,7 @@
|
||||||
$('#txtTvdb', page).val(providerIds.Tvdb || "");
|
$('#txtTvdb', page).val(providerIds.Tvdb || "");
|
||||||
$('#txtTvCom', page).val(providerIds.Tvcom || "");
|
$('#txtTvCom', page).val(providerIds.Tvcom || "");
|
||||||
$('#txtMusicBrainz', page).val(providerIds.Musicbrainz || "");
|
$('#txtMusicBrainz', page).val(providerIds.Musicbrainz || "");
|
||||||
|
$('#txtMusicBrainzReleaseGroupId', page).val(item.MusicBrainzReleaseGroupId || "");
|
||||||
$('#txtRottenTomatoes', page).val(providerIds.RottenTomatoes || "");
|
$('#txtRottenTomatoes', page).val(providerIds.RottenTomatoes || "");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -418,6 +425,7 @@
|
||||||
Tvdb: $('#txtTvdb', form).val(),
|
Tvdb: $('#txtTvdb', form).val(),
|
||||||
Tvcom: $('#txtTvCom', form).val(),
|
Tvcom: $('#txtTvCom', form).val(),
|
||||||
Musicbrainz: $('#txtMusicBrainz', form).val(),
|
Musicbrainz: $('#txtMusicBrainz', form).val(),
|
||||||
|
MusicBrainzReleaseGroupId: $('#txtMusicBrainzReleaseGroupId', form).val(),
|
||||||
RottenTomatoes: $('#txtRottenTomatoes', form).val()
|
RottenTomatoes: $('#txtRottenTomatoes', form).val()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue