SageTV Community  

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

Notices

Batch Metadata Tools This forums is for discussing the user-created Batch Metadata Tools for SageTV.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 06-29-2011, 07:35 AM
bigo93bronco's Avatar
bigo93bronco bigo93bronco is offline
Sage Aficionado
 
Join Date: Dec 2008
Posts: 317
Help

So I just did a fresh install of windows and Sagetv the other day and I transffered my Wiz.bin file to the new install. As usually happens, a few of my recordings ended up in the video library. It was only 3 or 4 episodes so I decided I would use BMT to move them back where they go (BMT 4.9.20). When I tried moving the individual files I couldn't get to work, and then I foolishly used the batch tool, resulting in my entire library getting sent into the recordings. Now everything is back into my video library and I can't get a single recording back where it needs to go. Here's what I have tried:

Advanced Video Recovery = not working in this case

Tried ticking the "is sagetv recording?" box and hitting save for individual files in BMT.....no luck.

Tried update metadata/move to recordings route.....nothing.

Can someone help me out before I screw things up any worse
__________________
Windows 10 X64 ASUS Z270 TUF2 MOBO
Intel I5 Kaby Lake @3.3 Corsair H65 AIO water cooler
16GB GSkill DRR4 10 SATA hotswap bays in 4U RM case
Redundant power supply, dual UPS's, etc
Samsung EVO 850 SSD X2 OS drives
WD 4TB Purple drive for recordings, various other drives for archives
Tuners are a work in progress
Reply With Quote
  #2  
Old 06-29-2011, 08:00 AM
wrems's Avatar
wrems wrems is offline
Sage Icon
 
Join Date: Feb 2007
Location: Marietta, GA
Posts: 1,332
Do you have a copy of the wiz.bin when you started? You could revert to it and be back to where you were.
Reply With Quote
  #3  
Old 06-29-2011, 08:04 AM
bigo93bronco's Avatar
bigo93bronco bigo93bronco is offline
Sage Aficionado
 
Join Date: Dec 2008
Posts: 317
Yeah I have it, but every time I re-import it I have to redo all my channel mappings for some reason. I guess I can go that route if I have to. Isn't the Wiz.bin supposed to maintain that info as well?
__________________
Windows 10 X64 ASUS Z270 TUF2 MOBO
Intel I5 Kaby Lake @3.3 Corsair H65 AIO water cooler
16GB GSkill DRR4 10 SATA hotswap bays in 4U RM case
Redundant power supply, dual UPS's, etc
Samsung EVO 850 SSD X2 OS drives
WD 4TB Purple drive for recordings, various other drives for archives
Tuners are a work in progress
Reply With Quote
  #4  
Old 06-29-2011, 09:12 AM
wrems's Avatar
wrems wrems is offline
Sage Icon
 
Join Date: Feb 2007
Location: Marietta, GA
Posts: 1,332
I'm not sure... You'll probably have to choose the lesser of two evils.
Reply With Quote
  #5  
Old 06-29-2011, 09:58 AM
bigo93bronco's Avatar
bigo93bronco bigo93bronco is offline
Sage Aficionado
 
Join Date: Dec 2008
Posts: 317
Ok, I got things pretty much back to normal by re-importing the Wiz.bin. My channels didn't get lost, so I guess sagetv keeps that info in the properties or some other file. I never could get BMT to move the files the way I wanted, it would only work at the entire library level.
__________________
Windows 10 X64 ASUS Z270 TUF2 MOBO
Intel I5 Kaby Lake @3.3 Corsair H65 AIO water cooler
16GB GSkill DRR4 10 SATA hotswap bays in 4U RM case
Redundant power supply, dual UPS's, etc
Samsung EVO 850 SSD X2 OS drives
WD 4TB Purple drive for recordings, various other drives for archives
Tuners are a work in progress
Reply With Quote
  #6  
Old 06-29-2011, 10:56 AM
bigo93bronco's Avatar
bigo93bronco bigo93bronco is offline
Sage Aficionado
 
Join Date: Dec 2008
Posts: 317
Never mind, I restarted the server for good measure and now BMT is re-importing my entire media collection back into the recordings section again....arghh. I didn't tell it to do that, and I certainly don't have that option set in the configuration section of BMT. It's got a mind of it's own right now.
__________________
Windows 10 X64 ASUS Z270 TUF2 MOBO
Intel I5 Kaby Lake @3.3 Corsair H65 AIO water cooler
16GB GSkill DRR4 10 SATA hotswap bays in 4U RM case
Redundant power supply, dual UPS's, etc
Samsung EVO 850 SSD X2 OS drives
WD 4TB Purple drive for recordings, various other drives for archives
Tuners are a work in progress
Reply With Quote
  #7  
Old 06-29-2011, 11:56 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by bigo93bronco View Post
Never mind, I restarted the server for good measure and now BMT is re-importing my entire media collection back into the recordings section again....arghh. I didn't tell it to do that, and I certainly don't have that option set in the configuration section of BMT. It's got a mind of it's own right now.
You do know that BMT doesn't import anything, right?

Here's the BMT process flow...

SageTV detects new file
SageTV fires event that new file is added
BMT receives event that new file iadded and process fanart/metadata

So, BMT periodically wake up and scan and import,etc, it just does nothing until sagetv tells it that there are new files added, and even then, bmt will only scan the files that sagetv tells it about.

This flow is most apparent when you first install BMT, since one major complaint is that bmt doesn't scan your existing library... but only scans new files that are added. (if you want your entire library scanned, then you need to do a manual scan)

I'd bet in your case... bmt is not even running. If you have a bunch of existing files with matching .properties, and those .properties have defined an ExternalID of EP####, then sagetv will automatically import those as records (bmt not required). BMT only imports as recordings, if the appropriate options are set, and it ignores files with existing .properties.
Reply With Quote
  #8  
Old 06-29-2011, 02:02 PM
bigo93bronco's Avatar
bigo93bronco bigo93bronco is offline
Sage Aficionado
 
Join Date: Dec 2008
Posts: 317
Yeah I wasn't trying to rip on BMT or anything, I know how much work you have put into it over the years. I'm just frustrated right now because I'm basically being forced to see all the media i've collected over the last 10 years or so get turned into a jumbled mess. I do have a properties file associated with every single video file. What can be done to keep sagetv from doing this to me if I ever do a clean install again? This is the first clean install i've done since adding metadata to everything in the collection. The issue that I am having with BMT for sure, is that it isn't allowing me to send files back into recordings. When I tried sending a folder (batch) or an individual one it wouldn't work. Then I made the mistake of using the one in the toolbar at the top and it moved everthing into recordings (as I now know it should).
__________________
Windows 10 X64 ASUS Z270 TUF2 MOBO
Intel I5 Kaby Lake @3.3 Corsair H65 AIO water cooler
16GB GSkill DRR4 10 SATA hotswap bays in 4U RM case
Redundant power supply, dual UPS's, etc
Samsung EVO 850 SSD X2 OS drives
WD 4TB Purple drive for recordings, various other drives for archives
Tuners are a work in progress
Reply With Quote
  #9  
Old 06-29-2011, 03:18 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
And i wasn't trying to be grumpy about it Just that bmt typically won't do anything unless you tell it to

Because SageTV creates the .properties, then I'd manually remove them before importing your media back in. If they exist then BMT will never update those files.

As for moving files into or out of recordings... I've never had an issue, and the process of moving a single file is the same as moving all of them.
Reply With Quote
  #10  
Old 06-30-2011, 10:42 AM
bigo93bronco's Avatar
bigo93bronco bigo93bronco is offline
Sage Aficionado
 
Join Date: Dec 2008
Posts: 317
I'm totally confused now. I have removed all of my import folders from sagetv but it is still showing a lot (not all) of my media in the video library. I managed to get all of my recordings back where they need to go. The files that are showing up in the video library are also showing up in BMT under video imports/combined. I have tried to batch delete the .properties files but they are not getting removed. Even with all of my import directories configured in sage it only shows the same items.
__________________
Windows 10 X64 ASUS Z270 TUF2 MOBO
Intel I5 Kaby Lake @3.3 Corsair H65 AIO water cooler
16GB GSkill DRR4 10 SATA hotswap bays in 4U RM case
Redundant power supply, dual UPS's, etc
Samsung EVO 850 SSD X2 OS drives
WD 4TB Purple drive for recordings, various other drives for archives
Tuners are a work in progress
Reply With Quote
  #11  
Old 07-01-2011, 08:12 AM
bigo93bronco's Avatar
bigo93bronco bigo93bronco is offline
Sage Aficionado
 
Join Date: Dec 2008
Posts: 317
Disregard, I finally got everything sorted out. Thanks for the replies.
__________________
Windows 10 X64 ASUS Z270 TUF2 MOBO
Intel I5 Kaby Lake @3.3 Corsair H65 AIO water cooler
16GB GSkill DRR4 10 SATA hotswap bays in 4U RM case
Redundant power supply, dual UPS's, etc
Samsung EVO 850 SSD X2 OS drives
WD 4TB Purple drive for recordings, various other drives for archives
Tuners are a work in progress
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:20 PM.


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