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 09-25-2007, 06:29 PM
galeo galeo is offline
Sage User
 
Join Date: Oct 2005
Posts: 18
Viewing imported videos in the SageTV Recordings area

I lost my wiz.bin which was two years old recently. I have hundreds of
videos that are now "orphans" and can be viewed only via the imported videos menu - which cannot be described as an optimal solution.

All I want to do is to somehow bring them back as SageTV recordings.


I have SageTV version 6.2
I have installed version 2.1.9 of the Read and Write metadata files STVi.

I am not sure if I understand whether it is supposed to be able to bring (or
display) the files from the "imported videos" folder in the SageTV
Recordings menu. I am hoping that it does - in addition to all the other
cool features.


Here's what I am doing with the metadata STVi

1. Installed both the IMdb search and the metadata STVi's 2. I configured
the metadata options (kept the configurations at default) 3. I now see a
whole bunch of .my and .properties files in my folder 4. These files don't
have anything meaningful inside them - just the name of the file as the
title. For example the file name that was created when an episode of Columbo
was recorded was called: Columbo-ACaseofImmunity-3481436-0.mpg.
5. When I change the metadata title from Columbo-ACaseofImmunity-3481436-0
to A Case of Immunity - I am able to manually select an entry.
6. However none of this actually gets this file as a SageTV recording.

Please Help!!!

Thanks very much
Reply With Quote
  #2  
Old 09-25-2007, 08:01 PM
GKusnick's Avatar
GKusnick GKusnick is offline
SageTVaholic
 
Join Date: Dec 2005
Posts: 5,083
I don't use that STVI so I don't have any advice on that.

However your best bet is to restore a backup copy of your wiz.bin. If you're not in the habit of making regular backups, look in your SageTV install folder for filenames of the form wiz.bin.SageTV VX.Y.Z. The 6.2 installer should have made one last time you upgraded.

Not to lecture, but two years without backups is just asking for trouble.
__________________
-- Greg
Reply With Quote
  #3  
Old 09-25-2007, 09:22 PM
galeo galeo is offline
Sage User
 
Join Date: Oct 2005
Posts: 18
Learnt the hard way :-(

However the wiz.bin or wiz.bak is no longer an option. It was my C: drive that had crashed and I had to reinstall the OS and Sage etc. Luckily all the videos were stored on other drives.

Based on what I read - the Read and Write metadata STVi seems like what I need - just not sure if I am using it right or now.

Would love to hear from someone who has used it to restore orphan videos back into the SageTV recording area.

Now I have a daily backup of my wiz.bin - stored for 8 days!
Reply With Quote
  #4  
Old 09-25-2007, 09:29 PM
JREkiwi's Avatar
JREkiwi JREkiwi is offline
Sage Icon
 
Join Date: Jan 2005
Location: Auckland, New Zealand
Posts: 2,132
Quote:
Originally Posted by galeo View Post
Based on what I read - the Read and Write metadata STVi seems like what I need - just not sure if I am using it right or now.

Would love to hear from someone who has used it to restore orphan videos back into the SageTV recording area.
The Read and Write metadata STVi is more for adding metadata to imported videos.

The Web User Interface is what you need to use to get them back into the SageTV recordings area.

John
Reply With Quote
  #5  
Old 09-25-2007, 10:59 PM
galeo galeo is offline
Sage User
 
Join Date: Oct 2005
Posts: 18
I looked at the Web User Interface - and I didn't see anything that looked like something I want.

The feature list didn't include anything to import videos or anything similar.

Am I missing something obvious?

All I want to do is to get a previously recorded mpg file - which is no longer in the wiz.bin - to be added to the wiz.bin - so that the recording shows up in the SageTV Recordings area of the interface.

Last edited by galeo; 09-25-2007 at 11:39 PM.
Reply With Quote
  #6  
Old 09-26-2007, 02:18 AM
JREkiwi's Avatar
JREkiwi JREkiwi is offline
Sage Icon
 
Join Date: Jan 2005
Location: Auckland, New Zealand
Posts: 2,132
In the Web interface you can either use Edit Show Info or if you have xml files for the shows you can import the xml files and they will end up in the SageTV Recordings.

Edit Show Info is sort of hidden at the bottom of the detail information for a selected video.

John
Reply With Quote
  #7  
Old 09-26-2007, 09:37 AM
galeo galeo is offline
Sage User
 
Join Date: Oct 2005
Posts: 18
Cool - this looks promising!

Will let you know how it goes.

Thanks a ton, John.
Reply With Quote
  #8  
Old 09-27-2007, 08:36 PM
galeo galeo is offline
Sage User
 
Join Date: Oct 2005
Posts: 18
THe "Web User Interface" plug-in worked great for importing one of my orphan videos into the wiz.bin file.

Now I need to figure it out how to achieve this for the hundred+ orphan videos I have.

I think I can automate the creation of the xml file for each show based on the name of the mpg file...

Is there a way to automate importing these xml files?

Thanks again.

BTW - the web user interface seems like a great tool in general.
Reply With Quote
  #9  
Old 09-28-2007, 05:19 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
To import them all, instead of creating one xml file per show, create a single XML file for all the shows with multiple <show> elements in the <showlist>, then import that.

I admit that I do need to make this type of import easier/better: I imagine that it is a real pain to figure out the show/airing/mediafile required items: duration and startime, whereas they could be inferred from the file size and timestamp... It is just something I have not had time to do yet...

(click on the XML button of the Sage Recordings view for an example of the format you will need)

(thanks )
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki
Reply With Quote
  #10  
Old 09-29-2007, 07:28 PM
galeo galeo is offline
Sage User
 
Join Date: Oct 2005
Posts: 18
That's good to know that I can create one big xml file - that makes the automation a lot easier.

I have to accept the fact that I have lost most of the information about all the orphaned recordings - so the only thing I can automate is the title of the show from the name of the mpg file - which will go into the <title> and the filepath variable in the <segment> tags respectively. (I will have to parse the filename and insert spaces before the capitalized letters to generate the title)

For now - I will force the show duration to be something large (I noticed that Sage shows the portion beyond what was recorded in red - since it assumes that the show was not completely recorded) Again, this is something I can live with - but it would be nice to have - since that information is already embedded in the file.

Thanks for your help!

--


On a related subject - I am looking forward to vlc being ported to the iPhone one of these days. I can already view the webInterface on my iPhone - but it would be awesome when I can actually watch the shows using Sage webInterface. When that happens - it would be nice if you could make slight modifications to the sage web interface so that it is easier to read and touch on the iPhone's small screen!
Reply With Quote
  #11  
Old 09-30-2007, 02:26 AM
ke6guj ke6guj is offline
Sage Icon
 
Join Date: Jan 2005
Posts: 2,355
nielm, I'm using your xml generator to create xml files for all my recordings. If I ever lost my wiz.bin (I keep 10 daily backups, so it would take a catastrophe), I should be able to use the xml files to add the shows back into a new wiz.bin (with the webserver?) so they don't end up as orphans, right?
__________________
- Jack
__________________________________________
Server: AMD Phenom 9750, 2GB RAM, 2 Hauppauge PVR500, 1 Firewired DCT6200, 1 HDHomerun tuning 2 QAM channels, Vizio 37" HDTV LCD, 1 USB-UIRT

Clients: 1 MediaMVP, 1 Placeshifter Client, & 1 SageTV Client.
Reply With Quote
  #12  
Old 09-30-2007, 05:49 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
jack: yes

galeo: if you estimate the bitrate, you can estimate the duration from the file size. Once imported 'Edit Show Info' can be used to fix the file start time/duration <-> Airing mismatch.

EDIT: this is no longer necessary in webserver 2.22 -- it can work out the start time/duration of the Airing from the file being imported.
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki

Last edited by nielm; 12-21-2007 at 04:38 PM.
Reply With Quote
  #13  
Old 10-01-2007, 09:09 AM
galeo galeo is offline
Sage User
 
Join Date: Oct 2005
Posts: 18
Excellent idea on using the file size to estimate the duration. I think most of my shows were recorded with the "Good Quality" setting with using approximately 2GB/hour disk space.

I can also get the show start time from the dos command dir /tc

I intend to create a table in excel that will have these columns... then I can create a category/subcategory column and manually enter those based on the title... I think this should work out OK.

I also installed the xml generator - which is working out great!

Thanks
Reply With Quote
  #14  
Old 10-02-2007, 05:54 PM
richardhood36 richardhood36 is offline
Sage User
 
Join Date: Feb 2007
Location: Buford, Ga
Posts: 18
Sagetv recording directory gone in 6.2

Whoa. You guys are talking about conversions and all that stuff.

Let's get back to the problem. I have never "lost" my recordings directory when I have updated and I have been here since 5.?. I always backup before updating.

When I updated to 6.2, I noticed there were no recordings in the recordings "library". I then restored my 6.1 version of wiz.bin to the sagetv\sagetv directory. When I restarted sage, the recordings still were not there. I looked in the sagetv\sagetv directory and I had a new file wiz.bin.SageTV V6.1.9.146. The old file was not accepted. Are the old and new files different formats???

Why didn't sage accept the old file?
Reply With Quote
  #15  
Old 10-04-2007, 01:56 PM
Tiki's Avatar
Tiki Tiki is offline
Sage Icon
 
Join Date: Feb 2005
Location: Southwest Florida, USA
Posts: 2,009
Quote:
Originally Posted by richardhood36 View Post
Whoa. You guys are talking about conversions and all that stuff.

Let's get back to the problem. I have never "lost" my recordings directory when I have updated and I have been here since 5.?. I always backup before updating.

When I updated to 6.2, I noticed there were no recordings in the recordings "library". I then restored my 6.1 version of wiz.bin to the sagetv\sagetv directory. When I restarted sage, the recordings still were not there. I looked in the sagetv\sagetv directory and I had a new file wiz.bin.SageTV V6.1.9.146. The old file was not accepted. Are the old and new files different formats???

Why didn't sage accept the old file?
When you install a new version of Sage, you should just install over the old version. Sage will automatically create a backup copy of your Wiz.BIN and name it with the old version number in the file name, then it will upgrade the bin file to the new format if anything has changed from the old version. Personally, I make a backup copy of the whole Sage folder before installing an upgrade, but have never had a problem.

In theory you should be able to just shut down Sage (and stop the service if you have it running in service mode) and drop an old version of Wiz.Bin in the Sage directory, then re-start and Sage should be able to use it or convert it if needed. But, I have seen others post about problems with this - especially if the Wiz.Bin was created with a much older version of Sage.
__________________
Server: Ryzen 2400G with integrated graphics, ASRock X470 Taichi Motherboard, HDMI output to Vizio 1080p LCD, Win10-64Bit (Professional), 16GB RAM
Capture Devices (7 tuners): Colossus (x1), HDHR Prime (x2)
,USBUIRT (multi-zone)
Source:
Comcast/Xfinity X1 Cable
Primary Client: Server Other Clients: (1) HD200, (1) HD300
Retired Equipment: MediaMVP, PVR150 (x2), PVR150MCE,
HDHR, HVR-2250, HD-PVR
Reply With Quote
  #16  
Old 10-04-2007, 04:44 PM
galeo galeo is offline
Sage User
 
Join Date: Oct 2005
Posts: 18
richardhood36 - I hope you are able to get the recordings back into your sage 6.2

If for some reason you are not able to - stay tuned and I will let you know how my "import" works out
Reply With Quote
  #17  
Old 10-05-2007, 09:26 AM
richardhood36 richardhood36 is offline
Sage User
 
Join Date: Feb 2007
Location: Buford, Ga
Posts: 18
Installed over 6.1...

I installed over the old version and expected Sage 6.2 to pick up the old sage recordings. Go figure....
Reply With Quote
  #18  
Old 12-20-2007, 04:48 PM
galeo galeo is offline
Sage User
 
Join Date: Oct 2005
Posts: 18
Works Great

the web user interface worked great. I was able to import all my orphaned recordings back.

In a few cases - I forgot to include the <category> tag

is it possible to change the category of multiple recordings en-masse that are already in the db?

Thanks
Reply With Quote
  #19  
Old 12-20-2007, 05:19 PM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
you should be able to just re-import, with some data that contains categories...
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki
Reply With Quote
  #20  
Old 12-21-2007, 01:20 PM
galeo galeo is offline
Sage User
 
Join Date: Oct 2005
Posts: 18
Thanks Nielm.

After importing I have converted many of them to save space and deleted the original recordings. They are all in the db, but the xml file I had created is no longer current. I could - change the name of the file from my xml and try to reimport - if that makes sense.

Is there a way, I can select multiple recordings, and change their category (or other attributes) en masse? Like I can delete, unarchive multiple?

BTW - I love your web interface.
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
another question about moving recordings to imported videos JUC SageTV Software 2 09-05-2007 09:30 AM
Possible Bug - Imported Videos and ID's mike1961 SageTV Software 10 07-19-2007 11:42 PM
Annoying Pop-up in Imported Videos dvd_maniac SageTV Software 2 06-28-2007 03:49 PM
Browsing imported videos, have to click OK twice just to view... travisbell SageTV Software 1 02-26-2007 01:17 AM
No AC3 from Imported Videos autoboy SageTV Software 0 10-20-2006 05:58 PM


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


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