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
  #1121  
Old 06-25-2009, 05:35 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Versions seem to be ok. If you want the 6.5.18 beta, then you can grab it by finding a post by Opus4 and looking for the link in his signature... that's what I do

As for the fanart folder, if the web ui is not allowing your set it correctly using the directory picker, then just manually type your folder location in the text box and click save.

As for the 3 modes of this tool...
commandline is pretty self explanatory... you run it from a command shell, passing parameters, and movies/folders to scan.

automatic is where it is registered as a metadata plugin for sagetv. When new movies as added to the library, this tool will handle the metadata/fanart lookups. Requires some configuration to get this working.

on-demand means that you are using it interactively. You need to import the metadata tools stvi/xml and then in the guide, tv, or media library, you can request an interactive scan for metadata/fanart.
Reply With Quote
  #1122  
Old 06-25-2009, 06:33 PM
ohpleaseno ohpleaseno is offline
Sage Aficionado
 
Join Date: Apr 2009
Location: South Florida
Posts: 464
I followed the all the instructions at the site to install and when I go to the web ui, i get the attached.
Attached Images
File Type: jpg bmt error.jpg (64.9 KB, 294 views)
Reply With Quote
  #1123  
Old 06-25-2009, 06:35 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by wallybio View Post
I followed the all the instructions at the site to install and when I go to the web ui, i get the attached.
You need to have jetty installed.... and you are hitting nielm's webserver. What port is Jetty installed on?
Reply With Quote
  #1124  
Old 06-25-2009, 06:58 PM
ohpleaseno ohpleaseno is offline
Sage Aficionado
 
Join Date: Apr 2009
Location: South Florida
Posts: 464
I had it set to the same port as nielm's plugin. i changed it, but now i get this.
Attached Images
File Type: jpg bmt2.jpg (71.3 KB, 275 views)
Reply With Quote
  #1125  
Old 06-25-2009, 07:42 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
I think that there is a bug in my jetty context file (jetty/contexts/bmt.xml). Edit the file and look for these lines and make sure both are set to true.

Code:
  <Set name="extractWAR">true</Set>
  <Set name="copyWebDir">true</Set>
Then in the jetty/webapps/ dir delete the bmt dir and restart sage server. That should extract the web application properly. Don't delete the bmt.war, just the bmt dir.
Reply With Quote
  #1126  
Old 06-25-2009, 07:51 PM
ohpleaseno ohpleaseno is offline
Sage Aficionado
 
Join Date: Apr 2009
Location: South Florida
Posts: 464
Success!

Thanks for helping me through that.
Reply With Quote
  #1127  
Old 06-25-2009, 07:59 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by wallybio View Post
Success!

Thanks for helping me through that.
np... sorry I haven't released a fix for it yet.... it was brought to my attention in the first beta
Reply With Quote
  #1128  
Old 06-26-2009, 12:25 AM
Ender Ender is offline
Sage Advanced User
 
Join Date: Sep 2007
Location: Upsate New York
Posts: 175
Quote:
Originally Posted by stuckless View Post
I think that there is a bug in my jetty context file (jetty/contexts/bmt.xml). Edit the file and look for these lines and make sure both are set to true.

Code:
  <Set name="extractWAR">true</Set>
  <Set name="copyWebDir">true</Set>
Then in the jetty/webapps/ dir delete the bmt dir and restart sage server. That should extract the web application properly. Don't delete the bmt.war, just the bmt dir.
Just an FYI this appears to have corrected my issue as well. Thank you for the great app, and all the trouble shooting tips.
Reply With Quote
  #1129  
Old 06-26-2009, 06:40 AM
ohpleaseno ohpleaseno is offline
Sage Aficionado
 
Join Date: Apr 2009
Location: South Florida
Posts: 464
FYI, you may want to include the bit about conflicting port numbers with nielm's webserver in your instructions. For the less network inclined of us, it helps to know every detail that could go wrong.
Reply With Quote
  #1130  
Old 06-26-2009, 03:37 PM
PiX64's Avatar
PiX64 PiX64 is offline
Sage Icon
 
Join Date: Dec 2008
Location: Illinois
Posts: 1,991
Stuckless -

I reanabled the auto plugin as well as the parser, and now some really funky stuff is going on...

it has trippled my video count. it appears as though it mutli-indexed my movies so
i now have Wedding-Crashers (3 Videos) I also tried removing my import directory and reimporting everything....No Dice. Same problem as I originally had...which to refresh your memory is i was only getting about 1/3 of my movie collection showing up.


*EDIT*

Spoke to soon. i disabled the auto plugin, and then did a complete re-import and it appears as though my original issue was solved. Not sure why the auto plugin would cause both of the above issues.....

Last edited by PiX64; 06-26-2009 at 03:49 PM.
Reply With Quote
  #1131  
Old 06-26-2009, 04:25 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
That is odd... maybe I'll try re-importing my collection at some point to see if I can reproduce the problem. I don't see how the the bmt plugin would cause wedding crashers to show up 3 times... but if it only happens when my plugin is installed, then logic tells me it must be my plugin
Reply With Quote
  #1132  
Old 06-26-2009, 09:48 PM
PiX64's Avatar
PiX64 PiX64 is offline
Sage Icon
 
Join Date: Dec 2008
Location: Illinois
Posts: 1,991
If it is your plugin, let me know if there is anything i can do to help weather it be coding, debuging, testing whatever.....
Reply With Quote
  #1133  
Old 06-26-2009, 10:35 PM
mkanet's Avatar
mkanet mkanet is offline
SageTVaholic
 
Join Date: Feb 2004
Posts: 3,359
Hi Stuckless, if I remember correctly, you had mentioned back when I had the problem mentioned below in version 2.3, that version 3.0 would have a way to debug in greater detail for this kind of a problem if it is still happening in 3.0.

I'm wondering if you have any tips for finding out what's causing the automatic plugin to not understand how to use the fanart folder path setting defined in the properties file (using some kind of 3.0 logging); and, maybe comparing the results to the "On Demand" function which uses the same setting correctly. Also, it looks like ShortySeanbo has this identical behavior; even at the command-line.

We both cant save to the fanart folder; even when its defined correctly in the settings; however, it works when using On Demand (he already confirmed he has the same exact behavior for both On Demand and automatic functions via PM. It doesnt seem to matter if we use version 2.3 or 3.0 of BMI in respect to automatic verses on demand using the fanart folder path.

Thanks in advance for any tips you can provide,
MKANET

Quote:
Originally Posted by mkanet View Post
Currently, all the fanart is still being automatically downloaded to the same directory as where each respective mpg file is located. For example, fanart jpgs are being saved to the TV Recordings folder; and, also in each respective Video imports folder without creating the TV and movies folders (all files mixed together) in each separate folder that has mpg's (including TV recordings).

Webui fanart settings look correct as far as I can tell. If I manually do an on Demand save of the fanart/metadata, then the fanart will be copied to E:\fanart (which works correctly; and, always has).

The above-mentioned behavior has happened in both version 2.3.1 (although it happened only once) and consistently in version 3.0.

It looks like for whatever reason, the automatic feature can't read the fanart location setting defined in the properties file (which the same setting works correctly for manual On Demand saving.

Properties:
bmt/plugin/enabled=true
phoenix/mediametadata/fanartCentralFolder=E\:\\Fanart
phoenix/mediametadata/fanartEnabled=true


__________________
Upgraded to Comcast X1 + Netflix/Amazon Video streaming

***RIP SageTV***
Reply With Quote
  #1134  
Old 06-27-2009, 01:38 PM
PiX64's Avatar
PiX64 PiX64 is offline
Sage Icon
 
Join Date: Dec 2008
Location: Illinois
Posts: 1,991
Stuckless -

Was wondering if you might know why when i have in my .properties file for all my media RunTime=123 min (example) it would be showing up in your BMT gui as 1...

props were generated using EP's beta13....

Sage is showing the same thing...no movie runtimes, etc.
Reply With Quote
  #1135  
Old 06-27-2009, 07:25 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
@mkanet - I'm not sure what else to tell you. The only time that the fanart won't be written to the fanart dir, is if the fanart folder is not set. In your case it appears to be set, so I'm not sure what I can tell you. If you enable logging and then try the automatic plugin, the log will contain information about where it's trying to write the information.

@pix64 - I think there is bug in the web ui. RunTime should actually be a stored as a number (# of milliseconds, it think). I've noticed this myself, and I've been meaning to try and convert "123 min" to a # that sage can use. Maybe the next build... maybe later
Reply With Quote
  #1136  
Old 06-27-2009, 11:03 PM
ohpleaseno ohpleaseno is offline
Sage Aficionado
 
Join Date: Apr 2009
Location: South Florida
Posts: 464
Regarding the moving of imported video to recorded tv.

1) The only way to do this is by going to individual video files, selecting options, selecting metadata/fanart. Right?

2) Once it is in the recorded tv section, it isn't possible for sage to group it by title? I moved two eps of Arrested Development to recorded tv and they show up individually while all of my other shows are grouped into folders. I just wanted to make sure there wasn't something I'm missing.
Reply With Quote
  #1137  
Old 06-28-2009, 03:52 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by wallybio View Post
Regarding the moving of imported video to recorded tv.

1) The only way to do this is by going to individual video files, selecting options, selecting metadata/fanart. Right?
For now, yes. Eventually I'll add an "automatic" import, and sit back and wait for the all support posts to roll in as people complain about how bmt messed up their media library

Quote:
2) Once it is in the recorded tv section, it isn't possible for sage to group it by title? I moved two eps of Arrested Development to recorded tv and they show up individually while all of my other shows are grouped into folders. I just wanted to make sure there wasn't something I'm missing.
You probably didn't change the TV title mask. The default TV Title mask is "SeriesName - S##E## - Episode Title", but you can change that. In 3.x just do a search in the configuration for "Mask" and then change the TV Title Mask to be just the Series Title.
Reply With Quote
  #1138  
Old 06-28-2009, 04:15 AM
jaminben jaminben is offline
Sage Icon
 
Join Date: Sep 2007
Location: Norwich, UK
Posts: 1,754
Send a message via MSN to jaminben
Hey Sean,

I eventually got around to installing the latest version (3.0-beta-3) last night and everything seems to be working great. I've copied a few tester films over and within five minutes its grabbed all the metadata and fanart automatically. Imported TV shows required a manual scan and didn't get added to Sage Recordings but I think I read thats not implemented yet so no big deal there.

The web UI is just pure genius.

Many thanks to you and all those that helped make the tool, very cool

Can't wait for the full release of version 3

Cheers

Ben
__________________
Server - Win7 64bit, 2.4Ghz Intel Core 2 Duo, TBS 6284 PCI-E Quad DVB-T2 Tuner, 3 x HD200 & 1 x HD300 extenders
Reply With Quote
  #1139  
Old 06-28-2009, 05:51 AM
dbone1026's Avatar
dbone1026 dbone1026 is offline
Sage Advanced User
 
Join Date: Jul 2008
Posts: 243
I just installed everything this morning and BMI scans through my collection without a problem. I closed out of the web GUI and SageTV for a bit. Now it appears the Web GUI is not working. Instead of taking me directly to the web GUI is takes me to the directory. I then go into the html link and get "Failed To Get Status" error messages.
Attached Images
File Type: jpg Capture.JPG (92.3 KB, 248 views)
File Type: jpg Capture1.JPG (99.1 KB, 242 views)
__________________
Cheers
Damian

Blog - http://www.adigitalhomeblog.com
MSS.net blog (contributing editor) - http://www.mediasmartserver.net
Reply With Quote
  #1140  
Old 06-28-2009, 06:05 AM
jaminben jaminben is offline
Sage Icon
 
Join Date: Sep 2007
Location: Norwich, UK
Posts: 1,754
Send a message via MSN to jaminben
Quote:
Originally Posted by dbone1026 View Post
I just installed everything this morning and BMI scans through my collection without a problem. I closed out of the web GUI and SageTV for a bit. Now it appears the Web GUI is not working. Instead of taking me directly to the web GUI is takes me to the directory. I then go into the html link and get "Failed To Get Status" error messages.
I had a similar problem after doing a full reindex when I installed BMI. I think you'll find its still doing the scan and as soon as its finished the scan everything will be back to normal. If your using the default SageTV UI you can check this as you'll have an image at the top of the screen indicating that a scan is still in process. It can take quite a long time to carry out a full reindex so be prepared for a long wait.
__________________
Server - Win7 64bit, 2.4Ghz Intel Core 2 Duo, TBS 6284 PCI-E Quad DVB-T2 Tuner, 3 x HD200 & 1 x HD300 extenders
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 15 (0 members and 15 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
STV Import: Read & Write Metadata files for Default STV 5/6 (v2.2.9 18/Feb./2010) JREkiwi SageTV Customizations 251 10-09-2019 11:11 AM
Automated VideoRedo (DOS batch files) grauchy SageTV Customizations 3 09-08-2011 10:01 PM
Simple utility to control multiple USB or Serial HD DirecTV STBs jchiso Hardware Support 15 02-19-2009 06:27 PM
DVB-S setup with Digiguide EPG Grabber & XMLTV importer MCE-Refugee SageTV United Kingdom 27 09-08-2008 09:10 AM
Keeping custom metadata for imports via AddShow() Opus4 SageTV Studio 9 02-20-2008 06:35 PM


All times are GMT -6. The time now is 02:15 PM.


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