mirror of
https://gitea.phreedom.club/localhost_frssoft/funkwlmpv
synced 2024-11-26 08:09:19 +02:00
added public list instances and switch updated
This commit is contained in:
parent
abdac1f0d0
commit
b4689068f3
30
config.json
30
config.json
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"instance": "sound.redeyes.club"
|
"instance": "sound.redeyes.club",
|
||||||
"tags": [
|
"tags": [
|
||||||
"TagOFF",
|
"TagOFF",
|
||||||
"8bit",
|
"8bit",
|
||||||
|
@ -10,5 +10,33 @@
|
||||||
"Electronica",
|
"Electronica",
|
||||||
"Classic",
|
"Classic",
|
||||||
"Violin"
|
"Violin"
|
||||||
|
],
|
||||||
|
"public_list_instances": [
|
||||||
|
"open.audio",
|
||||||
|
"funkwhale.co.uk",
|
||||||
|
"am.pirateradio.social",
|
||||||
|
"audio.liberta.vip",
|
||||||
|
"audio.gafamfree.party",
|
||||||
|
"tanukitunes.com",
|
||||||
|
"funkwhale.juniorjpdj.pl",
|
||||||
|
"tavia.mle.party",
|
||||||
|
"funkwhale.thurk.org",
|
||||||
|
"buzzworkers.com",
|
||||||
|
"soundship.de",
|
||||||
|
"funkwhale.kameha.click",
|
||||||
|
"music.chosto.me",
|
||||||
|
"zik.goe.land",
|
||||||
|
"music.humanoids.be",
|
||||||
|
"music.hempton.us",
|
||||||
|
"mizik.o-k-i.net",
|
||||||
|
"klh.radiolivre.org",
|
||||||
|
"hudba.feildel.fr",
|
||||||
|
"funkwhale.mita.me",
|
||||||
|
"funk.deko.cloud",
|
||||||
|
"audio.graz.social",
|
||||||
|
"funkwhale.desmu.fr",
|
||||||
|
"listen.knsm.cc",
|
||||||
|
"funkwhale.gegeweb.eu",
|
||||||
|
"shitnoise.monster"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -106,8 +106,12 @@ elif [ "$choice" = "$podcasts" ]; then
|
||||||
read page
|
read page
|
||||||
funkwhale_get_podcasts_artists $page
|
funkwhale_get_podcasts_artists $page
|
||||||
elif [ "$choice" = "$changepod" ]; then
|
elif [ "$choice" = "$changepod" ]; then
|
||||||
echo "Type instance (ex. $instance):"
|
if [ 'Choice from list' = "$(echo 'Choice from list\nManual input' | fzy)" ]; then
|
||||||
read instance
|
instance=$(jj -l -i config.json public_list_instances | sed 's/"//g' | fzy)
|
||||||
|
else
|
||||||
|
echo "Type instance (ex. $instance):"
|
||||||
|
read instance
|
||||||
|
fi
|
||||||
export instance
|
export instance
|
||||||
conf_instance_state=$(echo 'Permanent\nTemporaly' | fzy)
|
conf_instance_state=$(echo 'Permanent\nTemporaly' | fzy)
|
||||||
if [ "$conf_instance_state" = 'Permanent' ]; then
|
if [ "$conf_instance_state" = 'Permanent' ]; then
|
||||||
|
|
Loading…
Reference in New Issue