This was necessary since the old track-dicts where very confusing and caused a lot of errors. You can import the new track-object from clGstreamer010: from clGstreamer010 import Track
From now on only track objects can be added to the playlist.
Here a list of fields every track object has to have:
There is a new attribute: Track.position_in_playlist is None by default and will be set to an int when the track is actually being played. In pyjama > 0.3 this attribute will be set when the track is being added to a playlist.
The functions clDB.DB.get_multiple_trackinfos() and clDB.DB.get_trackinfos2() now also return Track objects. The new Track object behaves like a dict to calls like Track['name'] but prints out a deprecation warning. You should replace such calls.
1.5.8