[mythtv-firehose] mythtv branch master updated by rsiddons. v0.28-pre-3233-g808747b

Git Repo Owner noreply at mythtv.org
Wed Dec 16 16:01:54 UTC 2015


The branch, master has been updated on the
mythtv repository by gitolite user rsiddons.
       via  808747b44f1b221020da006ddd7bfb45fa6c777a (commit)
       via  f48a8c7cf6e652aa6d93246bc7a927566dddcbe6 (commit)
       via  79a35d3c32747ed004ecd981431d3524252675e0 (commit)
       via  1bb0b6c06e7cce57051bc98f8d936ffc45b5e660 (commit)
       via  4bf9dac8c5d68a5475a31cc23f9490944fffb6ad (commit)
       via  e46231a050909364f3accefd936cee5788be16c6 (commit)
       via  79945bf6f3efecb3de7522a3ecdc544ffc740bbf (commit)
       via  59edfabaa6a90e6fdb4a3fe00dd9871b98e31a49 (commit)
       via  096b94929c76f8999181a0c1022040422b0d24c7 (commit)
       via  ade5ca7f623d0e4a23fc970534060571e4b168a4 (commit)
       via  e5b664a242b2b03a40c2a0fce07d69f385238d97 (commit)
       via  0aa6b70874650ff169d563c9f0be863252ab02e7 (commit)
      from  7292e214a1f1a9ab77f0abc3c61e1ba9f0650a4f (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 808747b44f1b221020da006ddd7bfb45fa6c777a
Author:    Roger Siddons <rsiddons at mythtv.org> at Wed, 9 Dec 2015 11:49:12 +0000
Committer: Roger Siddons <rsiddons at mythtv.org> at Wed, 16 Dec 2015 14:43:46 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=808747b44f1b221020da006ddd7bfb45fa6c777a

Bump ABI for Gallery changes



commit f48a8c7cf6e652aa6d93246bc7a927566dddcbe6
Author:    Roger Siddons <rsiddons at mythtv.org> at Wed, 7 Oct 2015 01:25:58 +0100
Committer: Roger Siddons <rsiddons at mythtv.org> at Wed, 16 Dec 2015 14:43:46 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=f48a8c7cf6e652aa6d93246bc7a927566dddcbe6

MythUI: Handle deviant image orientation behaviour by Qt 5.4.1
When loading a QImage, Qt 5.4.1 automatically orientates the image.
All other versions of Qt (4, 5.2, 5.4.0, 5.4.2) load the raw image without applying orientation.
In Qt 5.5 the behaviour will be optional.
See https://codereview.qt-project.org/#/c/110685/

This causes Gallery images to be mis-orientated (as orientation is applied twice)

This patch applies orientation compensation when running with Qt 5.4.1

Tested on Qt 5.2.1, 5.4.1 & 5.4.2

Refs #12424



commit 79a35d3c32747ed004ecd981431d3524252675e0
Author:    Roger Siddons <rsiddons at mythtv.org> at Fri, 9 Oct 2015 23:29:22 +0100
Committer: Roger Siddons <rsiddons at mythtv.org> at Wed, 16 Dec 2015 14:43:45 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=79a35d3c32747ed004ecd981431d3524252675e0

Gallery: Use common orientation
Images are rotated to their correct orientation in 2 places;

- MythImage, when loading an image
- Gallery, when creating thumbnails

This patch removes the duplicated orientation code by making the MythImage functionality accessible to the Gallery.

Refs #12424



commit 1bb0b6c06e7cce57051bc98f8d936ffc45b5e660
Author:    Roger Siddons <rsiddons at mythtv.org> at Mon, 14 Dec 2015 17:40:56 +0000
Committer: Roger Siddons <rsiddons at mythtv.org> at Wed, 16 Dec 2015 14:43:45 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=1bb0b6c06e7cce57051bc98f8d936ffc45b5e660

Gallery: Add seasonal slideshow
Add seasonal ordering to Image Gallery.
Seasonal ordering biases a random slideshow to select images around anniversaries.
Based on a patch by Chad Parry

Refs #12335



commit 4bf9dac8c5d68a5475a31cc23f9490944fffb6ad
Author:    Roger Siddons <rsiddons at mythtv.org> at Mon, 14 Dec 2015 17:17:58 +0000
Committer: Roger Siddons <rsiddons at mythtv.org> at Wed, 16 Dec 2015 14:43:44 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=4bf9dac8c5d68a5475a31cc23f9490944fffb6ad

Gallery: Redesign to support local media
Current design only manages storage group images.

This rewrite:
  - Also manages local media (USBs/CDs etc) attached to frontend.
  - Adds caching to improve UI responsiveness
  - Improves metadata handling (Exif/Ffmpeg tags)

A generic Image Manager is now provided by libmythmetadata.
Frontend uses one instance to manage local media.
Another instance is used by backend to manage the storage group.
UI uses both instances seamlessly.

This patch refactors lots of internal Gallery files. External changes are:

  mythcorecontext:   Add support for mythffprobe, used to retrieve metadata tags for videos.
  mythuifilebrowser: Reverts changes introduced by 8970202e7dc94ec4f634fb9f2fd6a0c780f5dbf9. Import dialog (mythuimultifilebrowser) is no longer needed.
  mythfrontend/main: Add mediamonitor support & key binding fixes.
  mainserver:        Image messages/events
  theme:             Image screen & mythuifilebrowser removal

** Although schema hasn't changed, the use of the database has changed. You must reset/clear the image database ("gallery_files") and rescan. **

Refs #12424



commit e46231a050909364f3accefd936cee5788be16c6
Author:    Roger Siddons <rsiddons at mythtv.org> at Thu, 1 Oct 2015 20:51:11 +0100
Committer: Roger Siddons <rsiddons at mythtv.org> at Wed, 16 Dec 2015 11:20:22 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=e46231a050909364f3accefd936cee5788be16c6

MythUI: Empty menu getter
Menu construction is sometimes convoluted.
Add support to prevent empty menus being displayed.

Refs #12424



commit 79945bf6f3efecb3de7522a3ecdc544ffc740bbf
Author:    Roger Siddons <rsiddons at mythtv.org> at Mon, 28 Sep 2015 19:20:00 +0100
Committer: Roger Siddons <rsiddons at mythtv.org> at Wed, 16 Dec 2015 11:20:22 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=79945bf6f3efecb3de7522a3ecdc544ffc740bbf

MythUI: Signal when image loaded
Emit a signal when MythUIImage finishes loading an image in a background thread.

Required for Gallery slideshows, which wait for an image to load before starting a transition to display it.

Refs #12424



commit 59edfabaa6a90e6fdb4a3fe00dd9871b98e31a49
Author:    Roger Siddons <rsiddons at mythtv.org> at Thu, 27 Aug 2015 18:58:27 +0100
Committer: Roger Siddons <rsiddons at mythtv.org> at Wed, 16 Dec 2015 11:20:22 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=59edfabaa6a90e6fdb4a3fe00dd9871b98e31a49

MythUI: Don't draw empty text
Text items containing only spaces result in errors:

QPainter::begin: Paint device returned engine == 0, type: 3
2015-10-10 16:50:23.512923 E  MythPainter::GetImageFromTextLayout: Invalid canvas.
2015-10-10 16:50:23.512939 D  MythPainter::DrawTextLayout: Rendered image is null.

The QRect created by the formatting is empty but not null and we shouldn't try to render it.

(Empty photo EXIF comments are typically 100+ spaces).

Refs #12424



commit 096b94929c76f8999181a0c1022040422b0d24c7
Author:    Roger Siddons <rsiddons at mythtv.org> at Sat, 22 Aug 2015 14:56:17 +0100
Committer: Roger Siddons <rsiddons at mythtv.org> at Wed, 16 Dec 2015 11:20:22 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=096b94929c76f8999181a0c1022040422b0d24c7

RemoteFile: Add Move operation
Adds support for moving files.
Between local/remote locations the source is copied and only deleted if destination has an identical file size.
Remote files can only be moved within the same storage group.
Local->local & remote->remote moves invoke a filesystem rename (which may resort to a copy/delete itself).

Refs #12424



commit ade5ca7f623d0e4a23fc970534060571e4b168a4
Author:    Roger Siddons <rsiddons at mythtv.org> at Sat, 22 Aug 2015 13:25:45 +0100
Committer: Roger Siddons <rsiddons at mythtv.org> at Wed, 16 Dec 2015 11:20:21 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=ade5ca7f623d0e4a23fc970534060571e4b168a4

RemoteFile::CopyFile: Don't overwrite existing files by default
CopyFile doesn't check for a file's existance before writing to it.
For storage groups containing multiple dirs this can lead to multiple versions of a remote file (only
one of which will be read).

This patch will fail the copy operation (by default) if the destination file already exists.
If the overwrite flag is set the destination file is deleted first, ensuring that multiple versions
are never created.

It also adds optional verification that the copy succeeded (by comparing file sizes) as writing can fail
silently if the filesystem fills up.

Refs #12424



commit e5b664a242b2b03a40c2a0fce07d69f385238d97
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Tue, 15 Mar 2011 12:34:32 +0100
Committer: Roger Siddons <rsiddons at mythtv.org> at Wed, 16 Dec 2015 11:20:21 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=e5b664a242b2b03a40c2a0fce07d69f385238d97

MediaMonitor::GetMedias: Search for multiple media types
Add the ability to request multiple media types when searching MediaMonitor
disks.

This is useful in the Gallery & MythGallery plugin which registers specific image
filetypes with MediaMonitor.  When a CD/USB is inserted with media
containing images, the disk is searched statistically and the media type
is set to MEDIATYPE_MGALLERY.  However, when the galleries show a list of
devices with supported media it needs to ask for both MEDIATYPE_MGALLERY
and MEDIATYPE_DATA.
The Galleries are the only user of the MediaMonitor::GetMedias function.

Refs #9520

Signed-off-by: Roger Siddons <rsiddons at mythtv.org>



commit 0aa6b70874650ff169d563c9f0be863252ab02e7
Author:    Roger Siddons <rsiddons at mythtv.org> at Thu, 9 Jul 2015 11:49:39 +0100
Committer: Roger Siddons <rsiddons at mythtv.org> at Wed, 16 Dec 2015 11:20:21 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=0aa6b70874650ff169d563c9f0be863252ab02e7

MediaMonitor: Support ejection of specific device
Mediamonitor only supports device ejection via its own dialog.

This patch allows MediaMonitor clients to eject devices directly.

Refs #12424



-----------------------------------------------------------------------

Summary of changes:
 mythplugins/mythgallery/mythgallery/iconview.cpp   |    2 +-
 mythplugins/mythmusic/mythmusic/cdrip.cpp          |    2 +-
 mythplugins/mythmusic/mythmusic/editmetadata.cpp   |    4 +-
 mythplugins/mythmusic/mythmusic/importmusic.cpp    |   10 +-
 mythtv/libs/libmyth/mythmediamonitor.cpp           |   19 +-
 mythtv/libs/libmyth/mythmediamonitor.h             |    3 +-
 mythtv/libs/libmythbase/mythcorecontext.h          |    1 +
 mythtv/libs/libmythbase/mythversion.h              |    2 +-
 mythtv/libs/libmythbase/remotefile.cpp             |  113 +-
 mythtv/libs/libmythbase/remotefile.h               |    5 +-
 mythtv/libs/libmythmetadata/imagemanager.cpp       | 2464 ++++++++++++++++++++
 mythtv/libs/libmythmetadata/imagemanager.h         |  510 ++++
 mythtv/libs/libmythmetadata/imagemetadata.cpp      |  866 +++++---
 mythtv/libs/libmythmetadata/imagemetadata.h        |  126 +-
 mythtv/libs/libmythmetadata/imagescanner.cpp       |  882 ++++----
 mythtv/libs/libmythmetadata/imagescanner.h         |  146 +-
 mythtv/libs/libmythmetadata/imagethumbs.cpp        |  809 +++----
 mythtv/libs/libmythmetadata/imagethumbs.h          |  184 +-
 mythtv/libs/libmythmetadata/imagetypes.h           |  171 ++
 mythtv/libs/libmythmetadata/imageutils.cpp         |  655 ------
 mythtv/libs/libmythmetadata/imageutils.h           |  366 ---
 mythtv/libs/libmythmetadata/libmythmetadata.pro    |   12 +-
 .../datacontracts/imageMetadataInfo.h              |    9 -
 .../services/hackimageServices.h                   |   70 -
 .../services/imageServices.h                       |   22 +-
 mythtv/libs/libmythui/libmythui.pro                |    4 +-
 mythtv/libs/libmythui/mythdialogbox.h              |    2 +
 mythtv/libs/libmythui/mythimage.cpp                |   81 +-
 mythtv/libs/libmythui/mythimage.h                  |    2 +
 mythtv/libs/libmythui/mythuifilebrowser.cpp        |    4 +-
 mythtv/libs/libmythui/mythuifilebrowser.h          |   17 +-
 mythtv/libs/libmythui/mythuiimage.cpp              |   53 +-
 mythtv/libs/libmythui/mythuiimage.h                |    5 +
 mythtv/libs/libmythui/mythuimultifilebrowser.cpp   |  183 --
 mythtv/libs/libmythui/mythuimultifilebrowser.h     |   38 -
 mythtv/libs/libmythui/mythuitext.cpp               |    2 +-
 mythtv/programs/mythbackend/imagehandlers.cpp      |  388 ---
 mythtv/programs/mythbackend/imagehandlers.h        |   25 -
 mythtv/programs/mythbackend/mainserver.cpp         |  159 +-
 mythtv/programs/mythbackend/mainserver.h           |   18 +
 mythtv/programs/mythbackend/mythbackend.pro        |    4 +-
 mythtv/programs/mythbackend/services/hackimage.cpp |  372 ---
 mythtv/programs/mythbackend/services/hackimage.h   |  208 --
 mythtv/programs/mythbackend/services/image.cpp     |  365 +---
 mythtv/programs/mythbackend/services/image.h       |   53 +-
 mythtv/programs/mythfrontend/gallerycommhelper.cpp |  358 ---
 mythtv/programs/mythfrontend/gallerycommhelper.h   |   85 -
 mythtv/programs/mythfrontend/galleryconfig.cpp     |  107 +-
 mythtv/programs/mythfrontend/galleryconfig.h       |   19 +-
 mythtv/programs/mythfrontend/galleryinfo.cpp       |  289 +++
 mythtv/programs/mythfrontend/galleryinfo.h         |   49 +
 mythtv/programs/mythfrontend/galleryslide.cpp      |  396 ++--
 mythtv/programs/mythfrontend/galleryslide.h        |  176 +-
 mythtv/programs/mythfrontend/galleryslideview.cpp  |  485 ++---
 mythtv/programs/mythfrontend/galleryslideview.h    |   85 +-
 mythtv/programs/mythfrontend/gallerythumbview.cpp  | 1602 ++++++++------
 mythtv/programs/mythfrontend/gallerythumbview.h    |  144 +-
 .../programs/mythfrontend/gallerytransitions.cpp   |   71 +-
 mythtv/programs/mythfrontend/gallerytransitions.h  |   67 +-
 mythtv/programs/mythfrontend/galleryviews.cpp      | 1089 ++++-----
 mythtv/programs/mythfrontend/galleryviews.h        |  228 ++-
 mythtv/programs/mythfrontend/main.cpp              |   62 +-
 mythtv/programs/mythfrontend/mythfrontend.pro      |    8 +-
 mythtv/themes/default/base.xml                     |  221 +--
 mythtv/themes/default/image-ui.xml                 |   90 +-
 65 files changed, 7955 insertions(+), 7112 deletions(-)
 create mode 100644 mythtv/libs/libmythmetadata/imagemanager.cpp
 create mode 100644 mythtv/libs/libmythmetadata/imagemanager.h
 create mode 100644 mythtv/libs/libmythmetadata/imagetypes.h
 delete mode 100644 mythtv/libs/libmythmetadata/imageutils.cpp
 delete mode 100644 mythtv/libs/libmythmetadata/imageutils.h
 delete mode 100644 mythtv/libs/libmythservicecontracts/services/hackimageServices.h
 delete mode 100644 mythtv/libs/libmythui/mythuimultifilebrowser.cpp
 delete mode 100644 mythtv/libs/libmythui/mythuimultifilebrowser.h
 delete mode 100644 mythtv/programs/mythbackend/imagehandlers.cpp
 delete mode 100644 mythtv/programs/mythbackend/imagehandlers.h
 delete mode 100644 mythtv/programs/mythbackend/services/hackimage.cpp
 delete mode 100644 mythtv/programs/mythbackend/services/hackimage.h
 delete mode 100644 mythtv/programs/mythfrontend/gallerycommhelper.cpp
 delete mode 100644 mythtv/programs/mythfrontend/gallerycommhelper.h
 create mode 100644 mythtv/programs/mythfrontend/galleryinfo.cpp
 create mode 100644 mythtv/programs/mythfrontend/galleryinfo.h

-- 



More information about the mythtv-firehose mailing list