[mythtv-users] remote display from frontend
Michael T. Dean
mtdean at thirdcontact.com
Tue Oct 27 17:03:41 UTC 2015
On 10/27/2015 12:34 PM, Eric Sharkey wrote:
> On Tue, Oct 27, 2015 at 11:26 AM, Michael T. Dean wrote:
>> On 10/27/2015 09:55 AM, Eric Sharkey wrote:
>>> On Mon, Oct 26, 2015 at 5:46 PM, Ross Boylan wrote:
>>>> It would also be nice if I could dynamically resize the virtual screen; I
>>>> don't know if myth would be any happier with me resizing the window in a
>>>> real machine.
>>> The frontend doesn't support dynamic resizing. It would be nice if it
>>> did, but it doesn't. I have a menu defined in my window manager that
>>> can launch the frontend in a variety of different sizes, but switching
>>> sizes always involves killing it and restarting.
>>
>> No, switching sizes just involves going into frontend settings and changing
>> the size under Appearance settings (and, potentially, changing the "Use GUI
>> size for TV playback" checkbox).
> If you switch sizes frequently, that's a very impractical method.
> Using --geometry flags on the command line is much easier.
Using --geometry flags (or any -o <override> argument) on the command
line means that MythTV will not--even after going into Appearance
settings--use the size specified in Appearance settings, since it says
to ignore the database setting no matter what (even if you change it
during the session). If you really want command-line changes to your
settings, you'd actually be better off using the services API to change
the setting then start mythfrontend. Just have your script issue a
couple of curl calls, like:
curl --data HostName=<frontend_profile_identifier_or_hostname> \
--data Key=GuiWidth \
--data Value=1280 \
<backend_address>:6544/Myth/PutSetting
curl --data HostName=<frontend_profile_identifier_or_hostname> \
--data Key=GuiHeight \
--data Value=720 \
<backend_address>:6544/Myth/PutSetting
# Then start mythfrontend
It would be easy enough to do with a single script that accepts width
and height arguments, allowing you to start with any size screen from
the one script.
Overrides are not meant to be used during normal usage. They're meant
to override broken settings to allow you to get into settings and fix
your system.
Mike
More information about the mythtv-users
mailing list