Instead of home.js setting the lastTimelineObject, plex#plexclient now
has a function called updateTimelineObject which is automatically called
every time a new timeline object is fetched or recieved.
This lets us move towards a more event fired approach to the Plex
Clients in the future
Dynamically assigns an open port to listen on for HTTP Post requests for
the Plex Clients to send data to when we subscribe to them. This results
in a MUCH smoother end user experience as more data is set and recieved
from the PT Server.
The PlexServer.chosenConnection was being overwritten even if the
connection had failed due to a scoping issue. Fixed by adding function
that sets the chosenConnection on this.
I have a problem with getSavedCustomPTServer()
debug:
Loading custom server from storage settings.js:148
custom PT is defined http://xxx.xxx.xxx.xxx:8088
but it always returns "" (the last line of the method)
- Changed the connection testing methods to be more specific, adding
support for PMS versions Pre and Post 1.3.0. This will potentially fix
WAN IP resolving issues as it was possible that connections that aren't
working to appear as working.
- Sync improvements. PT will now record how long the client is stuck
buffering when media is played AND when a seek occurs. This value will
then be used to offset seek imes in the future.
Newer Plex Media Server have a different structure to the metadata api.
This update adds compatibility for the newer versions whilst also
maintaining support for older versions.