From e8252246d347af59bef6cd22976a380372611982 Mon Sep 17 00:00:00 2001 From: localhost_frssoft Date: Wed, 24 Jul 2024 15:13:31 +0300 Subject: [PATCH] select instance arg --- funkwlplay.py | 3 +++ 1 file changed, 3 insertions(+) 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):