Commit graph

240 commits

Author SHA1 Message Date
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
8ed7688277 Log PlexPy logins to database 2016-05-13 21:43:21 -07:00
JonnyWong16
6aa786698e Backup config file 2016-05-12 22:00:34 -07:00
Hellowlol
9ae441b75a cache image, download log etc. 2016-05-09 01:03:37 +02:00
JonnyWong16
f4e719749a Cleanup all imports
* Should fix problems with needing to do inline imports
2016-05-07 11:26:00 -07:00
JonnyWong16
2aa059a170 Add shared libraries and filters to database 2016-05-01 11:06:37 -07:00
JonnyWong16
ae60b21375 Add metadata labels to database 2016-05-01 11:06:37 -07:00
JonnyWong16
af9786f149 Guest access per user disabled by default 2016-05-01 11:06:37 -07:00
JonnyWong16
3abea4ad3c Enable guest login with Plex.tv account 2016-05-01 11:06:37 -07:00
JonnyWong16
51a12099e4 Initial implementation of login control 2016-05-01 11:06:37 -07:00
JonnyWong16
74a232630a Add {transcode_key} and {username} notification options 2016-04-02 14:11:18 -07:00
JonnyWong16
252145cf58 Enable PlexPy dev environment using --dev flag 2016-03-27 10:25:46 -07:00
JonnyWong16
afed5841e7 Remove old notify_log table upgrades 2016-03-20 17:17:50 -07: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
0569abd00d Add customizable backup, cache, and log directory 2016-03-04 23:41:18 -08:00
JonnyWong16
e8a65df7f0 Add transcode_decision to media_info table 2016-03-04 22:20:15 -08:00
drzoidberg33
1ba3bdfbda Don't check for PMS updates every 10 seconds. 2016-03-02 14:00:30 +02:00
JonnyWong16
795d7d0a93 Add ability to get notified of PMS updates 2016-03-01 21:04:57 -08:00
JonnyWong16
eedd0d9c07 Use subprocess.Popen on windows to restart PlexPy
* See python bug: https://bugs.python.org/issue19066
2016-02-23 18:29:33 -08:00
JonnyWong16
c93b65b299 Rework notify_log table to save each notification separately 2016-02-21 15:44:21 -08:00
JonnyWong16
f663fac220 Save Imgur URL to database 2016-02-21 09:34:51 -08:00
JonnyWong16
85b3f081bf Add scheduled database backups 2016-02-17 18:41:55 -08:00
JonnyWong16
5d738e58eb Schedule PlexPy database backup task 2016-02-14 18:25:58 -08:00
JonnyWong16
38c9c5a6ea Add configuration and scheduler info to settings page 2016-02-14 17:51:14 -08:00
Hellowlol
2fcd55eb60 API2 2016-02-10 22:09:41 +01:00
JonnyWong16
7193b6518b Fix removing unique constraints from database 2016-01-30 00:40:06 -08:00
JonnyWong16
afc265a188 Fix schedulers not starting with library update 2016-01-29 21:26:27 -08:00
JonnyWong16
a8aae9f1f5 Fix libraries and users refresh 2016-01-27 23:32:01 -08:00
JonnyWong16
8bbc6a6611 Fix libraries without section_id in database 2016-01-27 19:51:10 -08:00
JonnyWong16
3c6a1a02b8 Merge pull request #462 from jackwilsdon/fix-restart-dev
Use os.execv instead of subprocess.Popen to restart the process
2016-01-23 13:16:13 -08:00
JonnyWong16
af4d0248d9 Revert https cert and key to custom directory 2016-01-22 10:17:17 -08:00
Jack Wilsdon
ed52038bc4 Use os.execv instead of subprocess.Popen to restart the process
This fixes #460.
2016-01-22 13:19:27 +00:00
JonnyWong16
ee125dfadc Forgot 'not' in 2dcae5e219 2016-01-19 08:31:49 -08:00
JonnyWong16
4e0f06f24d Remove unique constraint for section_id and username 2016-01-18 22:20:14 -08:00
JonnyWong16
2dcae5e219 Fix folders not created in the data directory 2016-01-18 18:52:01 -08:00
Jonathan Wong
4a65dc1d6e Start database section id update on its own thread 2016-01-16 03:31:00 -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
5fedac691d Add individual library page 2016-01-15 20:50:18 -08:00
Jonathan Wong
a5b0837cf5 Add libraries page 2016-01-15 20:49:41 -08:00
Jonathan Wong
8ba68dcfcf Change home cards config to list type 2016-01-15 20:49:22 -08:00
Jonathan Wong
8f367d140f Add item counts to database
* Add schedule task to refresh libraries list
* Update library stats to use library_sections table
2016-01-15 20:49:04 -08:00
Jonathan Wong
09aac22909 Initial library_id changes
* Give the library sections their own db table.
2016-01-15 20:48:29 -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
1c00f82097 Add ability to delete users 2015-11-27 21:13:17 -08:00
Jonathan Wong
ca91adbd53 Add check for Plex external port down 2015-11-17 23:35:41 -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
1983597cf1 Fix get_server_friendly_name 2015-11-16 22:51:21 -08:00