dersphere / plugin.audio.radio_de

XBMC music plugin to access all radio.de listed radio stations
GNU General Public License v2.0
15 stars 30 forks source link

changed path for get_stream_url so label is applied with Playlist.Add #7

Open jez500 opened 10 years ago

jez500 commented 10 years ago

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 :)