diff options
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/gentoo.rc.vdradmind | 20 | ||||
l--------- | contrib/udpc.pl | 1 | ||||
-rwxr-xr-x | contrib/udpd.pl | 52 | ||||
-rw-r--r-- | contrib/user.css.example | 27 | ||||
-rw-r--r-- | contrib/vdradmind.bl_example | 2 |
5 files changed, 29 insertions, 73 deletions
diff --git a/contrib/gentoo.rc.vdradmind b/contrib/gentoo.rc.vdradmind deleted file mode 100644 index b0f8fb5..0000000 --- a/contrib/gentoo.rc.vdradmind +++ /dev/null @@ -1,20 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /cvsroot/gentoo-deutsch/ebuilds/net-www/vdradmind/files/rc.vdradmind,v 1.2 2003/05/26 20:06:22 mad Exp $ - -depend() { - need vdr -} - -start() { - ebegin "Starting vdradmind" - /usr/bin/vdradmind.pl - eend $? -} - -stop() { - ebegin "Stopping vdradmind" - start-stop-daemon --stop --quiet --pidfile /var/run/vdradmind.pid - eend $? -} diff --git a/contrib/udpc.pl b/contrib/udpc.pl deleted file mode 120000 index 7888567..0000000 --- a/contrib/udpc.pl +++ /dev/null @@ -1 +0,0 @@ -udpd.pl
\ No newline at end of file diff --git a/contrib/udpd.pl b/contrib/udpd.pl deleted file mode 100755 index c4a38f1..0000000 --- a/contrib/udpd.pl +++ /dev/null @@ -1,52 +0,0 @@ -#!/usr/bin/perl - -## -# Simple UDP Server/Client to display messages in VDR -# -# 22.02.2004 by Thomas Koch <tom at linvdr dot org> -## - -use IO::Socket; -use IO::Socket::INET 1.26; -use strict; - -my $myself = join("", $0 =~ /^.*\/(.*)/); - -# Server -if($myself eq "udpd.pl") { - my $pid = fork(); - if($pid != 0) { - exit(0); - } - my($Socket) = IO::Socket::INET->new( - Proto => 'udp', - LocalPort => 4711, - Reuse => 1 - ) || die; - my $message; - while($Socket->recv($message, 1024)) { - my($port, $ipaddr) = sockaddr_in($Socket->peername); - my $hishost = gethostbyaddr($ipaddr, AF_INET); - system("logger udpd: client $hishost with message \\'$message\\'"); - for(my $z = 0; $z < 3; $z++) { - for(my $i = 0; $i < 3; $i++) { - system("svdrpsend.pl mesg $message 2>/dev/null >/dev/null"); - } - sleep(3); - } - } - exit(0); -} - -# Client -if($myself eq "udpc.pl") { - my $message = join(" ", @ARGV); - my $Socket = IO::Socket::INET->new( - PeerAddr => inet_ntoa(INADDR_BROADCAST), - PeerPort => 4711, - Proto => 'udp', - Broadcast => 1 - ) || die; - my $result = $Socket->send($message); -} - diff --git a/contrib/user.css.example b/contrib/user.css.example new file mode 100644 index 0000000..7e212b2 --- /dev/null +++ b/contrib/user.css.example @@ -0,0 +1,27 @@ +/* The user.css is mainly an example to demonstrate the possibilities */ + +/* + Disable items in navigation bar. + For valid ids read navigation.html. +*/ +#rc { + display: none; +} +#tv { + display: none; +} + +/* + Disable action icons. + e.g.: close, switch, record, imdb, info, stream +*/ +/* disable info and stream buttons in lists */ +.list .action.info, +.list .action.stream { + display: none; +} + +/* Disable scrollbars in prog_summary detail view. */ +#prog_summary .epg_summary { + overflow: auto; +} diff --git a/contrib/vdradmind.bl_example b/contrib/vdradmind.bl_example new file mode 100644 index 0000000..3791048 --- /dev/null +++ b/contrib/vdradmind.bl_example @@ -0,0 +1,2 @@ +Dr. Stefan Frank: Der Arzt, dem die Frauen vertrauen +Der Prinz von Bel-Air |