Posts: 7,172
Joined: Dec 2003
Reputation:
4
kraqh3d
Retired Developer
Posts: 7,172
yup. that works. i can have it append the artist name if this works reasonably well for "greatest hits" albums. do some more testing and report back.
Posts: 7,172
Joined: Dec 2003
Reputation:
4
kraqh3d
Retired Developer
Posts: 7,172
i've never seen the record label in square brackets. typically anything in square brackets is an album name qualifier like [uk release], etc. this is used in the comparison because there's multiple versions of the same album. removing anything in square brackets would be bad. it will likely yeild more albums of exactly the same name.
and we add the year in parens... its not used in the comparison.
Posts: 7,172
Joined: Dec 2003
Reputation:
4
kraqh3d
Retired Developer
Posts: 7,172
sorry bud, i cant help you if you cant give me some examples. i've not seen the record label in square brackets in my testing, and i did a decent amount (that's how i discovered the bug with the image not being updated when picking a different album from the chooser dialog.)
i have seen things in square brackets, but as i said earlier, it was usually some qualifier to seperate identical albums. (different regions, a limited edition version, extra bonus tracks, etc, stuff like that.)
for that reason alone, i would not want to blanket remove all items in square brackets. it would create multiple identical album names, thereby negating the 100% matching which now (mostly) works.
folder.jpg wont work, and never did. once you do an album lookup, that cover gets cached as the album cover, and as the folder icon if theres only a single album in that folder.
Posts: 7,172
Joined: Dec 2003
Reputation:
4
kraqh3d
Retired Developer
Posts: 7,172
uh no... not really.
allmusic.com is apparently limiting the number of returned items. querying for album name "greatest hits" yeilds too many matches, so the list is truncated back to their limit. how they determine whats is returned in the list when that limit is reached is unknown.
the [asia] has absolutely nothing to do with the artist. that is just how the album is named in their database. it means its the asian release. nothing more.
adding [a to the query means the query returns less items that just searching for "greatest hits". i assume in this case their internal limit of the number of returned items is not reached, and the correct item is in the returned list.
Posts: 12,706
Joined: Nov 2003
Reputation:
129
spiff
Team-Kodi Member
Posts: 12,706
just wanted to say; great work! works much better now.
on the record label in brackets thingy. just a theory, but if a artist has several best of records on different record labels, it might be the identifier used to differentiate between these..
Posts: 1,473
Joined: Aug 2004
Reputation:
3
C-Quel
Retired Team-Kodi Member
Posts: 1,473
spiff i believe thats correct mate... each of top listed labums seem to have on average 5-6 records labels all titled 'greatest hits'
Posts: 7,172
Joined: Dec 2003
Reputation:
4
kraqh3d
Retired Developer
Posts: 7,172
dean...
exactly! there's not much more i can do now. allmusic is limiting the number of returned items. my changes merely used the artist to more accurately determine the correct album from those in the returned list. in this case, however, the correct album isnt even in the returned list.
if anyone figures out a way to reliably combine the album and artist together in the query, i can test it out and change it.
spiff...
thanks!
Posts: 1,473
Joined: Aug 2004
Reputation:
3
C-Quel
Retired Team-Kodi Member
Posts: 1,473
the only way i have managed to even return the album is being registered and doing the following.
choose advanced search
database to search = pop
looking for = text mention
search by = name
enter name == robbie williams
this is the only way i have managed to list his album.
way to much hassle for you guys!