Wrappers for MP3 CDs in iTunes? 36
Nikopol asks: "iTunes is very good at dealing with MP3 CDs made by itself, but MP3 CDs made with other software (in this particular case, HP MyCD on a Win 98 computer) aren't recognized at all. The ability to make an MP3 CD available as a source in iTunes is due to an XML file iTunes puts on each MP3 CD it burns. Other MP3 CDs, lacking such file (in fact, I think this file is on a separate HFS+ partition), are bound to appear in ISO9660 form on the desktop...and those MP3 are then bound to be permanently stacked in the main iTunes library, thus voiding much of iTunes Dynamic Playlists usefulness. Is it possible, via a plugin or some trickery, to generate such XML file that would allow iTunes to see any MP3 CD as a source? In fact, such trickery would ideally be applicable not only to MP3 CDs, but to networked drives or folders too! (I know, I know...Rendezvous...but it isn't implemented widely yet!)"
Auto-Run (Score:5, Informative)
What do you mean they aren't recognized? I do this all the time and I've never had trouble. iTunes doesn't recognize it automatically when you put the disk in. So you do have to drag and drop the directories. Make sure under preferences you've not selected to copy the files to your iTunes directory automatically. They should play fine.
OSX doesn't "autoplay" CDs. This has been discussed many times. I personally see this as a good thing, given all the problems its caused me under Windows. I suspect if you wish you could create an Applescript to play the files in iTunes when a disk is mounted. I'm not sure how one would do this though. The CD preference pane allows you to run an Applescript when a Music CD is mounted, but I don't think that MP3 CDs count since they are basically just data disks. Probably what you'd want to do is attach an Applescript to the /Vol directory. You'll need to be administrator to do this.
Re:Auto-Run (Score:3, Informative)
> I suspect if you wish you could create an Applescript to play the files in iTunes when a disk is mounted.
That's not true, at least on 10.2.
1. Look into System Preferences, click on CD/DVD icon.
2. Set a preference for "When you insert a music CD" to "Open iTunes".
3. Open iTunes, then open Preferences.
4. Set a preference for "On CD Insert" to "Begin Playing".
One flaw: when you insert a CD while iTunes is NOT launched yet, then it doesn't autoplay - iTunes is launched A
Re:Auto-Run (Score:4, Informative)
That's why I said you may wish to tie an Applescript to Vol. I don't know if OSX allows you to attach a script to the Volume directory. But you can attach them to other directories such that they run when the contents change.
In this case you'd have an Applescript that might "buffer" the MP3's or just tell iTunes to play them.
That's all that iTunes is doing with the XML file they write to the data disk. It expects the XML file in a certain place and it contains the paths of the MP3s to play. In this case you are just emulating that functionality with a folder script.
Oh, when I was discussing "auto-play" I was talking about how under Windows even data CDs can exectue a script. This is why when you put in a CD it will often open up a window. Besides being a security nightmare this can be annoying. Apple allows you to autorun specific programs or scripts for PhotoCDs, Music CDs, and video DVDs. It *won't* do it for anything else.
Re:Auto-Run (Score:2, Interesting)
Re:Auto-Run (Score:3, Informative)
Re:Auto-Run (Score:3, Interesting)
Re:Auto-Run (Score:1)
Re:Auto-Run (Score:1, Informative)
hdiutil internet-enable -yes [path to DMG]
the 'self-destruct' only works once though. so if after copying the files and disposing of itself in the trash you drag the disk image back out and open it again, it will not copy the files and dispose of itself again unless you set it from the command line. similarly, to disable it you run:
hdiutil internet-enable -no [path to DMG]
from
Re:Auto-Run (Score:1)
>in question is
>This is the directory that OSX mounts all external file
>systems, such as external hard drives, network shares,
>and CDs. It then uses it to create those icons of disks on
>your desktop.
Yeah, I think Folder Actions are the solution. What I really want to do (and I realize I didn't state it clearly enough in my post) is to be able to see MP3 CD and network folders as a sourc
Re:Auto-Run (Score:1)
I believe you will find this particular feature of Disk Copy documented here: Internet-Enabled Disk Images [apple.com]
Re:Auto-Run (Score:1)
Re:Auto-Run (Score:2)
Devon
Re:Auto-Run (Score:2)
Launch Classic. Run the Classic QuickTime control panel. Uncheck the autoplay boxes.
Re:Auto-Run (Score:4, Informative)
If you hold down the option key while dragging the music to iTunes, it will do the opposite of what this preference is set to do. In other words, if by default, dragged music is copied to the iTunes folder, it will not get copied if the option key is held during the drag.
Burn a CDRW (Score:4, Informative)
If you want to take it a step further, you can do what I did. I burned a MP3 CDRW with the songs I wanted and then looked at the resulting ContentsDB.xml file on the new CD. Then I took that file and edited it to match the file layout I wanted on my target CD, since I didn't want the default layout that iTunes creates. If you needed to do this a lot, I'm sure a perl script to automate it would be pretty easy to whip up.
Like I said, certainly not an ideal solution. Unfortunately I don't know of any way to do this without creating a second CD, but maybe someone else can come up with something better. Or maybe this will help someone think of a better idea.
Re:HP MyCD (Score:4, Informative)
slight tangent but still.... (Score:2, Interesting)
iTunes to burn a regular music cd with the track names and other id3 stuff on the cd so my sony car deck can read and display them?
thanks yall
Re:slight tangent but still.... (Score:2)
And how do you do that?
Re:slight tangent but still.... (Score:1)
AppleScript (Score:3, Informative)
Re:slight tangent but still.... (Score:3, Informative)
The bad news is it is a German applescript. The name of it is "Audio brennen mit Text." I believe I found it on Versiontracker. It is a read only script so I'm not sure exactly what it is doing behind the scenes (I have used it enough to know it doesn't appear to be doing anything malicious), but
invisible file (Score:4, Informative)
Re:invisible file (Score:1)
Re:invisible file (Score:5, Interesting)
No it's not! The grandparent is correct, the XML file does not exist, it is faked by OS X. When you mount a CD there is only one volume and it contains the music and the xml file.<br>
Here's what you get - notice the file '.TOC.plist' lives in the same place as the tracks and also note that it contains references to www.apple.com making it unlikely to have been put there by whoever made the disc. Also note that the CD itself is pre-OS X...
bash-2.05a$ ls -la
total 771530
dr-xr-xr-x 2 unknown unknown 4224 Mar 18 07:38
drwxrwxrwt 5 root wheel 170 Mar 18 07:38
-r--r--r-- 1 unknown unknown 3744 Mar 18 07:38
-r--r--r-- 1 unknown unknown 37154624 Mar 18 07:38 1 Science Fiction - Double Feature.aiff
-r--r--r-- 1 unknown unknown 63640496 Mar 18 07:38 10 Rose Tint My World.aiff
-r--r--r-- 1 unknown unknown 23030864 Mar 18 07:38 11 I??m Going Home.aiff
-r--r--r-- 1 unknown unknown 23120240 Mar 18 07:38 12 Superheroes.aiff
-r--r--r-- 1 unknown unknown 13331216 Mar 18 07:38 13 Science Double Feature.aiff
-r--r--r-- 1 unknown unknown 26114336 Mar 18 07:38 2 Damn It, Janet.aiff
-r--r--r-- 1 unknown unknown 35562320 Mar 18 07:38 3 Over At The Frankenstein Place.aiff
-r--r--r-- 1 unknown unknown 35813984 Mar 18 07:38 4 Sweet Transvestite.aiff
-r--r--r-- 1 unknown unknown 37098176 Mar 18 07:38 5 Time Warp.aiff
-r--r--r-- 1 unknown unknown 27617264 Mar 18 07:38 6 Sword Of Damocles.aiff
-r--r--r-- 1 unknown unknown 22332320 Mar 18 07:38 7 Hot Patootie.aiff
-r--r--r-- 1 unknown unknown 26502416 Mar 18 07:38 8 Touch-A-Touch-A-Touch-A-Touch Me.aiff
-r--r--r-- 1 unknown unknown 23701184 Mar 18 07:38 9 Once In A While.aiff
bash-2.05a$ more
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.
com/DTDs/PropertyList-1.0.dtd
<plist version="1.0">
<dict>
[snip XML...]
Re:invisible file (Score:1)
Do you mean 'references' to www.apple.com as in...
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd" >
This is the bit of an XML document that links it to the DTD, so that a program knows what 'type' it is. The reason that there is a URL to apple in there is that this DTD is held on apples server, as you would expect with a file format designed by apple for apple's operating system. How does this 'link' make th
Re:invisible file (Score:1)
When a CD is mounted in OS X (10.2.4, anyway - 10.0 was
What are you talking about? (Score:1, Troll)
Networked playlists were possible for a short time (Score:3, Informative)
AppleScript for OS 9 (Score:1)
Doug
Doug's AppleScripts for iTunes [malcolmadams.com]
RSS [malcolmadams.com]
here's how to do it from the shell (Score:3, Informative)
I'm not sure what the XML file contains, since I don't have a CD burner on my iBook, but assuming you can generate the file, here's what you can do to make it sit side by side with the contents of the CD, without copying the CD to your hard drive.
When you want to eject the CD, you'll have to unmount it and eject from the command line; it's not under control of Disk Arbitration anymore, so your regular eject button won't (in my experience) work.
Somebody Has a Straightforward Hack? (Score:1)
TIA!