Commit Graph

1098 Commits

Author SHA1 Message Date
blacktwin
65285d4b3a fix for remove action not working on jbop predefined titles 2020-11-03 00:36:16 -05:00
blacktwin
2b776137a4 if else indent correction 2020-11-02 22:50:57 -05:00
blacktwin
fe33f6d9e0 updating examples to include --libraries arg 2020-10-28 16:09:55 -04:00
blacktwin
abff846216 if title is a list create list of titles to check against. 2020-10-26 16:05:00 -04:00
blacktwin
244e8ad71c unicodedata removal. py3 str used to normalize titles 2020-10-26 09:09:09 -04:00
blacktwin
41ed4199e1 Merge remote-tracking branch 'remotes/origin/python3' 2020-10-12 14:15:20 -04:00
blacktwin
26a37f456a
Merge pull request #231 from JonnyWong16/python3
Futurize scripts for Python 3
2020-10-12 13:59:07 -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
blacktwin
5dcc0cb515 fix for showing playlist titles 2020-09-28 08:05:55 -04:00
blacktwin
0107ec6253
Merge pull request #241 from pjft/patch-1
Slight fixes to gmusic to plex scripts
2020-09-28 07:56:25 -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
aa265463ce remove requirement for pandas 2020-07-17 14:13:20 -04:00
blacktwin
29d328742e replace pandas with builtin csv 2020-07-17 14:12:47 -04:00
blacktwin
3e117480e3 update main docstring
add export examples
2020-07-13 19:53:03 -04:00
blacktwin
77a7614730 add object_cleaner method
add export work for json and csv
2020-07-13 19:48:24 -04:00
blacktwin
c9d369cdf4 change the gathering of all playlists
exclusions for playlists updated for change
2020-07-13 19:47:10 -04:00
blacktwin
f5c2958b90 adding export action and arg 2020-07-13 19:45:50 -04:00
blacktwin
928fd3f194 flatten_json, pandas, and jsonpickle will need to be installed for exporting
#219
2020-07-13 19:45:05 -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
36aa2dd3a3 address issue found when running with python3 2020-06-04 21:20:54 -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
d7e1e909d1 Author name for rich notifications
simplify subject text
2020-05-10 23:44:17 -04:00
blacktwin
9705be3a94 allowing for only library, user, or both stats 2020-05-10 23:40:46 -04:00
blacktwin
41051a826c add user stat choices
make no notification print out results
2020-05-10 23:20:02 -04:00
blacktwin
49a15fa3fa moving vars
moved colors into rich notifcation area
moved end and start into time/date calculation area
2020-05-10 23:18:57 -04:00
blacktwin
ad2120203c move color vars to top
remove "User: " from USER_STAT
2020-05-10 22:30:28 -04:00
blacktwin
a8d8b1b66f adding rich notifications 2020-05-10 22:27:43 -04:00
blacktwin
b95ac52e00 add actionOption and selectValue args 2020-04-29 22:42:56 -04:00
blacktwin
daee5676ed new notification script
top_concurrent_notify.py
2020-04-21 14:53:41 -04:00
blacktwin
034d772ac0 creating defaults for actions 2020-04-13 14:22:03 -04:00