HDTV and Kodi in your living room - based on Nvidia VDPAU, VDR and Ubuntu Linux

New features in upcoming yaVDR 0.3: Commands in yaVDR - switched to menuorg

Avatar of hotzenplotz5hotzenplotz5 - 17. October 2010 - yaVDR, VDR Core

As we are using menuorg as default and changes to menuorg do not require a vdr restart, plus we needed to rework that section anyway, we felt that the use of menuorg to define the Commands menu would be preferable. If you used drive your own commands there, you need to change them to a menuorg custom template.

"How to do that?" - you might ask.

 

Its pretty simple:
Create the directory: /etc/yavdr/templates_custom/var/lib/vdr/plugins/menuorg.xml/
Then drop a file in there with a name starting with: 86_XX_yourname, where
- XX is the location in the menu,
- yourname is up to you.

<command name="Text to be displayed" confirm="yes" execute="your command" />

You can check /usr/share/yavdr/templates/var/lib/vdr/plugins/menuorg.xml/86_10_yavdr for more examples.

If you are done, call 'process-template /var/lib/vdr/plugins/menuorg.xml'

If all went fine you should be able to see your new command after reopening the menu and navigating to your new menu entry.

Comments are disabled for this post.

0 comments


Copyright © 2010 yaVDR. This page was last updated on 2017-07-02.