Fixing startup null timer_clock. close #50

Signed-off-by: fabriciocosta <fabricio.costa@moldeointeractive.com.ar>
Added next_expected_clip for logging and checking expected behavior.

Signed-off-by: fabriciocosta <fabricio.costa@moldeointeractive.com.ar>
Using new full complete StatusClip to fix relative_clock (to clip) calculation. close #76

Signed-off-by: fabriciocosta <fabricio.costa@moldeointeractive.com.ar>
Calculate expected frame position for the expected clip.

Signed-off-by: fabriciocosta <fabricio.costa@moldeointeractive.com.ar>
Removing self.config.reload_timer_diff condition. Blocking.

Signed-off-by: fabriciocosta <fabricio.costa@moldeointeractive.com.ar>
Added clean/append/goto (expected_frame) / play for smooth playing. close #77

Signed-off-by: fabriciocosta <fabricio.costa@moldeointeractive.com.ar>
Fixing removePlaylist callback. close #6

Signed-off-by: fabriciocosta <fabricio.costa@moldeointeractive.com.ar>
Removing out of time window updates. close #9

Signed-off-by: fabriciocosta <fabricio.costa@moldeointeractive.com.ar>
Removing any black/blank playlist before reordering, any adjustment on playlist must be done in orderPlaylists().

Signed-off-by: fabriciocosta <fabricio.costa@moldeointeractive.com.ar>
No delays for first black, setting lenght to next valid clip, if no clip is scheduled right now. #19

Signed-off-by: fabriciocosta <fabricio.costa@moldeointeractive.com.ar>
Duration of queued black after last playlist is only one frame or 100 ms.

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

Signed-off-by: fabriciocosta <fabricio.costa@moldeointeractive.com.ar>
As images (black.png) are not playing as does videos, we treat it like it's playing, so we dont have to load it at each iteration.

Signed-off-by: fabriciocosta <fabricio.costa@moldeointeractive.com.ar>
Adding trimPlaylists to check and remove any playlist out of our window from mosto cache.

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

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