OS X Unable to connect to ServerWMC with Mac XBMC client with pvr.wmc add-on
#1
I've gone through all the other posts I can find related to this topic, and I have gone through the wiki and set everything up according to the instructions. I've set up ServerWMC on my HTPC (Win7 x64), which I've been using exclusively with WMC for the past 8 months or so. I installed XBMC and pvr.wmc on the same machine and have been able to watch Live TV via XBMC on that machine. However, now I'm trying to setup my Mac as a client with XBMC and pvr.wmc to watch Live TV from the server HTPC.

In ServerWMC, the path is \\HT-PC\Recorded TV, and I've got it set up to use credentials xbmc/xbmc (user/pass)
In XBMC on the Mac client, I've gone into videos and file locations and set up the source as smb://HT-PC/Recorded TV (I've also tried using the actual IP, which yielded the same result), and I set the username and password as xbmc/xbmc and told it to remember my credentials, and the login window just keeps popping up, and the log pops this out:
21:22:15 T:140735164518784 DEBUG: OpenDir - Using authentication url smb://xbmc:xbmc@HT-PC/Recorded%20TV
21:22:15 T:140735164518784 ERROR: SMBDirectory->GetDirectory: Unable to open directory : 'smb://xbmc:xbmc@HT-PC/Recorded%20TV'
unix_err:'d' error : 'Permission denied'

I've made sure that the server is sharing the Recorded TV folder to Everyone with read/write permissions. I am able to browse all the channels and shows via XBMC on the Mac client, and see the list of recorded shows and upcoming recordings, but when I attempt to actually go to one of the channels in the list, I get the same "Permission denied" error in the logs. (The actual popup in XBMC says "This channel cannot be played. Check the log for details.")

Here's the full debug log output from the client: http://pastebin.com/279zpb5a
And from the server: http://pastebin.com/7cPK9d6S

Note that the server recognizes the client's attempt to connect, but says the client reports an error opening the stream.

I'm completely out of ideas.
Reply
#2
Accessing the streams occurs over the SMB file share which you already found isn't working from XBMC Videos section (which is unrelated to live TV). Basically, your mac is not able to access the samba share from any application.

The only thing I can suggest is to go back to square one and set up the user, password and share again. Perhaps there was a typo when creating the user? You could try allocating the XBMC user you created to the share explicilty instead of just allocating "everyone" and see if that works? Do you have any firewall or antivirus that could be blocking the SMB connection?

As a last resort, you can turn off "password protected sharing" on the windows server (it's under the advanced network settings area) which will mean no username/password are required at all. You should satisfy yourself of any security consequences to your home network etc if you do this...
pvr.wmc TV addon and ServerWMC Backend Development Team
http://bit.ly/ServerWMC
Reply
#3
Since your problem is that you basically can't get a samba share to work from your mac, I suggest posting this in the 'general help and support' section of the xbmc forum.
Windows Media Center PVR addon (pvr.wmc) and server backend (ServerWMC)
http://bit.ly/serverwmc
Reply
#4
I feel silly now. As you pointed out, the actual issue was with the samba connection. The reason it was failing is because I needed to match the username and password to my HTPC's actual login info (I thought I was just creating an XBMC login). I had tried matching my HTPC's login info before, but I had used the wrong password because I forgot I had a number-based password on my HTPC to allow logging in with my remote (rather than a keyboard.) So, moral of the story, make sure the login info you're setting up in ServerWMC actually matches your login info for the machine. Thanks guys.
Reply
#5
glad it's all working Smile I dont mind that alot of the times we get requests for help it is actual general PC issues rather than programming issues Smile
pvr.wmc TV addon and ServerWMC Backend Development Team
http://bit.ly/ServerWMC
Reply
#6
I had this problem but a little different. I was able to SMB to the PC for my movies. Just wasn't able to for Recorded/Live TV. It worked fine on my first Pi but not my Pi2. Can you point me to where the WMV.PVR/ServerWMC sets the SMB login info?
Reply
#7
the user/password credentials specified in the tab on ServerWMC are embedded in the smb paths sent to the client

eg

smb://user:pwd@server/recorded tv/blah.wtv
pvr.wmc TV addon and ServerWMC Backend Development Team
http://bit.ly/ServerWMC
Reply
#8
I found those and entered the info in. My question is, that data wasn't fill in before but my first Pi was working perfectly, it wasn't till I added my Pi2 that I noticed the issue. Was this functionally added in a resent update?
Reply
#9
No it has always been there. The technical nuances of windows file sharing to non windows devices are vast, there are various other advanced configurations or scenarios where you can get things to work but for the purposes of simplicity entering the creds in ServerWMC is the most reliable way

For example, If you add a smb source in the video/audio/etc sections of Kodi and when prompted enter creds and elect to save them, then Kodi will use those creds on other smb accesses to the same machine like from the pvr section, so perhaps you did that on your first pi?
pvr.wmc TV addon and ServerWMC Backend Development Team
http://bit.ly/ServerWMC
Reply

Logout Mark Read Team Forum Stats Members Help
Unable to connect to ServerWMC with Mac XBMC client with pvr.wmc add-on0