Changeset 31 in flacrip for trunk/lib/MusicBrainz.pm


Ignore:
Timestamp:
11/26/14 22:50:16 (9 years ago)
Author:
peter
Message:
  • mbz uses DiscFlacFile to read the discid from a FLAC file
  • remove the TRACKS array from the returned info hash from get_musicbrainz_info()
  • Tracks::read_flac() can take an Audio::FLAC::Header as its argument instead of a filename
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/MusicBrainz.pm

    r17 r31  
    108108        @info{"$prefix.ARTIST", "$prefix.ARTISTSORT"} = get_artist_credits($xpath, $recording); 
    109109 
    110         $info{TRACKS}[$tracknum]{TITLE} = $info{"$prefix.TITLE"}; 
    111         $info{TRACKS}[$tracknum]{ARTIST} = $info{"$prefix.ARTIST"}; 
    112         $info{TRACKS}[$tracknum]{ARTISTSORT} = $info{"$prefix.ARTISTSORT"}; 
    113  
    114110        #my $uri = URI->new("http://musicbrainz.org/ws/2/recording/$recording_mbid"); 
    115111        #$uri->query_form(inc => 'artists'); 
Note: See TracChangeset for help on using the changeset viewer.