First I must thank you for this script it solved my problem of ripping
to flac but wanting to play on an MP3 player.
Now the bad news, I got v0.2.4 working on Windows by using a non-root
path for the flac folder but this new version writes to the wrong
folder. Here is the --debug output. Note: the output is written to
E:\Music not E:\Music\Test (I have tried with unix and dos directory
separators).
Code:
--------------------
E:\Music>perl -w flac2mp3.pl --debug N:/ E:/Music/Test
Processing directory: N:/
1742 flac files found. Sorting...done.
srcfile: N:/AC DC/Highway To Hell/01 - Highway To Hell.flac
destfile: E:\Music\AC DC\Highway To Hell\01 - Highway To Hell.mp3
Tags from source file:
$VAR1 = {
'ALBUM' => 'Highway To Hell',
'TITLE' => 'Highway To Hell',
'TRACKNUMBER' => '01',
'GENRE' => 'Rock',
'DATE' => '1979',
'ARTIST' => 'AC/DC',
'VENDOR' => 'reference libFLAC 1.1.0 20030126'
};
Tags we know how to deal with from source file:
$VAR1 = {
'TITLE' => 'Highway To Hell',
'ALBUM' => 'Highway To Hell',
'GENRE' => 'Rock',
'TRACKNUMBER' => '01',
'DATE' => '1979',
'ARTIST' => 'AC/DC'
};
pf_exists: 0
pf_tags: 0
pf_timestamp: 1
Tags to be written if tags need updating
$VAR1 = {
'TITLE' => 'Highway To Hell',
'ALBUM' => 'Highway To Hell',
'GENRE' => 'Rock',
'TRACKNUMBER' => '01',
'DATE' => '1979',
'ARTIST' => 'AC/DC'
};
Processing "N:/AC DC/Highway To Hell/01 - Highway To Hell.flac"
flac --decode --stdout --silent "N:/AC DC/Highway To Hell/01 - Highway To
Hell.f
lac"| lame --preset medium --replaygain-accurate --quiet - "E:\Music\AC
DC\Highw
ay To Hell\01 - Highway To Hell.mp3"
Exit value from convert command: 0
changedframe is TITLE
method is TIT2
Setting TITLE = Highway To Hell
changedframe is ALBUM
method is TALB
Setting ALBUM = Highway To Hell
changedframe is GENRE
method is TCON
Setting GENRE = Rock
changedframe is TRACKNUMBER
method is TRCK
Setting TRACKNUMBER = 01
changedframe is DATE
method is TYER
Setting DATE = 1979
changedframe is ARTIST
method is TPE1
Setting ARTIST = AC/DC
srcfile: N:/AC DC/Highway To Hell/02 - Girls Got Rhythm.flac
destfile: E:\Music\AC DC\Highway To Hell\02 - Girls Got Rhythm.mp3
Tags from source file:
$VAR1 = {
'ALBUM' => 'Highway To Hell',
'TITLE' => 'Girls Got Rhythm',
'TRACKNUMBER' => '02',
'GENRE' => 'Rock',
'DATE' => '1979',
'ARTIST' => 'AC/DC',
'VENDOR' => 'reference libFLAC 1.1.0 20030126'
};
Tags we know how to deal with from source file:
$VAR1 = {
'TITLE' => 'Girls Got Rhythm',
'ALBUM' => 'Highway To Hell',
'GENRE' => 'Rock',
'TRACKNUMBER' => '02',
'DATE' => '1979',
'ARTIST' => 'AC/DC'
};
pf_exists: 0
pf_tags: 0
pf_timestamp: 1
Tags to be written if tags need updating
$VAR1 = {
'TITLE' => 'Girls Got Rhythm',
'ALBUM' => 'Highway To Hell',
'GENRE' => 'Rock',
'TRACKNUMBER' => '02',
'DATE' => '1979',
'ARTIST' => 'AC/DC'
};
Processing "N:/AC DC/Highway To Hell/02 - Girls Got Rhythm.flac"
flac --decode --stdout --silent "N:/AC DC/Highway To Hell/02 - Girls Got
Rhythm.
flac"| lame --preset medium --replaygain-accurate --quiet - "E:\Music\AC
DC\High
way To Hell\02 - Girls Got Rhythm.mp3"
Terminating on signal SIGBREAK(21)
--------------------
Also the "Processing directory" phase is v.slow but I guess that is
related to it doing a full parse and sort - could you add some sort of
progress indicator here?
Neil
--
Neil Sleightholm
_______________________________________________
ripping mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/ripping