Results 1 to 3 of 3

Thread: custom creation of a recurring error

  1. #1
    Join Date
    Jul 2016
    Location
    USA
    Posts
    211

    custom creation of a recurring error

    Can someone with more experience confirm to me that this was my error.

    I have many PBS stations from 3 regions (I luckily live in an area and place where I get channels from 3 TV regions).

    Some play shows others don't for some reason. I wanted to catch the new Father Brown when it starts.

    I wanted to create an 'all channel' only, new Father Brown recording as there is no 'all channels, new episode' option.

    My first attempt failed, and still was recording at least 1 episode on all Father Browns.

    My second attempt doesn't mark anything, so I'm sure if it will work when the new Father Brown in the US.

    Will my second attempt record the new Father Brown on any channel when it hits the guide?

    THX.

    First Attempt:
    (I think the placement of </Rules> was wrong.
    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <recurrings>
      <recurring>
       <oid>344</oid>
       <name>Father Brown</name>
       <matchrules>
         <Rules>
            <ChannelOID>0</ChannelOID>
            <ChannelName>All Channels</ChannelName>
            <StartTime>2017-12-22T03:00:00.0000000Z</StartTime>
            <EndTime>2017-12-22T04:00:00.0000000Z</EndTime>
            <PrePadding>1</PrePadding>
            <PostPadding>1</PostPadding>
            <Quality>0</Quality>
            <Keep>0</Keep>
            <RecordingDirectoryID>[PBS]</RecordingDirectoryID>
            <AdvancedRules>title like 'Father Brown'</AdvancedRules>
            <OnlyNewEpisodes>true</OnlyNewEpisodes></Rules>
           </Rules>
         </matchrules>
       </recurring>
    </recurrings
    2nd Attempt

    I moved the placement of </Rules>.

    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <recurrings>
      <recurring>
        <oid>344</oid>
        <name>Father Brown</name>
        <matchrules>
    <Rules>
      <ChannelOID>0</ChannelOID>
      <ChannelName>All Channels</ChannelName>
      <StartTime>2017-12-22T03:00:00.0000000Z</StartTime>
      <EndTime>2017-12-22T04:00:00.0000000Z</EndTime>
      <PrePadding>1</PrePadding>
      <PostPadding>1</PostPadding>
      <Quality>0</Quality>
      <Keep>0</Keep>
      <RecordingDirectoryID>[PBS]</RecordingDirectoryID>
      </Rules>
      <AdvancedRules>title like &apos;Father Brown&apos;</AdvancedRules>
    <OnlyNewEpisodes>true</OnlyNewEpisodes>
    
    
        </matchrules>
      </recurring>
    
      </recurrings>
    ~Paul

    Setup: NextPVR, Serviio, WinTV-quadHD and WinTV-HVR-955Q. Custom Roku channel developer. Feeding Tube Advocate. About me or http://chambers.pw.

    If you haven't broken it at least once, you're not doing it right.

  2. #2
    Join Date
    Nov 2003
    Location
    NextPVR HQ, Wellington, New Zealand
    Posts
    87,018
    in the first one, you had an extra "</rules>" on the end of the <OnlyNewEpisodes> lines.

    <OnlyNewEpisodes>true</OnlyNewEpisodes></Rules>
    </Rules>

  3. #3
    Join Date
    May 2006
    Location
    Canada
    Posts
    26,315
    Not quite an answer but if you use the Searchlite plugin you can change the mode to Advanced enter your search hit save recall the saved search and there is an option to create an Advanced New rule using the API without editing the database. I feel it is better to test advanced rules to avoid unexpected recordins..

    Using a keyboard for searching is strongly recommended to help get SQL syntax correct

    Martin
    Last edited by mvallevand; 2017-12-19 at 03:49 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •