EXAMPLE rule for the RESCHEDULE OPTS

3 views
Skip to first unread message

jackso...@gmail.com

unread,
Apr 16, 2009, 7:46:27 AM4/16/09
to SageTV Addons, ae.ja...@auckland.ac.nz
Here is what I am trying to do. i want to record hourly - 10 minute
New bulletins on one channel, but they all have the same show Id, the
show id changes occasionally but I haven't worked out how frequently.
They are not all the same.

How would be the best way to achieve this? An example of how
RESCHEDOPTS works would be great. Would it be something like this.

if [(IsTV == "true" || IsVideo == "true" || IsFavourite == "true") &&
IsActivelyRecording == false && (Title == "TVNZ News Now")]
{
:PRIORITY 99
:RESCHEDOPTS # Not sure what goes here
_RESCHED
_UNWATCHED
_ARCHIVE
}

Thanks
Anne

jackso...@gmail.com

unread,
Apr 16, 2009, 8:49:39 AM4/16/09
to SageTV Addons
One thing i forgot to mention, is when the program is reschedule I
would like it to add padding of 1 minute before and 3 minutes after.

Thanks

On Apr 16, 11:46 pm, "jackson.a...@gmail.com" <jackson.a...@gmail.com>
wrote:

Derek Battams

unread,
Apr 17, 2009, 8:56:33 PM4/17/09
to SageTV Addons
I don't think the _RESCHED internal task is going to do what you want
it to do. When you invoke _RESCHED it deletes the recording your
rescheduling and then records it again. If I'm reading between the
lines correctly, you want to keep all of the recordings, but you want
to keep recording them all even if the airing id number is the same?

You don't need the :RESCHEDOPTS option, but if you want to ensure that
the rescheduled airing is in HD only then use the "HDONLY" flag. The
"SAMECHANNEL" flag just means to only reschedule if the show is
available on the same channel as the original.

:RESCHEDOPTS "HDONLY SAMECHANNEL"

Use both or only one, as needed. There is no way to set a padding for
the rescheduled recording (at this time, open an issue ticket if it's
something you'd like to see added). Details on the resched opts are
documented here:

http://tinyurl.com/c5vsmb

If I'm right and you want to use the _RESCHED task to force a constant
rescheduling of shows with the same airing id then _RESCHED isn't
going to do it for you.

jackso...@gmail.com

unread,
Apr 18, 2009, 12:23:59 AM4/18/09
to SageTV Addons
Yes - I want to keep all of the recordings even if the airing id
number is the same? Because they are not all the same.

If I move the recordings to a folder in the import directly path, set
the unwatched flag, then reschedule. Would sagetv still detect the
recording is still on the system?

I want to move the recordings to the import folders so that sjq can
still convert them.

Can you see another way of doing this.

How do you add padding to the recordings that are rescheduled? Doesn't
seem to pick of the favourite or manual recording padding.

Thanks

Derek Battams

unread,
Apr 18, 2009, 12:56:47 PM4/18/09
to SageTV Addons
On Apr 18, 12:23 am, "jackson.a...@gmail.com" <jackson.a...@gmail.com>
wrote:
> Yes - I want to keep all of the recordings even if the airing id
> number is the same? Because they are not all the same.
>
> If I move the recordings to a folder in the import directly path, set
> the unwatched flag, then reschedule.  Would sagetv still detect the
> recording is still on the system?

Yes.

> I want to move the recordings to the import folders so that sjq can
> still convert them.
>
> Can you see another way of doing this.
>
> How do you add padding to the recordings that are rescheduled? Doesn't
> seem to pick of the favourite or manual recording padding.

I'd have to add a new option to the reschedule task. I could actually
add two. I could add a new option, let's call it "NODELETE", that
won't delete the original recording before rescheduling. This would
allow you to keep recording while not deleting the old recordings.
This, however, will only work as long as the airing ID is the same.
I'd also have to add an option to specify padding settings for the
rescheduled recording. Open an issue ticket on the project web site
if this is something you'd like added. Since it's not something I
have an immediate use for, it may not get done for a little while, but
I probably will add it in time for the next official release of SJQ -
as long as there's an issue ticket reminding me of the details.

jackso...@gmail.com

unread,
Apr 21, 2009, 3:30:30 AM4/21/09
to SageTV Addons
Thankyou - will open a ticket.

Anne

jackso...@gmail.com

unread,
Apr 23, 2009, 7:52:32 AM4/23/09
to SageTV Addons
I opened a ticket but it seems to have disappeared. Was it deleted?

Thanks

Anne

On Apr 21, 7:30 pm, "jackson.a...@gmail.com" <jackson.a...@gmail.com>
wrote:
> > as long as there's an issue ticket reminding me of the details.- Hide quoted text -
>
> - Show quoted text -

jackso...@gmail.com

unread,
Apr 23, 2009, 8:07:11 AM4/23/09
to SageTV Addons
Just checked my email - please ignore this post.

Thankyou

On Apr 23, 11:52 pm, "jackson.a...@gmail.com" <jackson.a...@gmail.com>
wrote:
> > - Show quoted text -- Hide quoted text -
Reply all
Reply to author
Forward
0 new messages