mirror of
https://github.com/dewomser/Toot_music_is_playing.git
synced 2026-03-13 16:37:17 +01:00
all for the shellcheck
This commit is contained in:
parent
fc4f496dce
commit
464a72b7b7
1 changed files with 12 additions and 1 deletions
13
toot_music
13
toot_music
|
|
@ -60,7 +60,18 @@ convert "$lolo1" -gravity south -background YellowGreen -splice 0x18 -annotat
|
|||
|
||||
#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')"
|
||||
|
||||
## this is buggy ---shellcheck Grrrr#
|
||||
# wenn sed Ersatz nicht will. dann diese Zeile
|
||||
# lolo1="$(echo "${a[6]}" | sed -e 's/[[:alpha:]]*.youtube.com/invidio.us/g')"
|
||||
|
||||
# sed Ersatz wegen shelcheck-terror
|
||||
lolo3=${a[6]}
|
||||
lolo2="${lolo3#*.}"
|
||||
lolo1="${lolo2/youtube.com/invidio.us}"
|
||||
## buggx end
|
||||
|
||||
|
||||
|
||||
# Daten an den Twitterclient
|
||||
a[5]="https://www.youtube.com/results?search_query=${a[2]} ${a[4]}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue