<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:monospace,monospace"><span style="font-family:Arial,Helvetica,sans-serif">On Thu, May 2, 2019 at 4:42 PM Bill Meek <<a href="mailto:keemllib@gmail.com">keemllib@gmail.com</a>> wrote:</span><br></div></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 5/2/19 8:23 AM, Greg Oliver wrote:<br>
> On Sat, Apr 27, 2019 at 4:22 PM Greg Oliver <<a href="mailto:oliver.greg@gmail.com" target="_blank">oliver.greg@gmail.com</a>> wrote:<br>
> <br>
>> [snip]<br>
>><br>
>> Sorry for the noise and thanks for all the help!<br>
>><br>
>> My dumbass forgot it was "frontend" related and since I am no longer using<br>
>> a frontend/backend combo, just needed to point it to a "frontend" rather<br>
>> than "backend" and it still works :)<br>
>><br>
>><br>
> Well, it does not work on Android TV - anyone know how to change the tmp<br>
> directory to something in data that android will allow?<br>
> <br>
> 05-02 08:20:56.609 17673 17699 W mythfrontend: (null):0 ((null)): this<br>
> function is deprecated, use QScreen::grabWindow() instead. Defaulting to<br>
> primary screen.<br>
> 05-02 08:20:56.609 17673 17699 W mythfrontend: (null):0 ((null)):<br>
> QImage::scaled: Image is a null image<br>
> 05-02 08:20:56.654 17673 17705 I mfe : 2019-05-02 08:20:56.589921 I<br>
> Screen shot requested (0x0), format png<br>
> 05-02 08:20:56.654 17673 17705 I mfe : 2019-05-02 08:20:56.609735 I<br>
> Saving screenshot to //tmp//myth-screenshot-XML.png (0x0)<br>
> 05-02 08:20:56.654 17673 17705 I mfe : 2019-05-02 08:20:56.609752 I<br>
> MythMainWindow::screenShot Failed!<br>
<br>
The frontend setting mentioned before can be used to change the default location:<br>
<br>
If the "Screen shot path" setting (settings.ScreenShotPath) doesn't exist,<br>
then /tmp is used directly.<br>
<br>
The user running the FE must have write permission of course.<br>
<br>
You could try the Services API, for example, although it appears to do the<br>
same thing (it does honor ScreenShotPath.):<br>
<br>
curl --data Action=SCREENSHOT --data Height=720 --data Width=1080 <FE>:6547/Frontend/SendAction<br>
<br>
I don't know (and can't test) the Android TV case. The "Image is a null image"<br>
line in the log above doesn't sound very encouraging.<br>
<br>
-- <br>
Bill<br><br></blockquote><div><span class="gmail_default" style="font-family:monospace,monospace">Yep - still no joy. I must have overlooked that line prior and jumped straight to the tmp directory probably being the issue - I see your point now.</span></div><div><span class="gmail_default" style="font-family:monospace,monospace"><br></span></div><div><span class="gmail_default" style="font-family:monospace,monospace">-Greg</span></div></div></div>