NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) v
« Previous 1 2 3 4 5 … 20 Next »
SageTV Import Utility

 
  • 0 Vote(s) - 0 Average
SageTV Import Utility
Beefstew83
Offline

Junior Member

Posts: 13
Threads: 2
Joined: May 2012
#81
2014-05-02, 10:09 PM
No, I was using the June 2013 version. Thanks for the heads up. The db3 file looks much better now, viewing it in Notepad. I haven't gotten sqlite yet. Would it be a good idea to use sqlite to merge the db3 files or would cutting and pasting in notepad be good enough, given that I think I can see where the channels leave off and the imported recordings begin?
ACTCMS
Offline

Posting Freak

UK
Posts: 2,730
Threads: 101
Joined: Jun 2007
#82
2014-05-02, 10:52 PM
I definitely wouldn't try to edit it with notepad or anything else other than a proper DB editor - you'll be sure to screw up the DB's internal pointers.

Alex
Beefstew83
Offline

Junior Member

Posts: 13
Threads: 2
Joined: May 2012
#83
2014-05-04, 02:32 AM
Yeah, I was looking at it in sqlite3 and it seemed like I just need to copy records from certain tables into the db3 file from NPVR. I just need to figure out how to copy records from one database to another. I am more familiar with mySQL than sqlite. Are there any other editors that are compatible with the db3 files?

It seems there are at least 4 or 5 tables that would need to be copied over; but I haven't looked in any of them yet.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,767
Threads: 954
Joined: May 2006
#84
2014-05-04, 03:26 AM
Give me a link to your separate db3 files and I'll right a sqlite script for it,

Martin
Beefstew83
Offline

Junior Member

Posts: 13
Threads: 2
Joined: May 2012
#85
2014-05-05, 12:41 AM
Here's the sage import db3:

https://www.dropbox.com/s/xggb28rz3f4uvww/npvr_sage.db3

Here's the NPVR db3:

https://www.dropbox.com/s/5cpl39evfqlryto/npvr.db3

Thanks much Martin!! Big Grin
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,767
Threads: 954
Joined: May 2006
#86
2014-05-05, 02:09 AM
Save this as copy.sql with your two files

Code:
ATTACH DATABASE 'npvr_sage.db3' AS 'npvr_sage';
INSERT INTO scheduled_recording
(name,filename,status,start_time,end_time,capture_source_oid,channel_oid,recurrence_oid,channel_name,
event_details,failure_reason,pre_padding,post_padding,quality)
SELECT name,filename,status,start_time,end_time,capture_source_oid,channel_oid,recurrence_oid,channel_name,
event_details,failure_reason,pre_padding,post_padding,quality
FROM npvr_sage.scheduled_recording;

Launch the sqlite3 shell

sqlite3 npvr.db3

then run the script
.read copy.sql
and exit
.quit

Martin
Beefstew83
Offline

Junior Member

Posts: 13
Threads: 2
Joined: May 2012
#87
2014-05-05, 10:54 AM
That worked great, Martin, Thanks!!!

Now I have to figure out how to squeeze down all these recordings I'm making in NPVR. I have ImageGrabLite renaming them--just got to transcode them as well. Big Grin
Skirge01
Offline

Junior Member

Posts: 4
Threads: 0
Joined: Mar 2015
#88
2015-03-06, 11:45 PM
I'm attempting to get this working (using the exe from reply #72), but I'm receiving an Internal Server Error 500 message using the default sage/frey credentials. I can access my sagex api over http without issue and without any credentials at all. If I put in the https password I have set up, then I get an authentication issue (which I expected). I also tried the exe from the first post, but that seems broken entirely.

Any ideas?
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,767
Threads: 954
Joined: May 2006
#89
2015-03-07, 12:17 AM
Skirge01 Wrote:I'm attempting to get this working (using the exe from reply #72), but I'm receiving an Internal Server Error 500 message using the default sage/frey credentials. I can access my sagex api over http without issue and without any credentials at all. If I put in the https password I have set up, then I get an authentication issue (which I expected). I also tried the exe from the first post, but that seems broken entirely.

Any ideas?

It's been a long time but did you install the sagex-services too?

Martin
Skirge01
Offline

Junior Member

Posts: 4
Threads: 0
Joined: Mar 2015
#90
2015-03-07, 12:45 AM
mvallevand Wrote:It's been a long time but did you install the sagex-services too?

Martin

Sure did.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (10): « Previous 1 … 6 7 8 9 10 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  NextTool import Dale Dewing 13 3,033 2023-01-31, 02:54 PM
Last Post: mvallevand
  new format for NextTool import? spagio 7 2,170 2022-08-11, 01:17 PM
Last Post: mvallevand
  VideoConduit - Standalone App to Import Lost TV Recordings into NPVR 27InchSony 54 23,761 2021-12-29, 10:08 PM
Last Post: mvallevand
  M3U to STRM Utility - VOD on Kodi MadBeggar 0 4,371 2021-03-13, 12:24 AM
Last Post: MadBeggar
  RFC Recordings Import Utility mvallevand 24 8,770 2020-05-08, 02:16 PM
Last Post: Graham
  imageGrabLite --import mvallevand 50 17,842 2015-09-08, 03:41 AM
Last Post: mvallevand
  System Tray Utility to display recordings details cbgifford 0 2,040 2015-01-25, 06:24 AM
Last Post: cbgifford
  NPVR to XBMC File Renaming Utility craigrs84 6 4,688 2014-10-03, 02:59 PM
Last Post: tron999
  What's that video file time reindexing utility again? baj1 3 3,405 2012-09-30, 08:53 PM
Last Post: baj1

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

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

Linear Mode
Threaded Mode