Uploaded image for project: 'MusicBrainz Server'
  1. MusicBrainz Server
  2. MBS-11260

Always return the country for an artist in JSON when a city is used as area

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Normal Normal
    • None
    • None
    • Web service
    • None

      JSON results for artist page will NOT show country when a city is used as the area (example New York). Unless the city has an ISO-3166-2 code (which very few do, as they are for state/subdivisions). For example, Mobb Deep only shows Queensbridge, not United States or US-NY: https://musicbrainz.org/ws/2/artist/d75d1f08-bbb8-4eae-9877-399ca9121197?inc=aliases&fmt=json

      Louis Armstrong area is set to a state, so US-LA is shown:
      https://musicbrainz.org/ws/2/artist/eea8a864-fcda-4602-9569-38ab446decd6?inc=aliases&fmt=json

       

      from discussion here:

      https://community.metabrainz.org/t/artist-area-country-vs-city-higher-specicifity/336299/29?u=chilkara

            Unassigned Unassigned
            chilkara Chill Kara
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package