radiobrowser-api icon indicating copy to clipboard operation
radiobrowser-api copied to clipboard

"v2/json/url/stationid" returns only on url

Open bobo71dream opened this issue 8 years ago • 1 comments

Hello alex,

i have a little problem with returned url. It gives station that have more then one streamurls in the playlist. From time to time the returned url via v2 api is not playing. If i try a secundary url, it plays.

Example: station .977 Smooth Jazz Channel http://www.977music.com/itunes/jazz.pls

Return via v2 api {"ok":"true","message":"retrieved station url successfully","id":"89885","name":".977 Smooth Jazz Channel","url":"http://7619.live.streamtheworld.com:80/977_SMOOJAZZ_SC"}

in pls are 4 urls are given File1=http://7599.live.streamtheworld.com:80/977_SMOOJAZZ_SC File2=http://7609.live.streamtheworld.com:80/977_SMOOJAZZ_SC File3=http://7619.live.streamtheworld.com:80/977_SMOOJAZZ_SC File4=http://7579.live.streamtheworld.com:80/977_SMOOJAZZ_SC

Now my question. Can you add all resolved stations from pls to the result for example: {"ok":"true","message":"retrieved station url successfully","id":"89885","name":".977 Smooth Jazz Channel","url":"http://7619.live.streamtheworld.com:80/977_SMOOJAZZ_SC", ,"url1":"http://7609.live.streamtheworld.com:80/977_SMOOJAZZ_SC","url2":"http://7699.live.streamtheworld.com:80/977_SMOOJAZZ_SC","url3":"http://7679.live.streamtheworld.com:80/977_SMOOJAZZ_SC"}

Best regards and thx for your nice work.

bobo71dream avatar Dec 17 '16 12:12 bobo71dream

Please Add this,. For example a mobile and a pc stream.

cknost avatar Apr 28 '18 14:04 cknost