Last active
December 16, 2015 23:59
-
-
Save sreichholf/5517723 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def someFunction(arg1, arg2, arg3="test"): | |
..... | |
event = None | |
def getCurrentServiceEvent(): | |
epgcache = eEPGCache.getInstance() | |
if epgcache is not None: | |
sref = self.session.nav.getCurrentlyPlayingServiceReference() | |
if sref is not None: | |
event = epgcache.lookupEvent(['RIBDT', (sref.toString(), 0, -1, -1)]) | |
return event | |
event = blockingCallFromMainThread(getCurrentServiceEvent) | |
..... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment