<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="plugin.program.stv.favourites" 
  name="[COLOR deepskyblue]STV[/COLOR] Super Favourites" 
  version="2.0" 
  provider-name="spoyser, Cloned by Jap-Slappa">
  <requires>
    <import addon="xbmc.python" version="2.14.0"/>
    <import addon="script.module.metahandler" optional="true" />
  </requires>
  <extension point="xbmc.python.pluginsource" library="default.py">
        <provides>video executable</provides>
  </extension>
  <extension point="xbmc.service" library="service.py" start="startup" />

  
  <extension point="xbmc.addon.metadata">
    <summary lang="en">[COLOR red]WARNING[/COLOR] - Forked (Cloned) Super Favorites. By Jap-Slappa.</summary>
    <description lang="en">Forked (Cloned) - Super Favorites? Cloned So my Builds has it's own Super Favorites - if build installer choose to save his/her Super Favourites, Super (STV) Favorites will not be touched.[CR][CR]Super Favorites is a better way of managing your Kodi Favourites.[CR][CR]Virtually any menu item within Kodi can be added to Super Favorites, even from addons that don't normally provide this feature.[CR][CR]Super Favorites allows you to better manage your Kodi favourites, including the creation of sub-folders, into which your Kodi favourites can then be copied or moved into.[CR][CR]This allows you to create you own custom addon with just the best bits of your favourite addons. Search your favourite addons, play your favourite music, read your favourite comic strips, select your favourite playlists, browse your favourite movies, listen to your favourite radio stations, watch your favourite cartoons, the possibilities are endless, all from within one easy to use addon.</description>
    <platform>all</platform>
    <language>en</language>
    <license>GNU GENERAL PUBLIC LICENSE. Version 2, June 1991</license>
    <forum>http://forum.xbmc.org/showthread.php?tid=192662</forum>
    <website></website>
    <source></source>

    <news>
v2.0: 18th March 2020
  - Fixed.. Changed all strings to STV.[CR]
v1.0: 9th October 2019
  - Cloned by Jap-Slappa, All Credit goes to Spoyser for fixing Supa Favs.[CR]
v1.0.56: 19th February 2017
    - added optional initial path, and include play folder parameters to quicklaunch script
        usage: xbmc.runscript(special://home/addons/plugin.program.stv.favourites/quicklaunch.py,folder1/folder2,True)
    - fixed playlist parsing
    - fixed quicklaunch in Krypton
    - fixed launching ExecuteBuiltin types from the quick launch dialog
    - fixed launching playable items added from FileManager
    - fixed launching playable items from widgets
    - various other fixes due to changes in Krypton
    </news>

  </extension>


  <extension point="kodi.context.item">
    <menu id="kodi.core.main">

      <item library="capture.py">
        <label>$ADDON[plugin.program.stv.favourites 30002]</label>
        <visible>!IsEmpty(Window(Home).Property(SF_STD_CONTEXTMENU_ENABLED)) + !StringCompare(Container.PluginName,plugin.program.stv.favourites)</visible>
      </item>

      <item library="menu_addtofaves.py">
        <label>$ADDON[plugin.program.stv.favourites 30047]</label>
        <visible>!IsEmpty(Window(Home).Property(SF_STD_ADDTOFAVES_ENABLED)) + !StringCompare(Container.PluginName,plugin.program.stv.favourites)</visible>
      </item>

      <item library="menu_download.py">
        <label>$ADDON[plugin.program.stv.favourites 30259]</label>
        <visible>!IsEmpty(Window(Home).Property(SF_STD_DOWNLOAD_ENABLED)) + Player.IsInternetStream</visible>
      </item>

    </menu>
  </extension>

</addon>