Posts: 14
Joined: Jul 2012
Reputation:
0
yep that was it. completely forgot about changing that. thx so much guys. now i just gotta get two more hard drives and figure out how to get popups when i get an incoming call and my htpc will be complete. again thx for all the help
Posts: 13
Joined: Jun 2012
Reputation:
0
Davs
Junior Member
Posts: 13
I'm having trouble getting the YouTube videos to play using the built in players. It keeps using MPC-HC (the current default player) instead. The rules section of my playercorefactory seem to specify the use of the built in players when playing videos using youtube protocols, so IDK what gives. Using these rules xbmc does seem to use the built in players for dvd folders and iso files so I'm not sure why its ignoring the rules mentioning youtube protocols like rtsp.
Here is my playercorefactory.xml
<playercorefactory>
<players>
<player name="MPC-HC" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Program Files (x86)\MPC-HC\mpc-hc.exe</filename>
<args>"{1}" /fullscreen /close</args>
<hidexbmc>true</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>none</warpcursor>
</player>
<player name="VLC" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Program Files (x86)\VideoLAN\VLC\vlc.exe</filename>
<args>"{1}" -f</args>
<hidexbmc>true</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>none</warpcursor>
</player>
</players>
<rules name="system rules">
<!-- rule name="playwithmpc" filename=".*mpchc.*" player="MPC-HC"/ -->
<rule name="playwithxbmc" filename=".*xbmc.*" player="DVDPlayer"/>
<rule video="true" player="MPC-HC"/>
<rule name="rtv" protocols="rtv" player="DVDPlayer" />
<rule name="hdhomerun/myth/rtmp/mms/udp" protocols="hdhomerun|myth|cmyth|rtmp|mms|mmsh|udp" player="DVDPlayer" />
<rule name="lastfm/shout" protocols="lastfm|shout" player="PAPlayer" />
<!-- 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="flv/aacp/sdp" mimetypes="video/x-flv|video-flv|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="videodefaultdvdplayer" />
<rule name="dvdfile" dvdfile="true" player="videodefaultdvdplayer" />
<rule name="dvdimage" dvdimage="true" player="videodefaultdvdplayer" />
<!-- 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" />
</rules>
</playercorefactory>
Posts: 13
Joined: Jun 2012
Reputation:
0
Davs
Junior Member
Posts: 13
I got it to use the built in player for youtube properly. I just had to add the line <rule filename=".*youtube.*" player="DVDPlayer"/>
Posts: 8
Joined: Aug 2012
Reputation:
0
Is there a way that when i stop playing using external player it will close automatically? Thanks
Posts: 353
Joined: Jan 2009
Reputation:
0
I want to use MPC-HC for all the content that I play (mostly I play BDMV structure Blu-Ray folders, .m2ts and .mov files). Do I just make a file called 'playercorefactory.xml' in my directory C:\Program Files (x86)\XBMC\System and have it look like this:
<playercorefactory>
<players>
<player name="MPC-HC" type="ExternalPlayer" video="true">
<filename>C:\Program Files (x86)\MPC-HC\mpc-hc.exe</filename>
<args>"{1}" /fullscreen /close</args>
<hidexbmc>false</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>none</warpcursor>
</player>
</players>
</playercorefactory>
Don't dream your life, live your dream
Posts: 138
Joined: Mar 2011
Reputation:
0
hi guys, im using mpc-hc as an external video player in xbmc, when i start mpc-hc i want to be able to kill the xbmc process and when i stop or finish a movie (ctrl-alt-f4) i want to achieve xbmc to start again in the last screen i was using it, is it possible to make that happen? im despered 'cause it would be the only way to play videos smooth, xbmc uses 25% of my cpu and 25%-30% of ram most of the time, even when it's in the background and mpc-hc doing his thing. Any help would be awesome..