<addon id="plugin.video.umbrella" name="Umbrella" provider-name="Umbrella" version="6.7.31">
	<requires>
		<import addon="xbmc.python" version="3.0.0"/>
		<import addon="script.module.requests"/>
		<import addon="plugin.video.youtube" optional="true"/>
	</requires>
	<extension point="xbmc.python.pluginsource" library="umbrella.py">
		<provides>video</provides>
	</extension>
	<extension point="kodi.context.item">
		<menu id="kodi.core.main">
			<item library="resources\lib\context\addtoLibrary.py">
				<label>$INFO[Window(home).Property(context.umbrella.showUmbrella)]Add to Library</label>
				<visible>
					!String.IsEmpty(Window(home).Property(context.umbrella.addtoLibrary)) +
					String.StartsWith(ListItem.path,plugin://plugin.video.umbrella/) +
					String.IsEqual(ListItem.Property(isUmbrella_widget),true) +
					[String.IsEqual(ListItem.dbtype,episode) | String.IsEqual(ListItem.dbtype,tvshow) | String.IsEqual(ListItem.dbtype,season) | String.IsEqual(ListItem.dbtype,movie)]
				</visible>
			</item>
			<item library="resources\lib\context\addtoFavourite.py">
				<label>$INFO[Window(home).Property(context.umbrella.showUmbrella)]Add/Remove Favourite</label>
				<visible>
					!String.IsEmpty(Window(home).Property(context.umbrella.addtoFavourite)) +
					String.StartsWith(ListItem.path,plugin://plugin.video.umbrella/) +
					String.IsEqual(ListItem.Property(isUmbrella_widget),true) +
					[String.IsEqual(ListItem.dbtype,episode) | String.IsEqual(ListItem.dbtype,tvshow) | String.IsEqual(ListItem.dbtype,movie)]
				</visible>
			</item>
			<item library="resources\lib\context\playTrailer.py">
				<label>$INFO[Window(home).Property(context.umbrella.showUmbrella)]Play Trailer</label>
				<visible>
					!String.IsEmpty(Window(home).Property(context.umbrella.playTrailer)) +
					String.StartsWith(ListItem.path,plugin://plugin.video.umbrella/) +
					String.IsEqual(ListItem.Property(isUmbrella_widget),true) +
					[String.IsEqual(ListItem.dbtype,tvshow) | String.IsEqual(ListItem.dbtype,movie)]
				</visible>
			</item>
			<item library="resources\lib\context\playTrailerSelect.py">
				<label>$INFO[Window(home).Property(context.umbrella.showUmbrella)]Play Trailer (Select)</label>
				<visible>
					!String.IsEmpty(Window(home).Property(context.umbrella.playTrailerSelect)) +
					String.StartsWith(ListItem.path,plugin://plugin.video.umbrella/) +
					String.IsEqual(ListItem.Property(isUmbrella_widget),true) +
					[String.IsEqual(ListItem.dbtype,tvshow) | String.IsEqual(ListItem.dbtype,movie)]
				</visible>
			</item>
			<item library="resources\lib\context\traktManager.py">
				<label>$INFO[Window(home).Property(context.umbrella.showUmbrella)]Trakt Manager</label>
				<visible>
					!String.IsEmpty(Window(home).Property(context.umbrella.traktManager)) +
					String.StartsWith(ListItem.path,plugin://plugin.video.umbrella/) +
					String.IsEqual(ListItem.Property(isUmbrella_widget),true) +
					[String.IsEqual(ListItem.dbtype,episode) | String.IsEqual(ListItem.dbtype,tvshow) | String.IsEqual(ListItem.dbtype,season) | String.IsEqual(ListItem.dbtype,movie)]
				</visible>
			</item>
			<item library="resources\lib\context\clearProviders.py">
				<label>$INFO[Window(home).Property(context.umbrella.showUmbrella)]Clear Providers</label>
				<visible>
					[!String.IsEmpty(Window(home).Property(context.umbrella.clearProviders)) +
					String.StartsWith(ListItem.FolderPath,plugin://plugin.video.umbrella/?action=play) +
					String.IsEqual(ListItem.Property(isUmbrella_widget),true) +
					[String.IsEqual(ListItem.dbtype,episode) | String.IsEqual(ListItem.dbtype,movie)]] |
					[String.Contains(Container.FolderPath,videodb://) +
					[String.Contains(Container.ListItem.Path,Window(home).Property(umbrella.movieLib.path)) | String.Contains(Container.ListItem.Path,Window(home).Property(umbrella.tvLib.path))] +
					[String.IsEqual(ListItem.dbtype,episode) | String.IsEqual(ListItem.dbtype,movie)]]
				</visible>
			</item>
			<item library="resources\lib\context\clearBookmark.py">
				<label>$INFO[Window(home).Property(context.umbrella.showUmbrella)]Clear Item Bookmark</label>
				<visible>
					!String.IsEmpty(Window(home).Property(context.umbrella.clearBookmark)) +
					String.StartsWith(ListItem.FolderPath,plugin://plugin.video.umbrella/?action=play) +
					String.IsEqual(ListItem.Property(isUmbrella_widget),true) +
					ListItem.IsResumable +
					[String.IsEqual(ListItem.dbtype,episode) | String.IsEqual(ListItem.dbtype,movie)]
				</visible>
			</item>
			<item library="resources\lib\context\rescrape.py">
				<label>$INFO[Window(home).Property(context.umbrella.showUmbrella)]Rescrape Item</label>
				<visible>
					[!String.IsEmpty(Window(home).Property(context.umbrella.rescrape)) +
					String.StartsWith(ListItem.FolderPath,plugin://plugin.video.umbrella/?action=play) +
					String.IsEqual(ListItem.Property(isUmbrella_widget),true) +
					[String.IsEqual(ListItem.dbtype,episode) | String.IsEqual(ListItem.dbtype,movie)]]
				</visible>
			</item>
			<item library="resources\lib\context\addLibtoFavourite.py">
				<label>$INFO[Window(home).Property(context.umbrella.showUmbrella)]Add/Remove Favourite</label>
				<visible>
					[String.Contains(Container.FolderPath,videodb://) | String.Contains(Container.ListItem.FolderPath,videodb://)] +
					[String.Contains(Container.ListItem.Path,Window(home).Property(umbrella.movieLib.path)) | String.Contains(Container.ListItem.Path,Window(home).Property(umbrella.tvLib.path))] +
					[String.IsEqual(ListItem.dbtype,episode) | String.IsEqual(ListItem.dbtype,movie)]
				</visible>
			</item>
			<item library="resources\lib\context\libRescrape.py">
				<label>$INFO[Window(home).Property(context.umbrella.showUmbrella)]Rescrape Lib Item</label>
				<visible>
					[String.Contains(Container.FolderPath,videodb://) | String.Contains(Container.ListItem.FolderPath,videodb://)] +
					[String.Contains(Container.ListItem.Path,Window(home).Property(umbrella.movieLib.path)) | String.Contains(Container.ListItem.Path,Window(home).Property(umbrella.tvLib.path))] +
					[String.IsEqual(ListItem.dbtype,episode) | String.IsEqual(ListItem.dbtype,movie)]
				</visible>
			</item>
			<item library="resources\lib\context\playFromHere.py">
				<label>$INFO[Window(home).Property(context.umbrella.showUmbrella)]Play from here</label>
				<visible>
					!String.IsEmpty(Window(home).Property(context.umbrella.playFromHere)) +
					String.StartsWith(ListItem.path,plugin://plugin.video.umbrella/) +
					String.IsEqual(ListItem.Property(isUmbrella_widget),true) +
					String.IsEqual(ListItem.dbtype,episode)
				</visible>
			</item>
			<item library="resources\lib\context\autoPlay.py">
				<label>$INFO[Window(home).Property(context.umbrella.showUmbrella)]Auto Play</label>
				<visible>
					String.IsEmpty(Window(home).Property(umbrella.autoPlay.enabled)) +
					!String.IsEmpty(Window(home).Property(context.umbrella.autoPlay)) +
					String.StartsWith(ListItem.FolderPath,plugin://plugin.video.umbrella/?action=play) +
					String.IsEqual(ListItem.Property(isUmbrella_widget),true) +
					[String.IsEqual(ListItem.dbtype,episode) | String.IsEqual(ListItem.dbtype,movie)]
				</visible>
			</item>
			<item library="resources\lib\context\sourceSelect.py">
				<label>$INFO[Window(home).Property(context.umbrella.showUmbrella)]Source Select</label>
				<visible>
					!String.IsEmpty(Window(home).Property(umbrella.autoPlay.enabled)) +
					!String.IsEmpty(Window(home).Property(context.umbrella.sourceSelect)) +
					String.StartsWith(ListItem.FolderPath,plugin://plugin.video.umbrella/?action=play) +
					String.IsEqual(ListItem.Property(isUmbrella_widget),true) +
					[String.IsEqual(ListItem.dbtype,episode) | String.IsEqual(ListItem.dbtype,movie)]
				</visible>
			</item>
			<item library="resources\lib\context\findSimilar.py">
				<label>$INFO[Window(home).Property(context.umbrella.showUmbrella)]Find Similar</label>
				<visible>
					!String.IsEmpty(Window(home).Property(context.umbrella.findSimilar)) +
					String.StartsWith(ListItem.path,plugin://plugin.video.umbrella/) +
					String.IsEqual(ListItem.Property(isUmbrella_widget),true) +
					[String.IsEqual(ListItem.dbtype,tvshow) | String.IsEqual(ListItem.dbtype,movie)]
				</visible>
			</item>
			<item library="resources\lib\context\browseSeries.py">
				<label>$INFO[Window(home).Property(context.umbrella.showUmbrella)]Browse Series</label>
				<visible>
					!String.IsEmpty(Window(home).Property(context.umbrella.browseSeries)) +
					String.StartsWith(ListItem.path,plugin://plugin.video.umbrella/) +
					String.IsEqual(ListItem.Property(isUmbrella_widget),true) +
					[String.IsEqual(ListItem.dbtype,episode) | String.IsEqual(ListItem.dbtype,tvshow)]
				</visible>
			</item>
			<item library="resources\lib\context\browseEpisodes.py">
				<label>$INFO[Window(home).Property(context.umbrella.showUmbrella)]Browse Episodes</label>
				<visible>
					!String.IsEmpty(Window(home).Property(context.umbrella.browseEpisodes)) +
					String.StartsWith(ListItem.path,plugin://plugin.video.umbrella/) +
					String.IsEqual(ListItem.Property(isUmbrella_widget),true) +
					String.IsEqual(ListItem.dbtype,episode)
				</visible>
			</item>
		</menu>
	</extension>
	<extension point="xbmc.service" library="service.py" start="startup"/>
	<extension point="xbmc.python.module" library="resources/lib/"/>
	<extension point="xbmc.addon.metadata">
		<reuselanguageinvoker>true</reuselanguageinvoker>
		<summary lang="en">[B]Umbrella[/B] - We do not host any of the contents streamed</summary>
		<description lang="en">[B]Umbrella[/B][CR] This addon does not form part of the Kodi Media Centre. Please do not seek assistance with this addon from any of the Official Kodi Support Channels.[CR]The author does not host any of the content in this addon and takes no responsibility for content found. We do not know anything about a lab under Raccoon City. Umbrella is not actually an umbrella and will not shield you from rain.</description>
		<platform>all</platform>
		<license>GNU GENERAL PUBLIC LICENSE. Version 3, 29 June 2007</license>
		<forum/>
		<website>https://umbrellaplug.github.io</website>
		<source>https://raw.githubusercontent.com/umbrellaplug/umbrellaplug.github.io/</source>
		<disclaimer lang="en">The author of this addon does not host any of the content which is found and have no affiliation with any of the content providers. This addon simply searches websites for content. Use at your own risk!</disclaimer>
		<assets>
			<icon>icon.png</icon>
			<fanart>fanart.jpg</fanart>
			<screenshot>resources/screenshots/screenshot001.jpg</screenshot>
			<screenshot>resources/screenshots/screenshot002.jpg</screenshot>
			<screenshot>resources/screenshots/screenshot003.jpg</screenshot>
		</assets>
		<news>
[B]Update - v6.7.31 - December 26th, 2024[/B]
--[Change] Made changes to the cache torrent function for TorBox.
--[Change] Made context menu use highlight color for Umbrella Settings
--[Fix] Changes in module loads for internal and cloud scrapers.
--[Fix] Change in way Trakt regular expression for list was handled.
--[Fix] Change to source_utils for title regedit.
--[Fix] Fixed error in code comparing string literal.
		</news>
	</extension>

</addon>