Hi Rick,

On my website I obtain the metadata directly from the json of the Icecast
website (supposedly not recommended option in case the structure changes in
the future, but it has worked fine for over a year).
To do this, I made a JavaScript script that runs continuously and extracts
the metadata in the Artist - Track format. Then from there I transfer it to
the DOM of the website
But it is easy to modify it to isolate only the Artist in the JS using *indexOf
*to find the position of the " - " separator in the string "Artist -
Track". Then use *substring* to extract just the artist name.
If you are interested in that I can help you, now if you want to do it
directly from Liquidsoap I can't help you.

Juan

El dom, 3 mar 2024 a las 7:41, TDAS via Savonet-users (<
savonet-users@lists.sourceforge.net>) escribió:

> Hi folks
>
> Wondered whether anyone has got a working routine for handling artists and
> track separation? I'm trying to understand how this might work...
>
> Rick
>
>
>
>
> _______________________________________________
> Savonet-users mailing list
> Savonet-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/savonet-users
>
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to