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:
3 files changed
+13
-3
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user