mirror of
https://gitea.phreedom.club/localhost_frssoft/funkwlmpv
synced 2024-12-21 21:29:49 +00:00
Privacy level libraries show
This commit is contained in:
parent
e2f07a7a35
commit
81f818bc2f
@ -25,8 +25,9 @@ def libraries(pg=None, radio=False):
|
||||
index = libs.index(lib_i)
|
||||
lib_name = lib_i.get('name')
|
||||
lib_tracks_count = lib_i.get('uploads_count')
|
||||
lib_access = lib_i.get('privacy_level')
|
||||
lib_by = lib_i.get('actor').get('full_username')
|
||||
libraries_listing.append(f'{index}.{lib_name} | {lib_by} | {lib_tracks_count}')
|
||||
libraries_listing.append(f'{index}.{lib_name} | {lib_by} | {lib_tracks_count} | {lib_access}')
|
||||
lib_select = fzf.prompt(
|
||||
libraries_listing,
|
||||
f'--header=\'found {libs_count} libraries\nmap: library name | owner | tracks count\'')
|
||||
|
Loading…
Reference in New Issue
Block a user