JonnyWong16
9e0153e962
Set PYTHON2 global variable
2020-04-04 07:57:51 -07:00
JonnyWong16
f72d93216c
Add helper function for timestamp
2020-03-28 14:50:45 -07:00
JonnyWong16
cc05552685
Remove from __future__ import absolute_import
2020-03-24 20:17:44 -07:00
JonnyWong16
82c09570c4
Update all future imports for Python 2
2020-03-23 22:11:42 -07:00
JonnyWong16
078685a2a3
Fix imports for Python 2
2020-03-23 22:11:41 -07:00
JonnyWong16
05afa0859c
Run futurize --unicode-literals
2019-11-23 19:21:10 -08:00
JonnyWong16
ab6196589b
Run futurize --stage1
2019-11-23 19:11:42 -08:00
JonnyWong16
c279057f91
Remove unicode strings
2019-11-23 14:37:26 -08:00
JonnyWong16
b295566a4e
Clear metadata cache before retrieving new sessions
2019-09-19 21:01:37 -07:00
JonnyWong16
e0943a2d55
Clear metadata cache on startup check for active sessions
2019-09-19 20:55:19 -07:00
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