Clean and Scan your Kodi VideoLibrary


I havn’t had much time or any reason to make anything at my little home-lab for a while. But I wanted to share and document a very handy little script, which utilizes jq to produce .a JSON string that can be used in a curl request. Jq is very handy in many ways, for both parsing and creating JSON.

This little snippet of bash will just loop through two strings and execute a curl command with the created JSON string in data-binary.