Hi all,
I tried to circumvent the official introduction of recordings into the DB by just applying some SQL.
Insertion works just fine, but the TVServer throws out my inserted record with the following message:
2012-06-14 21:40:33.265625 [scheduler thread(30)]: Scheduler: Orphaned once schedule found 333 - removing
The SQL statement looks like this.
insert into schedule (idChannel, scheduleType, programName, startTime, endTime, ... )
select idChannel, '0' , title, startTime, endTime, ...
from program where description like ... ;
My suspicion is the field "schedule.id..." , which is an autoincrement. Does TVServer perhaps remember this value internally ?
Background: I wanted to create a very lightweight recording filter using simple search mechanisms in the programs database without the hassle of plugins (like "ForTheRecord") or whatever.
If somebody knows another pragmatic, simple way to insert recordings, I would be thankful.
Thanks
/Gerd
I tried to circumvent the official introduction of recordings into the DB by just applying some SQL.
Insertion works just fine, but the TVServer throws out my inserted record with the following message:
2012-06-14 21:40:33.265625 [scheduler thread(30)]: Scheduler: Orphaned once schedule found 333 - removing
The SQL statement looks like this.
insert into schedule (idChannel, scheduleType, programName, startTime, endTime, ... )
select idChannel, '0' , title, startTime, endTime, ...
from program where description like ... ;
My suspicion is the field "schedule.id..." , which is an autoincrement. Does TVServer perhaps remember this value internally ?
Background: I wanted to create a very lightweight recording filter using simple search mechanisms in the programs database without the hassle of plugins (like "ForTheRecord") or whatever.
If somebody knows another pragmatic, simple way to insert recordings, I would be thankful.
Thanks
/Gerd
Last edited: