Posts: 41
Joined: May 2008
Reputation:
0
wishie
Junior Member
Posts: 41
Ok, so my solution was this:
1) Export Library to NFOs
2) Delete MyVideos database
3) Write a script to read the <id>movieid</id> from the NFO and rewrite the NFO containing only the URL for the movie
4) Rescrape and let XBMC fetch the data based on the movie URL in each NFO (to avoid incorrect movie matching)
Once that is all done..
5) Will probably run TextureCache.py to correct any missing/broken images
Posts: 41
Joined: May 2008
Reputation:
0
wishie
Junior Member
Posts: 41
2013-07-03, 15:42
(This post was last modified: 2013-07-03, 15:48 by wishie.)
Really? Thats interesting, because I have 1607 movies, and only 1601 made it into the library..
--EDIT--
So I just tried that, and I get the following errors:
./texturecache.py missing movies Movies
Traceback (most recent call last):0/mnt/user/Movies]
File "./texturecache.py", line 3921, in <module>
main(sys.argv[1:])
File "./texturecache.py", line 3900, in main
jsonQuery(action="missing", mediatype=argv[1], labels=argv[2:])
File "./texturecache.py", line 2093, in jsonQuery
fileList = jcomms.getAllFilesForSource(mediatype, labels)
File "./texturecache.py", line 1359, in getAllFilesForSource
for file in self.getFilesForPath(path):
File "./texturecache.py", line 1384, in getFilesForPath
self.getFilesForPath_recurse(fileList, path)
File "./texturecache.py", line 1401, in getFilesForPath_recurse
self.getFilesForPath_recurse(fileList, os.path.dirname(fname))
File "./texturecache.py", line 1391, in getFilesForPath_recurse
files = data["result"]["files"]
KeyError: 'files'
Perhaps this is because the "Movies" source is:
./texturecache.py sources
video: Movies: nfs://192.168.1.10/mnt/user/Movies
Posts: 145
Joined: Apr 2011
Reputation:
9
HueyHq
Senior Member
Posts: 145
Because you seem like the right man to ask; does Textures13.db still get populated when XBMC is MySQL-based? My assumption was that MySQL negated the use of SQLite, but I thought I read somewhere here that texturecache.py keeps them in sync?
In either case, what does texturecache.py do with MySQL data?