2011-02-01, 09:38
I just run a cron job from my linux box and do rsync via ssh to get to the ATV.
<advancedsettings>
<videodatabase>
<type>mysql</type>
<host>192.168.1.105</host>
<port>3306</port>
<user>xbmc</user>
<pass>xbmc</pass>
<name>xbmc_video</name>
</videodatabase>
<musicdatabase>
<type>mysql</type>
<host>192.168.1.105</host>
<port>3306</port>
<user>xbmc</user>
<pass>xbmc</pass>
<name>xbmc_music</name>
</musicdatabase>
<pathsubstitution>
<substitute>
<from>/var/mobile/Library/Preferences/XBMC/userdata/Thumbnails/</from>
<to>smb://192.168.1.105/d/XBMCTHUMBS/</to>
</substitute>
</pathsubstitution>
</advancedsettings>
aicjofs Wrote:I was messing around with the path substitution amet talked about and see how it would apply to a remote thumbnail folder rather then a database.
Code:<advancedsettings>
<videodatabase>
<type>mysql</type>
<host>192.168.1.105</host>
<port>3306</port>
<user>xbmc</user>
<pass>xbmc</pass>
<name>xbmc_video</name>
</videodatabase>
<musicdatabase>
<type>mysql</type>
<host>192.168.1.105</host>
<port>3306</port>
<user>xbmc</user>
<pass>xbmc</pass>
<name>xbmc_music</name>
</musicdatabase>
<pathsubstitution>
<substitute>
<from>/var/mobile/Library/Preferences/XBMC/userdata/Thumbnails/</from>
<to>smb://192.168.1.105/d/XBMCTHUMBS/</to>
</substitute>
</pathsubstitution>
</advancedsettings>
Basically asking to substitute the thumbnails folder to a network share. Oddly it works. Complains about files already existing during thumbnail folder setup but otherwise works fine. The /var/mobile/Library/Preferences/XBMC/userdata/Thumbnails/ is completely empty and I get all my thumbs displayed. The caveat is if you don't have any thumbnails yet generated, it seems to die there. Probably since this wasn't what pathsubstitution was desined for.
Here is displaying a folder where you have already generated thumbnails on remote share.
http://pastebin.com/NKmrsCmb
and here is where I made a folder that hasn't had any thumbnails generated(well actually it seeked and extracted a thumbnail the previous log that I forgot to save but still had the error)
http://pastebin.com/PwW721xd
at around 00:31:07 you see ERROR: Texture manager unable to load file: /var/mobile/Library/Preferences/XBMC/userdata/Thumbnails/Video/c/auto-c645aa6d.tbn
If you go to another XBMC that has properly working remote thumbnails and let it generate the thumbs then come back to the ATV2 reopen folder then everything is fine.
So is the Texture manager hardcoded to look in /var/mobile/Library/Preferences/XBMC/userdata/Thumbnails? smb share not writable? Or the most likely I'm am just wasting my time thinking this will even work?
Like I said it actually works if you have already generated all your thumbs on a different XBMC.
aicjofs Wrote:Thanks for the reply amet. Is it issue that can be fixed down the road or is it a fundemental limitation?
17:07:23 T:157904896 M:139616256 ERROR: Unable to open database: xbmc_video [1042](Can't get hostname for your address)
17:07:23 T:157904896 M:139616256 ERROR: Unable to open database at host: 192.168.221.6 db: xbmc_video (old version?)