##
#from sickgear import WEB_PORT, WEB_ROOT, ENABLE_HTTPS
#set sg_host = $getVar('sbHost', 'localhost')
#set sg_port = str($getVar('sbHttpPort', WEB_PORT))
#set sg_root = $getVar('sbRoot', WEB_ROOT)
#set sg_use_https = $getVar('sbHttpsEnabled', ENABLE_HTTPS)
##
#set $base_url = 'http%s://%s:%s%s' % (('', 's')[any([sg_use_https])], $sg_host, $sg_port, $sg_root)
##
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="repository.sickgear" name="SickGear Add-on repository" version="1.0.1" provider-name="SickGear">
	<extension point="xbmc.addon.repository"
				name="SickGear Add-on Repository">
		<info compressed="true">$base_url/$endpoint/addons.xml</info>
		<checksum>$base_url/$endpoint/addons.xml.md5</checksum>
		<datadir zip="true">$base_url/$endpoint</datadir>
		<hashes>false</hashes>
	</extension>
	<extension point="xbmc.addon.metadata">
		<summary>SickGear Add-ons</summary>
		<description>This repo contains add-ons at a running SickGear instance.[CR][CR]Content:[CR]* Watchedstate updater service</description>
		<disclaimer></disclaimer>
		<platform>all</platform>
		<language>en</language>
		<license>GPL-3.0-only</license>
		<source>https://github.com/SickGear/SickGear</source>
# Kodi v17 Krypton and later
		<assets>
			<icon>icon.png</icon>
		</assets>
# Kodi v16 Jarvis and older
		<icon>icon.png</icon>
		<news>[B]1.0.9[/B] (2022-10-30)
- Add Kodi Matrix compatibility (must use repo at /kodi-legacy/ for Kodi (Leia) and older)
# no leading whitespace is intentional
</news>
	</extension>
</addon>