diff --git a/funkwlplay.py b/funkwlplay.py index 465e2b2..b4ad315 100644 --- a/funkwlplay.py +++ b/funkwlplay.py @@ -13,7 +13,10 @@ parser = argparse.ArgumentParser( description='Create playlist from query or just random playlist tracks from funkwhale instances') parser.add_argument('-s', '--search') parser.add_argument('-t', '--tag') +parser.add_argument('-i', '--instance') args = parser.parse_args() +if args.instance: + instances = [args.instance] def create_playlist_file(track_list):