mirror of
https://github.com/dewomser/Toot_music_is_playing.git
synced 2026-03-13 16:37:17 +01:00
invidious link hinzugefügt für links nach youtube
This commit is contained in:
parent
5e80cb2d5d
commit
ce41437521
1 changed files with 6 additions and 4 deletions
|
|
@ -58,7 +58,9 @@ lolo1=$(urldecode "${a[0]}")
|
||||||
|
|
||||||
convert "$lolo1" -gravity south -background YellowGreen -splice 0x18 -annotate +0+2 'Die Tweet_Music-App ist vom @dewomser' "$BASEDIR"/cover.jpg
|
convert "$lolo1" -gravity south -background YellowGreen -splice 0x18 -annotate +0+2 'Die Tweet_Music-App ist vom @dewomser' "$BASEDIR"/cover.jpg
|
||||||
|
|
||||||
|
#a[7]="$( ${a[6]} | sed -e 's/youtube/invidious/g')"
|
||||||
|
#olo1="$(echo ${a[6]} |sed -e 's/www.youtube.com/invidio.us/g')"
|
||||||
|
lolo1="$(echo "${a[6]}" | sed -e 's/[[:alpha:]]*.youtube.com/invidio.us/g')"
|
||||||
|
|
||||||
# Daten an den Twitterclient
|
# Daten an den Twitterclient
|
||||||
a[5]="https://www.youtube.com/results?search_query=${a[2]} ${a[4]}"
|
a[5]="https://www.youtube.com/results?search_query=${a[2]} ${a[4]}"
|
||||||
|
|
@ -70,7 +72,8 @@ ${a[2]}
|
||||||
${a[1]}
|
${a[1]}
|
||||||
Media-player: $player
|
Media-player: $player
|
||||||
Video (geraten): $lolo
|
Video (geraten): $lolo
|
||||||
${a[6]} "
|
${a[6]}
|
||||||
|
$lolo1"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -82,7 +85,6 @@ ${a[6]} "
|
||||||
echo "$text"
|
echo "$text"
|
||||||
echo Cover
|
echo Cover
|
||||||
echo "${a[@]}"
|
echo "${a[@]}"
|
||||||
# echo text\n $text
|
|
||||||
|
|
||||||
if [ $linkohnecover ]
|
if [ $linkohnecover ]
|
||||||
then
|
then
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue