Kodi Community Forum
Stream download a zipfile and process it while still downloading - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26)
+--- Thread: Stream download a zipfile and process it while still downloading (/showthread.php?tid=174871)



Stream download a zipfile and process it while still downloading - MisterX - 2013-10-03

Hi people,

I was wondering if it was possible to start downloading a zipfile (with e.g. 2 files in it) and already use the files... (like an avi file and a srt file).
I need both to be on the system for it to work.

Is this possible with python?


RE: Stream download a zipfile and process it while still downloading - spiff - 2013-10-03

it's possible but fairly certain you have to implement your own .zip handling. also you have to be in luck such that the srt is first in the archive, if not you're definitely SOL.


RE: Stream download a zipfile and process it while still downloading - MisterX - 2013-10-03

Thank you for your reply.
I'll work my way around it for now, but nice to know it can be done