Kodi DSPlayer – DirectShow Player for Windows
(2016-02-12, 07:00)yougood Wrote: Here is my modified playcorefactory from Derek, I will test it later when I am home

DSplayer with Madvr by default play: MKV and AVI
MPC-HC with Madvr will play : mov,mts,ts,vob,bdmv and http
DVDPlayer (Kodi player) will play : all streaming
DVDPlayer (Kodi player) will play Big GrinVD and DVD Images also can play with MPC-HC



<playercorefactory>

<players>

<player name="MPC-HC" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Program Files\MPC-HC\MPC-HC.exe</filename>
<args>"{1}" /fullscreen /close</args>
<hidexbmc>false</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>none</warpcursor>
<playcountminimumtime>1140</playcountminimumtime>
</player>


<rules action="prepend">
<!-#- DSplayer by default with Madvr play: MKV and AVI -#->

<!-#- MPC-HC will play : mov,mts,ts,vob,bdmv and http -#->

<rule filetypes="divx|ogm|mp4|mov|m4v|flv|m2v|mpeg|mpg|mts|m2ts|vob|bdmv" player="MPC-HC">
<rule protocols="http|https" player="MPC-HC"/>


<!-#- DVDPlayer will play : all streaming -#->


<rule protocols="daap|rtv|rtsp|rtmp|rtmpe|rtsp|mms|rtp|pvr" player="DVDPlayer"/>

<!-#- DVDPlayer will play Big GrinVD and DVD Images also can play with MPC-HC-#->

<rule name="dvd" dvd="true" player="DVDPlayer" />
<rule name="dvdimage" dvdimage="true" player="DVDPlayer" />




</rules>



</players>
</playercorefactory>

I place this file in C:\Users\HD\AppData\Roaming\Kodi\userdata it won't work at all. After google digging , I found out there is another playcorefactory in C:\Program Files\Kodi\system so I modify both playcorefactory file as following
in C:\Users\HD\AppData\Roaming\Kodi\userdata
<playercorefactory>

<players>

<player name="MPC-HC" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Program Files\MPC-HC\MPC-HC.exe</filename>
<args>"{1}" /fullscreen /close</args>
<hidexbmc>false</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>none</warpcursor>
<playcountminimumtime>1140</playcountminimumtime>
</player>


</players>
</playercorefactory>


And in C:\Program Files\Kodi\system

<?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="mms/udp" protocols="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="MPC-HC" />

<rule name="ex-player" filetypes="ts|mpeg|mpg|mts|m2ts|vob|bdmv" player="MPC-HC" />

<!-- 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>


After edit both file, Kodi play all file type as expected:
DSplayer with Madvr by default play: MKV and AVI
MPC-HC with Madvr will play : mov,mts,ts,vob,bdmv and http
DVDPlayer (Kodi player) will play : all streaming
DVDPlayer (Kodi player) will play Big GrinVD and DVD Images also can play with MPC-HC
Reply


Messages In This Thread
Lockup on STOP issue resolved! - by MKANET - 2015-04-11, 21:59
RE: 4G aware patch - by MagikMark - 2015-09-08, 03:27
Alt-F4 no longer quits - by JeffA - 2015-10-31, 20:38
RE: Kodi DSPlayer – DirectShow Player for Windows - by yougood - 2016-02-12, 11:20
H265 playback - by rew88 - 2017-11-04, 00:41
RE: H265 playback - by ashlar - 2017-11-04, 16:21
RE: H265 playback - by rew88 - 2017-11-05, 01:34
RE: H265 playback - by ashlar - 2017-11-05, 16:48
RE: H265 playback - by rew88 - 2017-11-05, 23:08
RE: H265 playback - by ashlar - 2017-11-06, 12:00
Leia 18 - by terpsarlington - 2017-11-21, 03:51
RE: Leia 18 - by spencerjford - 2017-11-21, 06:24
Display Modes / Refresh Rates - by goofer69 - 2019-09-20, 00:19
RE: Display Modes / Refresh Rates - by ashlar - 2019-09-20, 00:39
RE: Display Modes / Refresh Rates - by ashlar - 2019-09-20, 19:35
DSPlayer 23.810 to 23.976 - by Runakanta - 2018-05-09, 03:24
RE: DSPlayer 23.810 to 23.976 - by Warner306 - 2018-05-10, 01:32
Logout Mark Read Team Forum Stats Members Help
Kodi DSPlayer – DirectShow Player for Windows47