As you know, Plex has forced us to switch from the normal Desktop app to the HTPC app if we want to advertise the app as a player.
This sort of works, but after making the switch, it appears as though Plex HTPC is advertising twice . Once on the locahost IP and once on the LAN IP. Check it out - hitting http://localhost:32400/clients?X-Plex-Token=... on my server yields:
<MediaContainer size="2">
<Server name="mycompname" host="127.0.0.1" address="127.0.0.1" port="32400" machineIdentifier="z0c6opu0w2xsrgh076gwrsir" version="1.19.1.3076-b24239e5" protocol="plex" product="Plex HTPC for Windows" deviceClass="pc" protocolVersion="3" protocolCapabilities="timeline,playback,navigation,playqueues"/>
<Server name="mycompname" host="192.168.42.7" address="192.168.42.7" port="32400" machineIdentifier="z0c6opu0w2xsrgh076gwrsir" version="1.19.1.3076-b24239e5" protocol="plex" product="Plex HTPC for Windows" deviceClass="pc" protocolVersion="3" protocolCapabilities="timeline,playback,navigation,playqueues"/>
</MediaContainer>
Notice how the same computer is advertising itself twice.
I’ve checked to ensure that only one app is running…
Any ideas?
Chosing your nic in Settings > Network should solve the problem, no?
That player is not listed in the output from plex.tv/api/resources?includeIPv6=1…
I do not see this Settings screen in the Plex HTPC Player (I looked through the Settings several times). Are you sure it’s there?
Is it signed into your account? All of your signed in servers and clients should be listed there.
Hmm, sorry, now it’s there. Guess it was just temporarily absent. Below is the output of /api/resources. A few notes:
The IP 192.168.42.7 is the LAN IP of my server… It is not the IP of the that machine running the HTPC client. Is that wrong or am I just misunderstanding this listing?
45.1.2.3 is my public IP
<?xml version="1.0" encoding="UTF-8"?>
<MediaContainer size="2">
<Device name="myservername" product="Plex Media Server" productVersion="1.27.1.5916-6b0e31a64" platform="Linux" platformVersion="20.04.4 LTS (Focal Fossa)" device="PC" clientIdentifier="6cc5cf9294dd7918f05765fe0c4f65fbeb47d91a" createdAt="1645135442" lastSeenAt="1656504477" provides="server" owned="1" accessToken="_N_2nu2ZqJEZwcMeFy8D" publicAddress="45.1.2.3" httpsRequired="0" synced="0" relay="1" dnsRebindingProtection="0" natLoopbackSupported="1" publicAddressMatches="1" presence="1">
<Connection protocol="http" address="192.168.42.7" port="32400" uri="http://192.168.42.7:32400" local="1"/>
<Connection protocol="http" address="45.1.2.3" port="32400" uri="http://45.1.2.3:32400" local="0"/>
</Device>
<Device name="mycompname" product="Plex HTPC for Windows" productVersion="1.19.1.3076-b24239e5" platform="windows" platformVersion="10.0.19043" device="" clientIdentifier="z0c6opu0w2xsrgh076gwrsir" createdAt="1656166740" lastSeenAt="1656523518" provides="client,player" owned="1" publicAddress="45.1.2.3" publicAddressMatches="1" presence="0" accessToken="_N_2nu2ZqJEZwcMeFy8D">
<Connection protocol="http" address="192.168.42.7" port="32400" uri="http://192.168.42.7:32400" local="1"/>
<Connection protocol="http" address="45.1.2.3" port="32400" uri="http://45.1.2.3:32400" local="0"/>
</Device>
</MediaContainer>
Volts
June 29, 2022, 6:55pm
8
Is this causing a problem?
Does it also appear twice in Plex apps?
1 Like
I see the same (server’s IP address) for my fully-functional Plex HTPC clients (one on Windows, one on Linux).
Per @Volts ’ question, are you seeing issues casting content to it?
Volts
June 29, 2022, 7:27pm
10
Right, it might be deliberate.
I haven’t investigated, but I wonder if the server can mediate/proxy/refer/forward player-control requests.
Then again it might also be an issue.
Yes, this is how it works.
My bad, you’re talking about player not server.
That’s pretty interesting; that seems to be unique as far as bespoke clients are concerned. Out of curiosity, how does it determine which server to use for this proxying in a multi-server environment?
Yes. In the Desktop plex app (I’ve tried both on Windows and Ubuntu) the player is listed twice, which is weird… Strangely, in Plexamp (on iOS), I don’t see it at all…
1 Like
Any update here? I guess I have two questions:
Is this only happening to me? (In which case I’ll keep debugging to figure out why my setup is doing this.)
Why did the player mysteriously stop showing up in Plexamp (iOS; latest version)? Is it related to it showing up twice elsewhere?
Very frustrating.
system
Closed
October 2, 2022, 3:25pm
16
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.