Files @ 08814a44ae4e
Branch filter:

Location: light9/bin/mpd_timing_test

drewp@bigasterisk.com
emergency fix to playlist, which was getting other non-song junk because of some bnode corruption problem
Ignore-this: c3608bd16c6d5a539e6c96bf737a24ef
#!/usr/bin/python

"""
records times coming out of ascoltami

for example:

 % mpd_timing_test > timing
 # play some music in ascoltami, then ctrl-c
 % gnuplot
 > plot "timing" with lines

"""

import xmlrpclib, time

s = xmlrpclib.ServerProxy("http://localhost:8040")
start = time.time()
while 1:
    print time.time()-start,s.gettime()
    time.sleep(.01)