luna
luna copied to clipboard
Can't remove Host using the context menu.
- 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.
@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.
Is this confirmed? Does it happen for you as well or just me?
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 :/)
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.
@BoBBer446 I know, @wackerl91already stated this :)
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