PromyLOPh / pianobar

Console-based pandora.com player
http://6xq.net/pianobar/
Other
1.74k stars 321 forks source link

Add command to show station URL #563

Closed specious closed 8 years ago

specious commented 8 years ago

A command to print the currently playing station's URL (for example: http://www.pandora.com/station/play/397417301128675034) could be very handy. A station can be shared that way with anybody, even if they don't have a Pandora account.

Perhaps U (since lower case u is already taken).

PromyLOPh commented 8 years ago

You could set

format_nowplaying_station = Station %n (http://www.pandora.com/station/play/%i)

in your config file, which then shows the URL after station selection. (%i is replaced with the station id, %n with its name)

specious commented 8 years ago

Sweet, that works! :smile_cat:

pianobar-showing-station-url