Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] Re: Changing Plugin's Menu Entry
Sascha Volkenandt wrote:
>
> Hello everyone,
>
> is there any way to change the own mainmenuentry inside a plugin? I try
> implementing a streaming-over-network plugin based on socks connections.
> A basic implementation is ready and working, but I'd like to display
> "Stop Streaming" instead of "Streaming" in the mainmenu when it's running ;).
> Simply returning something different from MainMenuEntry() doesn't help, as
> I've experienced, since the string is copied once, I guess.
The string is newly fetched every time the main menu is opened.
So if you return a different string you should get a different main
menu entry. But please note that this only applies if the main menu
is *closed* and *reopened*!
Klaus
--
_______________________________________________________________
Klaus Schmidinger Phone: +49-8635-6989-10
CadSoft Computer GmbH Fax: +49-8635-6989-40
Hofmark 2 Email: kls@cadsoft.de
D-84568 Pleiskirchen, Germany URL: www.cadsoft.de
_______________________________________________________________
--
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe vdr" as subject.
Home |
Main Index |
Thread Index