[WIP] medialibrary: Automatically generate missing thumbnails