2011-10-21, 18:22
I've been using SMB paths for cross platform compatibility, but I'm done with windows so figured I'm try something else.
I'm using a mac, so if I mount the network media drive, it shows up in /Volumes so I grabbed an SQLite editor and ran the following:
('NAS' being the DNS name of the network storage)
Then edited the sources.xml file with similar changes and launched XBMC
Pleasingly, I was able to play media, a file that was once addressed at smb://NAS/Video/Movies/filmtitle.avi could now be found at /Volumes/Video/filmtitle.avi
However, all fanart and thumbnails were just plain gone; I assume this is because they are stored as a hash of the full filename? I reverted to the backups and the artwork turned up again. Is there any way I can make this change sucessfully?
I'm using a mac, so if I mount the network media drive, it shows up in /Volumes so I grabbed an SQLite editor and ran the following:
Code:
UPDATE path SET strPath = replace (strPath,'smb://NAS','/Volumes')
UPDATE movie SET c22 = replace (c22,'smb://NAS','/Volumes')
UPDATE episode SET c18 = replace (c18,'smb://NAS','/Volumes')
UPDATE tvshow SET c16 = replace (c16,'smb://NAS','/Volumes')
UPDATE files SET strFilename = replace (strFilename,'smb://NAS','/Volumes')
Then edited the sources.xml file with similar changes and launched XBMC
Pleasingly, I was able to play media, a file that was once addressed at smb://NAS/Video/Movies/filmtitle.avi could now be found at /Volumes/Video/filmtitle.avi
However, all fanart and thumbnails were just plain gone; I assume this is because they are stored as a hash of the full filename? I reverted to the backups and the artwork turned up again. Is there any way I can make this change sucessfully?