15 Commits

Author SHA1 Message Date
883f594f4f Fix the output path of Artist Background.
The artist background had been saving to the folder the script was run from. This has now been resolved.
2024-10-14 11:08:17 -04:00
c5ffadd1f0 Get the artist background.
Adds the artist background as a possible source of artist image.
2024-10-14 10:34:43 -04:00
ea7396ff53 Sleep timer added.
A dely of 1 second has been added to keep the MusicBrainz API from dropping requests (503 errors).
2024-09-30 22:06:30 -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
66ce579992 Add check for config in .local directory 2024-09-30 17:03:56 -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
858d68b491 Fix if statement from previous commit. 2024-09-20 14:01:00 -04:00
f2d21185af Check for artist.png when looking for local art. 2024-09-20 13:58:58 -04:00
297e7876f2 Change to use python3
Had been set to python3.12 for the use of a specific library. This is no longer necessary as that library is not being used.
2024-09-20 13:24:34 -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
4c6bd5aeee Get a list of directries. 2024-09-17 15:20:46 -04:00
d32681729f Initial commit 2024-09-17 14:55:18 -04:00