Changeset 339 for trunk/StreamVision
- Timestamp:
- 08/19/07 04:21:41 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/StreamVision/StreamVision.py
r324 r339 50 50 return '' 51 51 title = title.split(' [')[0] # XXX move to description 52 # XXX fails with Arvo Pärt 52 53 title = title.encode('iso-8859-1').decode('utf-8') # XXX iTunes 7.1 or RP? 53 54 title = title.replace('`', u'’') … … 212 213 self.registerZoomWindowHotKey() 213 214 return 215 frontPID = systemEvents.processes[its.frontmost][1].unix_id() 214 216 try: 215 zoomed = app( frontName).windows[1].zoomed217 zoomed = app(pid=frontPID).windows[1].zoomed 216 218 zoomed.set(not zoomed()) 217 219 except (CommandError, RuntimeError): … … 256 258 if __name__ == "__main__": 257 259 AppHelper.runEventLoop() 258 HIDRemote.disconnect() # XXX do we get here? 260 try: 261 HIDRemote.disconnect() 262 except: 263 pass
Note:
See TracChangeset
for help on using the changeset viewer.