mirror of
https://gitea.phreedom.club/localhost_frssoft/funkwlmpv
synced 2024-11-18 13:13:01 +00:00
tab
This commit is contained in:
parent
bc2b7efdd9
commit
200deac9a6
@ -76,7 +76,7 @@ def search_tracks_on_instance(instance, tag='', query='', recursion=args.recursi
|
|||||||
r = requests.get(f'https://{instance}/api/v1/tracks', params={'tag': tag, 'q': query,
|
r = requests.get(f'https://{instance}/api/v1/tracks', params={'tag': tag, 'q': query,
|
||||||
'local': True, 'playable': True,
|
'local': True, 'playable': True,
|
||||||
'ordering': 'random', 'scope': 'all'},
|
'ordering': 'random', 'scope': 'all'},
|
||||||
timeout=10, headers={'Content-Encoding': 'gzip'})
|
timeout=10, headers={'Content-Encoding': 'gzip'})
|
||||||
r.raise_for_status()
|
r.raise_for_status()
|
||||||
tracks = r.json()
|
tracks = r.json()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user