2019-11-14, 19:03
(2019-11-14, 00:53)sualfred Wrote: { "name": "uniqueid", "type": [ "null", { "$ref": "Media.UniqueID.Set", "required": true } ], "default": null }Sorry @sualfred, I really know little about video lib or JSON access to it. I had a quick look and I don't think you can set which of the uniqueId is the default one from JSON, but I could be wrong. I can see it set from xml/NFO but not JSON doing similar.
I guess it's too late and I'm feeling dumb, but how would the JSON cmd look like if I want to provide a default like in this line from methods.json?
The "default": null in the schema method definition means something else, it isn't a parameter property.