Posts: 22
Joined: Jun 2012
Reputation:
3
Thank you very much for this. It mostly works great, however there is one problem. When an album has more than one release listed on MusicBrainz then the scraper seems to pick one at random and more often than not it picks the wrong one. Album releases do vary greatly between different regions with different tracks, track ordering, number of CDs etc. Therefore the scraper invariably downloads an entirely wrong track listing and publisher for the album. Please can you add an option to manually select the release when MusicBrainz has more than one listed. Thank you for your time.
Posts: 3,203
Joined: May 2008
Reputation:
107
olympia
Team-Kodi Member
Posts: 3,203
I am aware of this, but this is not possible to enable on addod level currently. The scraper itself is already capable to handle this.
However the current behaviour of XBMC is, that if there is a match >99%, it picks the first hit automatically, regardless there are multiple 100% matches. I already requested to change this, and odds are high we will come up with something for this in Frodo.
There are two workarounds, unfortunatelly both are uncomfortable (as workarounds most often).
1. create an album.nfo in the album folder with the MusicBrainz link of the release you want
2. there is another one which involves scraper code modification, but if you do this, you will need to select ALL albums manually which is not really comfortable if you have 100s or 1000s of albums. Let me know you are interested in this.
Posts: 3,203
Joined: May 2008
Reputation:
107
olympia
Team-Kodi Member
Posts: 3,203
yes, your findings are correct. I need to think about (I am not even sure there is a solution) if I can find some logic around this.
The XBMC scraper addon is only scraping data and is not able to manipulating it.
Posts: 3,203
Joined: May 2008
Reputation:
107
olympia
Team-Kodi Member
Posts: 3,203
Nahh, no solution for this until we can't make xbmc to understand duration in milliseconds...
Will raise this internally.
Posts: 22
Joined: Jun 2012
Reputation:
3
Okay I understand. Thanks for taking a look.
Posts: 1,052
Joined: Jul 2011
Reputation:
89
scudlee
Retired Team-Kodi Member
Posts: 1,052
Can't you just reverse the logic in the scraper? Instead of taking the first 3 digits, capture everything but the last 3 digits?
i.e. rather than <length>(\d{3})\d*?</length> have <length>(\d*?)\d{3}</length>
Posts: 3,203
Joined: May 2008
Reputation:
107
olympia
Team-Kodi Member
Posts: 3,203
wooopss, where did I lost my head today?
Hell, yeah this will surely do it. Will fix this when I get home.
Thanks for refreshing my mind.
Posts: 71
Joined: May 2009
Reputation:
1
hey olympia.
this seems to over run musicbrainz query/sec limit for me on a semi-regular basis. the problem is, once the qps limit kicks in musicbrainz start serving up a really simple fast reject page, which means the queries go even faster and the rate-limit just stays in force. so i have to stop scanning and restart.
i think unfortunately the real solution is a rate-limit per domain, and nothing we can do in the scraper. :-(
Posts: 3,203
Joined: May 2008
Reputation:
107
olympia
Team-Kodi Member
Posts: 3,203
^^ that' too bad. I didn't experience this yet as I didn't run a mass scraping on my side yet.