#! /bin/sh # Last.fm Playscript by Max (20.7.2007) # Spielt über "shell-fm" einen last.fm Stream ab echo "Choose what u wanna listen to..." echo "1:\\tUser's radio" echo "2:\\tArtists's radio" echo "3:\\tGlobal tags" read CHOICE case $CHOICE in 1) echo "Please type username" read USER url=lastfm://user/$USER/personal ;; 2) echo "Please type artistname" read ARTIST url=lastfm://artist/$ARTIST/similarartists ;; 3) echo "Please type tagname" read TAG url=lastfm://globaltags/$TAG ;; *) esac shell-fm "$url"