Skip to content

Run DO - UNDO command when Client gets connected disconnected, not just Starting and Quitting Session #3481

@RebelliousX

Description

@RebelliousX

Is there an existing issue for this?

  • I have searched the existing issues

Is your issue described in the documentation?

  • I have read the documentation

Is your issue present in the latest beta/pre-release?

None

Describe the Bug

Related to #3430 but different issue.

I downloaded SetVol app from here on github and added command for DO and Undo like

For Do:

C:\temp\SetVol mute

For Undo:

 C:\temp\SetVol unmute

Which works great. The issue is, the UNDO command doesn't run when the client gets disconnected, but only when session quits. That is, if I minimize Moonlight, the client disconnects, streaming stops, but Volume still muted. If I open Moonlight and force session to quit, the Undo command runs.

I also have similar issue when running VDD trying to run UNDO command when client disconnect, for example Moonlight on Shield TV (session is on, just Moonlight minimized). The Undo command to switch back to main display doesn't run until I force quit the session from Moonlight. The host's main displplay remains black until I force quit the session even if Moonlight is disconnected.

I would like to have an option to do that, that is to Run DO and UNDO commands when client gets connected and disconnected. if changing current behavior is not feasible, at least, add and option to do so on these events.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions