get_tags_batch_wrapper ( self, tags, filenames, params = None ) exiftool.ExifToolAlpha. get_tag_wrapper ( self, tag, filename, params = None ) exiftool.ExifToolAlpha. get_tag_batch_wrapper ( self, tag, filenames, params = None ) exiftool.ExifToolAlpha. Non-existent tags, in the same order as filenames. The return value is a list of tag values or None for The second argument is an iterable of file names. The first argument is a single tag name, as usual in the get_tag_batch ( self, filenames, tag ) Įxtract a single tag from the given files. None if this tag was not found in the file.ĭoes existence checks exiftool.ExifToolAlpha. The return value is the value of the specified tag, or get_metadata_wrapper ( self, filename, params = None ) exiftool.ExifToolAlpha. get_metadata_batch_wrapper ( self, filenames, params = None ) exiftool.ExifToolAlpha. execute_json_wrapper ( self, filenames, params = None, retry_on_error = True ) exiftool.ExifToolAlpha. copy_tags ( self, from_filename, to_filename ) Ĭopy all tags from one file to another. param kwargsĪll other parameters are passed directly to the super-class constructor: exiftool.ExifTool._init_() exiftool.ExifToolAlpha. This catches unintended uses and bugs, default to True. Will check the tag names provided to methods which work directly with tag names. This catches some invalid commands passed to exiftool subprocess, defaults to True. Will check the exit status (return code) of all commands. Will automatically start the exiftool process on first command run, defaults to True param bool check_execute This class is for experimental code after all! param bool auto_start Please issue PR to this class to add functionality, even if not tested well. Or at your discretion, use one of the more stable classes above. The class heirarchy: ExifTool -> ExifToolHelper -> ExifToolAlphaĮxifTool - stable base class with CORE functionalityĮxifToolHelper - user friendly class that extends the base class with general functionality not found in the coreĮxifToolAlpha - alpha-quality code which extends the ExifToolHelper to add functionality that is niche, brittle, or not well testedīecause of this heirarchy, you could always use/extend the exiftool.ExifToolAlpha class to have all functionality, Of the exiftool.ExifTool class or the stable extended functionality of the exiftool.ExifToolHelper class As such, it may be buggy and it shouldn’t crowd the core functionality This alpha-quality code is brittle and containsĪ lot of “hacks” for a niche set of use cases. On some arbitrary pull requests to the original v0.2 PyExifTool repository. The starting point of this class was to remove all the “less used” functionality that was merged in However, if there is increased demand, or robustness improves, functionality may merge into In some methods, edge cases on some of these methods may produce unexpected or ambiguous results. In the grand scheme of things, this classĬontains “not well tested” functionality, methods that are less used, or methods with niche use cases. This class is for the “experimental” functionality.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |