affini:
the way the script works:
1) first it fetches a 'tree' listing of files and directories that are in the url path.
2) then it goes through that list to see if there are any that match your exceptions, and removes them from the list
3) then it fetches what is left in the list into your xbmc directory including full paths.
4) then it does the copies.
so if you have for example
e:\apps\xbmc\xbmc\xbmc_dir path="e:\apps\xbmc"
source url="smb://office;xbox:xbox@office/xbmc"
and within office/xbmc there is
xbmc\xboxmediacenter.xml
xbmc\default.xbe
mymods\xboxmediacenter.xml
then after you run the script on your xbox you will have
e:\apps\xbmc\xbmc\xboxmediacenter.xml
e:\apps\xbmc\xbmc\default.xbe
e:\apps\xbmc\mymods\xboxmediacenter.xml
all files in e:\apps\xbmc will not have been changed at all.
the exceptions will still work as you have them and the copies will also still work as you have them, but nothing else will have changed.
all the files will be fetched, but to the wrong location.
but everything would mostly seem like it was working fine.
i see what you are trying to do having a directory with the new files and a directory with your mods, but i don't understand why. it seems like the point of the exceptions is so that you can keep your mods on you xbox and update without overwriting them.
the problem with re-working the script as you said is that if the url does not point to the dir containing the xbmc files, there is no way for the script to know where the actual xbmc files are located.
i could add an xml setting for that, but then the script still doesn't know where to put the files that are not in the
actual xbmc tree.
it would help me out to know why you have exceptions for files that you later overwrite with your mods, because, like i said, it seems like you should just keep your mods on your xbox...
i don't really want to change the way the script works (except for anything broken
![Smile Smile](https://forum.kodi.tv/images/smilies/smile.png)
), because i'm happy with the basic function and would like to keep it as simple as possible.
ruuk