Compare commits

...

2 Commits

Author SHA1 Message Date
localhost_frssoft 1c90dd5d0e delete track from playlist when hide artist 2023-08-10 22:16:58 +03:00
localhost_frssoft 695b745c02 simular projects 2023-08-10 21:54:58 +03:00
2 changed files with 8 additions and 0 deletions

View File

@ -31,3 +31,10 @@ Also, tnx Inex for his FunkWhale instance (set by default instance)
[1]**Warning:** may content _unofficial instances_ [1]**Warning:** may content _unofficial instances_
**Warning 2:** This software not userfriendly. Maybe developerfriendly. **Warning 2:** This software not userfriendly. Maybe developerfriendly.
___
Simular projects:
[funkblubber - Naiji's Funkwhale CLI tool writen on Dart](https://git.reisen.church/NaiJi/funkblubber)
[funkwhale-cli - Official Command line interface to interact with a Funkwhale server, writen on python](https://dev.funkwhale.audio/funkwhale/cli)
[funkwhale-cli (2) - Same as official, but rewriten on rust](https://gh.phreedom.club/SkyLeite/funkwhale-cli)
[HTTPDirFS - HTTP Directory Filesystem with a permanent cache, and Airsonic / Subsonic server support! Writen on C](https://gh.phreedom.club/fangfufu/httpdirfs)

View File

@ -198,6 +198,7 @@ def player_menu(header='', storage={}):
player_fw_storage.storage.get(track_url_to_uuid())['id']) player_fw_storage.storage.get(track_url_to_uuid())['id'])
elif select == 'Hide artist': elif select == 'Hide artist':
track = player_fw_storage.storage.get(track_url_to_uuid()) track = player_fw_storage.storage.get(track_url_to_uuid())
player.playlist_remove('current')
src.fw_api.hide_content( src.fw_api.hide_content(
{'target': {'id': track.get('artist').get('id'), 'type': 'artist'}}) {'target': {'id': track.get('artist').get('id'), 'type': 'artist'}})
elif select == 'Exit': elif select == 'Exit':