Commit Graph

340 Commits

Author SHA1 Message Date
Alexander Grothe
8f22f9bf80 Preconfigure allowed_hosts.conf style files for plugins
set the variable vdr_allowed_hosts (must be a list of IPs/IP ranges) to preconfigure all host-
or ip-range based access options.

At the moment this applies to:
 - svdrphosts.conf
 - xineliboutput's allowed_hosts.conf (and the plugin's ARGSDIR configuration file)
 - vnsiserver's allowed_hosts.conf
 - streamdev-server's streamdevhosts.conf

It is possible to override host settings for individual services by
setting up extra lists for the following variables:
 - vdr_svdrphosts
 - xineliboutput_allowed_hosts
 - vnsiserver_allowed_hosts
 - streamdev_server_allowed_hosts
2019-03-26 14:07:17 +01:00
Alexander Grothe
d306eb118e Update Manual.html 2019-03-26 10:34:31 +01:00
Alexander Grothe
251a9b978d Improve guest addon installation for VirtualBox Guests 2019-03-26 09:17:59 +01:00
Alexander Grothe
c88f919380 remove double listed package 2019-03-25 21:13:23 +01:00
Alexander Grothe
1542c64c5a Add template for /etc/default/vdr 2019-03-25 19:39:49 +01:00
Alexander Grothe
f9a61eece0 Fix path for svdrphosts.conf template expansion 2019-03-24 12:31:04 +01:00
Alexander Grothe
62473292fc Add template for svdrphosts.conf
you can define additional hosts or subnets (default is to allow access
from localhost) in svdrphosts.conf by
creating a list variable vdr_svdrphosts - e.g. in host_vars/localhost
or in group_vars/all:

vdr_svdrphosts:
   - 192.168.0.0/24

also cleanup some of the structure in Manual.org and update Manual.html
2019-03-24 12:11:52 +01:00
Alexander Grothe
8dbbfcc0c7 Add task to download channels.conf for vdr'
You can set vdr_channels_conf_url to a http(s) or ftp URL - this file
will be copied to /var/lib/vdr/channels.conf if vdr_channels_conf is
not defined and the channels.conf does not exist yet.

Also fixes a typo in task names
2019-03-18 17:12:18 +01:00
Alexander Grothe
811686490f Add task to copy a channels.conf if it doesn't exist yet
to use this task assing a path pointing to the wanted channels.conf to
the vdr_channels_conf variable, e.g. in host_vars/localhost.yml:

vdr_channels_conf: /path/to/own_config/channels.conf
2019-03-18 16:13:03 +01:00
Alexander Grothe
be33234084 Add some explanations to epgd role 2019-03-12 09:36:42 +01:00
Alexander Grothe
01d95ae89b Set encoding for epgd database to utf8 2019-03-11 18:50:22 +01:00
Alexander Grothe
c706146eac Update Manual.org and Manual.html 2019-03-10 20:41:01 +01:00
Alexander Grothe
71e772cdca Add role for epgd
This is an initial draft. Many thanks to
minixjr (https://www.vdr-portal.de/forum/index.php?thread/131575-yavdr-ansible/&postID=1313526#post1313526).

TODOs:
 - seperate role(s) for vdr-plugin-epg2vdr and scraper2vdr
 - configure epg2vdr and scraper2vdr
 - allow to use a seperate MySQL/MariaDB server instead of a local one
2019-03-10 20:40:01 +01:00
Alexander Grothe
fa25896096 Run dpkg-reconfigure for libdvd-pkg package using a library module 2019-03-09 17:44:35 +01:00
Alexander Grothe
76ace23b5e Improve Compatibility with Python3
replace .iteritems() with .items | list in jinja2 Templates
2019-02-24 18:42:46 +01:00
Alexander Grothe
b816a03d69 Fix syntax error in state value 2019-02-22 15:45:00 +01:00
Alexander Grothe
71c2079f53 Fix video output driver for softhddevice when an intel igp is used.
it's va-api instead of va-pi - thanks to beinhart (vdr-portal.de) for noticing.
2019-02-22 13:36:09 +01:00
Alexander Grothe
08ed05594e Allow Dual Screen Configurations for intel IGPs
improve xrandr_facts.py to match drm and xrandr outputs

TODO: use drm.edid_firmware kernel boot parameter to load EDID files
  on startup
2019-02-22 00:12:02 +01:00
Alexander Grothe
c0dc185952 Adapt set-kodi-display to KODI 18 final 2019-02-04 22:18:48 +01:00
Alexander Grothe
65e2ac1e5f Disable screen blanking by default via xorg configuration snippet
Further changes:
- add ppa:yavdr/experimental-kodi for KODI 18
- add set-kodi-display script to allow switching DISPLAY in dual
screen configuration (inkompatible with KODI 17)
2019-02-04 17:57:34 +01:00
Alexander Grothe
c2962eed4c Add vdrpbd and vdr-addon-lifeguard-ng as default packages
and update rules for dvb ff devices
2019-01-19 12:23:39 +01:00
Alexander Grothe
579f3e0cd3 Remove intel snippet before running xorg-verbose 2019-01-07 22:04:41 +01:00
Alexander Grothe
9180f8d74e Fix quoting and indentation in 20-intel.conf.j2 2019-01-07 21:56:48 +01:00
Alexander Grothe
d4cbb054bd add drm to variables from facts if undefined 2019-01-07 21:44:04 +01:00
Alexander Grothe
8b885221ae Add xorg.conf.d snippet for intel graphics
TODO: load edid early within initramfs
2019-01-07 21:38:30 +01:00
Alexander Grothe
58859dd8d7 Add support for drm subsystem to xrandr_facts.py 2019-01-07 10:33:27 +01:00
Alexander Grothe
387daa0134 Reorganize menuorg template 2019-01-07 09:25:47 +01:00
Alexander Grothe
6f91f95d49 Add proper ansible_managed comment to file 2019-01-07 09:25:08 +01:00
Alexander Grothe
128e1683c1 Add template for menuorg.xml (to test translation filter) 2019-01-05 11:43:59 +01:00
Alexander Grothe
f5d5d78a57 Add role for vdr-plugin-menuorg 2019-01-05 11:42:07 +01:00
Alexander Grothe
711afd35d0 Add some hotkeys for yavdr-frontend actions to rc.xml.j2 template 2019-01-04 14:19:00 +01:00
Alexander Grothe
2559779de3 Several small fixes in various files
- xrandr_facts.py: allow detecting Virtual[1..n] devices in VirtualBox 6.0
2019-01-04 14:17:13 +01:00
Alexander Grothe
89c7254d43 Further cleanup or rc_maps.cfg.j2 2019-01-02 21:27:55 +01:00
Alexander Grothe
6522156b07 Reorganize rc_map.cfg.j2 template
ir-keytable uses the first match for a driver keytable combination (thanks to gotscha
https://www.vdr-portal.de/forum/index.php?thread/131575-yavdr-ansible/&postID=1310666#post1310666
for pointing this out).
2019-01-02 21:17:21 +01:00
Alexander Grothe
1622bbd6e6 Run ir-keytable only if installed 2019-01-02 17:22:33 +01:00
Alexander Grothe
7dd080e9e7 Add hook to reload rc-core keytables on resume 2019-01-02 17:16:11 +01:00
Alexander Grothe
f253d7c864 Add comments to templates for serial-ir 2019-01-02 12:08:37 +01:00
Alexander Grothe
81aeade96c Fix paths for templates 2019-01-02 10:22:52 +01:00
Alexander Grothe
b45785bb6d Fix typos in playbook files 2019-01-02 10:13:18 +01:00
Alexander Grothe
f1709c8494 rename variable serial_device to serial_ir_device
and add an entry for the serial-ir role to the playbook (commented out
by default, so the user has to enable it if required)
2019-01-02 09:26:56 +01:00
Alexander Grothe
326c7d3119 Add role for serial ir receivers
TODO: test role for serial_device=ttyS0 and serial_device=ttyS1
2019-01-01 23:48:31 +01:00
Alexander Grothe
142487622e Use yavdr-media package for background images 2018-12-11 14:01:04 +01:00
Alexander Grothe
f2b75bb5f7 Update comment block 2018-10-27 15:04:34 +02:00
Alexander Grothe
ab2cf081b4 Fix typo 2018-10-27 14:58:22 +02:00
Alexander Grothe
82ecb114b1 Add task and templates for rudimentary standby support 2018-10-27 14:46:53 +02:00
Alexander Grothe
01e91cc529 re-add tags to kodi role import_tasks elements 2018-10-05 18:53:07 +02:00
Alexander Grothe
9ac3f32c32 Simplify installation of KODI packages 2018-10-05 18:01:28 +02:00
Alexander Grothe
fb9ea5a363 Simplify libdvd-pkg installation 2018-10-05 17:59:22 +02:00
Alexander Grothe
6f2b486608 Remove unused with_items entry 2018-10-05 17:53:07 +02:00
Alexander Grothe
96b029fd24 Update usage of apt module, move away from deprecated loop approach 2018-10-05 17:49:39 +02:00