Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't remove Host using the context menu. #146

Open
Zelaf opened this issue Mar 20, 2017 · 6 comments
Open

Can't remove Host using the context menu. #146

Zelaf opened this issue Mar 20, 2017 · 6 comments
Labels

Comments

@Zelaf
Copy link

Zelaf commented Mar 20, 2017

  • Luna Version: Luna 0.7.0-rc7
  • nVidia GeForce Experience Version: 3.4.0.70
  • Moonlight Embedded Version: Moonlight Embedded 2.2.2 (EMBEDDED;PI)
  • OSMC Version: 17.02.2

Expected Behaviour: To remove the Host so I can re-add it (I reinstalled Windows 10 and need to add it again).

Actual Behaviour: I get the "click noise" but nothing happens, the context menu doesn't go away, the host doesn't get removed and the context menu stays there until get back out of it.

@wackerl91 wackerl91 added the bug label Mar 20, 2017
@wackerl91
Copy link
Owner

@Zelaf
I'll have a look at this as soon as I can.
As a workaround, delete the host file in Luna's addon data dir (usually: /home/osmc/.kodi/userdata/addon_data/script.luna/.storage). You should be able to pair again afterwards.

@Zelaf
Copy link
Author

Zelaf commented Mar 24, 2017

Is this confirmed? Does it happen for you as well or just me?

@wackerl91
Copy link
Owner

Is this confirmed? Does it happen for you as well or just me?

Didn't have time to try this :( During remove an unpair event is sent to GFE, which might fail if the host IP address is not reachable anymore or GFE doesn't respond to the payload (for various reasons), thus cancelling out the actual remove operation.
Removing hosts should always work, even if the host itself isn't reachable, so I might just need to make this more robust (i.e. even if unpairing the host fails, it should still be removed alongside any files attributed to that host, like certs, etc.).
Again, need to have a proper look at this as soon as I can find some time (and when I'm able to reboot my desktop PC, as it's currently doing some long-running calculations :/)

@BoBBer446
Copy link

This is working.

Just remove rm -rf /home/osmc/.kodi/userdata/addon_data/script.luna/host and you ready to pair again. You do not need to type the pair code again. "Already Paired" and you able to run game stream.

@Zelaf
Copy link
Author

Zelaf commented May 1, 2017

@BoBBer446 I know, @wackerl91already stated this :)

@hemiipatu
Copy link

hemiipatu commented May 22, 2017

Just wanted to confirm that I've had the same issue too, you simply cannot remove a host from the context menu even if the host system is online and connected to the network.

Doing as @wackerl91 stated is a quick workaround;

rm -rf /home/osmc/.kodi/userdata/addon_data/script.luna/host

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants