fixes around saving music brainz id's to xml

This commit is contained in:
Luke Pulverenti 2013-08-25 13:18:56 -04:00
parent b7af0b8a16
commit 33cb658057
2 changed files with 2 additions and 10 deletions

View File

@ -644,7 +644,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 || ""); $('#txtMusicBrainzReleaseGroupId', page).val(providerIds.MusicBrainzReleaseGroup || "");
$('#txtRottenTomatoes', page).val(providerIds.RottenTomatoes || ""); $('#txtRottenTomatoes', page).val(providerIds.RottenTomatoes || "");
} }
@ -844,7 +844,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(), MusicBrainzReleaseGroup: $('#txtMusicBrainzReleaseGroupId', form).val(),
RottenTomatoes: $('#txtRottenTomatoes', form).val() RottenTomatoes: $('#txtRottenTomatoes', form).val()
} }
}; };

View File

@ -841,14 +841,6 @@
currentPlaylistIndex = 0; currentPlaylistIndex = 0;
var nowPlayingBar = $('#nowPlayingBar'); var nowPlayingBar = $('#nowPlayingBar');
if (items.length > 1) {
$('#previousTrackButton', nowPlayingBar)[0].disabled = false;
$('#nextTrackButton', nowPlayingBar)[0].disabled = false;
} else {
$('#previousTrackButton', nowPlayingBar)[0].disabled = true;
$('#nextTrackButton', nowPlayingBar)[0].disabled = true;
}
}; };
self.playInternal = function (item, startPosition, user) { self.playInternal = function (item, startPosition, user) {