Commit Graph

28 Commits

Author SHA1 Message Date
samcm 51a945e97a Disabled checkBufferTime for testing purposes - reset events when our chosenClient changes 2016-12-10 18:37:51 +11:00
samcm f4e409acd8 lastTimelineObject methods
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
2016-12-10 15:38:04 +11:00
samcm 0aab6a697f Unsubscribe when changing chosenClient 2016-12-10 14:39:23 +11:00
samcm 1b4c63774d Added X-Plex-Provides header to Client API calls
Adds basic support for PS4 and presumably Xbox One
2016-12-10 13:35:36 +11:00
samcm c291675d54 Fixed movies metadata tagline being potentially undefined 2016-12-08 00:39:32 +11:00
samcm 1d591b4867 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	app/package.json
2016-12-08 00:29:39 +11:00
samcm 52f83c11ce Large changes to Sync and client interactions
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.
2016-12-08 00:27:50 +11:00
samcm 4a3e87fd81 Merge pull request #10 from TheGrimmChester/save-custom-pt-server
Save custom pt server
2016-12-07 22:37:59 +13:00
samcm df83c0c7da Potential fix for #7
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.
2016-12-07 14:48:03 +11:00
Nicolas 3c5d52b165 If no custom server, set value to http & fix issues with undefined 2016-12-06 13:59:20 -05:00
Nicolas 8c9e213617 Because of async method, I only was able to set the value by passing the input object by reference. 2016-12-06 13:39:24 -05:00
Nicolas 0f5a6cec87 save the server if connection is a success
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)
2016-12-06 11:47:27 -05:00
Nicolas 3542d92305 First attempt to save to storage, not working
I think the remote problem causes the storage to fail.
2016-12-06 08:12:59 -05:00
samcm 64174b5935 Added logging to settings.js 2016-12-06 14:37:44 +11:00
samcm c14bbdc651 New logging setup & Readme updates
Now using Electron-log to log files both to file and to console. Readme
updates for how to handle issues and find log files.
2016-12-06 13:57:01 +11:00
George Cordalis 30dbfaceca Windows Maximise Button 2016-12-06 07:45:33 +11:00
samcm abb984dcbd Merge remote-tracking branch 'refs/remotes/origin/master' into Responsive-UI 2016-12-06 00:12:36 +11:00
samcm d901627697 Attempted fix for #7 and Syncing improvements
- 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.
2016-12-05 22:25:34 +11:00
George Cordalis 07baf25ef6 Reponsive-UI
Updated UI to provide more real estate larger screens
2016-12-05 21:44:41 +11:00
samcm a81e43fd2c Even more Debugging for issue #2
Prints the Raw Body and Error in to the Main console.
2016-12-05 17:04:45 +11:00
samcm 7b3edd95f9 Changed Plex.tv Resources API url to include HTTPS
New URL is https://plex.tv/api/resources?includeHttps=1

Should help with #2 and #3
2016-12-05 15:38:25 +11:00
samcm a0b53c3af9 Debugging console writes for issue #2 2016-12-05 14:48:46 +11:00
samcm 0dfa27c179 Fix for Issues #2 & #3
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.
2016-12-05 13:45:32 +11:00
pureMidi 1d2f0cda19 Compatibility for server/room workflow process. 2016-12-05 12:13:24 +11:00
Nicolas 853744a526 Fix indentation 2016-12-04 11:13:36 -05:00
Nicolas 5a0b9c6168 Exclude local IPs starting with 169.254 2016-12-04 10:25:27 -05:00
samcm 2033e17c5b Initial Readme 2016-12-04 14:59:51 +11:00
samcm 7c3b16d7e4 0.1.0
Initial Commit
2016-12-03 18:09:24 +11:00