mirror of
http://gitea.phreedom.club/localhost_frssoft/funkwlmpv
synced 2024-11-25 20:21:28 +00:00
select instance arg
This commit is contained in:
parent
447c7e020d
commit
e8252246d3
|
@ -13,7 +13,10 @@ parser = argparse.ArgumentParser(
|
||||||
description='Create playlist from query or just random playlist tracks from funkwhale instances')
|
description='Create playlist from query or just random playlist tracks from funkwhale instances')
|
||||||
parser.add_argument('-s', '--search')
|
parser.add_argument('-s', '--search')
|
||||||
parser.add_argument('-t', '--tag')
|
parser.add_argument('-t', '--tag')
|
||||||
|
parser.add_argument('-i', '--instance')
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
|
if args.instance:
|
||||||
|
instances = [args.instance]
|
||||||
|
|
||||||
|
|
||||||
def create_playlist_file(track_list):
|
def create_playlist_file(track_list):
|
||||||
|
|
Loading…
Reference in a new issue