Changeset 11 in flacrip


Ignore:
Timestamp:
02/26/14 15:13:43 (10 years ago)
Author:
peter
Message:
  • moved the MusicBrainz library into a lib/ directory
  • use FindBin to locate the lib/ directory when using MusicBrainz
Location:
trunk
Files:
1 added
2 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/flactrack

    r10 r11  
    77# TODO: separate sox filter for each track! 
    88 
     9use FindBin; 
     10use lib "$FindBin::RealBin/lib"; 
     11 
    912use Getopt::Long qw{:config no_ignore_case}; 
    1013use File::Spec::Functions qw{catfile splitpath}; 
    1114use File::Path; 
    1215use Audio::FLAC::Header; 
    13 #TODO: put the MusicBrainz lib in a more common location 
    14 use lib qw{/home/peter/projects/flacrip}; 
    1516use MusicBrainz; 
    1617 
  • trunk/mbz

    r8 r11  
    33 
    44# one use case: for f in ~/cds/*.flac; do mbid=`./mbz --flac $f --get-release-id`; echo $f $mbid; done; 
     5 
     6use FindBin; 
     7use lib "$FindBin::RealBin/lib"; 
    58 
    69use Getopt::Long; 
Note: See TracChangeset for help on using the changeset viewer.