很多朋友喜欢用XBMC外挂播放器播放蓝光等格式的文件,这里介绍如何Windows版如何外挂播放器,此时用的是XBMC12.2版为例。
首先在C:\Users\用户名\AppData\Roaming\XBMC\userdata目录创建或下载playercorefactory.xml文件放到该目录
<playercorefactory>
<players>
<player name="mpc-hc" type="ExternalPlayer" audio="true" video="true">
<filename>C:\Program Files (x86)\Media Player Classic - Home Cinema\mpc-hc.exe</filename>
<args>/fullscreen /close "{1}"</args>
<hidexbmc>false</hidexbmc>
<hideconsole>true</hideconsole>
<warpcursor>none</warpcursor>
<playonestackitem>true</playonestackitem>
</player>
<player name="PotPlayer" type="ExternalPlayer" audio="true" video="true">
<filename>C:\XBMC-tools\Potplayer\PotPlayerMini.exe</filename>
<args>/fullscreen /close "{1}"</args>
<hidexbmc>false</hidexbmc>
<hideconsole>true</hideconsole>
<warpcursor>none</warpcursor>
<playonestackitem>true</playonestackitem>
</player>
</players>
<rules action="prepend">
<rule video="true" player="DSPlayer"/>
<!--rule audio="true" player="DSPlayer"/-->
<rule name="dvdplayer" filetypes="mp4|flv|dts|ac3|wmv|3g2|3gp" player="DVDPlayer"/>
<rule name="online" protocols="daap|rtv|rtsp|rtmp|http|https|rtmpe|rtsp|mms" player="DVDPlayer"/>
<rule name="dsplayer" filetypes="asx|asf|m2ts|ts|mkv|mov|rmvb|rm|mpg|mpeg" player="DSPlayer"/>
</rules>
</playercorefactory>
修改以上文件的player和rule设置自己喜欢的播放器地址和指定的播放格式。
重启XBMC这时候浏览视频文件右键就可以看到新加的mpc-hc和potplayer供选择使用
微信扫描下方的二维码阅读本文