clean up
This commit is contained in:
parent
e222525d14
commit
aff964522b
@ -212,7 +212,7 @@ def get_all_content(library_name):
|
|||||||
aired on today's date.
|
aired on today's date.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
# todo-me expand function for keyword searching
|
||||||
child_lst = []
|
child_lst = []
|
||||||
|
|
||||||
for library in library_name:
|
for library in library_name:
|
||||||
@ -425,6 +425,7 @@ if __name__ == "__main__":
|
|||||||
user_lst.remove(user)
|
user_lst.remove(user)
|
||||||
users = user_lst
|
users = user_lst
|
||||||
|
|
||||||
|
# Create user server objects
|
||||||
if users:
|
if users:
|
||||||
for user in users:
|
for user in users:
|
||||||
if opts.action == 'share':
|
if opts.action == 'share':
|
||||||
@ -484,9 +485,6 @@ if __name__ == "__main__":
|
|||||||
for x in plex_servers:
|
for x in plex_servers:
|
||||||
create_playlist(title, keys_list, x['server'], x['user'])
|
create_playlist(title, keys_list, x['server'], x['user'])
|
||||||
|
|
||||||
# todo-me allow for update or another action to remove watched items
|
|
||||||
# todo-me use Tautulli to imitate Smart Playlist
|
|
||||||
|
|
||||||
if opts.action == 'add':
|
if opts.action == 'add':
|
||||||
print('Creating playlist(s)...')
|
print('Creating playlist(s)...')
|
||||||
for x in plex_servers:
|
for x in plex_servers:
|
||||||
|
Loading…
Reference in New Issue
Block a user