xbmc/xbmc — pull request #1129 by jmarshallnz (2012-07-07 07:56:29+00:00)
Title: Remove smb auth details in add source

Currently when a user adds a smb:// source and specifies username/pass (from the GUI) before they add it, the username/pass is stored in sources.xml rather than in the password manager.

This changes it so that any username/pass is stripped off and stored in the password manager instead. This ensures no user/pass in sources.xml or in the database on scan, which reduces dupes due to the same path being in the database with username + pass and without.

Completely untested.

@vdrfan - IIRC I discussed this with you a while back - mind giving it a test?