Commit Graph

1030 Commits

Author SHA1 Message Date
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
96831b5990 addressing issue with exporting admin playlists. 2021-02-27 02:05:39 -05: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
9af6626b6d
Merge pull request #278 from blacktwin/sync_watched_update
Update to search for watched items
2021-01-08 08:12:28 -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
3036a126ba
Update bug_report.md 2020-12-17 12:00:12 -05:00
blacktwin
639c0395c2 addressing #253 starting work on adding last_played 2020-12-17 08:11:16 -05:00
blacktwin
557aabefb8 addressing #259 2020-12-09 21:02:50 -05:00
blacktwin
4632dfc600 #254 broke for admin playlists checking. No admin or allUsers will work. 2020-12-04 23:17:45 -05:00
blacktwin
8e4e58792d users for arg to match everything else, thanks chuccck 2020-12-04 23:17:25 -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
e54372379b addressing #255
remove unneeded loop
2020-11-25 23:02:52 -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
8c302e4187 Merge remote-tracking branch 'origin/master' 2020-11-20 09:41:31 -05:00
blacktwin
8a46b7a237 fix for --action delete --ratingKey usage 2020-11-20 09:41:12 -05:00
blacktwin
c24fcc980b
Merge pull request #254 from ology/master
Use the playlist.title, not the playlist object, for logging
2020-11-12 09:05:08 -05:00
Gene Boggs
573651d31b Map the playlist.title, not the playlist object for logging 2020-11-11 12:15:08 -08:00
blacktwin
0ecd6c097f update filters_lst to reflect change in plexapi 2020-11-03 01:07:29 -05:00
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