keep track of boundaries, and make them settable

Signed-off-by: Tomas Neme <lacrymology@gmail.com>
use boundaries in `validTimes` if available

Signed-off-by: Tomas Neme <lacrymology@gmail.com>
fix `readPlaylists` so it takes from and to parameters

Signed-off-by: Tomas Neme <lacrymology@gmail.com>
doc

Signed-off-by: Tomas Neme <lacrymology@gmail.com>
use new time boundaries method in `start`

Signed-off-by: Tomas Neme <lacrymology@gmail.com>
use async to iterate over async results list

Signed-off-by: Tomas Neme <lacrymology@gmail.com>
add optional callback to readPlaylists method

Signed-off-by: Tomas Neme <lacrymology@gmail.com>
process all items together, async.map them into Playlists and return the result

Signed-off-by: Tomas Neme <lacrymology@gmail.com>
pass error to callback if there is one

Signed-off-by: Tomas Neme <lacrymology@gmail.com>
createPlaylist returns an error parameter, drop it if present

Signed-off-by: Tomas Neme <lacrymology@gmail.com>
comments

Signed-off-by: Tomas Neme <lacrymology@gmail.com>
allow for undefined from: date and make sure to cast everything to moment()

Signed-off-by: Tomas Neme <lacrymology@gmail.com>
use mbc-common 1.x pubsub driver

Signed-off-by: Tomas Neme <lacrymology@gmail.com>
Merge pull request #38 from inaes-tic/Lacrymology/driver/playlist/mongo

Closed #38