Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'A suite of shell scripts for FLACs and MP3s' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
A suite of shell scripts for FLACs and MP3s
Authored by: MonsterCow on Jun 20, '04 04:26:51PM

I got the id3hack script a few months ago, and it worked great! However, when I try it again now it does not work like it should. Instead of giving correct ID3 tags it gives a track name that is a part of the file path to the mp3 (for example "ers/Shared/Shakta/01 The Futur") and it does not give a track number at all.
Another weird thing is that if I copy the code from this site with IE or Mozilla, the script returns an error ("#: bad interpreter: No such file or directory") and if I copy past the script from Safari it has the naming problem but does not return an error.
Maybe it's a good idea to keep the scripts in a downloadable zip file if this is a common problem?
Anyone got any idea what could be wrong?



[ Reply to This | # ]
A suite of shell scripts for FLACs and MP3s
Authored by: ChrisR on Jun 27, '04 01:11:46AM
MonsterCow,

Converting each occurence of

echo "$file"
to
basename "$file"
in id3hack and vchack should fix your main problem. Thanks for pointing it out.

Chris

[ Reply to This | # ]