Whislt trying to use the Jamendo service. Amarok seems to try to connect to Jamendo and then fails. Having a look at the source code. Amarok seems to try and grab data from this URL: http://img.jamendo.com/data/dbdump_artistalbumtrack.xml.gz trying to grab this manually results in a 404. Looking in Jamendo's API.. the location of this file is: http://imgjam.com/data/dbdump_artistalbumtrack.xml.gz However this is marked as a deprecated method. Reproducible: Always
what is marked as a deprecated method, the Jamendo API?
FWIW, quoting their API: "The get2 api set up, provided the possibility of downloading an XML dump of the Jamendo database, containing the list of artists, albums and tracks with their tags. Such service may or may not be stopped next year, depending on the Jamendo dev community usage and feedbacks." If they stopped the possibility to download an XML dump, I doubt there is anything we can do about this. Sending to a dev to look into this ASAP.
Disregard comment #1, the API did indeed change *sigh*
Actually I think I might be mistaken about the deprecated part. Admittedly I'm not a programmer, although I have some basic understanding. Re-reading the API in the day (opposed to late at night when I originally read it). I think it's referring to a different method than Amarok uses. However the location of the xml.gz is different than the one the source code tries to grab. Current correct link is in initial post. Perhaps it would be an idea to have this as a user changeable option in configuration?
What would you wan to have as a changeable option, the link? That is internal to the code, and I very much doubt this would help. Iif they changed the URL for the XML dump we will have to change it as well, making this a user option is pretty useless as most users wouldn't know what to do anyway.
Yes, I was referring to the link to the dump file. I just thought it would be handy to be manually change it if ever needed.
Patch created. Please review: https://git.reviewboard.kde.org/r/116741/
Git commit 01b3ab9fd70b158bfc6f4529ce22a671c5d2820c by Daniel Meltzer. Committed on 07/05/2014 at 22:51. Pushed by dmeltzer into branch 'master'. Update URL for Jamendo Database. Jamendo has changed hosts. This updates the url to the new location. The api is deprecated, but it works again at least. CCMAIL: yashladia@gmail.com REVIEW: 116741 M +2 -0 ChangeLog M +5 -4 src/services/jamendo/JamendoService.cpp M +1 -1 src/services/jamendo/JamendoXmlParser.h http://commits.kde.org/amarok/01b3ab9fd70b158bfc6f4529ce22a671c5d2820c