2012-10-08, 07:02 PM
Where the would that go? I've never used user-defined functions in SQLite. I also wonder if it's possible using the ADO.NET layer I'm using.
2012-10-08, 07:02 PM
Where the would that go? I've never used user-defined functions in SQLite. I also wonder if it's possible using the ADO.NET layer I'm using.
2012-10-08, 07:06 PM
I have that as as standalone class as is. To test it I used
Code: SQLiteConnection conn = new SQLiteConnection("URI=file:"+DataDirectory + "npvr.db3"); Martin
2012-10-08, 08:03 PM
(This post was last modified: 2012-10-08, 08:14 PM by mvallevand.)
Thinking about that field will need to be decoded so maybe simple xml is even easier
Code: try Martin
2012-10-08, 09:01 PM
I have no idea if it works or not, but this updated NUtility.dll adds a class pretty much like what you posted. You'd need to pass two paramaters though. The xml and the xpath of the attribute you're interested in.
select XmlLookup(event_details, "/Event/SubTitle") as subtitle from SCHEDULED_RECORDING
2012-10-08, 09:07 PM
Thanks, now I have to contrive a rule that might test this.
Martin
2012-10-08, 11:14 PM
Does this NShared have the recording date patches I'm play around with Rules and haven't tried the new feature yet but this time
<StartTime>2012-10-14T23:00:00.0000000Z</StartTime> <EndTime>2012-10-15T01:00:00.0000000Z</EndTime> recorded a days worth of programming not close to the zone Code: 2012-10-08 18:19:45.892 [DEBUG][7] Requesting wake up for 'RecordingOID2346' at 14/10/2012 12:02 AM When you schedule could you log the sql too, so I can see what is used? Thanks this is quite promising. Martin
2012-10-09, 09:57 PM
Sub any ideas? I am gun shy to try this again.
Martin
2012-10-09, 10:04 PM
mvallevand Wrote:Does this NShared have the recording date patches I'm play around with Rules and haven't tried the new feature yet but this timeI don't understand the question. What patches? Quote:When you schedule could you log the sql too, so I can see what is used?The attached patch will log this sql statement if you got extended logging enabled in the config.xml
2012-10-09, 10:06 PM
sub Wrote:I don't understand the question. What patches? The patch that had the scheduled recording date and time screwed up. Martin
2012-10-09, 10:08 PM
Sorry, I still dont know what patch you're talking about. Keep in mind that I have a memory like swiss cheese. I blame it on juggling too much stuff and not getting enough sleep.
|
|