Changeset 10 in flacrip for trunk/MusicBrainz.pm
- Timestamp:
- 02/26/14 14:37:32 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MusicBrainz.pm
r9 r10 76 76 # select the proper medium (important for multidisc releases) 77 77 my ($medium) = $xpath->findnodes("medium-list/medium[disc-list/disc/\@id='$discid']", $release); 78 79 # disc position info 80 $info{DISCNUMBER} = $xpath->findvalue('position', $medium)->value; 81 $info{DISCTOTAL} = $xpath->findvalue('../@count', $medium)->value; 78 82 79 83 #my $ua = LWP::UserAgent->new;
Note: See TracChangeset
for help on using the changeset viewer.