[mythtv-firehose] mythtv branch master updated by paulh. v0.28-pre-1921-gfa9a99b

Git Repo Owner noreply at mythtv.org
Wed Jul 16 16:43:02 UTC 2014


The branch, master has been updated on the
mythtv repository by gitolite user paulh.
       via  fa9a99bc37ffe3851f5aa59bcd075235fbdbdd8d (commit)
      from  ef4daff4efd232255f9cd2f6693cbcd0c8580f41 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit fa9a99bc37ffe3851f5aa59bcd075235fbdbdd8d
Author:    Paul Harrison <pharrison at mythtv.org> at Wed, 16 Jul 2014 17:41:53 +0100
Committer: Paul Harrison <pharrison at mythtv.org> at Wed, 16 Jul 2014 17:41:53 +0100
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=fa9a99bc37ffe3851f5aa59bcd075235fbdbdd8d

MythGallery: optionally allow import scripts to be run
This allows you to run a script to import images which is useful if your camera
doesn't provide a mountable directory of images to import but requires a
utility like gphoto2 to download the images.

By default allowing the import to run a script is disabled for security reasons
but can be be enabled by checking the 'Allow the import to run external script'
setting.

You set the script to use in the 'Paths to import images from' setting which
will accept both a path and a script. The script should accept a single
parameter which is the directory to save the images to.

An example script for qphoto2 would be :-

  #!/bin/bash
  #$1 is the directory to save the images to

  cd $1
  gphoto2 --get-all-files



-----------------------------------------------------------------------

Summary of changes:
 .../mythgallery/mythgallery/gallerysettings.cpp    |   12 +++
 mythplugins/mythgallery/mythgallery/iconview.cpp   |   92 ++++++++++++++------
 mythplugins/mythgallery/mythgallery/iconview.h     |   11 +++
 3 files changed, 88 insertions(+), 27 deletions(-)

-- 



More information about the mythtv-firehose mailing list