Difference between revisions of "Media Management"

From Gramps
Jump to: navigation, search
m
m (invite other contributors.)
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
{{Languages|Media Management}}
 
{{Languages|Media Management}}
 
-->
 
-->
{{man warn|1=&#x1F6A7; Work In Progress|2=This wikipage is an outline from a template being roughed in. Please don't edit '''''just yet'''''. Instead, contribute suggestions on the Discussion page. <br /><br />This page is not planned be linked to a public page until about 10 Nov 2020. <br /><br />If this notice remains after that date, please feel welcome to remove this notice and consider the content 'fair game' for unlimited editing.}}
+
This page is intended to be a discussion of improving the management of a collection of supporting documents related to a genealogy Tree.  Since Gramps has limited built-in facilities related to managing external files, the techniques will focus on workarounds and using external tools in concert with Gramps.
 +
 
 +
A good discussion will need contributions from many perspectives. Please jump in and widen its currently narrow perspective. But multiple simultaneous WikiContributors can step on each other's edits in MediaWiki pages. To avoid this, edit individual sections instead of the entire page. To add new content, start by [https://wikibooks.org/wiki/MediaWiki_User_Guide/Sections_and_Headings adding a Section Heading] (subtitle) at the bottom of the section above and save the Edit. Then click the '''''&#91;edit]''''' hotlink beside your newly created section's subtitle.  
 +
 
 +
{{stub}}
 
[[File:Gramps-media.png|left]]A [[Gramps_Glossary#media|Media]] Object describes an external file that holds media data, such as a scanned page, audio recording or a video recording. Media files can also be in document formats, such as a text file (<code>[https://wikipedia.org/wiki/TXT .txt]</code>), portable document file (<code>[https://wikipedia.org/wiki/PDF .pdf]</code>), word processing document (<code>[https://wikipedia.org/wiki/DOC .doc]</code>), a web page (<code>[https://wikipedia.org/wiki/HTML .html]</code>, <code>[https://wikipedia.org/wiki/MHTML .mthml]</code>), as well as any number of other file formats.  
 
[[File:Gramps-media.png|left]]A [[Gramps_Glossary#media|Media]] Object describes an external file that holds media data, such as a scanned page, audio recording or a video recording. Media files can also be in document formats, such as a text file (<code>[https://wikipedia.org/wiki/TXT .txt]</code>), portable document file (<code>[https://wikipedia.org/wiki/PDF .pdf]</code>), word processing document (<code>[https://wikipedia.org/wiki/DOC .doc]</code>), a web page (<code>[https://wikipedia.org/wiki/HTML .html]</code>, <code>[https://wikipedia.org/wiki/MHTML .mthml]</code>), as well as any number of other file formats.  
  
Line 20: Line 24:
  
 
=== Manual Approach ===
 
=== Manual Approach ===
 +
* [[Organise_your_records]]
 +
** [[Organise_your_files|Examples of how Gramps Users have organized digital files]]
 +
** [[Portable_Filenames|Portable filenames]]
 +
** [[Meaningful_filenames|Meaningful filenames]]
 
=== Document Management Systems ===
 
=== Document Management Systems ===
 +
https://medium.com/@MarktrHimanshu/top-10-free-and-open-source-document-management-system-ddd4265adf5e
  
 
== Relative Media filepaths ==
 
== Relative Media filepaths ==
Line 35: Line 44:
  
 
== See also==
 
== See also==
* [[Organise_your_files|Examples of how Gramps Users have organized digital files]]
+
* [[Organise_your_records]]
 +
** [[Organise_your_files|Examples of how Gramps Users have organized digital files]]
 +
** [[Portable_Filenames|Portable filenames]]
 +
** [[Meaningful_filenames|Meaningful filenames]]
 +
* [[Addon:AvatarGenerator|Addon: Avatar Generator]]
 
* Discourse Forum: [https://gramps.discourse.group/t/import-sources-in-bulk/860/4 bulk import of Sources and Media]
 
* Discourse Forum: [https://gramps.discourse.group/t/import-sources-in-bulk/860/4 bulk import of Sources and Media]
 
* Discourse Forum: [https://gramps.discourse.group/t/working-with-media-files/872 Working with Media Files]
 
* Discourse Forum: [https://gramps.discourse.group/t/working-with-media-files/872 Working with Media Files]
Line 49: Line 62:
 
* [[Gramps_{{man version}}_Wiki_Manual_-_Settings#General_Gramps_settings|{{man label|Base path for relative media paths:}}]] where you can fill in a base path for the media objects. Selecting the {{man button|Directory}} button gives you a {{man label|Select media directory}} editor where you can fill in the required path.
 
* [[Gramps_{{man version}}_Wiki_Manual_-_Settings#General_Gramps_settings|{{man label|Base path for relative media paths:}}]] where you can fill in a base path for the media objects. Selecting the {{man button|Directory}} button gives you a {{man label|Select media directory}} editor where you can fill in the required path.
  
 
+
* [[Addon:DownloadMedia|Addon:Download Media]]
 
* The builtin {{man label|[[Gramps_{{man version}}_Wiki_Manual_-_Tools#Media_Manager|Media Manager]]}} which is group of four separate tools that allows you to do the following:
 
* The builtin {{man label|[[Gramps_{{man version}}_Wiki_Manual_-_Tools#Media_Manager|Media Manager]]}} which is group of four separate tools that allows you to do the following:
 
** {{man label|[[Gramps_{{man version}}_Wiki_Manual_-_Tools#Replace_substrings_in_the_path|Replace substrings in the path]]}}
 
** {{man label|[[Gramps_{{man version}}_Wiki_Manual_-_Tools#Replace_substrings_in_the_path|Replace substrings in the path]]}}
Line 59: Line 72:
  
 
* The Third-party Addon {{man label|[[Media Verify Tool]]}} is used verify a one-to-one relationship between media objects and files in the media directory. The main purpose of the tool is to locate files that have been moved and fix the paths.  
 
* The Third-party Addon {{man label|[[Media Verify Tool]]}} is used verify a one-to-one relationship between media objects and files in the media directory. The main purpose of the tool is to locate files that have been moved and fix the paths.  
 
+
* [[Photo_Tagging_Gramplet|Photo Tagging Gramplet]]
  
  

Revision as of 17:20, 8 April 2021

This page is intended to be a discussion of improving the management of a collection of supporting documents related to a genealogy Tree. Since Gramps has limited built-in facilities related to managing external files, the techniques will focus on workarounds and using external tools in concert with Gramps.

A good discussion will need contributions from many perspectives. Please jump in and widen its currently narrow perspective. But multiple simultaneous WikiContributors can step on each other's edits in MediaWiki pages. To avoid this, edit individual sections instead of the entire page. To add new content, start by adding a Section Heading (subtitle) at the bottom of the section above and save the Edit. Then click the [edit] hotlink beside your newly created section's subtitle.

Gramps-notes.png

Please update or expand this section.


Gramps-media.png

A Media Object describes an external file that holds media data, such as a scanned page, audio recording or a video recording. Media files can also be in document formats, such as a text file (.txt), portable document file (.pdf), word processing document (.doc), a web page (.html, .mthml), as well as any number of other file formats.

The “content” of the Media Object element is not the object itself but merely information about the object. The external file that contains the object is named by the xlink:href attribute.

Media Objects in Gramps are not the actual Media Files

Gramps does not manage Media Media files. Instead, it is more similar to a metadata manager. That means that Media object actions of: moving to another Gallery tab, duplicating, deleting, or merging; will do nothing to the actual Media file. They simply rearrange the pointers to those files.

There are exceptions. The creation and restoring of backup archives includes the option to include file copies of Media objects up to 1 megabyte in size. And some Media related addons recognize paths with internet URLs and have the option to automatically download and shelve copies somewhere on local storage devices. Gramps also manages thumbnails and downloaded map tiles in the User Directory.

The Media Object Editor with an invalid file path.

However, the majority of the tasks managing of Media Objects must be performed outside of Gramps. You can just toss objects into a directory and link to them. But this will contrive a disorganized mess that will quickly become a maintenance nightmare. If the files have to be reorganized, Gramps will lose track of those files until you correct the paths. In the meantime the links will have a 'broken' indicator.


Select an Organizational System

There are groups of genealogist who share organizational system ideas for genealogical resources. And many feel most comfortable extending the metaphor for those systems for their digital resources too. So if their home library is organized with color-coding, labeling patterns and file boxes; they try to replicate the system with their digital resources too.

Before computerization, the metadata system used by libraries consisted of 3 duplicate index card catalog sets... sorted by: Title, Author & Subject. Maintaining an effective index required carefully sequencing the reference materials on the shelves sorted by a 4th addressing system. (Such as the Dewey Decimal system.)

Manual Approach

Document Management Systems

https://medium.com/@MarktrHimanshu/top-10-free-and-open-source-document-management-system-ddd4265adf5e

Relative Media filepaths

Unlike most Preferences items, the Base path for relative media paths is stored in the Tree data. For the Extensible Markup Language XML archival .gramps format, there is a <mediapath> element in the Header chunk. This means that a different media path may be set for each separate Tree.

Here is the XML pseudo code sample:

 <header>
   <created date="2020-11-01" version="GrampsAIO64-5.1.3-2"/>
   <researcher>
   </researcher>
   <mediapath>C:\Users\<user_name>\Pictures</mediapath>
 </header>

See also

  • The Third-party Addon Merge Media that searches your database for media file entries that are pointing to the same actual file and when found, they can be merged together.
  • The Third-party Addon Media Verify Tool is used verify a one-to-one relationship between media objects and files in the media directory. The main purpose of the tool is to locate files that have been moved and fix the paths.
  • Photo Tagging Gramplet