[mythtv-users] MythTV Image Gallery questions

Bill Meek keemllib at gmail.com
Thu Jan 17 16:24:31 UTC 2019

On 1/17/19 9:58 AM, Jerome Yuzyk wrote:
> On Thursday, January 17, 2019 6:23:25 AM MST Stephen Worthington wrote:
>> On Wed, 16 Jan 2019 21:27:39 -0700, you wrote:
>>> [0.28 FE/BE on Fedora 24]
>>> I'm interested in using MythTV Image Gallery to run a slideshow of my
>>> collected images.
>>> My images would come from several pools distributed across a number of
>>> directories, so I thought I'd just create 1 new directory, maybe in
>>> ~mythtv, and fill it with softlinks from the all the image directories,
>>> which I can do with a script.
>>> I can't see from the Wiki or anywhere else that the Gallery will follow
>>> softlinks. Does it?
>> There is actually no need to use soft links.  The new Image Gallery
>> code uses storage groups, so you can just use mythtv-setup to point a
>> storage group entry at each location for your picture files.  You need
>> to restart mythfrontend to get it to see new storage group directories
>> in a scan.
> Well there is, actually - I have a dozen or so different directories and don't
> want to have to add them all (and others as they are created) when a script to
> make 1 directory of softlinks would do the job much more elegantly.

You can use the Services API from a script:

curl --data GroupName=Photographs --data DirName=/whereEverYouLike --data HostName=yoursHere yourBackend:6544/Myth/AddStorageGroupDir

RemoveStorageGroupDir works with the same parameters.


More information about the mythtv-users mailing list