Giter Site home page Giter Site logo

node-internet-radio's Introduction

Hello, I'm Gabe.

Check out some of what I'm working on

Latest releases I've contributed to

My recent blog posts

Movies I've recently watched

Contact me

node-internet-radio's People

Contributors

dbbring avatar dependabot[bot] avatar gabek avatar majimus avatar parthi82 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

node-internet-radio's Issues

getStationInfo returns undefined

I have async function and this code
var nowPlaying = await internetradio.getStationInfo(uri, (error, station) => error || station); console.log(nowPlaying);

but it returns undefined

Can someone help, please?

Look into security alerts

Github is saying there's badness going on with some of the dependancies. So look into that before the next NPM release.

Refactor out async library and use ES6 async/await

No need for the async library anymore when we can do it natively and nicer with ES6 goodness.

Admittedly I'm kind of in the middle of some other projects right now, so I probably don't have the bandwidth to rip this apart, but I'd like to in the future. Unless somebody else wants to do it :D

Can't use https

If I use https, the query is unsuccessful. I have to use http.

watch metadata

How do I watch the now playing information, basically I know a icecast-stack use to watch for metadata to change, but the plugin has not been updated for a very long time, I am wondering if your plugin can watch for the metadata change?

Error: callback was already called

when calling internetradio.getStationInfo (like 3-4 time in couple of seconds) i'm getting"callback was already called" and "MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 pipe listeners added. Use emitter.setMaxListeners() to increase limit", probably from async.parallel

Please add a proxy

Please add the ability to use a proxy to receive through StreamSource.STREAM

Cross-Origin Request Blocked

I get this error whenever I try to get the station information.
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource
(Reason: CORS header ‘Access-Control-Allow-Origin’ missing)

This is the code I am using:

var nodeInternetRadio = require("node-internet-radio");
//http://stream.zeno.fm/bmv92smzzbruv
var testStream = "http://stream.zeno.fm/bmv92smzzbruv";
nodeInternetRadio.getStationInfo(testStream, function(error, station) {
  console.log(station);
  //console.log(error);
},nodeInternetRadio.StreamSource.STREAM);

I have searched for a solution elsewhere, but I was unable to find any information regarding this problem.

Information always returns from stream

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.
)

Module times out on live365 streams

Hello,

We've been having trouble with a few of our affiliates who stream on live365. The node-internet-radio module times out on retrieving the metadata for these streams. The module attempts the icystream method for these streams.

Thanks for looking into this!

-Kaigem

Update lodash due to a security alert

The version of lodash used in this project is being marked as a security alert on Github. We need to update it and test the library with the new version.

screen shot 2018-10-19 at 5 12 16 pm

Feature: .pls format support

node-internet-radio cannot read PLS files.

PLS files contain simply a list of streaming urls in plaintext that node-internet-radio can currently read from. On my macOS, Safari, Firefox, and Chrome all can read PLS files.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.