JonnyWong16
a5807f21b4
Flush temporary sessions automatically if failed to check sessions on startup
2018-03-19 23:24:09 -07:00
JonnyWong16
90443b4028
Catch failed to retrieve Plex Cloud status
2018-02-14 08:53:27 -08:00
JonnyWong16
e0109ed179
Combine connection function for cloud and non-cloud servers
2018-02-14 08:45:45 -08:00
JonnyWong16
a53afe05a2
Check cloud status on startup before connecting websocket
2018-02-14 06:55:44 -08:00
JonnyWong16
a5d2467bfe
Less log spam of cloud server status
2018-02-14 06:39:42 -08:00
JonnyWong16
e1dca1509a
Reconnect Plex Cloud without keeping the server awake
2018-02-13 10:49:11 -08:00
JonnyWong16
9100e25a21
Pass copy of notification data to prevent multithreading issues
2018-01-30 23:04:44 -08:00
JonnyWong16
32b43202c2
Attempt at fixing stuck sessions which require flishing the database
2018-01-15 18:55:37 -08:00
JonnyWong16
15faccfa2f
Update server connection code
2017-12-30 17:27:39 -08:00
JonnyWong16
19f029cff0
Rename PlexPy to Tautulli
2017-12-16 12:52:33 -08:00
JonnyWong16
1c8e581cf1
Write stopped time to database for all events
...
* To prevent the "long duration" websocket issue for missing stop events
2017-08-22 20:29:21 -07:00
JonnyWong16
a0799e8197
Initialize scheduler to reconnect websocket when failed on startup
2017-08-13 09:44:15 -07:00
JonnyWong16
6f0c650a72
Separate movie/episode/track watched percent
2017-07-07 19:01:04 -07:00
JonnyWong16
ffdd9c9cbf
Rework notification logic to only build parameters once per action
...
* Instead of rebuilding for each notification agent
* Change season/episode to use season poster
* Change album/track to use album art
2016-11-11 13:36:20 -08:00
JonnyWong16
6d0327f662
Don't nest metadata dict
...
* Return metadata dict directly
2016-11-11 13:36:14 -08:00
JonnyWong16
303ccce8b4
Some more cleanup
2016-11-11 13:31:21 -08:00
JonnyWong16
72764c614e
Add logger message
2016-11-11 13:31:20 -08:00
JonnyWong16
b8106186fb
Add advanced setting for remote access ping threshold
2016-11-11 13:31:20 -08:00
JonnyWong16
eb3c189ab6
Rework task scheduler for websocket only
2016-11-11 13:31:20 -08:00
JonnyWong16
e1bd5ed49e
Add grouped notification params
2016-11-11 13:31:19 -08:00
JonnyWong16
438e525319
Add user_id to session started log message
2016-11-11 13:31:18 -08:00
JonnyWong16
08a8b5fee0
Multithreaded notification queue
2016-11-11 13:31:18 -08:00
JonnyWong16
82f4c99025
Check on_watched condition before adding to queue
2016-11-11 13:31:18 -08:00
JonnyWong16
7b2a7aff9f
Update notification handler for all notification triggers
2016-11-11 13:31:18 -08:00
JonnyWong16
5dd04cb8ab
Temporarily set stopped time when connection is lost
2016-10-08 22:56:43 -07:00
JonnyWong16
9d00e052f0
Add ratingKey to session start log message
2016-08-01 09:28:39 -07:00
JonnyWong16
984e5588c8
Use Plex downloads to check for PMS updates instead of server API
...
* Check for PMS updates has been disabled and must be re-enabled in the
settings
2016-06-25 18:41:18 -07:00
JonnyWong16
cb8a5504f6
Cleanup unused modules and imports
...
* Ran code through PyFlakes
2016-05-15 11:32:11 -07:00
JonnyWong16
b47f542df7
Limit number of failed session write attempts for activity pinger
...
* Default is 5 attempts, configurable manually in the config file.
2016-05-13 22:48:24 -07:00
JonnyWong16
f4e719749a
Cleanup all imports
...
* Should fix problems with needing to do inline imports
2016-05-07 11:26:00 -07:00
JonnyWong16
cc1e888227
Check if notification agents enabled before sending notifications
2016-03-05 13:20:28 -08:00
JonnyWong16
d73e379dcf
Do not remove session from db until it is successfully written
...
* For activity pinger only
2016-03-05 13:07:26 -08:00
JonnyWong16
795d7d0a93
Add ability to get notified of PMS updates
2016-03-01 21:04:57 -08:00
Jonathan Wong
381c3da31c
Add media info table to library page
2016-01-15 20:59:02 -08:00
Jonathan Wong
636f898da8
Massive code cleanup
...
* Finish up library pages (toggles and notifications)
* Update user pages to match library pages
* Fix no current activity bif thumbnail at the start of a stream
* Improved logging throughout PlexPy
2016-01-15 20:58:44 -08:00
Jonathan Wong
b51d442673
Add notification for remote access/server back up
2015-12-13 09:31:11 -08:00
Tim
a5bd7e6563
More dict key fixes.
2015-12-06 17:19:09 +02:00
Jonathan Wong
8c4292f9ac
Fix recently added using added at time
2015-12-05 14:23:10 -08:00
Jonathan Wong
bb5aa2be3d
Remember previous recently added items
...
* Only pull metadata if there are new recently added items since the
last check
2015-12-03 19:50:46 -08:00
Jonathan Wong
89f581f63e
Only schedule job for recently added or monitor remote access if setting enabled
2015-12-03 18:40:18 -08:00
Jonathan Wong
7540b5fb34
Fix recently added notification delay
2015-12-01 22:54:58 -08:00
Jonathan Wong
b8d9c8cc47
Set blank metadata so recently added check continues when and item isn't found
2015-12-01 21:50:47 -08:00
Jonathan Wong
168e74aa23
Add logger for recently added
2015-11-22 22:15:28 -08:00
Jonathan Wong
013d957e47
Use Plex API to check remote access down
2015-11-21 10:13:26 -08:00
Jonathan Wong
fd43cf5dd4
Add setting to enable remote access monitoring
2015-11-19 19:40:50 -08:00
Jonathan Wong
ca91adbd53
Add check for Plex external port down
2015-11-17 23:35:41 -08:00
Jonathan Wong
4fffbf8a0c
Add server uptime
2015-11-17 19:31:13 -08:00
Jonathan Wong
c3ea35806e
Move check for server down to check_active_sessions
2015-11-17 06:57:02 -08:00
Jonathan Wong
4d87666a42
Schedule job to check if server down
2015-11-16 23:19:59 -08:00
Jonathan Wong
69a3b5134f
Switch recently added to only use activity pinger
...
* Fixed activity pinger logic for grouping notifications
2015-11-16 21:19:04 -08:00