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

Add discography page URL matching for universal-music.co.jp, lantis.jp, jvcmusic.co.jp, wmg.jp, avexnet.jp and kingrecords.co.jp

XMLWordPrintable

      It would be nice to add URL matching for the discography page relationship type. The ones here are the most common Japanese label pages which have a consistent URL scheme in our database and can therefore be easily matched (this is obviously not everything, but we can create new tickets for other sites). The regexes are the strictest ones I could do to match the URLs, but we probably want to make them match https and www/no-www too.

      Example URL: http://www.universal-music.co.jp/sweety/products/umca-59007/
      Regex: ^http://www.universal-music.co.jp/([a-z0-9-]+/)?[a-z0-9-]+/products/[a-z]

      {4}-[0-9]{5}/$

      Example URL: http://www.lantis.jp/release-item2.php?id=326c88aa1cd230f96ef350e380a23078
      Regex: ^http://www.lantis.jp/release-item2.php?id=[0-9a-f]{32}$

      Example URL: http://www.jvcmusic.co.jp/-/Discography/A007461/VIDL-10827.html
      Regex: ^http//www.jvcmusic.co.jp/[a-z-]/Discography/[A0-9-]/[A-Z]{4}

      -[0-9].html$/

      Example URL: http://wmg.jp/artist/ayaka/WPCL000010415.html
      Regex: ^http://wmg.jp/artist/[A-Za-z0-9]+/[A-Z]

      {4}[0-9]{9}.html$

      Example URL: http://avexnet.jp/id/supeg/discography/product/CTCR-11051.html
      Regex: ^http://avexnet.jp/id/[a-z0-9]{5}/discography/product/[A-Z0-9]{4}

      -[0-9]

      {5}

      .html$

      Example URL: http://www.kingrecords.co.jp/cs/g/gKICM-1091/
      Regex: ^http://www.kingrecords.co.jp/cs/g/g[A-Z]

      {4}

      -[0-9]+/$

            reosarevok Nicolás Tamargo
            nikki nikki
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package
                Schema change, 2013-05-15