|
Batch Metadata Tools This forums is for discussing the user-created Batch Metadata Tools for SageTV. |
|
Thread Tools | Search this Thread | Display Modes |
#541
|
||||
|
||||
New Release 2.1
Download | Issues
Issues/Enhancements 14 Add Support for Different Size Fanart added Code:
/metadata/posterImageWidth=200 /metadata/bannerImageWidth=-1 /metadata/backgroundImageWidth=-1 scaled, but they can be. Setting a value of -1 disables scaling. 32 Implement the image download tracking file prevents images from being re-downloaded, if you physically remove them from the fanart folder 36 DVD Fanart broken when used in plugin mode? This is most likely configuration, ie, the fanart central folder is not set. I've also updated the plugin code to overwrite existing metadata/fanart always, just in case. 37 Phoenix: Add better tv scraping For TV Filename that contain S## E## (or D##) information, then the fanart apis will use that information if it's not already set in the metadata properties. 40 Movie titles that start with Dr. are getting the same imdb lookup for Dr. For DVD Folders. Fixed the filename scraper that was treating everything afer the dot as a file extension. 43 Update composite provider to allow for a separate "fanart" provider Reworked the composite provider, it is now a little simpler. simply provide 2 providers and indicate which mode of copy you want to use. there are 2 modes, 1 - Use the search details and supplement using the second detail provider 2.- Use the second detail provider as the main details, and supplement from the searcher details. So, to create a dvdprofiler that uses themoviedb for fanart... Code:
/compositeMetadataProviders/dvdprof2/name=DVD Profiler + TheMovieDB /compositeMetadataProviders/dvdprof2/description=DVD Profiler, but get fanart and missing details from TheMovieDB /compositeMetadataProviders/dvdprof2/iconUrl= /compositeMetadataProviders/dvdprof2/searchProviderIdd=dvdprofiler /compositeMetadataProviders/dvdprof2/detailProviderId=themoviedb.org /compositeMetadataProviders/dvdprof2/compositeMode=1 Fixed 49 /sageMetadata/rewriteTitle is missing, need an alternative Fixed 50 add separate overwrite for metadata and fanart Added separate overwrite options for fanart and metadata. Code:
--overwriteFanart --overwriteMetadata --overwrite would simple be the same as calling --overwriteFanart and --overwriteMetadata 51 add separate process for fanart and metadata You can now specify --fanartOnly or --metadataOnly when doing a scan. 52 Allow Filters to be used on a file as well as filter updated the MovieFilter to look for the directory filter on each file as well as directory. /media/excludeVideoDirsRegex is a regex, and multiple directories can be specified as long as it uses the regex "OR" character "|", ie, Code:
/test2/|/test3/ Also note that bmt files use uri syntax, so you must specify directory separators in the URI forwardslash. 55 Bug in scoring when titles almost match Added a check to the scoring algorithm to ensure that 2 unequal titles didn't return a perfect score. 56 not updating on re-index-bmt If this is related to the plugin, then the plugin has been updated to replace and overwrite metadata at all times. In the previous releases, the plugin would skip over files if the existing .properties existed for a mediafile. 57 Add limit property to # of images being downloaded added /metadata/maxDownloadableImages=5 as the default value, people can change to -1 for all images. 59 Url Caching Fixes / Enhancements themoviedb now caches cache files now use a hash instead of the url paramters; 60 Add configuration to disable writing of backward compatible thumbnails added the following property /metadata/enableDefaultSTVPosterCompatibility=false By default default stv poster compatibility will be disabled, you can enable it by setting it true. It is sometimes useful to provide default stv compatibility if you have a mix of default stv and sagemc clients. 61 Enabled plugin to support ShowTitle-airingid.mpg titles Not fully tested, but it should try to find an airing for the file, and if it's there, then it will use the airing series title for the lookup... otherwise, it will continue on with the normal plugin operation. It uses the following regex to identify a filename as a sage airing and parse the airing id /metadata/airingIdRegex=([0-9]+)-[0-9]{1,2}\. 62 Fix log4j so that it will use a common log4j.properties, if it exists. phoenix will now check for log4j.properties in the sagetv homedir, and if it exists, it will use that logger. If it does not exist, then it use the logger information bundled with each respective jar file. 46 Make supporting properties files compatible with Windows line breaks After doing some research and testing on a windows platform I could not reproduce the problem. Under windows xp, if I write the properties file using bmt, then it will write it so that it opens fine in notepad (ie, contains crlf and not just lf) According the Java this is the normal behaviour. For now i'm closing the bug, since I can't reproduce it, but I'll happy re-open if there more information on how to reproduce. 39 Downloaded images affecting performace of extenders This was marked as a duplicate of 14 and should be resolved using the resize fanart options 47 TV Scan only downloads 1 Background FanArt Image This is an issue with the tvdb.xml scraper. For some reason they only grab a single backgound and pass it back. I decided not to do anything at this time, since eventually EP will have his scrapers integrated with bmt, and his scraper will download all backgrounds. The Xbmc scrapers are complex enough that I can't really make it do this without a lot of effort. Good luck.
__________________
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; 04-05-2009 at 12:45 PM. Reason: Added download link |
#542
|
||||
|
||||
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 |
#543
|
|||
|
|||
Great stuff Sean
Does this mean that metadata should now be updated when using the plugin? Quote:
Cheers Ben
__________________
Server - Win7 64bit, 2.4Ghz Intel Core 2 Duo, TBS 6284 PCI-E Quad DVB-T2 Tuner, 3 x HD200 & 1 x HD300 extenders |
#544
|
||||
|
||||
#56 means that the plugin, if given a file, will now do a scan and download the metadata/fanart even if there is an existing properties file. Before the 2.1 build it would not do a metadata scan if there was an existing .properties file.
__________________
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 |
#545
|
||||
|
||||
Bug Reporting
Just a request, that if you submit an issue here for something not working, could you provider some information, such as...
BMT Operation: Plugin or Commandline File Name: Sample filenames for testing File Type: DVD Folder, Reqular video file, Recorder TV File OS: Windows, Linux, Mac For me to reproduce an issue, I need to know those things, so that I'm not chasing down the wrong thing. 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 |
#546
|
||||
|
||||
Configure Logging for BMT
As of 2.1, bmt ships with practically no logging enabled (since there were complaints of the log files getting to large).
If you are having issues and you need to configure logging, then edit log4j.properties, in the sagetv home dir. Here's the information for configure debug logging in bmt, just add this to the end of the existing log4j.properties. Code:
# for excessive debug logging in bmt log4j.logger.org.jdna=debug log4j.logger.bmt=debug # for excessive debug loggging in phoenix log4j.logger.sagex=debug # remove excessive logging in the imdb parsers log4j.logger.org.jdna.url=WARN log4j.logger.org.jdna.url.CachedUrl=WARN log4j.logger.org.jdna.url.URLSaxParser=WARN log4j.logger.org.jdna.media.metadata.impl.imdb.IMDBSearchResultParser=WARN log4j.logger.org.jdna.media.metadata.MediaMetadataUtils=WARN # removes excessive logging for stacking log4j.logger.org.jdna.media.impl.CDStackingModel=WARN # remove excessive logging for xbmc scrapers log4j.logger.org.jdna.media.metadata.impl.xbmc.XbmcScraperProcessor=WARN Code:
# set log levels for loggers (categories) debug < info < warn < error < fatal log4j.rootCategory=error, log # ipps log is set to be a RollingFileAppender, 12 hours per file, 1 week, using PatternLayout. log4j.appender.log=org.apache.log4j.DailyRollingFileAppender log4j.appender.log.DatePattern='.'yyyy-MM-dd-a log4j.appender.log.File=mailcheck.log log4j.appender.log.layout=org.apache.log4j.PatternLayout log4j.appender.log.layout.ConversionPattern=%d{ISO8601} %5p [%t] %C (%F:%L) - %m%n For example, my logj4.properties file from my server looks like.... Code:
# enable the internal log4j logging (usefull for debuging log4j) #log4j.debug=true # set log levels for loggers (categories) debug < info < warn < error < fatal log4j.rootCategory=debug, log # ipps log is set to be a RollingFileAppender, 12 hours per file, 1 week, using PatternLayout. log4j.appender.log=org.apache.log4j.DailyRollingFileAppender log4j.appender.log.DatePattern='.'yyyy-MM-dd-a log4j.appender.log.File=mailcheck.log log4j.appender.log.layout=org.apache.log4j.PatternLayout log4j.appender.log.layout.ConversionPattern=%d{ISO8601} %5p [%t] %C - %m%n # phoenix/bmt logging log4j.logger.org.jdna=debug log4j.logger.bmt=debug log4j.logger.phoenix=debug log4j.logger.sagex.phoenix=debug log4j.logger.org.jdna.url=warn log4j.logger.org.jdna.url.CachedUrl=warn log4j.logger.org.jdna.media.impl.CDStackingModel=warn log4j.logger.org.jdna.url.URLSaxParser=warn log4j.logger.org.jdna.media.metadata.impl.imdb.IMDBSearchResultParser=warn log4j.logger.org.jdna.media.metadata.MediaMetadataUtils=warn log4j.logger.org.jdna.media.metadata.impl.xbmc.XbmcScraperProcessor=warn NOTE: If you configure nothing, then by default all logging will end up in the mailcheck.log file because SageMC installs a log4j.properties, but you'll only get Errors in the log.
__________________
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; 07-11-2009 at 06:39 AM. Reason: Added note about mailcheck.log |
#547
|
|||
|
|||
Great addon, thanks!
Just have one issue, titles that have an apostrophe. IE "She's the One" If I manually search for "shes the one" it finds it correctly. Thanks, Wade |
#548
|
||||
|
||||
Does 61 mean that automatic metadata/fanart should work for TV recordings if the episode title is not included in the file name?
|
#549
|
|||
|
|||
Does this handle BDMV folder structures now?
|
#550
|
||||
|
||||
Quote:
The format for the airing filename should be something like, ShowName-Title-AiringId-#.ts, but as long as the filename contains the AiringId-#, then it should be able to pull out the airing id.
__________________
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 |
#551
|
||||
|
||||
Yes that should have been in the release notes.. I added BDMV support so that BDMV folder will behave much like VIDEO_TS folders, ie, it will treat the parent dir as the movie title and search on that.
__________________
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 |
#552
|
|||
|
|||
Stuckless,
Thanks for the great update. I am only having one issue: With the rewriteTitle set to true using the command line tool, the titles are being rewritten correctly but the fanart is being downloaded to a folder using the original title. To give you an example: The title of "The bourne identity" is correctly rewritten to "bourne identity, the" in the properties file, but the fanart is downloaded to a folder called "c:\fanart\the bourne identity". The requires a manual rename of the fanart folder to make the fanart show up in SageMC. Thanks for the all the hard work in making this possible. |
#553
|
|||
|
|||
Quote:
__________________
Server: Sage 7.1.9 beta; Dell Inspiron 530; Windows 7 Ultimate 32-bit (UAC turned off); 2TB Internal SATA (TV Recordings) Storage: Synology DiskStation DS411+, RAID 5, 5x 2TB SATA for (DVDs/Music/Other Videos) Tuners: Ceton InfiniTV w/ Verizon FIOS cablecard (using babgvant's SageDCT plugin) Clients: 1x STP-HD300; 1x Acer Aspire Revo 3610 (Atom/Ion) w/ SageTV client (Win 7, EVR, FSE on) |
#554
|
||||
|
||||
Are your recordings recognized by sage as being TV recordings? I've checked with a number of my mine, and they get picked up as TV for me... I'll look a little deeper and see what I can find.
__________________
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 |
#555
|
|||
|
|||
Yes, my recordings are in my SageTV Recordings area.
__________________
Server: Sage 7.1.9 beta; Dell Inspiron 530; Windows 7 Ultimate 32-bit (UAC turned off); 2TB Internal SATA (TV Recordings) Storage: Synology DiskStation DS411+, RAID 5, 5x 2TB SATA for (DVDs/Music/Other Videos) Tuners: Ceton InfiniTV w/ Verizon FIOS cablecard (using babgvant's SageDCT plugin) Clients: 1x STP-HD300; 1x Acer Aspire Revo 3610 (Atom/Ion) w/ SageTV client (Win 7, EVR, FSE on) |
#556
|
|||
|
|||
Couple of issues
The rescan works great now and rescans files already scanned. Using the sage plugin when I have it set to autodownload cover art new dvd's or videos do not show up in sage at all it only shows the movies that have cover art. If I uncheck auto fetch and restart sage they show up? Also when you have a tv dvd named: the office s01d01 It puts the metadate in a tv folder but it doesn't show up in recorded tv should it? |
#557
|
||||
|
||||
Quote:
I think the only fix for this right now would be to use the latest beta and ensure that you have the extra metadata fields configured, or disable title rewriting. I'll look to see if there something I can do in the phoenix library to help with this 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 |
#558
|
||||
|
||||
Ok, i'll reopen the bug, and do some further investigating.
__________________
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 |
#559
|
||||
|
||||
Quote:
The metadata plugin should not prevent movies from showing up in the media center. When new movies are added, sage have to be told to "rescan" and then they get picked up, and after Sage imports the video, it calls my plugin to fetch the coverart or other missing metadata. 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 |
#560
|
|||
|
|||
I tried to rescan my entire library, and I got a boatload of errors. It seems to be rescanning properly, but it fails on the 5th or 6th movie, and then on every movie after it. I tried moving the failing movie to the end (by prepending a "z"), but it still craps out.
Any thoughts? Thanks... Quote:
|
Currently Active Users Viewing This Thread: 11 (0 members and 11 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 |