Permalink
Browse files

Added status attr to getServerStatus method from driver

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
  • Loading branch information...
jmrunge committed Apr 5, 2013
1 parent dae5ac9 commit 65b078957cdd2bf8001eb584eed91f8c8dfe5428
Showing with 2 additions and 1 deletion.
  1. +2 −1 drivers/mvcp/melted-node-driver.js
@@ -59,13 +59,14 @@ function melted(host, port) {
var media = {};
var parse = split[1].split(" ");
+ media.status = parse[1];
media.file = parse[2];
media.currentFrame = parse[3];
media.fps = parse[5];
media.in = parse[6];
media.out = parse[7];
media.length = parse[8];
- media.index = parse[16]
+ media.index = parse[16];
successCallback(media);
}, function(error) {
var err = new Error("mbc-mosto: [ERROR] Error getting server status: " + error)

0 comments on commit 65b0789

Please sign in to comment.