Kodi(XBMC)外挂PotPlayer/MPC的正确姿势
在C:\Users\你的用户名\AppData\Roaming\Kodi\userdata,创建 playercorefactory.xml
内容如下,把红色内容更换为你本机播放器所在的位置,蓝色是网上的一个错误的调用PotPlayer的代码
(起码我Windows 10 + Kodi 16 A3版是不行)
<playercorefactory>
<players>
<player name="mpc-hc" type="ExternalPlayer" audio="true" video="true">
<filename>C:\Program Files (x86)\K-Lite Codec Pack\MPC-HC64\mpc-hc64.exe</filename>
<args>/fullscreen /close "{1}"</args>
<hidexbmc>false</hidexbmc>
<hideconsole>true</hideconsole>
<warpcursor>none</warpcursor>
<playonestackitem>true</playonestackitem>
</player>
<player audio="false" name="PotPlayer" type="ExternalPlayer" video="true">
<filename>D:\Program Files\PotPlayer\PotPlayerMini.exe</filename>
<args>"{1}" config=XBMC</args>
<hidexbmc>true</hidexbmc>
<hideconsole>false</hideconsole>
<hidecursor>false</hidecursor>
<playonestackitem>true</playonestackitem>
</player>
<player name="PotPlayer False" type="ExternalPlayer" audio="true" video="true">
<filename>D:\Program Files\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>
参考1:http://dazhuzai8.blogspot.com/2013/10/24.html
参考2:http://s.weibo.com/weibo/xbmc?topnav=1&wvr=6&b=1#1445611125761
版权声明:
作者:Jays
链接:https://ijays.com/2015/10/kodi-xbmc-launched-the-external-player.html
来源:颓废的美
文章版权归作者所有,未经允许请勿转载。
共有 0 条评论