Changed drivers initialization to non-blocking and added timeout retry mvcp-driver connnection.  Made playPlaylists function wait for mvcp-driver to be connected before start sending commands.

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Changed driver initialization to check if U0 exists and reject promise if it doesnt

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Added tests for this functionality

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Deleted absolute paths from tests

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Added error log to console on melted start failing

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Added specific timeout to init-server test

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Removed absolute paths

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Added melted-test-run target to be able to setup melted from inside tests

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Modified test target to use melted-test-run target

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Modified test to use makefile for stopping/starting/setup melted

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Removed unnecessary commented lines

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Fixed some typos in melted-node-driver

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Added isConnected method to mvcp driver and melted node driver

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Modified mvcp driver test to use isConnected function

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Fixed missing utils requirement in melted node driver

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Merge branch 'jmrunge/issue23'
Fixed makefile to do 'make serve' not to run tests

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Removed mosto instance to be created on mosto.js file (Merge error)

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Added Status object to API

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Added StatusClip to API

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>