pull/140/head
tidusjar 9 years ago
parent 2d4f680537
commit 72ea4691dd

@ -82,7 +82,7 @@ namespace PlexRequests.Api
try
{
return Api.Execute<MusicBrainzReleaseInfo>(request, BaseUri);
return Api.ExecuteJson<MusicBrainzReleaseInfo>(request, BaseUri);
}
catch (JsonSerializationException jse)
{

@ -508,7 +508,7 @@ namespace PlexRequests.UI.Modules
var artist = albumInfo.ArtistCredits?.FirstOrDefault()?.artist;
if (artist == null)
{
return Response.AsJson("We could not find the artist on MusicBrainz. Please try again later or contact your admin");
return Response.AsJson(new JsonResponseModel {Result = false, Message = "We could not find the artist on MusicBrainz. Please try again later or contact your admin"});
}
var model = new RequestedModel

Loading…
Cancel
Save