SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Customizations
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Customizations This forums is for discussing and sharing user-created modifications for the SageTV application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss customizations for SageTV version 6 and earlier, or for the SageTV3 UI.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 04-26-2007, 01:03 PM
Fastrack Fastrack is offline
Sage Aficionado
 
Join Date: Oct 2003
Location: Toronto, Ontario, Canada
Posts: 268
Send a message via ICQ to Fastrack
Talking Import 250+ Programs via Plugin/WebServer automated?

Hi all,

I've finished my evaluation of Sage (I was able to squeeze more days) As I reinstalled WinXp fresh (this was my old gaming rig). But now that I have a fresh copy of windows, I'll be ordering Sage in the coming days.

Anyway 4 years ago I wrote my own PVR app using Visual Basic, Access and WinTVCap. However with multiple tuners and the HDHomeRun/HD I figured it was time to upgrade.

I have over 250 shows recorded using a PVR-250 that I would like to keep. My MS Access database has all the start/stop times, title,sub title,rating,category etc.. All from the XMLTV xml files. I do not have the Episode ID from the xml files though

Is there an easy way to write a script/program or such, as making the videos load from Imported Videos is no good. I found the feature in the webserver, but manually adding the information for 250 shows would be crazy. It's great don't get me wrong, but only for a few shows.

Thanks in advance,

Ben
Reply With Quote
  #2  
Old 04-26-2007, 02:55 PM
GKusnick's Avatar
GKusnick GKusnick is offline
SageTVaholic
 
Join Date: Dec 2005
Posts: 5,083
If you can code in VB, you should be able to write a front end that connects to the webserver and uploads the data from your DB.

Or if you can code in Java, you should be able to modify the webserver source to read the DB directly.
__________________
-- Greg
Reply With Quote
  #3  
Old 04-26-2007, 04:14 PM
Fastrack Fastrack is offline
Sage Aficionado
 
Join Date: Oct 2003
Location: Toronto, Ontario, Canada
Posts: 268
Send a message via ICQ to Fastrack
Quote:
Originally Posted by GKusnick View Post
If you can code in VB, you should be able to write a front end that connects to the webserver and uploads the data from your DB.

Or if you can code in Java, you should be able to modify the webserver source to read the DB directly.
I can and have coded in Java, c++ etc... I'll take a look at the webserver code...
Reply With Quote
  #4  
Old 04-26-2007, 04:36 PM
dvd_maniac's Avatar
dvd_maniac dvd_maniac is offline
Sage Icon
 
Join Date: Mar 2004
Location: New England
Posts: 1,899
a faster way may be to use existing programs.
TV.com .my file creation utility is an easy to use program to create .my files with lots of info about the TV series.
Then using THIS custom import you could import that information into the Sage Database or just have Sage use the .my file to display the information.
And for movies I use THIS import to search from IMDB.com and then save that into Sage's DB.
__________________
If this doesn't work right, Then:
"I'm going to blow up the Earth!"
Reply With Quote
  #5  
Old 04-26-2007, 07:45 PM
JREkiwi's Avatar
JREkiwi JREkiwi is offline
Sage Icon
 
Join Date: Jan 2005
Location: Auckland, New Zealand
Posts: 2,132
Or, if you're coding, you could write the data out to per-show .properties files and have Sage parse the data into the database.

John`
Reply With Quote
  #6  
Old 04-26-2007, 08:45 PM
Fastrack Fastrack is offline
Sage Aficionado
 
Join Date: Oct 2003
Location: Toronto, Ontario, Canada
Posts: 268
Send a message via ICQ to Fastrack
Quote:
Originally Posted by JREkiwi View Post
Or, if you're coding, you could write the data out to per-show .properties files and have Sage parse the data into the database.

John`
I can easily write a simple output routine, from all the data I already have in my Database. Where can I find the format of the properties file? Or is that your plugin ?
Reply With Quote
  #7  
Old 04-27-2007, 03:00 AM
JREkiwi's Avatar
JREkiwi JREkiwi is offline
Sage Icon
 
Join Date: Jan 2005
Location: Auckland, New Zealand
Posts: 2,132
The tags for .properties file are here.

Each tag is on a single line however the Sage parser will parse the text \n as a newline

Title=My Greatest Movie
Description=This is over two lines\nand this is the second one
Actor=Bill Smith, Bob Jones
Lead\ Actor=Harry Harrison


The file needs to be named the same as the video with an additional .properties extension
myvideo.avi
myvideo.avi.properties

John
Reply With Quote
  #8  
Old 04-27-2007, 04:12 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
I am also writing a batch XML importer for the webserver. This will import the shows from my SageXML format and put them as Sage Recordings... Hopefully

With luck, it may be ready early next week...
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki

Last edited by nielm; 04-27-2007 at 04:15 AM.
Reply With Quote
  #9  
Old 04-27-2007, 10:02 PM
Fastrack Fastrack is offline
Sage Aficionado
 
Join Date: Oct 2003
Location: Toronto, Ontario, Canada
Posts: 268
Send a message via ICQ to Fastrack
Wow quite a few options. I'm going to give the my/property files a try.

But I'd be more then willing to test out your batch XML importer!
Reply With Quote
  #10  
Old 04-29-2007, 08:10 PM
Fastrack Fastrack is offline
Sage Aficionado
 
Join Date: Oct 2003
Location: Toronto, Ontario, Canada
Posts: 268
Send a message via ICQ to Fastrack
Quote:
Originally Posted by nielm View Post
I am also writing a batch XML importer for the webserver. This will import the shows from my SageXML format and put them as Sage Recordings... Hopefully

With luck, it may be ready early next week...
I'm still trying out the .my/.properties files.. But let me know when you have your XML importer ready!
Reply With Quote
  #11  
Old 05-23-2007, 12:58 PM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
implemented in webserver 2.15 see here
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sage Recording In The Import Directory - Wrong Place mike1961 SageTV Software 2 08-20-2006 08:34 PM
StephaneM's XMLTV importer Question gerberdude SageTV EPG Service 11 07-31-2006 06:50 PM
Help Me With My Import aperry SageTV Studio 5 07-19-2006 03:59 AM
Launching external programs w/ Nielm custom menus import feilerd SageTV Customizations 0 02-26-2006 03:58 PM
Choppy Playback with Import STV's??? RedCoat999 SageTV Customizations 3 12-09-2004 10:28 PM


All times are GMT -6. The time now is 02:30 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.