2011-09-28, 08:59
Pardon my ignorance, but where does the file go when you export it? When you say your database folder, errr where is that in terms of c:\?
Fox Wrote:I guess you changed the "import ElementTree as ET" line?Pretty sure his "version" doesn't work either, unless he changes the instances of the rename "ET" to ElementTree.
Weird that you get that error because it should be included in the resources folder.
I'll have a look at it for the next release.
from elementtree import ElementTree
from elementtree import ElementTree as ET
azgul Wrote:Also, the newest version of the database is MyVideos56.db, so people may want to make that change as well.
azgul Wrote:Pretty sure his "version" doesn't work either, unless he changes the instances of the rename "ET" to ElementTree.
Code:from elementtree import ElementTree
works fine for me (I replaced all instances of "ET" with the full name, ElementTree.) Also, the newest version of the database is MyVideos56.db, so people may want to make that change as well.
Should work without any further changes, I guess. I just can't be bothered changing it back to test again since I already managed to import my watched data.Code:from elementtree import ElementTree as ET
That being said, thanks a lot for this addon. Was a great help. My Movie-database was corrupted in the nightly build for some reason, so I had to rescrape everything.
Fox Wrote:Hi Mark.
There isn't that much to update, the most common problem seems to be the database name that will change if you install a clean new version of xbmc, so check that you are using the right one. Both for when you export and import.
I looked at a way to get this information from xbmc directly but had no luck so atm you have to change that manually. :-(
clock2113 Wrote:So there's the <importwatchedstate>true</importwatchedstate> flag then for importing watched state; how do you export watched state? I'd rather not do the full nfo export from XBMC, because that overwrites everything; is there a way to add just the watched status to the nfo files of all watched movies?
olympia Wrote:No, but what's the problem with overwriting everything?
olympia Wrote:XBMC exports and can import watched flag. Why do you need an addon for that?
http://wiki.xbmc.org/index.php?title=Adv...library.3E
<importwatchedstate>true</importwatchedstate>