This is really cool! But it seems there is a bug somewhere in the mc.queue.add method. I sent the following message to it:
mc.queue.add
d:\movies\13th Warrior.avi
-1
And the return code was ’1′, meaning that it was ok. However, the movie won’t show up in the GUI until I restart MediaCoder. As soon as I restart it, the movie is there, and then I can start the conversion.
I’m using build 4100, and I’ve used ‘curl’ to send the xml-rpc method call to MC (via the ‘-d @-’ switch and redirecting the stdin to a text file containing the xml message).
You’re right, the movie was added (hence it showed upon restart), however I could not add the movie to the queue AND start the conversion right on, because MC thought the queue was still empty upon receiving the ‘ui.jobs.start()’ call.
This is still not working properly… I add a movie with mc.queue.add(), but ui.queue.start() does not work, saying that the queue is empty… The ‘refresh’ problem makes this (great) feature pretty much useless, since you have to restart MC manually for the queue to be refreshed.
As of 0.6.1.4166, this has not been corrected yet. However, new features are implemented all the time. I would prefer that MC had fewer features, but less bugs.
Does that mean I could remote control MediaCoder via the internet or from another server?
When there is a guy (even if its simple) I will be sure to try it out.
Nice,so quick!
Is XML-RPC API out already or until build 4060 ?
The current version is 4050.
I tried the build 4050, there is no response.
Get latest update: http://mediacoder.sourceforge.net/dlupdate.htm
To SirAuron: Yes, as long as MediaCoder is configured to listen on the correct NIC/IP address.
This is really cool! But it seems there is a bug somewhere in the mc.queue.add method. I sent the following message to it:
mc.queue.add
d:\movies\13th Warrior.avi
-1
And the return code was ’1′, meaning that it was ok. However, the movie won’t show up in the GUI until I restart MediaCoder. As soon as I restart it, the movie is there, and then I can start the conversion.
I’m using build 4100, and I’ve used ‘curl’ to send the xml-rpc method call to MC (via the ‘-d @-’ switch and redirecting the stdin to a text file containing the xml message).
The UI is not refreshed in time after the xmlrpc request is made. But the file is really added. I will fix this later.
You’re right, the movie was added (hence it showed upon restart), however I could not add the movie to the queue AND start the conversion right on, because MC thought the queue was still empty upon receiving the ‘ui.jobs.start()’ call.
This is still not working properly… I add a movie with mc.queue.add(), but ui.queue.start() does not work, saying that the queue is empty… The ‘refresh’ problem makes this (great) feature pretty much useless, since you have to restart MC manually for the queue to be refreshed.
As of 0.6.1.4166, this has not been corrected yet. However, new features are implemented all the time. I would prefer that MC had fewer features, but less bugs.