2013-12-18, 05:29
I am having trouble with XBMC passing the username:password in the file path to the external player even though I am using the {1} argument in playercorefactory.xml.
Here's the relevant part of the xbmc.log:
Is there a solution so that XBMC strips out the username:password in SMB file paths to external players?
EDIT: I sorted it out by creating a passwords.xml file and removing the username:password from the sources.xml URI string.
Code:
<playercorefactory>
<players>
<player name="MPC-HC" type="ExternalPlayer" audio="false" video="true">
<filename>D:\Apps\MPC-HC64\mpc-hc64.exe</filename>
<args>"{1}" /fullscreen /play /close</args>
<hidexbmc>true</hidexbmc>
<hideconsole>false</hideconsole>
<hidecursor>false</hidecursor>
<playcountminimumtime>1200</playcountminimumtime>
</player>
</players>
<rules action="prepend">
<rule filetypes="avi|mkv|mp4" player="MPC-HC"/>
</rules>
</playercorefactory>
Here's the relevant part of the xbmc.log:
Code:
20:09:07 T:6268 NOTICE: CExternalPlayer::ExecuteAppW32: D:\Apps\MPC-HC64\mpc-hc64.exe "D:\Apps\MPC-HC64\mpc-hc64.exe" "\\xbmc:xbmc@NAS\Video\TV\Hostages\Hostages - 1x13.mkv" /fullscreen /play /close
Is there a solution so that XBMC strips out the username:password in SMB file paths to external players?
EDIT: I sorted it out by creating a passwords.xml file and removing the username:password from the sources.xml URI string.