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.
>
I'm just home from work to find that some patching has been done (and put on
the tracker).
These are the lines from my local_conf.py
which does contain the comments
[EMAIL PROTECTED]:~$ grep MPD /home/freevo/.freevo/local_conf14.py
#MPD_HOST = '192.168.79.92' # Default = localhost.To use a password with mpd,
set MPD_HOST to [EMAIL PROTECTED]
#MPD_PORT = '6600' # default = 6600
MPD_SERVER_HOST='192.168.79.92' # the host running the mpd server
MPD_SERVER_PORT=6600 # the port the server is listening on
MPD_SERVER_PASSWORD=None # the password to access the mpd server
MPD_MUSIC_BASE_PATH='/mnt/netjuke/' # the local path to where the music is
stored, must have trailing slash
MPD_EXTERNAL_CLIENT='/usr/bin/pympd' # the location of the external client
you want to use, or None
MPD_EXTERNAL_CLIENT_ARGS='' # arguments to be passed to the external
client, or None
--
No excellent soul is exempt from a mixture of madness.
-- Aristotle
-------------------------------------------------------------------------
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