![]() |
|
2 XBMC PCs and 1 Database on the shared NAS - Printable Version +- XBMC Community Forum (http://forum.xbmc.org) +-- Forum: Help and Support (/forumdisplay.php?fid=33) +--- Forum: XBMC General Help and Support (/forumdisplay.php?fid=111) +---- Forum: Windows support (/forumdisplay.php?fid=59) +---- Thread: 2 XBMC PCs and 1 Database on the shared NAS (/showthread.php?tid=70603) |
- bradvido88 - 2010-03-26 03:23 charrua Wrote:Here's the results I got:How did you set up the folder redirection for the central shared cache? - charrua - 2010-03-26 03:42 bradvido88 Wrote:How did you set up the folder redirection for the central shared cache?First I copied the thumbnails folder inside userdata to the server, then I shared that path from the server, renamed the thumbnails folder inside userdata folder in the client machine to thumbnails.old (to avoid its deletion) and finally made a NTFS directory symbolic link pointing to the shared folder in my server with the command: Code: [b]mklink /D[/b] thumbnails [i]//SERVER_ADDRESS/shared_thumbnails_folder[/i]- MrDVD - 2010-03-26 08:42 charrua Wrote:Thanks for your replyNo, each client have his own xbmc install. - rtrimarchi - 2010-03-26 12:56 MrDVD, when you said: Quote:The image cache, mysql and all media are on the server.you were referring to a LINUX environment. In a WINDOWS environment, Where in XBMC do you create this LINK to the server thumbnails folder ON the SERVER ![]() So far, as charrua said at the beginning, in XBMC you have ONLY to modify the ADVANCEDSETTINGS.XML like this: Code: <videodatabase>
- charrua - 2010-03-26 13:27 rtrimarchi Wrote:MrDVD,rtrimarchi, that is correct for the library database connection (also valid for linux environments), but MrDVD is trying to solve the thumbnail cache problem: XBMC clients connecting to a central MySQL database don't regenerate thumbnails for new media scraped by other XBMC clients storing info in the same database. He is using a folder on his server to store the thumbnail cache, and then he shared it on his network and mapped the local thumbnail cache folder on each machine running XBMC to the one shared from his server. And IMHO is a fine temporary solution until a new and improved image cache system is in place, the biggest problem with his solution is that (at least in my case) performance of the XBMC GUI slows down noticeable when using the networked cache vs. the local one. If you want you can try it and see if it works for you and it's fast enough for what you need. - rtrimarchi - 2010-03-26 13:50 Charrua, since I wanna give it a try ....... where in XBMC should I change the path from local "thumbnail" folder to the remote "thumbnail folder" ![]() I mean which configuration file tells XBMC the location where to store the thumbnails ![]() Of course I should replace it with the remote path \\server address\shared name ..... right ![]() Also.... if I understand correctly......the two solution (mysql + remote thumbnails) can be BOTH done simultaneously ... right
- MrDVD - 2010-03-26 14:16 I cant say it for windows but i think it works like charrua posted it here, just copy the tumbnail folder from on of your clients to an server and link the folder from your server back to the client. If you dont like the remote rsync folder try something like this rsync im sure there is also something like this for windows. - bradvido88 - 2010-03-26 14:17 charrua Wrote:First I copied the thumbnails folder inside userdata to the server, then I shared that path from the server, renamed the thumbnails folder inside userdata folder in the client machine to thumbnails.old (to avoid its deletion) and finally made a NTFS directory symbolic link pointing to the shared folder in my server with the command: Perfect! I'll try that and report back about speed. - rtrimarchi - 2010-03-26 14:51 But instead of creating a symbolic link with mklink, isn't there an .xml file in XBMC where we can modify this local path with the remote one
- charrua - 2010-03-26 14:56 rtrimarchi Wrote:Also.... if I understand correctly......the two solution (mysql + remote thumbnails) can be BOTH done simultaneously ... rightYes, you're right. rtrimarchi Wrote:But instead of creating a symbolic link with mklink, isn't there an .xml file in XBMC where we can modify this local path with the remote oneNot that I know of... |