2012-05-09, 21:38
(2012-05-03, 23:57)Ned Scott Wrote:(2012-05-03, 23:34)MrWedel Wrote: Hi!
It looks like you (Finchy) solved the problem I am facing.
I have a Windows Home server with all my video files on AND my MySQL library for XBMC.
Then I have the XBMC client on:
1) Windows 7 laptop
2) iMac 27 (Lion)
3) ATV2
All are showing the library correctly but the only device that can then play the movies are the Win7.
I have security on the server so I have to authenticate and here do the problem start.
HOW do I pass the credentials from OSX and ATV2?
The OSX XBMC just passes the local user account and that does not exist on the server. Same thing with the ATV.. Default user is passed as credentials.
Adding a SMB network folder works perfectly because there I can pass on the username and psw.. But when using the library I cannot.
I have been googleing this for hours and cannot find any solution..
Very happy for all help!!
Br
Christian
You have to change the file path used in the library to use an SMB path that also includes the username and password. There's a few ways to do this, but one easy way would be to use Path subs (wiki):
the <from> would be whatever the current path is
the <to> would be something like "smb://username@password:IP.ADDRESS.HERE/folder/whatever/etc"
and then add that to the advancedsettings file of OSX and ATV2.
Strange. Still not working. This is what I have in my "advancedsettings.xml":
<advancedsettings>
<pathsubstitution>
<substitute>
<from>smb://CLOUD/</from>
<to>smb://<user>@<password>:192.168.1.64/</to>
</substitute>
</pathsubstitution>
This is what I get in my log file when debugging XBMC:
OpenDir - Using authentication url smb://<user>:@<password>/Videos/Filmer/Film23
Looks like XBMC is moving the ":" to the wrong place.
If I add a SMB share manually to XBMC with user name and password there is no problem.