m0ngr31 / kanzi

Alexa skill for controlling Kodi
https://lexigr.am
MIT License
427 stars 149 forks source link

Request to add audiotoggledigital and 3D handling #217

Closed simonrb2000 closed 7 years ago

simonrb2000 commented 7 years ago

Hi,

We watch a lot of 3D films and sometimes we have a surround system on and sometimes we don't. The most common commands we use are audiotoggledigital which changes the digital out put.. So we can change from pass through or not pass through.

The next is toggling the 3D on and off. I believe its either:-

StereoMode ToggleStereoMode

If its a massive problem then not to worry!

Great work everyone and the support on the forum is fantastic! Thanks a lot :D

jingai commented 7 years ago

There is GUI.SetStereoscopicMode that we could use.

It looks like we can use Input.ExecuteAction with audiotoggledigital as the param to toggle passthrough.

simonrb2000 commented 7 years ago

Quick work.. Once Ain jingai :D

jingai commented 7 years ago

Haven't actually done the work yet.. but it shouldn't be too hard. Just need to come up with utterances that fit with the others and don't collide with existing ones.

simonrb2000 commented 7 years ago

Brilliant. Just that your thinking about doing it means a lot.

Set 3D mode Toggle 3D mode Toggle Audio Settings Toggle Passthrough Toggle Passthrough Audio

Just an idea and not sure if they conflict with the exiting.. Thanks again

jingai commented 7 years ago

Probably something like:

PlayerStereoscopicMode (toggle/change) (stereoscopic/three d.) mode

AudioOutput toggle (passthrough/digital) audio
AudioOutput toggle audio (passthrough/output)
jingai commented 7 years ago

All set :)

simonrb2000 commented 7 years ago

Wicked, Thank you!!! :)

Update:- Tested audio toggle for pass through and works great :D