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

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Web service
    • Labels:
      None

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              chilkara Chill Kara
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:

                  Packages

                  Version Package