are you using mpdclient2.py from somewhere else? as i added a thread safe wrapper around the basic client code. without that i would have constant trouble with the connection timing out.
On Thu, 10 Jan 2008, don locke wrote: > When i wrote the initial mpd.py plugin, it was just used to start, > play, rew and fwd. I would setup my playlist with phpMpd2. > Normally I just had all of my music queued in mpd and had it on > random. > > I started to convert to pympdclient but got hung up trying to use the > audio skin to display the mpd status. . Also this was the one of my > first python scripts so it needs fixing up. > > I've try to checkout the new mpd client but i'm get > config.MPD_SERVER_HOST and config.MPD_SERVER_PORT. > I've set these two variables in my local_conf.py by still no luck. > > Traceback (most recent call last): > File "/usr/lib/python2.5/site-packages/freevo/plugin.py", line 560, > in __load_plugin__ > p = eval(object)() > File "/usr/lib/python2.5/site-packages/freevo/plugins/mpd_playlist.py", > line 47, in __init__ > self.conn = > mpdclient2.Thread_MPD_Connection(config.MPD_SERVER_HOST, > config.MPD_SERVER_PORT, True, > AttributeError: 'module' object has no attribute 'Thread_MPD_Connection' > failed to load plugin mpd_status > start 'freevo plugins -l' to get a list of plugins > Traceback (most recent call last): > File "/usr/lib/python2.5/site-packages/freevo/plugin.py", line 560, > in __load_plugin__ > p = eval(object)() > File "/usr/lib/python2.5/site-packages/freevo/plugins/mpd_status.py", > line 56, in __init__ > self.conn = > mpdclient2.Thread_MPD_Connection(config.MPD_SERVER_HOST, > config.MPD_SERVER_PORT, True, > AttributeError: 'module' object has no attribute 'Thread_MPD_Connection' > > > > Don. > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplac >e _______________________________________________ > Freevo-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/freevo-users -- He is the best of men who dislikes power. -- Mohammed ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Freevo-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freevo-users
