Changeset 637 for trunk


Ignore:
Timestamp:
02/02/11 21:23:03 (14 years ago)
Author:
Nicholas Riley
Message:

StreamVision.py: iTunes 10.1.2 uses "AirPlay" rather than "remote speakers" in button description.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/StreamVision/StreamVision.py

    r636 r637  
    101101    iTunesWindow = systemEvents.application_processes[u'iTunes'].windows[u'iTunes']
    102102    try:
    103         remote_speakers = iTunesWindow.buttons[its.attributes['AXDescription'].value.endswith(u'remote speakers')].title()
     103        remote_speakers = iTunesWindow.buttons[its.attributes['AXDescription'].value.endswith(u'AirPlay')].title()
    104104    except CommandError:
    105105        # with iTunes Store visible, the query fails with errAENoSuchObject
Note: See TracChangeset for help on using the changeset viewer.