Hello again Rick,

I'm not familiar with the term 'curated lists.' No songs or playlists are
exempted; the script captures everything that is played and the metadata
that arrives at the Icecast web. It then incorporates this information into
a player on my website.

If you are interested in the JS solution and have opened a thread on
Github, please provide me with the link so I can share the code with you.
Gmail doesn't allow me to attach JS files here, and if I compress it, it
says it has a virus.

P.S.
I've uploaded it to Pastebin for you to see and test:
https://pastebin.com/kXKzPMAM

I hope I've helped you.
Juan

El lun, 4 mar 2024 a las 6:40, TDAS via Savonet-users (<
savonet-users@lists.sourceforge.net>) escribió:

> Hi Juan
>
> That might work as a solution. I can roughly figure something out along
> those lines. Do you have anything in place for actually avoiding the tracks
> that are in the curated lists though? Or are you just using them for
> another purpose?
>
> R
>
> On 4 Mar 2024, at 02:43, Juan Amores <canalamo...@gmail.com> wrote:
>
> 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
>
>
> _______________________________________________
> 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