Playlist load and save

hi there,

not sure if the problem’s related to playlist save or load, but loading a playlist results in the following Error:
“Invalid PlaylistItem Class: Playlist”

When removing the element manually from the file, it loads without a problem.

So the question is if the save function should add this xml-element or if the load-function should have it declared in it’s class…

regards:
-Serge-

Can you please mail a copy of that file which failed to load to info@mAirList.com? Thanks.

Thanks. No I know what the problem is. I will fix this as soon as possible.

Torben,

I checked the filestructure of the .mlp file and I’m a bit puzzled now.
I expected the to be in milliseconds. Apparently it is in milliseconds*2 … Why’s that?

The reason I’m asking is because I want to integrate a mAirList playlist creation into our database.
Every DJ has a more or less recent copy of this DB available. So he would be able to create playlists for his shows offline without having access to mAirList and the filestructure on the production machine.

For me it’s not a problem to save the fileduration*2 to the xml, but I’m just curious.

regards:
-Serge-

It’s in “1/10,000,000 of a second” units. Something I borrowed from DirectX a long time ago. Actually pretty unhandy, but I decided to keep it for the sake of backward compatibility.

Yep, that’s it !

Don’t know how I got to the factor 2. Must have looked into the wrong line… ???

regards:
-Serge-