[mythtv-commits] Ticket #12424: Replacement Gallery using MythUI & Storage Groups

MythTV noreply at mythtv.org
Wed Jun 24 10:20:35 UTC 2015


#12424: Replacement Gallery using MythUI & Storage Groups
-------------------------------------------+-----------------------------
 Reporter:  Roger Siddons <dizygotheca@…>  |          Owner:  paulh
     Type:  Patch - Feature                |         Status:  closed
 Priority:  minor                          |      Milestone:  0.28
Component:  Plugin - MythGallery           |        Version:  Master Head
 Severity:  medium                         |     Resolution:  fixed
 Keywords:                                 |  Ticket locked:  0
-------------------------------------------+-----------------------------
Changes (by Roger Siddons <dizygotheca@…>):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"e845eae3e846cd83873cf3844971b29fc6bc5219/mythtv"]:
 {{{
 #!CommitTicketReference repository="mythtv"
 revision="e845eae3e846cd83873cf3844971b29fc6bc5219"
 Replacement Gallery using MythUI & storage groups

 Tested with Qt 4.8 and Qt 5.2.1

 Backend manages images in Storage Group and supports multiple
 frontends/service clients.

 Backend generates thumbnails for FE's and service clients. They are
 pre-generated in a (low-priority) background thread to improve FE
 performance.
 They are also generated on-demand when necessary.

 Thumbnails reside in <BE user>/.mythtv/tmp/Photographs. FE's cache
 displayed
 images & thumbnails in <FE user>/.mythtv/cache/themecache/<themedir>. Both
 caches are synced to the Db to prevent cache overflow.

 The Thumbnail View screen implements zoom by switching buttonlist widgets.
 A theme must define an "images0" buttonlist (most zoomed-out) and can
 optionally define others to enable zoom. The default theme provides 10x6,
 8x4,
 6x3, 4x2 views.

 Provides basic management functions (Create Dir, Delete, Copy/Move) which
 can
 be password-protected to thwart little fingers/prevent data loss.

 Provides some basic animated slideshow transitions using zoom, rotate,
 fade,
 translate and a framework for easily adding more.

 Displays Exif metadata and date/orientaton of videos.
 Images can be sorted by metadata timestamp.
 Photos are auto-rotated using Exif data; video auto-rotation TBD.

 Never writes Exif metadata to image files.
 Exif standards are poorly defined and modification may lead to
 corruption/data
 loss. Images may (should) have read-only permissions. Orientation
 overrides are
 stored in Db only.

 The menu is 'smart', in that the displayed optons depend upon the item(s)
 selected.

 Deficiencies/Known Issues.

 Uses current schema (>1318). However its use of the db has changed and is
 not
 compatible with old 'New Image Gallery'. Clear image database
 ("gallery_files"
 table) first. It abuses the current schema - a schema update is required
 to
 tidy it up.

 Does not yet support mythmediaserver.

 Services API is incomplete.

 Videos are not played in correct orientation.

 Slideshow zoom wobbles between 70% - 110% zoom.

 Not integrated with shutdown. Initial scans of large libraries will take a
 significant time to generate thumbnails.

 Closes #12424

 Signed-off-by: Paul Harrison <pharrison at mythtv.org>
 }}}

--
Ticket URL: <https://code.mythtv.org/trac/ticket/12424#comment:9>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list