mirror of
https://github.com/dewomser/Toot_music_is_playing.git
synced 2026-03-13 16:37:17 +01:00
Wenn player "" dann exit und typo browser-integratio
This commit is contained in:
parent
030d86d424
commit
86240da3d4
1 changed files with 7 additions and 1 deletions
|
|
@ -7,7 +7,7 @@ function urldecode() { : "${*//+/ }"; echo -e "${_//%/\\x}"; }
|
|||
twurlp="/usr/bin/ruby /home/karl/.local/share/gem/ruby/3.0.0/bin/twurl"
|
||||
user="dewomser"
|
||||
#list of available player
|
||||
list_pl=( "clementine" "vlc" "elisa" "plasma-browser-intergration" )
|
||||
list_pl=( "clementine" "vlc" "elisa" "plasma-browser-integration" )
|
||||
#active player
|
||||
for i in "${list_pl[@]}"
|
||||
do
|
||||
|
|
@ -17,6 +17,12 @@ then
|
|||
player="$i"
|
||||
fi
|
||||
done
|
||||
|
||||
if [ "$player" == "" ]
|
||||
then
|
||||
exit
|
||||
fi
|
||||
|
||||
#get metadata fromplayer
|
||||
#Plasma-browser-integration wget cover
|
||||
if [ "$player" == "plasma-browser-integration" ]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue