mcleanap Posted August 22, 2011 Share Posted August 22, 2011 Still relatively new to unRAID, but have been using XBMC for a while, so the issues I am having seem related to unRAID. When I first set it up, I copied all of my media files over to unRAID from a windows OS. It all worked....XBMC picked up all of the user shares I had setup, and scraped them correctly. I noticed that any files that are downloaded via SABnzbd (Couch Potato) are not showing in the XBMC library. I tried a few things such as rebooting the client device, and still nothing. I then took a peak at the file browser in unMENU. I noticed that all the files I moved over from Windows, had a mode of "rwx", whereas the files that were downloaded directly onto the unRAID server via SABnzbd were "rw". So 2 things: 1. Could this be why these files are not being updated in the XBMC library? 2. If so, how can this be corrected? Thanks! Quote Link to comment
thejinx0r Posted August 22, 2011 Share Posted August 22, 2011 The problem is pretty close to that. I don't use sabnzbd but the problems is related to this: http://lime-technology.com/forum/index.php?topic=7747.0 Quote Link to comment
mcleanap Posted August 22, 2011 Author Share Posted August 22, 2011 I did one test so far. If I do not use the SickBeard Post Processing Script in SABnzbd, and just move over the files manually, they retain the rwx permissions. I am trying Couch Potato now to see if the same happens. Will take a bit before the download completes, so will update later. Quote Link to comment
lionelhutz Posted August 22, 2011 Share Posted August 22, 2011 It sounds like an ownership issue. FYI, the x on a file means executable, so I doubt that's the issue since you don't execute the files. Peter Quote Link to comment
mcleanap Posted August 22, 2011 Author Share Posted August 22, 2011 That's what I figured. FILE THAT WAS COPIED FROM WINDOWS (INCLUDED IN XBMC LIBRARY) root@Tower:~# ls -l "/mnt/user/TV Shows/True Blood/Season 04/True Blood - 4x02 - You Smell Like Dinner.avi" -rwx------ 1 root root 1041733244 Jun 27 20:40 /mnt/user/TV\ Shows/True\ Blood/Season\ 04/True\ Blood\ -\ 4x02\ -\ You\ Smell\ Like\ Dinner.avi* FILE WAS DOWNLOADED DIRECTLY ON SERVER USING SABNZBD (NOT INCLUDED XBMC LIBRARY) root@Tower:~# ls -l "/mnt/user/TV Shows/True Blood/Season 04/True Blood - 4x08 - Spellbound.mkv" -rw------- 1 root root 2190982146 Aug 19 13:39 /mnt/user/TV\ Shows/True\ Blood/Season\ 04/True\ Blood\ -\ 4x08\ -\ Spellbound.mkv Only difference I see is the permissions, but like you said, x would be executable, so not sure why that would impact it. Quote Link to comment
j.metts Posted August 22, 2011 Share Posted August 22, 2011 Still relatively new to unRAID, but have been using XBMC for a while, so the issues I am having seem related to unRAID. When I first set it up, I copied all of my media files over to unRAID from a windows OS. It all worked....XBMC picked up all of the user shares I had setup, and scraped them correctly. I noticed that any files that are downloaded via SABnzbd (Couch Potato) are not showing in the XBMC library. I tried a few things such as rebooting the client device, and still nothing. I then took a peak at the file browser in unMENU. I noticed that all the files I moved over from Windows, had a mode of "rwx", whereas the files that were downloaded directly onto the unRAID server via SABnzbd were "rw". So 2 things: 1. Could this be why these files are not being updated in the XBMC library? 2. If so, how can this be corrected? Thanks! What happens if you do a manual "Update Library" in XBMC? I'm assuming that you are relying on XBMC being notified of the new video by either Couch Potato or Sickbeard. Although this is certainly how is should work, I just wanted to see if a manual "Update Library" inside XBMC works first. Also, are you able to navigate to the shows in XBMC in the file browser? Quote Link to comment
thejinx0r Posted August 22, 2011 Share Posted August 22, 2011 That's what I figured. FILE THAT WAS COPIED FROM WINDOWS (INCLUDED IN XBMC LIBRARY) root@Tower:~# ls -l "/mnt/user/TV Shows/True Blood/Season 04/True Blood - 4x02 - You Smell Like Dinner.avi" -rwx------ 1 root root 1041733244 Jun 27 20:40 /mnt/user/TV\ Shows/True\ Blood/Season\ 04/True\ Blood\ -\ 4x02\ -\ You\ Smell\ Like\ Dinner.avi* FILE WAS DOWNLOADED DIRECTLY ON SERVER USING SABNZBD (NOT INCLUDED XBMC LIBRARY) root@Tower:~# ls -l "/mnt/user/TV Shows/True Blood/Season 04/True Blood - 4x08 - Spellbound.mkv" -rw------- 1 root root 2190982146 Aug 19 13:39 /mnt/user/TV\ Shows/True\ Blood/Season\ 04/True\ Blood\ -\ 4x08\ -\ Spellbound.mkv Only difference I see is the permissions, but like you said, x would be executable, so not sure why that would impact it. Have you tried running the commands in the thread that I had posted? It should solve your problems. chmod -R go-rwx /mnt/user/TV chmod -R u-x /mnt/user/TV chmod -R g+u /mnt/user/TV chmod -R ug+X /mnt/user/TV chgrp -R users /mnt/user/TV chown -R nobody /mnt/user/TV If that doesn't work, then there's a bigger issue other than permissions. Quote Link to comment
spants Posted August 22, 2011 Share Posted August 22, 2011 which version of unRaid are you on?. I had exactly the same problem on 4.7 and solved it as detailed here: http://lime-technology.com/forum/index.php?topic=12494.0 The problem was the mapping of the x in rwx in CIFS (samba) to hidden and system Tony Quote Link to comment
mcleanap Posted August 23, 2011 Author Share Posted August 23, 2011 which version of unRaid are you on?. I had exactly the same problem on 4.7 and solved it as detailed here: http://lime-technology.com/forum/index.php?topic=12494.0 The problem was the mapping of the x in rwx in CIFS (samba) to hidden and system Tony I am using 4.7 as well. Tried adding what was in that post, but I still have problems. A show downloads, and I see the notification on XBMC. I check the library and nothing. I then try Update Library, and still nothing. If I go to the files view, I can see it and play the file. When I go back to the library mode, it's there. Quote Link to comment
mcleanap Posted August 23, 2011 Author Share Posted August 23, 2011 Have you tried running the commands in the thread that I had posted? It should solve your problems. chmod -R go-rwx /mnt/user/TV chmod -R u-x /mnt/user/TV chmod -R g+u /mnt/user/TV chmod -R ug+X /mnt/user/TV chgrp -R users /mnt/user/TV chown -R nobody /mnt/user/TV If that doesn't work, then there's a bigger issue other than permissions. Are all lines necessary, and would they need to be done to other shares as well? Movies, Music, etc Quote Link to comment
mcleanap Posted August 23, 2011 Author Share Posted August 23, 2011 Ok. Finished doing a few tests and what I am finding is that if I update library in XBMC, it doesn't find the new files. If I go to file view, I can see them, but not play from there. If I SET CONTENT, and then choose Automatic Scan, it will scan and find the files and add them to the library. I'd prefer to be able to update the library automatically...or at least, just be able to choose update library within XBMC without having to set content and scan again. This happens on my PC XBMC version as well. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.