![]() |
|
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) |
- indy5 - 2010-07-14 21:53 sladinki007 Wrote:HI, Thanks! This worked out just fine for me. It will be a good workaround to something a bit more "built in" comes along. - Larzjg - 2010-07-15 03:25 Installation took a bit, but I have a MySQL solution running on a WHS and I'm connecting with svn31755 from a few different machines and it's mostly going well - a few issues have cropped up, tho. 1. Last episode of Deadliest Catch is not appearing in the library. No matter how much I work on it, it doesn't want to - manually adding it won't do the trick, update library doesn't work either. It's there in the file list, and plays fine - just never finds its way to the Library. Since this is the first episode I've gotten after switching to MySQL, I'm a little worried. My TV-source won't keep the setting "Run Automated Scan" when I edit the source, whenever I leave XBMC it forgets the setting. Might be related - what am I looking for in logs here? Last log was 2 mb long, not really able to read through it all. 2. The fanart/posters just refuse to update without me doing it manually, and this happened after the MySQL update. On the NAS I have .tbn for each episode, and a folder.jpg banner in each folder - but they're banners, not fanart. In XBMC the only fanart I get is if I edit the show manually and choose one - they were there before I changed to MySQL. 3. (Semi-offtopic here, I'm guessing?) I'm using the XBMC Remote iPhone application, and after switching it's giving me three instances of the same tv-show in the show list - and the names of shows tend to end with a </record> or similar end-tag. Any clues where I look for help with that? Appreciate whoever you are taking the time to read this. - RockDawg - 2010-07-16 02:42 I'm having some problems with the centralized thumbs. I know how to create a mount to the central thumbnail location and it works fine when I run it manually. The problem is trying to get the mount to be auto-created at boot. As per some advice from way back in this thread, I put the following line in my /etc/init.d/rc.local: Code: mount -t cifs -o file_mode=0777,dir_mode=0777 //192.168.1.20/disk7/xbmc_thumbs/Thumbnails /home/kevin/.xbmc/userdata/ThumbnailsThis worked for me for months. Recently, I upgrade to a new build of XBMC running on Lucid and putting that line in my /etc/init.d/rc.local no longer auto-creates the mount on boot (tried on two different machines). I can still run it manually and it works great. I also got some advice that it would be better to do this via fstab so I put the following in my /etc/fstab: Code: //192.168.1.20/disk7/xmbc_thumbs/Thumbnails /home/kevin/.xbmc/userdata/Thumbnails cifs _netdev,file_mode=0777,dir_mode=0777 0 0That doesn't do it either. I just need a way to get this to run automatically at boot since the old method doesn't seem to work anymore. Can anyone help? - bmillham - 2010-07-16 02:54 RockDawg Wrote:I'm having some problems with the centralized thumbs. I know how to create a mount to the central thumbnail location and it works fine when I run it manually. The problem is trying to get the mount to be auto-created at boot. As per some advice from way back in this thread, I put the following line in my /etc/init.d/rc.local: Here's whats in my fstab: Code: //192.168.0.200/Movies /tardis/movies cifs auto,credentials=/root/.credentials,uid=1000,umask=000,user 0 0and the .credentials file: Code: username=brian- RockDawg - 2010-07-16 03:02 Maybe it's the "credentials=/root/.credentials" part that is screwing me up. My 192.168.1.20/disk7/XBMC_thumbs/Thumbnails share is not password protected (as far as I can tell) so I've never used the "credentials" portion. When I manually run the command I don't have to enter any credentials. Just the password to run as root. - bmillham - 2010-07-16 03:13 RockDawg Wrote:Maybe it's the "credentials=/root/.credentials" part that is screwing me up. My 192.168.1.20/disk7/XBMC_thumbs/Thumbnails share is not password protected (as far as I can tell) so I've never used the "credentials" portion. When I manually run the command I don't have to enter any credentials. Just the password to run as root. I added the credentials because while my shares were open, I could never get things to work correctly until I added the credentials. I had to set up the user brian on the windows server and give full access. Like you are seeing, sometimes things would mount OK when booting, and othertimes I'd have to manually mount. Adding the credentials took care of it for me. - RockDawg - 2010-07-16 03:20 I'll try that. What is the format of your .credentials file? Should it be: username=xxxxx password=xxxxx or smbusername=xxxxx smbpassword=xxxxx - bmillham - 2010-07-16 03:33 RockDawg Wrote:I'll try that. What is the format of your .credentials file? Should it be: username=x password=x And the /root/.credentials file must be mode 0600 - RockDawg - 2010-07-16 03:43 That worked! Thanks so much! I just now saw that you previously showed the format of the .credentails file. Sorry for not reading thoroughly before asking additional questions. Thanks again! EDIT: For future reference the final entry in /etc/fstab that worked is: Code: //192.168.1.20/disk7/xbmc_thumbs/Thumbnails /home/kevin/.xbmc/userdata/Thumbnails cifs credentials=/home/kevin/.credentials,_netdev,file_mode=0777,dir_mode=0777 0 0where .credentials contained: Code: username=root- bmillham - 2010-07-16 04:43 RockDawg Wrote:That worked! Thanks so much! I just now saw that you previously showed the format of the .credentails file. Sorry for not reading thoroughly before asking additional questions. Thanks again! You may not have seen the credentials because when I posted I didn't have that info. I added it about a minute later, so that's why you probably didn't see it. Glad to be of help however
|