Project

General

Profile

Autorec: need help for regex

Added by Thomas Winkler about 5 years ago

I want to add an autorec entry which will record specific episodes from the children's serie "paw patrol". The only way to only record the "specific" episodes is the keyword "Folge" in the "extra text" field which is then followed by a number.

Which regex do I need to match the serie "Paw Patrol" and for example only the episodes starting with 100? ("Folge 100", "Folge 101", etc.)
Which regex do I need to match the serie "Paw Patrol" and for example only the episodes between 60 and 80? ("Folge 60" to "Folge 80")

Version: HTS Tvheadend 4.3-1802~g6be300c43

regards,
wi-tom

tvh.png (100 KB) tvh.png

Replies (1)

RE: Autorec: need help for regex - Added by Thomas Winkler about 5 years ago

I've added the EPG.xml file from tvheadend using the api call /xmltv/channels.

And this is an entry of the EPG which should be found for example:

<programme start="20190823062500 +0200" stop="20190823064500 +0200" channel="7255062322b5fed142c0ad8c286e6e15">
  <title lang="ger">Paw Patrol - Helfer auf vier Pfoten</title>
  <sub-title lang="ger">Folge 109: &quot;Das spezielle Mittagessen / Bärenhunger&quot;</sub-title>
  <desc lang="ger">1. Als Danny X mit seinem Fahrrad über ein Seil fährt, verliert er plötzlich das Gleichgewicht.

2. Bürgermeister Besserwisser will den leckeren Rhababerkuchen von Herrn Pfeffer stehlen.</desc>
  <category lang="en">Movie / Drama</category>
</programme>

Any idea?

EPG.xml (13.7 MB) EPG.xml
    (1-1/1)