Metadata on output.file.hls shows only title. #3324
Replies: 3 comments 10 replies
-
Hi @exlexv ! The reason for this is that, historically, icecast has a special If title is the metadata being displayed from the hls stream, you can emulate this behavior by using
|
Beta Was this translation helpful? Give feedback.
-
@toots
This resulted in two outputs:
Result: metadata from So as you can tell mapping has been applied only to |
Beta Was this translation helpful? Give feedback.
-
i have issue with liquidsoap to get song title and artist . here is route Route::get('/playlist.m3u', function () {
}); Fetch playlist from Laravel routeplaylist_url = "http://127.0.0.1:8001/playlist.m3u" Wrap in safe and add crossfadeplaylist_radio = mksafe(crossfade(playlist_source)) Live stream inputlive = input.http("http://127.0.0.1:8001/liveSongs") Fallback between live and playlistmain = fallback(track_sensitive=false, [live, playlist_radio]) Log current song and send to Laravel APIdef log_and_notify(m) = title = m["title"] curl_command = "curl -X POST http://127.0.0.1:8001/api/now-playing " ^ [("title", title), ("artist", artist)] Attach metadata function to playlist stream onlymain = map_metadata(log_and_notify, main) Icecast Output with metadataoutput.icecast(
}); |
Beta Was this translation helpful? Give feedback.
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! Using latest 2.2.0 version via opam.
Everything works great except one thing. My radio setup outputs both to Icecast and HLS. So when I connect to Icecast source
example.com/stream
with my phone app (audio stream player) I can see both current 'artist' and 'title' on my screen. But when I connect to HLS sourceexample.com/hls/stream.m3u8
— I see only song 'title'. How can I fix this?The strange thing is
I've tested: if I take the source and make the output only to 'Icecast' and then take the Icecast url as an input to output.file.hls — I get both 'artist' and 'title' again.
This way I get both 'artist' and 'title' from HLS output.
And this way I get only 'title' on HLS output but 'artist' and 'title' on Icecast:
Beta Was this translation helpful? Give feedback.
All reactions