Hi Richard,
You can accomplish sending album metadata with the map_metadata function.
Here is a brief example:
input = playlist("/home/user/music",mode="normal")
def apply_metadata(m) =
title = m["title"]
artist = m["artist"]
album = m["album"]
[("artist","Artist:#{artist}"),("title","Song:#{title} - Album:#{album}")]
end
input = map_metadata(apply_metadata,input2)
You can modify the return of the apply_metadata function as you see fit.
Have a great day.
On Thu, Jun 8, 2017 at 3:23 AM, Richard G Elen <[email protected]> wrote:
> We are running a Centova Cast system using Liquidsoap to handle AutoDJ
> functionality.
>
> Liquidsoap/1.1.1 (Unix; OCaml 3.11.2)
> Icecast 2.4.0-kh4
> Centova 3.2.8
> CentOS 6.8 x64
>
> We need to include the Album metadata tag in our streams. All our autodj
> library music files include Album metadata but the system is only sending
> Title and Artist.
>
> While I would know how to fix this if we were using ices-cc I have NO idea
> how to do it with Liquidsoap. I imagine it could be done with map_metadata
> but I have no idea how to do that and would not know how to install a
> solution if I had one. Presumably the metadata sent will be configured
> somewhere and can be adjusted to add the Album tag.
>
> Assuming that the result would be the incorporation of a string of the
> form "Artist - Title - Album" in some order or other, we would need to be
> able to change the order of the three elements.
>
> I am new to Liquidsoap having not previously worked with it. As a result I
> would appreciate explanations that are as detailed and n00b-oriented as
> possible, especially as far as how to implement a solution is concerned.
>
> Thanks in advance!
>
> --Richard Elen
> radioriel.org
>
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Savonet-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/savonet-users
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users