Coder Social home page Coder Social logo

Comments (6)

nagyrobi avatar nagyrobi commented on July 19, 2024

From where do you get this kind of strings? What service?

from home-assistant-custom-components-linkplay.

Limych avatar Limych commented on July 19, 2024

I, unfortunately, do not know what program is creating this stream. This is one of the webradios from here:

https://radiosubasio.it/player/#!/channel/1

from home-assistant-custom-components-linkplay.

nagyrobi avatar nagyrobi commented on July 19, 2024

And how do you put streams from this webpage to your Linkplay device? Through HA?
I don't see any Icecast-compatible sreams on that webpage, they have hidden the stream...

from home-assistant-custom-components-linkplay.

Limych avatar Limych commented on July 19, 2024

Yes, the stream address is hidden there. I don't remember exactly where and how I got it there. Here is the address:

https://icy.unitedradio.it/SubasioPiu.mp3

I send it from HA to the speaker. Then it itself pulls the stream directly.

Now I'm watching the names of the tracks.
Usually the picture goes like this:

media_title: LUCIANO LIGABUE~Piccola Stella Senza Cielo~~~~~2020-08-13T18:18:13.699985~2020-08-13T18:18:13.699985~United Music Subasio +
media_artist: []

But once I saw this version:

media_title: Giorni Migliori~~~~~2020-08-13T18:15:54.106793~2020-08-13T18:15:54.106793~United Music Subasio +
media_artist: ONE REPUBLIC & NEGRAMARO~Better Days

from home-assistant-custom-components-linkplay.

nagyrobi avatar nagyrobi commented on July 19, 2024

This doesn't look like standard icecast stream metadata.

from home-assistant-custom-components-linkplay.

Limych avatar Limych commented on July 19, 2024

Even so ...
This format was not invented by me, and judging by the fact that that radio station clearly uses some kind of standard solution, there is a high chance of meeting this format in other streams as well.

It is possible to recognize this format without breaking the recognition of the standard format. The required code is already in the PR.

from home-assistant-custom-components-linkplay.

Related Issues (20)

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.