mirror of
https://github.com/dewomser/Toot_music_is_playing.git
synced 2026-03-13 16:37:17 +01:00
Snellck grrr
This commit is contained in:
parent
f774e9bd95
commit
a49fb7d8b8
1 changed files with 2 additions and 3 deletions
|
|
@ -7,9 +7,9 @@ user="dewomser"
|
|||
#//Musikinfo von Clementie Audioplayer holen
|
||||
readarray -t a <<< "$(qdbus org.mpris.MediaPlayer2.clementine /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Metadata | grep -E 'artUrl|genre|artist|album:|title:'| sed -e 's/xesam://g'| sed -e 's/mpris:artUrl: file:\/\///g')"
|
||||
#//Bild kopieren
|
||||
pfad=$(pwd)
|
||||
#pfad=$(pwd)
|
||||
#cp ${a[0]} "$pfad"cover.jpg
|
||||
cp ${a[0]} $PWD/cover.jpg
|
||||
cp "${a[0]}" "$PWD"/cover.jpg
|
||||
# Daten an den Twitterclient
|
||||
a[5]="https://www.youtube.com/results?search_query=${a[2]} ${a[4]}"
|
||||
lolo="${a[5]// /+}"
|
||||
|
|
@ -21,7 +21,6 @@ ${a[2]}
|
|||
${a[4]}
|
||||
$lolo"
|
||||
|
||||
echo $text
|
||||
|
||||
#exit
|
||||
#// Bildgröße in Byte ermitteln
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue