PPT,PPS文件的KODI配置

时间:2019-03-11 12:27:27

标签: xml server powerpoint kodi

这些天我一直在与kodi合作。我有两个服务器,Server1用于数据文件,例如视频,PPT / PPS文件。服务器2是安装KODI的地方。

现在,我已经在下面进行了KODI XML的更新,以配置KODI以使用libra office打开PPT文件。

playercorefactory.xml-

<playercorefactory>                                           
  <players>                                                   
    <player name="libreoffice" type="ExternalPlayer">         
     <filename>bash</filename>                                
     <args>/etc/bash_completion.d/libreoffice.sh "{1}"</args>               
     <hidexbmc>false</hidexbmc>                               
     <hideconsole>false</hideconsole>                         
     <warpcursor>none</warpcursor>                            
    </player>                                                 
  </players>                                                  

  <rules action="prepend">                                    
    <rule name="ppt" filetypes="ppt" player="libreoffice" />  
    <rule name="pptx" filetypes="pptx" player="libreoffice" />
    <rule name="pdf" filetypes="pdf" player="libreoffice" />  
  </rules>                                                    
</playercorefactory>

Sources.xml

<sources>
    <programs>
        <default pathversion="1"></default>
    </programs>
    <video>
        <default pathversion="1"></default>
        <source>
            <name>videos</name>
            <path pathversion="1">smb://192.168.1.162/<projectfolder>/videos/</path>
            <allowsharing>true</allowsharing>
        </source>
    </video>
    <music>
        <default pathversion="1"></default>
        <source>
            <name>Music</name>
            <path pathversion="1">smb://192.168.1.162/home/tft/<projectfolder>/music/</path>
            <allowsharing>true</allowsharing>
        </source>
        <source>
            <name>Music Playlists</name>
            <path pathversion="1">special://musicplaylists/</path>
            <allowsharing>true</allowsharing>
        </source>
    </music>
    <pictures>
        <default pathversion="1"></default>
        <source>
            <name>pictures</name>
            <path pathversion="1">smb://192.168.1.162/<projectfolder>/pictures/</path>
            <allowsharing>true</allowsharing>
        </source>
    </pictures>
    <files>
        <default pathversion="1"></default>
    </files>
    <games>
        <default pathversion="1"></default>
    </games>
</sources>

advancedsettings.xml

    <advancedsettings>
      <videodatabase>
        <type>mysql</type>
        <host>192.168.1.162</host>
        <port>3306</port>
        <user>root</user>
        <pass>root</pass>
      </videodatabase>
      <musicdatabase>
        <type>mysql</type>
        <host>192.168.1.162</host>
        <port>3306</port>
        <user>root</user>
        <pass>root</pass>
      </musicdatabase>
      <videolibrary>
        <importwatchedstate>true</importwatchedstate>
        <importresumepoint>true</importresumepoint>
      </videolibrary>
      <loglevel>2</loglevel> <!-- Change this to "1" to hide the on-screen debug log text -->
        <debug>
            <extralogging>true</extralogging>
            <setextraloglevel>32,64,128,256,512,1024,2048,4096,8192,16384,32768,65536</setextraloglevel>
            <showloginfo>true</showloginfo>
        </debug>

  <pictureextensions>
    <add>.ppt</add>
  </pictureextensions>

    </advancedsettings>

现在的问题是: KODI正在识别PPT文件并在KODI中显示,但是当我尝试单击并播放时,出现黑屏。似乎kodi没有拿起Libraoffice来运行PPT文件。我该如何解决?

我真的在寻求解决方案。自15天内以来,我一直坚持这个问题。

0 个答案:

没有答案