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 09-16-2009, 06:56 PM
ErikM ErikM is offline
Sage User
 
Join Date: May 2008
Location: Miramar, FL
Posts: 5
Can't Get my BMT 3.1 Install off the Ground

Good evening,

I am new to the BMT and am trying to get all of the components installed and functioning properly. I seem to be having problems with the web UI piece as I have the BMT 3.1 STVi imported and I see the Fanart / Metadata option in the Setup.

Here is what I have done:

1. I downloaded and extracted Jetty 1.6 to my SageTV\SageTV directory.
2. I edited the JettyStarter.properties by entering a custom port
3. I modified the sage.properties file by entering "sagex.jetty.starter.Main" as well as the two additional parameters:

Code:
mediafile_metadata_parser_plugins=org.jdna.sage.MetadataUpdaterPlugin 
custom_metadata_properties=MediaProviderDataID;MediaTitle;MediaType;OriginalAirDate;EpisodeTitle;EpisodeNumber;SeasonNumber;DiscNumber;UserRating
I save and restart and when I attempt to access the web UI from the SageTV machine (http://localhost:8500/bmt/) I receive the following:

Directory: /bmt/

WEB-INF - bytes Sep 16, 2009 8:21:50 PM

Clicking the WEB-INF link simply gives me an HTTP ERROR 404 with "Problem accessing /bmt/WEB-INF/. Reason: NOT_FOUND

At the bottom it reads, "Powered by Jetty://" so I know that the engine is running, I just can't understand what step(s) I might have missed to cause this behavior.

Those of you who are intimate with this setup, I would appreciate any guidance as I have attempted to re-install this tonight six times with the same results.

Thank you in advance,
Erik
Reply With Quote
  #2  
Old 09-16-2009, 11:30 PM
Belgrath Belgrath is offline
Sage Advanced User
 
Join Date: Sep 2006
Posts: 82
Quote:
Originally Posted by ErikM View Post
Good evening,

I am new to the BMT and am trying to get all of the components installed and functioning properly. I seem to be having problems with the web UI piece as I have the BMT 3.1 STVi imported and I see the Fanart / Metadata option in the Setup.

Here is what I have done:

1. I downloaded and extracted Jetty 1.6 to my SageTV\SageTV directory.
2. I edited the JettyStarter.properties by entering a custom port
3. I modified the sage.properties file by entering "sagex.jetty.starter.Main" as well as the two additional parameters:

Code:
mediafile_metadata_parser_plugins=org.jdna.sage.MetadataUpdaterPlugin 
custom_metadata_properties=MediaProviderDataID;MediaTitle;MediaType;OriginalAirDate;EpisodeTitle;EpisodeNumber;SeasonNumber;DiscNumber;UserRating
I save and restart and when I attempt to access the web UI from the SageTV machine (http://localhost:8500/bmt/) I receive the following:

Directory: /bmt/

WEB-INF - bytes Sep 16, 2009 8:21:50 PM

Clicking the WEB-INF link simply gives me an HTTP ERROR 404 with "Problem accessing /bmt/WEB-INF/. Reason: NOT_FOUND

At the bottom it reads, "Powered by Jetty://" so I know that the engine is running, I just can't understand what step(s) I might have missed to cause this behavior.

Those of you who are intimate with this setup, I would appreciate any guidance as I have attempted to re-install this tonight six times with the same results.

Thank you in advance,
Erik
I'm having similar issues with getting it up and running.

My steps:

- SageTV latest 6.6.2.208
- download Jetty 6.1.20 - launch the Jetty Service from the \bin directory
(I didn't place it in the SageTV directory.. does it need to be?)
- I can connect to Jetty using http://192.168.1.xxx:8080/
(I didn't overwrite the default port, I assume that to do so you'd need to configure the Jetty service config file AND the SageTV properties file)
- shutdown Sage
- place the BMT files in the root SageTV directory
- place the Sage Jetty server files in the root SageTV directory
- relaunch SageTV
- Connect to http://192.168.1.xxx:8080/bmt

http://forums.sagetv.com/forums/show...=34301&page=90

Last edited by Belgrath; 09-16-2009 at 11:32 PM.
Reply With Quote
  #3  
Old 09-17-2009, 03:05 PM
disco340 disco340 is offline
Sage User
 
Join Date: Jan 2009
Posts: 60
I remember having an issue similar to this, not sure if was exactly this. My problem had something to do with IE8 and compatibility mode. All I needed to do was click on compatibility mode and everything popped up. Hope this helps.
Reply With Quote
  #4  
Old 09-20-2009, 11:36 AM
Belgrath Belgrath is offline
Sage Advanced User
 
Join Date: Sep 2006
Posts: 82
Quote:
Originally Posted by disco340 View Post
I remember having an issue similar to this, not sure if was exactly this. My problem had something to do with IE8 and compatibility mode. All I needed to do was click on compatibility mode and everything popped up. Hope this helps.
currently using firefox....
Reply With Quote
  #5  
Old 09-20-2009, 11:43 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Try removing the jetty/webapps/bmtweb/ dir (not the .war file, just the bmtweb dir), then restart sagetv server, wait a minute and then try again. If you get the error again, try reloading the page using holding down the shift key when you press refresh/reload on the browser.
Reply With Quote
  #6  
Old 12-20-2009, 06:45 PM
pseudonym's Avatar
pseudonym pseudonym is offline
Sage Advanced User
 
Join Date: Feb 2007
Location: Out of Mind
Posts: 143
I'm having same problem. I'm brand new to Batch Metadata and 3.1 is my first version and first use of Jetty Starter as well.

I found this post for a different error:
http://forums.sagetv.com/forums/show...postcount=1791

It reads:
"It would appear that the bmtweb app is not being picked up by jetty. When you extracted the bmt application, did it put the bmtweb.war in the jetty/webapps/ directory. When you browse the jetty/webapps directory, is there a bmtweb.jar and a bmtweb/ directory. Try removing the bmtweb directory (not that war, and restart sage)"

I do not have a bmtweb directory and I don't have a bmtweb.jar. The only file is bmt.war inside jetty/webapps.

I just unzipped again the BMT 3.1 file I downloaded an hour or two ago, to it's own directory -- there is nothing named "bmtweb" in that zip file. Is the jar and/or directory built by something?

I am also using IE8 and I tried compatibility mode, but that did not make any difference.

Ideas? Thanks and regards,
--pseudonym
Reply With Quote
  #7  
Old 12-20-2009, 07:02 PM
pseudonym's Avatar
pseudonym pseudonym is offline
Sage Advanced User
 
Join Date: Feb 2007
Location: Out of Mind
Posts: 143
Also, I'm using Standard STV so I imported the STVI and have a Metadata/Fanart section under setup. There I enabled automatic metadata/fanart for when "media is imported using Stuckless's BMT Plugin (RESTART REQUIRED)".

I've restarted several times but I still don't see where this plugin is accessed from. Is it from the web UI that I don't have working yet?

Sorry... confused...
--pseudonym
Reply With Quote
  #8  
Old 12-22-2009, 07:44 PM
razrsharpe razrsharpe is offline
Sage Icon
 
Join Date: Sep 2008
Location: Boston, MA
Posts: 2,111
@psuedonym - have you successfully gotten jetty to work? ie can you open a web browser and go to http:\\JettyIP:JettyPort and get a jetty error page... it should say this page is generated by jetty or some such on the lower left

try following sflamm's installation instructions linked to from the top of the first post of the BMT thread....
http://forums.sagetv.com/forums/showthread.php?t=34301

EDIT: you do not need to install any STVI to do what you need from your other thread ... you should be able to do everything using the web interface
__________________
Server 2003 r2 32bit, SageTV9 (finally!)
2x Dual HDHR (OTA), 1x HD-PVR (Comcast), 1x HDHR-3CC via SageDCT (Comcast)
2x HD300, 1x SageClient (Win10 Test/Development)
Check out TVExplorer

Last edited by razrsharpe; 12-22-2009 at 07:49 PM.
Reply With Quote
  #9  
Old 12-22-2009, 08:17 PM
pseudonym's Avatar
pseudonym pseudonym is offline
Sage Advanced User
 
Join Date: Feb 2007
Location: Out of Mind
Posts: 143
@razrsharpe

Yes those are the instructions I followed. I get the same error from Jetty as reported in that thread. Jetty is running and providing the error message.

--pseudonym
Reply With Quote
  #10  
Old 12-22-2009, 09:09 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by pseudonym View Post
@razrsharpe

Yes those are the instructions I followed. I get the same error from Jetty as reported in that thread. Jetty is running and providing the error message.

--pseudonym
if you want to email your logs metadatatools at gmail dot com, then I can take a look at them, and see if I can see any issue.

Thanks,
Sean.

EDIT: logs would include sagetv_0.txt and mailcheck.log, and/or phoenix.log, and/or bmt.log
Reply With Quote
  #11  
Old 12-24-2009, 07:44 AM
pseudonym's Avatar
pseudonym pseudonym is offline
Sage Advanced User
 
Join Date: Feb 2007
Location: Out of Mind
Posts: 143
Sean, thank you very much for your offer to help. I will be able to email you the logs you've requested, sometime this coming weekend.

Since you mentioned the sagetv_0.txt file, I'm assuming you want me to turn on debug mode in Sage, as that's the only time I've seen this file get created. Please let me know if that's not what you were referring to.

Thanks again and regards,
--pseudonym
Reply With Quote
  #12  
Old 12-24-2009, 09:04 AM
razrsharpe razrsharpe is offline
Sage Icon
 
Join Date: Sep 2008
Location: Boston, MA
Posts: 2,111
thats what he is referring to
__________________
Server 2003 r2 32bit, SageTV9 (finally!)
2x Dual HDHR (OTA), 1x HD-PVR (Comcast), 1x HDHR-3CC via SageDCT (Comcast)
2x HD300, 1x SageClient (Win10 Test/Development)
Check out TVExplorer
Reply With Quote
  #13  
Old 01-09-2010, 01:40 PM
pseudonym's Avatar
pseudonym pseudonym is offline
Sage Advanced User
 
Join Date: Feb 2007
Location: Out of Mind
Posts: 143
@razrsharpe Thank you for confirmation that's the right logfile! Much appreciated.

@Sean,

I am so very sorry for delay. I was away for a time and only now able to come back to working on this issue. I really hope the problem is something very simple, perhaps something this dope (me) has overlooked. That would be the easiest fix I think! :-)

Of the logs you requested (sagetv_0.txt and mailcheck.log, and/or phoenix.log, and/or bmt.log), after turning on debug mode in Sage, stopping and restating Sage, then shutting it down again (to have the smallest possible logs), the only log I have with data in it is sagetv_0.txt.

I do not have any others you have mentioned. I do have 2010_01_09.request.log created in (sage directory) ... jetty\logs but it is empty (0 bytes). Looking at every sage restart over the last few weeks, one was created each time and they are all empty.

I have emailed you my sagetv_0.txt at the address you specified, in case that is useful?

Thank you again for any help, and again sorry for the delay in reply.

Best regards,
--pseudonym
Reply With Quote
  #14  
Old 01-10-2010, 09:23 AM
pseudonym's Avatar
pseudonym pseudonym is offline
Sage Advanced User
 
Join Date: Feb 2007
Location: Out of Mind
Posts: 143
I can now access the web page for BMT from the Jetty webserver!

I sent Sean my logs as requested, and he provided me with these instructions:

http://forums.sagetv.com/forums/show...postcount=1882


Thank you again Sean! With the BMT webpage I was able to get my one episode, that had somehow lost its metadata, back in line with the other SageTV recordings where it should be.

Woot! Those of you posting here with same issue as the OP, please try this :-)

Kind regards,
--pseudonym
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
Is there a way of doing Metadata WITHOUT BMT plnewton SageTV Customizations 12 08-17-2009 06:53 PM
High Def... need ground zero help... hufnagel General Discussion 3 01-22-2008 03:10 PM
Ground Loop Questions and Problems mike1961 Hardware Support 19 02-06-2006 10:49 AM
Cable ground loop issues davin Hardware Support 22 04-26-2005 05:35 PM


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


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