[svn r484] Added gmyth_util_get_channel_list to the gmyth_util.h; removes static_mutex locking/unlocking from the gmyth_util.
10 elif len(sys.argv) == 2:
15 PORT = int(sys.argv[2])
17 socket = socket.socket(socket.AF_INET,socket.SOCK_STREAM)
21 socket.connect( (HOST,PORT) )
23 print "\n--> Could not connect to ('%s':'%d')\n" % (HOST,PORT)
27 mplayer = os.popen("which mplayer").read().strip()
28 mplayer += " - 1> /dev/null"
29 pin, pout = os.popen2(mplayer)
31 data = socket.recv(1024)
36 data = socket.recv(1024)
45 # from select import select
46 # r, w, x = select([pout], []. [], 0)