Adulttime Interactive Downloader

I noticed there were a couple issues with thls plugin and have corrected some of them but the largest remains an unknown. I did notice the plugin was slightly updated recently but I suspect updating would cause serious issues for me (see item 2). Anyway, I have included my slight changes below in the event you wish to incorporate them upstream. Sorry if not the correct forum, similar posts on github didn’t get much traction.

  1. Unsolved problem - When downloaded, all scripts are inverted. I have to go into OFS, select all and then invert and save. Changing the inverted flag in the python didn’t seem to have an impact.

  2. The next time the sync process runs, the manually corrected files are overwritten. I added a check to see if the file exists alongside the video, if it does, it is not reacquired.

  3. Noticed that there may be an upper limit to the downloads. Added a check to see if the file exists in cache, if so, the file is not redownloaded from source. This allowed the system to acquire previously missing scripts.

  4. Some of them still have no related script even though the site says they exist but cannot see much for them in logging - guessing those might be an adulttime site issue. Not sure how to fix that one. Sample json from the cache: {“result”:true,“code”:10030,“message”:“data is empty”,“data”:null}

Corrected for issues 2 and 3:

AdulttimeInteractiveDL.py (7.9 KB)