Comments on: Listen to Pandora in your terminal via Pianobar http://blog.superuser.com/2011/04/26/listen-to-pandora-in-your-terminal-via-pianobar/ The Super User Community Blog Mon, 05 Dec 2016 07:34:06 +0000 hourly 1 https://wordpress.org/?v=4.5.6 By: Josh http://blog.superuser.com/2011/04/26/listen-to-pandora-in-your-terminal-via-pianobar/#comment-2810675 Wed, 12 Oct 2016 21:14:13 +0000 http://blog.superuser.com/?p=2082#comment-2810675 Sorry, forgot to mention that notify is only appropriate for OSX

]]> By: Josh http://blog.superuser.com/2011/04/26/listen-to-pandora-in-your-terminal-via-pianobar/#comment-2810674 Wed, 12 Oct 2016 21:13:49 +0000 http://blog.superuser.com/?p=2082#comment-2810674 no need for all the growlnotify stuff. Try this notify script instead:

http://pastebin.com/gWie2TJq

]]>
By: Andrew Rich http://blog.superuser.com/2011/04/26/listen-to-pandora-in-your-terminal-via-pianobar/#comment-3238 Wed, 08 Feb 2012 23:36:51 +0000 http://blog.superuser.com/?p=2082#comment-3238 Any thoughts on adding a “Tweet this song” menu option? It is available in the Flash player.

]]> By: Ryan L. Cross http://blog.superuser.com/2011/04/26/listen-to-pandora-in-your-terminal-via-pianobar/#comment-2421 Tue, 24 Jan 2012 07:59:51 +0000 http://blog.superuser.com/?p=2082#comment-2421 Great work! I just updated this script to include the album art from Pandora. Feedback welcome.

https://gist.github.com/1668755

]]>
By: Andrew Rich http://blog.superuser.com/2011/04/26/listen-to-pandora-in-your-terminal-via-pianobar/#comment-102 Fri, 02 Dec 2011 22:59:59 +0000 http://blog.superuser.com/?p=2082#comment-102 Thank you for this! I used your instructions combined with a bit from the shell script from Isaac Hodes’ blog post (http://copperthoughts.com/p/lovely-pianobar/) and a Pandora icon I found on Google images (http://blog.caranddriver.com/wp-content/uploads/2011/01/Pandora-App-Icon.png) to add the album name and Pandora icon to the Growl notification.

Just drop the Pandora icon in .config/pianobar and change the growlnotify line to:

growlnotify -t "Now Playing" -m "#{songinfo['title']} on #{songinfo['album']}nby #{songinfo['artist']}" --image=/Users/yourusername/.config/pianobar/Pandora-App-Icon.png

Thanks again!

]]>
By: Eric http://blog.superuser.com/2011/04/26/listen-to-pandora-in-your-terminal-via-pianobar/#comment-101 Mon, 01 Aug 2011 01:57:55 +0000 http://blog.superuser.com/?p=2082#comment-101 My “/!\ Cannot start eventcmd” problem was just that I hadn’t added execute permissions to the .rb file.

I’ve since discovered: https://gist.github.com/832632/6bb39b85dda8f8212dc4b8bc6e7acd6b8c45d6eb which does both growl notifications and last.fm scrobbling.

]]>
By: Eric http://blog.superuser.com/2011/04/26/listen-to-pandora-in-your-terminal-via-pianobar/#comment-100 Sun, 31 Jul 2011 23:26:35 +0000 http://blog.superuser.com/?p=2082#comment-100 Thanks for the tip Brian, I’m not Bruce (the original poster with this problem) but I’m still getting the error: /!\ Cannot start eventcmd. (Permission denied) even after ensuring I don’t have any wierd hidden characters in my config file or my .rb file.

]]> By: Brian http://blog.superuser.com/2011/04/26/listen-to-pandora-in-your-terminal-via-pianobar/#comment-99 Tue, 03 May 2011 18:11:12 +0000 http://blog.superuser.com/?p=2082#comment-99 Bruce, if you use the download button then the script contains invalid characters (windows new lines). You can remove them easily with vi: at a shell, type: vi ~/.config/pianobar/config Press : (colon) Type ‘% s/’ Press Ctrl+V, then Ctrl+M Type ‘//’

The bottom of the vi window should look like ‘:% s/^M//’ Then press enter. All the ^M’s should go away.

Type ‘:wq’ and press enter again to quit.

If you aren’t comfortable with vi then just copy & paste the script into gedit instead of using the download button.

]]>
By: Bruce Connor http://blog.superuser.com/2011/04/26/listen-to-pandora-in-your-terminal-via-pianobar/#comment-98 Mon, 02 May 2011 16:10:16 +0000 http://blog.superuser.com/?p=2082#comment-98 @KronoS I will =). I just wanted to poke around a little more before going there.

]]> By: KronoS http://blog.superuser.com/2011/04/26/listen-to-pandora-in-your-terminal-via-pianobar/#comment-97 Mon, 02 May 2011 13:59:04 +0000 http://blog.superuser.com/?p=2082#comment-97 @Bruce perhaps you should ask the question on Super User! 😉

]]>