mirror of
http://gitea.phreedom.club/localhost_frssoft/funkwlmpv
synced 2024-11-30 01:31:27 +00:00
Compare commits
No commits in common. "bd5a14234f6a01f6515faccca43d67a29e367c4b" and "125c76bbed0f368a16cd4579d3a13e9744627bb2" have entirely different histories.
bd5a14234f
...
125c76bbed
|
@ -19,7 +19,6 @@
|
|||
"Karaoke",
|
||||
"Latin",
|
||||
"Metal",
|
||||
"Orchestral",
|
||||
"Opera",
|
||||
"Pop",
|
||||
"Progressive",
|
||||
|
|
|
@ -324,20 +324,6 @@ case "$choice" in
|
|||
echo ''
|
||||
fi
|
||||
clear
|
||||
export auth="$(jj -i .auth.json "$(echo $instance | sed 's/\./\\\./g')")"
|
||||
if [ -n "$auth" ]; then
|
||||
default_curl_opt()
|
||||
{
|
||||
curl -s --compressed -H "Authorization: Bearer $auth" $1
|
||||
}
|
||||
listen_token=$(default_curl_opt "$instance_point/users/me" | jj tokens.listen)
|
||||
echo '+Authorized account+'
|
||||
else
|
||||
default_curl_opt()
|
||||
{
|
||||
curl -s --compressed $1
|
||||
}
|
||||
fi
|
||||
get_all_avalaible_count_tracks
|
||||
fi ;;
|
||||
|
||||
|
|
Loading…
Reference in a new issue