[mythtv-commits] Ticket #13404: QT5: QFileInfo is not registered to QMetaType at startup anymore
MythTV
noreply at mythtv.org
Wed Feb 20 16:14:04 UTC 2019
#13404: QT5: QFileInfo is not registered to QMetaType at startup anymore
---------------------------------------------+---------------------------
Reporter: rcrdnalor | Owner: Bill Meek
Type: Patch - Bug Fix | Status: closed
Priority: minor | Milestone: 29.2
Component: MythTV - Services API - Backend | Version: v29-fixes
Severity: medium | Resolution: fixed
Keywords: | Ticket locked: 0
---------------------------------------------+---------------------------
Changes (by Roland Ernst <rcrernst@…>):
* status: accepted => closed
* resolution: => fixed
Comment:
In [changeset:"8f37aa3a70763f190872191715a5b97e2f07e9c2/mythtv"
8f37aa3a70/mythtv]:
{{{
#!CommitTicketReference repository="mythtv"
revision="8f37aa3a70763f190872191715a5b97e2f07e9c2"
Services API: Allow images/icons immediately after BE startup. Fixes
#13404
Register <QFileInfo> to QMetaType at backend startup.
Tested on master with:
curl --header Accept:Application/JSON --output /tmp/preview.out \
--silent
localhost:6544/Content/GetPreviewImage?RecordedId=<validRID>
curl --header Accept:Application/JSON --output /tmp/icon.out \
--silent localhost:6544/Guide/GetChannelIcon?ChanId=<validChanID>
Also, without --header ... for XML responses.
Required because Services need this type already registered. Without this
fix expect:
JSON: {'': ''}
XML: <?xml version="1.0" encoding="UTF-8"?><></>
Thanks Roland
Signed-off-by: Bill Meek <billmeek at mythtv.org>
}}}
--
Ticket URL: <https://code.mythtv.org/trac/ticket/13404#comment:7>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list