Slashdot Mirror


Wrappers for MP3 CDs in iTunes?

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!)"

9 of 36 comments (clear)

  1. Auto-Run by WatertonMan · · Score: 4, Informative
    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.

    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.

    1. Re:Auto-Run by komor · · Score: 3, Informative

      > OSX doesn't "autoplay" CDs.
      > 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 AFTER the CD is considered to be "inserted", so when iTunes launches the CD is already present and mounted.
      But any consecutive CD inserted autoplays well.

    2. Re:Auto-Run by WatertonMan · · Score: 3, Informative
      That only autoplays *music* CDs. The CDs in question are MP3 CDs which are just data CDs filled with MP3 files.

      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.

    3. Re:Auto-Run by macmurph · · Score: 4, Informative

      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.

      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.

  2. Burn a CDRW by Van+Halen · · Score: 4, Informative
    This is by no means an ideal solution, but it has worked for me in the past. Simply import the MP3s from the original CD to your library (temporarily rename the library if you don't want the CD's files getting stuck in your main library). Then burn a MP3 CDRW from iTunes and use that for as long as you need it. Erase and reuse when you're done.

    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.

  3. Re:HP MyCD by questionlp · · Score: 4, Informative

    MyCD is a software package that Veritas produces that OEM's out to CD-R/RW makers and brand as theirs. Pioneer bundles a version of MyDVD (the version I have is called something else but I can recall the name right now) with the DVD-R/RW drive that I bought and that they licensed from Veritas and re-laballed it as Pioneer's, though the Veritas logo is still floating around the app.

  4. invisible file by benh57 · · Score: 3, Informative

    The invisible plist file you see on Mac CDs is not really there. It is a virtual file created by the mac CDDA filesystem. Look at the CDs on a PC, you will see that it does not exist.

    1. Re:invisible file by jweatherley · · Score: 4, Interesting

      *its on an hfs partion*

      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 /Volumes/The\ Rocky\ Horror\ Show\ -\ Original\ London\ Cast/
      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 .TOC.plist
      -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 /Volumes/The\ Rocky\ Horror\ Show\ -\ Original\ London\ Cast/.TOC.plist
      <?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...]

      --

      --
      Reverse outsourcing: it's the future
  5. Networked playlists were possible for a short time by PrimeWaveZ · · Score: 3, Informative

    But Apple revoked license to the API for the author of iCommune, a "device" plug-in that actually allowed for the browsing and playing of MP3s on remote volumes from within iTunes. I, personally, think that it is technically a "device," but Apple apparently did not. There goes that part of your idea. :/