Changeset 16 in flacrip


Ignore:
Timestamp:
09/29/14 14:20:39 (10 years ago)
Author:
peter
Message:

Include language and script in the metadata fetched by mbz

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/MusicBrainz.pm

    r12 r16  
    8888    $info{DATE}                = $xpath->findvalue('date', $release)->value; 
    8989    $info{ORIGINALDATE}        = $xpath->findvalue('release-group/first-release-date', $release)->value; 
     90    $info{LANGUAGE}            = $xpath->findvalue('text-representation/language', $release)->value; 
     91    $info{SCRIPT}              = $xpath->findvalue('text-representation/script', $release)->value; 
    9092 
    9193    # select the proper medium (important for multidisc releases) 
Note: See TracChangeset for help on using the changeset viewer.