Replies: 3 comments 8 replies
|
That depends on what the contents of your asset look like (https://stream.website.com:9443/hls/102/MyRadio102.m3u8). Can you share? I wouldn't expect the level (stream-inf) or media group names to correlate to different songs. Usually live radio playlist have ID3 timed metadata with song information. |
|
OK, so this is what I have come up with. This will return a long string of numbers for each song played. Now, what I am doing with this data is submitting it into my database. Works great. Thanks for the development of this wonderful component. Thanks. |
|
I found a way to do it. This will grab the This So, now when the song is playing, it displays the information on the song. I had always wondered why, when listening to LIVE radio, you would always see the information on the next song even before it started playing. Maybe I will find a way around this, but I am one happy person right now. Take care, Rob. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hello everyone.
I am using the following code for my streaming hls/liquidsoap
I added this to detect when the song changes (
line 43above), but it does not work.Checking the Google Dev Tools | Console.
There is only the hls data, nothing shows the
Song changed!.Any ideas on detecting the song change?
I want to grab information from the database to update the page on each song change.
All reactions