-
[COLOR red]•[/COLOR] [B][COLOR white]ELEMENTUM[/COLOR][COLOR none] $doregex[elementum] [/COLOR][/B]
$doregex[install]
https://i.imgur.com/d1ad1Is.png
https://i.imgur.com/mAe2igo.jpg
elementum
LooseVersion(localVersion):
return "[COLOR orange]ACTUALIZACIÓN REQUERIDA[/COLOR]"
else:
return "[COLOR lime]INSTALADO[/COLOR]"
return "[COLOR red]NO INSTALADO[/COLOR]"
]]>
platforms
install
None:
self.URL = url
self.NAME = name
self.DEST = dest
self.start_time = time.time()
dialog = xbmcgui.DialogProgress()
dialog.create(self.NAME, "")
urllib.request.urlretrieve(
url, dest, lambda nb, bs, fs: self.downloadPercentage(nb, bs, fs, dialog, name))
def downloadPercentage(self, nb, bs, fs, dialog, name):
messages = list()
try:
percent = min(nb * bs * 100 / fs, 100)
currently_downloaded = float(nb) * bs / (1024 * 1024)
kbps_speed = nb * bs / (time.time() - self.start_time)
if kbps_speed > 0:
eta = (fs - nb * bs) / kbps_speed
else:
eta = 0
kbps_speed = kbps_speed / 1024
total = float(fs) / (1024 * 1024)
messages.append(f'[B]Descargando {name}...[/B]')
messages.append('%.02f MB de %.02f MB' %
(currently_downloaded, total))
messages.append('Velocidad: %.02f Kb/s ' % kbps_speed)
messages.append('Tiempo: %02d:%02d' % divmod(eta, 60))
dialog.update(int(percent), "\n".join(messages))
except Exception as _:
percent = 100
dialog.update(percent)
dialog.close()
if dialog.iscanceled():
dialog.close()
platforms = $doregex[platforms]
dest = os.path.join(xbmcvfs.translatePath(PACKAGES),
platforms[0].split('/')[-1])
Downloader(platforms[0], platforms[1], dest)
Extracter(platforms[1], dest, ADDONS)
addon_database("plugin.video.elementum", 1)
xbmc.executebuiltin('UpdateAddonRepos()')
xbmc.executebuiltin('UpdateLocalAddons()')
xbmc.executebuiltin('Container.Refresh()')
]]>
-
Created by Someone Like You
[COLOR white]•[/COLOR] [B][COLOR red]BUSCADOR[/COLOR][/B]
$doregex[results]
results
[COLOR red]•[/COLOR] [B][COLOR white][results.param1][/COLOR][/B]
$doregex[selectionLinks]
[results.param4]
[results.param5]
[results.param6]
[results.param2]
[results.param3]
]]>
selectionLinks
1:
option = dialog.select('Seleccione Calidad:', [quality.replace('microhd', 'Micro HD').replace(
'fullhd', 'Full HD').replace('tresd', '3D').replace('cuatrok', '4K') for quality in links.keys()])
if option == -1:
return xbmcgui.Dialog().notification(ADDON.getAddonInfo('name'), "Selección cancelada", ADDON.getAddonInfo('icon'))
return 'plugin://plugin.video.elementum/play?uri=magnet:?xt=urn:btih:' + list(links.values())[option]
]]>
https://i.imgur.com/g412a9y.png
https://i.imgur.com/R7oMOZO.jpg
-
[COLOR white]•[/COLOR] [B][COLOR red]TODAS[/COLOR][COLOR white] (A-Z)[/COLOR][/B]
$doregex[results]
results
[COLOR red]•[/COLOR] [B][COLOR white][results.param1][/COLOR][/B]
$doregex[selectionLinks]
[results.param4]
[results.param5]
[results.param6]
[results.param2]
[results.param3]
]]>
selectionLinks
1:
option = dialog.select('Seleccione Calidad:', [quality.replace('microhd', 'Micro HD').replace(
'fullhd', 'Full HD').replace('tresd', '3D').replace('cuatrok', '4K') for quality in links.keys()])
if option == -1:
return xbmcgui.Dialog().notification(ADDON.getAddonInfo('name'), "Selección cancelada", ADDON.getAddonInfo('icon'))
return 'plugin://plugin.video.elementum/play?uri=magnet:?xt=urn:btih:' + list(links.values())[option]
]]>
https://i.imgur.com/f9tpAmE.png
https://i.imgur.com/R7oMOZO.jpg
-
[COLOR white]•[/COLOR] [B][COLOR red]CALIDAD[/COLOR][COLOR white] MICROHD, BDRIP, 3D, 4K[/COLOR][/B]
https://i.imgur.com/3I3skgB.png
https://i.imgur.com/R7oMOZO.jpg
$doregex[qualities]
qualities
[COLOR red]•[/COLOR] [B][COLOR white][qualities.param2][/COLOR][/B]
$doregex[results]
https://i.imgur.com/3I3skgB.png
https://i.imgur.com/R7oMOZO.jpg
]]>
results
[COLOR red]•[/COLOR] [B][COLOR white][results.param1][/COLOR][/B]
$doregex[selectionLinks]
[results.param4]
[results.param5]
[results.param6]
[results.param2]
[results.param3]
]]>
selectionLinks
-
[COLOR white]•[/COLOR] [B][COLOR red]AÑO[/COLOR][/B]
https://i.imgur.com/eyTvbyC.png
https://i.imgur.com/R7oMOZO.jpg
$doregex[years]
years
[COLOR red]•[/COLOR] [B][COLOR white][years.param1][/COLOR][/B]
$doregex[results]
https://i.imgur.com/eyTvbyC.png
https://i.imgur.com/R7oMOZO.jpg
]]>
results
[COLOR red]•[/COLOR] [B][COLOR white][results.param1][/COLOR][/B]
$doregex[selectionLinks]
[results.param4]
[results.param5]
[results.param6]
[results.param2]
[results.param3]
]]>
selectionLinks
1:
option = dialog.select('Seleccione Calidad:', [quality.replace('microhd', 'Micro HD').replace(
'fullhd', 'Full HD').replace('tresd', '3D').replace('cuatrok', '4K') for quality in links.keys()])
if option == -1:
return xbmcgui.Dialog().notification(ADDON.getAddonInfo('name'), "Selección cancelada", ADDON.getAddonInfo('icon'))
return 'plugin://plugin.video.elementum/play?uri=magnet:?xt=urn:btih:' + list(links.values())[option]
]]>
-
[COLOR white]•[/COLOR] [B][COLOR red]GENERO[/COLOR][COLOR white] ACCION, DRAMA, SAGAS, ...[/COLOR][/B]
https://i.imgur.com/E2xELih.png
https://i.imgur.com/R7oMOZO.jpg
$doregex[genres]
genres
[COLOR red]•[/COLOR] [B][COLOR white][genres.param1][/COLOR][/B]
$doregex[results]
https://i.imgur.com/eyTvbyC.png
https://i.imgur.com/R7oMOZO.jpg
]]>
results
[COLOR red]•[/COLOR] [B][COLOR white][results.param1][/COLOR][/B]
$doregex[selectionLinks]
[results.param4]
[results.param5]
[results.param6]
[results.param2]
[results.param3]
]]>
selectionLinks
1:
option = dialog.select('Seleccione Calidad:', [quality.replace('microhd', 'Micro HD').replace(
'fullhd', 'Full HD').replace('tresd', '3D').replace('cuatrok', '4K') for quality in links.keys()])
if option == -1:
return xbmcgui.Dialog().notification(ADDON.getAddonInfo('name'), "Selección cancelada", ADDON.getAddonInfo('icon'))
return 'plugin://plugin.video.elementum/play?uri=magnet:?xt=urn:btih:' + list(links.values())[option]
]]>
-
[COLOR white]•[/COLOR] [B][COLOR red]CINE DE[/COLOR] [COLOR white] CULTO[/COLOR][/B]
https://i.imgur.com/Hmc87sC.png
https://i.imgur.com/R7oMOZO.jpg
$doregex[results]
results
[COLOR red]•[/COLOR] [B][COLOR white][results.param1][/COLOR][/B]
$doregex[selectionLinks]
[results.param4]
[results.param5]
[results.param6]
[results.param2]
[results.param3]
]]>
selectionLinks
1:
option = dialog.select('Seleccione Calidad:', [quality.replace('microhd', 'Micro HD').replace(
'fullhd', 'Full HD').replace('tresd', '3D').replace('cuatrok', '4K') for quality in links.keys()])
if option == -1:
return xbmcgui.Dialog().notification(ADDON.getAddonInfo('name'), "Selección cancelada", ADDON.getAddonInfo('icon'))
return 'plugin://plugin.video.elementum/play?uri=magnet:?xt=urn:btih:' + list(links.values())[option]
]]>
-
[COLOR white]•[/COLOR] [B][COLOR red]CINE DE[/COLOR] [COLOR white] ESTRENO[/COLOR][/B]
https://i.imgur.com/vX0Ycn6.png
https://i.imgur.com/R7oMOZO.jpg
$doregex[results]
results
[COLOR red]•[/COLOR] [B][COLOR white][results.param1][/COLOR][/B]
$doregex[selectionLinks]
[results.param4]
[results.param5]
[results.param6]
[results.param2]
[results.param3]
]]>
selectionLinks
1:
option = dialog.select('Seleccione Calidad:', [quality.replace('microhd', 'Micro HD').replace(
'fullhd', 'Full HD').replace('tresd', '3D').replace('cuatrok', '4K') for quality in links.keys()])
if option == -1:
return xbmcgui.Dialog().notification(ADDON.getAddonInfo('name'), "Selección cancelada", ADDON.getAddonInfo('icon'))
return 'plugin://plugin.video.elementum/play?uri=magnet:?xt=urn:btih:' + list(links.values())[option]
]]>
-
[COLOR white]•[/COLOR] [B][COLOR red]CINE DE[/COLOR] [COLOR white] MISCELANEA[/COLOR][/B]
https://i.imgur.com/vIX7Cnq.png
https://i.imgur.com/R7oMOZO.jpg
$doregex[results]
results
[COLOR red]•[/COLOR] [B][COLOR white][results.param1][/COLOR][/B]
$doregex[selectionLinks]
[results.param4]
[results.param5]
[results.param6]
[results.param2]
[results.param3]
]]>
selectionLinks
1:
option = dialog.select('Seleccione Calidad:', [quality.replace('microhd', 'Micro HD').replace(
'fullhd', 'Full HD').replace('tresd', '3D').replace('cuatrok', '4K') for quality in links.keys()])
if option == -1:
return xbmcgui.Dialog().notification(ADDON.getAddonInfo('name'), "Selección cancelada", ADDON.getAddonInfo('icon'))
return 'plugin://plugin.video.elementum/play?uri=magnet:?xt=urn:btih:' + list(links.values())[option]
]]>