Hi, Eduardo...
Thanks for this!
I am assuming that this includes the Album metadata in the title field,
ie "title - album", which sounds perfect.
As I say, I am very, very new to liquidsoap and completely lacking in
knowledge. Can you tell me, or point me at a suitable bit of
documentation, that shows me how to incorporate this into my system?
Presumably the actual playlist path will have to be located and that
inserted, but I don't currently know where to find that currently. I
certainly don't know where to place this routine at present or configure
it to operate unateended. I am looking at the tutorials and they appear
to start from a very different place from where I am. My apologies for
my lack of knowledge.
Many thanks!
--Richard E
On 08-Jun-17 13:35, Eduardo Martinez wrote:
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]
<mailto:[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 <http://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