Hey!

I have a Python 3 script that pulls the API data from the site and it forms an 
annotate string like the ones mentioned above. I have verified that it works 
fine from the console so Python seems to be okay.

>From Liquidsoap, I followed one of the code examples which has worked wonders 
>for years. Here's the line of code in question:

`def spreq () =`
`     ret = list.hd(default="",get_process_lines("python3 /spradio/djcontrol.py 
next"))`
`     log(""^quote(ret))`
`     request.create(ret)`
`end`

The log call there is what I used to troubleshoot the issue. That's why the 
annotate lines are shown in the example above. I suspect the 
"get_process_lines" doesn't like the different characters and uses the default 
blank string instead--thus the flood of "".

-- 
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/697#issuecomment-457706027
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to