/    Sign up×
Community /Pin to ProfileBookmark

HTML5 – Audio Metadata

Hi all,

when I play a webradio on my mobile and I stream it to mycar radio via bluetooth
I do not see any text, such title, author etc. -> I always see the URL of the radio stream.

  • 1. How can I get the original title/author from the stream it self?

  • 2. How can I adjust it and stream it to my carradio?
  • Such:
    Radio stream delivers: ABC
    I change it to: XYZ ABC

    The car radio shows on the display XYZ ABC.

    Thx.

    to post a comment
    JavaScript

    5 Comments(s)

    Copy linkTweet thisAlerts:
    @rootJan 06.2018 — You need to explain more clearly what it is you are doing.

    Are you saying that you have a blue tooth connection to a radio in your car that is not an aftermarket addition? If its part of your car, then its likely down to the way that manufacturer's device is expecting the stream or audio data to be sent.

    On my car stereo, if I want to play an MP3 CD, I have to put MP3's in to folders, the folders are names 0001, 0002 and so on, then in there theirs the files 0001.mp3, 0002.mp3 and so on, so you have to mess around renaming all the files because like most things, manufacturers cutting corners to shave a fer cents off a component ot three to increase their overall profits by a sizeable margin.

    So I would check your manual for your device. You may not be providing the stream in a format that the player likes, I know my CD player in my car is funny with displaying track names despite setting the CD Text, it comes out looking more like Welsh or Gaelic language.

    So can you help other help you by first troubleshooting this issue from the car device to your mobile device and also an example of a URL, simply saying you bave ABC and you turn it in to XYZ ABC is not very descriptive or informative, people need to see what you have done and you may be surprised that most code errors are because the coder has done something wrong and we get posts like this one popping up until its found out they are using something like JQuery and thats where the problem is and they are in the wrong forum...
    Copy linkTweet thisAlerts:
    @KalemauthorJan 06.2018 — Let's say I use a smartphone app, such TuneIn.

    I listen to a webradio via my smartphone.

    I can stream the sound to my car via bluetooth. It works.

    I can listen to the music. I even see on the display of my carradio who is the artist, what is the title of the song.

    Now I am programming a simple radio website via HTML5 and <audio> tag.

    I am navigating via Chrome Browser on my mobile to the website.

    I can stream this music to my carradio via bluetooth. It works.

    But I don't see who is the artist, what is the title of the song etc. for none of the webradios.

    I always see the URL on the display of my carradio.

    So my question is,

    1. how can I get the artist + song name of the radio stream (if it is provided from the webradiostation) ?

    2. how can I send it to my carradio ?

    I hope this makes my question clear.:rolleyes:

    Thx
    Copy linkTweet thisAlerts:
    @rootJan 06.2018 — Well if one works and yours doesn't there is either an ID3 issue or the home brew needs to have the track ID3 information sent and that is information that is in the file.

    I just had a peak at their site TuneIn and they don't half talk out their back sides on audio formats.

    So what is the audio format you tune in to? Is it MP3, AAC, M4A ...
    Copy linkTweet thisAlerts:
    @KalemauthorJan 07.2018 — Let me give you an example:

    [B]This is the tunein URL:[/B] https://tunein.com/radio/Deeplounge-s182759/

    [B]This is the radio stream:[/B] http://uk2-vn.mixstream.net:8012/;

    [B]What I want is:[/B] https://ibb.co/fD4zZw
    Copy linkTweet thisAlerts:
    @rootJan 08.2018 — What I am saying in a round about manner is to tackle this from the perspective of what the device is expecting and not what you want and then maybe you will get the desired result.

    So I suggest you read up how the player accepts blue tooth connections for streaming audio.
    ×

    Success!

    Help @Kalem spread the word by sharing this article on Twitter...

    Tweet This
    Sign in
    Forgot password?
    Sign in with TwitchSign in with GithubCreate Account
    about: ({
    version: 0.1.9 BETA 6.17,
    whats_new: community page,
    up_next: more Davinci•003 tasks,
    coming_soon: events calendar,
    social: @webDeveloperHQ
    });

    legal: ({
    terms: of use,
    privacy: policy
    });
    changelog: (
    version: 0.1.9,
    notes: added community page

    version: 0.1.8,
    notes: added Davinci•003

    version: 0.1.7,
    notes: upvote answers to bounties

    version: 0.1.6,
    notes: article editor refresh
    )...
    recent_tips: (
    tipper: @nearjob,
    tipped: article
    amount: 1000 SATS,

    tipper: @meenaratha,
    tipped: article
    amount: 1000 SATS,

    tipper: @meenaratha,
    tipped: article
    amount: 1000 SATS,
    )...