-
Improvement
-
Resolution: Unresolved
-
Normal
-
None
-
None
-
None
Combining the powers of the artist origins map and LB Radio!
When you click on a country, a little button at the bottom with "Play [country]" would be cool. It would generate a playlist with a simple prompt like "country:(Mali)" and start playing it.
We should also enable clicking on countries with 0 plays, for this purpose.
Stretch goal: A "play the world" button (or just a nondescript play button in the corner of the map) which has a prompt for a playlist containing all the countries.
Super overachiever stretch goal: Probably should be another ticket, but while I'm here... light up the country squares when something from that country is currently playing!
[LB-1777] Artist origin map "play something from this country"
Attachment | New: screenshot-1.png [ 17254 ] |
Attachment | New: india overhaul.png [ 17251 ] |
Comment |
[
While exploring the codebase, I noticed that the current implementation of {{troi}} appears to only support a {{min_recordings}} parameter. From what I can tell, there doesn’t seem to be a built-in way to enforce a *maximum* number of recordings per country—for example, limiting it to {*}1 song per country{*}. I might be missing something, so if there _is_ a way to configure this with the existing structure, please feel free to correct me. ] |
Comment |
[ I could start with 1 song per country but what all countries are we looking at, is it just the countries with some artist data or even those with no artist data. If those without any artist data as well are considered then are we taking random 50 countries?
And for 1 song per country adding a filter of "max_recordings": 1 [here|https://github.com/granth23/listenbrainz-server/blob/LB-1777--Artist-origin-map-%22play-something-from-this-country%22/listenbrainz/webserver/views/explore_api.py#L182] might work ] |
Attachment | New: play the world.png [ 17183 ] |
Attachment | New: image-2025-04-06-13-54-15-536.png [ 17182 ] |
Attachment | Original: image-2025-04-06-13-53-46-855.png [ 17181 ] |
Attachment | New: image-2025-04-06-13-53-46-855.png [ 17181 ] |
Assignee | New: holycow23 [ holycow23 ] |