Compare commits
2 Commits
765f5a192d
...
174c2311da
Author | SHA1 | Date |
---|---|---|
localhost_frssoft | 174c2311da | |
localhost_frssoft | ac6cd667fd |
|
@ -30,7 +30,10 @@ else:
|
|||
|
||||
class current_instance:
|
||||
s = requests.Session()
|
||||
s.headers.update({"Accept-encoding": 'gzip, br, deflate'})
|
||||
s.headers.update({
|
||||
"Accept-encoding": 'gzip, br, deflate',
|
||||
"User-Agent": "funkwhale-cli/latest-commit; +https://git.phreedom.club/localhost_frssoft/funkwhale-cli"
|
||||
})
|
||||
instance = get_config('instance')
|
||||
token = auth.get(instance)
|
||||
listen_token = None
|
||||
|
|
|
@ -8,7 +8,9 @@ from shlex import quote
|
|||
import mpv
|
||||
import time
|
||||
import re
|
||||
import os
|
||||
|
||||
os.environ['FZF_DEFAULT_OPTS'] = '--margin 2,0,0,0'
|
||||
fzf = FzfPrompt()
|
||||
|
||||
if get_config('enable_persistent_cache'):
|
||||
|
|
Loading…
Reference in New Issue