dustin / gopro

Tools for making the most out of GoPro Plus.
http://dustin.sallings.org/2020/04/29/gopro-plus.html
BSD 3-Clause "New" or "Revised" License
96 stars 13 forks source link

Unexpected MediumType: "MultiClipEdit" while performing first sync #14

Closed fabiocatalao closed 2 years ago

fabiocatalao commented 2 years ago

I've installed it in a Raspberry, and I'm trying to run it for the first time.

I've performed the auth steps and now I'm trying to run the sync command for the first time and it's failing with the following error:

$ gopro sync -v
D: Reading auth token from DB
gopro: JSONError "Error in $.type: Unexpected MediumType: \"MultiClipEdit\""

The same error happens when trying to run fetchall.

It's a type of Media that was created using GoPro app and was available in the GoPro Media Library, filtering by Edits. I've already deleted it from there but it still fails.

Please let me know if there are additional ways to debug the issue.

dustin commented 2 years ago

Oh neat. That's easy to fix. I'll check to see if there are more medium types added recently and roll them all out.

dustin commented 2 years ago

There are several new types here:

+    | Continuous
+    | ExternalVideo
+    | Session
+    | MultiClipEdit

Updating the dependency and then I'll apply it here.

I've never run into some of these and I'm not even sure how to go about finding them, but the flaw is obvious. Fix incoming.

fabiocatalao commented 2 years ago

It's now syncing. Thank you!