View Full Version : Video library lost after changing media source path
It seems like the video library dies if I change the path to the videos, such as renaming or moving the share. Is there any way to resync it without downloading all the thumbs and info all over again from IMDB?
SandmanCL
2007-09-14, 07:29
I think you can ressurrect your database following the steps below:
1) export library to an xml file
2) copy the xml file to your computer using ftp
3) using a text editor, replace the old path with new path
4) delete the MyVideos database on the xbox
5) ftp the xml file back to the xbox
6) import database
Good luck.
Typhoid Mary
2007-09-14, 07:45
Keep us informed on how it goes. *crosses fingers*
You should have known that changing any path was going to bork your data. Would be nice if somehow XBMC could know you changed paths and correct it. Somehow=some yet unknown magical power. :)
The only way that would be possible is generating MD5's of the files, which I think would take FOREVER on the Xbox.
truth with a modification.
we could easily catch them if you edit in the gui. personally i dont think its worth the hassle and code though.
its dead simple to correct though. open your videodb in a sql editor and simply run a replace command on the path table
J_K_M_A_N
2007-09-14, 22:38
Is this a case where Path Substitution (http://www.xboxmediacenter.com/wiki/index.php?title=AdvancedSettings.xml#.3Cpathsubsti tution.3E) would come into play? I have never been sure how this works or where you would want to use it but to me, this sounds like the place. Am I wrong in this?
J_K_M_A_N
yes you are completely wrong.
thats for substituting paths in playlists
J_K_M_A_N
2007-09-14, 23:34
Gotcha. Thanks for sugar coating it for me spiff. ;) Good to have you back.
J_K_M_A_N