Opened 6 years ago

Closed 6 years ago

#11834 closed Patch - Feature (Fixed)

New Gallery Plugin

Reported by: Robert Siebert <trebor_s@…> Owned by: stuartm
Priority: major Milestone: 0.28
Component: Plugin - MythGallery Version: Master Head
Severity: low Keywords:
Cc: Ticket locked: no

Description

This patch adds 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.

https://github.com/MythTV/mythtv/pull/41

Change History (1)

comment:1 Changed 6 years ago by stuartm

Resolution: Fixed
Status: newclosed

Commits applied to master (0.28).

commit 9a2851766444be42a3599abd96b8e948d9ec9367 Author: Stuart Morgan <smorgan@…> Date: Thu Sep 19 21:10:33 2013 +0100

Swap MythSystem? for MythSystemLegacy? in GalleryThumbGenThread?

commit 52508e1388019de86a9f03dde3261977929e903c Author: Stuart Morgan <smorgan@…> Date: Thu Sep 19 20:51:55 2013 +0100

Fix a manual merge mistake

commit 307ae285dc35c6582ebea81a1632299cdf33e0ca Author: Robert Siebert <rsiebert@…> Date: Tue Apr 2 14:33:39 2013 +0200

Fixed and added more method header descriptions.

Signed-off-by: Stuart Morgan <smorgan@…>

commit 27a1018b40c1a683a74c7f30a6d0c5f8fc31909d Author: Robert Siebert <rsiebert@…> Date: Tue Apr 2 13:57:26 2013 +0200

Set the default zoom level to 100%.

Signed-off-by: Stuart Morgan <smorgan@…>

commit 535a9b95276ef5bda406b9dc25b59da4b0fdf87d Author: Robert Siebert <rsiebert@…> Date: Tue Apr 2 13:56:59 2013 +0200

Removed the unused thumbnail generation progressbar.

Signed-off-by: Stuart Morgan <smorgan@…>

commit 8ab3bb209867b4ca72aaee6ed3e906ea155858ee Author: Robert Siebert <rsiebert@…> Date: Tue Apr 2 13:56:22 2013 +0200

Fixed the call to start the gallery module in the menu.

Signed-off-by: Stuart Morgan <smorgan@…>

commit 9069e4b0fbad41c0c00226e48a99b6b6c3bd7581 Author: Robert Siebert <rsiebert@…> Date: Wed Mar 20 15:38:01 2013 +0100

Added the clear database button to the default theme.

Signed-off-by: Stuart Morgan <smorgan@…>

commit c74923972c3efdd9e32015292db1aafc7836e695 Author: Robert Siebert <rsiebert@…> Date: Wed Mar 20 15:34:06 2013 +0100

Added clear database option. This will remove all contents from the two gallery related tables. The user then needs to resynchronize. The button is optional in a theme.

Signed-off-by: Stuart Morgan <smorgan@…>

commit 7cb3d37319564aa829417c4921f3379bbff81af1 Author: Robert Siebert <rsiebert@…> Date: Wed Mar 20 12:29:38 2013 +0100

Remove the zoom option, it is not supported by the MythImage? and MythUIImage classes.

Signed-off-by: Stuart Morgan <smorgan@…>

commit e8d61278fae965848fa6e86d8607856d85c28cb5 Author: Robert Siebert <rsiebert@…> Date: Wed Mar 20 11:26:59 2013 +0100

Added all gallery related files to the mythfrontend. This includes files that handle the navigation, thumbnail generation, settings, interaction with the database and the actual display of the image or a slideshow.

Signed-off-by: Stuart Morgan <smorgan@…>

commit a2b6a786c8597d7cdc0a11d7680d7d02b64aa31d Author: Robert Siebert <rsiebert@…> Date: Wed Mar 20 11:24:01 2013 +0100

Updated the pro file.

Signed-off-by: Stuart Morgan <smorgan@…>

commit 3209e187e1b0e516d4b3d7f8a09ec103dbd4fd03 Author: Robert Siebert <rsiebert@…> Date: Wed Mar 20 11:23:48 2013 +0100

Added the files that holds all information about a file. This metadata class is used throughout the application.

Signed-off-by: Stuart Morgan <smorgan@…>

commit 02ed010882166480d5a3aac3e74a0eee144667dd Author: Robert Siebert <rsiebert@…> Date: Wed Mar 20 11:23:03 2013 +0100

Added the files that extracts the exif information from the files and loads the db data.

Signed-off-by: Stuart Morgan <smorgan@…>

commit f3ba1b37c4c6db470bf21dcb54f77cd949777f63 Author: Robert Siebert <rsiebert@…> Date: Wed Mar 20 11:22:08 2013 +0100

Added the files to synchronize the database.

Signed-off-by: Stuart Morgan <smorgan@…>

commit de990998c84b5d0d064a5f9b052249bd9e41d372 Author: Robert Siebert <rsiebert@…> Date: Wed Mar 20 11:19:13 2013 +0100

Added the required service contracts for the image service API.

Signed-off-by: Stuart Morgan <smorgan@…>

commit 9b42c22c4d757a21f0e7d4187b0926e62c3adb7f Author: Robert Siebert <rsiebert@…> Date: Wed Mar 20 11:18:22 2013 +0100

Added the image service API to the backend.

Signed-off-by: Stuart Morgan <smorgan@…>

commit 2d981be0d372f1d2994264a5ca15c07ef716f40d Author: Robert Siebert <rsiebert@…> Date: Wed Mar 20 11:15:29 2013 +0100

Added the gallery file for the default theme.

Signed-off-by: Stuart Morgan <smorgan@…>

commit 4555272811801f7db63866f0e2dcebb60906584c Author: Robert Siebert <rsiebert@…> Date: Wed Mar 20 11:13:55 2013 +0100

Added a new menu entry in the default theme.

Signed-off-by: Stuart Morgan <smorgan@…>

commit 8ac55e8f8a6b108f6a661a0faa62064fd82676ba Author: Robert Siebert <rsiebert@…> Date: Wed Mar 20 11:13:12 2013 +0100

Made the new image service API known to the backend.

Signed-off-by: Stuart Morgan <smorgan@…>

commit 96f4dbdd0e8d2e8ed2b8ff00aa7ba044e1fc2700 Author: Robert Siebert <rsiebert@…> Date: Wed Mar 20 11:12:26 2013 +0100

Added jump points and keybindings and the call to the internal gallery.

Signed-off-by: Stuart Morgan <smorgan@…>

commit bdbd7995e2bdad11d51e0a938141667ab7c89109 Author: Robert Siebert <rsiebert@…> Date: Wed Mar 20 11:11:46 2013 +0100

Added an orientation feature to the MythImage? and MythUIImage classes. 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, ...).

Signed-off-by: Stuart Morgan <smorgan@…>

commit 06b1f83eab9791893d807eeafabe88bfbf14a4ef Author: Stuart Morgan <smorgan@…> Date: Thu Sep 19 20:40:06 2013 +0100

Revert "Allow rotating an image. This can be done either by either calling Rotate(angle) or by the rotate tag and its attribute angle in the theme. The angle value should be multiple of 90 degrees."

This reverts commit b3d33e62862eb38fa2b05b338c9f39b97bbb4e2c.

commit 8969853c4cc39c92798b5f4654d9f694c5f42ffd Author: Robert Siebert <rsiebert@…> Date: Thu Sep 19 20:39:44 2013 +0100

Added a new jump point

Signed-off-by: Stuart Morgan <smorgan@…>

commit e22dcf147c4dbd2bb5cd2265effdbe3b12a70978 Author: Robert Siebert <rsiebert@…> Date: Wed Mar 20 11:06:35 2013 +0100

Added the new database tables and bumped the db version.

Signed-off-by: Stuart Morgan <smorgan@…>

commit a66cfc3c5e30d3271c68421f41951bccd3de910f Author: Robert Siebert <rsiebert@…> Date: Wed Mar 20 11:04:53 2013 +0100

Updated the configure script to include the exif requirement for the new gallery functionality.

Signed-off-by: Stuart Morgan <smorgan@…>

Note: See TracTickets for help on using tickets.