Win Play Using... Not in Context menu
#1
Video 
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>
Reply
#2
Looks like everything is working correctly and all videos are using VLC as per playercorefactory rules. External players (wiki) to get the 'play using' in the context menu, you would have define other players which would include the native Kodi player. Have a look at the support thread for more ideas https://forum.kodi.tv/showthread.php?tid=43511
Reply
#3
Thanks for pointing me toward the support thread.  It's going to take a while for me to digest 110 pages.
Reply
#4
Look at the wiki article. You defined a rule that unconditionally plays everything with VLC, exactly like the comment in your file says.
Always read the Kodi online-manual, the FAQ and search the forum before posting.
Do not e-mail Kodi Team members directly asking for support. Read/follow the forum rules (wiki).
For troubleshooting and bug reporting please make sure you read this first.
Reply
#5
Is the line below in the OP file commented out or not?

Code:

<!--
    # Using this rule does open all videos in VLC. So, the xml file is being read correctly.
    <rule video="true" player="VLC"/>
-->
Reply
#6
Indeed, I must have confused this with another thread where the issue was "always plays with external player". The playerfactory of the first post doesn't do that since the rule section is commented as you pointed out.
That file belongs to the userdata folder and if there is no other issue this can be marked solved.
Always read the Kodi online-manual, the FAQ and search the forum before posting.
Do not e-mail Kodi Team members directly asking for support. Read/follow the forum rules (wiki).
For troubleshooting and bug reporting please make sure you read this first.
Reply
#7
Yes, that was my intent.  It was only done as a test to prove I had the correct location for the xml file. I then commented out the rule.
Reply
#8
No, this should not be marked solved.  I have yet to see the "Play Using" in the context menu.  That is the problem.
Reply
#9
What you listed in the first post works when I c/p to my playercorefactory.xml, located in E:\devpt\kodi\kodi-build\Debug\portable_data\userdata (I have a portable install in my development directory)
For standard users it would be C:\Users\your user name\AppData\Roaming\Kodi\userdata
Always read the Kodi online-manual, the FAQ and search the forum before posting.
Do not e-mail Kodi Team members directly asking for support. Read/follow the forum rules (wiki).
For troubleshooting and bug reporting please make sure you read this first.
Reply
#10
Just in case... The only standard way I know to bring up "play using..." is through the context menu. Using enter, play or other keys on the video won't let you choose an external player.
Always read the Kodi online-manual, the FAQ and search the forum before posting.
Do not e-mail Kodi Team members directly asking for support. Read/follow the forum rules (wiki).
For troubleshooting and bug reporting please make sure you read this first.
Reply
#11
(2024-05-16, 23:55)BrunoJ Wrote: this should not be marked solved.  I have yet to see the "Play Using" in the context menu.  That is the problem.
Post #2 tells you that playercorefactory is working in your set-up, and further tells you that you would have to define other players which would include the native Kodi player. Check this.
Reply
#12
FYI there is no need to define videoplayer again. It's added automatically by code regardless.
Always read the Kodi online-manual, the FAQ and search the forum before posting.
Do not e-mail Kodi Team members directly asking for support. Read/follow the forum rules (wiki).
For troubleshooting and bug reporting please make sure you read this first.
Reply
#13
I'm lazy to post new thread. I can't see "Play Using..." using last nightly in context menu of Pluto channels from slyguy repo, only for local files it's present. V20 works OK.
Reply
#14
(2024-06-23, 12:23)unreal8 Wrote: context menu of Pluto channels from slyguy repo
You'll have to approach the 3rd party author for this as a feature request.
(2024-06-23, 12:23)unreal8 Wrote: for local files it's present. V20 works OK.
Noted: working as designed.
Reply

Logout Mark Read Team Forum Stats Members Help
Play Using... Not in Context menu0