Changeset - 09176d5ea00b
[Not reviewed]
default
0 1 0
drewp@bigasterisk.com - 20 years ago 2005-04-20 05:33:55
drewp@bigasterisk.com
use networking.mpdServer
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
bin/ascoltami
Show inline comments
 
@@ -62,13 +62,13 @@ class XMLRPCServe(xmlrpc.XMLRPC):
 
class Player:
 
    """semprini-style access to mpd. in here is where we add the padding"""
 
    
 
    def __init__(self, app, playlist, media=None):
 

	
 
        self.mpd = Mpd()
 
        reactor.connectTCP('dash',6600,self.mpd)
 
        reactor.connectTCP(*(networking.mpdServer()+(self.mpd,)))
 

	
 
        self.state = tk.StringVar()
 
        self.state.set("stop") # 'stop' 'pause' 'play'
 

	
 
        self.current_time = tk.DoubleVar()
 
        self.total_time = tk.DoubleVar()
0 comments (0 inline, 0 general)