386f17779b
Changes the internal ratelimiting scheme.
...
Rather than ratelimit to one request per-second, attempt to detect the
MusicBrainz API ratelimiting. The API will return HTTP 503 errors once
ratelimiting has begun. Once this has been detected, the script will wait 1
second before continuing processing.
2024-10-03 14:53:52 -04:00
c01b4cdcdd
Send a useragent in the request header to MB.
...
MusicBrainz desires an identifying header in the requests made to its API. This is now included.
2024-09-30 22:05:31 -04:00
6f7e69411b
Update code to remove a trialing _ from the artist name.
2024-09-25 21:09:10 -04:00
fe8a4c2410
Add fetching of hdmusiclogo if artistthumb fails.
...
This will catch a few more artists and at least place something in their directory.
2024-09-20 14:12:54 -04:00
3eb993e3c4
mb_confidence now working as a variable.
...
The value from config.ini is returned as a string. It needs to be cast to an int before use.
2024-09-20 13:17:35 -04:00
370151373c
Add mb_confidence as a configurable variable.
...
Update the project main and api_calls.py to get and use a confidence value set in config.ini.
2024-09-20 13:03:57 -04:00
d6060c2e61
MVP stage working.
...
The combination of getting an artist ID from MusicBrainz that is then used to pull an image from FanArt.TV seems to work.
2024-09-20 12:58:58 -04:00