dersphere/plugin.audio.radio_de — pull request #7 by jez500 (2014-04-27 00:43:28+00:00)
Title: changed path for get_stream_url so label is applied with Playlist.Add

Hi there,

Awesome addon! works so well, only one little issue I had:
When you add a file path to the playlist with the jsonrpc to uses the last parameter in the url as the playlist item label. So when a radio station is added, the label ends up being the id.

eg `plugin://plugin.audio.radio_de/station/14971` label = `14971`

This patch adds an extra param to the path, the label, which gives the station a much more friendly name in the playlist.

eg `plugin://plugin.audio.radio_de/station/14971/SBS+PopAsia` label = `SBS PopAsia`

Didn't seem to break anything but I am definitely no python expert :)