Changeset 487 for trunk/StreamVision


Ignore:
Timestamp:
10/24/08 18:27:37 (16 years ago)
Author:
Nicholas Riley
Message:

StreamVision.py: Trap annoying "CommandError -108: Out of memory." messages when retrieving album artwork in iTunes 8.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/StreamVision/StreamVision.py

    r486 r487  
    171171            artwork = iTunes.current_track.artworks()
    172172            if artwork:
    173                 kw['pictImage'] = artwork[0].data()
     173                try:
     174                    kw['pictImage'] = artwork[0].data()
     175                except CommandError:
     176                    pass
    174177        growlNotify(trackName + '  ' +
    175178                    u'★' * (iTunes.current_track.rating() / 20),
Note: See TracChangeset for help on using the changeset viewer.