Closed milaq closed 5 years ago
there is a way for all stations in radio-browser.info http://www.radio-browser.info/webservice#Playable_station_url
Hey Alex,
thanks for the heads-up. The thing is, we would need to fetch the playable station URL for all stations listed in the directory as vTuner expects to know the station URL in advance. That would very much slow down the directory listing and put quite a strain on your Radiobrowser API.
Possible solutions that come to mind:
v2/json/url/stationid
only when the station is directly requested.Another solution would be that the Radiobrowser API hands out a new URL for the bare stream file for every station response, e.g.:
[...]
"url": "http://digitacdn.akamaized.net/hls/live/629243/groove/master-128000.m3u8",
"playable_url": "http://digitacdn.akamaized.net/hls/live/629243/groove/02152/seg128000-04303855.aac"
[...]
where playable_url
is just the first playlist entry.
But I do not want to burden you with additional work :) Still, this may be a feature that would be nice to have for Radiobrowser.
Some stations only hand out playlist links, not direct links to the stream (e.g.
pls
orm3u
).We could use a way to handle that.