|
Batch Metadata Tools This forums is for discussing the user-created Batch Metadata Tools for SageTV. |
|
Thread Tools | Search this Thread | Display Modes |
#401
|
||||
|
||||
Quote:
Basically the API is defined in the MediaMetadataAPI class, and to use the api, you just phoenix_api_ in front the method that you are going to call. BTW... I know Tiki was working on something at one point as well.. I don't know how far he got with it. If you do create something, then let me know, and I can include it in the future builds. And, if you have issues, you can email directly. 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 |
#402
|
|||
|
|||
I was wondering if I am perhaps not naming my files properly for tv disc sets I have ripped to get metadata for them.
For example, Firefly has 4 discs so I named each rip Firefly S01D01 ... Firefly S01D04 Same with Jericho and 2 seasons of True Blood. Any advice on how to get metadata and art for tv disc collections? |
#403
|
||||
|
||||
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 |
#404
|
|||
|
|||
Ah ok. Is the naming convention I am using going to be fine or do you know what will be the desired naming scheme when you get it working? Also is there a good way to manually add the metadata if I go and just grab it from somewhere in the meantime?
|
#405
|
||||
|
||||
The naming is fine... and 3.x did support SxxDxx sets... but in 4.x I broke it when I added validation to ensure that I didn't grab "series" related info for shows where it failed to find a valid episdoe. ie, sometiimes it would overwrite specific show information the the generic series info. The are 2 possible fixes for this... 1 to make it work as it did in 3.x, or 2, to add in specific support for Series only information. I'm opting for the latter, but unforuntately, I haven't hit it on my list yet
__________________
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 |
#406
|
||||
|
||||
Yes, I do have an updated STVi that works with BMT4.0 beta. I could probably release it this weekend if people are eager for it.
__________________
Server: Ryzen 2400G with integrated graphics, ASRock X470 Taichi Motherboard, HDMI output to Vizio 1080p LCD, Win10-64Bit (Professional), 16GB RAM Capture Devices (7 tuners): Colossus (x1), HDHR Prime (x2),USBUIRT (multi-zone) Source: Comcast/Xfinity X1 Cable Primary Client: Server Other Clients: (1) HD200, (1) HD300 Retired Equipment: MediaMVP, PVR150 (x2), PVR150MCE, HDHR, HVR-2250, HD-PVR |
#407
|
|||
|
|||
BMT & SJQ
Can BMT be run from inside of SJQ?
I ask because I seem to get different results when it is run inside of vs. outside of SJQ. Here is my SJQ Confiugration: Code:
BMT { # CPU priority to be used for this task process; one of LOW, NORMAL, HIGH (case sensitive) :CPU "LOW" # Default is NORMAL if not specified "C:/Program Files/Java/jre6/bin/java.exe -jar \"C:/Program Files/SageTV/SageTV/Metadatatool.jar\" --auto=true --prompt=false --touch --notifySageTV --overwrite \"%c%\"" } Result: Code:
Executing command line: C:/Program Files/Java/jre6/bin/java.exe -jar "C:/Program Files/SageTV/SageTV/Metadatatool.jar" --auto=true --prompt=false --touch --notifySageTV --overwrite "E:\TheSimpsons-ChiefofHearts-47814-0.mpg" Batch MetaData Tools (4.0-beta16) Processing Media Files... Processing: TheSimpsons-ChiefofHearts-47814-0.mpg Updated: 0 items Failed to Update: 1 items File: E:\TheSimpsons-ChiefofHearts-47814-0.mpg Reason: Failed to find a metadata match for title --------------------------------- Notifying Sage to Refresh Imported Media Which seems to indicate that meta data for "The Simpsons" cannot be located. But if I run with the same parameters outside of SJQ I get a different result. Code:
C:\Program Files\SageTV\SageTV>java.exe -jar "C:/Program Files/SageTV/SageTV/Met adatatool.jar" --auto=true --prompt=false --touch --notifySageTV --overwrite "E: \TheSimpsons-ChiefofHearts-47814-0.mpg Batch MetaData Tools (4.0-beta16) *** filter by: mediatype *** Adding Filter To Presenter: mediatype; tvseason *** filter by: title *** Adding Filter To Presenter: title; filtertest *** filter by: missingmetadata *** Adding Filter To Presenter: missingmetadata; missingmetadataview Processing Media Files... Processing: TheSimpsons-ChiefofHearts-47814-0.mpg Updated: 1 items Failed to Update: 0 items Notifying Sage to Refresh Imported Media |
#408
|
||||
|
||||
@broconne - While I've never run SJQ... that is is interesting. I'd need to see the log output of the SJQ attempt to see what is actually going wrong.
__________________
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 |
#409
|
|||
|
|||
Stuckless, I can run it again. I don't see any --log option. How do I create log output from the command line?
|
#410
|
||||
|
||||
you should see a bmt.log in the logs directory in the sagetv home 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 |
#411
|
|||
|
|||
Quote:
Code:
0 ERROR [main] sagex.phoenix.configuration.XmlMetadataProvider - Missing Configuration File: C:\sjqc\sjqc_winntsvc\bin\.\STVs\Phoenix\Configuration\Phoenix.xml |
#412
|
||||
|
||||
Unfortunately that is really only an error if you are running the full phoenix build (which you can't do ). This is a common "error" (more like a warning), for other tools that use the phoenix apis, such as bmt.
__________________
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 |
#413
|
|||
|
|||
Interesting, I don't have a bmt.log in my SageTV directory and that is the only entry in the bmt.log in my SJQ client directory.
|
#414
|
|||
|
|||
check SageTV Directory\logs\bmt.log
__________________
Server 2003 r2 32bit, SageTV9 (finally!) 2x Dual HDHR (OTA), 1x HD-PVR (Comcast), 1x HDHR-3CC via SageDCT (Comcast) 2x HD300, 1x SageClient (Win10 Test/Development) Check out TVExplorer |
#415
|
|||
|
|||
Ok, the BMT log in there is empty.. I upgraded to the latest beta (sorry, I thought I was already there). After doing that, restarting everything, and rerunning I seem to have a fully formed bmt.log in my sqjc directory:
Code:
2010-04-23 11:30:23,825 [main] WARN org.jdna.metadataupdater.BMTSageAPIProvider - No Sage Properties found, using defaults. 2010-04-23 11:30:23,875 [main] INFO bmt.BMT - ========= BEGIN BATCH METADATA TOOLS ENVIRONMENT ============== 2010-04-23 11:30:23,875 [main] INFO bmt.BMT - BMT Version: 4.0-beta21 2010-04-23 11:30:24,246 [main] INFO bmt.BMT - Phoenix Version: 1.71 2010-04-23 11:30:24,246 [main] INFO bmt.BMT - Sagex Version: 6.6.9-beta 2010-04-23 11:30:24,246 [main] INFO bmt.BMT - Java Version: 1.6.0_19 2010-04-23 11:30:24,246 [main] INFO bmt.BMT - Java Classpath: C:/Program Files/SageTV/SageTV/Metadatatool.jar 2010-04-23 11:30:24,246 [main] INFO bmt.BMT - ========= END BATCH METADATA TOOLS ENVIRONMENT ============== 2010-04-23 11:30:24,246 [main] INFO bmt.BMT - Registering URL Cache Cleaner Process 2010-04-23 11:30:24,246 [main] INFO org.jdna.url.CachedUrlCleanupTask - Url Cleanup Task Created 2010-04-23 11:30:24,246 [Timer-0] INFO org.jdna.url.CachedUrlCleanupTask - Begin URL Cache Cleanup 2010-04-23 11:30:24,256 [Timer-0] INFO org.jdna.url.CachedUrlCleanupTask - Finished URL Cache Cleanup; Cleaned 0 items. 2010-04-23 11:30:24,296 [main] INFO org.jdna.media.metadata.MediaMetadataFactory - Adding MetaDataProvider: thetvdb.com 2010-04-23 11:30:24,296 [main] INFO org.jdna.media.metadata.MediaMetadataFactory - Adding MetaDataProvider: IMDb 2010-04-23 11:30:24,296 [main] WARN org.jdna.media.metadata.MediaMetadataFactory - No Class Implementation for provider: org.jdna.media.metadata.impl.nielm.NielmIMDBMetaDataProvider 2010-04-23 11:30:24,296 [main] INFO org.jdna.media.metadata.MediaMetadataFactory - Adding MetaDataProvider: DVD Profiler 2010-04-23 11:30:24,296 [main] INFO org.jdna.media.metadata.MediaMetadataFactory - Adding MetaDataProvider: themoviedb.org 2010-04-23 11:30:24,306 [main] INFO org.jdna.media.metadata.MediaMetadataFactory - Adding MetaDataProvider: MyMovies 2010-04-23 11:30:24,306 [main] WARN org.jdna.media.metadata.MediaMetadataFactory - Mising or Unknown Provider: imdb-2 2010-04-23 11:30:24,306 [main] INFO org.jdna.media.metadata.impl.composite.CompositeMetadataProvider - Composite Provider Created with id: imdb-2; search: imdb; details: themoviedb.org; mode: 1 2010-04-23 11:30:24,306 [main] INFO org.jdna.media.metadata.MediaMetadataFactory - Adding MetaDataProvider: IMDb + themoviedb.org 2010-04-23 11:30:24,306 [main] WARN org.jdna.media.metadata.MediaMetadataFactory - Mising or Unknown Provider: dvdprofiler-2 2010-04-23 11:30:24,306 [main] INFO org.jdna.media.metadata.impl.composite.CompositeMetadataProvider - Composite Provider Created with id: dvdprofiler-2; search: dvdprofiler; details: themoviedb.org; mode: 1 2010-04-23 11:30:24,306 [main] INFO org.jdna.media.metadata.MediaMetadataFactory - Adding MetaDataProvider: DVD Profiler + themoviedb.org 2010-04-23 11:30:24,306 [main] WARN org.jdna.media.metadata.MediaMetadataFactory - Mising or Unknown Provider: mymovies-2 2010-04-23 11:30:24,306 [main] INFO org.jdna.media.metadata.impl.composite.CompositeMetadataProvider - Composite Provider Created with id: mymovies-2; search: mymovies; details: themoviedb.org; mode: 1 2010-04-23 11:30:24,306 [main] INFO org.jdna.media.metadata.MediaMetadataFactory - Adding MetaDataProvider: MyMovies + themoviedb.org 2010-04-23 11:30:24,306 [main] WARN org.jdna.media.metadata.MediaMetadataFactory - Mising or Unknown Provider: themoviedb.org-2 2010-04-23 11:30:24,306 [main] INFO org.jdna.media.metadata.impl.composite.CompositeMetadataProvider - Composite Provider Created with id: themoviedb.org-2; search: imdb; details: themoviedb.org; mode: 1 2010-04-23 11:30:24,306 [main] INFO org.jdna.media.metadata.MediaMetadataFactory - Adding MetaDataProvider: IMDb + themoviedb.org 2010-04-23 11:30:24,306 [main] INFO org.jdna.media.metadata.MediaMetadataFactory - Added Provider: imdb-2 to the Provider Search Container 2010-04-23 11:30:24,306 [main] INFO org.jdna.media.metadata.MediaMetadataFactory - Added Provider: themoviedb.org to the Provider Search Container 2010-04-23 11:30:24,306 [main] WARN org.jdna.media.metadata.MediaMetadataFactory - Mising or Unknown Provider: imdb.xml 2010-04-23 11:30:24,306 [main] WARN org.jdna.media.metadata.MediaMetadataFactory - Skipping Provider because it does not exist: imdb.xml 2010-04-23 11:30:24,326 [main] WARN org.jdna.media.metadata.TVFileNameUtils - No TV Scraper Files: C:\sjqc\sjqc_winntsvc\bin\scrapers\xbmc\tvfilenames 2010-04-23 11:30:24,326 [main] WARN org.jdna.media.metadata.MovieFileNameUtils - No Movies Scraper Files: C:\sjqc\sjqc_winntsvc\bin\scrapers\xbmc\moviefilenames 2010-04-23 11:30:24,326 [main] WARN org.jdna.media.metadata.TVFileNameUtils - No TV Scrapers were loaded 2010-04-23 11:30:24,326 [main] WARN org.jdna.media.metadata.MovieFileNameUtils - Failed to parse move title using scrapers for: E:\TheSimpsons-ChiefofHearts-47814-0.mpg, will use the following movie title: TheSimpsons-ChiefofHearts-47814-0 2010-04-23 11:30:24,336 [main] INFO org.jdna.url.URLSaxParser - Parsing Url: http://www.imdb.com/find?s=tt&q=TheSimpsons-ChiefofHearts-47814-0&x=0&y=0 2010-04-23 11:30:24,336 [main] INFO org.jdna.url.CachedUrlFactory - Caching URL Factory in use. 2010-04-23 11:30:25,437 [main] WARN org.jdna.media.metadata.impl.themoviedb.TheMovieDBMetadataProvider - TheMovieDB Item didn't contain a title: Your query didn't return any results. 2010-04-23 11:30:25,437 [main] INFO org.jdna.url.URLSaxParser - Parsing Url: http://www.imdb.com/find?s=tt&q=TheSimpsons+ChiefofHearts+47814+0&x=0&y=0 2010-04-23 11:30:26,228 [main] WARN org.jdna.media.metadata.impl.themoviedb.TheMovieDBMetadataProvider - TheMovieDB Item didn't contain a title: Your query didn't return any results. 2010-04-23 11:30:26,228 [main] WARN org.jdna.process.MetadataProcessor - Failed to find a metadata match for FileMediaFile[Title: 'TheSimpsons-ChiefofHearts-47814-0.mpg', File: 'E:\TheSimpsons-ChiefofHearts-47814-0.mpg'] |
#416
|
||||
|
||||
ok.. now we are getting somewhere BMT assumes that you are going to run it from the sagetv home dir, and it attempts to load it's scrapers relative to that location. So, is there a way in SJQ to tell it to use a particular working dir...if so, then set that to the sagetv dir. If not, then you may need to create a .bat file and set up the environment there... or you can extract the bmt zip file to the sjq home dir and run it from there...
__________________
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 |
#417
|
|||
|
|||
Quote:
|
#418
|
||||
|
||||
Glad you have it 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 |
#419
|
||||
|
||||
@broconne when you run it like this from SJQ are you successfully getting it to update Sage with the metadata? I've been trying to do it using the notifySage parameter and it doesn't seem to be getting updated, at least the Season and Episode don't update in TV Explorer. The automatic plugin works well for me except during prime-time for some reason. I'm just looking for a way to work around the problem during prime-time and SJQ might be the solution.
|
#420
|
|||
|
|||
Quote:
Here is my setup: SJQ Server: Code:
if [IsObjMediaFile == true && $.IsTVFile{} == true && FileExists != "%d%/%p%.properties"]{ :PRIORITY 5 BMT } Code:
BMT { # CPU priority to be used for this task process; one of LOW, NORMAL, HIGH (case sensitive) :CPU "LOW" # Default is NORMAL if not specified # Comskip returns 1 on success instead of the universally accepted zero; tell SJQ that # a return code of 1 means success instead of the default value of zero #:RETURNCODE 1 "\"C:/Program Files/SageTV/SageTV/BMT.bat\" \"%c%\"" } Here is my batch file: Code:
@echo off cd c:\Program Files\SageTV\SageTV java.exe -jar Metadatatool.jar --auto=true --prompt=false --touch --notifySageTV --overwrite %1 Let me know if you need any more help getting this to go. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Batch Metadata Tools new releases subscription thread | stuckless | Customization Announcements | 18 | 02-17-2010 09:27 PM |
Is there a way of doing Metadata WITHOUT BMT | plnewton | SageTV Customizations | 12 | 08-17-2009 06:53 PM |
BMT Metadata Provider List? | cowboyway | SageMC Custom Interface | 1 | 08-12-2009 05:54 AM |
Metadata Tools (Donations) | stuckless | SageTV Customizations | 4 | 06-26-2009 05:54 AM |