2016-05-16, 02:36 PM
I'd like to use SQLite to add a new manual recurring recording.
I used the following SQL:
And it worked great in that the record got inserted and appears in the
recurring recording listing.
The problem is that it never got scheduled. I tried scheduling other
manual recordings through the UI, and they all were added and got
scheduled, but the one that I INSERTed did not get scheduled.
When I deleted that record and scheduled the same recording through
the UI, the result looks the same in the database, but this time it
got scheduled.
I get the feeling that I have to do something extra to get an INSERT
scheduled. I tried closing and reopening NextPVR, and I tried it with
the -updatedb option, all with no luck.
I have lots of manual recurring recordings, and it would really be
great to have a command line way of scheduling them. The "Man-Rec" UI
is very hard to use, and I guess Schedule.exe only works for
non-recurring recordings.
So how can I use SQLite to schedule a recurring manual recording?
Thanks.
I used the following SQL:
Code:
INSERT INTO "RECURRING_RECORDING"
(name, match_rules, priority)
VALUES ("BBC-6-8am","<Rules>
<ChannelOID>8995</ChannelOID>
<ChannelName>BBC WORLD NEWS</ChannelName>
<StartTime>2016-05-16T10:00:00.0000000Z</StartTime>
<EndTime>2016-05-16T12:00:00.0000000Z</EndTime>
<PrePadding>0</PrePadding>
<PostPadding>0</PostPadding>
<Quality>0</Quality>
<Keep>99</Keep>
<Days>SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY</Days>
</Rules>
","63");
And it worked great in that the record got inserted and appears in the
recurring recording listing.
The problem is that it never got scheduled. I tried scheduling other
manual recordings through the UI, and they all were added and got
scheduled, but the one that I INSERTed did not get scheduled.
When I deleted that record and scheduled the same recording through
the UI, the result looks the same in the database, but this time it
got scheduled.
I get the feeling that I have to do something extra to get an INSERT
scheduled. I tried closing and reopening NextPVR, and I tried it with
the -updatedb option, all with no luck.
I have lots of manual recurring recordings, and it would really be
great to have a command line way of scheduling them. The "Man-Rec" UI
is very hard to use, and I guess Schedule.exe only works for
non-recurring recordings.
So how can I use SQLite to schedule a recurring manual recording?
Thanks.