Open jez500 opened 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
plugin://plugin.audio.radio_de/station/14971
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
plugin://plugin.audio.radio_de/station/14971/SBS+PopAsia
SBS PopAsia
Didn't seem to break anything but I am definitely no python expert :)
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 :)