mirror of
https://gitea.phreedom.club/localhost_frssoft/funkwlmpv
synced 2025-07-10 19:54:14 +00:00
Playlists menu
This commit is contained in:
parent
a92706d24c
commit
5f08977faa
4 changed files with 91 additions and 0 deletions
|
@ -1,6 +1,9 @@
|
|||
import json, requests, time
|
||||
from os.path import exists
|
||||
from loguru import logger
|
||||
from pyfzf.pyfzf import FzfPrompt
|
||||
|
||||
fzf = FzfPrompt()
|
||||
|
||||
conf_file = 'config.json'
|
||||
|
||||
|
@ -62,6 +65,7 @@ def check_config():
|
|||
correct_conf[k] = v
|
||||
logger.warning(f'{k} added in config. Value: {v}')
|
||||
set_defaults(correct_conf)
|
||||
return correct_conf
|
||||
|
||||
|
||||
if not exists(conf_file):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue