Added video and its thumbnail to the media library.
Added image metadata to image.
Found a way to refresh library.