unable to open NAS via SMB
#1
When I try and add a source the SMB list does not show my NAS. It shows every other machine and system on my network. The NAS is an unraid system and is visible to all windows machines (XP and Win 7) on my network. The only app that does not see the NAS is XBMC running on Win7. To see the exported shares on the NAS I have to map network drives in windows and then they show up. Is there a way to make them always show up even if not mapped to a drive letter?

I see the following in the log file and would like to understand what it means

08:56:41 T:2904 M:4294967295 ERROR: WnetOpenEnum failed with error 5
08:56:41 T:2904 M:4294967295 ERROR: WnetOpenEnum failed with error 5
08:56:42 T:2904 M:4294967295 ERROR: WnetOpenEnum failed with error 5
08:56:42 T:2904 M:4294967295 ERROR: WnetOpenEnum failed with error 5
08:56:43 T:2904 M:4294967295 ERROR: WnetOpenEnum failed with error 5
08:56:43 T:2904 M:4294967295 ERROR: WnetOpenEnum failed with error 1222
08:57:15 T:2904 M:4294967295 ERROR: WnetOpenEnum failed with error 5
08:57:16 T:2904 M:4294967295 ERROR: WnetOpenEnum failed with error 5
08:57:16 T:2904 M:4294967295 ERROR: WnetOpenEnum failed with error 5
08:57:16 T:2904 M:4294967295 ERROR: WnetOpenEnum failed with error 5
08:57:17 T:2904 M:4294967295 ERROR: WnetOpenEnum failed with error 5
08:57:17 T:2904 M:4294967295 ERROR: WnetOpenEnum failed with error 1222


Lastly there are a lot of drives on the win 7 machine I have XBMC running on for testing. A lot of them are removable, a lot are hdd's. Can I tell XBMC not to show these drives to me? I see them in the videos list, the music list, the pictures list . . I would like to be able to control exactly what is seen in those lists at the top level but can not figure out how to do so. I would like to see evryting in the browse for source and I do (except for the NAS server under SMB)

Any Help greatly appreciated
Reply
#2
I was able to resolve the NAS issue. It seems that the SMB list had the unraid server but under the name Media Server as opposed to Tower. Every other machine on my network lists it as Tower.

My other questions still stand, so any help still appreciated.
Reply
#3
I don't believe there is an option to hide the removable media from being auto added to the list of sources. If you can build your own binary, you just need to edit a single line in "trunk/xbmc/FileSystem/VirtualDirectory.cpp".

Code:
CVirtualDirectory::CVirtualDirectory(void)
{
   m_allowNonLocalSources = false; // true by default
}
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply

Logout Mark Read Team Forum Stats Members Help
unable to open NAS via SMB0