2024-05-14, 14:08
I'm attempting to add the "Play Using..." selection to video context menus, but have had little success. I'm using Kodi V21.0 on Windows 10. Despite what I've read elsewhere, the playcorefactory.xml file only works if placed in the %APPDATA%\kodi\userdata directory. Any suggestions would be appreciated.
Here is the content of my file:
<?xml version="1.0" encoding="UTF-8"?>
<!--
# Goes in directory %APPDATA%\kodi\userdata
-->
<playercorefactory>
<players>
<player name="VLC" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Program Files\VideoLAN\VLC\vlc.exe</filename>
<args>--fullscreen "{1}"</args>
<hidexbmc>false</hidexbmc>
<hideconsole>false</hideconsole>
</player>
<player name="VideoPlayer" type="videodefaultplayer" audio="true" video="true"></player>
</players>
<rules action="prepend">
<!--
# Using this rule does open all videos in VLC. So, the xml file is being read correctly.
<rule video="true" player="VLC"/>
-->
</rules>
</playercorefactory>
Here is the content of my file:
<?xml version="1.0" encoding="UTF-8"?>
<!--
# Goes in directory %APPDATA%\kodi\userdata
-->
<playercorefactory>
<players>
<player name="VLC" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Program Files\VideoLAN\VLC\vlc.exe</filename>
<args>--fullscreen "{1}"</args>
<hidexbmc>false</hidexbmc>
<hideconsole>false</hideconsole>
</player>
<player name="VideoPlayer" type="videodefaultplayer" audio="true" video="true"></player>
</players>
<rules action="prepend">
<!--
# Using this rule does open all videos in VLC. So, the xml file is being read correctly.
<rule video="true" player="VLC"/>
-->
</rules>
</playercorefactory>