Commit Graph

112 Commits

Author SHA1 Message Date
blacktwin
c84cee5fec include check for whether or not the title template returns anything
in the case of returning nothing, script would delete every playlist
Resolves #303
2021-08-17 08:00:45 -04:00
blacktwin
a479596b35 update action should now delete previous In History playlists. 2021-08-04 08:40:38 -04:00
blacktwin
126f14bd3d fix for #299 update positional args change in createPlaylist 2021-07-15 23:21:20 -04:00
blacktwin
4125214b66 keep section_id an int 2021-07-15 23:20:17 -04:00
blacktwin
69fd40e25a filterFields deprecated, using listFields 2021-05-24 10:02:42 -04:00
blacktwin
96831b5990 addressing issue with exporting admin playlists. 2021-02-27 02:05:39 -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
e54372379b addressing #255
remove unneeded loop
2020-11-25 23:02:52 -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
5dcc0cb515 fix for showing playlist titles 2020-09-28 08:05:55 -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
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
blacktwin
86b471b5d2 add methods to add collections and labels 2020-03-12 15:51:35 -04:00
blacktwin
5f942142f3 a custom name must be provided for labels or collections 2020-03-12 15:50:59 -04:00
blacktwin
0100aa4246 add label and collection to jbop selections 2020-03-12 15:50:34 -04:00
blacktwin
9f680cf0ef Revert "save a loop searchEpisodes"
This reverts commit 65b424d
2019-12-04 12:13:10 -05:00
blacktwin
65b424d3cc save a loop searchEpisodes 2019-10-19 02:09:52 -04:00
blacktwin
dce0dcfd23 adding check in user_lst to omit pending invites.
Closing PR #185
2019-09-27 09:38:34 -04:00
blacktwin
be28995340 Error log. likely item is missing metadata 2019-09-08 10:30:21 -04:00
blacktwin
438673df66 #184 fix for sort_by_date returning None 2019-09-07 23:31:21 -04:00
Blacktwin
5d8d40d6ee sort_by_date function was "fixed" out of use. Correcting code to use
function correctly.
2019-07-29 11:26:50 -04:00
Blacktwin
85f9dac29e adding logging. only errors will make it to the log file. 2019-07-29 11:20:52 -04:00
Blacktwin
e73dca7557 move random and limit down 2019-07-24 08:12:55 -04:00
Blacktwin
1fcee2d18f rename var for clarity 2019-07-24 08:11:15 -04:00
Blacktwin
245d1d61c4 pull ratingKey not object 2019-07-24 08:10:18 -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
8edde2242f Add searching for episodes with multiple filters or searches 2019-06-17 22:23:56 -04:00
Blacktwin
5ddd981f2f multiple filter value support for shows 2019-05-28 14:09:09 -04:00
Blacktwin
2a2a9f74ff added function handles multiple search/filter values
clean up for movies sections
genre needed special handling
2019-05-28 13:34:53 -04:00
Blacktwin
149ba7f873 example update for new search addition 2019-05-24 10:38:29 -04:00
Blacktwin
b2bfb400a6 #145 keyword search can now accept multiple keyword searches in one keyword search location.
multiple keywords require an attached comma separator.
`--search title=one,the --search summary="man "`
2019-05-10 00:05:55 -04:00
Blacktwin
e45ff63d9b spacing 2019-02-19 10:07:59 -05:00
Blacktwin
ebc5151fbc save a line 2019-02-19 00:10:31 -05:00
Blacktwin
c603efb472 #145 multiple filters with multiple searches is now allowed. 2019-02-18 14:24:40 -05:00