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
  #1401  
Old 08-07-2009, 01:28 PM
jsin jsin is offline
Sage User
 
Join Date: Jun 2009
Location: Irvine, CA
Posts: 58
Quote:
Originally Posted by gplasky View Post
It must be. On my system if I refresh the metadata thru jaminben's advanced movie info or in the regular video screen then if I view the videos thru the "Date Added" sort every movie that had it fanart/metadata refreshed is now at the top of the list. It's not good that it works that way. I figured it was the beta nature of Metatools 3 and not much to do until stuckless returns. I don't think it happens if BMT auto updates. I've seen it when I manually refresh it through an option screen in Sage.

Gerry
I do agree that "It's not good that it works that way". Problem as I understand it is that SageTV will not pick up the updated .properties unless the time stamp on the corresponding file is changed. I think BMT or any other tool that updates .properties are just trying to be accommodating.

Until SageTV can refresh .properties with newer dates, perhaps we would have to use some other contrived method.

How about increasing the file time stamp by 1 sec. (or 1min or 1hour or whatever will make SageTV refresh), instead of just using the current time? That's be awesome!
Reply With Quote
  #1402  
Old 08-07-2009, 01:42 PM
jsin jsin is offline
Sage User
 
Join Date: Jun 2009
Location: Irvine, CA
Posts: 58
Quote:
Originally Posted by stuckless View Post
You are not asking a lot... and your requests have been noted.... so as you browse the list, you'll see that while you are not asking a lot, other people are also not asking a lot, but together.... it does add up
Hey, just wanted to say thanks! Thanks for working on a nice program that helps other people (like me).

Also, if you need any help, let me know. I'm more of a system administrator than a programmer, but I'll help where I can.

Please enjoy your vacation - one thing I hate most is needing a vacation after a vacation.
Reply With Quote
  #1403  
Old 08-07-2009, 02:19 PM
alfi33 alfi33 is offline
Sage Aficionado
 
Join Date: Jun 2008
Posts: 311
I installed 3.0 beta 9 last night and have been playing with it today. Very cool! Great work, stuckless!

It seems to be fetching metadata for me for everything I'd expect it to except for the show 24 from DVDs (not recordings).

It fails on individual episodes ripped from DVDs:
Code:
2009-08-07 14:27:50,420 ERROR [LibraryImporter] org.jdna.sage.MetadataUpdaterPlugin (MetadataUpdaterPlugin.java:172) - Failed to Fetch Metadata for Media: \\panini\videos\Test\24\Season 2\24 S02E01.mkv
It also fails on straight DVD rips:
Code:
2009-08-07 14:32:22,959 ERROR [LibraryImporter] org.jdna.sage.MetadataUpdaterPlugin (MetadataUpdaterPlugin.java:172) - Failed to Fetch Metadata for Media: \\popcorn\DVDs\FullDisc\24 Season 2\24 S02D01\VIDEO_TS
Is there something wrong with the way I have things named?
__________________
Server: SageTV v9 on unRAID Docker; i5-2400; 16GB RAM; 9TB storage array; SiliconDust HDHR3
Client: Windows10; Intel Core2Duo; 4GB RAM; NVIDIA GeForce GT 1030
Client: NVIDIA ShieldTV
Client: Fire TV Stick 4K
Reply With Quote
  #1404  
Old 08-07-2009, 02:37 PM
dbone1026's Avatar
dbone1026 dbone1026 is offline
Sage Advanced User
 
Join Date: Jul 2008
Posts: 243
Quote:
Originally Posted by alfi33 View Post
I installed 3.0 beta 9 last night and have been playing with it today. Very cool! Great work, stuckless!

It seems to be fetching metadata for me for everything I'd expect it to except for the show 24 from DVDs (not recordings).

It fails on individual episodes ripped from DVDs:
Code:
2009-08-07 14:27:50,420 ERROR [LibraryImporter] org.jdna.sage.MetadataUpdaterPlugin (MetadataUpdaterPlugin.java:172) - Failed to Fetch Metadata for Media: \\panini\videos\Test\24\Season 2\24 S02E01.mkv
It also fails on straight DVD rips:
Code:
2009-08-07 14:32:22,959 ERROR [LibraryImporter] org.jdna.sage.MetadataUpdaterPlugin (MetadataUpdaterPlugin.java:172) - Failed to Fetch Metadata for Media: \\popcorn\DVDs\FullDisc\24 Season 2\24 S02D01\VIDEO_TS
Is there something wrong with the way I have things named?
I have individual episodes of 24 which BMT recognizes. They are named as follows:

24 - S07E01 - Day 7- 8-00 AM - 9-00 AM

I used TV Rename to get this name
__________________
Cheers
Damian

Blog - http://www.adigitalhomeblog.com
MSS.net blog (contributing editor) - http://www.mediasmartserver.net
Reply With Quote
  #1405  
Old 08-07-2009, 03:39 PM
alfi33 alfi33 is offline
Sage Aficionado
 
Join Date: Jun 2008
Posts: 311
Quote:
Originally Posted by dbone1026 View Post
I have individual episodes of 24 which BMT recognizes. They are named as follows:

24 - S07E01 - Day 7- 8-00 AM - 9-00 AM

I used TV Rename to get this name
I renamed one of the files using your naming format but I got the same result.
Code:
2009-08-07 16:22:26,343 ERROR [LibraryImporter] org.jdna.sage.MetadataUpdaterPlugin (MetadataUpdaterPlugin.java:172) - Failed to Fetch Metadata for Media: \\panini\videos\Test\24\Season 2\24 - S02E03 - Day 2 - 10-00 am - 11-00 am.mkv
I just realized that it successfully gets metadata if I do it manually from within SageMC but it's failing during the automatic run.

Do you remember if BMT recognized it for you during an automatic run?

Pretty much everything else I have is recognized automatically including other DVD sets of other TV shows. It seems to be only 24 that's not recognized automatically for me. I assume I'm doing something wrong...
__________________
Server: SageTV v9 on unRAID Docker; i5-2400; 16GB RAM; 9TB storage array; SiliconDust HDHR3
Client: Windows10; Intel Core2Duo; 4GB RAM; NVIDIA GeForce GT 1030
Client: NVIDIA ShieldTV
Client: Fire TV Stick 4K
Reply With Quote
  #1406  
Old 08-07-2009, 03:58 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by alfi33 View Post
I renamed one of the files using your naming format but I got the same result.
Code:
2009-08-07 16:22:26,343 ERROR [LibraryImporter] org.jdna.sage.MetadataUpdaterPlugin (MetadataUpdaterPlugin.java:172) - Failed to Fetch Metadata for Media: \\panini\videos\Test\24\Season 2\24 - S02E03 - Day 2 - 10-00 am - 11-00 am.mkv
I just realized that it successfully gets metadata if I do it manually from within SageMC but it's failing during the automatic run.

Do you remember if BMT recognized it for you during an automatic run?

Pretty much everything else I have is recognized automatically including other DVD sets of other TV shows. It seems to be only 24 that's not recognized automatically for me. I assume I'm doing something wrong...
Could you check the mailcheck.log and see if there are any errors? bmt uses the log4j facilities and it's logging goes to the mailcheck.log file by default.
Reply With Quote
  #1407  
Old 08-07-2009, 08:38 PM
alfi33 alfi33 is offline
Sage Aficionado
 
Join Date: Jun 2008
Posts: 311
Quote:
Originally Posted by stuckless View Post
Could you check the mailcheck.log and see if there are any errors? bmt uses the log4j facilities and it's logging goes to the mailcheck.log file by default.
Attached is a section of the mailcheck.log file for when bmt was trying to process a file named 24 S0205.mkv.

I don't see any clues that are obvious to me that points to why it might be failing...
Attached Files
File Type: txt mailcheck.txt (67.0 KB, 203 views)
__________________
Server: SageTV v9 on unRAID Docker; i5-2400; 16GB RAM; 9TB storage array; SiliconDust HDHR3
Client: Windows10; Intel Core2Duo; 4GB RAM; NVIDIA GeForce GT 1030
Client: NVIDIA ShieldTV
Client: Fire TV Stick 4K
Reply With Quote
  #1408  
Old 08-07-2009, 09:14 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by alfi33 View Post
Attached is a section of the mailcheck.log file for when bmt was trying to process a file named 24 S0205.mkv.

I don't see any clues that are obvious to me that points to why it might be failing...
Thanks for the log. I've found and fixed an issue in the scoring code where sometimes the score being generated was "Not a Number", and this caused some other side effects, such as what you are seeing. This fix will go in to the final 3.0 build.
Reply With Quote
  #1409  
Old 08-07-2009, 09:23 PM
cowboyway cowboyway is offline
Sage User
 
Join Date: Aug 2009
Posts: 44
Installed ok, but web page for /bmt doesn't work?

I have a new installation of everything (sage tv, mc, and bmt) on vista 32 bit. I verified my bmt install as the latest as of today to be 3.0 beta 9. I double checked the edits that needed to be made per the instructions. I checked my java version to be 1.6.

I did change the port to 8010 and restart the sage service when default didn't work. Still no joy trying: http://localhost:8080/bmt

Get page not found.

Any ideas? I'm trying to link into my My Movies metadata.

thanks
Reply With Quote
  #1410  
Old 08-07-2009, 09:48 PM
alfi33 alfi33 is offline
Sage Aficionado
 
Join Date: Jun 2008
Posts: 311
Quote:
Originally Posted by stuckless View Post
Thanks for the log. I've found and fixed an issue in the scoring code where sometimes the score being generated was "Not a Number", and this caused some other side effects, such as what you are seeing. This fix will go in to the final 3.0 build.
Great! Thanks. Looking forward to it! I am loving this tool. I don't know why I waited so long to give it a try.
__________________
Server: SageTV v9 on unRAID Docker; i5-2400; 16GB RAM; 9TB storage array; SiliconDust HDHR3
Client: Windows10; Intel Core2Duo; 4GB RAM; NVIDIA GeForce GT 1030
Client: NVIDIA ShieldTV
Client: Fire TV Stick 4K
Reply With Quote
  #1411  
Old 08-07-2009, 09:50 PM
alfi33 alfi33 is offline
Sage Aficionado
 
Join Date: Jun 2008
Posts: 311
Quote:
Originally Posted by cowboyway View Post
I did change the port to 8010 and restart the sage service when default didn't work. Still no joy trying: http://localhost:8080/bmt
If you changed the port to 8010, then you would need to go to http://localhost:8010/bmt
__________________
Server: SageTV v9 on unRAID Docker; i5-2400; 16GB RAM; 9TB storage array; SiliconDust HDHR3
Client: Windows10; Intel Core2Duo; 4GB RAM; NVIDIA GeForce GT 1030
Client: NVIDIA ShieldTV
Client: Fire TV Stick 4K
Reply With Quote
  #1412  
Old 08-07-2009, 09:56 PM
mayhewda mayhewda is offline
Sage Advanced User
 
Join Date: Mar 2009
Location: Toronto
Posts: 122
I have only the phoneix.jar file there. I have to be doing something wrong but everytime i update the sage.properties file save it, check it, its fine. Then i start sagetv and try the localhost command and it doesnt work. Check the sage file again and the updates are not there! I am lossing my mind as i have tried this 10 times :-) Is there anything special for editing this file? Appreciate any help.
__________________
HDTV's - Pioneer Elite Pro 150FD - Plazma
- Sharp 37D62 - LCD
- Sony 40 in LCD
1 x HD200 - connected to 150FD
1 x Sage TV server
Pioneer VSX92THX receiver
Monitor one 5.1 surround speakers
Sony S550 Blueray
Reply With Quote
  #1413  
Old 08-07-2009, 10:02 PM
alfi33 alfi33 is offline
Sage Aficionado
 
Join Date: Jun 2008
Posts: 311
Quote:
Originally Posted by mayhewda View Post
I have only the phoneix.jar file there. I have to be doing something wrong but everytime i update the sage.properties file save it, check it, its fine. Then i start sagetv and try the localhost command and it doesnt work. Check the sage file again and the updates are not there! I am lossing my mind as i have tried this 10 times :-) Is there anything special for editing this file? Appreciate any help.
Are you running Sage as a service? If so, did you stop the service before editing the properties file?
__________________
Server: SageTV v9 on unRAID Docker; i5-2400; 16GB RAM; 9TB storage array; SiliconDust HDHR3
Client: Windows10; Intel Core2Duo; 4GB RAM; NVIDIA GeForce GT 1030
Client: NVIDIA ShieldTV
Client: Fire TV Stick 4K
Reply With Quote
  #1414  
Old 08-07-2009, 10:19 PM
cowboyway cowboyway is offline
Sage User
 
Join Date: Aug 2009
Posts: 44
Quote:
Originally Posted by alfi33 View Post
If you changed the port to 8010, then you would need to go to http://localhost:8010/bmt
Typo in my posting... i was accessing via the correct port at http://localhost:8010/bmt
it does not work for me.

I tried accessing it via command line and get this error...

C:\Program Files\SageTV\SageTV>java -jar MetadataTool.jar -showProperties
Sage Provider Implementation: org.jdna.metadataupdater.BMTSageAPIProvider; org.j
dna.metadataupdater.BMTSageAPIProvider[BMT Command Line Impl]; Version: 6.5.19
Batch MetaData Tools (3.0-beta-9)
File Not Found: C:\Program Files\SageTV\SageTV\ûshowProperties
Consider adding --offline=true if you want to create an offline video.
No Files to process.

Never mind... localhost doesn't work... you need to use the actual IP address of the box.

Last edited by cowboyway; 08-08-2009 at 03:24 PM.
Reply With Quote
  #1415  
Old 08-09-2009, 06:20 AM
frontlinegeek frontlinegeek is offline
Sage Advanced User
 
Join Date: Sep 2007
Location: NB, Canada
Posts: 184
I am loving the BMT tool but I have one question/request...

Why is the rating for say, a movie, not showing up for an AVI/MKV of a movie but it will for the DVD rip?

I ask as I want to start using the parental controls because my little guy knows how to use the remotes now...
Reply With Quote
  #1416  
Old 08-09-2009, 07:26 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by que3jxp View Post
I am loving the BMT tool but I have one question/request...

Why is the rating for say, a movie, not showing up for an AVI/MKV of a movie but it will for the DVD rip?

I ask as I want to start using the parental controls because my little guy knows how to use the remotes now...
There was a bug opened for this, and after doing some researching, I found that themoviedb.org does not pass back the MPAA rating for movies. IMDB does, but some movies will not have have it set as well. So, it's not really reliable from imdb or themoviedb.org. DVD profiler does have a MPAA field, and the code will extract if it has a value.
Reply With Quote
  #1417  
Old 08-09-2009, 03:45 PM
frontlinegeek frontlinegeek is offline
Sage Advanced User
 
Join Date: Sep 2007
Location: NB, Canada
Posts: 184
Cool. Thanks.

Another question that has arose... File and directory naming conventions...

Is it OK to have TV shows set as follows:

c:\tv\24\Season 1
\Season 2

etc...

Then in each of the season folders, have the file name "e01.avi", "e02.avi", etc....

Thanks,
Jason.
Reply With Quote
  #1418  
Old 08-10-2009, 07:18 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by que3jxp View Post
Cool. Thanks.

Another question that has arose... File and directory naming conventions...

Is it OK to have TV shows set as follows:

c:\tv\24\Season 1
\Season 2

etc...

Then in each of the season folders, have the file name "e01.avi", "e02.avi", etc....

Thanks,
Jason.
The only format that bmt recognizes out of the box, is "ShowName - S##E## - Title.ext", but that is controlled by the tvfilename scrapers in the scrapers/xbmc/tvfilenames/* scrapers.

So, if you look at the existing scrapers, and you know a bit of regexp, then you can build a tv filename scraper that supports any naming convention that you use.
Reply With Quote
  #1419  
Old 08-10-2009, 07:21 AM
dbone1026's Avatar
dbone1026 dbone1026 is offline
Sage Advanced User
 
Join Date: Jul 2008
Posts: 243
Quote:
Originally Posted by stuckless View Post
The only format that bmt recognizes out of the box, is "ShowName - S##E## - Title.ext", but that is controlled by the tvfilename scrapers in the scrapers/xbmc/tvfilenames/* scrapers.

So, if you look at the existing scrapers, and you know a bit of regexp, then you can build a tv filename scraper that supports any naming convention that you use.
Also, another way would be to use a program such as tvrename which will automatically rename your files for you to the out of the box format that BMT recognizes. I use the program, it does the job and makes sure I keep my naming consistent
__________________
Cheers
Damian

Blog - http://www.adigitalhomeblog.com
MSS.net blog (contributing editor) - http://www.mediasmartserver.net
Reply With Quote
  #1420  
Old 08-10-2009, 08:35 AM
PLUCKYHD PLUCKYHD is offline
SageTVaholic
 
Join Date: Dec 2007
Posts: 6,257
Got another feature request what about a show description (for an entire series) I know you pull each episode description but a general show description would be nice as well.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 2 (0 members and 2 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:44 AM.


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