mirror of
https://gitea.phreedom.club/localhost_frssoft/funkwlmpv
synced 2024-11-23 19:49:21 +02: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 New Issue