Epg2taste.sh
Материал из RuVDRWiki
Скрипт модуля Epgsearch
#!/bin/sh
#
# epg2taste.sh
#
# source: vdr-plugin epgsearch
#
# add this line to your epgsearchcmds.conf:
# folgende zeile in die epgsearchcmds.conf eintragen:
#
# epg2taste : /path_to_this_script/epg2taste.sh
# CONFIG START
TASTE_FILE="${VDR_CONFIG:?}/plugins/taste.conf"
# default taste settings
REGULAR_EXPRESSION=0 # Regular Expression / Regulaerer Ausdruck
IGNORE_CASE=0 # Ignore Case / Gross/Kleinschreibung ignorieren
# CONFIG END
# add taste
echo "$REGULAR_EXPRESSION:$IGNORE_CASE:$1" >> $TASTE_FILE
