也许颓废也是 ... 另一种美
一个学习了N年还是小白的网络爱好者 ...

Kodi(XBMC)外挂PotPlayer/MPC的正确姿势

xbmc


 

在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

未经允许不得转载:颓废的美 » Kodi(XBMC)外挂PotPlayer/MPC的正确姿势
分享到: 更多 (0)

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址