Maver is a web application that allows you to treat your entire collection of media files as a searchable list and organize your contents without having to re-arrange the raw media files themselves.
At the heart of this powerful capability is Scalp which is a command line utility that allows you to extract the metadata information and generate the thumbnails needed in order to efficiently forward the only necessary data to Maver.
Scalp uses a particular format on the generated files in order for them to be readable by the Maver application. When you execute the following command:
It will generate a series of files inside OUTPUT_FOLDER you had specified in your .env file, for example:
fffb7e893b4feb4e4044ea461de9394d2e9fd6111d9a8869add041a61814d20f.json fffb7e893b4feb4e4044ea461de9394d2e9fd6111d9a8869add041a61814d20f-large.jpg fffb7e893b4feb4e4044ea461de9394d2e9fd6111d9a8869add041a61814d20f-med.jpg fffb7e893b4feb4e4044ea461de9394d2e9fd6111d9a8869add041a61814d20f-small.jpg files.json
Everytime scalp encounters a media file. It will produce 3 files in return. Wherein the filename is a unique hash representing the contents of that particular file.</a>
- Metadata File - this is a JSON file which contains the json object with all the metadata associated for that media file
- Thumbnails - this comes with 3 pre-defined sizes: Small, Medium, Large.
- files.json - is a simple array that contains the mapping of hash to actual filenames. This is used by scalp to determine which one is already processed so it can skip them.