iTunes library

In a PC, iTunes library comes in .itl and .xml formats

The filename entries inside the xml file are in the form:

"file://localhost/C:/music%20folder/filename.mp3/"

I would like to know if that differs in other PCs or Macs, especially if the "file:/localhost/" part is different or omitted.

Thanks a lot in advance

Ken

#286295

The format you quoted is the same for Windows systems. In fact, if you just type that address in the "run" box you'll see that it's a valid path.

So, yes, the "file://localhost/" portion of the address will be the same in all Windows machines; the rest of the address tells iTunes the specific location of the library.

Someone with a Mac OS will need to answer the second half of your question.

#286304

Well, its sort of the same on a Mac...

file://localhost/Users/{User}/Music/iTunes/iTunes%20Music/{Artist}/{Album}/{File Name}.mp3

#286312

Hint:

under windows, there is an awful lot of useful functions located in shlwapi.dll:

UrlUnescapeInPlace

PathIsURL

UrlCreateFromPath

UrlIsFileUrl

to name a few.

#286426

Thanks for the info guys, I needed this for a Flash project and was hoping that it will be compatible with Macs or even with other machines except mine :)

#286464

Ken! Is that the famous "Dashboard Wallpaper" Project?

#287273

I'm sorry to tell you it's not. After so many Dashboard clones and Konfabulator for Windows, I'm not sure if it's worth continuing the Wallpaper project.

#287972