[Release] TheAudioDb.com Artists and Albums scrapers

  Thread Rating:
  • 3 Vote(s) - 3.67 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
olympia Offline
Team-Kodi Member
Posts: 2,697
Joined: May 2008
Reputation: 39
Post: #1
[Image: 458cfd98d1bc8e5b926c9318c3652a_icon.png]
Scrapers are available in the official repo.

See more about theaudiodb.com in this thread:
http://forum.xbmc.org/showthread.php?tid=134260

...and on http://www.theaudiodb.com

source
https://github.com/xbmc/xbmc/tree/master...udiodb.com
(This post was last modified: 2015-06-15 11:58 by zag.)
find quote
zag Offline
Retired Team-Kodi Member
Posts: 4,006
Joined: Oct 2007
Reputation: 75
Location: UK
Post: #2
Thanks olympia, I've tested both and they work well I think.

I'll try to improve the matching logic a little but the best thing most people can do is start adding data, artwork, music videos and "loves" to the site. Then everyone will benefit from these scrapers.
find quote
zag Offline
Retired Team-Kodi Member
Posts: 4,006
Joined: Oct 2007
Reputation: 75
Location: UK
Post: #3
Any idea why:

U2 - The Best of 1980-1990

Isn't scraping properly?

I checked the API and it returns a result. Maybe something to do with the - hyphen?
find quote
zag Offline
Retired Team-Kodi Member
Posts: 4,006
Joined: Oct 2007
Reputation: 75
Location: UK
Post: #4
Also I noticed "Tiësto" does not match correctly.

The API appears to show the result fine, any idea why its not working?
find quote
olympia Offline
Team-Kodi Member
Posts: 2,697
Joined: May 2008
Reputation: 39
Post: #5
"Tiësto" scrapes for me fine. Do you still have a problem with it?

Also, what exactly is wrong with "U2 - The Best of 1980-1990"?
find quote
zag Offline
Retired Team-Kodi Member
Posts: 4,006
Joined: Oct 2007
Reputation: 75
Location: UK
Post: #6
(2012-08-26 16:52)olympia Wrote:  "Tiësto" scrapes for me fine. Do you still have a problem with it?

Also, what exactly is wrong with "U2 - The Best of 1980-1990"?

Thanks for looking but neither scraper for me.

- No Album matches with a hyphen in it.
- "ë" special characters (and others) don't match either.

I've added Alternate names to the site and soon to the API but it would be good to get the special characters working also.
find quote
zag Offline
Retired Team-Kodi Member
Posts: 4,006
Joined: Oct 2007
Reputation: 75
Location: UK
Post: #7
I've added an Alternate name search to the API so searches for "Tiesto" should now work. "Tiësto" still wont work with this scraper though.

Still having problems with the hyphen in album searches though.
(This post was last modified: 2012-09-11 21:03 by zag.)
find quote
JeromyNix Offline
Member
Posts: 97
Joined: Dec 2010
Reputation: 1
Post: #8
maybe the problem is with caps in the case of U2, having the same problem with scraping LEN... not a problem with the scraper.. the api isn't returning results for LEN
find quote
zag Offline
Retired Team-Kodi Member
Posts: 4,006
Joined: Oct 2007
Reputation: 75
Location: UK
Post: #9
Still having a problem with hyphens in the album name. Another example is

Kraftwork - Trans-Europe Express

Doesn't return any results.
find quote
scudlee Offline
Team-Kodi Member
Posts: 913
Joined: Jul 2011
Reputation: 58
Post: #10
(2012-10-07 20:52)zag Wrote:  Still having a problem with hyphens in the album name. Another example is

Kraftwork - Trans-Europe Express

Doesn't return any results.
This might just be because that album is listed as Trans-Europa Express on theaudiodb.com.

Compare a search for Trans-Europe Express with a search for Trans-Europa Express
(This post was last modified: 2012-10-08 19:07 by zag.)
find quote
zag Offline
Retired Team-Kodi Member
Posts: 4,006
Joined: Oct 2007
Reputation: 75
Location: UK
Post: #11
(2012-10-07 21:17)scudlee Wrote:  
(2012-10-07 20:52)zag Wrote:  Still having a problem with hyphens in the album name. Another example is

Kraftwork - Trans-Europe Express

Doesn't return any results.
This might just be because that album is listed as Trans-Europa Express on theaudiodb.com.

Compare a search for Trans-Europe Express with a search for Trans-Europa Express

Awesome spot! You were right, "Europa" was the German translation.

I've corrected it on TheAudioDB now and its scraping fine Smile

I think I will enforce the rule of only English naming for albums (even from awesome german bands)
(This post was last modified: 2012-10-08 19:13 by zag.)
find quote
zag Offline
Retired Team-Kodi Member
Posts: 4,006
Joined: Oct 2007
Reputation: 75
Location: UK
Post: #12
Found another one.

Tiesto - Just Be

Api is working fine, but in XBMC for some reason it is not

Code:
http://www.theaudiodb.com/api/v1/json/1/searchalbum.php?s=tiesto&a=just%20be

The API returns a different string "Tiësto" but the "Tiesto" will search fine also.
(This post was last modified: 2013-01-16 19:02 by zag.)
find quote
legoman666 Offline
Junior Member
Posts: 26
Joined: Jun 2011
Reputation: 0
Post: #13
Correctly matched 1 of 24 music videos to its artist. Doesn't like dashes, searching "B.o.B." results in an "unable to connect to remote server" error.
find quote
zag Offline
Retired Team-Kodi Member
Posts: 4,006
Joined: Oct 2007
Reputation: 75
Location: UK
Post: #14
@ legoman666, this is the artist scraper thread, not the music video thread.
find quote
zag Offline
Retired Team-Kodi Member
Posts: 4,006
Joined: Oct 2007
Reputation: 75
Location: UK
Post: #15
API - 401 unauthorized image errors have now been fixed.

Sorry if it broke anything in the last week.

All API thumbs are now 700x700 and fanart is 720p. The bandwidth was getting waaaaaay out of control Smile
find quote
Post Reply