order tracks choise added

This commit is contained in:
localhost_frssoft 2022-03-30 21:13:25 +03:00
parent d4d5a17268
commit 6ea7b4b872

View file

@ -52,6 +52,9 @@ while true; do
choice=$(echo "$downloadtrackspls\n$startplayer\n$checkapilimits\n$changepod\n$Exit" | fzy) choice=$(echo "$downloadtrackspls\n$startplayer\n$checkapilimits\n$changepod\n$Exit" | fzy)
if [ "$choice" = "$downloadtrackspls" ]; then if [ "$choice" = "$downloadtrackspls" ]; then
echo 'Order by (prefix - is DESC ordering):'
ordering=$(echo 'title\n-title\ncreation_date\n-creation_date\nrelease_date\n-release_date\nrandom\n-random' | fzy)
export ordering
echo 'Enter page number: ' echo 'Enter page number: '
read page read page
load_tracks_to_playlist $page load_tracks_to_playlist $page