Updating timeout to 30 seconds for new mosto tests.

Signed-off-by: fabriciocosta <fabricio.costa@moldeointeractive.com.ar>
Used string format for duration is "HH:mm:ss.SS" not ...SSS

Signed-off-by: fabriciocosta <fabricio.costa@moldeointeractive.com.ar>
Trim remove black_id playlist too...

Signed-off-by: fabriciocosta <fabricio.costa@moldeointeractive.com.ar>
Correcting indentation

Signed-off-by: fabriciocosta <fabricio.costa@moldeointeractive.com.ar>
Adding some events converted, syncing, synced, playing

Signed-off-by: fabriciocosta <fabricio.costa@moldeointeractive.com.ar>
Fixing global leaks (for mocha test)

Signed-off-by: fabriciocosta <fabricio.costa@moldeointeractive.com.ar>
Fixing BlackMedia playlist creation, playlist_id was null, so buildStatus never knew actual show, neither next show.

Signed-off-by: fabriciocosta <fabricio.costa@moldeointeractive.com.ar>
Missing things, more logs, more var declarations.

Signed-off-by: fabriciocosta <fabricio.costa@moldeointeractive.com.ar>
Added new function statusHasChanged to optimize status sending.

Signed-off-by: fabriciocosta <fabricio.costa@moldeointeractive.com.ar>
Added new emitters: status and statusclip. Now full status is only sent when needed.

Signed-off-by: fabriciocosta <fabricio.costa@moldeointeractive.com.ar>
Emitting status clip.

Signed-off-by: fabriciocosta <fabricio.costa@moldeointeractive.com.ar>
Use updateTimeWindow for clarification.

Signed-off-by: fabriciocosta <fabricio.costa@moldeointeractive.com.ar>
Do not wait to call upstream PLAY timer_fun, so we dont have to wait to the next interval event.

Signed-off-by: fabriciocosta <fabricio.costa@moldeointeractive.com.ar>
New mosto initialization method so we can control whatever we need to when testing.

Signed-off-by: fabriciocosta <fabricio.costa@moldeointeractive.com.ar>
Indent...

Signed-off-by: fabriciocosta <fabricio.costa@moldeointeractive.com.ar>
New initialization for mosto. init() function.

Signed-off-by: fabriciocosta <fabricio.costa@moldeointeractive.com.ar>
Adding mosto unit test [FETCH] sections.

Signed-off-by: fabriciocosta <fabricio.costa@moldeointeractive.com.ar>
Fixing mosto init test.

Signed-off-by: fabriciocosta <fabricio.costa@moldeointeractive.com.ar>
Adding mosto unit test [LOGIC] sections.

Signed-off-by: fabriciocosta <fabricio.costa@moldeointeractive.com.ar>
Adding mosto unit test [PLAY] section.

Signed-off-by: fabriciocosta <fabricio.costa@moldeointeractive.com.ar>