Fix crash during musicbrainz search

Review Request #130232 - Created Aug. 19, 2017 and submitted

Information
Sergey Ivanov
amarok
master
328359
Reviewers
amarok
  • Fixed search result appending process to prevent creation of invalid indices.
  • Added "Accept" header to musicbrainz request, because sometimes MusicBrainz returns response in JSON format instead of XML.

  
Sergey Ivanov
Myriam Schweingruber
Sergey Ivanov
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit 88ee85a8333cf54dc123fef5e07a1c92ab9f7261 by Sergey Ivanov to branch master.
Christoph Feck
Thanks for the patch. Someone familiar with the code should merge this to 'kf5' branch. It is not trivial, because of the port of the parser to QObject.

I locally tried an automatic merge. Not only did this fail, but it was also wrong because it reverted parts of those porting commits.
  1. I'll try to do It.

Loading...