Commit Graph

300 Commits

Author SHA1 Message Date
blacktwin
37d651605b
Merge pull request #262 from blacktwin/exclude_only
Adding Exclude Only restrictions
2022-04-24 12:24:18 -04:00
blacktwin
8ede33d83d
Merge pull request #338 from JonnyWong16/feature/add_label
Simplify `add_label_recently_added.py`
2022-04-06 11:58:18 -04:00
JonnyWong16
1f360bd6da
Fix merge_multiepisode renumbering across seasons
* Also adds optional `--renumber` argument
2022-03-31 18:47:53 -07:00
JonnyWong16
cc6e98b7b2
Simplify add_label_recently_added.py using plexapi 2022-03-31 18:47:19 -07:00
JonnyWong16
46afeff95c
Faster lock/unlock with library lockAllField and unlockAllField 2022-02-04 11:58:13 -08:00
JonnyWong16
b2f420b6fb
Add note about reverting changes and splitting episodes 2022-01-20 21:45:22 -08:00
JonnyWong16
07b0c942ab
Add episode renumbering 2022-01-20 21:07:40 -08:00
JonnyWong16
58c8501529
Add merge_multiepisodes.py 2022-01-02 11:27:27 -08:00
blacktwin
39fbaa3ade
Merge pull request #317 from JonnyWong16/feature/hide_episode_spoilers
Remove  Tautulli dependency for hide_episode_spoilers
2021-12-06 14:00:51 -05:00
JonnyWong16
012a9fd4f6
Add utility/lock_unlock_poster_art.py
Script to automatically lock/unlock posters and artwork in a Plex.
2021-11-29 14:40:48 -08:00
JonnyWong16
a81ff1fdf9
Pass PlexServer object to modify_episode_artwork function 2021-11-23 09:29:00 -08:00
JonnyWong16
f706e57701
Remove Tautulli dependency for hide_episode_spoilers 2021-11-22 21:38:41 -08:00
JonnyWong16
42bd315c1e Make summay_prefix string optional 2021-07-29 13:14:10 +00:00
JonnyWong16
3204a0cd44
Fix summary prefix example 2021-07-28 18:25:54 -07:00
JonnyWong16
d076426bf7
Fix line formatting 2021-07-28 18:25:00 -07:00
JonnyWong16
8c6689796c
Add option for summary prefix in hide_episode_spoilers.py 2021-07-28 15:32:45 -07:00
JonnyWong16
29ab0ebaa4
Update hide_episode_spoilers to work with entire show or season 2021-07-02 16:02:22 -07:00
blacktwin
08f872b35c complete redo
use removeFromContinueWatching action instead of hack job
2021-05-24 11:19:22 -04:00
blacktwin
02a8831fb5 reordering graphs 2021-04-15 00:39:41 -04:00
blacktwin
57b91ff139 draw new graph each library
fixes x-axis from slipping and previous stats overlay
2021-04-15 00:38:42 -04:00
blacktwin
4a67ece43d
Merge pull request #270 from blacktwin/last_played
Updating media_manager
2021-03-22 10:41:19 -04:00
blacktwin
e55c7db5da
EOF 2021-03-22 10:40:42 -04:00
blacktwin
40131f5c20 Merge remote-tracking branch 'origin/master' 2021-02-04 00:15:57 -05:00
blacktwin
5dafd7eb93 simplify connect_to_server method
parsing the IP was not needed
2021-02-04 00:15:42 -05:00
blacktwin
a238742b1b addressing #279
--date can now accept YYYY-MM-DD or X days
2021-02-02 01:25:51 -05:00
blacktwin
0aa5abd6c8 adding check for str and removing AttributeError 2021-01-06 16:12:12 -05:00
blacktwin
592029cee3 additional exception for previously deleted items. 2021-01-06 13:17:21 -05:00
blacktwin
5a41abd974 search update addressing #276 2020-12-29 15:42:37 -05:00
blacktwin
3421661e22 adding try/except for addressing #273 2020-12-21 13:27:59 -05:00
blacktwin
37aab68400 clean up show actions for reminder of selectors 2020-12-20 16:43:38 -05:00
blacktwin
12eb897ad0 indention corrections 2020-12-20 16:41:32 -05:00
blacktwin
0125865124 adding try/except for addressing #253 2020-12-20 16:05:33 -05:00
blacktwin
7f20da0ca9 Correction for when history may pull ratingKeys as None, this causes errors later on. 2020-12-20 15:58:30 -05:00
blacktwin
ce8610d0ed add action_show function to route all action calls of show 2020-12-20 15:57:38 -05:00
blacktwin
06589274bf update the metadata when pulling from history. Get the items metadata instead of just the history attributes 2020-12-20 15:51:18 -05:00
blacktwin
ebfbc51f72 initial work for adding last_played. 2020-12-18 08:37:59 -05:00
blacktwin
639c0395c2 addressing #253 starting work on adding last_played 2020-12-17 08:11:16 -05:00
blacktwin
2369390c4d allowing for tvLabels and movieLabels to use EXCLUDE LABELS
update to arg usage
--movieLabels label="This Thing" label=Thing label!="Not Thing"
2020-12-04 23:09:26 -05:00
blacktwin
547e2c45b3
Merge pull request #250 from blacktwin/library_growth
create library_growth script
2020-12-04 00:21:26 -05:00
blacktwin
84efcc631f check if get_ratings_lst returns None
will return None if library is empty

Thanks @InevitableSprinkles
2020-11-21 10:48:54 -05:00
blacktwin
8a46b7a237 fix for --action delete --ratingKey usage 2020-11-20 09:41:12 -05:00
blacktwin
41ed4199e1 Merge remote-tracking branch 'remotes/origin/python3' 2020-10-12 14:15:20 -04:00
blacktwin
fc2fba2f2b create library_growth script 2020-10-12 13:34:05 -04:00
blacktwin
29b53dbd4b create music_folder_collections.py 2020-10-10 19:31:46 -04:00
blacktwin
e5a1f7fba0 including @sdlynx contribution 2020-09-28 08:09:55 -04:00
pjft
68e53f6f9d
Added remaining changes 2020-09-27 08:41:51 +01:00
pjft
a1adb47767
Adjust code from feedback
Thanks for the feedback. Once again, first incursion in python - unsure if this is what you expected on the dictionary front.
Also, added the declaration/instancing of GGMUSICLIST to after the authentication part because it'd fail miserably if we weren't authenticated, I imagine?
As for the behavior, I have a free account, all playlists created by myself, mostly uploaded tracks, some purchased. This seemed to be the way it'd work for me. A simple way I got to troubleshoot it was to run

print("Playlist length: {}".format(len(mc.get_shared_playlist_contents(shareToken))))
print("Playlist SOURCE length: {}".format(len(pl['tracks'])))

and in many cases there was a difference there (the SOURCE would always be the same number or larger than the one from get_shared_playlist_contents(shareToken), and the correct number from what I could tell).

Hope this helps, but once again, your mileage may vary. Just wanted to share in case it'd help.
2020-09-15 20:45:01 +01:00
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