2021-11-14, 08:09
(2021-11-13, 19:57)Dr. Angelo Wrote: DIRECTORY PATH confusion
Trying to set a path in playercorefactory.xml that works in v18 Leia. But KODI log says VLC player doesn't exist.
If I choose PLAY WITH VLC from context menu, KODI freezes, and VLC is open on the Mac desktop (with a VLC cleanup error message).
Can you offer any advice on how to determine the correct <filename> path? Por Favor :0)
Q: So, if playercorefactory.xml is in the userdata folder where it's suppose to be, how does it get out of that directory and find its way back up to the Mac's "Applications" directory?
The recommended path does not work, i.e. <filename>/Applications/VLC.app/Contents/MacOS/VLC</filename>
Thank you for your kind help :0)
just tested with v19.3 release - works fine on my Mac. The file is in ~/Library/Application Support/Kodi/userdata/playercorefactory.xml, its contents are: (copied from the wiki and only adjusted executable path)
xml:<playercorefactory>
<players>
<player name="VLC" type="ExternalPlayer" audio="false" video="true">
<filename>/Applications/VLC.app/Contents/MacOS/VLC</filename>
<args>--fullscreen "{1}"</args>
<hidexbmc>false</hidexbmc>
</player>
</players>
<rules action="prepend">
<rule video="true" player="VLC"/>
</rules>
</playercorefactory>