(2020-09-10, 11:02)black_eagle Wrote: Yeah, looking in the DB there are two entries created. The first is \
and the second is "Weird Al" Yankovic
. Obviously, the second one is correct but core pulls out the first link as the artist. Not too sure why/where that initial \
is coming from. My debug log doesn't seem to show an issue with the data returned from tadb but more digging is required to see exactly what's going on.
If I find it, I'll have a go at fixing it, but no promises or timescales!
Thank you for looking at it!
The scraper call in theaudiodb addon returns the following -
JSON:
{"track":[{"idTrack":"32835470","idAlbum":"2119264","idArtist":"112556","idLyric":"0","idIMVDB":"0","strTrack":"Amish Paradise","strAlbum":"Bad Hair Day","strArtist":"\"Weird Al\" Yankovic","strArtistAlternate":"Weird Al Yankovic","intCD":null,"intDuration":"201000","strGenre":"Comedy","strMood":"Humorous","strStyle":"Urban/R&B","strTheme":"...","strDescriptionEN":"\"Amish Paradise\" is a 1996 single by parodist \"Weird Al\" Yankovic. It is a parody of the hip hop song \"Gangsta's Paradise\" by Coolio featuring L.V. (which itself is a reworking of the Stevie Wonder song \"Pastime Paradise\"). Featured on the album Bad Hair Day, it turns the original \"Gangsta's Paradise\", in which the narrator laments his dangerous way of life, on its head by presenting an Amish man praising his relatively plain and uncomplicated existence.\n\nAlthough Yankovic traditionally secures permission from the artists he parodies (even though this is not legally required, as parodies are covered under fair use guidelines), and was told by his record label that Coolio had given permission, Coolio later claimed that he had not given such permission (and in fact publicly expressed disgust saying that Yankovic's parody \"desecrated the song\"). This created a minor controversy, as speculation surfaced that Coolio had actually given permission but later claimed he had not in the fear that allowing the parody would not be seen as \"cool\", or that Yankovic's record label had lied to Yankovic in the hopes that the song would become popular.\n\nYankovic later stated on VH1's Behind the Music that he had written a sincere letter of apology to Coolio, which was never returned, and that Coolio never complained when he received his royalty check from proceeds of the song. A series of photos taken at the XM Satellite Radio booth at the 2006 Consumer Electronics Show suggests that Yankovic and Coolio may have made amends.\n\nOn June 27, 2013 during an \"Ask Me Anything\" on Reddit, Yankovic was asked \"Is Coolio still upset about Amish Paradise?\", to which Yankovic replied \"Coolio's cool with me now. We ran into each other a few years ago and it's all water under the proverbial bridge.\" Coolio stated in a 2014 interview that the decision to refuse the parody at the time was \"stupid\" and wished that someone on his management had stopped him, and considers the final parody to be \"funny\".","strTrackThumb":"https://www.theaudiodb.com/images/media/track/thumb/rrvxvt1582026276.jpg","strTrack3DCase":null,"strTrackLyrics":"","strMusicVid":"http://www.youtube.com/watch?v=lOfZLb33uCg","strMusicVidDirector":"\"Weird Al\" Yankovic","strMusicVidCompany":"","strMusicVidScreen1":"https://www.theaudiodb.com/images/media/track/mvidscreen/xptuxp1582026287.jpg","strMusicVidScreen2":"https://www.theaudiodb.com/images/media/track/mvidscreen/rswwyv1582026298.jpg","strMusicVidScreen3":"https://www.theaudiodb.com/images/media/track/mvidscreen/yxsvpr1582026307.jpg","intMusicVidViews":"42144066","intMusicVidLikes":"205368","intMusicVidDislikes":"4927","intMusicVidFavorites":"0","intMusicVidComments":"27321","intTrackNumber":"1","intLoved":"1","intScore":"10","intScoreVotes":"1","intTotalListeners":null,"intTotalPlays":null,"strMusicBrainzID":"850d8028-846f-41dc-835c-3d3df1d83566","strMusicBrainzAlbumID":"95684193-58dc-3bec-8733-86c544116652","strMusicBrainzArtistID":"7746d775-9550-4360-b8d5-c37bd448ce01","strLocked":"unlocked"}]}
It looks like kodi is not properly processing the initial \ which means that the following " is taken as the end of the string, instead of the 1st character of the artist name. I don't know much about how this works, but I cannot see anything in the tadb.xml which I could easily change to influence this, and it works correctly for the director field. Hence, I though it could be something in the kodi code itself.