This based on the README file for MythGallery.
The MythGallery plug-in allows you to view all your photos as well as short movies from your digital camera. Myth Gallery will show your photos as they are organised in your file system. Myth will generate thumbnails of both folders as well as individual photos. Many new digital cameras can now take high quality movies typically in MPEG-4 format as well as photos. Mythgallery can show these as well, provided that you have the video player setting set up to play that media type.
If you have installed MythTV using a package manager then simply install the MythGallery package. Otherwise follow these instructions to compile and install the plugin.
- At the very least, you need MythTV's database stuff setup properly. If you don't have that done, don't even bother with this, as it won't work.
In the main distribution directory configure the package by typing
You can enable OpenGL support using
Make sure you have OpenGL support for your graphics card available and enabled if you choose this option. You can check this under X11 using xdpyinfo or glxinfo. Also ensure that QT has been built with OpenGL support)
You can also enable EXIF support using
This requires you have the libexif headers/libraries installed and in your include/lib path when compiling. An install of the libexif/libexif-devel packages from your favorite package repository usually provides this. Currently, EXIF support only consists of auto-rotating images if the camera sets the orientation tag (My Canon S400 does).
in the main distribution directory. If you get an error on building this, that says something about mkspecs, then you don't have the QTDIR environment variable set. On Debian, this should be set to /usr/share/qt3. On Mandrake, it's /usr/lib/qt3. On Fedora (Core 5 and 6 at least) its /usr/lib/qt-3.3. You'll need to figure out what it should be on your system, set the variable, and attempt to compile again. If you get any errors about missing references, etc, you most likely don't have one of the required pieces of software installed.
Follow this by a
# make install
which puts the libmythgallery.so plugin in the /usr/local/lib/mythtv/plugins directory.
MythGallery will also read the mysql.txt settings files used by MythTV, so any changes you made to those will be carried over into this.
After compiling and installing, you will need to enter the setup menu from mythfrontend to configure mythgallery. Change the directory parameter to where you're storing your pictures.
Its a good idea to organise the top level screen as a collection of folders only. You can have subfolders within folders also.
Pressing 'p' while viewing a single image or while an image icon is highlighted will start a slide show playback of all images in that directory. Image rotation can be done by pressing the [ and ] keys.
The Settings Option brings up the Myth Gallery Settings screen where you can change the slide show transition parameters. Check the use OpenGL transitions and you can now choose some of the funky transitions available.
Thumbnail View Keys
Image View Keys
When import is pressed in the menu each item in the import directory search path will be examined. If the item is a directory, its contents will be recursively copied to a new directory whose name is the current date and time. Using this method, removable devices can be put in the search path if they use an automount system (see the Linux documentation for info on how to use automount systems). If the item is an executable file, it will be executed with 1 argument consisting of the name of the new subdirectory. This way, import from a removable device can be accomplished without the use of an automount system.
1) Slideshow stops after x number of slides (on frontend).
- Solution 1: disable / uninstall gnome-screensaver (try this if slideshow works when frontend started with sudo) - Solution 2: If above does not work, this has been reported to work sometimes: disable DPMS