mirror of
https://gitea.phreedom.club/localhost_frssoft/funkwlmpv
synced 2024-12-26 20:33:32 +02:00
Privacy level libraries show
This commit is contained in:
parent
e2f07a7a35
commit
81f818bc2f
1 changed files with 2 additions and 1 deletions
|
@ -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 a new issue