Atelaes / Mynda

An electron based media library
0 stars 0 forks source link

Dragged video in hierarchical playlist does not update collections in the video object in real time? #35

Closed JohnMTorgerson closed 3 years ago

JohnMTorgerson commented 3 years ago

The Library pane is appropriately updated, but when you edit the video, the new collections information doesn't appear in the editor until refreshed.

JohnMTorgerson commented 3 years ago

If moved within a collection, the order of that collection does seem to be updated immediately, strangely. But putting it in a new collection is not reflected in the editor pane. However, clicking "Revert to Saved" updates it.

JohnMTorgerson commented 3 years ago

Fixed. In componentDidUpdate of MynEditor, we were updating the video state object on props change, but not the collections object. Now that we're updating both, it seems to be working fine.