mirror of
https://gitea.phreedom.club/localhost_frssoft/funkwlmpv
synced 2024-11-23 20:59:20 +02:00
Compare commits
2 Commits
96ce0dfb50
...
3c545cc991
Author | SHA1 | Date | |
---|---|---|---|
localhost_frssoft | 3c545cc991 | ||
localhost_frssoft | d689a4c34e |
|
@ -128,7 +128,7 @@ Insert token from "Access token" here''')
|
||||||
|
|
||||||
current_instance.select_instance(current_instance.instance)
|
current_instance.select_instance(current_instance.instance)
|
||||||
if selected == 'Donate':
|
if selected == 'Donate':
|
||||||
os.system(f'less <<EOF\nSupport instance message:\n{support_message}')
|
os.system(f'less <<EOF\nSupport instance message:\n{support_message}\nEOF')
|
||||||
if selected == 'About instance':
|
if selected == 'About instance':
|
||||||
about_instance_info = []
|
about_instance_info = []
|
||||||
for i in ins_settings:
|
for i in ins_settings:
|
||||||
|
@ -143,7 +143,7 @@ Insert token from "Access token" here''')
|
||||||
for k, v in ins_nodeinfo['usage'].items():
|
for k, v in ins_nodeinfo['usage'].items():
|
||||||
about_instance_info.append(f'{k}: {v}')
|
about_instance_info.append(f'{k}: {v}')
|
||||||
about_instance_info = '\n'.join(about_instance_info)
|
about_instance_info = '\n'.join(about_instance_info)
|
||||||
os.system(f'less <<EOF\n{about_instance_info}')
|
os.system(f'less <<EOF\n{about_instance_info}\nEOF')
|
||||||
del about_instance_info
|
del about_instance_info
|
||||||
if selected == 'Player':
|
if selected == 'Player':
|
||||||
src.mpv_control.player_menu(
|
src.mpv_control.player_menu(
|
||||||
|
|
|
@ -69,4 +69,4 @@ def track_info_output(track):
|
||||||
else:
|
else:
|
||||||
output.append(f'{k}: {v}')
|
output.append(f'{k}: {v}')
|
||||||
output = '\n'.join(output)
|
output = '\n'.join(output)
|
||||||
os.system(f'less <<EOF\n{output}')
|
os.system(f'less <<EOF\n{output}\nEOF')
|
||||||
|
|
Loading…
Reference in New Issue