Commit Graph

265 Commits

Author SHA1 Message Date
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
5a41abd974 search update addressing #276 2020-12-29 15:42:37 -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
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