As suggested, stack size is increased instead of moving nfo file buffer to heap.
This reverts commit 162c6843b6a85d27398c8272d7efc0998e550328. Reverting accidentally committed change.
Nfo parsing related fixes added in a patch. - uninitalized string (GetVideoMetadata() - nfo) -> memset to 0 - stack was kicked with 64k buffer unconditionally (parse_nfo() - buf) -> now it is on heap and malloc'd size depends on filesize
moved db dir from /var/cache to /var/lib added a check in post-upgrade to notify use of this change