Playercorefactory.xml
#1
Can anyone please help me get this right?

I am trying to add the external player to play movies that are 480p and above. all other moves/videos can be played by xbmc.

I have added this info so far, however all media is being launched in the external player. Can you please help me get my player file so that it only lauches content that is above 480p in mkv or avi or any other file format xbmc does not support hardware acceleration for in XP.

Code:
<playercorefactory>
<players>
   <player name="MPC-HC" type="ExternalPlayer" audio="true" video="true">
     <filename>D:\Portable Apps\mpc-homecinema.1.5.2.2969_(x86)_msvc2010-be\MPC-Homecinema.1.5.2.2969_(x86)_MSVC2010-BE\mpc-hc.exe</filename>
     <args>"{1}" /fullscreen /close</args>
     <hidexbmc>false</hidexbmc>
     <hideconsole>false</hideconsole>
     <warpcursor>none</warpcursor>
   </player>
</players>
<rules action="prepend">
   <rule filetypes="mkv|avi|mp4|mpg|mpeg|mov|hdmov|flv|vob" player="MPC-HC"/>
</rules>

  <rules name="system rules">
    <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>

PatrickBateman is online now Add to PatrickBateman's Reputation Report Post       Edit/Delete Message

Please can anyone with any ideas or advice or knowledge on xml and xbmc give me some pointers. im really stuck here? Oo

Update>>>
i cant use the "filename=".*720p.*" line as my contnet is not named in that way... the only info i have is contained within the NFO's that xbmc creates whcih has my codec, ratio, audio info etc...
Reply


Messages In This Thread
Playercorefactory.xml - by PatrickBateman - 2011-04-19, 20:35
[No subject] - by PatrickBateman - 2011-04-20, 09:50
Logout Mark Read Team Forum Stats Members Help
Playercorefactory.xml0