Add template for menuorg.xml (to test translation filter)
This commit is contained in:
parent
964d41a41a
commit
128e1683c1
@ -1355,7 +1355,7 @@ install_avahi: true
|
|||||||
dest: /var/lib/vdr/plugins/menuorg.xml
|
dest: /var/lib/vdr/plugins/menuorg.xml
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
*** templates
|
*** templates
|
||||||
#+BEGIN_SRC jinja2
|
#+BEGIN_SRC jinja2 :tangle roles/vdr-plugin-menuorg/templates/menuorg.xml.j2
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
{{ ansible_managed | comment('xml') }}
|
{{ ansible_managed | comment('xml') }}
|
||||||
<!--
|
<!--
|
||||||
|
51
roles/vdr-plugin-menuorg/templates/menuorg.xml.j2
Normal file
51
roles/vdr-plugin-menuorg/templates/menuorg.xml.j2
Normal file
@ -0,0 +1,51 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
{{ ansible_managed | comment('xml') }}
|
||||||
|
<!--
|
||||||
|
This is the config file for the Menuorg plug-in.
|
||||||
|
See /usr/share/doc/vdr-plugin-menurg for examples and a full
|
||||||
|
description of the config file format.
|
||||||
|
-->
|
||||||
|
<menus>
|
||||||
|
<system name="Schedule" />
|
||||||
|
<system name="Channels" />
|
||||||
|
<system name="Timers" />
|
||||||
|
<system name="Recordings" />
|
||||||
|
<plugin name="tvguide" />
|
||||||
|
<plugin name="desktop" />
|
||||||
|
<command name="Kodi" execute="frontend-dbus-send switchto kodi" />
|
||||||
|
<menu name="{{ 'VDR Plugins' | translate }}">
|
||||||
|
<plugin name="epgsearchonly" />
|
||||||
|
<plugin name="quickepgsearch" />
|
||||||
|
<plugin name="conflictcheckonly" />
|
||||||
|
<plugin name="markad" />
|
||||||
|
<plugin name="recsearch" />
|
||||||
|
<plugin name="undelete" />
|
||||||
|
<plugin name="radio" />
|
||||||
|
<plugin name="osd2web" />
|
||||||
|
</menu>
|
||||||
|
<menu name="{{ 'System' | translate }}">
|
||||||
|
<menu name="Befehle">
|
||||||
|
<command name="{{ "Safely remove usb mass storage" | translate }}" confirm="yes" execute="/usr/bin/vdr-mounter --unmount-all &> /dev/null" />
|
||||||
|
<command name="{{ "Update vdr recordings list" | translate }}" execute="/usr/bin/vdr-dbus-send /Recordings recording.Update &> /dev/null " />
|
||||||
|
<command name="{{ "Restart VDR" |translate }}" confirm="yes" execute="sudo /sbin/initctl restart vdr" />
|
||||||
|
<command name="{{ "Reboot system"| translate }}" confirm="yes" execute="/usr/bin/at now -M -f /usr/bin/vdr-reboot" />
|
||||||
|
<command name="{{ "Shutdown system" | translate }}" execute="/usr/bin/lircd2uinput-send KEY_POWER2 &> /dev/null & " />
|
||||||
|
</menu>
|
||||||
|
<system name="Setup" />
|
||||||
|
<plugin name="femon" />
|
||||||
|
<plugin name="devstatus" />
|
||||||
|
<plugin name="epg2vdr" />
|
||||||
|
<plugin name="scraper2vdr" />
|
||||||
|
<plugin name="sndctl" />
|
||||||
|
<plugin name="suspendoutput" />
|
||||||
|
<plugin name="recstatus" />
|
||||||
|
<plugin name="dynamite" />
|
||||||
|
<plugin name="noepgmenu" />
|
||||||
|
<plugin name="systeminfo" />
|
||||||
|
<plugin name="filebrowser" />
|
||||||
|
<plugin name="pin" />
|
||||||
|
<plugin name="pulsecontrol" />
|
||||||
|
<plugin name="softhddevice" />
|
||||||
|
</menu>
|
||||||
|
<system name="Commands" />
|
||||||
|
</menus>
|
Loading…
Reference in New Issue
Block a user