mirror of
http://gitea.phreedom.club/localhost_frssoft/funkwlmpv
synced 2024-11-22 10:31:28 +00:00
Show owner fw_libraries; mpv log_handler disabled
This commit is contained in:
parent
a4bf0f69c0
commit
8245cd433e
|
@ -19,7 +19,8 @@ def libraries(pg=None):
|
|||
for lib_i in libs:
|
||||
index = libs.index(lib_i)
|
||||
lib_name = lib_i.get('name')
|
||||
libraries_listing.append(f'{index}.{lib_name}')
|
||||
lib_by = lib_i.get('actor').get('full_username')
|
||||
libraries_listing.append(f'{index}.{lib_name} | by {lib_by}')
|
||||
lib_select = fzf.prompt(libraries_listing, f'--header=\'found {libs_count} libraries\'')[0].split('.', 1)
|
||||
if lib_select[0] == 'Next':
|
||||
libraries(pg=libs_next)
|
||||
|
|
|
@ -13,7 +13,7 @@ def mpv_log(loglevel, component, message):
|
|||
elif loglevel == 'error':
|
||||
logger.error(f'{component} {message}')
|
||||
|
||||
player = mpv.MPV(log_handler=mpv_log)
|
||||
player = mpv.MPV()
|
||||
|
||||
list_options = dir(player)
|
||||
if 'ytdl' in list_options:
|
||||
|
|
Loading…
Reference in a new issue