bugfix

Signed-off-by: Tomas Neme <lacrymology@gmail.com>
makes media.length a moment.duration

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

Signed-off-by: Tomas Neme <lacrymology@gmail.com>
convert duration to frames

Signed-off-by: Tomas Neme <lacrymology@gmail.com>
don't trigger events when loading from melted

Signed-off-by: Tomas Neme <lacrymology@gmail.com>
change moveClip to use promises

Signed-off-by: Tomas Neme <lacrymology@gmail.com>
don't automatically fetch, let the core do that

Signed-off-by: Tomas Neme <lacrymology@gmail.com>
on MeltedCollection.sort get the server playlist, and compare them

Signed-off-by: Tomas Neme <lacrymology@gmail.com>
aggregate the indices to be moved

Signed-off-by: Tomas Neme <lacrymology@gmail.com>
don't assume everything has already been removed from melted

Signed-off-by: Tomas Neme <lacrymology@gmail.com>
return a promise that's resolved when everything's been moved

Signed-off-by: Tomas Neme <lacrymology@gmail.com>
first remove everything

Signed-off-by: Tomas Neme <lacrymology@gmail.com>
then move what's left

Signed-off-by: Tomas Neme <lacrymology@gmail.com>
we need to return the new promises for the chaining to work

Signed-off-by: Tomas Neme <lacrymology@gmail.com>
accumulate the clips that need to added to melted (that are in the collection but not in melted)

Signed-off-by: Tomas Neme <lacrymology@gmail.com>
add the missing clips both to the `clips` array and to Melted before continuing

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

Signed-off-by: Tomas Neme <lacrymology@gmail.com>
no need to create a temp variable

Signed-off-by: Tomas Neme <lacrymology@gmail.com>
add and remove playlists methods

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

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