Auto Populate Streamdetails table

I have Kodi 17 using MySQL and all is great, except i’ve written a front end that i use to keep track of what resolution i have my files in etc and i find it annoying that the kodi DB isn’t populated with this information in it’s entirety.

I cannot find a pattern as to how and when it does this.

Some movies i’ve not watched are not populated and as far as i know, that was the defacto for when the metadata is retrieved.

Is there a way or an addon to force this for the entire library as a one off job?