2015-01-20, 23:46
Hello I am interested in adding the vlc player as a external player in xbmc. I haave went to the Kodi Wiki on this
external_players (wiki)
I see in the wiki it tells about the script
it also tells about this
now here is my playercorefactory script
but i am not exactly straight on how to change this so can someone direct me on what i need to do?
tks in advance.
david
external_players (wiki)
I see in the wiki it tells about the script
Code:
<playercorefactory>
<players>
<player name="MPC-HC" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Program Files\MPC-HC\mplayerc.exe</filename>
<args>"{1}" /fullscreen /close</args>
<hidexbmc>false</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>none</warpcursor>
</player>
</players>
<rules action="prepend">
<rule filetypes="mkv" filename=".*720p.*" player="MPC-HC"/>
</rules>
</playercorefactory>
it also tells about this
Code:
<rules action="prepend">
<rule video="true" player="wmplayer">
<rule dvd="true" player="dvdplayer"/>
<rule filetypes="mkv" player="VLC">
<rule filename=".*720.*|.*1080.*" player="MPC-HC"/>
</rule>
</rule>
</rules>
now here is my playercorefactory script
Code:
<?xml version="1.0" encoding="UTF-8"?>
<playercorefactory>
<players>
<!-- These are compiled-in as re-ordering them would break scripts
The following aliases may also be used:
audiodefaultplayer, videodefaultplayer, videodefaultdvdplayer
<player name="DVDPlayer" audio="true" video="true" />
<player name="DVDPlayer" /> placeholder for MPlayer
<player name="PAPlayer" audio="true" />
-->
</players>
<rules name="system rules">
<rule name="rtv" protocols="rtv" player="DVDPlayer" />
<rule name="hdhomerun/myth/mms/udp" protocols="hdhomerun|myth|cmyth|mms|mmsh|udp" player="DVDPlayer" />
<rule name="lastfm/shout" protocols="lastfm|shout" player="PAPlayer" />
<rule name="rtmp" protocols="rtmp" player="videodefaultplayer" />
<!-- dvdplayer can play standard rtsp streams -->
<rule name="rtsp" protocols="rtsp" filetypes="!(rm|ra)" player="PAPlayer" />
<!-- Internet streams -->
<rule name="streams" internetstream="true">
<rule name="aacp/sdp" mimetypes="audio/aacp|application/sdp" player="DVDPlayer" />
<rule name="mp2" mimetypes="application/octet-stream" filetypes="mp2" player="PAPlayer" />
</rule>
<!-- DVDs -->
<rule name="dvd" dvd="true" player="DVDPlayer" />
<rule name="dvdimage" dvdimage="true" player="DVDPlayer" />
<!-- Only dvdplayer can handle these normally -->
<rule name="sdp/asf" filetypes="sdp|asf" player="DVDPlayer" />
<!-- Pass these to dvdplayer as we do not know if they are audio or video -->
<rule name="nsv" filetypes="nsv" player="DVDPlayer" />
<!-- pvr radio channels should be played by dvdplayer because they need buffering -->
<rule name="radio" filetypes="pvr" filename=".*/radio/.*" player="DVDPlayer" />
</rules>
</playercorefactory>
but i am not exactly straight on how to change this so can someone direct me on what i need to do?
tks in advance.
david