I’m new to Caspar and wondering if there is a Caspar specific function I can put in my main JS file that will print to the server terminal when I play the animation through the Caspar client. Basically, I need a way to debug my code. Console.log() doesn’t work.
I know this is super basic, but I haven’t been able to find it.
I see, hopefully this gets added soon-ish along with the INFO commands since it would make building custom HTML clients much more reliable. Thank you again for the info!
This is where my knowledge ends, sorry. Currently I’m using TCP to send AMCP commands to a NodeJS server that is using CasparCG-Connection to handle the logs. My config file looks like this.
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<paths>
<!-- Setup Media Paths -->
</paths>
<log-level>debug</log-level>
<channels>
<channel>
<!-- Setting up Consumers -->
</channel>
</channels>
<controllers>
<tcp>
<port>5250</port>
<protocol>AMCP</protocol>
</tcp>
</controllers>
<!-- Pretty sure I don't need this next part?-->
<amcp>
<media-server>
<host>192.168.1.2</host>
<port>8080</port>
</media-server>
</amcp>
</configuration>
Should I be using OSC like it is described here? Would that send me the same thing as INFO CONFIG used to? Also, would it send the same things as the TCP Controller is now?
Gotcha, that makes sense. Where could I find info on how to implement this work around? Getting Logs from the HTML files to CasparCG-Connection would be huge!