|
Batch Metadata Tools This forums is for discussing the user-created Batch Metadata Tools for SageTV. |
|
Thread Tools | Search this Thread | Display Modes |
#281
|
|||
|
|||
Quote:
|
#282
|
|||
|
|||
no reply on my previous post on the other page and im still having issues with 1.15 and i dont think it's me. i just did another test and same file on 1.15 gives me an error while 1.13 works without issues
can someone pls have a look and let me know that it aint me lol only command executed on both versions was java -jar MetadataTool.jar c:\test |
#283
|
|||
|
|||
Try a different provider or other switches. I use:
java -jar MetadataTool.jar --recurse --prompt=true --auto=false --provider=nielm_imdb --setProperty=/imdb/forcedIMDBImageSize:1920 \\Abit\videos\Movies\ You won't need recurse or the forcedimagesize property for your test. Most files work but sometimes I have to use the imdb provider instead of nielm's. |
#284
|
||||
|
||||
I apologize... I totally missed your previous post.
I looked at the 1.15 log and i see an error in there regarding unspported class version. What java version are you using? I know that java 1.5 (java 5) is the minumum supported for this tool. I may have accidentally recompiled with java 6, which may account for the exception that i;m seeing the log file. I checked your prev posted log file. That one is from using it as a plugin. I checked the found the spot in the source code where the exception was happening, but I can't figure how it's getting there... I do a "null" check before the statement... and yet your exception is throwing a null pointer... so I'm confused about that. If you are using it as a plugin, then make sure the JARs directory doesn't have 2 copies of the metadata-updater jar file. Keep the newest one. Also, if you haven't done so, then download a fresh copy of the BMT command and extract it into a separate directory, and run from there. Also, if you have cache or .cache directory, then delete that directory. Could do a java -version to get me you java version. Also do a java -jar MetadataTool.jar --listProviders and see if you have the full list of providers. I think that maybe something is off with the provider registration. Thanks, and sorry about ignoring you. 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 |
#285
|
||||
|
||||
Maybe this is something that I can do in Sage itself, but I'll ask here because it's come up when I've downloaded metadata.
It's about genre's. I currently have "Action" as a genre, but now also have "Action Film". I know I can go into the .profiles to edit these manually, but, well, that's a manual fix. Is there a way to have the metadata tool force "Action Film" to "Action", or, alternatively, have them collapsed together in Sage (so that they appear in the same group in SageMC?) thanks matt
__________________
Server: Ubuntu 16.04 running Sage for Linux v9 |
#286
|
|||
|
|||
lets start from the beginning, looks like u were right the last two logs i posted was a java issue, my server comp where i was running the BMT had only 1.5.xx installed, once i updated the java to 1.6.11 it worked with some issues however
i still had a problem or two where when i did a scan and set --auto=false and then i saw the movie i wanted to pick, it wouldnt select them, see command-copy.txt. two files i can remember were Burn-e, even though i select 01 it picked 00 (burn after reading) and then the next one was kingdom (the kingdom) after selecting 02 it would still select 00 which was indy jones kingdom of the skull i also included the full log of that session, had to split into two parts though it was too big. i used the themoviedb.com-2 and i was getting backgrounds as well for the movies, at the end it said 8 entries were skipped. then the plugin is still giving me the same problem. that computer has 1.6.11 installed as well, but i dont know why 1.15 plugin will not work, but the 1.13 does and i did make sure i deleted the old updater file when installing 1.15 (mailcheck.log attached) tnx for all ur work |
#287
|
||||
|
||||
I can't seem to find a reason why you are experiencing these issues... so I'm going to do another build and upload it. I'm not sure if I can do it this weekend or not... but when I do, I'll post a notice in this forum. I'm also going to add some extra debug information that may help me.
__________________
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 |
#288
|
||||
|
||||
New Release 1.16 - Bug fixes
I've updated new releases for both, BMT and the BMT Plugin.
I fixed a bug in the Plugin portion that was causing a null pointer exception when it tried to write the metadata for a movie that did not contain a backdrop. I also added some extra debugging and remove the excessive imdb logging.
__________________
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 |
#289
|
|||
|
|||
cool i'll try it out in the next few days when i have some time and stop recording 24, hope it works better
|
#290
|
|||
|
|||
well i managed to update the plugin and tried one movie and it didnt work, now i just tried another one and it did work
i cant find any other references anywhere else let me know if u would like any other files here is a copy from the debug file Quote:
Quote:
Last edited by mp328; 01-14-2009 at 09:55 PM. |
#291
|
||||
|
||||
mp328, could you try using the command line tool and then send me the log file. Also, maybe you could send me your sagetv_0.txt log file as well for the media file that doesn't work.
Could you also send me the file names for the ones that didn't work. 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 Last edited by stuckless; 01-15-2009 at 06:39 AM. |
#292
|
|||
|
|||
Quote:
it worked fine with "Defiance" as u can see below, also worked with "18 year old virgin" but this stupid "Penguins Save the Planets" animation did not work and for some reason "letters from iwu jima" also would not work thru the plugin, but works fine with the BMT here is the last sage_tv log and the one from before that has the "penguin" entry in it, had to trim that one down, it was 6MB |
#293
|
|||
|
|||
last two parts
like i said, i believe it is working, just an odd name that one file it didnt find anything |
#294
|
||||
|
||||
Thanks for the logs. I couldn't find anything that was out of the ordinary in them.
As for the "letters from iwu jima", I didn't see any reference to the metadata plugin handing it at all. I saw an entry that sage was removing it, and another entry related to dvd profiler, but nothing related to metadata plugin. But, it does seem that for the most part, the plugin is working, except for entries where the provider (imdb) can't find the movie.
__________________
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 |
#295
|
|||
|
|||
Quote:
|
#296
|
|||
|
|||
I'm not sure why but some of the imported videos in my collection, that DO have .properties files aren't being skipped. Every time I run BMT it prompts me for these.
So I deleted the .properties files and ran BMT, it prompted me for the movies again but it never made another .properties file. Auto Updated: 0; Auto Skiped: 0; Manual Updated:0; Manual Skipped: 401; (typo in "Auto Skiped" btw) Command: java -jar MetadataTool.jar --recurse --prompt=true --auto=false --provider=nielm_imdb --setProperty=/imdb/forcedIMDBImageSize:1920 \\Abit\videos\Movies\ If I use themoviedb.com-2 provider it creates the .properties file but the next time I run BMT it prompts for the same movies again. Auto Updated: 0; Auto Skiped: 0; Manual Updated:9; Manual Skipped: 382; I'll attach the log using both nielm_imdb and themoviedb.com-2 providers on one of the problem movies so they won't be huge. |
#297
|
||||
|
||||
SME, thanks for the logs. I fixed the typo and I did find a bug in my nielm provider.
As for it pestering you, when I does have metadata, here is the criteria for NOT skipping a file... 1. mising .properties file (not your case) 2. timestamp on .properties is newer than the timestamp on the mediafile 3. .properties is missing EITHER Title or _thumbnailUrl #2 should not be happening, since BMT updates the timestamp on your media files when it writes the .properties file. It does this, so that SageTV 'notices' that your file has new metadata. BUT, I've seen cases in my own environment, that if the files are on a network share, then sometimes that timestamp doesn't get updated. Not sure is this a java bug, os bug, or a network share bug. The other reason for BMT to NOT update the timestamp on the media file is because of file permissions.
__________________
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 |
#298
|
|||
|
|||
I'm sure that #3 isn't an issue and permissions are OK too; when I used themoviedb.com-2 provider It did "touch" the files to update the timestamp so that rules out #2 too. I did try 1.15 again with same results but I didn't go back any further than that. Once you release the next version I'll try again.
I also saw a couple of these "fatal errors" while trying, again, to grab backdrops for a different file: [Fatal Error] Movie.getInfo?id=2787&api_key=d4ad46ee51d364386b6cf3b580fb5d8c:21:44: The reference to entity "ct" must end with the ';' delimiter. From the log: 42758 DEBUG [main] org.jdna.media.metadata.impl.sage.SageVideoMetaDataPersistence - Loading Sage Video Metadata properties: \\Abit\videos\Movies\The Chronicles of Riddick Collection\Pitch Black (2000).avi.properties 43384 ERROR [main] org.jdna.media.metadata.impl.themoviedb.TheMovieDBItemParser - Failed while parsing: http://api.themoviedb.org/2.0/Movie....=2787&api_key= org.xml.sax.SAXParseException: The reference to entity "ct" must end with the ';' delimiter. at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source) at javax.xml.parsers.DocumentBuilder.parse(Unknown Source) at org.jdna.media.metadata.impl.themoviedb.TheMovieDBItemParser.getMetadata(TheMovieDBItemParser.java:43) at org.jdna.media.metadata.impl.themoviedb.TheMovieDBMetadataProvider.getMetaData(TheMovieDBMetadataProvider.java:24) at org.jdna.media.metadata.impl.themoviedb.TheMovieDBMetadataProvider.getMetaData(TheMovieDBMetadataProvider.java:20) at org.jdna.media.util.BackdropDownloaderVisitor.visit(BackdropDownloaderVisitor.java:57) at org.jdna.media.impl.AbstractMediaResource.accept(AbstractMediaResource.java:124) at org.jdna.media.impl.MediaFolder.accept(MediaFolder.java:174) at org.jdna.media.impl.MediaFolder.accept(MediaFolder.java:166) at org.jdna.media.impl.MediaFolder.accept(MediaFolder.java:174) at org.jdna.metadataupdater.MetadataUpdater.processBackdrops(MetadataUpdater.java:321) at org.jdna.metadataupdater.MetadataUpdater.process(MetadataUpdater.java:220) at org.jdna.metadataupdater.MetadataUpdater.main(MetadataUpdater.java:92) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at MetadataTool.main(MetadataTool.java:134) 43385 ERROR [main] org.jdna.media.util.BackdropDownloaderVisitor - Failed to process uri: file:////Abit/videos/Movies/The%20Chronicles%20of%20Riddick%20Collection/Pitch%20Black%20(2000).avi java.lang.NullPointerException at org.jdna.media.util.BackdropDownloaderVisitor.visit(BackdropDownloaderVisitor.java:58) at org.jdna.media.impl.AbstractMediaResource.accept(AbstractMediaResource.java:124) at org.jdna.media.impl.MediaFolder.accept(MediaFolder.java:174) at org.jdna.media.impl.MediaFolder.accept(MediaFolder.java:166) at org.jdna.media.impl.MediaFolder.accept(MediaFolder.java:174) at org.jdna.metadataupdater.MetadataUpdater.processBackdrops(MetadataUpdater.java:321) at org.jdna.metadataupdater.MetadataUpdater.process(MetadataUpdater.java:220) at org.jdna.metadataupdater.MetadataUpdater.main(MetadataUpdater.java:92) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at MetadataTool.main(MetadataTool.java:134) I have no idea why but I'm sure you will. |
#299
|
||||
|
||||
I'll try to put out another release this weekend, with some extra debugging for when it does not skip a file. That might help us narrow it down.
As for one error, themoviedb.com is sending back an invalid xml reply (data is not being escaped correctly). I've opened a bug with their developers. Thanks for finding it. The other error (null pointer) is now fixed. Thanks for finding it. Hopefully I'll be able to get a new build out sometime this weekend.
__________________
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 |
#300
|
|||
|
|||
Actually, there was more than one "fatal error" do you need another?
[Fatal Error] Movie.getInfo?id=585&api_key=d4ad46ee51d364386b6cf3b580fb5d8c:75:18: The entity name must immediately follow the '&' in the entity reference. From the log: 18391 ERROR [main] org.jdna.media.metadata.impl.themoviedb.TheMovieDBItemParser - Failed while parsing: http://api.themoviedb.org/2.0/Movie....d=585&api_key= org.xml.sax.SAXParseException: The entity name must immediately follow the '&' in the entity reference. at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source) at javax.xml.parsers.DocumentBuilder.parse(Unknown Source) at org.jdna.media.metadata.impl.themoviedb.TheMovieDBItemParser.getMetadata(TheMovieDBItemParser.java:43) at org.jdna.media.metadata.impl.themoviedb.TheMovieDBMetadataProvider.getMetaData(TheMovieDBMetadataProvider.java:24) at org.jdna.media.metadata.impl.themoviedb.TheMovieDBMetadataProvider.getMetaData(TheMovieDBMetadataProvider.java:20) at org.jdna.media.util.BackdropDownloaderVisitor.visit(BackdropDownloaderVisitor.java:57) at org.jdna.media.impl.AbstractMediaResource.accept(AbstractMediaResource.java:124) at org.jdna.media.impl.MediaFolder.accept(MediaFolder.java:174) at org.jdna.media.impl.MediaFolder.accept(MediaFolder.java:166) at org.jdna.media.impl.MediaFolder.accept(MediaFolder.java:174) at org.jdna.metadataupdater.MetadataUpdater.processBackdrops(MetadataUpdater.java:321) at org.jdna.metadataupdater.MetadataUpdater.process(MetadataUpdater.java:220) at org.jdna.metadataupdater.MetadataUpdater.main(MetadataUpdater.java:92) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at MetadataTool.main(MetadataTool.java:134) 18392 ERROR [main] org.jdna.media.util.BackdropDownloaderVisitor - Failed to process uri: file:////Abit/videos/Movies/Disney%20Collection/Monsters,%20Inc%20(2001).mkv java.lang.NullPointerException at org.jdna.media.util.BackdropDownloaderVisitor.visit(BackdropDownloaderVisitor.java:58) at org.jdna.media.impl.AbstractMediaResource.accept(AbstractMediaResource.java:124) at org.jdna.media.impl.MediaFolder.accept(MediaFolder.java:174) at org.jdna.media.impl.MediaFolder.accept(MediaFolder.java:166) at org.jdna.media.impl.MediaFolder.accept(MediaFolder.java:174) at org.jdna.metadataupdater.MetadataUpdater.processBackdrops(MetadataUpdater.java:321) at org.jdna.metadataupdater.MetadataUpdater.process(MetadataUpdater.java:220) at org.jdna.metadataupdater.MetadataUpdater.main(MetadataUpdater.java:92) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at MetadataTool.main(MetadataTool.java:134) and: 47917 ERROR [main] org.jdna.media.metadata.impl.themoviedb.TheMovieDBMetadataProvider - Failed to parse/search using url: http://api.themoviedb.org/2.0/Movie....6cf3b580fb5d8c com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid byte 2 of 3-byte UTF-8 sequence. at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.invalidByte(Unknown Source) at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.read(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.load(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.scanLiteral(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLScanner.scanAttributeValue(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanAttribute(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$ContentDriver.scanRootElementHook(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source) at javax.xml.parsers.DocumentBuilder.parse(Unknown Source) at org.jdna.media.metadata.impl.themoviedb.TheMovieDBSearchParser.getResults(TheMovieDBSearchParser.java:37) at org.jdna.media.metadata.impl.themoviedb.TheMovieDBMetadataProvider.search(TheMovieDBMetadataProvider.java:29) at org.jdna.media.util.BackdropDownloaderVisitor.visit(BackdropDownloaderVisitor.java:55) at org.jdna.media.impl.AbstractMediaResource.accept(AbstractMediaResource.java:124) at org.jdna.media.impl.MediaFolder.accept(MediaFolder.java:174) at org.jdna.media.impl.MediaFolder.accept(MediaFolder.java:166) at org.jdna.media.impl.MediaFolder.accept(MediaFolder.java:174) at org.jdna.metadataupdater.MetadataUpdater.processBackdrops(MetadataUpdater.java:321) at org.jdna.metadataupdater.MetadataUpdater.process(MetadataUpdater.java:220) at org.jdna.metadataupdater.MetadataUpdater.main(MetadataUpdater.java:92) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at MetadataTool.main(MetadataTool.java:134) Last edited by S_M_E; 01-16-2009 at 08:35 PM. |
Currently Active Users Viewing This Thread: 2 (0 members and 2 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 |