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 11-25-2006, 11:56 PM
Belgrath Belgrath is offline
Sage Advanced User
 
Join Date: Sep 2006
Posts: 82
Episode Information exported into Video Library

Hi all,

Not sure if there is a solution for this already; perhaps someone can point me in the correct direction if there is which a few steps on how to do so.

So basically now that I've been using Sage for a few months I have a bunch of recordings that I now want to be able to place into my Video Library. The main reason is that I've been able to remove the various commercials and have re-encoded them into DivX to save some considerable harddisk space. What I don't want to lose though is the episode information for each video however.

A few questions:
- How do you guys/gals approach this problem and your solution
- Are there plugins today that will allow me to export the episode information from the Current Recordings into an XML file that I could use in my Video Library Directory

Any other ideas would be kindly appreciated.

Regards,
Belgrath
Reply With Quote
  #2  
Old 11-26-2006, 06:28 PM
Belgrath Belgrath is offline
Sage Advanced User
 
Join Date: Sep 2006
Posts: 82
Does everyone keep their recordings in the recording directory or do you move them all into the imported video directory?

Belgrath
Reply With Quote
  #3  
Old 11-26-2006, 06:36 PM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
Well there are a couple things, and it depends at what state your recordings are at.

The easiest way to get recordings into the library is to just choose the Archive option in SageTV. It doesn't actually move them, but they will hence be shown in the Archived Videos section.

Beyond that, if you've still got them in the Recording directory, see this about recompressing them and retaining the info:
http://forums.sage.tv/forums/showthr...+recompression

I believe you can move files from your recording directory to a video import directory and retain info, but I'm not sure where they show up. I know this has been discussed though.

Finally, Sage 6 supports native transcoding, so you might want to look at that.
Reply With Quote
  #4  
Old 11-26-2006, 10:45 PM
Belgrath Belgrath is offline
Sage Advanced User
 
Join Date: Sep 2006
Posts: 82
Quote:
Originally Posted by stanger89
Well there are a couple things, and it depends at what state your recordings are at.

The easiest way to get recordings into the library is to just choose the Archive option in SageTV. It doesn't actually move them, but they will hence be shown in the Archived Videos section.

Beyond that, if you've still got them in the Recording directory, see this about recompressing them and retaining the info:
http://forums.sage.tv/forums/showthr...+recompression

I believe you can move files from your recording directory to a video import directory and retain info, but I'm not sure where they show up. I know this has been discussed though.

Finally, Sage 6 supports native transcoding, so you might want to look at that.
I'm basically in the stage of compressing all of these episodes. So I take the MPEG, remove the commercials, then re-encode into divX. If I can have Sage view the episodes back in the Archived/Sage Recordings that would be great. As well as retaining the showinfo. Else I'd settle for the imported video section, again with the showinfo.

Thanks for the reply, any further comments?

Belgrath
Reply With Quote
  #5  
Old 11-26-2006, 10:54 PM
AngelofDeth AngelofDeth is offline
Sage Aficionado
 
Join Date: Jul 2005
Posts: 359
If you keep the same filename, but just change the extension, and "archive" them, Sage will keep all the show infomation. You can also just keep them as recordings, as long as you keep the same filename sage will keep show information.
Reply With Quote
  #6  
Old 11-26-2006, 11:16 PM
steingra steingra is offline
Sage Aficionado
 
Join Date: Oct 2005
Posts: 427
Send a message via MSN to steingra
Quote:
Originally Posted by Belgrath
I'm basically in the stage of compressing all of these episodes. So I take the MPEG, remove the commercials, then re-encode into divX. If I can have Sage view the episodes back in the Archived/Sage Recordings that would be great. As well as retaining the showinfo. Else I'd settle for the imported video section, again with the showinfo.

Thanks for the reply, any further comments?

Belgrath
Let me know how this goes. I am thinking of doing this with some of my sagetv recordings.
Thanks
Reply With Quote
  #7  
Old 11-27-2006, 12:03 PM
Belgrath Belgrath is offline
Sage Advanced User
 
Join Date: Sep 2006
Posts: 82
Quote:
Originally Posted by AngelofDeth
If you keep the same filename, but just change the extension, and "archive" them, Sage will keep all the show infomation. You can also just keep them as recordings, as long as you keep the same filename sage will keep show information.
Yup this worked, but because my files are DivX I think its busted other things. For instance I'm unable to FF or RW thru the episode, and the timer length is appearing as a 450hr show But I still have my program information... heh

I think I'm going to move the various episodes into the Video Library instead.

Curious to see how others manage all of their episodes and TV shows after the recordings have been done. I read on one of the threads that someone had 1000+ shows taped. How do they manage all of those, especially if they've already removed the various commercials and done compression on the show.

Thanks ahead of time, keep the comments coming,
Belgrath
Reply With Quote
  #8  
Old 11-27-2006, 12:18 PM
Kirby's Avatar
Kirby Kirby is offline
Sage Icon
 
Join Date: Jan 2006
Posts: 1,253
Quote:
Originally Posted by stanger89
I believe you can move files from your recording directory to a video import directory and retain info, but I'm not sure where they show up. I know this has been discussed though.
Yes this works. You shutdown all Sage instances (service too) and move the files from a recording directory to an Import directory. Then when you start Sage back up, it sees the files in the import directory, keeps the show data in tact, and will store the files in "Archived Recordings" in the default STV (not "Imported").

I dont do this anymore though. Now I use IMDB lookups for all my archived content, and I dont archive TV shows (only movies and concerts).

One last method to get show data to appear, although time consuming, is to use Neilm's webserver, and you can put any show data in you want, and generate a new EPGID for the file, which pushes the info into the Sage DB.
__________________
Sage Server: HP ProLiant N40L MicroServer, AMD Turion II Neo N40L 1.5GHz Dual Core, 8GB Ram, WHS2011 64bit, Sage 7.1.9 WHS, HDHR (1 QAM, 1 OTA), HDHR Prime 3CC, HD-PVR for copy-once movie channels
HTPC Client:Intel DH61AG, Intel G620 cpu, 8GB ram, Intel 80GB SSD, 4GB RamDisk holding Sage/Java/TMT5
Sage Client:Sage HD-200 Extender
Reply With Quote
  #9  
Old 11-27-2006, 12:41 PM
lobosrul's Avatar
lobosrul lobosrul is offline
Sage Expert
 
Join Date: Aug 2005
Location: Albuquerque, NM
Posts: 573
I'd love to be able to use Nielm's IMDB lookup system for episode info. I've got 100's of divx and mp4 files in my Sage imports folder, put into sub-folders for the TV show then into sub-folders per season, then the files are in a format like 2.01 Episode Name.

It's possible to do a manual search and tag each episode, but that would be very time consuming. I was playing around with Studio to see if it was possible to create a system where you could specify the TV Show name, then have every file in the folder automatically looked up in IMDB and tagged.

Its obvious I would need acces to Nielm's source code, or put together the Java code myself, which is probably beyond my capabilities (I've done a bit of php/MySQL coding and Javascript).

Then, probably a bit of a hack would be needed in the My Videos section (I use SageMC). I'd like the Genre system to list "Lost" under Drama, not all 50 or so episodes of Lost.

Last edited by lobosrul; 11-27-2006 at 02:13 PM.
Reply With Quote
  #10  
Old 11-27-2006, 12:50 PM
ke6guj ke6guj is offline
Sage Icon
 
Join Date: Jan 2005
Posts: 2,355
Quote:
Originally Posted by lobosrul

Its obvious I would need acces to Nielm's source code, or put together the Java code myself, which is probably beyond my capabilities (I've done a bit of php/MySQL coding and Javascript).

.
Well, Nielm usually has a link to his source code on his download pages, here is the link to the source code for the IMDB search, http://sageplugins.cvs.sourceforge.n...gins/sageimdb/
Reply With Quote
  #11  
Old 11-28-2006, 09:29 AM
Belgrath Belgrath is offline
Sage Advanced User
 
Join Date: Sep 2006
Posts: 82
Quote:
Originally Posted by lobosrul
I'd love to be able to use Nielm's IMDB lookup system for episode info. I've got 100's of divx and mp4 files in my Sage imports folder, put into sub-folders for the TV show then into sub-folders per season, then the files are in a format like 2.01 Episode Name.

It's possible to do a manual search and tag each episode, but that would be very time consuming. I was playing around with Studio to see if it was possible to create a system where you could specify the TV Show name, then have every file in the folder automatically looked up in IMDB and tagged.

Its obvious I would need acces to Nielm's source code, or put together the Java code myself, which is probably beyond my capabilities (I've done a bit of php/MySQL coding and Javascript).

Then, probably a bit of a hack would be needed in the My Videos section (I use SageMC). I'd like the Genre system to list "Lost" under Drama, not all 50 or so episodes of Lost.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
How about this collection.xml file; can someone point me to a link that describes how I can use this aggregate file (and where to place it) with an addon (if there is one) in order to populate my episode info in the video library folder.

Many thanks ahead of time,
Belgrath
Reply With Quote
  #12  
Old 11-28-2006, 11:12 AM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
While that could (theoretically) be used for episode info, I don't think it would work. The "collection.xml" is an export from DVD Profiler, and DVD Profiler only supports DVDs (movies). I'm not aware of a tool that would build a properly formatted collection.xml with episode data, and trying to do it by hand would be quite difficult.
Reply With Quote
  #13  
Old 11-28-2006, 12:21 PM
Belgrath Belgrath is offline
Sage Advanced User
 
Join Date: Sep 2006
Posts: 82
Quote:
Originally Posted by stanger89
While that could (theoretically) be used for episode info, I don't think it would work. The "collection.xml" is an export from DVD Profiler, and DVD Profiler only supports DVDs (movies). I'm not aware of a tool that would build a properly formatted collection.xml with episode data, and trying to do it by hand would be quite difficult.
---------------------------------

Ug....

What about the XML export file that is created with the web interface tool.

Question1:
If I'm understanding what you're saying here and after reading several threads. If I want to move my episodes from the recording directory into the Video Library then I'll need to create a separate XML file per episode and place it in the same directory as the video.

Question 2:
I've tried importing this XML file into Excel so that I could easily do some updating. But for some reason most of the <tags> create new row onto itself; not sure why this is since each of the attributes are related to one another.

epgId title episode category
EP4465830071 Title Show Food
EP4465830071 Show #1
EP4465830071 Science fiction
EP4465830071

Last edited by Belgrath; 11-28-2006 at 01:44 PM.
Reply With Quote
  #14  
Old 11-28-2006, 01:05 PM
GKusnick's Avatar
GKusnick GKusnick is offline
SageTVaholic
 
Join Date: Dec 2005
Posts: 5,083
Why import into Excel? Just edit the XML directly using Notepad or whatever.

On the larger question: if you don't care where the episodes are physically stored, but just want them to display in the Video Library screen rather than the SageTV Recordings screen, then just leave them where they are and use the Archive/Unarchive commands to move them back and forth between display categories.

If you do care where they get stored, then it's still probably simpler to physically move the files from one recording directory to another, and keep the episode info in Wiz.bin, rather than moving them to import directories and having to mess with XML files.

The bottom line is that they don't have to be in an import directory to be classified as Video Library files by Sage. You can change the classification using the Archive command without moving the files at all.
__________________
-- Greg
Reply With Quote
  #15  
Old 11-28-2006, 01:13 PM
Necro Necro is offline
Sage Advanced User
 
Join Date: Oct 2005
Posts: 90
I actually made a post about this Lobosrul. There is a great plugin for MediaPortal that does this now (grabs all of the information from a site setup just for this purpose), but I'd like to integrate everything into SageTV. Viewing via directories works, its just very 'basic'.

Here's the MediaPortal plugin: http://www.team-mediaportal.com/file...VSeriesplugin/)

There's also this one for XLobby, although its unfinished:
http://www.xlobby.com/forum/viewtopic.php?t=4852

If it would be possible to reference the same sites they do and pull down/populate the information in the database for the Imported Video section, I think it would become 100x better.
Reply With Quote
  #16  
Old 11-28-2006, 01:21 PM
Belgrath Belgrath is offline
Sage Advanced User
 
Join Date: Sep 2006
Posts: 82
Quote:
Originally Posted by GKusnick
Why import into Excel? Just edit the XML directly using Notepad or whatever.
I think it'd be much easier to update in Excel since I'm probably going to add alot more descriptions into each of the show episodes than what is described for alot of them. Alot of times I'm see a 1 line entry which can be expanded upon

Quote:
Originally Posted by GKusnick
On the larger question: if you don't care where the episodes are physically stored, but just want them to display in the Video Library screen rather than the SageTV Recordings screen, then just leave them where they are and use the Archive/Unarchive commands to move them back and forth between display categories.
Yes the archive and unarchive tags will allow me to view episodes in either the Sage Recordings, or the Media>Archive Recordings. I'm thinking it might be easier for me to move them all into the Media>Imported Video and then rename all shows with a season-episode and then place them into season folders.

Quote:
Originally Posted by GKusnick
If you do care where they get stored, then it's still probably simpler to physically move the files from one recording directory to another, and keep the episode info in Wiz.bin, rather than moving them to import directories and having to mess with XML files.
Rememeber that I'm editing the original tapings to remove needless commercials and then re-encoding them as divX. I think that I'm only able to play these files as if they were imported videos.

Quote:
Originally Posted by GKusnick
The bottom line is that they don't have to be in an import directory to be classified as Video Library files by Sage. You can change the classification using the Archive command without moving the files at all.
Reply With Quote
  #17  
Old 11-28-2006, 02:09 PM
Belgrath Belgrath is offline
Sage Advanced User
 
Join Date: Sep 2006
Posts: 82
Quote:
Originally Posted by stanger89
While that could (theoretically) be used for episode info, I don't think it would work. The "collection.xml" is an export from DVD Profiler, and DVD Profiler only supports DVDs (movies). I'm not aware of a tool that would build a properly formatted collection.xml with episode data, and trying to do it by hand would be quite difficult.
Can someone post up an example collection.xml file and what tags it would contain...... fun stuff
Reply With Quote
  #18  
Old 11-28-2006, 02:45 PM
haubrija haubrija is offline
Sage User
 
Join Date: Sep 2004
Posts: 33
Quote:
Originally Posted by Necro
I actually made a post about this Lobosrul. There is a great plugin for MediaPortal that does this now (grabs all of the information from a site setup just for this purpose), but I'd like to integrate everything into SageTV. Viewing via directories works, its just very 'basic'.

Here's the MediaPortal plugin: http://www.team-mediaportal.com/file...VSeriesplugin/)

There's also this one for XLobby, although its unfinished:
http://www.xlobby.com/forum/viewtopic.php?t=4852

If it would be possible to reference the same sites they do and pull down/populate the information in the database for the Imported Video section, I think it would become 100x better.
Yeah this originated with Meedio and it was the best thing about it. It's come up here before, most recently here:

http://forums.freytechnologies.com/f...ad.php?t=20838

We just need a developer to give it a shot and we'd be good.
Reply With Quote
  #19  
Old 11-28-2006, 06:41 PM
Necro Necro is offline
Sage Advanced User
 
Join Date: Oct 2005
Posts: 90
I think, honestly now, that this would be one way to get ahead of the curve in regards to media. With increasing numbers of people using iTunes, etc., to download tv shows this will become more and more of an issue. By having support for this - in some way - Sage would basically invite a whole host of other users that now wouldnt be using sage.
Reply With Quote
  #20  
Old 11-29-2006, 06:29 AM
dvd_maniac's Avatar
dvd_maniac dvd_maniac is offline
Sage Icon
 
Join Date: Mar 2004
Location: New England
Posts: 1,899
I'm surprised the .my file stvi created by JREkiwi Located Here hasn't been brought up here.
I have almost 6000 episodes now and I use this STVI to generate my files which capture the info of all recordings and can follow it to the import folder.
I cut out commercails and encode to H.264 and lose the episode number and place in the Import directory.One of the features that this has that is great is the ability to create .my files for an enitre TV series.
For instance I had recorded all of the Simpsons (18 seasons is a lot of episodes) and when this STVI came out I just created all available .my files for the Series. It looks at everything in the wiz.bin and future airings and creates the file. Then it took about 15 minutes to put the files in the proper folder. I have each tv show in their own folder and then each season and finally each episodes
ex:
\\TV\Animated\Simpsons\18\18x04 Treehouse of Horror XVI\18x04 Treehouse of Horror XVII.mp4
and the info file:
\\TV\Animated\Simpsons\18\18x04 Treehouse of Horror XVI\18x04 Treehouse of Horror XVII.my

Another example is I ripped the entire Star Trek Original and TNG series from DVD, encoded them and placed them in an Import directory. When I saw a marathon on for them I used this STVI to create my files for shows that were never recorded by Sage!!!
__________________
If this doesn't work right, Then:
"I'm going to blow up the Earth!"
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


All times are GMT -6. The time now is 07:55 PM.


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