Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New gallery plugin #41

Closed
wants to merge 22 commits into from
Closed

New gallery plugin #41

wants to merge 22 commits into from

Conversation

rsiebert
Copy link

These commits add a new gallery plugin to MythTV.
The main differences to the current MythGallery plugin are:

  • The program logic is on the backend and all functions are accessible via the service API
  • The presentation logic is directly incorporated in the frontend like MythVideo.
  • It uses the backend database to save the directory and file information together with the exif image orientation
  • Storage groups are supported

General information:

  • The images are stored on the backend server in a storage group. The images will then be synced into the database on the backend. Multiple frontends can therefore connect to the backend and view the images. This is similar to the MythVideo plugin.
  • The exif information is also read from each file during sync and stored in the database. If no exif value is available the user can still rotate the image and it will be remembered because this information is available in the database.
  • The synchronization progress is completely done in the backend and the status is available via the service API. It can be started or stopped via the service API or the theme.
  • The sync runs in the background and navigating the folder structure and all file operations are therefore possible during sync.
  • Thumbnails will be generated from images and also from videos.
  • Each directory thumbnail image will show up to four image previews like XBMC or KDE does.
  • The images are shown either one by one or as a slideshow which is configurable
  • Videos will be played by the internal player.
  • The user can rotate, flip, delete and rename files.
  • Hiding and unhiding files is also possible in case these shall not be visible to the audience. This information is saved in the database.

Robert Siebert added 22 commits March 20, 2013 11:04
This is required so that the cached images remember and can change their
orientation. The is determined by the exif tag that specifies the
orientation of the image (rotated, upside down, ...).
This metadata class is used throughout the application.
This includes files that handle the navigation, thumbnail generation,
settings, interaction with the database and the actual display of the
image or a slideshow.
This will remove all contents from the two gallery related tables. The
user then needs to resynchronize. The button is optional in a theme.
@stuartm
Copy link
Member

stuartm commented Sep 19, 2013

Merged to master (0.28)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants