xbmc database question
#1
I have a very large tv collect and a decent sized movie collection. I have my tv stuff on one server and my movie stuff on another. Currently, i'm using libnfs mounts for my sources. This works ok, but i'm noticing performance problems, especially with extremely large hd movies. Its almost impossible to change chapters, and ff doesn't work at all.


I get much better performance by mounting the nfs shares via fstab. I'm wondering how i can preserve my database (watched/unwatched, rating, etc)

Is there an easy way to do this?
Reply
#2
you could export the DB, then sed/search replace the path in the export file and reimport it.
Or you do some update sql on the DB directly
Reply
#3
so let's say my path was setup like: nfs://192.168.1.14/tank/nas/Video/HD.Movies/

and i wanted to mount nfs at /mnt/movies/

I'd do something like:

Code:
update path set strPath = replace(strPath,'nfs://192.168.1.14/tank/nas/Video/HD.Movies/','/mnt/movies/');


??
Reply
#4
Something like that, yeah. If you have rar or zip'd movies there might be another couple steps perhaps.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#5
it seemed to work well.
Reply

Logout Mark Read Team Forum Stats Members Help
xbmc database question0