gmyth-stream/lib.py
author rosfran
Fri Mar 30 23:09:39 2007 +0100 (2007-03-30)
branchtrunk
changeset 472 e5618b012121
child 474 07c12d2ceddf
permissions -rw-r--r--
[svn r477] Added functions to get the channel's list from the MythTV, using the normal backend server messages.
     1 import time
     2 
     3 def now():
     4     return time.strftime("%Y-%m-%d %H:%M:%S");
     5 
     6 def log(msg):
     7     print "[%s] %s" % (now(), msg)