|
Batch Metadata Tools This forums is for discussing the user-created Batch Metadata Tools for SageTV. |
|
Thread Tools | Search this Thread | Display Modes |
#601
|
||||
|
||||
Unfortunately, I don't read the existing dvdprofiler path, but I'll make a note to check for that. BMT uses it's own configuration file, metadata.properties, which is in the same directory as your Sage.properties (server). You'll need to add the following lines for dvd profiler support...
Quote:
for example a path may look like this... 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 |
#602
|
|||
|
|||
Thanks - I will try that out... It would be good if it reads the existing dvdprofiler path as I think most folks would expect that.
Are these correct: /dvdprofilerLocal/imageDir=\\\\NAS\\SageTV\\DVD Profiler\\Databases\\Default /dvdprofilerLocal/xmlFile=\\\\NAS\\SageTV\\DVD Profiler\\Databases\\Collection.xml In particular, do you use the path directory where the image folder is, like in the UI or is imageDir the actual path to the image folder? My current metadata.properties file is: Code:
#Configuration Properties #Mon Apr 13 01:59:53 PDT 2009 /metadata/airingIdRegex=([0-9]+)-[0-9]{1,2}\\. /metadata/backgroundImageWidth=-1 /metadata/bannerImageWidth=-1 /metadata/defaultProviderId=dvdprofiler /metadata/enableDefaultSTVPosterCompatibility=false /metadata/goodScoreThreshold=0.9 /metadata/maxDownloadableImages=5 /metadata/persistenceClass=org.jdna.media.metadata.impl.sage.SageTVPropertiesWithCentralFanartPersistence /metadata/posterImageWidth=200 /metadata/scoreAlternateTitles=true /metadata/videoMetadataProviders=org.jdna.media.metadata.impl.imdb.IMDBMetaDataProvider,org.jdna.media.metadata.impl.nielm.NielmIMDBMetaDataProvider,,org.jdna.media.metadata.impl.dvdproflocal.LocalDVDProfMetaDataProvider,org.jdna.media.metadata.impl.themoviedb.TheMovieDBMetadataProvider /metadata/wordsToClean=1080p,720p,480p,1080i,720i,480i,dvd,dvdrip,cam,ts,tc,scr,screener,dvdscr,xvid,divx,avi,vrs,repack,mallat,proper,dmt,dmd,stv,HDTV,x264[/SIZE] On the "/metadata/videoMetadataProviders=" line it lists all the providers, even though I selected only 1 in the plugin. Questions: 1. Is the plugin not modifying the metadata.properties file? 2. Do I need to edit by hand? 3. Is the order in which the providers are listed used? 4. Are there other properties I should be setting? Can someone post a sample metadata.properties file for me? Last edited by sflamm; 04-13-2009 at 10:00 AM. |
#603
|
||||
|
||||
Quote:
Quote:
From what I can see, you only have dvd profiler active. Quote:
2. Yes, if you need to configure specific options (there are lots of options) 3. Yes, /metadata/defaultProviderId=dvdprofiler, is the list of providers, comma separated. List them in the order you want to use..., ie, /metadata/defaultProviderId=dvdprofiler,themoviedb.org,imdb.xml 4. There are so many properties.... best to read the --showProperties list and see if anything catches your attention. Quote:
Your metadata.properties looks fine... for a complete list of properties, use the command line... Code:
# java -jar MetadataTool.jar --showProperties
__________________
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 |
#604
|
|||
|
|||
Thanks for the detailed reply.
I have changed the paths to: /dvdprofilerLocal/imageDir=\\\\NAS\\SageTV\\DVD Profiler\\Databases\\Default\Images /dvdprofilerLocal/xmlFile=\\\\NAS\\SageTV\\DVD Profiler\\Databases\\Collection.xml I still am having no luck with the plug-in providing metadata. I tried to run the tool from the command line using the command: java -jar Metadatatool.jar --reindex --auto=false --prompt=true --recurse \\NAS\Videos and it returns: Batch MetaData Tools (2.1-2) Quote:
What am I doing wrong? I can't seem to get it to load the metadata?! |
#605
|
||||
|
||||
could you post your metadataupdater.log file? Everything seems like it should be working.
__________________
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 |
#606
|
|||
|
|||
I dont seem to have a metadataupdater.log file....?
I did discover a typo in the 'Collection.xml' path... and now the command line shows the meta-data updates that it will perform. I cancelled because I wanted the plug-in to make the updates. How do I get the plug-in to make these updates? Last edited by sflamm; 04-13-2009 at 11:41 AM. |
#607
|
||||
|
||||
if the media files are already added to the sage library, then I would use the command line tool, since it will tall sage that they exist.
otherwise, if you want to use the plugin, then you'll need to tell sage to reindex your collection, and it will attept to do so using the plugin. or, you can remove the video directory, and readd it, and sage will perform a rescan 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 |
#608
|
|||
|
|||
I noticed there is a --RefreshSageTV flag that says it will notify Sage... is this required or does it happen by default?
I added and removed the video library directory and now Sage does not see it, even after a manual rescan... how do I fix that? |
#609
|
||||
|
||||
I've tried a number of things to fix the Metadata/Fanart Search option in my setup, but nothing seems to remedy the issue. Any idea what might cause that option to not return any results? I realize that Fanart is the only thing that's currently retrieving anything. No matter what show I do a lookup on, no results are returned. It just has the pop-up that says "Metadata/Fanart Search" and a "close" button below that. I'm currently running SageTV 6.5.9 on WHS and the client, as well as SageMC 6.3.9. I tried beta 6.5.13 with the same results.
I also tried the --report=quick and --report=detailed options, and it said that the api was most likely not installed on the server. I then tried installing that without any change in the report's response. Let me know what other info/logs you need and I'll be happy to post them. Last edited by Skirge01; 04-13-2009 at 12:19 PM. |
#610
|
||||
|
||||
Are you using a windows client, placeshifter, or extender? If it's an extender/placeshifter, then you'll need the bmt application installed on the server. If it's a windows client, then you'll also need the bmt application installed in the sage directory of the client as well.
As always, you can post logs, and I'll try to look at them. I think that as of the latest build logging is redirected to wherever you have it set in your log4.properties. Probably the mailcheck.log, if it exists. also post your quick report.
__________________
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 |
#611
|
|||
|
|||
I disabled the ""automatic metadata/fanart" setting in the plug-in and then all my videos showed back up in my library...
How are you suppose to use this setting? How are you suppose to use the plug-in to scan and update the library as videos are added? If I run the tool from the command line it puts the "videoname.properties" files in place... however, this does not work with BDMV folders! I thought it was suppose to put all the meta data in the right places? Is also does not appear to do anything will a directory with an .iso in it... do I have something configured incorrectly? btw, the "videoname.properties" files still have the html tags embedded in them and are not rendered on the screen correctly... i thought i read you were going to strip out the tags... (i.e. <i> </i>) Last edited by sflamm; 04-13-2009 at 12:58 PM. |
#612
|
||||
|
||||
Quote:
|
#613
|
||||
|
||||
Quote:
Regards, Brian |
#614
|
||||
|
||||
You can do a commandline scan, using the --overwriteFanart option, and it should overwrite the posters to the new ones that it finds in your dvd profiler collection.
__________________
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 |
#615
|
||||
|
||||
Thanks Sean! It will just add them to the ones in the Posters folder already right?
|
#616
|
||||
|
||||
Unfortunately I'm not 100% if that will be the case or not... I think that if you use overwrite, it will overwrite the default poster with the new poster... you can try it on a single movie and test it out.
__________________
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 |
#617
|
||||
|
||||
ok, will do. i'll test out just 1 first. actually never used the command line, what would i type?
|
#618
|
||||
|
||||
If you've never used the command line, then it might just be easier to test using the UI manual fanart search functionality.
But if you want to use the commandline, it would be something like... Code:
java -jar MetadataUpdater.jar --overwriteFanart --fanartFolder=YOUR_FOLDER YOUR_MOVIEFILE or in the case of a dvd folder... java -jar MetadataUpdater.jar --overwriteFanart --fanartFolder=YOUR_FOLDER YOUR_MOVIE_DIR
__________________
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 |
#619
|
|||
|
|||
cannot get report to work
Hi
I am using sagemc6.3.9_a, batchmetadata 2.1.2 and on the server I have nielms web server and installed the sagex.api-6.5.9-7. I am using latest sagetv 6.5.13. I am trying to run the bmi on a client (which also has the bmi and sagemc6.3.9_a on it). with a --report=(quick,detaild, filename). I am getting an exception saying that it did not find the sageapi on the server, but it is installed and netstat says its waiting on port 1098. can you help with this? I am trying to figure out some stuff relying to BMI but I cannot get past this hurdle. Code:
C:\Program Files\SageTV\SageTV>java -jar MetadataTool.jar --update=true --overwr ite=true --recurse "\\Homeserver\tv\dexter" --report=quick Batch MetaData Tools (2.1-2) Requesting a Fanart report: quick on the SageTV Server. SageAPI Provider is not set, will try to find the server... Sage Provider Implementation: sagex.remote.rmi.RMISageAPI; rmi://127.0.0.1:1098 java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is: java.net.SocketException: Connection reset at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source) at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source) at sun.rmi.server.UnicastRef.newCall(Unknown Source) at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source) at sagex.remote.rmi.RMISageAPI.callService(RMISageAPI.java:27) at sagex.remote.rmi.RMISageAPI.callService(RMISageAPI.java:46) at sagex.SageAPI.call(SageAPI.java:70) at sagex.api.WidgetAPI.EvaluateExpression(WidgetAPI.java:343) at org.jdna.metadataupdater.MetadataUpdater.process(MetadataUpdater.java :217) at org.jdna.metadataupdater.MetadataUpdater.main(MetadataUpdater.java:10 8) Caused by: java.net.SocketException: Connection reset at java.net.SocketInputStream.read(Unknown Source) at java.io.BufferedInputStream.fill(Unknown Source) at java.io.BufferedInputStream.read(Unknown Source) at java.io.DataInputStream.readByte(Unknown Source) ... 10 more Report Failed. Most likely cause is that the sagex.api Remote APIs are not inst alled on the server. C:\Program Files\SageTV\SageTV>
__________________
Server SageTv 6.3.5, Core2Duo 6300 ,2Gigs ,Saphire x1650, PVR250, 2*320GB + 160GB, java 1.6.1 Client SageTV Client 6.3.5 , AMD 3000, 1024Mb, Saphire x1600Pro256HDMI, java 1.6.1 Using Nielm's Web server 2.22 Last edited by alon24; 04-15-2009 at 02:34 PM. |
#620
|
||||
|
||||
alon24, It looks like it thinks that your "remote" sage server is the "localhost". You can force a remote serve in the sage remote apis by using the following system property in java, sagex.SageAPI.remoteUrl. You can pass that property via the commandline as...
Code:
# java -Dsagex.SageAPI.remoteUrl=rmi://YOURSERVER:PORT -jar MetadataTool.jar --report=quick
__________________
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 |
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 |