segler-alex / radiobrowser-api-rust

radio-browser API implementation in rust
GNU Affero General Public License v3.0
227 stars 97 forks source link

[Feature request] Station click counter with (just the) URL #175

Closed ceever closed 10 months ago

ceever commented 1 year ago

Hi there

Why not in addition to the http://de1.api.radio-browser.info/xml/url/stationuuid with xml, json, pls and m3u have a simple: http://de1.api.radio-browser.info/url/stationuuid (with an according and simple redirect).

I would really like to use the station click counter with my VLC addon—we were in contact before. However, VLC is limited in a way to handle pls and m3u links. They are not automatically played back but first resolved and converted into a list, which can cause some unwanted and ugly behaviour with VLC.

Nevertheless, I would expect that a simple url should exist that just plays the station without any detour, and which is also good for counting clicks with radiobrowser.

Also, semantically a "station click counter" should really be able to count clicks on stations and not on something else that just delivers that stations url.

What do you think, would that be feasable?

Best