# script.module.resolveurl

Include the script in your addon.xml

    <requires>
		<import addon="xbmc.python" version="2.1.0"/>
		<import addon="script.module.resolveurl" version="5.0.00"/>
	</requires>

Import ResolveUrl and use it the same as you would with the UrlResolver

    import resolveurl
    resolved = resolveurl.resolve(url)

Or you can import ResolveUrl as UrlResolver to your existing addon that uses the UrlResolver

    import resolveurl as urlresolver
    resolved = urlresolver.resolve(url)
    
Include my repo with your repo to always have the latest updates from me

    <dir>
	        <info compressed="false">https://raw.githubusercontent.com/jsergio123/zips/master/addons.xml</info>
	        <checksum>https://raw.githubusercontent.com/jsergio123/zips/master/addons.xml.md5</checksum>
	        <datadir zip="true">https://raw.githubusercontent.com/jsergio123/zips/master/</datadir>
	</dir>

I am in no way responsible for the urls being resolved by 3rd parties. This script only resolves video content from legitimate file lockers without prejudice. If this script is being used by 3rd parties to resolve content that you feel infringes upon your Intellectual Property then please take your complaints to the actual website or developer linking to such content and not me. This script in no way searches for any content whatsoever.

# plugin.video.resolveurl-tester

https://github.com/Twilight0/plugin.video.resolveurl-tester

Include in addon.xml

    <import addon="plugin.video.resolveurl-tester" version="1.1.0+"/>

To use to resolve and play either of these 3 methods work

    url = 'plugin://plugin.video.resolveurl-tester/?action=play&url={0}&title={1}'.format(quote(web_url), quote(title))
    xbmc.executebuiltin('PlayMedia("{0}")'.format(url))
    # or 
    xbmc.Player().play(url)
    # or
    item = xbmcgui.ListItem(path=url)
    xbmcplugin.setResolvedUrl(int(sys.argv[1]), True, item)
