gets called after cache_subtitles runs and generates 2 json files - one that is used by the update page to know how many srt files are available by language, and the other is used by the subtitledownload command to know which youtube ids have subtitles in the given language, so it doesn't make requests for ones we don't have.