Blacktwin
b9c2ea66f2
extra print removed.
2019-06-25 14:59:28 -04:00
Blacktwin
c80682787b
clean up
2019-06-25 14:52:36 -04:00
Blacktwin
740dc498e2
add syncing rating key from plex to plex
2019-06-25 14:50:48 -04:00
blacktwin
60772450a0
Merge branch 'master' into style-cleanup
2019-06-25 14:37:47 -04:00
Blacktwin
d341092675
simplified code
2019-06-24 15:14:15 -04: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
5179aa7175
Add check to see if serverTo and serverFrom are the same. If same, then
...
use ratingKey instead of searching by name.
2019-06-04 09:02:21 -04:00
Blacktwin
5e161997dc
changed output title to use _prettyfilename
2019-05-28 12:39:20 -04:00
Blacktwin
47a8c1ecb4
fix for handling show libraries
2019-05-28 11:35:30 -04:00
Nicholas St. Germain
ed65e4e948
rename for arc :P
2019-05-02 15:11:25 -05:00
Nicholas St. Germain
ba5335c1f0
create ombi_to_tautulli_friendly_name_sync
2019-05-02 15:07:46 -05:00
Nicholas St. Germain
343c45d78e
remove_inactive_users rework
2019-05-01 16:09:50 -05:00
dirtycajunrice
a8bd260f33
pep8 + desc
2019-04-23 23:33:57 -05:00
dirtycajunrice
6cd1231ec5
move past_days to used var
2019-04-23 23:28:29 -05:00
dirtycajunrice
926e72a685
force py3 in shebang
2019-04-23 22:22:34 -05:00
dirtycajunrice
1ed9a98bdd
add get_serial_transcoders.py
2019-04-23 22:22:19 -05:00
dirtycajunrice
a9d2225de0
use config where applicable
2019-04-23 21:18:55 -05:00
dirtycajunrice
2258b21b2c
cleaner
2019-04-22 15:19:43 -05:00
dirtycajunrice
f35c1a23b0
Omit local and admin id
2019-04-22 15:15:28 -05:00
Blacktwin
aa4448de15
Allow for username or email address to select account.
2019-03-25 23:47:11 -04:00
Blacktwin
5b4feb6208
description update
2019-03-18 22:13:29 -04:00
Blacktwin
d90d052696
docstring update
2019-03-18 21:08:03 -04:00
Blacktwin
599d9970ea
comment updates
2019-03-18 21:06:36 -04:00
Blacktwin
0321b883eb
example for manual sync from Tautulli user
...
remove pprint import
2019-03-18 12:14:37 -04:00
Blacktwin
5ae2e9f6d7
if ratingKey section cleanup.
2019-03-17 09:56:52 -04:00
Blacktwin
ef87f88e05
change for checking if episode is watched from fromUser
2019-03-15 16:21:21 -04:00
Blacktwin
aee131548b
added manual runs for user to user from tautulli ratingKey
2019-03-15 11:59:24 -04:00
Blacktwin
8f02098655
clean up, reduce amount of times connecting to servers.
2019-03-15 00:58:46 -04:00
Blacktwin
e605979a16
total rewrite while resolving #146 .
...
Now able to read watched status from Tautulli and apply to any user
on any owned server.
2019-03-14 13:07:41 -04:00
Blacktwin
80557f4a61
#146 Adding get_history from Tautulli, initial setup
2019-02-26 10:28:51 -05:00
Blacktwin
1adcc9e41b
#144 Added ability to sync watched status across all owned servers
2019-02-25 00:20:45 -05:00
Blacktwin
cbc71bfc1a
#144 adding servers as an arg.
2019-02-19 08:32:29 -05:00
Blacktwin
88f775e646
From finding in #142
2019-02-07 00:45:33 -05:00
Blacktwin
625948b73e
#142 compare USER_LST against who watched each episode
2019-02-07 00:29:23 -05:00
Blacktwin
11715e1e6e
Only users with libraries shared can be selected.
...
Should resolve #125
2019-01-06 09:03:47 -05:00
blacktwin
472e438967
Merge pull request #130 from DirtyCajunRice/master
...
Lots of Updates
2019-01-02 21:39:39 -05:00
dirtycajunrice
b5347e3304
mass guest access modification script
2018-12-19 18:43:30 -06:00
dirtycajunrice
6d418e54f7
rework logic, add more informative output, and update.
2018-12-19 18:21:54 -06:00
Blacktwin
e222525d14
if con_watch is defined by viewOffset then so should On Deck.
2018-12-18 10:27:02 -05:00
Blacktwin
dd7228904b
First update to address #126
...
New examples for new arguments
Now able to display user's deck and continue watching
Now able to clear only shows that are marked continue watching
2018-12-17 15:45:26 -05:00
Blacktwin
316616f02a
spelling fix.
2018-12-07 12:44:59 -05:00
Blacktwin
baa687355f
#125 removing else
2018-12-07 12:08:56 -05:00
Blacktwin
e2475fae3b
#125 forgot to use continue
2018-12-07 12:03:10 -05:00
Blacktwin
2a39697acd
#125 add in checks for when Tautulli friendly name has been edited.
...
if edited then fallback to use userID to match Tautulli to Plex.
Check if user exists in Tautulli but not Plex
2018-12-07 11:03:33 -05:00
Blacktwin
542f58b510
correct exception message
2018-12-07 10:13:58 -05:00
Blacktwin
473808d720
#125 fix plex and tautulli url/token calls from CONFIG
2018-12-07 09:42:23 -05:00
Blacktwin
27db3a6eaa
metadata api fix
2018-11-18 16:17:31 -05: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
eeed9e6f81
import os missing for deletion
2018-11-05 15:04:08 -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
14ea3bb0d5
--playlist looks for shows in playlist.
2018-10-18 12:30:08 -04:00
Blacktwin
f41501e77c
pull show title from Playlists
2018-10-16 09:38:15 -04:00
Blacktwin
69d1c7f8eb
remove plexapi_search_file
2018-09-26 09:12:05 -04:00
Blacktwin
46c88b9baf
create off_deck
2018-09-26 09:11:20 -04:00
Blacktwin
0987874f44
if adding url and token don't check the config.ini
2018-09-08 16:57:30 -04:00
Blacktwin
1a9fdd1a99
Issue #93 , clean up
2018-09-07 00:32:58 -04:00
Blacktwin
286c65f9a2
SSL
2018-08-23 06:44:26 -04:00
Blacktwin
5b58e94ab8
shebang
2018-08-23 06:43:58 -04:00
Blacktwin
0c0ee06125
shebang and spacing
2018-08-23 06:43:34 -04:00
Blacktwin
ce8f3838c0
CONFIG and SSL
2018-08-23 06:41:49 -04:00
Blacktwin
9f45bed626
shebang
2018-08-23 06:38:59 -04:00
Blacktwin
c3063a77e4
CONFIG and SSL
2018-08-23 06:38:07 -04:00
Blacktwin
d802c334fe
shebang
2018-08-23 06:37:24 -04:00
Blacktwin
d20ecda1ee
shebang and remove dup vars
2018-08-23 06:36:35 -04:00
Blacktwin
6f30b44431
CONFIG and SSL
2018-08-23 06:34:22 -04:00
Blacktwin
18526cf765
shebang
2018-08-23 06:33:24 -04:00
Blacktwin
8d7f0fc11b
CONFIG and SSL
2018-08-23 06:32:52 -04:00
Blacktwin
faf959fa4a
shebang
2018-08-23 06:32:06 -04:00
Blacktwin
5ea6211956
spacing and shebang
2018-08-23 06:31:17 -04:00
Blacktwin
59675d4a5b
SSL
2018-08-23 06:30:24 -04:00
Blacktwin
1635da7619
shebang
2018-08-23 06:29:54 -04:00
Blacktwin
793092ddc8
CONFIG and SSL
2018-08-23 06:29:13 -04:00
Blacktwin
8caff8cdc0
shebang
2018-08-23 06:27:13 -04:00
Blacktwin
a78244df75
CONFIG and SSL
2018-08-23 06:26:30 -04:00
Blacktwin
4782bd9e5e
shebang
2018-08-23 06:24:44 -04:00
Blacktwin
c5778c89a3
CONFIG and SSL
2018-08-23 06:23:22 -04:00
Blacktwin
e39c35ab87
shbang
2018-08-23 06:22:00 -04:00
Blacktwin
a336c3aded
shebang
2018-08-23 06:20:50 -04:00
Blacktwin
ea347159d6
shebang
2018-08-23 06:19:24 -04:00
Blacktwin
d5053cdca8
docstring and example update
2018-08-22 21:08:29 -04:00
Blacktwin
52d42ab46c
pretty up output
2018-08-22 21:05:27 -04:00
Blacktwin
b2bcce67ef
arg fix and replaced
2018-08-22 20:47:00 -04:00
Blacktwin
6f40d31f9d
SSL and session
2018-08-22 20:23:32 -04:00
Blacktwin
dd33595b98
CONFIG
2018-08-22 20:22:40 -04:00
Blacktwin
c474182b97
change function name
2018-08-13 21:33:50 -04:00
Blacktwin
9e35fbe091
use CONFIG
2018-08-13 21:32:06 -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
dfb9382546
obsolete use plex_api_share.py
2018-08-02 16:22:10 -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
803743ae8d
CONFIG addition. functioned marked_watch()
2018-07-11 06:49:57 -04:00
Blacktwin
714b87b6b3
Merge remote-tracking branch 'origin/master'
2018-06-12 10:04:01 -04:00
Nicholas St. Germain
99476b46f0
added backup of db
2018-06-12 09:55:19 -04:00
Blacktwin
32e256f111
marking series watched instead of episode. child not item.
2018-06-12 09:55:07 -04:00
Blacktwin
1ed70fb66e
shows were being marked as watched if an episode was watched.
...
check each episode.
2018-06-12 09:55:07 -04:00
Blacktwin
dec77495c1
added support for admin account
2018-06-12 09:55:07 -04:00
Blacktwin
8c910be961
env and override correction
2018-06-12 09:55:07 -04:00
Blacktwin
fd893af4e9
token correction
2018-06-12 09:55:07 -04:00
Blacktwin
d1a16f2bcd
update getting url and token variables
2018-06-12 09:55:07 -04:00
Blacktwin
bf97c0129a
Create sync_watch_status.py
2018-06-12 09:55:06 -04:00
Nicholas St. Germain
c351e01502
added backup of db
2018-06-12 09:50:59 -04:00
Blacktwin
42bc38b963
marking series watched instead of episode. child not item.
2018-04-13 13:25:48 -04:00
Blacktwin
5881857b41
shows were being marked as watched if an episode was watched.
...
check each episode.
2018-04-12 21:58:53 -04:00
Blacktwin
90738fc076
added support for admin account
2018-04-12 15:39:19 -04:00
Blacktwin
59add7f167
env and override correction
2018-04-10 13:46:56 -04:00
Blacktwin
97a0a43f90
token correction
2018-04-10 13:36:49 -04:00
Blacktwin
54e1e4a8fa
update getting url and token variables
2018-04-10 13:34:28 -04:00
Blacktwin
70af084614
Merge remote-tracking branch 'origin/master'
...
# Conflicts:
# utility/purge_removed_plex_friends.py
2018-04-10 12:57:43 -04:00
Blacktwin
88ac4746f0
Create sync_watch_status.py
2018-04-10 12:55:03 -04:00
Blacktwin
cb0368f18b
updated
2018-04-09 08:36:12 -04:00
Blacktwin
1a48b2f7a6
updated
2018-04-03 12:02:13 -04:00
Blacktwin
7ffaa7543f
cleanup
2018-04-03 11:57:51 -04:00
Blacktwin
444eb68fd9
updated metadata
2018-03-29 09:49:29 -04:00
Blacktwin
ea43b22c1f
updated metadata
2018-03-29 09:49:29 -04:00
Blacktwin
446e488717
metadata fix
2018-03-29 09:49:29 -04:00
Blacktwin
72c684e758
add purge_removed_plex_friends, scriptHeaderTemplate update.
2018-03-29 09:49:28 -04:00
Blacktwin
bdff121f5b
PlexPy names to tautulli. Agent_id to notifier_id.
2018-03-29 09:48:21 -04:00
Nicholas St. Germain
26f214f918
added backup of db
2018-03-29 09:48:18 -04:00
Nicholas St. Germain
46ff8a7993
Create purge_removed_plex_friends.py
2018-03-29 09:48:18 -04:00
blacktwin
0cd01588db
fix descriptions
2018-03-29 09:48:18 -04:00
Blacktwin
fd0f4b749d
updated metadata
2018-03-24 14:04:47 -04:00
Blacktwin
1795700c66
updated metadata
2018-03-24 13:58:47 -04:00
Blacktwin
e6e44cb8a1
metadata fix
2018-03-24 13:53:57 -04:00
blacktwin
39344ed5cc
Merge branch 'master' into tautulli-update
2018-03-23 10:36:42 -04:00
Blacktwin
de75b09bea
add purge_removed_plex_friends, scriptHeaderTemplate update.
2018-03-19 14:06:42 -04:00
Blacktwin
f546732f43
PlexPy names to tautulli. Agent_id to notifier_id.
2018-03-19 12:33:44 -04:00
Nicholas St. Germain
735da3311d
added backup of db
2018-03-14 13:07:56 -05:00
Nicholas St. Germain
fc639507c8
Create purge_removed_plex_friends.py
2018-03-14 12:44:50 -05:00
blacktwin
3913e23804
fix descriptions
2018-03-14 13:21:33 -04:00
blacktwin
51801177c6
limited libraries to only show type
2018-03-07 10:12:58 -05:00
blacktwin
a7526edbdc
added argparse
...
adding argparse to allow for calling from cmd.
2018-03-07 10:08:18 -05:00
blacktwin
7d175de571
Create plex_api_show_settings.py
...
very basic
2018-03-07 09:49:13 -05: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