Giter Club home page Giter Club logo

webradio-metadata's Issues

Non standard ports

Did you test your module with non standard ports over https? Browsers do not allow access to many shoutcast and icecast radios that broadcast on ports different from 80 and 443. You can listen to them (and you will see warnings in the console) but you can't do other requests (errors in the console).

Metadata wrong on Belgium Radio 1

When I run the command 'node demo' on the Belgium Radio 1 stream the metadata shown is the metadata from Belgium MNM. I also see in the file webradio-metadata.js :

 {
			name: "MNM",
			url: "https://services.vrt.be/playlist/onair?channel_code=55",
			parser: n(296)
		}, {
			name: "Radio 1",
			url: "https://services.vrt.be/playlist/onair?channel_code=11&accept=application%2Fvnd.playlist.vrt.be.noa_1.0%2Bjson",
			parser: n(296)
		}

Both parsers are n(296). I don't know how this file is created (it's not in the repo). Can this be corrected?

Absolute Radio and other Planet Radio stations

Not an issue, but wanted to share with you how you can retrieve the metadata from all planet radio stations:
https://listenapi.bauerradio.com/api9/eventsdadi/[radio_station]/YYYY-MM-DD/HH:mm/1
eg:
https://listenapi.bauerradio.com/api9/eventsdadi/absolute-radio/2020-08-18/11:26/1

radio list:

  • absolute-60s
  • absolute-70s
  • absolute-80s
  • absolute-90s
  • absolute-00s
  • absolute-10s
  • absolute-20s
  • absolute-radio
  • absolute-classic-rock
  • cfm
  • clyde
  • clyde-2
  • cool-fm
  • country-hits
  • downtown-country
  • downtown
  • fire-radio
  • forth
  • forth-2
  • free
  • gem-106
  • greatest-hits
  • hallam
  • heat
  • hits-radio
  • jazz-fm
  • kerrang
  • kerrang-radio-unleashed
  • kiss
  • kiss-dance
  • kiss-fresh
  • kiss-garage
  • kiss-ibiza
  • kiss-jams
  • kisstory
  • classic-kerrang-radio
  • lincs-fm
  • magic-at-the-musicals
  • magic-chilled
  • magic-radio
  • magic-radio-at-the-movies
  • magic-soul
  • mellow-magic
  • metro
  • mfr
  • mfr-2
  • northsound
  • northsound-2
  • pirate-fm
  • planet-rock
  • pulse1
  • aire
  • borders
  • city
  • rock-fm
  • sam-fm
  • scala-radio
  • signal1
  • tay-2
  • tay
  • tfm
  • the-wave
  • viking
  • wave-105
  • west
  • westsound
  • westsound-fm

I don't do node.js / javascript so can't do a PR, but thought of sharing with you since I've got the RTL2 url from your repo
Have fun :)

FIP changed their API

FIP changed their website this week, and with it their API. It's now a graphql endpoint:

https://www.fip.fr/latest/api/graphql?operationName=Now&variables=%7B%22bannerPreset%22%3A%22600x600-noTransform%22%2C%22stationId%22%3A7%2C%22previousTrackLimit%22%3A3%7D&extensions=%7B%22persistedQuery%22%3A%7B%22version%22%3A1%2C%22sha256Hash%22%3A%228a931c7d177ff69709a79f4c213bd2403f0c11836c560bc22da55628d8100df8%22%7D%7D

The variables param decodes to:

{"bannerPreset":"600x600-noTransform","stationId":69,"previousTrackLimit":3}

And the extensions:

{"persistedQuery":{"version":1,"sha256Hash":"8a931c7d177ff69709a79f4c213bd2403f0c11836c560bc22da55628d8100df8"}}

The extensions param seems to be mandatory, as changing one char in the SHA hash says "persisted query not found".

The main FIP station id is 7.

The repsonse is:

{
    "data": {
        "now": {
            "__typename": "Now",
            "playing_item": {
                "__typename": "TimelineItem",
                "title": null,
                "subtitle": null,
                "cover": null,
                "start_time": 0,
                "end_time": 0
            },
            "program": null,
            "song": null,
            "server_time": 1562752366,
            "next_refresh": 1562752376,
            "mode": "program"
        },
        "previousTracks": {
            "__typename": "HistoryCursor",
            "edges": [
                {
                    "__typename": "TimeLineItemEdge",
                    "node": {
                        "__typename": "TimelineItem",
                        "title": "Camille",
                        "subtitle": "Pâle septembre",
                        "start_time": 1562752070,
                        "cover": "https://cdns-images.dzcdn.net/images/cover/9bfc2800990b096aefce6ee9855702fa/1000x1000-000000-80-0-0.jpg"
                    }
                },
                {
                    "__typename": "TimeLineItemEdge",
                    "node": {
                        "__typename": "TimelineItem",
                        "title": "Nola Is Calling",
                        "subtitle": "Downtown",
                        "start_time": 1562751858,
                        "cover": "https://cdns-images.dzcdn.net/images/cover/e37d01ecbb2f4fc760ff340a2eedb98d/1000x1000-000000-80-0-0.jpg"
                    }
                },
                {
                    "__typename": "TimeLineItemEdge",
                    "node": {
                        "__typename": "TimelineItem",
                        "title": "Quatuor Debussy",
                        "subtitle": "Midi Do Majeur - pour quatuor à cordes et vibraphone",
                        "start_time": 1562751691,
                        "cover": null
                    }
                }
            ]
        },
        "nextTracks": [
            {
                "__typename": "TimelineItem",
                "title": "Rene Aubry",
                "subtitle": "Mémoires du futur",
                "start_time": 1562752284,
                "cover": "https://cdns-images.dzcdn.net/images/cover/6c5a7e023e399e995d79f2c90407203a/1000x1000-000000-80-0-0.jpg"
            }
        ]
    }
}

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.