|
Batch Metadata Tools This forums is for discussing the user-created Batch Metadata Tools for SageTV. |
|
Thread Tools | Search this Thread | Display Modes |
#61
|
|||
|
|||
Great tool. I tired it with your imdb provider and it worked like a champ.
I then tried nielm_imdb provider to see what the detail differences are, unfortunately I ran into a problem. The tool finds the list properly with a bunch of "?" matches (like it is suppose to). When I select the number i want (like "00") the tools runs an IMDB query with "00" instead of using the first result. (BTW, I will be a very happy man when I get this tool working. My win.biz file was recently corrupted. For some reason my back was also corrupted. So, I lost all the IMDB lookups I did by hand. There is no way I am going re-run those again...) |
#62
|
|||
|
|||
Works like a charm... thanks. I guess somehow I had the old jar in place with the new one and the tool used the old one. Perhaps one of the future versions could output the current version number to the .log file and us users could catch these things without bother you
Both issues I had found (touch of time stamp and DVDProfiler issue) are fixed. I will continue to test but so far so good. Question: is there anyway to use the TitleMask to remove a portion of the title returned by DVD Profiler? I noticed the online url list appends 2 fields together to make up the title. For example - After the Sunset comes back as "After the Sunset: Widescreen New Line Platinum Series" which is the <Title> field and the <DistTrait> concatenated together. I can not find any options on the online view to change it to only show title. Don't worry too much about this as I can edit the title in the .properties file or wait till you get the XML DVD Profiler version done which has these fields seperately. Thanks again for the great tool. Ken |
#63
|
||||
|
||||
Released 1.4
This release adds support for local dvd profiler xml and images. It aslo fixed a bug when using the nielm_imdb provider. The bug was around the fact that I can't get director or writer information from this plugin, so the exporter was failing. I don't recommend using this plugin since it is missing some information (although it provides more information for things like actors). See the wiki for more information.
__________________
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 |
#64
|
|||
|
|||
I still haven't tried this yet (hope to soon), but wondering if there was any chance this could be somehow integrated into the SageMC UI? So you could do some of these functions using the "10-foot interface"?
|
#65
|
||||
|
||||
Quote:
This tool is not tied to a command line, a command line simply drives the tool. It could be inserted into another UI by simply calling the engine with the parameters needed. At the very minimum, a person would have to create a IMetadataUpdaterScreen implementation. The Screen is simply a way for the tool/engine to communicate information and get user input. If someone is looking at implementing this in the Sage UI, then feel free to contact me. I can help, I just can't do any STV work. I have no problems creating the necessary bridge code, which won't be much. Personally, I'd like it implemented in the default STV, but I'd still help someone put it in SageMC if needed.
__________________
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 |
#66
|
|||
|
|||
Quote:
Thanks for the info - hopefully we'll find someone with the skills to get it in both the stock STV and SageMC - its useful enough to be included in both. |
#67
|
|||
|
|||
I have tested the DVD Profiler Local provider and so far so good. I am running into some kind of issue when using this in combination with --offline where it seems to treat the last directory in the path as a movie title rather than as a directory, and therefore it doesn't find the real movies in the path. But I will do more testing later tonight to see if I can narrow down the issue.
I have attached the log for when this occurs (taking the --offline out solves this but of course only for files that exist) Ken |
#68
|
||||
|
||||
Quote:
I could potentially check if the --offline file being passed is a directory and if so, then either treat it like a normal directory, or throw an exception.
__________________
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 |
#69
|
|||
|
|||
Sorry about the misunderstanding... I thought about what I wrote after I sent it and then went out for awhile. Obviously the --offline flag shouldn't be used with a directory.
You mentioned passing in multiple files names... how does that work? Also, I had another suggestion. I thought about your caching capability in conjunction with the --offline capability and the DVD Profiler functions and thought... why not have the ability to process an entire collection (--collection), similar to processing a full directory. This obviously wouldn't work with the IMDB provider (as the collection is massive), but it would be great for us DVD Profiler users to have the tool process the entire collection of movies in the collection.xml (or perhaps from the url) in an offline mode so it creates .jpg, .properties and .avi files for the entire offline movie collection. Now that would be a handy function. Thanks again for all your hard work. Ken |
#70
|
||||
|
||||
Quote:
Code:
# java MetadataTool --offline "moviedir/batman returns.avi" moviedir/alien.avi Code:
# java MetadataTool --offline `cat Collection.xml | grep "<Title>" | egrep -v "<Title>True|False</Title>" | sed "s/<Title>/MyMovieDir\//g" | sed "s/<\/Title>/.avi/g"` The same is true for regular directory processing. If you have 2 movie locations, moviesa/ and moviesb/, then you can process both dirs by Code:
# java MetadataTool moviesa/ moviesb/
__________________
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 |
#71
|
|||
|
|||
Wow... now I just need to figure if there is a Windows equivelent to that linux command line to process my xml... I'll do some research.
Thanks Ken |
#72
|
|||
|
|||
Research pays off....
I found a plugin for DVD Profiler that lets you run a batch file for each movie in the database. I created a batch file that basically creates an empty .avi file per title from the database. I then had the batch file call the metadatatool on that directory which then built the .properties and copied the .jpg. This makes rebuilding my offline library a breeze |
#73
|
|||
|
|||
Thank you, Thank you, Thank you for this wonderful add on. It saved me a bunch of time.
I have always thought no batch processing on IMDB lookups was major omission. Now it is here... (I also love that I can re-run it over a processed directory and it will only lookup things that it has not already processed. Plus having the property file makes it easier to move things around when I get a new drive. I am very happy. ) |
#74
|
|||
|
|||
#75
|
|||
|
|||
I need to read the first time around.
I ran the tool, it worked. But created about 150 new Genres! OMG... screams... Action/comdey/thirllers I just want normal one's like action, comdey, horror |
#76
|
||||
|
||||
Quote:
Code:
# Set to true|false to enable/disable single or multiple genre entries per line org.jdna.media.metadata.impl.sage.SageVideoMetaData.singleGenreField=true I'll make a note so change this so that the default is true, until sage provides support for multiple genres. I also made a note to include additional covers support. The biggest problem that I see, is that I intended this tool to be mostly automated and command line driven, so prompting for imdb search results, then cover results (which you wouldn't see) could be a bit tedious. I'm on vacation for 2 weeks (starting friday), but when I get back i'll look into some ideas on how to implement different cover providers, in case someone wants to put this into a Sage ui. And yeah.... always good to read the documentation before you run the tool You can check out the full documentation here http://code.google.com/p/customsaget...tadataImporter You may want to pay close attention to the properties section. It will contain some brief description about what each property does.
__________________
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 |
#77
|
|||
|
|||
Great I'll have to try that tonight, yah I was a bit freaked when I saw like 150 different Genre's
My wife made a scream to, it worked almost a little to good there for a moment. I understand the need for the tool to be automated, but the cover images we currently pull down from IMDB is very limited. There also is: http://www.impawards.com/ http://movie-xml.com/ http://nicecovers.com/ Has the best resources, cause with a HD TV having 2-bit posters rather sucks :P |
#78
|
||||
|
||||
i just hope that sage will remove the unused genres after the scan... if not, then that would really suck.
__________________
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 |
#79
|
|||
|
|||
Crap..
I hope so to |
#80
|
|||
|
|||
No luck sage kept everything
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 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 |