diff --git a/funkwlplay.py b/funkwlplay.py index 9244cba..f0c21dd 100755 --- a/funkwlplay.py +++ b/funkwlplay.py @@ -10,13 +10,13 @@ with open('instances') as instances: parser = argparse.ArgumentParser( - prog='funkwhale playlist', + prog='funkwlplay', 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') -parser.add_argument('-r', '--recursion', type=int, default=0) -parser.add_argument('-d', '--depth', type=int, default=5) +parser.add_argument('-s', '--search', help='This global search on funkwhale instances, it matches artists, albums, tracks, etc...') +parser.add_argument('-t', '--tag', help='This tag search, use this as genre search') +parser.add_argument('-i', '--instance', help='Specify instance, by default search on all instances in instances file') +parser.add_argument('-r', '--recursion', type=int, default=0, help='Use recursion if instance contain more than 50 tracks') +parser.add_argument('-d', '--depth', type=int, default=5, help='Depth of recursion, default is 5 pages, 250 tracks') args = parser.parse_args() if args.instance: instances = [args.instance]