Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix musicbrainz resolution with python based scrapers #11632
Late in the day I know but the
For the XML music scrapers the "ResolveIDToUrl" function called by
The Python music scrapers "getdetails" action, called from PythonDetails, is simply passed the mbid. So why need the Python scraper to have a "resolveid" action to put a fake album or artist into the list so that a count check avoids lookup by name etc. ?
It makes more sense to me to change
Fair enough :)
I have also discovered that XML music scrapers "ResolveIDToUrl" is not just string parsing. It takes the Musicbrainz release id that Kodi has from music file tags (strMusicBrainzAlbumID in the album table), and looks up the Musicbrainz release group id that is needed to look up the album in Fanart.TV and TADB. Python scraper needs to do the same.
EDIT: Correction, no it doesn't - the regexp parsing of xml is so darn hard to follow!