Tanja wrote:
> John Molohan schrieb:
>   
>>>   
>>>       
>> I just tried and it works a charm. I added plugin.activate('tv.itv') 
>> then changed this to plugin.activate('tv.itv', level=1) which moves the 
>> entry for Internet TV higher up the menu items. Still I'll stick with 
>> the split over two menus suggestion :) Of course that could probably be 
>> achieved now by duplicating the plugin to both subdirectories but that's 
>> not the answer.
>>
>>     
>
> Duplicating code is definately not the answer!!!!
>   
Definitely not :)
> It makes code maintainance almost impossible.
> And actually this is how this whole discussion started, because we have to 
> plugins with almost the 
> same functionality
>   
Just wanted to post it in case anyone wanted that functionality right now.
>
> For the idea of moving things around in the menus:
> Doing this by copying things around is not good, as it will be broken with 
> the next update.
> Maybe that is another project, to make all this fully configurable by the 
> user:
> 1) check all plugins that are extra menu items if they are moveable,
> that means that they work, no matter where you put them.
> 2) give up the video/audio/image/tv thing for menu plugins, but put all in 
> one directory
> 3) make it possible to configure where they should appear in local_conf.py by
> plugin.activate('whatever', menu='audio', level=?)
> For this the whole code must be tidied up, there are item plugins that are 
> for special items and 
> menu plugins that can appear in every menu. I am not sure if that difference 
> is always clear in the 
> current code.
> Maybe I am crazy now :-)
>
> Tanja
>   
It might be more work but I'd definitely have to vote for option 3. This 
could be expanded to work with the shoppingcart plugin maybe so that 
beginners could cut and paste menu items around? There might need to be 
a config that's off by default for enabling that as users may mess 
things up unintentionally. Just a thought anyway but definitely option 3.

John

P.S. so far it doesn't look like anyone is too crazy ;)

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Freevo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to