Kodi Community Forum
external player on kodi - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Video Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=154)
+---- Thread: external player on kodi (/showthread.php?tid=234243)



external player on kodi - dont - 2015-08-04

hi
i have make an external player for powerpoint in kodi i need to now how to use it from python, is there any one to tell me how to use it. this is the playercorefactory.xml :
<?xml version="1.0" encoding="UTF-8"?>
<playercorefactory>
<players>
<player name="PPTviewer" type="ExternalPlayer">
<filename>C:\Program Files (x86)\Microsoft Office\Office14\PPTVIEW.EXE</filename>
<args>"{1}" /fullscreen /close</args>
<hidexbmc>false</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>none</warpcursor>
</player>
</players>

<rules action="prepend">
<rule name="pps" filetypes="pps" player="PPTviewer" />
</rules>
</playercorefactory>


RE: external player on kodi - dont - 2015-08-04

Big Grin with some research i found the way to do this:
Code:
xbmc.executebuiltin('PlayWith(PPTviewer)')
    xbmc.Player().play('path here')
you can see this also:
http://forum.kodi.tv/showthread.php?tid=99745


RE: external player on kodi - skoca - 2022-10-05

.... aaaand this never worked :-)