|
Batch Metadata Tools This forums is for discussing the user-created Batch Metadata Tools for SageTV. |
|
Thread Tools | Search this Thread | Display Modes |
#1741
|
||||
|
||||
Quote:
The issue comes from the way that BMT stores the Show Title. I guess when Sage imports a file, it puts the relative path of the media file in the Show Title field. BMT put's the Show's actual title in the Show Title field. (There is no other place for bmt to put the Show Title). So this variance in how BMT creates the new metadata is what is causing the issues, since SageMC relies on the relative path of the file in order to build the file system navigation. MeInMaui and I are working on a solution. The default stv uses a slightly different approach for building the filesystem view, which is why the issue is not apparent in the default stv.
__________________
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 |
#1742
|
||||
|
||||
Quote:
Code:
Batch MetaData Tools (3.1) Skipping: file:/C:/Program%20Files/SageTV/SageTV/SpecialAgentOso-DrOffLicensetoDress-2089020-0.mpg; Message: Nothing Found for Query: SearchQuery; Type: TV; TITLE:Special Agent Oso;EPISODE_TITLE:Dr Off Licenseto Dress; Search Results: Special Agent Oso [q=quit, n=next (default), ##=use result ##, TITLE=Search TITLE] > Maybe I should try redownloading BMT? I don't know.. most other shows seem to scan down fine.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer) unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers. Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA. Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S Other Clients: Mi Box in Master Bedroom, HD-200 in kids room |
#1743
|
||||
|
||||
In the sage home dir, delete the cache/url/ directory and then try this again. I'm thinking that bmt may be using a older cached copy of the xml metadata from tvdb. And, make sure that tvdb is in your list of providers (it is by default, unless you've manually removed it)
__________________
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 |
#1744
|
||||
|
||||
Quote:
Quote:
Quote:
Quote:
__________________
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 |
#1745
|
||||
|
||||
Sean,
Iran a scan on all my files and now some of them have the wrong fanart associated with them. Unfortunately the shows effected are my spouse's so the WAF is dropping.. (Some of her home and garden shows now have SpongeBob fanart, which is particularly amusing because she HATEs SpongeBob and I LOVE spongeBob.) How do I "unassociate" fanart for a particular show?
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
#1746
|
||||
|
||||
Quote:
__________________
Cheers Damian Blog - http://www.adigitalhomeblog.com MSS.net blog (contributing editor) - http://www.mediasmartserver.net |
#1747
|
||||
|
||||
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 |
#1748
|
|||
|
|||
yup that explains it perfectly and is exactly what i was talking about
__________________
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 |
#1749
|
||||
|
||||
Quote:
@dbone1026 - your comment made me chuckle... Good thing you noticed that before you decided to pull up sagetv and show your friends/family your home movies
__________________
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 |
#1750
|
||||
|
||||
I just installed and now have a question.
I'm in the Web configuration, setup my central fanart area, then hit scan sage recordings. It never comes back with anything. I also tried DVDs with the same results. Anyone have any idea how long it should take for the scan to complete? I have 183 DVDs and about 100 recordings. thanks, dave |
#1751
|
|||
|
|||
Quote:
\TV\Stargate SG-1\Season 09\Stargate SG-1 - S9E15.avi metadata.properties has this line in it bmt/metadataUpdater/rememberSelectedSearches=true I even tried adding this to my metadata-titles.properties Stargate\ SG\ 1=tvdb\:72449 Stargate\ SG-1=tvdb\:72449 Stargate\ SG1=tvdb\:72449 I've deleted everything in my /cache/ dir multiple times to make sure it is actually searching. It seems like metadata-titles.properties is ignored entirely. Even having that fixed would be an OK workaround, but it prompts for each file irregardless of what I searched for last time. Skipping: /tv/Stargate%20SG-1/Season%2009/Stargate%20SG-1%20-%20S9E15.avi; Message: Nothing Found for Query: SearchQuery; Type: TV; DISC:;TITLE:Stargate SG 1;SEASON:09;EPISODE:15; |
#1752
|
||||
|
||||
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 |
#1753
|
||||
|
||||
Quote:
The second issue is a misunderstanding of how the metadata-titles works. basically the metadata-titles will only be used in the event that there are multiple hits for a search result and then the metadata-titles is used to norrow the result. BMT does not use the metadata-titles as an override, and if there are no results, then metadata-titles is never used at all. (you could argue that this is a bug, but there is a technical reason why it's not used). It's my intention to redo the metadata-titles, and add the support to make it work as you think it 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 |
#1754
|
||||
|
||||
Quote:
|
#1755
|
|||
|
|||
Quote:
Code:
Sage Provider Implementation: org.jdna.metadataupdater.BMTSageAPIProvider; org.jdna.metadataupdater.BMTSageAPIProvider[BMT Command Line Impl] Batch MetaData Tools (3.0-beta-3) # -- Group: null # -- Group: Application Configuration # Default Folder to Scan when Doing an interactive scan from the Web UI bmt/metadataUpdater/guiFolderToScan=null # Number of results to display in the search results bmt/metadataUpdater/searchResultDisplaySize=10 # Once Scanning is Complete, notify SageTV of the changes. (commandline only) bmt/metadataUpdater/refreshSageTV=false # Automatically update by auto selecting 'best' search result. (commandline only) bmt/metadataUpdater/automaticUpdate=true # Recursively process sub folders bmt/metadataUpdater/recurseFolders=true # Only process files that is missing metadata. (commandline only) bmt/metadataUpdater/processMissingMetadataOnly=false # Enable Fanart downloading phoenix/mediametadata/fanartEnabled=true # Location of the central fanart folder phoenix/mediametadata/fanartCentralFolder=\\SAGESERVER\MediaBackgrounds # Remember a search result when you select it form a list, for use in later searches. bmt/metadataUpdater/rememberSelectedSearches=true # -- Group: Metadata Configuration # Default class name for storing metadata bmt/metadata/persistenceClass=org.jdna.media.metadata.impl.sage.SageTVPropertiesWithCentralFanartPersistence # Comma separated list of known metadata providers (ie, can be used for searching for metadata) bmt/metadata/videoMetadataProviders=org.jdna.media.metadata.impl.tvdb.TVDBMetadataProvider,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,org.jdna.media.metadata.impl.mymovies.MyMoviesMetadataProvider # Comma separated list of words that will be removed from a title when doing a search bmt/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 # Default provider id to use (comma separate, if more than 1) bmt/metadata/defaultProviderId=tvdb,themoviedb.org,themoviedb.org-2,imdb.xml,imdb # Score which must be exceeded to consider a result a good match bmt/metadata/goodScoreThreshold=0.9 # If true, then providers will check alternate titles for matches. bmt/metadata/scoreAlternateTitles=true # Resize poster to scale using the specified max width bmt/metadata/posterImageWidth=200 # Resize banner to scale using the specified max width bmt/metadata/bannerImageWidth=-1 # Resize backgrond to scale using the specified max width bmt/metadata/backgroundImageWidth=-1 # Maximum # of images within each fanart type to download. bmt/metadata/maxDownloadableImages=5 # When writing fanart, if this is enabled, an additional poster file will be written that is compatible with the default stv. bmt/metadata/enableDefaultSTVPosterCompatibility=false # When importing TV Shows, try to add them into the Sage Recordings. bmt/metadata/importTVAsRecordedShows=false # -- Group: Media Configuration # Stacking Model regex (taken from xbmc group) bmt/media/stackingModelRegex=[ _\\.-]+(cd|dvd|part|disc)[ _\\.-]*([0-9a-d]+) # Regular expression for the file extensions that are recognized bmt/media/videoExtensionsRegex=avi|mpg|divx|mkv|wmv|mov|xvid|ts|m2ts|m4v|mp4|iso # Regular expression for the directory names to ignore bmt/media/excludeVideoDirsRegex=null # -- Group: URL Settings # Cache Directory where cached URLs are stored bmt/urlconfiguration/cacheDir=cache/url # How long, in seconds, URLs remain in the cache bmt/urlconfiguration/cacheExpiryInSeconds=86400 # URL Factory class name for creating new Url objects bmt/urlconfiguration/urlFactoryClass=org.jdna.url.CachedUrlFactory # HTTP User Agent that is sent with each hew http request bmt/urlconfiguration/httpUserAgent=Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.1) Gecko/2008072820 Firefox/3.0.1 # -- Group: DVD Profiler # Directory where the local dvd profiler data will be indexed bmt/dvdprofilerLocal/indexDir=cache/indexDVDProfLocal/ # Local DVD Profiler image directory bmt/dvdprofilerLocal/imageDir=\\ORION\Shared\Users\Kevin\My Documents\DVD Profiler\Databases\Default\Images # Local DVD Profiler xml file bmt/dvdprofilerLocal/xmlFile=\\ORION\Shared\Videos\Collection.xml # Data/Time the xml file was modified as a long value. Should not be set directly. bmt/dvdprofilerLocal/xmlFileLastModified=0 # -- Group: IMDB Configuration # Preferred height or width of an imdb thumbnail bmt/imdb/forcedIMDBImageSize=512 # -- Group: MyMovies # Directory where the MyMovies metadata will be indexed bmt/mymovies/indexDir=cache/indexMyMovies/ # MyMovies xml file bmt/mymovies/xmlFile=null # Data/Time the xml file was modified as a long value. Should not be set directly. bmt/mymovies/xmlFileLastModified=0 # -- Group: Sage Persistence # How each Actor will be written. This mask will be applied to each actor, and then appeneded into a single line for the properties file. {0} - Actor Name, {1} - Actor Role bmt/sageMetadata/actorMask={0} -- {1}; # Description Mask (note ${PROP_FIELD_NAME} field names are looked up in the property file) bmt/sageMetadata/descriptionMask=${Description} User Rating: ${UserRating} # Title to use for multi volume vidoes (_disc is disc # 1,2,3,etc) bmt/sageMetadata/multiCDTitleMask=${Title} Disc ${DiscNumber} # Title to use for single volume vidoes bmt/sageMetadata/titleMask=${Title} # Number genre levels to write. -1 means all levels. bmt/sageMetadata/genreLevels=1 # Title mask to use for TV Files bmt/sageMetadata/tvTitleMask=${Title} - S${SeasonNumber}E${EpisodeNumber} - ${EpisodeTitle} # Title mask to use for TV on Dvd bmt/sageMetadata/tvDvdTitleMask=${Title} - S${SeasonNumber}D${DiscNumber} # Rewrite titles so that 'A Big Adventure' becomes 'Big Adventure, A' bmt/sageMetadata/rewriteTitle=false # A Search/Replace Regex containing 2 groups that will rewrite the title bmt/sageMetadata/rewriteTitleRegex=^(in\s+the|in\s+a|i\s+am|in|the|a|an|i|am),?\s+(.*) # -- Group: Automatic Plugin Configuration # Enable/Disable the Automatic Plugin (does not remove it) bmt/plugin/enabled=true # Overwrite Existing Metadata Configuration bmt/plugin/overwriteMetadata=true # Overwrite Existing Fanart bmt/plugin/overwriteFanart=true # -- Group: Fanart # Fanart Implementation (Do Not Change this unless you KNOW what you are doing) phoenix/mediametadata/fanartSupportClass=sagex.phoenix.fanart.PhoenixFanartSupport # Phoenix Metadata Implementation. Default is Metadata Tools (bmt), don't change unless you KNOW what you are doing. phoenix/mediametadata/mediaMetadataSupportClass=bmt.BMTMetadataSupport # This should never need to be enabled. But if it is, then it parse the Display Title for the TV Series Name phoenix/mediametadata/parseMediaFileForTVSeries=false # Regex to use when parsing the Series Name from the Display Title phoenix/mediametadata/tvSeriesRegex=.*[\\/](.*)s([0-9]{1,2})\s*[exd]([[0-9]]{1,2}) # Regex to use when parsing the Season Number from the Display Title phoenix/mediametadata/tvSeasonRegex=.*[\\/].*s([0-9]{1,2})\s*[exd]([[0-9]]{1,2}) # -- Group: Logging # -- Group: Metadata Settings # Class Files for SageTV Metadata Parser Plugins mediafile_metadata_parser_plugins= # Extra Metadata Fields that SageTV will store in its Wiz.bin database custom_metadata_properties=MediaProviderDataID;MediaTitle;MediaType;OriginalAirDate;EpisodeTitle;EpisodeNumber;SeasonNumber;DiscNumber;UserRating # When SetMediaFileMetadata() apis are used, and this is set to true, then SageTV will store the metadata value directly to the .properties file for the media item as well update_external_properties_files_on_metadata_changes=true # -- Group: System Settings # Classes that SageTV will start automatically when it starts load_at_startup_runnable_classes=net.sf.sageplugins.webserver.StartServer;com.shadeblue.sage.InfoPopup.StartListener # -- Group: Debug Settings # ??? debug_logging=true # ??? debug_capture_progress=false # ??? debug_exif_parser=false # ??? debug_msgs=false # -- Group: New Search |
#1756
|
||||
|
||||
Quote:
this is really cool! thanks, dave |
#1757
|
||||
|
||||
Swirling icon should indicate that it is doing a scan... there should also be some #s there as well... Like "Scanning 1 of 183 (1%)"
__________________
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 |
#1758
|
||||
|
||||
I noticed that you are using 3.0.3... I would upgrade to 3.1, since 3.0.3, had some severe issues. But back to your question... I don't know. I just scanned your show using the command line, which returned 0 results. The metadata-titles will only be updated if it prompts you with a list of results and you select 1 of them. It is not updated for auto-selected searches, or for searches that return 0 results.
__________________
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 |
#1759
|
|||
|
|||
Quote:
I am actually running 3.1 - the properties file just has an old version in it. C:\Program Files\SageTV\SageTV>java -Xmx1024m -jar MetadataTool.jar Batch MetaData Tools (3.1) Batch MetaData Tools (3.1) Import/Update Movie MetaData from a MetaData Provider. and see attachment (the web page title reports 3.0.4, but page shows 3.1) See other attachment for commandline process output - as I understand, I shouldn't be prompted that second time? |
#1760
|
||||
|
||||
Quote:
When you search, metadata titles is only ever consulted during the automatic phase. ONce the automatic phase is complete, and you are in the manual phase, metadata titles is never consulted. I'd be ok with calling it a bug... and hopefully i'll eventually put in a system that works in both automatic and manual mode. But, for now, if you are willing to rename your media files to be "stargate sg" instead of "stargate sg-1", then it will work. (ie, Stargate SG - S9E15.avi)
__________________
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: 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 |