Changes to the python API for XBMC Gotham

  Thread Rating:
  • 2 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Closed
Martijn Offline
Team Kodi
Posts: 11,235
Joined: Jul 2011
Reputation: 162
Location: Dawn of time
Post: #16
Added optional parameter 'ignoreCache' to xbmc.playSFX()
https://github.com/xbmc/xbmc/pull/4491

Quote: /**
* playSFX(filename,[useCached]) -- Plays a wav file by filename
*
* filename : string - filename of the wav file to play.
* useCached : [opt] bool - False = Dump any previously cached wav associated with filename
*
* example:
* - xbmc.playSFX('special://xbmc/scripts/dingdong.wav')
* - xbmc.playSFX('special://xbmc/scripts/dingdong.wav',False)
*/

Always read the XBMC online-manual, FAQ and search the forums before posting.
Do NOT e-mail Team-XBMC members asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting, make sure you read this first

For your mediacenter artwork go to
[Image: fanarttv.png]
(This post was last modified: 2014-04-16 14:07 by Martijn.)
find
Martijn Offline
Team Kodi
Posts: 11,235
Joined: Jul 2011
Reputation: 162
Location: Dawn of time
Post: #17
Added support to provide multiple repositories locations into one single repository add-on.
https://github.com/xbmc/xbmc/pull/3509

Supports:
  • having different locations into one addon.xml repository file
  • filter out the displayed add-ons depending on XBMC version


Example:

Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="repository.xbmc.org"
        name="XBMC.org Add-ons"
        version="2.1.23"
        provider-name="Team XBMC">
  <requires>
    <import addon="xbmc.addon" version="12.0.0"/>
  </requires>
    <extension point="xbmc.addon.repository"
        name="Official XBMC.org Add-on Repository">
        <dir minversion="12.9.0">
            <info compressed="true">http://mirrors.xbmc.org/addons/gotham/addons.xml</info>
            <checksum>http://mirrors.xbmc.org/addons/gotham/addons.xml.md5</checksum>
            <datadir zip="true">http://mirrors.xbmc.org/addons/gotham</datadir>
            <hashes>true</hashes>
        </dir>
        <info compressed="true">http://mirrors.xbmc.org/addons/frodo/addons.xml</info>
        <checksum>http://mirrors.xbmc.org/addons/frodo/addons.xml.md5</checksum>
        <datadir zip="true">http://mirrors.xbmc.org/addons/frodo</datadir>
        <hashes>true</hashes>
    </extension>
    <extension point="xbmc.addon.metadata">
        <summary lang="en">Install Add-ons from XBMC.org</summary>
        <platform>all</platform>
    </extension>
</addon>

https://github.com/xbmc/xbmc/blob/master.../addon.xml

Always read the XBMC online-manual, FAQ and search the forums before posting.
Do NOT e-mail Team-XBMC members asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting, make sure you read this first

For your mediacenter artwork go to
[Image: fanarttv.png]
(This post was last modified: 2014-04-16 14:18 by Martijn.)
find
Thread Closed