Java ServerConnection Library

#1
I have written a java library to communicate with the Casper server via the AMCP protocol.

You can get it from https://github.com/tjenkinson/CasparCG- ... Connection

It's the first time I've used git and GitHub so please let me know if I've done anything wrong or something could have been done better.

I've also been working on some audio looping software which lets you create break points and dynamically move between different sections. I hope to get this up soon as well :)
AS3 Animation Helper: https://github.com/tjenkinson/Adobe-AS3 ... ion-Helper
AS3 Scroller: https://github.com/tjenkinson/Adobe-AS3-Scroller
Java ServerConnector: http://bit.ly/127WwQo
PHP ServerConnector: http://bit.ly/13UeobV

Re: Java ServerConnection Library

#2
Great!

It seems as if you have switched the add and remove commands:

Add.java

Code: Select all

public class Add extends CaspCmd {

	public Add(String cmdString) {
		setCmdString("REMOVE "+cmdString);
	}
}
Remove.java

Code: Select all

public class Remove extends CaspCmd {

	public Remove(String cmdString) {
		setCmdString("ADD "+cmdString);
	}
}
Former CasparCG Client Lead Developer
Feel free to contact me if you need any CasparCG related support, development or other consulting.

Re: Java ServerConnection Library

#5
It supports everything on http://casparcg.com/wiki/CasparCG_2.0_AMCP_Protocol . I didn't see the Disk Consumer link before so if I have time I'll add that later.

Edit: Actually it already supports the disk consumer as well :)
AS3 Animation Helper: https://github.com/tjenkinson/Adobe-AS3 ... ion-Helper
AS3 Scroller: https://github.com/tjenkinson/Adobe-AS3-Scroller
Java ServerConnector: http://bit.ly/127WwQo
PHP ServerConnector: http://bit.ly/13UeobV

Re: Java ServerConnection Library

#6
If you add these commands: http://casparcg.com/forum/viewtopic.php ... ails#p7890 and KILL, you should be good for most of the news for 2.0.4 as well.

I'd love to add links to all the complete libraries. I think there's a JS.Node one, and possibly a LiveCode one...
Jonas Hummelstrand
Independent Consultant at SuperFly.tv
Former Community Manager for CasparCG

Problems? Guide to posting Bug reports & Feature requests