Opened 16 years ago
Closed 15 years ago
Last modified 15 years ago
#8071 closed defect (fixed)
Screenshot from http://<frontendhost>:6547/MythFE/GetScreenShot does not work
Reported by: | Owned by: | beirdo | |
---|---|---|---|
Priority: | minor | Milestone: | 0.24 |
Component: | MythTV - General | Version: | 0.22-fixes |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
I noticed that [16532] (referenced in 0.22 release notes) mentions a screenshot can be captured via http://<frontendhost>:6547/MythFE/GetScreenShot.
However when trying this on my frontends my browser just gets an empty body (no content, but also no errors).
But I can successfully take screenshot using the "jump snapshot" command when connecting via telnet to port 6546, as well as by assigning and using a key on my remote.
The frontend log file shows some warnings and errors (e.g. "QPixmap: It is not safe to use pixmaps outside the GUI thread") when connecting to http://<frontendhost>:6547/MythFE/GetScreenShot is attached.
(NB some of the messages are captured on stderr, not stdout).
Attachments (1)
Change History (7)
by , 16 years ago
Attachment: | mythfrontend.log added |
---|
comment:1 by , 16 years ago
Milestone: | unknown → 0.24 |
---|---|
Owner: | changed from | to
Status: | new → accepted |
comment:2 by , 16 years ago
Milestone: | 0.24 → unknown |
---|---|
Owner: | changed from | to
Status: | accepted → assigned |
comment:3 by , 15 years ago
Owner: | changed from | to
---|
comment:4 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:5 by , 15 years ago
Milestone: | unknown → 0.24 |
---|
(In [26240]) Create a signal/slot in the MythMainWindow to handle remote screen shots. As QPixmap doesn't want to capture from anything but the GUI thread, it is necessary to actually create it in the GUI thread. I used Qt::BlockingQueuedConnection to block the WorkerThread until the screen shot has completed.
Also changed it to use PNG rather than JPG for the remote screen shots as this can be helpful for people like themers without lossy encoding.
Fixes #8071