2014-01-16, 08:39
Quick question, is there a way to set up the playercorefactory.xml file to play DVDs with XMBC's integrated player, and play blu rays with an external player?
(2014-01-16, 08:39)SDub Wrote: Quick question, is there a way to set up the playercorefactory.xml file to play DVDs with XMBC's integrated player, and play blu rays with an external player?
(2014-01-16, 10:22)MadScientist Wrote:(2014-01-16, 08:39)SDub Wrote: Quick question, is there a way to set up the playercorefactory.xml file to play DVDs with XMBC's integrated player, and play blu rays with an external player?
See examples here: XBMC external player wiki
Quote:<playercorefactory>
<players>
<player name="PowerDVD" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Users\HTPC\AppData\Roaming\XBMC\userdata\PlayDisc.bat</filename>
<args>"{1}"</args>
<hidexbmc>True</hidexbmc>
<hideconsole>true</hideconsole>
<forceontop>false</forceontop>
</player>
<player name="DVDPlayer" audio="true" video="true" />
</players>
<rules action="prepend">
<rule filetypes="bd|ifo" player="PowerDVD"/>
<rule dvd="true" player="DVDPlayer" />
<rule filetypes="mkv|avi|mp4" player="DVDPlayer" />
</rules>
</playercorefactory>
Quote:<rules action="prepend">
<rule filetypes="bd|ifo" player="PowerDVD"/>
<rule dvd="true" player="DVDPlayer" />
<rule filetypes="mkv|avi|mp4" player="DVDPlayer" />
<rule>
</rules>
</playercorefactory>
(2014-01-16, 08:39)SDub Wrote: Quick question, is there a way to set up the playercorefactory.xml file to play DVDs with XMBC's integrated player, and play blu rays with an external player?
<playercorefactory>
<players>
<player name="PowerDVD" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Users\HTPC\AppData\Roaming\XBMC\userdata\PlayDisc.bat</filename>
<args>"{1}"</args>
<hidexbmc>True</hidexbmc>
<hideconsole>true</hideconsole>
<forceontop>false</forceontop>
</player>
</players>
<rules action="prepend">
<rule filetypes="bd" player="PowerDVD"/>
</rules>
</playercorefactory>
(2014-01-16, 09:40)StinDaWg Wrote: Is it possible to set rules based on video frame rate? Something like default player is MPC-HC, 59.94 fps uses MPC-BE, ect. The reason is that madVR doesn't work well with my card with 30+ fps content, but works fine in EVR. I'd like to use madVR but I'm not going to change the renderer every time I play a video.
(2014-01-18, 04:48)SDub Wrote: @acejh1987
That's exactly what I had before, except instead of just using the "bd" filetype, I use the bd and ifo. For some reason though, all DVDs and blu rays play with power dvd.
Quote:A <rules/> node contains a set of rules. An (optional) action attribute can have a value of prepend, append or overwrite which specifies whether the rules should be prepended, appended (the default if no action is specified) or replace all existing rules. Appended rules will take precedence over default players (i.e. DVDPlayer for video and PAPlayer for audio) but not over XBMCs builtin rules.Maybe append and prepend is obvious to programmers or something, I don't quite get it. Also, when would you use overwrite instead of prepend? If someone could add a couple sentences explaining it more it'd be great.
Quote:Order of <rule/>s is significant, the first match defines the player so order them from more-to-less specific.An example or some clarification for this?
Quote:<hidexbmc>false</hidexbmc>It seems it's no difference if you use true or false for this?
<playercorefactory>
<players>
<player name="MPC-HC" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Program Files\MPC-BE x64\mpc-be64.exe</filename>
<args>"{1}" /fullscreen /close</args>
<hidexbmc>false</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>none</warpcursor>
</player>
</players>
<rules action="prepend">
<rule filetypes="mkv|ts|avi|mp4|m2ts" player="dvdplayer"/>
<rule filename=".*x265*" player="MPC-HC"/>
</rules>
</playercorefactory>