summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorMatti Lehtimäki <matti.lehtimaki@gmail.com>2012-04-12 19:25:00 +0300
committerMatti Lehtimäki <matti.lehtimaki@gmail.com>2012-04-12 19:25:00 +0300
commitc31263388a5dbdc5150595b328d50fa486b4dce5 (patch)
tree130d8ba9d3f3eb9b29d3070024e4f95ef285ed31 /README
downloadvdr-plugin-epgfixer-c31263388a5dbdc5150595b328d50fa486b4dce5.tar.gz
vdr-plugin-epgfixer-c31263388a5dbdc5150595b328d50fa486b4dce5.tar.bz2
Import version 0.0.4 to git.
Diffstat (limited to 'README')
-rw-r--r--README57
1 files changed, 57 insertions, 0 deletions
diff --git a/README b/README
new file mode 100644
index 0000000..f75fbff
--- /dev/null
+++ b/README
@@ -0,0 +1,57 @@
+This is a "plugin" for the Video Disk Recorder (VDR).
+
+Written by: Matti Lehtimäki <matti.lehtimaki@gmail.com>
+
+Project's homepage: http://projects.vdr-developer.org/projects/plg-epgfixer
+
+This program is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2 of the License, or
+(at your option) any later version.
+See the file COPYING for more information.
+
+Description:
+
+Epgfixer is a VDR plugin for doing extra fixing of EPG data. Everything is
+done using regular expressions. Correctly named back references are placed
+to the named EPG field.
+
+Plugin also has EPG bug fixes included in VDR individually selectable from
+setup menu.
+
+Requirements:
+ - VDR 1.7.26 or later
+ - PCRE
+
+Usage:
+
+All regular expressions are placed to VDRPLUGINCONFDIR/epgfixer/regexp.conf.
+
+Syntax of regexp.conf line is "Channel_list:Parsed_epg_field=Regexp" with:
+- Lines beginning with # are regarded as comments.
+- Lines beginning with ! are regarded as disabled regular expressions.
+- Channel_list is optional comma separated list of channels for which the
+ regular expression is used. If no list of channels is given the regular
+ expression is used for all channels.
+- Parsed_epg_field is the EPG field for which the regular expression is applied
+ with available field names title, shorttext and description.
+- Regular expressions use named backreferences with either title, shorttext,
+ description or rating (parental rating).
+- By prepending "a" or "p" to backreference name (except rating field) the
+ back referenced string is either appended or prepended to the original
+ content of the target EPG field, respectively.
+- Several regular expressions may be applied to same field.
+
+Examples of regexp.conf:
+
+# Example of disabled regexp:
+!title=^(?:Movie: |Document: )(?<title>.*)$
+
+# Remove "Movie: " or "Document: " from the beginning of title field for
+# channels 1, 3 and 5:
+1,3,5:title=^(?:Movie: |Document: )(?<title>.*)$
+
+# Move parental rating from end of title to correct EPG field:
+title=^(?<title>.*)[ ][(](?<rating>[0-9S]{1,2})[)][ ]*$
+
+