Welcome, Guest. Please login or register.

Author Topic: MakeCD and mp3 CD's  (Read 1901 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline platon42

  • Hero Member
  • *****
  • Join Date: Jul 2002
  • Posts: 573
    • Show all replies
    • http://www.platon42.de/
Re: MakeCD and mp3 CD's
« on: February 07, 2004, 07:44:37 AM »
Most such MP3 CD/DVD players don't read rockridge extensions. But they use the filename (and its suffix) to identify the file. So, if you have MP3s with short name (<= 30 characters), the suffix will be valid, and the CD player will correctly identify it as MP3. My solution looked like this:

Shell-Script ISO30:
.key TO/A,FILES/M
.bra {
.ket }
Echo >T:ISO30 "FailAt 21"
List ALL DIRS {FILES} LFORMAT "MakeDir *"{TO}%p%n*"" >>T:ISO30
List ALL FILES {FILES} LFORMAT "Copy *"%p%n*" *"{TO}%p%.26m.%e*" CLONE" >>T:ISO30
Execute T:ISO30
Delete >NIL: T:ISO30

This will copy the given files to a new directory, automatically truncating the filenames to max. 30 chars to conform with Level 2. I've also written a program to remove blanks etc from the filename, called PackFilename, it is available on request.
--
Regards, Chris Hodges )-> http://www.platon42.de <-(
hackerkey://v4sw7CJS$hw6/7ln6pr7+8AOP$ck0ma8u2LMw1/4Xm5l3i5TJCOTextPad/e7t2BDMNb7GHLen5a34s5IMr1g3/5ACM