docker-lidarr-extended icon indicating copy to clipboard operation
docker-lidarr-extended copied to clipboard

[Feat]: Add Deezer artists / album artists / top track artists by country

Open steve1977 opened this issue 2 years ago • 8 comments

Curious what Deezer lists are picked up when enabling this and how many artists are pulled? Just the #1 or top 10? Any chance to make this configurable to allows top-x? And even more important by country? For example, I'd love to automatically pull the #1 artist/albumartist/toptrackartists from Deezer Germany.

steve1977 avatar Jan 26 '23 03:01 steve1977

What your asking for requires API support, and I'm not aware of any support for selecting region... If you can provide an API example, I can look into incorporating it...

RandomNinjaAtk avatar Jan 26 '23 11:01 RandomNinjaAtk

What about this?

https://stackoverflow.com/questions/29748780/getting-most-listened-to-tracks-by-country-using-deezer-api

steve1977 avatar Jan 26 '23 12:01 steve1977

Doesn't look like a solution there...

RandomNinjaAtk avatar Jan 26 '23 13:01 RandomNinjaAtk

Seems my API knowledge is too little to even notice ;-) I thought the response below was the answer how to do it?

*** There is a way to make it you only have to search the top chart playlist for each country using the method curl --location *** --request GET https://api.deezer.com/search/playlist?q=Trending France.

*** In that query, you can change the country name with all the countries.

*** To get the top chart of the country you only have to get the first playlist and in that you will find the correct list of top *** chart songs following the link in the firsts track list item

steve1977 avatar Jan 26 '23 13:01 steve1977

This is not a really viable solution and only grabs playlists, which means more trickery/workarounds would be needed. I will not be implementing this, if there was a API solution that actually worked, much like what is currently used, I would consider implementing it.

RandomNinjaAtk avatar Jan 26 '23 13:01 RandomNinjaAtk

If someone wants to take the time to write up a PR that works and doesn't break existing functionality. I'll consider incorporating it...

RandomNinjaAtk avatar Jan 26 '23 13:01 RandomNinjaAtk

When enabling the deezer import feature in docker settings, how often does it pull artists? Only once upon docker restart or more frequently. I've been trying this now for a while and it seems that it only pulls at docker reboot. Not sure and not sufficient evidence to check.

steve1977 avatar Mar 28 '23 13:03 steve1977

https://github.com/RandomNinjaAtk/docker-lidarr-extended/blob/main/root/etc/services.d/extended_auto_artist_adder/run

RandomNinjaAtk avatar Mar 28 '23 14:03 RandomNinjaAtk