Win playercorefactory.xml rule help needed
#1
I need some help writing a rule for playerfactory.xml

I have found (on my equipment) streaming video does not work properly using the default DVDPlayer, however, using VLC the streams play fine. So I have tried to redirect internet streams to VLC in the playercorefactory.xml file.

Currently I have defined rules for local files vs internet streams. This works for most addons that stream, however, in some addons Kodi is considering the internet stream file to be a local file and using the DVDPlayer to play them. This might be because the addon it is caching the stream to the disk.

Is there a way to force Kodi to use the external player for a specific addon regardless of the file extension?

The reason I am not redirecting ALL video to the external player is because there is no way (that I know of) to interrupt a local playlist when it is being played on an external player, so all the items in the playlist must complete before control is given back to Kodi. Research shows this is not a bug but done by design.

Here is my current playercorefactory.xml

Code:
<playercorefactory>
    <players>
        <player name="VLC" type="ExternalPlayer" audio="false" video="true">
        <filename>C:\Program Files (x86)\VideoLAN\VLC\VLC.exe</filename>
        <args>"{1}" --fullscreen --play-and-exit</args>
        <hidexbmc>true</hidexbmc>
        <hideconsole>true</hideconsole>
        <warpcursor>none</warpcursor>
        </player>
    </players>
<rules action="prepend">
        <rule name="local-videos" audio="false" video="true"
        internetstream="false" filetypes=".*" player="DVDPlayer" />
        <rule name="streams" audio="false" video="true"
        internetstream="true" filetypes=".*" player="VLC" />
</rules>
</playercorefactory>

Can someone kindly steer me in the right direction,
Reply

Logout Mark Read Team Forum Stats Members Help
playercorefactory.xml rule help needed0