Fix broken js_htsmsg_from_object() when array/object is empty
Add an optimization step to .view compiler
glw: Move all user configurable flags into glw_flags2
Don't do subtitle scanning if no title/imdbid/opensub hash/etc is available