summaryrefslogtreecommitdiff
path: root/epgfixer
diff options
context:
space:
mode:
Diffstat (limited to 'epgfixer')
-rw-r--r--epgfixer/regexp.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/epgfixer/regexp.conf b/epgfixer/regexp.conf
new file mode 100644
index 0000000..7495aaa
--- /dev/null
+++ b/epgfixer/regexp.conf
@@ -0,0 +1,4 @@
+# Remove "Movie: " or "Document: " from the beginning of title field:
+title=^(?:Movie: |Document: )(?<title>.*)$
+# Move parental rating from end of title to correct EPG field:
+title=^(?<title>.*)[ ][(](?<rating>[0-9S]{1,2})[)][ ]*$