plex.js?hash=af06682&version=2.3.8:742 Stopped casting to htpc
I checked and in the PHT settings it is selected Allow control of PHT via HTTP and Allow control of PHT from Plex Clients. The device name is the same as the name of the PMS -> "htpc".
I have attached the verbose debug log from Plex/Web when replicating the problem.
<Devicename="htpc"product="Plex Home Theater"productVersion="1.3.5.dev-git"platform="Plex Home Theater"platformVersion=""device="PC"clientIdentifier="e7a24aa2-9a74-4fa7-be32-545409681213"createdAt="1420735974"lastSeenAt="1420737110"provides="player"owned="1"presence="0">
Okay, I was able to replicate and resolve the issue. It happens only during restart of my Ubuntu server and when PMS and PHT are loaded automatically at startup.
If I close PHT and then restart it again from the plexhometheater.sh script the IP address is correct (192.168.0.222 instead of 127.0.0.1) and Plex/Web cast to PHT works fine.
The delay in the plexhometheater.sh startup script was 5s and it was sufficient for the previous PHT releases. Now with PHT 1.3.5 I had to increase this delay to 30s to make it work.
Hopefully this helps someone else with the same issues.