Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Information always returns from stream #20

Open
ivandotv opened this issue Oct 6, 2020 · 1 comment
Open

Information always returns from stream #20

ivandotv opened this issue Oct 6, 2020 · 1 comment
Assignees

Comments

@ivandotv
Copy link

ivandotv commented Oct 6, 2020

I'm trying to use the getStationInfo method and it works, but always resolves to stream fetch.
Your tests are passing, however I can't resolve data by specifying (soutcast v1,v2,icecast)
These are the urls that I'm testing with:

const url = "http://ice1.somafm.com/groovesalad-128.mp3";
const url2 = "http://swr-swr3-live.cast.addradio.de/swr/swr3/live/mp3/128/stream.mp3"
const url3 = "http://1a-rock.radionetz.de/1a-rock.mp3"
const url4 = "http://23.27.51.2:6699"
const url5 = "http://tomoradio.servemp3.com:8000/listen.aac"

getStationInfo(url,(error,data) => {
    console.log('error ',error)
    console.log(data)
},StreamSource.STREAM // anything other than "stream" returns error.
)
@gabek gabek self-assigned this Oct 6, 2020
@gabek
Copy link
Owner

gabek commented Oct 21, 2020

Sorry I haven't had a chance to take a look at this yet. I haven't forgotten about it! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants