|
Batch Metadata Tools This forums is for discussing the user-created Batch Metadata Tools for SageTV. |
|
Thread Tools | Search this Thread | Display Modes |
#321
|
||||
|
||||
Quote:
To solve this problem i'll be implementing a results check that will "test" the filename against a result for cases where the results do not include information on the type of result. This will hopefully enable automatic selection for providers that don't provide that information (ie, xbmc scrapers and the nielm_imdb provider) Your second problem is most likely a bug. The Xbmc scrapers are a new addition and no doubt include some bugs. If you could re-run the tool on a movie that doesn't work, then then post a zipped metadataupdater.log file, then I can take a look for you. Or you can simply reply with the full filename of the movies that don't work, and I can test using the --offline switch.
__________________
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 |
#322
|
||||
|
||||
Quote:
P:\Movies\Inconvenient Truth\VIDEO_TS P:\Movies\Constant Gardener\VIDEO_TS All together I think there are 5 or so out of about 80 movies that don't work. I though it might be because I left the article off the title but i have other movies where that is the case and it didn't matter. Also the search does fine a match and I tell it to use the match it never says "Updated..." or produces files. Thanks for you help and this great tool. |
#323
|
||||
|
||||
I've got about 600 DVD's listed in the DVD Profiler database (and I'd also have to guess the artwork is pretty high-res), I'll try running it with the 512m setting when I get home this evening and see how it fares.
UPDATE: Yep, 512m fixed it. Have to remember that next time . Quote:
__________________
Server: AMD Phenom 2 920 2.8ghz Quad, 16gb Ram, 4tb Storage, 1xHVR-2250, 1 Ceton Cable Card adapter, Windows 7 SP1 Last edited by heffe2001; 01-26-2009 at 07:45 PM. |
#324
|
||||
|
||||
Quote:
__________________
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 |
#325
|
||||
|
||||
Log is attached. Thanks for your help!
|
#326
|
||||
|
||||
It appears that you xml that is being created from the xbmc scraper is invalid. The interesting thing is that I don't get an error on my system (linux) for the same search.
I'm going to try some work arounds.
__________________
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 |
#327
|
|||
|
|||
is it possible to stop creating these mailcheck.log files or make them all the same name, right now i keep deleting them manually but it's kind of annoying lol
this is from using the plugin off course |
#328
|
||||
|
||||
Quote:
Well.... it's not that simple. I don't create a mailcheck log file. The Plugin sends all errors (and logging) to log4j. It would appear that another plugin is "hijacking" the log4j configuration and sending it's output to maillog.txt. When I configure log4j, I intentionally don't configure a root logger, so that I don't hijack someone else's logging. I'll look into the logging some more to see if there is anything that I can do on my end.
__________________
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 |
#329
|
||||
|
||||
I just wanted to update you with a list of all the titles I have that don't generate a properties file using imdb.xml if this is of help to you. All of them do work using the default imdb provider you created. If you want any more logs let me know.
MOVIEDIR\Constant Gardiner\VIDEO_TS MOVIEDIR\Inconvenient Truth\VIDEO_TS MOVIEDIR\Fabuleux destin d'Amélie Poulain\VIDEO_TS MOVIEDIR\Cidade de Deus\VIDEO_TS MOVIEDIR\Harold & Kumar Escape from Guantanamo Bay\VIDEO_TS MOVIEDIR\Antz\VIDEO_TS |
#330
|
|||
|
|||
Is there a --switch to get BMT to just touch the timestamps of all the files in a folder (and subfolders) without forcing updates of the metadata, media or .jpgs? I had a drive failure and I want to refresh my media library to get rid of some ghost entries.
I've found a couple of win32 ports of the unix touch command but either they don't support network shares or they don't do subfolders depending on which one I tried. |
#331
|
||||
|
||||
Quote:
Code:
force_full_content_reindex=true
__________________
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 |
#332
|
|||
|
|||
Yeah, I just installed cygwin and used the touch command, it does the same thing but without having to stop and start the service.
Thanks though... Last edited by S_M_E; 02-10-2009 at 08:08 AM. |
#333
|
||||
|
||||
I don't spend a lot time in windows... but when I do... cygwin is my best friend
__________________
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 |
#334
|
|||
|
|||
I know what you mean, I like FreeBSD and Solaris; cygwin is nice to have at times. So is BMT.
|
#335
|
||||
|
||||
New Release 1.18
Download
Fixes/Enhancements
Multiple Providers You can now pass/set multiple providers to use while scanning. Just comma separate the provider ids, no spaces. If you use multiple providers, it will use them in order for the type of media that it is scanning. For example, if you set imdb.xml,themoviedb.org,imdb,tvdb.xml as the provider string, and it's movie file, then it will use imdb.xml and check for a good match, if there is no match, then it will move onto themoviedb.org, etc, until it finds a good match. If the file happens to be a tv file, then any provider that doesn't support TV metadata will be skipped, so in this case, all of them except for tvdb.xml will be skipped. TV Support This is very basic TV Support (mainly for my needs when using it this as a plugin). To enable tv support, either add tvdb.xml to the providers on the command line or set it in the metadata.properties Code:
/metadata/defaultProviderId=imdb.xml,themoviedb.org,imdb,tvdb.xml TV Support only checks one kind of TV title, in the format "Show SxxExx", as defined the in the title scraper file scrapers/xbmc/tvfilenames/Title-s00e00.xml. You can define your own TV Title scraper format by editing this file, or creating a new .xml file in the same directory. TV Title scrapers get passed a filepath uri, and you are required to provider 3 Functions. A GetShowName Function, GetEpisode Function and GetSeason function. These are just reqular expressions in the xbmc format for parsing out that information from a show's filename uri. The current title scraper looks like... Code:
<?xml version="1.0" encoding="UTF-8"?> <!-- TV Filename Scraper. Used to Scrape Show Name, Season and Episode from a given file URI $$1 is always the complete file uri --> <scraper name="title-s00e00" content="filename" thumb="thumb.png"> <!-- input: $1=complete file uri --> <!-- returns: show name --> <GetShowName dest="3"> <RegExp input="$$1" output="\1" dest="3"> <expression>.*/(.*)s([0-9]{1,2})[ex]([[0-9]]{1,2})</expression> </RegExp> </GetShowName> <!-- input: $1=complete file uri --> <!-- returns: Season #--> <GetSeason dest="3"> <RegExp input="$$1" output="\2" dest="3"> <expression>[/]*(.*)s([0-9]{1,2})[ex]([[0-9]]{1,2})</expression> </RegExp> </GetSeason> <!-- input: $1=complete file uri --> <!-- returns: Episode #--> <GetEpisode dest="3"> <RegExp input="$$1" output="\3" dest="3"> <expression>[/]*(.*)s([0-9]{1,2})[ex]([[0-9]]{1,2})</expression> </RegExp> </GetEpisode> </scraper> The TV Title mask can be set using the following property Code:
/sageMetadata/tvTitleMask=${Title} - s${_season}e${_episode} - ${_showTitle} Movie Title Re-Writing Movie titles that start with A,The, etc, can be rewritten by setting the following property Code:
/sageMetadata/rewriteTitle=true Code:
/sageMetadata/rewriteTitleRegex=^(in\\s+the|in\\s+a|i\\s+am|in|the|a|an|i|am)\\s+(.*) Some examples...
Search Result Scoring I added a scoring system that will score search results for providers that do not provide information about the quality of the search result. This was added so that any provider, such as the nielm_imdb provider, can be used for automatically searching and selecting a good result. This will probably be my last release of this tool (barring some real important bugs) for some time. I have a few other projects on which I need to focus for the time being. I will fix bugs, but I think that this tool is all that it can be (for now). I think that between this tool and EP's metadata tool, that the batch metadata field is quite well covered. Feel free to post suggestions on how to improve this... I will eventually get back to working on this again... but for now... I hope this will suffice. Enjoy/
__________________
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; 02-10-2009 at 06:24 PM. |
#336
|
|||
|
|||
Looks like some good bug fixes there, I'll be testing shortly. I hate to see this tool going away though...
Can --displaySize be set in the .properties file or only in the commandline? "Failed while applying arg: displaySize (20) to method: setDisplaySize" EDIT: Oh I see, it's been changed to --setDisplaySize but the --help still shows --displaySize and it's ignoring the =20 parameter EDIT2: I'm also seeing this for the not-skipped titles: "Search Results: Stolen Honor Wounds That Never Heal 2004 00 (/) - null [null] 01 (/) - Stolen Honor: Wounds That Never Heal [2004] LEGEND: * Exact Match; / Partial Match; + Popular Match; ? Unknown;" Last edited by S_M_E; 02-10-2009 at 06:44 PM. |
#337
|
||||
|
||||
Quote:
Anything that is passed on the command line, can be set in the properties files (i think ) ... Do a --showProperties and grep/search for size... it should be in there. I'll check the app tonight though... to see if i've accidentally introduced a bug with this release, related to setting the display size. What provider are you using? the command line parameter is --displaySize... but it get's mapped to a method call setDisplaySize.... so --displaySize is correct, but It appears that maybe there is a bug... i'll check tonight.
__________________
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; 02-11-2009 at 08:56 AM. |
#338
|
|||
|
|||
I used this command:
java -jar MetadataTool.jar --recurse --setDisplaySize=20 --prompt=true --auto=false --provider=nielm_imdb,themoviedb.org,imdb,imdb.xml,tvdb.xml --setProperty=/imdb/forcedIMDBImageSize:1920 \\Abit\videos\Movies\ Using "--displaySize=20" resulted in the error that I quoted yesterday. I found the setting for the .properties file: /metadataUpdater/searchResultDisplaySize=20 but I still only get 10 results. Must be a bug but I don't know if it's related to the "00 (/) - null [null]" that I see on most files. Also, it's still prompting for those movies (listed a couple of pages back) that that have an empy _thumbnailUrl field. I ran BMT against one movie that's still giving problems so I could give you a smaller log: java -jar MetadataTool.jar --recurse --prompt=true --auto=false --provider=nielm_imdb,themoviedb.org,imdb,imdb.xml,tvdb.xml --setProperty=/imdb/forcedIMDBImageSize:1920 "\\Abit\videos\Movies\Documentaries\Stolen Honor Wounds That Never Heal (2004).mpg" Batch MetaData Tools (1.18) ** Automatic Updating Disabled *** IMDB getting URL:http://www.imdb.com/find?s=tt&mx=200...ver+Heal++2004 Search Results: Stolen Honor Wounds That Never Heal 2004 00 (/) - null [null] 01 (/) - Stolen Honor: Wounds That Never Heal [2004] LEGEND: * Exact Match; / Partial Match; + Popular Match; ? Unknown; [q=quit, n=next (default), ##=use result ##, TITLE=Search TITLE] > 01 Updated: Stolen Honor: Wounds That Never Heal; file:////Abit/videos/Movies/Documentaries/Stolen%20Honor%20Wounds%20That%20Never%20He al%20(2004).mpg MetaData Stats... Auto Updated: 0; Auto Skipped: 0; Manual Updated:1; Manual Skipped: 0; (log attached) Last edited by S_M_E; 02-11-2009 at 05:27 PM. |
#339
|
||||
|
||||
New Release 1.20
Download
I guess i was in too much of a rush to get this out last night... some things slipped though the cracks.... sorry about this..
__________________
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 |
#340
|
||||
|
||||
Hi,
I've tried the new version 1.20 but I am still having issues with certain movies. I now get a "fatal error". I have attached a log for the movie Pleasantville. Thanks |
Currently Active Users Viewing This Thread: 15 (0 members and 15 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 |