(2014-12-28 00:56)tebicenter Wrote: The other day I uploaded the changes for the service to work with the argenteam's API, in case anyone wants to try. There are a few things a want to review before uploading it to the repository, but if anyone can give it a try, it would be great.
Hi Esteban!!! Happy new year !!!
Last stable version of the service (0.6.0) is not deleting "temp" folder contents on Kodi Helix 14.0 nor 14.1 rc, I've tested it on different kind of devices (Android, Raspeberry Pi, plain Linux PC) and the behavior is always the same: Subtitles remain on temp folder, so, no matter what subtitle you download after the first one, the service always picks (and eventually move to a folder) the first it founds on temp folder which is a big fat problem. The problem persists until I manually remove all .srt and .zip files from temp and then occurs again after a succesful download.
So, I've checked your service code and the main difference I found with "opensubtitles" service (which works ok) is that the delete portion of temp folder is out of any function and runs always the script is runned. In your service this deletion is called only at the beggining of the download function. I really don't know if that could affect and fail to delete, but as I mentioned above all data downloaded in temp is keeped, confusing the service when you use it a few times and you don't have the luck that the subtitle is up in the alphabetical list of files to be moved. So I presume that cleaning the temp is the problem.
If you need more info or a hand on something, please let me know.