On 30/04/2008 09:20, Dan said the following:
> Colin Pitrat wrote:
> 
>>> Unfortunately, even if it is a feature a lot of people would like,
>>> this is not easily doable with standard music plugin for freevo.
>>> However, you can look at mpd plugin, that basically allows to do what
>>> you want.
>>>
>>   
> Thanks a lot! Progress in case anyone's interested:
> 
> With  1.7.4 the wiki page says to use
> 
> plugin.activate('mpd.py')
> 
> but freevo plugins -i mpd gives:
> 
> To activate, put the following lines in local_conf.py:
> | plugin.activate('mpd', level=45)
> 
> I ignored both these, and put in
> 
> plugin.activate('mpd')
> 
> and got:
> init MpdBaseScreen
> failed to load plugin mpd
> start 'freevo plugins -l' to get a list of plugins
> Traceback (most recent call last):
>   File "/usr/lib/python2.4/site-packages/freevo/plugin.py", line 555, in
> __load_plugin__
>     exec('import %s' % module)
>   File "<string>", line 1, in ?
>   File "/usr/lib/python2.4/site-packages/freevo/plugins/mpd.py", line
> 268, in ?
>     skin.register ( 'mpd', ('screen', 'subtitle', 'title', 'plugin',
> MpdBaseScreen()) )
>   File "/usr/lib/python2.4/site-packages/freevo/plugins/mpd.py", line
> 205, in __init__
>     self.xmult = float(osd.width  - config.OSD_OVERSCAN_LEFT -
> OSD_OVERSCAN_RIGHT) / 800
> NameError: global name 'OSD_OVERSCAN_RIGHT' is not defined
> 
> I get the same thing with the level=45 or with mpd.py.
> 
> Using 1.7.2 the syntax must be 'mpd' (no .py) and i get MPD listed in
> the menu! Excellent!
> 
> However if I choose it I get:
> 
> init MpdBaseScreen
> Plugin Interface items
> MpdMainMenu init
> mpdmainmenu acttions
> create locatsion
> init mpd item
> starting detailed interface !
> None, top=0 left=0
> MPD: <class plugins.mpd.MpdItem at 0xb4a6914c>
> MPD
> update Info
> sh: mpc: command not found
> Traceback (most recent call last):
>   File "/usr/lib/python2.4/site-packages/freevo/main.py", line 290
> {...snip...}
> 
> 
> OK so I install mpc....then I can enter the MPD menu.  I get:
> 
> Song - volume: 90%   repeat: on    random: on
> Artist - volume: 90%   repeat: on    random: on
> Album - volume: 90%   repeat: on    random: on
> Status - volume: 90%   repeat: on    random: on
> 
> ...?   I don't think this is right....  Can someone indicate which 'mpc'
> command I'm supposed to have installed, or how to fix the OVERSCAN
> errors in version 1.7.4


The overscan variables should be defaulted to 0 and are defined in 
/usr/share/freevo/freevo_config.py

If they are not there then you can define them in local_conf.py, by 
adding a line, eg:
OSD_OVERSCAN_LEFT = OSD_OVERSCAN_RIGHT = 0

If they are there then there is something wrong with your install.

Duncan

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Freevo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to