Epgsearch-plugin

Aus VDR Wiki
(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
K (Zurück zur Version vom 17:10, 2. Mai 2006)
Zeile 1: Zeile 1:
 +
{{übersetzen|80}}
  
 +
==Beschreibung==
 +
'''Autor:''' Christian Wieninger
 +
 +
EPG-Search kann als Ersatz für die Standard-Programmanzeige verwendet werden. Es erweitert diese um viele zusätzliche Funktionen (z.B. Wiederholungen suchen), um ein Befehlsmenu für Programmeinträge sowie eine Suchfunktion im EPG. Die Suche kann auch dafür verwendet werden, um automatisch im Hintergrund Timer anzulegen, wenn etwas passendes gefunden wurde. Also ähnlich zu den Autotimern von [[Vdradmin]]. Die Optik läßt sich außerdem durch einen Fortschrittsbalken etwas aufpeppen. Zusätzlich gibt es noch bis zu 4 benutzerdefinierte Zeiten neben {{Button grün|Jetzt}} und {{Button gelb|Nächste}}. Der Aufbau der einzelnen Menüs kann ebenfalls nach den eigenen Wünschen angepaßt werden.
 +
 +
==Bilder==
 +
{|
 +
| [[Bild:epgsearch-plugin-00.jpg|thumb|none|''Übersicht - Jetzt'']]
 +
| [[Bild:epgsearch-plugin-01.png|thumb|none|''Übersicht - Jetzt'']]
 +
|}
 +
 +
<!-- ==Hardwareanforderungen== -->
 +
 +
==Softwareanforderungen==
 +
* [[Vdradmin]] (optional)
 +
* (P)erl-(c)ompatible (r)egular (e)xpression library (optional)
 +
* vdr >= '''1.3.7'''
 +
 +
==Installation==
 +
===Source===
 +
<pre>
 +
cd $SOURCEDIR
 +
tar xvzf pcre-<VERSION>.tar.bz2
 +
cd pcre-<VERSION>
 +
./configure --prefix=/usr/local
 +
make
 +
make install
 +
ldconfig
 +
</pre>
 +
 +
===[[Arch-Linux]]===
 +
pacman -S pcre
 +
 +
===[[Crux]]===
 +
prt-get depinst libpcre
 +
 +
===[[Debian]]===
 +
apt-get install libpcre3-dev
 +
 +
===[[Gentoo]]===
 +
emerge libpcre
 +
 +
===[[SuSE]]===
 +
yast -i pcre-devel
 +
 +
==Optionen==
 +
{| border=1 cellpadding=2 cellspacing=0
 +
|-
 +
| bgcolor=#efefef|HAVE_PCREPOSIX = 1
 +
| comment this out if you want to use Perl compatible regular expressions (PCRE)
 +
|-
 +
| bgcolor=#efefef|WITHOUT_EPGSEARCHONLY = 1
 +
| uncomment one of this line, if you don't want the addon epgsearchonly
 +
|}
 +
 +
<!-- ==Patches== -->
 +
 +
==Konfiguration==
 +
Um im normalen Timermenu nach Wiederholungen zu suchen, ist optional VDR zu patchen, näheres siehe README.
 +
 +
cd [[Struktur|$SOURCEDIR]]/VDR
 +
patch -p1 < PLUGINS/src/epgsearch/patches/timercmds-<VERSION>.diff
 +
 +
Dannach wie gewohnt übersetzen.
 +
 +
Zum Schluß '''createcats''' in den [[Struktur|$PATH]] linken.
 +
 +
ln -s [[Struktur|$SOURCEDIR]]/VDR/PLUGINS/src/epgsearch/createcats /usr/local/bin
 +
 +
Aufruf kann über die '''[[Struktur|$VDRCONFIG]]/plugins/epgsearch/[[epgsearchcmds.conf]]''' erfolgen (siehe letzter Eintrag).
 +
 +
<!-- ==Einstellungen== -->
 +
 +
==Parameter==
 +
{| border=1 cellpadding=2 cellspacing=0
 +
|- bgcolor=#efefef
 +
!Parameter (kurz)
 +
!Parameter (lang)
 +
!Beschreibung
 +
|-
 +
| -f file || --svdrpsendcmd=file || the path to svdrpsend.pl for external [[SVDRP]] communitcation (default is internal communication)
 +
|-
 +
| -c path || --config=path      || to specify a specific config dir for epgsearch
 +
|-
 +
| -l file || --logfile=file      || to specify a specific logfile for epgsearch
 +
|-
 +
| -v n    || --verbose=n        || verbose level for logfile
 +
|}
 +
 +
<!-- ==Bedienung== -->
 +
 +
==[[SVDRP]] Befehle==
 +
{| border=1 cellpadding=5 cellspacing=0
 +
|- bgcolor=#efefef
 +
!Parameter
 +
!Beschreibung
 +
|-
 +
| LSTS [ID]      || to list all searches, or the one with the passed ID (format is the same as epgsearch.conf)
 +
|-
 +
| NEWS <settings> || to add a new search REMARK: the value of element ID is ignored. epgsearch will always assign the next free ID
 +
|-
 +
| DELS <ID>      || to delete the search with ID
 +
|-
 +
| EDIS <settings> || to modify an existing search
 +
|-
 +
| UPDS [OSD]      || to update the search timers. Passing the optional keyword OSD pops up an OSD message after the update has finished.
 +
|-
 +
| UPDD            || to reload the file epgsearchdone.data, e.g. after an external tool has modified it.
 +
|-
 +
| SETS <nowiki><ON|OFF></nowiki>  || to activate or cancel the search timer background thread.
 +
|-
 +
| FIND <settings> || Search the EPG for events and receive a result list.
 +
|}
 +
 +
<!-- ==Probleme== -->
 +
 +
==Tipps==
 +
'''Zur allgmeinen Bedienung:'''
 +
Einige Farbtasten sind doppelt belegt. Einfach mal {{Button neutral|0}} drücken, um auf die andere Belegung zu wechseln.
 +
 +
'''Zum Aufruf:'''
 +
Wer möchte geht über die [[keymacros.conf]], um das Plugin zbs. mit dem {{Button grün|Grün}} Key aufzurufen.
 +
 +
{{Box Datei | [[Struktur|$VDRCONFIG]]/[[keymacros.conf]] |
 +
# Remote control key macros for VDR
 +
#
 +
# Format:
 +
#
 +
# macrokey  key1 key2 key3...
 +
# macrokey  @plugin key1 key2 key3...
 +
#
 +
# See man vdr(5)
 +
 +
Red      @[[pilot-plugin|pilot]]
 +
Green    @epgsearch
 +
^^^^^^^^^^^^^^^^^^^^^
 +
Blue      Timers
 +
Yellow    @[[prefermenu-plugin|prefermenu]]
 +
}}
 +
 +
Alternativ über einen "User Key".
 +
 +
<pre>
 +
User1    @epgsearch
 +
</pre>
 +
 +
Es ist auch möglich das Menu des Plugins um eigene Befehle zu erweitern. Dazu ist die [[epgsearchcmds.conf]] anzupassen.
 +
 +
Falls diese noch nicht existiert, einfach erstellen, PATH wäre '''[[Struktur|$VDRCONFIG]]/plugins/epgsearch/[[epgsearchcmds.conf]]'''.
 +
 +
Alles weitere und Bespielskipte befinden sich in den Sourcen des Plugins.
 +
 +
<!-- ==Wunschliste== -->
 +
<!-- ==Snapshot== -->
 +
 +
==Links==
 +
# [http://www.cwieninger.de.vu Homepage des Plugins]
 +
# [http://www.pcre.org Perl-compatible regular expression library]
 +
 +
[[Kategorie:Plugins]]
 +
{{i18n|epgsearch-plugin}}

Version vom 10. Mai 2006, 06:13 Uhr


Dieser Artikel wurde noch nicht komplett ins Deutsche übersetzt! (Übersetzung zu ~ 80 % durchgeführt.)
Das könntest auch Du machen, einfach per [bearbeiten]. Danach bitte {{übersetzen|<Zahl>}} aus dem Kopf des Artikels entfernen. DANKE :-)


Inhaltsverzeichnis

Beschreibung

Autor: Christian Wieninger

EPG-Search kann als Ersatz für die Standard-Programmanzeige verwendet werden. Es erweitert diese um viele zusätzliche Funktionen (z.B. Wiederholungen suchen), um ein Befehlsmenu für Programmeinträge sowie eine Suchfunktion im EPG. Die Suche kann auch dafür verwendet werden, um automatisch im Hintergrund Timer anzulegen, wenn etwas passendes gefunden wurde. Also ähnlich zu den Autotimern von Vdradmin. Die Optik läßt sich außerdem durch einen Fortschrittsbalken etwas aufpeppen. Zusätzlich gibt es noch bis zu 4 benutzerdefinierte Zeiten neben
Jetzt
und
Nächste
. Der Aufbau der einzelnen Menüs kann ebenfalls nach den eigenen Wünschen angepaßt werden.

Bilder

Übersicht - Jetzt
Übersicht - Jetzt


Softwareanforderungen

  • Vdradmin (optional)
  • (P)erl-(c)ompatible (r)egular (e)xpression library (optional)
  • vdr >= 1.3.7

Installation

Source

cd $SOURCEDIR
tar xvzf pcre-<VERSION>.tar.bz2
cd pcre-<VERSION>
./configure --prefix=/usr/local
make
make install
ldconfig

Arch-Linux

pacman -S pcre

Crux

prt-get depinst libpcre

Debian

apt-get install libpcre3-dev

Gentoo

emerge libpcre

SuSE

yast -i pcre-devel

Optionen

HAVE_PCREPOSIX = 1 comment this out if you want to use Perl compatible regular expressions (PCRE)
WITHOUT_EPGSEARCHONLY = 1 uncomment one of this line, if you don't want the addon epgsearchonly


Konfiguration

Um im normalen Timermenu nach Wiederholungen zu suchen, ist optional VDR zu patchen, näheres siehe README.

cd $SOURCEDIR/VDR
patch -p1 < PLUGINS/src/epgsearch/patches/timercmds-<VERSION>.diff

Dannach wie gewohnt übersetzen.

Zum Schluß createcats in den $PATH linken.

ln -s $SOURCEDIR/VDR/PLUGINS/src/epgsearch/createcats /usr/local/bin

Aufruf kann über die $VDRCONFIG/plugins/epgsearch/epgsearchcmds.conf erfolgen (siehe letzter Eintrag).


Parameter

Parameter (kurz) Parameter (lang) Beschreibung
-f file --svdrpsendcmd=file the path to svdrpsend.pl for external SVDRP communitcation (default is internal communication)
-c path --config=path to specify a specific config dir for epgsearch
-l file --logfile=file to specify a specific logfile for epgsearch
-v n --verbose=n verbose level for logfile


SVDRP Befehle

Parameter Beschreibung
LSTS [ID] to list all searches, or the one with the passed ID (format is the same as epgsearch.conf)
NEWS <settings> to add a new search REMARK: the value of element ID is ignored. epgsearch will always assign the next free ID
DELS <ID> to delete the search with ID
EDIS <settings> to modify an existing search
UPDS [OSD] to update the search timers. Passing the optional keyword OSD pops up an OSD message after the update has finished.
UPDD to reload the file epgsearchdone.data, e.g. after an external tool has modified it.
SETS <ON|OFF> to activate or cancel the search timer background thread.
FIND <settings> Search the EPG for events and receive a result list.


Tipps

Zur allgmeinen Bedienung:

Einige Farbtasten sind doppelt belegt. Einfach mal
0
drücken, um auf die andere Belegung zu wechseln.

Zum Aufruf:

Wer möchte geht über die keymacros.conf, um das Plugin zbs. mit dem
Grün
Key aufzurufen.
# Remote control key macros for VDR
#
# Format:
#
# macrokey  key1 key2 key3...
# macrokey  @plugin key1 key2 key3...
#
# See man vdr(5)

Red       @pilot
Green     @epgsearch
^^^^^^^^^^^^^^^^^^^^^
Blue      Timers
Yellow    @prefermenu


Alternativ über einen "User Key".

User1     @epgsearch

Es ist auch möglich das Menu des Plugins um eigene Befehle zu erweitern. Dazu ist die epgsearchcmds.conf anzupassen.

Falls diese noch nicht existiert, einfach erstellen, PATH wäre $VDRCONFIG/plugins/epgsearch/epgsearchcmds.conf.

Alles weitere und Bespielskipte befinden sich in den Sourcen des Plugins.


Links

  1. Homepage des Plugins
  2. Perl-compatible regular expression library
In anderen Sprachen