2014-12-31, 14:22
(2014-12-29, 23:07)mguebert Wrote: <rules action="prepend">
<rule filename="*3D*.mkv" player="StereoPlayer"/>
</rules>
.....Also it launches for every file not just ones with 3D in the filename.
I've been trying to do exactly the same thing and I think I'm there. Firstly, I think your regex is wrong which is why all files are triggering Stereoscopic Player. Here's my PlayerCoreFactory.xml which is working:
Code:
<playercorefactory>
<players>
<player name="StereoPlayer" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Program Files (x86)\Stereoscopic Player\StereoPlayer.exe</filename>
<args>-file:"{1}" -nl -fss</args>
<hidexbmc>false</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>none</warpcursor>
</player>
</players>
<rules action="append">
<rule filename=".*\.3D\..*" player="StereoPlayer"/>
</rules>
</playercorefactory>
Note in my case, I'm remuxing all my 3D BluRay ISOs to MKV using MakeMKV and using the naming convention <MovieName>.3D.BluRay.mkv so the above regex matches anything with ".3D." in the name. The "\" acts as an escape character because "." means something in regex so you can't just put dots in your regex and have it find them without escaping them. There may be a more elegant regex to achieve this but it does work. This might solve your filename problem too because as you can see, you can call Stereoscopic straight from PCF.xml.
(2014-12-30, 14:44)orion_syndicate Wrote: When Kodi goes to play an ISO, even though it shows that it should play via the external player.....it simply shows the default internal bluray options.
Try using 'append' instead of 'prepend' in your PlayerCoreFactory.xml as that is meant to override the default player.