Improved systemd packaging for VDR
Marko Mäkelä
marko.makela at iki.fi
Thu Apr 27 19:09:33 BST 2023
Dear maintainers,
I use Debian since 1995, and I use VDR on the Raspberry Pi (on the
Debian derivative Raspberry OS, with self-built VDR and the rpihddevice
plugin that depends on proprietary firmware).
I think that it would be good to improve the Systemd integration of the
VDR packaging. I just asked Klaus Schmidinger, and he replied that he
would rather not include any scripts or configuration files with VDR
itself, but leave that to distributions or some external web page that
he could link to.
I recently created the page
https://www.linuxtv.org/vdrwiki/index.php/Systemd where I posted some
scripts for systemd integration that I have developed.
The "core" part of are scripts and configuration for:
(1) disabling power events system-wide while VDR is running
(2) shutting down the system until the next timed recording (rtcwake)
The optional part are some configuration for detachable storage, which I
think could be included in /usr/share/doc/vdr/examples/ in some form, or
implemented by some initially commented-out key=value entry in a
configuration file that would be read by other scripts:
(3) automatically starting up VDR when a video disk is plugged in
(4) modifying the shutdown script so that a first push of the power
button (in the VDR UI) detaches the storage and re-enables the normal
handling of power events
Please let me know what you think of this idea, and how I could
contribute this to Debian's VDR packaging. I would love to see the VDR
package upgraded to the latest version (currently 2.6.4). Version 2.6.2
was the first one to support the Linux kernel /dev/lirc0 device (no need
for lircd or vdr-plugin-remote, just ir-keytables).
With best regards,
Marko Mäkelä
More information about the pkg-vdr-dvb-devel
mailing list