NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 43 44 45 46 47 … 93 Next »
some db help please...

 
  • 0 Vote(s) - 0 Average
some db help please...
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,708
Threads: 767
Joined: Nov 2003
#21
2007-04-24, 12:49 AM
I dont have to format the parameters myself, so I cant comment on those. The SQL I use is:

insert into RECORDING_SCHEDULE (programme_oid, capture_source_oid, filename, status, recording_group, recording_type, manual_channel_oid, manual_start_time, manual_end_time, quality_level, pre_pad_minutes, post_pad_minutes, priority, conversion_profile) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?)

All the '?' parameters are later populated by .net from their C# types.
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#22
2007-04-24, 01:00 AM
sub Wrote:I dont have to format the parameters myself, so I cant comment on those. The SQL I use is:

insert into RECORDING_SCHEDULE (programme_oid, capture_source_oid, filename, status, recording_group, recording_type, manual_channel_oid, manual_start_time, manual_end_time, quality_level, pre_pad_minutes, post_pad_minutes, priority, conversion_profile) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?)

All the '?' parameters are later populated by .net from their C# types.

That's awesome. I guess I'm gonna learn SQL whether I like it or not. It turns out that the single quote in Grey's Anatomy * needs to be escaped by having two single quotes.... Grey''s Anatomy *. That' what was my problem.

Thanks for the help so far...
Frank Z
[COLOR="Gray"]
I used to ask 'why?' Now I just reinstall...
[SIZE="1"]______________________________________________
Author: ZTools: ZProcess, MVPServerChecker; UltraXMLTV Enhancer, Renamer, Manager; [/SIZE]
[/COLOR]
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,708
Threads: 767
Joined: Nov 2003
#23
2007-04-24, 01:01 AM
zehd Wrote:It turns out that the single quote in Grey's Anatomy * needs to be escaped by having two single quotes.... Grey''s Anatomy *. That' what was my problem.
Yeah, that'll do it. Glad you got it sorted.
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#24
2007-04-24, 03:52 AM
Well I can backup my reoccurring schedule, purge the EPG so that the cable providers new channels show up, lookup and fix the new channel OIDs, import them back into the db and then have GB-PVR reschedule recordings.

Whew.

I have also backed up shows that have already been recorded. When I import them, it goes smoothly, except the previous entries in the PROGRAMME EPG are gone, and so the recorded programs list incorrectly. Wrong show names and description. I look in the db and there aren't listing for the previously recorded shows anymore...

During the the first EPG update which downloads the new channel list and sorts the source channels, are the entires for those recorded shows being purged, because they aren't currently in the Recording Schedule?
Frank Z
[COLOR="Gray"]
I used to ask 'why?' Now I just reinstall...
[SIZE="1"]______________________________________________
Author: ZTools: ZProcess, MVPServerChecker; UltraXMLTV Enhancer, Renamer, Manager; [/SIZE]
[/COLOR]
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#25
2007-04-24, 03:55 AM
I noticed that the Export and Import Recordings on the plugins tab of the Config is exactly what I want. Any chance to get at it from command line?
Frank Z
[COLOR="Gray"]
I used to ask 'why?' Now I just reinstall...
[SIZE="1"]______________________________________________
Author: ZTools: ZProcess, MVPServerChecker; UltraXMLTV Enhancer, Renamer, Manager; [/SIZE]
[/COLOR]
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#26
2007-04-24, 03:57 AM
Damn sorry. I just found it on the wiki... getting tired....must get sleep
Frank Z
[COLOR="Gray"]
I used to ask 'why?' Now I just reinstall...
[SIZE="1"]______________________________________________
Author: ZTools: ZProcess, MVPServerChecker; UltraXMLTV Enhancer, Renamer, Manager; [/SIZE]
[/COLOR]
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#27
2007-04-28, 05:46 AM
Just wanted to say thanks so far. The help you gave me worked out well. First step of my DB program works well. Now I just have to user proof it...
Frank Z
[COLOR="Gray"]
I used to ask 'why?' Now I just reinstall...
[SIZE="1"]______________________________________________
Author: ZTools: ZProcess, MVPServerChecker; UltraXMLTV Enhancer, Renamer, Manager; [/SIZE]
[/COLOR]
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#28
2007-05-23, 04:17 AM
Sub I'm working with the REOCCURING_EXTRAS table and can't see what a couple of columns are for.

recording_group = lined to Recording_Schedule
max_files = how many files to keep

day_mask = ? where does it show and what are the possibilities

reoccurrance_type = ? think it's type of season recording, where does it show and what are the possibilities


first_run_only=? how does this work, and where in GB-PVR (is it Zap2it only?)

Thanks
Frank Z
[COLOR="Gray"]
I used to ask 'why?' Now I just reinstall...
[SIZE="1"]______________________________________________
Author: ZTools: ZProcess, MVPServerChecker; UltraXMLTV Enhancer, Renamer, Manager; [/SIZE]
[/COLOR]
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,708
Threads: 767
Joined: Nov 2003
#29
2007-05-23, 04:31 AM
zehd Wrote:Sub I'm working with the REOCCURING_EXTRAS table and can't see what a couple of columns are for.

day_mask = ? where does it show and what are the possibilities
reoccurrance_type = ? think it's type of season recording, where does it show and what are the possibilities
first_run_only=? how does this work, and where in GB-PVR (is it Zap2it only?)
These are reserved for future use, but do nothing today. Actually, the day_mask might have been completed - I think web admin might use it.
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#30
2007-05-23, 05:35 AM
sub Wrote:These are reserved for future use, but do nothing today. Actually, the day_mask might have been completed - I think web admin might use it.

Cheers
Frank Z
[COLOR="Gray"]
I used to ask 'why?' Now I just reinstall...
[SIZE="1"]______________________________________________
Author: ZTools: ZProcess, MVPServerChecker; UltraXMLTV Enhancer, Renamer, Manager; [/SIZE]
[/COLOR]
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): « Previous 1 2 3


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode