feat: add country_code to ArtistLocation, fix scene label

Store ISO 3166-1 alpha-2 country code (lowercase) in ArtistLocation
for flag display. Scene label now shows just country name instead of
"Country, City scene".
This commit is contained in:
vicrodh committed 2026-03-09 14:15:05 -06:00
1 parent e065af4d7e
commit eb199c9ba1
3 files changed
+13 -3

No files matched your search

+1 -1
View File
@@ -9142,7 +9142,7 @@ pub async fn v2_discover_artists_by_location(
area_name
);
let scene_label = format!("{} scene", display_name);
let scene_label = country.clone().unwrap_or_else(|| display_name.clone());
let genre_sum = genre_summary(&source_seeds);
let next_offset = offset + candidates_to_validate.len();
let has_more = next_offset < total_candidates;