update:
i insert this function
ref myh = ""
def cal_ora() =
ora = get_process_output("date +%H")
ors ="/home/videoserver/Scaricati/tm/donna/ora/#{ora}.mp3"
ors = string.replace(pattern="\n",fun (_) -> "",ors)
print(ors)
myh := audio_to_stereo(single(ors))
1.0
end
add_timeout(fast=false,20.,cal_ora)
rotation = rotate(weights=[1,1,1],[spot,{myh},radio]) #line 65
but the response error is:
this value has type
**float
but it should be a subtype of
int (inferred at line 65)**
can i setting REF as source(_) ????
--
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/641#issuecomment-429250288
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users