@
macofaco
I'm having a problem with extracting the subtitle zip from Python (zipfile barfs with an OverflowError exception, "long int too large to convert to int"), and I've noticed the archive is ZIP64 format?!
I extracted normal ZIP files before using the above library with no problems, so I'm just wondering how much trouble would be for you to change from ZIP64 to ZIP format - from what I understand the ZIP64 extension allows for large files and all that, something quite unlikely for subtitles...
Dan Dare Wrote:@macofaco
I'm having a problem with extracting the subtitle zip from Python (zipfile barfs with an OverflowError exception, "long int too large to convert to int"), and I've noticed the archive is ZIP64 format?!
I extracted normal ZIP files before using the above library with no problems, so I'm just wondering how much trouble would be for you to change from ZIP64 to ZIP format - from what I understand the ZIP64 extension allows for large files and all that, something quite unlikely for subtitles...
I assume your problems are with xbmc's builtin zip handling? If so, try
http://docs.python.org/library/zipfile.html
speed may be an issue, you'll have to experiment to figure it out.
Hello.
ZIP files are created with #ziplib library (
http://www.icsharpcode.net/OpenSource/SharpZipLib). I thought that generated archives are just ordinary ZIP archives
Did you try to write your Base 64 decoded ZIP file to disk first and decompress it with ordinary ZIP utilities (try more than one utility).
Could you also try what rwparris2 suggested?
If nothing works then I will try to see if files are really in ZIP64 format and how to convert them to ordinary ZIP files.
Dan Dare, don't bother. I updated Sublight server. Now ALL subtitles should be in normal ZIP format.
I hope I didn't create any bugs
Could you try again?
Thanks macofaco, it works ok now. Going for the final push...
neah, I did the same before you posted, should've seen me at 2 am staring at the doc page, "wth, it says it can handle ZIP64" :-)
Really great news!
I will test it as soon as possible!
Hi @
macofaco,
I really pleased your job here. Also thx @Dan Dare for plugin. I want to Turkish Subtitle Site Request for Turkish peps. On OpenSubtitle there are not much Turkish subtitle. I sow "How to develop Sublight plugin?" post on your site but i'm not coder and i have no idea how can i do that. If you have a time pls consider that request.
Site:
http://www.turkcealtyazi.org/
Description: Tons of Turkish and English subtitles.
Some info about query:
http://www.turkcealtyazi.org/tt0468569
('http://www.turkcealtyazi.org/' + IMDbID)
If you have any questions pls ask...
Thx and Best Regards.
O.B.
Thank you.
Regarding Turkish subtitle site. Please contact them and ask if I am allowed to develop Sublight plugin for their site.