Author: dmeyer
Date: Sun Feb 25 14:07:26 2007
New Revision: 9276

Modified:
   trunk/apps/bin/freevo-epg

Log:
add block=True to kaa.epg.search

Modified: trunk/apps/bin/freevo-epg
==============================================================================
--- trunk/apps/bin/freevo-epg   (original)
+++ trunk/apps/bin/freevo-epg   Sun Feb 25 14:07:26 2007
@@ -81,12 +81,12 @@
     if len(sys.argv) > 2:
         keywords = " ".join(sys.argv[2:])
         print "Results for '%s':" % keywords
-        programs = guide.search(keywords = keywords)
+        programs = guide.search(keywords = keywords, block=True)
         # Sort by start time
         programs.sort(lambda a, b: cmp(a.start, b.start))
     else:
         print "All programs currently playing:"
-        programs = guide.search(time = (time.time(), time.time()+7200))
+        programs = guide.search(time = (time.time(), time.time()+7200), 
block=True)
         # Sort by channel
         programs.sort(lambda a, b: cmp(a.channel.tuner_id, b.channel.tuner_id))
     t1 = time.time()

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to