2011-02-11, 16:20
hi, for my icefilms addon, i have to extract a large (230MB) zip file and so i'm using xbmc's builtin zip extracting function because it's much faster than using a python zipfile instance.
i am extracting a zip to a folder in the user_data/addon_data/plugin.video.icefilms
i am using the function below:
xbmc.executebuiltin("XBMC.Extract("+src+","+dest+")")
the extract works perfectly
however, when the addon tries to use the files i get random errors in the log.
this is not the case when i use my os to extract the files.
is it possibly a file permissions issue? if so how could i solve it
if anybody wants to give it a go, you can get the addon from the github repo
be sure to choose the Install button when first starting it, and it will download and extract the zip i am referring to.
i am extracting a zip to a folder in the user_data/addon_data/plugin.video.icefilms
i am using the function below:
xbmc.executebuiltin("XBMC.Extract("+src+","+dest+")")
the extract works perfectly
however, when the addon tries to use the files i get random errors in the log.
this is not the case when i use my os to extract the files.
is it possibly a file permissions issue? if so how could i solve it
if anybody wants to give it a go, you can get the addon from the github repo
be sure to choose the Install button when first starting it, and it will download and extract the zip i am referring to.