blacktwin
61524c4b92
adding support for Plex's allow/deny restrictions
2020-06-15 16:25:55 -04:00
blacktwin
f90497fbd2
#226 add check for user's existing shares. If no shares, print out "user has no shares"
...
thanks @RXWatcher
2020-06-14 15:55:10 -04:00
blacktwin
8ad42fb3e7
#210 expand exception to anything
...
actually report the offending section id
2020-03-16 10:34:55 -04:00
blacktwin
ca38dc30a5
potential fix for #208
...
section id is printed for user to investigate issue
2020-03-03 11:41:04 -05:00
blacktwin
71c2208fee
Now works with Python 3.7
...
error found by slayerinokc in Plex Forums
2020-02-08 13:12:30 -05:00
blacktwin
1a892fe750
changing variable naming
...
reuse would cause cascading issue when using allUsers.
2020-01-02 23:25:47 -05:00
Landon Abney
2be0e376f8
Massive style cleanup
...
Adds a basic `setup.cfg` file with configurations for flake8 and pylama,
fixes some basic issues with essentially every file including:
* Many, many, whitespace line cleanups
* Several unused variables and imports
* Missing coding and shabang lines
* Minor style fixes to more closely align with PEP8
* Turn `print` into function calls for Python 2/3 compat
* A few minor bugs
* Things like using an undefined `i` in `stream_limiter_ban_email.py`
2019-06-20 23:55:11 -07:00
Blacktwin
ca5f4fb271
example for --libraryShares
2019-06-17 23:28:10 -04:00
Blacktwin
caebf46e83
add --libraryShares argument
...
Shows all shares by library.
2019-06-17 23:25:05 -04:00
Blacktwin
aa4448de15
Allow for username or email address to select account.
2019-03-25 23:47:11 -04:00
Blacktwin
b5c40b29d2
allow user arg for backup
2018-11-09 01:33:47 -05:00
Blacktwin
0a445d1ab3
if pending invite user is created but without certain attributes.
...
filter out by title
2018-11-09 01:33:21 -05:00
Blacktwin
7cdb1355f5
spelling
2018-11-08 23:13:41 -05:00
Blacktwin
69f88ef738
fix for shared users who no longer shared libraries on the server.
2018-10-19 03:28:09 -04:00
Blacktwin
0987874f44
if adding url and token don't check the config.ini
2018-09-08 16:57:30 -04:00
Blacktwin
587cf32087
prefix backup with servername
...
restore arg choices startwith servername
2018-08-13 08:20:18 -04:00
Blacktwin
970535057d
Doc string update description and examples
...
print settings enabled --add and disabled --remove
fixed issue where filters would be wiped if --add --remove were used
2018-08-13 07:57:30 -04:00
Blacktwin
96adf71620
removing server loop from restore.
2018-08-13 06:54:59 -04:00
Blacktwin
c3978ace6b
remove servers from backup and shared json
...
attempt to pretty print settings when toggled
add/remove settings independently from libraries
2018-08-12 21:46:38 -04:00
Blacktwin
52b91ee9c6
fix for multiple servers. Script will only modify server based on URL and token used. But will still show owned servers and user shares from all owned servers.
2018-08-12 09:18:48 -04:00
Blacktwin
66d7cd3aa5
use previously set requests.Session()
2018-08-11 22:21:16 -04:00
Blacktwin
124e324c95
spelling and docstring corrections
2018-08-08 11:59:35 -04:00
Blacktwin
f25a881a27
fixes for non Plex Pass members.
2018-08-08 11:50:14 -04:00
Blacktwin
b638e800dd
examples for backup and restore.
2018-08-05 19:06:10 -04:00
Blacktwin
7bd9af12db
add restore
...
restore by user or all
2018-08-05 19:02:59 -04:00
Blacktwin
d059f00bfe
additional user information
2018-08-05 18:28:05 -04:00
Blacktwin
f3fa1f18a1
backup to json file in script root.
2018-08-05 18:13:15 -04:00
Blacktwin
87907952c8
add backup information
2018-08-04 03:05:29 -04:00
Blacktwin
a2c2e94bff
check if user has no servers
2018-07-25 12:55:02 -04:00
Blacktwin
ca06ec9476
shebang
...
add CONFIG and ssl
2018-07-25 12:33:10 -04:00
blacktwin
0cd01588db
fix descriptions
2018-03-29 09:48:18 -04:00
blacktwin
e5fd561d0f
Update plex_api_share.py
2018-03-03 01:19:07 -05:00
blacktwin
ce2dd986ea
--shared, corrected examples
...
--shared Display user's shared libraries.
2018-03-03 01:18:08 -05:00
blacktwin
f6f0f6af94
--add and --remove examples
...
updated comments to include --add and --remove examples.
2018-03-02 11:23:54 -05:00
blacktwin
dad6341da8
added --kill
...
added --kill argument so as to kill then unshare. Can potentially remove ../utility/plex_api_parental_control.py now.
2018-02-16 10:26:59 -05:00
blacktwin
7e560ffd9f
improve content rating choice
...
content ratings are now pulled from plex instead of assuming the available content ratings.
2018-02-05 12:27:46 -05:00
blacktwin
5e55fed866
argparse fix
...
fixed argparse errors.
2018-02-05 08:47:31 -05:00
blacktwin
0090eda7de
more options
...
argparse errors.
2018-02-05 01:20:51 -05:00
blacktwin
3a8a46bfd0
lib arg description
...
default is actually blank and not all libraries.
2018-01-03 11:03:53 -05:00
blacktwin
a349b1c3cb
support for multiple users
2018-01-03 10:57:00 -05:00
blacktwin
98dfb06ae4
fix unshare
...
unshare requires some sectionId in order to run successfully. Adding all sectionIds.
2017-10-23 21:33:06 -04:00
blacktwin
80c7204a00
corrected description
2017-10-23 12:57:35 -04:00
blacktwin
a883b00dc6
Update plex_api_share.py
2017-09-29 15:31:58 -04:00
blacktwin
5cf81fcfe2
Update plex_api_share.py
2017-09-29 15:31:17 -04:00
blacktwin
584e813ae9
Update plex_api_share.py
2017-09-29 15:23:08 -04:00
blacktwin
044c6180e1
Update plex_api_share.py
2017-09-29 15:21:48 -04:00
blacktwin
01aa066d2c
fix for plexapi update
...
removeSection is explicit.
2017-09-29 14:47:45 -04:00
blacktwin
fa736b49d2
removeSections update
2017-09-29 14:33:47 -04:00
blacktwin
cd734effd5
share is now explicit
2017-09-29 14:28:19 -04:00
blacktwin
99a798230d
Create plex_api_share.py
2017-09-08 22:50:56 -04:00