TITLE
DiskID2Asim
VERSION
1.1
AUTHOR
Thomas Aglassinger <agi@giga.or.at>
DESCRIPTION
Transfers an already existing DiskID-file to an Audio-CD (CDDA):
relabels the disk and renames the tracks using the information
found in the DiskID-file.
SPECIAL REQUIREMENTS
AsimCDFS 3.5, SCSI-CD-Rom with support for Audio-CDs, AmigaOS 2.x.
and DiskID-files (which can be created and modified by several
CDDA-Players, like MCDPlayer and OptyCDPlayer).
It also might work with older versions of AsimCDFS, but I didn't
test this.
AVAILABILITY
Every Aminet-mirror, file "disk/cdrom/DiskID2Asim.lha"; for example
"ftp://ftp.wustl.edu/pub/aminet/disk/cdrom/DiskID2Asim.lha".
PRICE
Free.
DISTRIBUTABILITY
DiskID2Asim is copyrighted freeware. It may be distributed freely
as long as no modifications are made to the executable and this
document. A nominal fee may be asked to cover distribution costs.
DiskID2Asim may not be used for any commercial purposes or
included with any commercial product without the written permission
of the author.
MOTIVATION
AsimCDFS supports CDDAs is quite nifty way: You can access every
track immediatly as file. By default, they are named like
"Track.1", "Track.2" and so on. These names can be changed (from
Workbench or using AsimTunes), but this is a rather dull task.
There already exists a large pool of DiskID-files (see Aminet),
but unfortunatly, no converter is included into AsimCDFS.
INSTALLATION
Drag the icon anywhere you want and modify the tooltypes according
to your needs.
TEMPLATE
DEVICE/K,UNIT/N/K,DISKIDPATH/K,TRACKPATH/K,
NOTITLE/S,NOTRACKS/S,NOBLANKS/S,RESET/S,VERBOSE/S
USAGE
DiskID2Asim can be invoked from CLI or Workbench. The arguments
for the tooltypes are the same as for CLI.
DEVICE scsi-device the CD-Rom is connected to;
default "scsi.device"
UNIT scsi-unit the CD-Rom is mounted as;
default 5
DISKIDPATH directory, where the DiskID-files ("ID#?") are located
TRACKPATH directory, where the "Track.#?"-files are located.
default "CD0:AIFF_Stereo"; usually, there should be no
need to change this.
NOTE: Renaming a file in one of the directories for
different audio-formats also affects all corresponding
files in all other directories.
NOTITLE do not relabel disk with album-title
NOTRACKS do not rename files with track-title
NOBLANKS replace blanks in titles by underscores ("_")
RESET reset title and/or tracks to defaults ("Title_Unknown"
and "Track.#?")
VERBOSE enable verbose output
The required DiskID-file needs already to exist, and, of course,
the CDDA you want to apply the DiskID-file on needs to be inserted
in your CD-Rom-drive.
DiskID2Asim does some manipulation on the original title when
converting it to a filename:
- surrounding blanks are removed
- text inside brakets is removed
- some special characters ("#?|~..") are replaced by "-"
- "/" is replaced by "\"
If the filename is still too long, it will be cut-down to the
filesystem-maximum (30 characters for the album-title, 25
characters for track-titles) and the last two characters will be
"..".
If several tracks exist with the same name or tracks don't result
in unique filenames after 25 characters, an unique filename will
be computed (extensions like ".1", ".2".. are appended).
EXAMPLE
DiskID-file: ID100081EC029E71
("[xyz]" denotes comments which are not part of the DiskID-file)
Half Man Half Biscuit [artists]
Mc Intyre, Treadmore And Davitt [title]
Outbreak Of Vitas Gerulaitis [track#1]
Prag Vec At The Melkweg [track#2]
Christian Rock Concert [track#3]
Lets Not [track#4]
Yipps (My Baby Got The) [track#5]
Hedley Verityesque [track#6]
A Lilac Harry Quinn [track#7]
Our Tune [track#8]
Girlfriend's Finished With Him [track#9]
Everything's A.O.R. [track#10]
Command call (for my machine):
DiskID2Asim DEVICE=SCSI-Apollo.device UNIT=5 \
DISKIDPATH=appl:sound/disks VERBOSE
Program output:
DiskID2Asim - transfer DiskID-file to AsimCDFS-CDDA (v1.1, 03.09.96)
(C) Thomas Aglassinger 1996 - This is Freeware!
Rename `CD0:' to `Mc Intyre, Treadmore And..'
Rename `Track.1' to `Outbreak Of Vitas..'
Rename `Track.2' to `Prag Vec At The Melkweg'
Rename `Track.3' to `Christian Rock Concert'
Rename `Track.4' to `Lets Not'
Rename `Track.5' to `Yipps'
Rename `Track.6' to `Hedley Verityesque'
Rename `Track.7' to `A Lilac Harry Quinn'
Rename `Track.8' to `Our Tune'
Rename `Track.9' to `Girlfriend's Finished..'
Rename `Track.10' to `Everything's A.O.R.'
10 out of 10 track-titles modified
Comments:
For the title, "Mc Intyre, Treadmore And Davitt", the text is
reduced to fit 30 characters and ends with ".."
For track#1, "Outbreak Of Vitas Gerulaitis", the text is reduced
to fit 25 charaters and ends with "..". This still allows a
".info" to be appended to the filename.
For track#5, "Yipps (My Baby Got The)", the text inside brakets
is removed and results in "Yipps".
PROBLEMS
- When updating the album-title (with NOTITLE not specified),
CDDAs currently playing are interrupted. This is a bug of
AsimCDFS.
- DiskID2Asim asumes that Examine() and ExNext() return the
track-sequence in correct order. This is the case for version
3.5 of AsimCDFS, but if this changes in future, the filenames
won't fit the corresponding tracks anymore.
- If, for some reason, the filenames get totally trashed, you
can repair them using the editor of AsimTunes. I needed this
once during development, when two files got identical names.
- As a feature of AsimCDFS, the usage of DiskID2Asim also affects
the database used by AsimTunes, but the artist-field remains
untouched.
DISCLAIMER
No responsibilities are taken for damaged CDs, CDROM drives, Amigas
or any other components or data involved while using DiskID2Asim.
If you find any bugs, let me know.
HISTORY
Version 1.1, 3-Sep-1996
- uses more sophisticated algorithm to create unique filenames
- no more insists on tracks named "Track.#?" and therefor
can be applied multiple times (if the DiskID-file has been
modified)
- removes only whole words from long names
- checks if "l:AsimCDFS" is available
- added RESET option
Version 1.0, 2-Sep-1996
- initial release
|