|
Batch Metadata Tools This forums is for discussing the user-created Batch Metadata Tools for SageTV. |
|
Thread Tools | Search this Thread | Display Modes |
#1221
|
||||
|
||||
@ccourtney - Thanks for the descriptive problem. I'm wondering why you think that it should have found "National Lampoon's Vacation". From the log that you posted, it logs out the movie title that is being searched against the movie title in the dvd profiler collection, and the best hit it found was at 86%. The default automatic plugin will reject any hits below 90% match.
Code:
Similarity Score: [National Lampoon's Vacation][National Lampoon's European Vacation]=[0.8627451] Similarity Score: [National Lampoon's Vacation][National Lampoon's European Vacation]=[0.8627451] Similarity Score: [National Lampoon's Vacation][National Lampoon's Christmas Vacation]=[0.84615386] Similarity Score: [National Lampoon's Vacation][National Lampoon's Christmas Vacation]=[0.84615386] Similarity Score: [National Lampoon's Vacation][Vegas Vacation]=[0.42424244] Similarity Score: [National Lampoon's Vacation][Vegas Vacation]=[0.42424244] When you ran from the commandline, did you use the --auto=false, because that will prompt. The other reason an item will prompt is if it cannot find a good title match, or if the search/write throws an error.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#1222
|
|||
|
|||
When RTFM is still not enough
Grandpa lived on a farm far away from the big city and used an old wood stove to keep warm during the winters. When I visited last, he was working hard downing trees with his old cross-cut saw and axe. When I got back to the city, I sent him a brand new Husky 255 chainsaw to make his life a little easier. I received the first call from him thanking me for the gift, but wanting to give it back to me because it was too hard to use. I walked him through a few techniques on cutting the trees and promised to send him an article on how to sharpen the teeth to make it cut better. I made him promise to give it good try, suspecting that he was just adverse to change. After several more complaints, I decided to visit him and see what I could do to help. We walked out to the timber line with the Husky and selected a small red oak. I showed Grandpa what I thought would be the best cut to fell the tree in the best place for us to section it. I then told him to stand back and I started the Husky up. Grandpa stepped back a few feet and yelled out "What's that noise?".
PS - No this isn't a real story, but it seemed time for a little comic relief. Sean - I'm one of the non-vocal (hopefully) majority that is using your tool. I will never understand exactly how you do it, but the thing approaches PFM. I'm happy to put up with the occasional hiccups (never knew 2001 was not a Space Odyssey, but rather an art film) and thankful to be in a better place now that before I met you. Keep the faith.
__________________
Frankentivo: iStar D-380HB, SuperMicro X107-F-O, Xeon 1270v3 CPU, Kingston 8 GB 1600MHz DDRR3L x 4 Tuners: 4 x HDHR OTA, 4 x HDHR3 OTA, 3 x HDHR Prime UnRAID Pro: 1 x Samsung 500GB Cache, 5 x WD Red 4TB (1 Parity, 4 Data) Extenders: 2 x HD-200, 1 x HD-300 on Atlona PRO3HD66m Sage: V9.0.14.567 with OpenDCT on unRaid docker, Gemstone, BMT, Web UI, PlayOn, TiSage |
#1223
|
||||
|
||||
Actually after re-reading I can see that it did index National Lampoon's Vaction, but it did not show up in the search results. If you could send me your collection.xml, then I can retest using your collection and see why the indexer failed to index and search the title.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#1224
|
||||
|
||||
No doubt youre obviously an extremely busy person stuckless. I certainly appreciate all the incredible work that you do (as do the other people who can't get the automatic plugin to work). I know your time is very valuable to you. I'm hoping when you do have time, you'll get around to figuring out whats causing the automatic plugin to not work for several people; whether it's a bug in BMT or a common system configuration that some people have that prevents it from not working.
__________________
Upgraded to Comcast X1 + Netflix/Amazon Video streaming ***RIP SageTV*** |
#1225
|
|||
|
|||
Quote:
java -jar MetadataTool \\sageserver\DVDs It prompted to select the right result for National Lampoon's Vacation which it did have one on the list with a score of 1.000. While I'm interested in why this particular one failed, I'm really interested in why such a failure would cause the rest of the scan to stop. That could be a culprit in things like mkanet's problem where he is only seeing half of his collection imported during a scan. I have also attached my Collection.xml file. Thanks, Craig
__________________
Server - WHS, AMD X2 4850e, 3TB, 2 HD-PVRs w/ D11 DirecTV STBs Client 1 - HD200 Client 2 - XP Home, AMD X2 5200+ w/ 8400GS Client 3 - XP Pro, AMD X2 3800+ w/ 8400GS |
#1226
|
||||
|
||||
@McDaddy - thanks for the chuckle
@mkanet, et al - I know that even while you guys are frustrated, that you do appreciate the effort being put forth. Sometimes I get cranky (as MeInMaui pointed out ) @ccourtney - You've given me something tangible that i can look at, I'll take a look at this over the next couple of days. (I neglected to mention in my prrevious post that wednesday night is a no code night - I golf ) Quote:
ie, an automatic plugin scan dialog would be something like this... Code:
SageTV: For each item in the Collection (or just a newly added item) SageTV: Request Metadata from Metadata Plugins for 1 item BMT: Hey, I've been given a file, let me do a lookup BMT: Parse title and search for matches using the configured providers BMT: Return Properties or Null back to SageTV SageTV: Hey, thanks for BMT for that work, User's will be happy to have metadata for thier movie (ok, maybe, there's no thanks, but it sort of works like that :) ) SageTV: BMT gave me some metadata, let me apply it to the item SageTV: if more items waiting to be scanned, then repeat, otherwise, complete SageTV: All Done Scanning 1. BMT creates an infinate loop and as such, when sage calls BMT for metadata, then it never returns. 2. BMT causes an out of memory error, which is not typically trapped, and a JVM has a very hard time recovering from OOM errors. 3. Scanning is still happening, but taking a long time to complete. So people are only seeing a fraction of their movies because Sage is still scanning. (bmt is the bottleneck here, since it takes times to search/find/download metadata/fanart) Usually when i do a full rescan of my collection, it can take a couple of hours to complete when the plugin is installed, but it can take only minutes when the plugin is not isntalled. That's a big difference. Sometimes when people say items are not being added, they mean that items are being added but without metadata, and other times, they mean, they are physically not being added. So I always have to decipher that as well.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#1227
|
|||
|
|||
Quote:
This one which I don't think is causing the process to stop on recent configurations. (Troubleshooting poster art issue as well.) Code:
Wed 7/8 12:24:24.762 [LibraryImporter@f1e6e4] Error instantiating metadata parser plugin of:java.lang.NullPointerException Code:
Wed 7/8 11:43:44.168 [LibraryImporter@1f25d83] BMT: BatchMetadataTools 2.3.1; Handling File: \\sageserver\DVDs\Star Wars I The Phantom Menace\VIDEO_TS; arg: Wed 7/8 11:43:44.196 [LibraryImporter@1f25d83] BMT: Reusing existing metadata for MediaFile: \\sageserver\DVDs\Star Wars I The Phantom Menace\VIDEO_TS Wed 7/8 11:43:44.198 [LibraryImporter@1f25d83] Seeker has finished the library import scan. Wed 7/8 11:43:44.198 [LibraryImporter@1f25d83] PooledThread ended w/ an exception: java.lang.NullPointerException Have fun playing golf!
__________________
Server - WHS, AMD X2 4850e, 3TB, 2 HD-PVRs w/ D11 DirecTV STBs Client 1 - HD200 Client 2 - XP Home, AMD X2 5200+ w/ 8400GS Client 3 - XP Pro, AMD X2 3800+ w/ 8400GS |
#1228
|
||||
|
||||
Hi Sean,
Great plugin. I am new to the plugin. I followed the instructions and successfully installed version 3 beta 4 and configured it for automatic scanning. Everything was working, including the web interface, and manual scanning from SageMC. I'm pretty sure it auto-scanned a few shows as well. Somehow, after I refreshed the library, BMT broke and I have not been able to fix it. Whenever I go to the jetty page, I get the errors "Failed to get status for: SageTV", then "...:Metadata Tools", then "...:Phoenix". Someone else mentioned in the thread to reindex the entire media library, but when I choose that option, it says "Failed to start scan." Is there a way to reset everything, and start from scratch? I don't mind if I lose stuff that was already processed. Thanks in advance. |
#1229
|
|||
|
|||
Quote:
__________________
SageTV v9.1.10.479 on Ubuntu (testing v9.1.10.479 on Debian and Win10) |
#1230
|
||||
|
||||
Quote:
__________________
Cheers Damian Blog - http://www.adigitalhomeblog.com MSS.net blog (contributing editor) - http://www.mediasmartserver.net |
#1231
|
||||
|
||||
Quote:
Thanks.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#1232
|
||||
|
||||
Quote:
@dbone - Just noticed your comment. beta-4 added a new check to where I had noticed the problem before. So the problem is known, but it is also considered fixed. But this may be a slightly different problem.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient Last edited by stuckless; 07-08-2009 at 12:33 PM. |
#1233
|
||||
|
||||
Quote:
On on-demand scan of a single item from the UI is handled slightly different but does end up calling the same bmt apis.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#1234
|
|||
|
|||
Quote:
In my case, I have an issue with the automatic updater, but since I haven't even had time to do minimal tinkering to see what is happening, I haven't bothered to waste your time asking for all the various possible things that could be causing it to not work. It's too bad some people don't recognize that so many of these tools started as someone trying to simplify something for themselves and then sharing their work. If I'm not stepping on toes, I'd suggest a form/list of info you need to aid in diagnosis. If it was linked from post#1, then you or anyone else reading the thread could point to it as a standard response when people ask questions without supplying enough info. It would have the benefit of anybody on the thread being able to point people at the info needed and you could comfortably ignore posts that don't contain enough info for you to help in diagnosis. I'll start to put together a list/form unless someone beats me to it. Oh, yeah - Thanks for a cool tool! The on-demand tool does a great job for me.
__________________
SageTV v9.1.10.479 on Ubuntu (testing v9.1.10.479 on Debian and Win10) |
#1235
|
|||
|
|||
Quote:
__________________
SageTV v9.1.10.479 on Ubuntu (testing v9.1.10.479 on Debian and Win10) |
#1236
|
|||
|
|||
Setup and Diagnostic Form
Here's a start of a list of items to aid in diagnosis. What else should be on here?
Code:
What bmt version 2.x (stable) or 3.x (beta)? What SageTV version? SageMC or default STV? SageMC version? Java version? Phoenix version? SageTV setup: Is central FanArt folder enabled? Is central FanArt folder local or a network share? Do you have SageTV set up to do automatic scans? If yes, how often? Do the scans import new videos? BMT setup: Command Line Tool: Have you successfully used the command line tool? On-demand Tool: Have you imported the on-demand plugin (stvi of xml)? Do you have the on-demand plug-in enabled? Automatic tool: Do you have these 2 properties set in sage.properties? mediafile_metadata_parser_plugins=org.jdna.sage.MetadataUpdaterPlugin custom_metadata_properties=UserRating;EpisodeNumber;EpisodeTitle;MediaTitle;MediaType;OriginalAirDate;SeasonNumber;MediaProviderDataID;DiscNumber Please give a description of the steps to reproduce your issue:
__________________
SageTV v9.1.10.479 on Ubuntu (testing v9.1.10.479 on Debian and Win10) |
#1237
|
||||
|
||||
rmac321 - great idea on the support form. I'll take your list and make it a part of the first post. It's also something that I had hoped to incorporate into the web ui. ie, a bug submission form that would collect various pieces of information, including the problem, and allow the user to copy and past that into thread post or bug submission.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#1238
|
||||
|
||||
Quote:
I tried removing everything after Code:
mediafile_metadata_parser_plugins= Another symptom is that when I go to http://<servername>:<port>/bmt, the default page is not loaded. Instead, I am presented with links to the contents of the /bmt folder (instead of launching the default page), and I have to manually choose BMTWeb.html. Once I do, it goes to the page, but then gives me the status errors. |
#1239
|
|||
|
|||
Yes, I am using 6.5.19. I'll reset the config and get you a clean set of log files with debug turned on for the importer. You should have the e-mail tonight.
__________________
Server - WHS, AMD X2 4850e, 3TB, 2 HD-PVRs w/ D11 DirecTV STBs Client 1 - HD200 Client 2 - XP Home, AMD X2 5200+ w/ 8400GS Client 3 - XP Pro, AMD X2 3800+ w/ 8400GS |
#1240
|
||||
|
||||
Quote:
__________________
Cheers Damian Blog - http://www.adigitalhomeblog.com MSS.net blog (contributing editor) - http://www.mediasmartserver.net |
Currently Active Users Viewing This Thread: 3 (0 members and 3 guests) | |
|
|
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 |