SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV Software
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Software Discussion related to the SageTV application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the SageTV software application should be posted here. (Check the descriptions of the other forums; all hardware related questions go in the Hardware Support forum, etc. And, post in the customizations forum instead if any customizations are active.)

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 10-25-2007, 08:57 AM
Webbo's Avatar
Webbo Webbo is offline
Sage User
 
Join Date: Oct 2007
Posts: 9
Import recordings from BTV

I am curerntly performing a parallel run of Sage after running BTV for around 3 years.

Due to this amount of time, I have over 1000+ recordings in BTV that I would like to import into the main Sage TV recorded shows section rather than as separate video files.

Is there any way of importing such shows? BTV stores the show information (Title, Episode, Decription, dates) within the MPG / AVI file directly so unless someone has coded up a suitable tool, I cannot see any way of easily doing this!

Any help much appreciated.
Reply With Quote
  #2  
Old 10-25-2007, 01:37 PM
jdamore jdamore is offline
Sage Aficionado
 
Join Date: Nov 2006
Location: Hillsborough, NJ
Posts: 292
Hi! and welcome!

For that amount of recordings its tough because there is no way to import them except one at a time. I'm (kinda) sure you can import using Neilm's web server. Maybe one with more experience in this topic will follow me on how to do that.

This question has been around for a while. Maybe someone will come up with a script for a mass import from btv or myth someday.

Good Luck!

Last edited by jdamore; 12-01-2007 at 10:10 PM.
Reply With Quote
  #3  
Old 10-25-2007, 10:45 PM
Patilan Patilan is offline
Sage Advanced User
 
Join Date: Oct 2006
Location: Lake Forest, Illinois, USA
Posts: 237
Built-in feature for easy import of shows from BTV? That's a really cool idea, if the Sage people are listening. A whole bunch of people will be more likely to dump BTV for Sage if there's an easy way to do just that.
Reply With Quote
  #4  
Old 10-26-2007, 02:04 PM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,624
Quote:
Originally Posted by jdamore View Post
Maybe someone will come up with a script for a mass import from btv or myth someday.
If someone wants to create such a plugin, contact SageTV for information about the the Media File Metadata Importer, which can be used to create a plugin to support extraction of metadata from imported media files.

- Andy
__________________
SageTV Open Source v9 is available.
- Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1.
- Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus
- HD Extenders: A) FAQs B) URC MX-700 remote setup
Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request.
Reply With Quote
  #5  
Old 11-27-2007, 10:06 PM
mistergq's Avatar
mistergq mistergq is offline
Sage Expert
 
Join Date: Oct 2007
Posts: 747
just for clarification, this plugin has not been developed has it?
Reply With Quote
  #6  
Old 11-28-2007, 04:47 PM
Khristopher Khristopher is offline
Sage Aficionado
 
Join Date: Aug 2007
Location: Edmonton, AB
Posts: 275
Quote:
Originally Posted by mistergq View Post
just for clarification, this plugin has not been developed has it?
No, it has not.

But anyone with programming skills and some spare time on their hands, could help make the transition from BTV to Sage a lot easier.

When I switched, I just dumped all my recordings into an Imported Video folder....would have been nice to import all the episode info as well, but I wasn't going to enter in the info for each show.
Reply With Quote
  #7  
Old 11-28-2007, 06:21 PM
Brent Brent is offline
SageTVaholic
 
Join Date: May 2006
Location: KC, Missouri
Posts: 3,695
Quote:
Originally Posted by mistergq View Post
just for clarification, this plugin has not been developed has it?
Quote:
Originally Posted by Khristopher View Post
No, it has not.

But anyone with programming skills and some spare time on their hands, could help make the transition from BTV to Sage a lot easier.

When I switched, I just dumped all my recordings into an Imported Video folder....would have been nice to import all the episode info as well, but I wasn't going to enter in the info for each show.
I wonder if Craig (cncb) would be able to help with this??? It would be a killer plugin for me too.
Reply With Quote
  #8  
Old 11-28-2007, 10:59 PM
gveres gveres is offline
Sage Aficionado
 
Join Date: Nov 2007
Location: Waterloo, Ontario
Posts: 404
If I remember correctly there is a way to get .my files out of BTV (BTV has a nice API to get at the meta data). I think I have seen a plugin mentioned around here that imports .my files.

I haven't had the time to investigate but I will be facing importing of 400 - 500 recordings as well.

Greg
Reply With Quote
  #9  
Old 11-29-2007, 09:08 AM
cncb cncb is offline
Sage Icon
 
Join Date: Jul 2006
Posts: 1,271
Quote:
Originally Posted by Brent View Post
I wonder if Craig (cncb) would be able to help with this??? It would be a killer plugin for me too.
Sorry, I reinstalled the OS for Sage so I never reinstalled Beyond TV after this. I don't archive anything so I just used the import video approach. It was a little painful until I got through/watched all the shows recorded in BTV but I didn't have that many so it wasn't too bad.
Reply With Quote
  #10  
Old 11-29-2007, 09:52 AM
Brent Brent is offline
SageTVaholic
 
Join Date: May 2006
Location: KC, Missouri
Posts: 3,695
There are two BTV developers that might be able to help out with this. Not sure how interested they would be in helping unless they were switching to SageTV as well:

Fonceur - maker of many excellent BTV plugins. His BTV Negociator parses show information so he has the know-how and ability to do it.

jmaver - developed the excellent BTVShowInfo plugin. This plugin connects to the BTV server and accesses all show detail information. Using this plugin you can edit one or many shows metadata from the interface.

Another person who might be able to help out is Stephane. He uses SageTV, but has used BTV in the past and is a good developer.

Don't know how much interest we could get from a developer without some sort of incentive though as its a plugin that would be used once. One thing that would make the plugin appeal more to the masses is if you could make it also work with other files such as MCE, Media Portal etc. to import them into the SageTV Shows.
Reply With Quote
  #11  
Old 12-01-2007, 09:51 AM
Brent Brent is offline
SageTVaholic
 
Join Date: May 2006
Location: KC, Missouri
Posts: 3,695
How To use webserver to import shows with detail?

So since a plugin in the next week or so is extremely unlikely, how do you use the webserver plugin to import BTV shows and have them show up in the recorded shows section of SageTV?
Reply With Quote
  #12  
Old 12-01-2007, 05:09 PM
jdamore jdamore is offline
Sage Aficionado
 
Join Date: Nov 2006
Location: Hillsborough, NJ
Posts: 292
Quote:
Originally Posted by Brent View Post
So since a plugin in the next week or so is extremely unlikely, how do you use the webserver plugin to import BTV shows and have them show up in the recorded shows section of SageTV?
Brent- Sorry, I was incorrect when I said it could be imported to the recordings via webserver. Sorry to misslead you

Edit:I was wrong.. See next reply

Last edited by jdamore; 12-01-2007 at 10:17 PM.
Reply With Quote
  #13  
Old 12-01-2007, 05:21 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
You can use the webserver to import the shows.

- Click in Media Library in upper right hand corner.
- Choose Search Imported Videos.
- Leave all the defaults and go to the bottom and click search. This gives you a list of all imported videos.
- For each video click on the show name and then click on [Edit Show Info] towards the bottom of the page.
- Make the changes you need and click save.

Works like a champ even though there is a warning that the function is experimental.
__________________

Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders.
Reply With Quote
  #14  
Old 12-02-2007, 04:24 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
By the way, if anyone with BTV can find a way of extracting the BTV show information into a text file (XML or other), i will see how easy it is to get the webserver to parse it directly, or to make a quck'n'dirty conveter to my Sage XML show info format that can then be imported (without the need for manual edits)...
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki
Reply With Quote
  #15  
Old 12-02-2007, 10:08 AM
Brent Brent is offline
SageTVaholic
 
Join Date: May 2006
Location: KC, Missouri
Posts: 3,695
Quote:
Originally Posted by nielm View Post
By the way, if anyone with BTV can find a way of extracting the BTV show information into a text file (XML or other), i will see how easy it is to get the webserver to parse it directly, or to make a quck'n'dirty conveter to my Sage XML show info format that can then be imported (without the need for manual edits)...
Nielm,
Thanks for the response. This would be great if you could help out here.

I'm checking on other ways to do this, but I do know of one possibility.

There is a add-on to BeyondTV called BTVShowInfo (download and details here) that I use to edit the metadata stored in BTV recordings. It basically logs into the BTV server and extracts the data for each show and allows you to edit all fields, copy and paste fields etc. It's very nice and something I miss when I'm using SageTV.

Anyway its possible to create plugins to this add-on according to the author. Here's what he says about that:
Quote:
How to write your own plugin
BTVShowInfo is designed to allow easy plugin manipulation of data. It provides the mechanism for communicating with BTV and selecting data to manipulate, while letting plugins focus on the actual manipulation.

1. In VisualStudio 2003, create a new .net assembly project for your plugin. The plugin must be named PluginXXXX , where XXXX is what your plugin does.
2. Add a reference to BTVShowInfoPluginInterface
3. Create a class that implements IShowInfoEditor
4. In the Initialize member, use the passed in IPluginHost to call AddMenuItem with the text of your plugin menu item
5. In the EditShowInfo member, you are passed the data for the selected shows. Act on those as appropriate, and return true if you modified them.
6. Compile and put your plugin into the BTVShowInfo\Plugins directory.
7. Run BTVShowInfo, select a row and choose your plugin from the menu.
See the sample plugin code in the plugins directory for an example.
I have no experience with VisualStudio (or any programming for that matter), but it looks like its possible anyway. I'll follow up if/when I get more information on other possible solutions.
Reply With Quote
  #16  
Old 12-02-2007, 11:33 AM
Brent Brent is offline
SageTVaholic
 
Join Date: May 2006
Location: KC, Missouri
Posts: 3,695
Quote:
Originally Posted by nielm View Post
By the way, if anyone with BTV can find a way of extracting the BTV show information into a text file (XML or other), i will see how easy it is to get the webserver to parse it directly, or to make a quck'n'dirty conveter to my Sage XML show info format that can then be imported (without the need for manual edits)...
Nielm,
If we could get an xml file in the following format would that work?

All metadata-info each recorded show into xml files (one xml file for each recorded show selected) with at least these fields:
  • Channel Number
  • Channel Name
  • Recorded Date
  • Series Name
  • Episode Name
  • Episode Description
The resulting name of the xml file would match the filename of the mpg file it extracted the data from.


It's not something that is there today, but I'm seeing if I can get some help on it from a few of the BTV plugin writers. Don't know how it will turn out but it's worth trying.
Reply With Quote
  #17  
Old 12-02-2007, 12:47 PM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
The ShowID (from ZaptoIT's data) would also be nice -- it would prevent Sage from re-recording shows that BTV already recorded...
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki
Reply With Quote
  #18  
Old 12-02-2007, 06:20 PM
gveres gveres is offline
Sage Aficionado
 
Join Date: Nov 2007
Location: Waterloo, Ontario
Posts: 404
The show ID is not something that BTVShowInfo exports. But just getting the data into Sage is worlds ahead.

If I had more time, I would whip up using BTVShowInfo to produce .my files. But alas, work gets in the way.
Reply With Quote
  #19  
Old 12-21-2007, 10:06 AM
jdamore jdamore is offline
Sage Aficionado
 
Join Date: Nov 2006
Location: Hillsborough, NJ
Posts: 292
Quote:
Originally Posted by nielm View Post
By the way, if anyone with BTV can find a way of extracting the BTV show information into a text file (XML or other), i will see how easy it is to get the webserver to parse it directly, or to make a quck'n'dirty conveter to my Sage XML show info format that can then be imported (without the need for manual edits)...

Your a man of your word! BTV XML to Sage XML converter...

http://forums.sage.tv/forums/showthread.php?t=29311

Super cool!
Reply With Quote
  #20  
Old 12-21-2007, 10:20 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
This was based on the sample XML Brent sent me... I have tried to make it as error-proof as I can (hence the big logging window!)
__________________
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
SageTV FAQ Narflex SageTV Software 45 04-15-2011 08:34 AM
Sage Recording In The Import Directory - Wrong Place mike1961 SageTV Software 2 08-20-2006 08:34 PM
Help Me With My Import aperry SageTV Studio 5 07-19-2006 03:59 AM
STV Import: Include Archived Recordings (v1.1 14 Jun 2005) nielm SageTV Customizations 1 06-14-2005 03:34 AM
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 03:25 AM.


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