mikealmond / MusicBrainz

A PHP library to access MusicBrainz's Web Service v2
http://musicbrainz.org/doc/Development
MIT License
64 stars 26 forks source link

Limit / Offset on 'lookup' by release-group #25

Open amiantos opened 7 years ago

amiantos commented 7 years ago

I noticed today that there is a 100 result limit on lookup requests by release-group.

Doesn't look like this script accounts for that, nor provides any way to adjust the offset manually. I tried adding in params for limit and offset to the lookup function, limit works but offset doesn't.

It would be cool if this script detected the total number of artist releases and then automatically paged through them and appended them to the result set. But I know I'm asking for a lot!

I am probably going to try to build my own grabber and parser for the musicbrainz API to fit my needs, unless I can figure out how to hack this script to do it but it might be a bit out of my league as a programmer at the moment.