2011-07-21, 04:22
Petoria Wrote:Can someone look at this xml file for me and tell me where I went wrong. I'm guessing I put things out of order and it's not working. If I delete say all the lines for netflix, the regular player and ISO automount will work. Thanks in advanced
Code:<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" />
-->
<player name="PowerDVD11" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Program Files\Elaborate Bytes\VirtualCloneDrive\ISO Mount ini.exe</filename>
<args>-iso "{1}" -useIni "C:\Program Files\Elaborate Bytes\VirtualCloneDrive\ISOMount.ini"</args>
<hideconsole>true</hideconsole> <forceontop>false</forceontop>
<hidexbmc>false</hidexbmc>
<hidecursor>false</hidecursor>
</player> <player name="IE" type="ExternalPlayer"> <filename>C:\Program Files\Internet Explorer\iexplore.exe</filename> <args> "{1}"</args> <hidexbmc>false</hidexbmc> <hideconsole>false</hideconsole> <warpcursor>none</warpcursor> </player> </players>
<rules action="prepend">
<rule filetypes="iso" filename="*.iso" player="PowerDVD11"/>
<rule name="html" filetypes="*html" player="IE"/>
<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>
You have an un-closed element for the rules.
Code:
<rules action="prepend">
<rule filetypes="iso" filename="*.iso" player="PowerDVD11"/>
<rule name="html" filetypes="*html" player="IE"/>
<rules name="system rules">
you can try adding the end tag to the first rules element, but it's going to depend if it will read multiple elements for the rules or if they all need to be in the <rules> .... </rules> section
Code:
<rule name="html" filetypes="*html" player="IE"/>
</rules>
<rules name="system rules">
but that might not work