[mythtv-users] using mythtv as clockradio
Hika van den Hoven
hikavdh at gmail.com
Wed Jan 20 19:29:24 UTC 2016
Hoi Michael,
Wednesday, January 20, 2016, 7:58:43 PM, you wrote:
> On 01/20/2016 01:11 PM, Hika van den Hoven wrote:
>> Wednesday, January 20, 2016, 7:13:35 PM, you wrote:
>>
>>> On Wed, Jan 20, 2016 at 11:55 AM, Hika van den Hoven wrote:
>>>> Wednesday, January 20, 2016, 6:55:39 PM, you wrote:
>>>>
>>>>> Easier solution might be once it is turned on send a command through the
>>>>> frontend web service to start live tv
>>>>> https://www.mythtv.org/wiki/Frontend_Service
>>>> This action list would be the same keycodes you use for seting up a
>>>> remote?
>>>>
>>> More or less. if you do http://10.0.0.231:6547/Frontend/GetActionList
>>> in a browser you can see the list of valid commands.
>>> <Action>
>>> <Key>Live TV</Key>
>>> <Value>Live TV</Value>
>>> </Action>
>>> <Action>
>>> <Key>SELECT</Key>
>>> <Value>Select</Value>
>>> </Action>
>>> And the number keys
>>> Then you have wget or curl post the commands in order to start live tv,
>>> punch in the channel you want, and press enter.
>> I'll write a small python script and when it works I'll post it!
> Note that when you use SendAction, they're Actions, not keys. So Left
> doesn't mean "do what you do when I press the Left button on my remote."
I don't understand? What then does it do?
Or do you mean that those remote/keyboard buttons are not in all
situations mapped to the 'right'/'left' event but for instance to
'channel up'/'channel down' and that you have to send the event and
the key it is mapped to. That I get and although that may be sometimes
unexpected it is logical!
> See:
> https://code.mythtv.org/trac/ticket/11916
> especially comment:2
> Perhaps Bill Meek might be able to get that patch in place before 0.28
> is released so your script could use keys...
> Mike
I did experiment somewhat. First I have on this frontend set live tv
to start in the Guide. And now both 'Live TV' and
'Live TV In Guide' do the last one. This is NOT logical as there
are two distinct events! If they look at that setting there should
only be one or three! (one looking at the setting and two distinct one
ignoring the setting either way).
The first time I tried I got the sometimes occurring erroneous message
'All tuners are busy'. Possibly because the frontend had just woken.
But however the api call returned TRUE! It should return FALSE so you
can try again later!
Tot mails,
Hika mailto:hikavdh at gmail.com
"Zonder hoop kun je niet leven
Zonder leven is er geen hoop
Het eeuwige dilemma
Zeker als je hoop moet vernietigen om te kunnen overleven!"
De lerende Mens
More information about the mythtv-users
mailing list