Changeset 497 for trunk


Ignore:
Timestamp:
03/22/09 01:04:39 (16 years ago)
Author:
Nicholas Riley
Message:

StreamVision.py: When playing nothing, iTunes 8.1 has no reference to the current track - actually an improvement.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/StreamVision/StreamVision.py

    r487 r497  
    132132        iTunes = iTunesApp()
    133133
    134         trackClass = iTunes.current_track.class_()
     134        try:
     135            trackClass = iTunes.current_track.class_()
     136        except CommandError:
     137            trackClass = k.property
     138
    135139        trackName = ''
    136140        if trackClass != k.property:
Note: See TracChangeset for help on using the changeset viewer.