NextPVR Forums
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 2 3 4 5 … 93 Next »
custom creation of a recurring error

 
  • 0 Vote(s) - 0 Average
custom creation of a recurring error
p37307
Offline

Member

Posts: 249
Threads: 45
Joined: Jul 2016
#1
2017-12-18, 09:58 PM
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>
   [SIZE=4]  [B]  </Rules>[/B][/SIZE]
     </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>
  [SIZE=4][B]</Rules>[/B][/SIZE]
  <AdvancedRules>title like &apos;Father Brown&apos;</AdvancedRules>
<OnlyNewEpisodes>true</OnlyNewEpisodes>


    </matchrules>
  </recurring>

  </recurrings>
~Paul

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

Administrator

NextPVR HQ, New Zealand
Posts: 102,401
Threads: 741
Joined: Nov 2003
#2
2017-12-18, 11:52 PM
in the first one, you had an extra "</rules>" on the end of the <OnlyNewEpisodes> lines.

Quote:<OnlyNewEpisodes>true</OnlyNewEpisodes></Rules>
</Rules>
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 45,348
Threads: 867
Joined: May 2006
#3
2017-12-19, 03:45 AM (This post was last modified: 2017-12-19, 03:49 AM by mvallevand.)
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
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  API request returns xml on error scJohn 4 1,206 2020-08-25, 05:41 PM
Last Post: sub
  Seeking explanation for recurring schedule fields timeslotStart and timeeslotEnd scJohn 4 1,351 2020-07-14, 10:13 PM
Last Post: scJohn
  Recurring Recording URL Parameters jcole998 2 2,245 2019-09-19, 01:08 PM
Last Post: jcole998
  Web command to create recurring any channel mvallevand 2 1,914 2019-02-04, 03:09 PM
Last Post: mvallevand
  How to best verify success when adding a recurring recording drmargarit 1 2,226 2017-03-02, 03:13 PM
Last Post: mvallevand
  Best approach to creating recurring recordings from c# drmargarit 0 2,172 2015-09-27, 01:32 AM
Last Post: drmargarit
  Custom recording rules mvallevand 58 16,090 2014-12-08, 03:28 AM
Last Post: mvallevand
  Attention Sub: Open TV / Custom Data Grabber plugin Benoire 2 2,280 2014-11-14, 02:05 AM
Last Post: Benoire
  Changing the recording priority on recurring recordings cbgifford 4 2,782 2014-08-17, 03:13 PM
Last Post: Kiwi
  couple of issues with recording.recurring.save method reven 10 3,435 2014-01-03, 11:11 PM
Last Post: reven

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode