Commit Graph

303 Commits

Author SHA1 Message Date
pjft
e24114ad7a
Slight fixes to gmusic to plex scripts
- adds more robust playlist song retrieval from Google Play Music for when, for some reason, the get_shared_playlist_contents() method didn't return all the playlist elements;
- removes unnecessary encoding of title and album that were preventing Plex searches from finding the right songs.
2020-09-11 20:51:06 +01:00
blacktwin
28879b77d4 create gmusic_playlists_to_plex.py 2020-07-17 14:47:12 -04:00
blacktwin
f105c0a9c8 add admin user to available users 2020-07-10 01:13:46 -04:00
JonnyWong16
0d1685afed
Run futurize --unicode-literals 2020-07-04 13:31:02 -07:00
JonnyWong16
dc6507ffed
Run futurize --stage2 2020-07-04 13:23:47 -07:00
JonnyWong16
30dbccda77
Run futurize --stage1 2020-07-04 13:08:59 -07:00
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
5bf7925585 #226 add check for user's existing shares. If no shares, print out "user has no shares"
thanks @RXWatcher
2020-06-14 15:48:20 -04:00
blacktwin
34851652c5 sort most transcodes first 2020-05-20 23:46:53 -04:00
blacktwin
361610707b print amount of items found 2020-05-20 23:46:25 -04:00
blacktwin
0e93543c0d add transcoded selection 2020-05-20 14:43:26 -04:00
blacktwin
7b48654c80 var name updates 2020-05-19 18:11:21 -04:00
blacktwin
56e2239c5a update to Description 2020-05-19 18:10:18 -04:00
blacktwin
bf624c6d7b moving comment 2020-05-19 18:09:27 -04:00
blacktwin
f38f1ee7af support for searching through episodes
using Tautulli data for episode gathering
2020-05-19 18:08:22 -04:00
blacktwin
edfa7315a0 add deletion to watched selection 2020-05-12 21:35:46 -04:00
blacktwin
87b82a5947 initial work on size and rating
focusing on size
2020-05-11 01:00:53 -04:00
blacktwin
fe490699f9 Merge remote-tracking branch 'origin/master' 2020-05-10 23:46:29 -04:00
blacktwin
b95ac52e00 add actionOption and selectValue args 2020-04-29 22:42:56 -04:00
blacktwin
034d772ac0 creating defaults for actions 2020-04-13 14:22:03 -04:00
blacktwin
4a7d69e620
Merge pull request #204 from JonnyWong16/tautulli-scripts
Check remove first in hide_episode_spoilers.py
2020-04-13 13:45:57 -04:00
blacktwin
aac5518ddf condense size and rating to value arg 2020-04-09 16:13:32 -04:00
blacktwin
d38ee9c341 update single quotes to double 2020-04-09 16:05:16 -04:00
blacktwin
7dde481636 fix prints under select watched to be similar to unwatched 2020-04-09 15:51:40 -04:00
blacktwin
c160b66e3f add rating and size selectors and args 2020-04-09 15:48:46 -04:00
blacktwin
844e780cd0 todo update 2020-04-09 15:48:22 -04:00
blacktwin
8ad42fb3e7 #210 expand exception to anything
actually report the offending section id
2020-03-16 10:34:55 -04:00
blacktwin
7e47ee66e4 creation of plex_dance script 2020-03-11 16:09:57 -04:00
blacktwin
a5c5ef3710 add total size of whats been found 2020-03-09 11:52:14 -04:00
blacktwin
98f4fe0742 add check for show media type
gather show location and total size from episodes
2020-03-09 11:51:40 -04:00
blacktwin
1073642054 restructure Metadata class to use get 2020-03-09 11:50:37 -04:00
blacktwin
a7286fb811 update output of show unwatched
include file_size
2020-03-08 11:42:26 -04:00
blacktwin
9d5143ab56 add size conversion method 2020-03-08 11:41:19 -04:00
blacktwin
bc3f41e0ef double check file_size in metadata class 2020-03-08 11:40:43 -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
0b6f3c9a6b print out correction after->before 2020-02-26 14:57:52 -05:00
blacktwin
c38138b41b print out correction after->before 2020-02-26 14:56:51 -05:00
blacktwin
a8e3de7aae creation of media manager
to obsolete other watched/unwatched scripts
can currently:
show watched by users from libraries or rating key
show or delete unwatched items that were added before a date from libraries
2020-02-26 14:52:15 -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
514151e69b correct issue when using ratingKey with Plex to Plex
Issue reported in Plex forums.
2020-02-05 10:08:38 -05:00
blacktwin
1a892fe750 changing variable naming
reuse would cause cascading issue when using allUsers.
2020-01-02 23:25:47 -05:00
JonnyWong16
6d7285cb51
Check remove first in hide_episode_spoilers.py
The default `blur` made it skip the remove option
2019-12-19 14:09:58 -08:00
blacktwin
720dc4b7b4
Merge pull request #196 from JonnyWong16/plex-scripts
Add Plex modifying metadata scripts
2019-10-28 09:28:15 -04:00
JonnyWong16
83bdf49148 Add Plex modifying metadata scripts 2019-10-27 15:59:14 -07:00
JonnyWong16
5f99b37cfe Add Tautulli triggered scripts 2019-10-27 15:58:42 -07:00
Nicholas St. Germain
cd809ba2f0
Add check for already-unshared libraries
Fixes #188
2019-10-02 13:42:33 -05:00
blacktwin
1cbdb149f7 Added apsces in the output 2019-09-11 21:29:55 -04:00
Blacktwin
11bd4b1e9f last check for userFrom 2019-07-11 11:49:10 -04:00
Blacktwin
63a0427d91 #163 fix for removing shared libraries. 2019-07-11 11:47:57 -04:00
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