HOW-TO synchronize your XBMC Media Center between every room in the house: Lifehacker - Printable Version
+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Announcements, Info, and General Discussion (/forumdisplay.php?fid=85)
+--- Forum: Tips, tricks, and step by step guides (/forumdisplay.php?fid=110)
+--- Thread: HOW-TO synchronize your XBMC Media Center between every room in the house: Lifehacker (/showthread.php?tid=80829)
- gyrene2083 - 2011-06-28 20:51
Just out of curiosity, wouldn't it just be easier and faster to use a 3rd party scraper ie, Ember, Media Companion 2, to have all your art work in the actual movie folder. So instead of having XBMC scraping for thumbnails on a distant server it would use the local one.
Granted it takes some time and I suppose if you have thousands of videos and tv shows the above suggestion would be terribly painful to do. But if your just starting out with a few hundred, get yourself some beer, a Saturday and just knock it out. I have over 450 movies and knocked it all out with Ember. Albeit by the end of the task I was a little sloshed so I had to recheck it on Sunday, LOL. But it worked great.
- Jete246 - 2011-06-28 21:25
mrdally204 Wrote:Scenario listed above, the speed stays the same after restarting xbmc.Hmmn, and if you use the local XBMC db, with the thumbs accessed via the symlink from the network, everything loads quickly?
I have only three suggestions left:
1. Enable debug logging in XBMC. You could look at what MySQL query is being executed and that might give you a little more insight. Perhaps try to execute that same query from the MySQL workbench tools and see how long it takes from there.
2. Trying a different skin might help? I saw in your video that you are using the Aeon skin. Perhaps you could try the Confluence skin and see if that helps?
3. Try to turn things around. Setup a MySQL server on your client machine and point XBMC on your 'server machine' to it. That might narrow things down a bit. Obviously in doing this, you'd have to be very careful not to screw up your current environment (backup library etc).
Sorry I can't be of further help. I myself am just starting out with XBMC etc, and am still in the process of setting up my own media environment. I'm no expert by any means, but sometimes a fresh look can provide new insights.
- RockDawg - 2011-06-28 22:26
gyrene2083 Wrote:Just out of curiosity, wouldn't it just be easier and faster to use a 3rd party scraper ie, Ember, Media Companion 2, to have all your art work in the actual movie folder. So instead of having XBMC scraping for thumbnails on a distant server it would use the local one.
The thumbnails directory is where XBMC looks for covers/thumbs for all the media it displays. When you scan content in to your library, XBMC either scrapes the artwork from the net or reads it from a file in your movie folder and then puts a copy in the thumbnails folder. From there on out it will retrieve the image from the thumbnails directory, not the file in your movie folder. To see this in action, change the image file in one of your movie folders that has already been scanned into XBMC's library. If you then open up XBMC and navigate to that movie, the old cover will still be displayed. That's because the original cover is still stored in the thumbnails folder. You would need to go into Movie Info and pick the new cover for it to show.
- mrdally204 - 2011-06-29 03:49
Actually you have my info a bit backwards. I am still using the networked mysql database, but switched to local thumbs folder, and the speed was as if everything was local. It is when the symlink thumbs are being used is when the slow downs happen. The slowdown is also present after I watch a movie, when it tries to load back the thumbs and fan art.
Also, that is confluence in the video (:
I do appreciate the thoughts as I need to get this licked or am going to have to go back to the old way of doing things, which is not very nerdy at all!
- gyrene2083 - 2011-06-29 04:01
Thanks for clarifying that for me. I always wondered why I had a Russian Cover for Bolt, when I had initially deleted from my movie folder, and put a new one in the movie folder, XBMC always showed the old one. LOL Thanks for teaching this old Marine something new.
symlink help needed - hori - 2011-06-29 08:30
i´m new to this forum, so hi to all forum members
tried to realize this synchronization guide from lifehacker.
i have a NAS, one XBMC on win7 and one XBMC Live on a Zotac Box.
i created a MYSQL-Database on the NAS and inserted the advancedettings.mxl for using the database on both machines which worked fine.
then i tried the thumbnail sharing. created a dir called "Thumbnails" on the root of my NAS. the symlink on the XBMC/win7 was no problem.
but i´m struggling on creating the symlink on the XBMC/live machine
i´m a total linux newbie, so i can´t get it working.
i´m connected with my NAS via SMB on both machines. maybe there´s a better option like NFS
for the access to my NAS, i need a username & password.
tried a lot of tipps in the web, but couldn`t get it working
maybe some linux-pro in this forum may help me to solve this
thanks in advance,
- Jete246 - 2011-06-29 11:05
Oh yes, I understand that is your current issue. But because you mentioned this before:
mrdally204 Wrote:I disabled symlink and went back to original thumbs and the speed was as fast as before MySQL was set up, so it is not MySQL causing the slow downs
Which led me to believe that before you setup the library with MySQL, you had two instances of XBMC running locally on two different machines, but had already shared the thumbnails over the network.
If that's the case, then the problem could be related to how MySQL interacts with the thumbs cache. That's what I was getting at.
Is that Confluence? You're must be running a nightly build then? Perhaps this is an issue with the nightly build. You could try using the latest stable version and see how that goes.
- mrdally204 - 2011-06-29 11:42
Sorry for the confusion. I am only running one instance of XBMC on the client machine. I was simply stating that once the thumbs were accessed locally, it was full speed so I was eliminating mysql as the issue, at least in my mind.
As for the build, it is the latest stable 10.1 build, confluence skin. I think you are a bit confused because it is showing the latest added movies/episodes on the main screen? I disabled that for chance but no luck lol. I'm going to sit on it a few days here and hope something comes to mind. Ideas are welcome still THANKS!
- Jete246 - 2011-06-29 11:50
hori Wrote:hi guys,I'm not using Linux myself for accessing thumbs, but I think the conventional/easiest way is as followed:
1. Mount the Samba share containing the thumbnails of your NAS on your client machine
2. Point the symbolic link on your client machine to the mounted Samba share on your client machine
3. Add a mount entry in your /etc/fstab so that your client machine will automatically mount the Samba share on startup.
So for example:
1. Create a folder on your client machine called: /media/NAS (this will be your so called ('mountpoint')
2. Mount the Samba share of your NAS on the folder (mount point) /media/NAS
(so now when you navigate to /media/NAS on your client machine, you will actually navigate to the thumbs share on your NAS)
3. Create the symlink called ' Thumbnails' in your XBMC user folder on your client machine to point to the /media/NAS folder.
To mount a Samba share with user credentials and have it mounted at startup:
To create a symbolic link (scroll down for Ubuntu/Linux):
- Jete246 - 2011-06-29 11:57
mrdally204 Wrote:Sorry for the confusion. I am only running one instance of XBMC on the client machine. I was simply stating that once the thumbs were accessed locally, it was full speed so I was eliminating mysql as the issue, at least in my mind.
No sorry, I'm the one confusing you now. With "two local instances" I meant to say that before, you were running XBMC with it's own library on one machine, and XBMC with it's own library on another machine, but that you were sharing the same Thumbnails folder beween the two. Atleast, that was the assumption I made.
I hope that makes sense, if not...just ignore me as I'm probably just confusing you even more...haha!
I'm also using the latest XBMC stable with the Confluence skin, and it looks way different than mine...I must be mixing things up there as well. Anyways, hope you get things sorted out soon!