[mythtv-commits] Ticket #9520: [PATCH] MediaMonitor::GetMedias - search for multile media types
MythTV
noreply at mythtv.org
Wed Dec 16 16:01:59 UTC 2015
#9520: [PATCH] MediaMonitor::GetMedias - search for multile media types
-----------------------------------+-----------------------------
Reporter: Lawrence Rust <lvr@…> | Owner: beirdo
Type: Patch - Feature | Status: closed
Priority: minor | Milestone: 0.25
Component: MythTV - General | Version: Master Head
Severity: medium | Resolution: fixed
Keywords: | Ticket locked: 0
-----------------------------------+-----------------------------
Comment (by Lawrence Rust <lvr@…>):
In [changeset:"e5b664a242b2b03a40c2a0fce07d69f385238d97/mythtv"]:
{{{
#!CommitTicketReference repository="mythtv"
revision="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>
}}}
--
Ticket URL: <https://code.mythtv.org/trac/ticket/9520#comment:7>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list