Posts: 3
Joined: Feb 2008
Reputation:
0
Hi guys,
I was wondering, is it possible to migrate my database from my Xbox to my Mac OSX install? I ask because I have many foreign language films, so about half my database was manually fixing up IMDB's mistakes. I would prefer not to do this again.
I did what I thought would be correct; I copied the Database folder from my Xbox install to the correct location in the OSX XBMC package but no go. Is this possible? If so, is there a way to batch change the path of the videos (as the location is no longer SMB, it is my local drive)
Thanks!
Simon
Posts: 12,706
Joined: Nov 2003
Reputation:
129
spiff
Team-Kodi Member
Posts: 12,706
easiest way to fix it is export, search & replace in xml, import.
but you will still have issues with non-local thumbs since they are cached based on the path (which has changed - hence the cache names have changed).
Posts: 48
Joined: Feb 2008
Reputation:
0
eduo
Junior Member
Posts: 48
Right. Thumbs are, IIRC, based on the hash of the full path so they won't work.
I have wondered in the past if the XBMC team has ever considered storing the metadata for a folder or for the files in the same directory they're located (in a similar way OSX currently does with .invisible folders). Otherwise moving or renaming breaks the thumbs and info but the data isn't deleted, slowly taking more and more time (I could be wrong but I don't think anything is deleted if unused over time).
Posts: 12,706
Joined: Nov 2003
Reputation:
129
spiff
Team-Kodi Member
Posts: 12,706
nobody in their right mind shares their media library in rw mode. so no, that is not an option.
in any case it would destroy the entire point of having a cache
Posts: 48
Joined: Feb 2008
Reputation:
0
eduo
Junior Member
Posts: 48
Yeah, well, I think that's too broad a statement. Almost everybody shares their media library in RW mode. What nobody in their right mind should do is sharing their media library publicly and without authentication in rw mode. I don't have my media library physically connected to my desktop machine so if it wasn't shared in authenticated RW mode in my desktop (permanently, I should add) it would be a nice but empty shared RO drive.
So, I was thinking on XBMC running under OSX (or Win, or Linux), where (at least now) volumes are mounted locally by the OS and "seen" by XBMC, whether they're local internal disks, external disks or network disks mounted with user privileges.
That is, I mount my network disks with write permissions, otherwise I wouldn't be able to write my files to them. What I DON'T do is share with RW permissions for unauthenticated users ("guest" accounts, "public" shares). I could be wrong but isn't this standard practice for shared disks?
One the other point: It wouldn't destroy the point of having a cache. In reality it would validate the point of having a cache. What we call a "cache" right now is, in reality, the only place where the metadata is stored (again, I could be mistaken). A "cache" to me has always been "a more easily accessibly copy of a slower or more convoluted original source to facilitate and speed up access".
Again, this could be just wording and oversimplification on my part. I tend to only use samba for sharing so my view may be askew becaus of that. I am purposedly avoiding thinking of XBMC as "the Media Center for Xbox" too and more of it as "a Media Center solution" and as such I see it working in standalone linux installations or running from Windows or OSX. In these cases my proposal makes more sense than when it was running on the XBOX, as it's common to have your network media drives mounted in the local OS.