Posts: 838
Joined: Jul 2007
Reputation:
6
SQL to test with (for anyone that dares). I've got a copy of the mythconverg database that I've been using. I've tested the following on that, but haven't tested that the scheduler then works with the newly inserted information.
INSERT INTO record (type, chanid, starttime, startdate, endtime, enddate, title, description, startoffset, endoffset) VALUES (%i, %i, '%s', '%s', '%s', '%s', '%s', '%s', %i, %i);
Once the row is inserted I'll need to use the Myth Protocol to trigger the backend scheduler to run and pick up the change.
I'm not going to have time to test before I jump on a plane early next week.
"DELETE FROM record WHERE recordid = " + recordid
Posts: 1,109
Joined: Feb 2011
Reputation:
39
Guys,
Not sure if this is relevant or not so just ignore me if that's the case.
I'm running Dharma on Mythbuntu 10.10 and use xbmc as my mythtv frontend (scheduling is done via MythWeb, don't watch LiveTV through MythTV).
I wrote a script (see signature) that sets an ACPI alarm based on the next scheduled MythTV recording. The script checks if MythTV is busy (via "mythshutdown -s") and looks to see if XBMC is active and, if not, sets the alarm and suspends the machine.
It would be great if this functionality could be built in as part of the mythtv client add-on.
el_P
note: it was the first Python code I ever wrote so be gentle! It works though!!
Posts: 3
Joined: Sep 2011
Reputation:
0
First thanks dteirney for the work your doing here, much appreciated.
I run a split backend / frontend MythTV configuration which is working fine,
but for some reason the XBMC-PVR frontend is having a problem playing any of my channels which use a cam. I've tried increasing the timeout to the maximum of 30 but still no joy.
I'm not sure how the XBMC-PVR MythTV PVR client works out when there is a channel lock,
but I have noticed that when using MythTV as a client, channels that use a cam show a lock as LMSC (Instead of LMS).
Is there any way to show the lock information in XBMC ?