BlogMatrix
 

Apple, may your camels each be infested with 10,000 fleas

edit David Janes 2004-12-03 21:08 UTC 1  comment  ·

Jäger's podcasting feature is messed up with iTunes 4.7. Why? Because Apple changed the COM interfaces from 1 indexing to 0 indexing.

"pytunes" now has a lot of code that looks like this:

def __iter_tracks(self):
 for current in xrange(0, len(self.com_playlist.Tracks) + 1):
  try:
   yield Track(self, self.com_playlist.Tracks[current])
  except IndexError:
   continue

There'll be a release tonight that fixes this.

Comment #1Simon Brunning

2004-12-03 21:19:46
Interesting. You and I seem to be accessing track lists in different ways. The approach I've taken seems not to have been affected. My scripts (examples of which can be found at http://www.brunningonline.net/simon/blog/archives/001644.html and http://www.brunningonline.net/simon/blog/archives/001627.html ) work exactly the same under iTunes versions 4.6 and 4.7.

Add Comment