2014-01-26, 23:56
Hey,
I am trying to use an external player (namely VLC) but the SMB link from XBMC to the player comes without username and password. Therefore the video can't be played from my password protected NAS. The internal player in XBMC works just fine (and uses the correct user:password as I can tell from the NAS logs).
I have tried many kinds of contents for the passwords.xml but I can not get it to work and my google searches where unsatisfactory. I am running ubuntu 13.10 on a x64 machine and XBMC 12.3 installed using the ubuntu software center.
I have set up:
My VLC log file http://pastebin.com/4tQQtvYi clearly shows, that no username and password are supplied to the player. The MRL looks like smb://192.168.0.200/... but should look like smb://user:[email protected]/...
My XBMC log can be found here http://pastebin.com/a8Xerhxx
<small history>
And now comes the funny part how I got to this...
I have had an oooold Win XP Pro computer running the same release of XMBC just fine. After getting my new computer together I copied the whole userprofile to this new machine to Windows 7 Pro. After a few attempts of XBMC using the wrong username (I guess my windows user name) to my SMB shares on my NAS it eventually got it right and used the correct username:password combination. This behaviour was perfectly reproducable after a reboot of the computer. Since I configured my NAS to kick a IP out after a certain number of faulty logins I wanted to get rid of this behaviour, deleted the userprofile, the media library on the NAS and started configuring from scratch. No change in this behaviour. The external player (VLC) in Windows worked for my TV shows (to be found on the NAS under smb://.../Serien ...) but not for the Movies (on the NAS under smb://.../Filme/...).
Since I wanted to get started with Linux anyhow I copied the Windows XP userprofile to linux, set up a new installation of Ubuntu with XBMC and the faulty logins with the wrong username were gone. The problem with the forgotten user:password combination when starting the external player in Linux persisted. VLC was started correctly for my TV shows but not for the movies. The SMB link for the movies was correct when inserting user:password@ to it. So I started on Linux from scratch again (deleting the old media librarys on the NAS) and now the external player is not working at all.
</small history>
Can anyone enlighten me? What am I doing wrong?
Is it normal that I can't find any hints of parsing the passwords.xml in the xbmc log file?
Thanks in advance for your responses!
Greets, Sven
I am trying to use an external player (namely VLC) but the SMB link from XBMC to the player comes without username and password. Therefore the video can't be played from my password protected NAS. The internal player in XBMC works just fine (and uses the correct user:password as I can tell from the NAS logs).
I have tried many kinds of contents for the passwords.xml but I can not get it to work and my google searches where unsatisfactory. I am running ubuntu 13.10 on a x64 machine and XBMC 12.3 installed using the ubuntu software center.
I have set up:
- passwords.xml http://pastebin.com/tz0G90i4
- sources.xml http://pastebin.com/d0yPS5vc
- playercorefactory.xml http://pastebin.com/03Ug36Jk
My VLC log file http://pastebin.com/4tQQtvYi clearly shows, that no username and password are supplied to the player. The MRL looks like smb://192.168.0.200/... but should look like smb://user:[email protected]/...
My XBMC log can be found here http://pastebin.com/a8Xerhxx
<small history>
And now comes the funny part how I got to this...
I have had an oooold Win XP Pro computer running the same release of XMBC just fine. After getting my new computer together I copied the whole userprofile to this new machine to Windows 7 Pro. After a few attempts of XBMC using the wrong username (I guess my windows user name) to my SMB shares on my NAS it eventually got it right and used the correct username:password combination. This behaviour was perfectly reproducable after a reboot of the computer. Since I configured my NAS to kick a IP out after a certain number of faulty logins I wanted to get rid of this behaviour, deleted the userprofile, the media library on the NAS and started configuring from scratch. No change in this behaviour. The external player (VLC) in Windows worked for my TV shows (to be found on the NAS under smb://.../Serien ...) but not for the Movies (on the NAS under smb://.../Filme/...).
Since I wanted to get started with Linux anyhow I copied the Windows XP userprofile to linux, set up a new installation of Ubuntu with XBMC and the faulty logins with the wrong username were gone. The problem with the forgotten user:password combination when starting the external player in Linux persisted. VLC was started correctly for my TV shows but not for the movies. The SMB link for the movies was correct when inserting user:password@ to it. So I started on Linux from scratch again (deleting the old media librarys on the NAS) and now the external player is not working at all.
</small history>
Can anyone enlighten me? What am I doing wrong?
Is it normal that I can't find any hints of parsing the passwords.xml in the xbmc log file?
Thanks in advance for your responses!
Greets, Sven