Define is_error when using newer libjson-c.
Detect current video mode and use it.
Store video setup in temp directory.
Restore GUI state after playing video, select the same video.