Do not set vdr lirc socket if frontend is set to "kodi"

This commit is contained in:
Alexander Grothe 2017-07-16 09:27:04 +02:00
parent 476f298b8c
commit 1169ce7949
2 changed files with 4 additions and 0 deletions

View File

@ -296,6 +296,7 @@ extra_packages:
#+END_SRC
** System pre-configuration
#+BEGIN_SRC yaml :tangle group_vars/all :mkdirp yes
frontend: vdr
#system:
# shutdown: poweroff
grub:
@ -959,8 +960,10 @@ install_avahi: true
#+END_SRC
*** templates
#+BEGIN_SRC :tangle roles/yavdr-remote/templates/03-vdr-lircd.conf.j2 :mkdirp yes :padline no
{% if frontend != 'kodi' %}
[vdr]
--lirc=/var/run/lirc/lircd
{% endif %}
#+END_SRC
*** files

View File

@ -52,6 +52,7 @@ extra_packages:
- w-scan
- bpython
- bpython3
frontend: vdr
#system:
# shutdown: poweroff
grub: