Difference between revisions of "Addon:MediaMerge"

From Gramps
Jump to: navigation, search
Line 1: Line 1:
 
{{Third-party plugin}}
 
{{Third-party plugin}}
 
[[File:MediaMerge.png|thumb|right|450px|Media Merge Tool]]
 
[[File:MediaMerge.png|thumb|right|450px|Media Merge Tool]]
 +
The {{man label|Merge Media}} tool can searches your database for media file entries that are pointing to the same actual file and when found, they can be merged together.
 
__TOC__
 
__TOC__
 
==What is it For?==
 
==What is it For?==

Revision as of 23:18, 19 May 2020

Gramps-notes.png

Please use carefully on data that is backed up, and help make it better by reporting any comments or problems to the author, or issues to the bug tracker
Unless otherwise stated on this page, you can download this addon by following these instructions.
Please note that some Addons have prerequisites that need to be installed before they can be used.
This Addon/Plugin system is controlled by the Plugin Manager.

Media Merge Tool

The Merge Media tool can searches your database for media file entries that are pointing to the same actual file and when found, they can be merged together.

What is it For?

The Tools ->Family Tree Processing -> Merge Media tool searches your database for media file entries that are pointing to the same actual file. This can occur with certain import types, and can occur if the user adds the same media more than once. When found, they are merged together.

The addon compares all the media 'pathname' values, converting them internally to a common format for comparison.

For Windows users, differences in capitalization on the path are ignored, as are differences in the path separators "\" vs. "/".

For all users paths that are relative (using Edit -> Preferences -> Base path for relative media paths) are also compared to absolute paths or paths relative to your home directory.

For all users, paths that contain "../" forms are also properly collapsed during the comparison.

All of the above allows the addon to find variations that actually point to the same file.

The addon will NOT find variations that include 'links'.

The addon will NOT find 'UNC' style paths that have been assigned to drive letters (Windows users). For example, if "\\MyPC\d" is assigned to the drive letter "D:", and files are entered each way, they will not be matched and merged.

When merges are done, the media with the shortest pathname is kept. If pathnames have equal length, then the one with the lowest 'ID' is kept.


See also

  • The Third-party Addon Media Verify Tool is used verify a one-to-one relationship between media objects and files in the media directory.