您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

bansheecheck.sh 341B

123456789101112
  1. #!/bin/bash
  2. currentTrack="Calexil is listening to $title by $artist on $album"
  3. while :
  4. do
  5. title=$(banshee --query-title | sed 's/title: //')
  6. artist=$(banshee --query-artist | sed 's/artist: //')
  7. album=$(banshee --query-album | sed 's/album: //')
  8. echo "Calexil is listening to $title by $artist on $album"
  9. sleep 6
  10. done