mirror of
https://gitea.phreedom.club/localhost_frssoft/funkwlmpv
synced 2024-11-05 23:03:00 +00:00
reorder sub menu items
This commit is contained in:
parent
2c942fd994
commit
3f97aad4b3
@ -25,10 +25,10 @@ funkwhale_api_get_tracks_from_channel()
|
||||
|
||||
while [ $sub2_menu -eq 1 ]; do
|
||||
titles=$(echo $track_list | jj -l 'results.#.title')
|
||||
menu_podcast_choice=$(echo "Main menu\nBack\n$titles" | fzy)
|
||||
menu_podcast_choice=$(echo "Back\nMain menu\n$titles" | fzy)
|
||||
case $menu_podcast_choice in
|
||||
"Main menu") sub2_menu=0 && sub_menu=0 ;;
|
||||
"Back") sub2_menu=0 ;;
|
||||
"Main menu") sub2_menu=0 && sub_menu=0 ;;
|
||||
*)
|
||||
play_track=$(echo $track_list | jj results.#[title="$menu_podcast_choice"].listen_url)
|
||||
$default_player_command "https://$instance$play_track" ;;
|
||||
|
Loading…
Reference in New Issue
Block a user