Hi,
I come back here cause I've got I've found a sample of configuration to update
metadata from input.harbor but I've got an error and I don't understant why...
Here is the part of my liq file:
``def liveStart(headers)
log("[LIVE-START]: live source goes up! Switching from playlist...")
title = headers["ice-name"]
ignore(server.execute("liveMeta.insert title=\"#{title}\""))
end
liveset =
input.harbor("live",port=****,password="****",on_connect=liveStart)
liveset = insert_metadata(id="liveMeta",liveset)
radio = smooth_add(delay=0.8, p=0.15, normal=radio, special=microphone)
# Add the ability to relay live shows
full = fallback(track_sensitive=false,[liveset,radio])``
and here is the error message:
``At line 102, char 53:
this value has type
source(_) (inferred at line 63 char 11 - line 87 char 13)
but it should be a subtype of (the type of the value at line 102, char 47)
(_*_) (inferred at line 98, char 26-48)``
line 102 is: full = fallback(track_sensitive=false,[liveset,radio])``
Regards,
Manu
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/savonet/liquidsoap/issues/715
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users