moonlight-stream / moonlight-android

GameStream client for Android
GNU General Public License v3.0
4.05k stars 644 forks source link

Efficient way of terminating session on Android TV client #793

Open DriftingShadows opened 4 years ago

DriftingShadows commented 4 years ago

I'm currently using a PC host and Android TV client (Sony TV) and a PS4 controller connected to TV. Everything works quite well except the fact that, when I want to terminate the session, there is no combination of buttons to press that exits the moonlight session. The only way I've discovered is by pressing the home button on the tv remote. This takes you back to the TV's home screen which you then have to go back to the moonlight app and terminate the current session. Is there no way to do this more efficiently?

auto-comment[bot] commented 4 years ago

If this is a question about Moonlight or you need help troubleshooting a streaming problem, please use the help channels on our Discord server instead of GitHub issues. There are many more people available on Discord to help you and answer your questions.

This issue tracker should only be used for specific bugs or feature requests.

Thank you, and happy streaming!

thw0rted commented 4 years ago

If you quit the game you launched, it should put you back at the main games list, then you should be able to get out of Moonlight with your remote's Back button. Does that not work? (I don't have an Android TV to test this on, but that's how it works on a phone.)

DriftingShadows commented 4 years ago

If you quit the game you launched, it should put you back at the main games list, then you should be able to get out of Moonlight with your remote's Back button. Does that not work? (I don't have an Android TV to test this on, but that's how it works on a phone.)

Ah yeah, unfortunately with the games that you add manually (especially ones through steam), they will launch steam and then the game so I guess that flow gets a bit confusing and moonlight does not quit once the game has quit.

thw0rted commented 4 years ago

Do you have a way to launch Big Picture Mode directly from Moonlight? I think it might ship that way automatically, or else I added it manually, I forget. If you do that, you should be able to connect to Steam, then launch the game, and when you quit it you'll be back in BPM. Then, when you quit BPM it should drop you out of the streaming session.

DriftingShadows commented 4 years ago

Do you have a way to launch Big Picture Mode directly from Moonlight? I think it might ship that way automatically, or else I added it manually, I forget. If you do that, you should be able to connect to Steam, then launch the game, and when you quit it you'll be back in BPM. Then, when you quit BPM it should drop you out of the streaming session.

Oops sorry for my delayed response. Yeah I thought of that too that maybe if I quit the thing that was launched by moonlight (big picture mode directly in this case using a .bat file) but unfortunately, after quitting big picture mode or steam in that scenario doesn't quit the moonlight session.

However I do want to add that, if you launch Steam through the app list in moonlight (Steam is something automatically detected by moonlight/NVIDIA so didn't have to manually add) and then quit steam during the session, it does indeed kick you back to the app list. So in that scenario your theory works as expected.

Ceiyne commented 4 years ago

I'm currently using a PC host and Android TV client (Sony TV) and a PS4 controller connected to TV. Everything works quite well except the fact that, when I want to terminate the session, there is no combination of buttons to press that exits the moonlight session.

This isn't really a direct solution but may be a little more efficient for you. You should be able to use L1+R2+Options+Share to drop out of a Moonlight session back to the game list. You'll still need to manually quit the session, though. (I think those are the right buttons; I'm using an Xbox controller and press LB+RB+Start+Back in case I got the PS4 names wrong. I am also using a Sony TV and this shortcut works for me.)

Hukuma1 commented 4 years ago

Having the same issue. If I "quit" using the button combo above, it stops the stream on my Nvidia Shield, but the host computer still has the game running.

Looks like it was fixed here: https://github.com/irtimmer/moonlight-embedded/pull/729

Anyway of getting this fix into the Moonlight-Android app please?