0

Bug when adding a server with QR Code

Spooky 13 jaar geleden bijgewerkt 13 jaar geleden 4
When you add a host by QR Code and include the authentication information in the QR Code as well, the form shows the correctly added authentication information within aMPdroid. However, for some reason this information is not saves. When you go back into the configuration of the host, "Use Authentication" is not ticked anymore for all 3 parts.

This happened when I tried to add one MediaPortal client in a Server/Client environment, using the QR Code of the client. I went back into the client configuration, since I had to change the TV server information and then noticed, that the authentication information for all 3 parts was disabled.
Hm,

I cannot confirm this, it is working here...

Couple of questions:

a) Did you use the latest version of ampdroid (1.0.1)
b) Did you get the QR code from WifiRemote config or MpExtended config
c) What excactly was your setup (what services where installed on the pc)
a) yes :)
b) from MPExtended config
c) Server/Client environment. I.e. TV-Server is installed on Host A, MediaPortal Client is installed on Host B. I installed MPExtended on Host B and used the QR Code to add that Client. It filled out every information, including the authentication. It also filled out the TV-Server part, even though the TV-Server is not located on Host B. After going back into the configuration, the authentication information was gone.

I'll try to reproduce it again, may be I made a mistake somewhere.
I was able to reproduce it again. These are the exact steps:

  1. Opened MPExtended Configurator on the PC with the MediaPortal Client and went to "QR Code" and selected "Include authentication for user: admin"
  2. Opened the aMPdroid 1.0.1 app on a Lenovo Ideapad A1 (Gingerbread 2.3.4)
  3. Went into Menu - Settings - Clients
  4. Selected Menu - QR Scan
  5. Scanned the QR Scan
    • aMPdroid then showed me the "Add new host" window in advanced mode, with the IP address, name, Mac address and Authentication filled in for "WiFi Remote" and "Media", but nothing for "TV Server" (as it should be, since the TV Server is on a different Host)
  6. I hit "Ok" to confirm, then pressed "back" until I was out of the application.
  7. I went back into aMPdroid - Menu - Settings - Clients
  8. I selected the client that I just added
    • the authentication information is now gone for "WiFi Remote" and "Media".
    • However, even though "TV Server" was not filled out before, it is now suddenly filled out with the same details as "WiFi Remote" and "Media"


I tried the exact same steps on a Google Nexus-S with Ice Cream Sandwich 4.0.4. The exact same issue occurs there as well.

Btw. one thing I forgot to mention: after I added the Client via QR Code and then went back into the configuration of the client again, it shows me the "Simple Mode" first, with the Authentication credentials already missing. May be in that instant, when I open the configuration of the client again, everything gets "reset", sort of, due to the TV Server configuration missing or something?