Ejemplo n.º 1
0
addon_id = xbmcaddon.Addon().getAddonInfo('id')
addon = Addon(addon_id, sys.argv)
addon_name = addon.get_name()
addon_path = addon.get_path()
md = md(addon_id, sys.argv)

auto_play = addon.get_setting('autoplay')
metaset = addon.get_setting('enable_meta')
show_tv = addon.get_setting('enable_shows')
show_mov = addon.get_setting('enable_movies')
show_fav = addon.get_setting('enable_favs')
show_proxy = addon.get_setting('enable_proxy')
show_add_set = addon.get_setting('add_set')
show_meta_set = addon.get_setting('enable_meta_set')

art = md.get_art()
icon = addon.get_icon()
fanart = addon.get_fanart()

baseurl = addon.get_setting('base_url')

reload(sys)
sys.setdefaultencoding("utf-8")

sort_id = ['rating', 'latest', 'view', 'favorite', 'imdb_mark']
sort = [
    '[B][I][COLOR red]Most Rated[/COLOR][/I][/B]',
    '[B][I][COLOR red]Recently Added[/COLOR][/I][/B]',
    '[B][I][COLOR red]Most Viewed[/COLOR][/I][/B]',
    '[B][I][COLOR red]Most Favourited[/COLOR][/I][/B]',
    '[B][I][COLOR red]IMDB Rating[/COLOR][/I][/B]'
Ejemplo n.º 2
0
from md_tools import md
# C Movies HD Add-on Created By Mucky Duck (10/2016)
l1lll1llFuck_You_Anonymous = xbmcaddon.Addon().getAddonInfo(l111Fuck_You_Anonymous (u"ࠫ࡮ࡪࠧࠀ"))
l1ll1Fuck_You_Anonymous = Addon(l1lll1llFuck_You_Anonymous, sys.argv)
l1l11Fuck_You_Anonymous = l1ll1Fuck_You_Anonymous.get_name()
l1ll1l1lFuck_You_Anonymous = l1ll1Fuck_You_Anonymous.get_path()
md = md(l1lll1llFuck_You_Anonymous, sys.argv)
l11ll11Fuck_You_Anonymous = l1ll1Fuck_You_Anonymous.get_setting(l111Fuck_You_Anonymous (u"ࠬࡧࡵࡵࡱࡳࡰࡦࡿࠧࠁ"))
l1111lFuck_You_Anonymous = l1ll1Fuck_You_Anonymous.get_setting(l111Fuck_You_Anonymous (u"࠭ࡥ࡯ࡣࡥࡰࡪࡥ࡭ࡦࡶࡤࠫࠂ"))
l1lllll1Fuck_You_Anonymous = l1ll1Fuck_You_Anonymous.get_setting(l111Fuck_You_Anonymous (u"ࠧࡦࡰࡤࡦࡱ࡫࡟ࡴࡪࡲࡻࡸ࠭ࠃ"))
l1ll11llFuck_You_Anonymous = l1ll1Fuck_You_Anonymous.get_setting(l111Fuck_You_Anonymous (u"ࠨࡧࡱࡥࡧࡲࡥࡠ࡯ࡲࡺ࡮࡫ࡳࠨࠄ"))
l11l1llFuck_You_Anonymous = l1ll1Fuck_You_Anonymous.get_setting(l111Fuck_You_Anonymous (u"ࠩࡨࡲࡦࡨ࡬ࡦࡡࡩࡥࡻࡹࠧࠅ"))
l1ll11Fuck_You_Anonymous = l1ll1Fuck_You_Anonymous.get_setting(l111Fuck_You_Anonymous (u"ࠪࡩࡳࡧࡢ࡭ࡧࡢࡴࡷࡵࡸࡺࠩࠆ"))
l1llFuck_You_Anonymous = l1ll1Fuck_You_Anonymous.get_setting(l111Fuck_You_Anonymous (u"ࠫࡦࡪࡤࡠࡵࡨࡸࠬࠇ"))
l11llll1Fuck_You_Anonymous = l1ll1Fuck_You_Anonymous.get_setting(l111Fuck_You_Anonymous (u"ࠬ࡫࡮ࡢࡤ࡯ࡩࡤࡳࡥࡵࡣࡢࡷࡪࡺࠧࠈ"))
l11l1lFuck_You_Anonymous = md.get_art()
l1l11l11Fuck_You_Anonymous = l1ll1Fuck_You_Anonymous.get_icon()
l11l11lFuck_You_Anonymous = l1ll1Fuck_You_Anonymous.get_fanart()
l111111Fuck_You_Anonymous = l111Fuck_You_Anonymous (u"࠭ࡨࡵࡶࡳ࠾࠴࠵ࡣ࡮ࡱࡹ࡭ࡪࡹࡨࡥ࠰ࡦࡳࡲ࠭ࠉ")
reload(sys)
sys.setdefaultencoding(l111Fuck_You_Anonymous (u"ࠢࡶࡶࡩ࠱࠽ࠨࠊ"))
l1llllFuck_You_Anonymous = [l111Fuck_You_Anonymous (u"ࠨࡴࡤࡸ࡮ࡴࡧࠨࠋ"),l111Fuck_You_Anonymous (u"ࠩ࡯ࡥࡹ࡫ࡳࡵࠩࠌ"),l111Fuck_You_Anonymous (u"ࠪࡺ࡮࡫ࡷࠨࠍ"),l111Fuck_You_Anonymous (u"ࠫ࡫ࡧࡶࡰࡴ࡬ࡸࡪ࠭ࠎ"),l111Fuck_You_Anonymous (u"ࠬ࡯࡭ࡥࡤࠪࠏ")]
sort = [l111Fuck_You_Anonymous (u"࡛࠭ࡃ࡟࡞ࡍࡢࡡࡃࡐࡎࡒࡖࠥࡹࡴࡦࡧ࡯ࡦࡱࡻࡥ࡞ࡏࡲࡷࡹࠦࡒࡢࡶࡨࡨࡠ࠵ࡃࡐࡎࡒࡖࡢࡡ࠯ࡊ࡟࡞࠳ࡇࡣࠧࠐ"), l111Fuck_You_Anonymous (u"ࠧ࡜ࡄࡠ࡟ࡎࡣ࡛ࡄࡑࡏࡓࡗࠦࡳࡵࡧࡨࡰࡧࡲࡵࡦ࡟ࡕࡩࡨ࡫࡮ࡵ࡮ࡼࠤࡆࡪࡤࡦࡦ࡞࠳ࡈࡕࡌࡐࡔࡠ࡟࠴ࡏ࡝࡜࠱ࡅࡡࠬࠑ"),
	l111Fuck_You_Anonymous (u"ࠨ࡝ࡅࡡࡠࡏ࡝࡜ࡅࡒࡐࡔࡘࠠࡴࡶࡨࡩࡱࡨ࡬ࡶࡧࡠࡑࡴࡹࡴࠡࡘ࡬ࡩࡼ࡫ࡤ࡜࠱ࡆࡓࡑࡕࡒ࡞࡝࠲ࡍࡢࡡ࠯ࡃ࡟ࠪࠒ"), l111Fuck_You_Anonymous (u"ࠩ࡞ࡆࡢࡡࡉ࡞࡝ࡆࡓࡑࡕࡒࠡࡵࡷࡩࡪࡲࡢ࡭ࡷࡨࡡࡒࡵࡳࡵࠢࡉࡥࡻࡵࡲࡪࡶࡨࡨࡠ࠵ࡃࡐࡎࡒࡖࡢࡡ࠯ࡊ࡟࡞࠳ࡇࡣࠧࠓ"),
	l111Fuck_You_Anonymous (u"ࠪ࡟ࡇࡣ࡛ࡊ࡟࡞ࡇࡔࡒࡏࡓࠢࡶࡸࡪ࡫࡬ࡣ࡮ࡸࡩࡢࡏࡍࡅࡄࠣࡖࡦࡺࡩ࡯ࡩ࡞࠳ࡈࡕࡌࡐࡔࡠ࡟࠴ࡏ࡝࡜࠱ࡅࡡࠬࠔ")]
def l1l1ll1Fuck_You_Anonymous():
	if l1ll11llFuck_You_Anonymous == l111Fuck_You_Anonymous (u"ࠫࡹࡸࡵࡦࠩࠕ"):
		md.addDir({l111Fuck_You_Anonymous (u"ࠬࡳ࡯ࡥࡧࠪࠖ"): l111Fuck_You_Anonymous (u"࠭࠱ࠨࠗ"), l111Fuck_You_Anonymous (u"ࠧ࡯ࡣࡰࡩࠬ࠘"):l111Fuck_You_Anonymous (u"ࠨ࡝ࡅࡡࡠࡏ࡝࡜ࡅࡒࡐࡔࡘࠠࡴࡶࡨࡩࡱࡨ࡬ࡶࡧࡠࡑࡔ࡜ࡉࡆࡕ࡞࠳ࡈࡕࡌࡐࡔࡠ࡟࠴ࡏ࡝࡜࠱ࡅࡡࠬ࠙"), l111Fuck_You_Anonymous (u"ࠩࡸࡶࡱ࠭ࠚ"):l111Fuck_You_Anonymous (u"ࠪࡹࡷࡲࠧࠛ"), l111Fuck_You_Anonymous (u"ࠫࡨࡵ࡮ࡵࡧࡱࡸࠬࠜ"):l111Fuck_You_Anonymous (u"ࠬࡳ࡯ࡷ࡫ࡨࡷࠬࠝ")})
	if l1lllll1Fuck_You_Anonymous == l111Fuck_You_Anonymous (u"࠭ࡴࡳࡷࡨࠫࠞ"):
		md.addDir({l111Fuck_You_Anonymous (u"ࠧ࡮ࡱࡧࡩࠬࠟ"): l111Fuck_You_Anonymous (u"ࠨ࠳ࠪࠠ"), l111Fuck_You_Anonymous (u"ࠩࡱࡥࡲ࡫ࠧࠡ"):l111Fuck_You_Anonymous (u"ࠪ࡟ࡇࡣ࡛ࡊ࡟࡞ࡇࡔࡒࡏࡓࠢࡶࡸࡪ࡫࡬ࡣ࡮ࡸࡩࡢ࡚ࡖࠡࡕࡋࡓ࡜࡙࡛࠰ࡅࡒࡐࡔࡘ࡝࡜࠱ࡌࡡࡠ࠵ࡂ࡞ࠩࠢ"), l111Fuck_You_Anonymous (u"ࠫࡺࡸ࡬ࠨࠣ"):l111Fuck_You_Anonymous (u"ࠬࡻࡲ࡭ࠩࠤ"), l111Fuck_You_Anonymous (u"࠭ࡣࡰࡰࡷࡩࡳࡺࠧࠥ"):l111Fuck_You_Anonymous (u"ࠧࡵࡸࡶ࡬ࡴࡽࡳࠨࠦ")})
	if l11l1llFuck_You_Anonymous == l111Fuck_You_Anonymous (u"ࠨࡶࡵࡹࡪ࠭ࠧ"):
Ejemplo n.º 3
0
l1ll1l1Created_By_Mucky_Duck = l11l11lCreated_By_Mucky_Duck.get_name()
l1llCreated_By_Mucky_Duck = l11l11lCreated_By_Mucky_Duck.get_path()
md = md(l11l111Created_By_Mucky_Duck, sys.argv)
l1ll11Created_By_Mucky_Duck = l11l11lCreated_By_Mucky_Duck.get_setting(
    l111l1Created_By_Mucky_Duck(u"ࠬ࡫࡮ࡢࡤ࡯ࡩࡤࡳࡥࡵࡣࠪࠁ"))
l11ll1lCreated_By_Mucky_Duck = l11l11lCreated_By_Mucky_Duck.get_setting(
    l111l1Created_By_Mucky_Duck(u"࠭ࡥ࡯ࡣࡥࡰࡪࡥࡳࡩࡱࡺࡷࠬࠂ"))
l1l11Created_By_Mucky_Duck = l11l11lCreated_By_Mucky_Duck.get_setting(
    l111l1Created_By_Mucky_Duck(u"ࠧࡦࡰࡤࡦࡱ࡫࡟࡮ࡱࡹ࡭ࡪࡹࠧࠃ"))
l1l1lCreated_By_Mucky_Duck = l11l11lCreated_By_Mucky_Duck.get_setting(
    l111l1Created_By_Mucky_Duck(u"ࠨࡧࡱࡥࡧࡲࡥࡠࡨࡤࡺࡸ࠭ࠄ"))
l11l1Created_By_Mucky_Duck = l11l11lCreated_By_Mucky_Duck.get_setting(
    l111l1Created_By_Mucky_Duck(u"ࠩࡤࡨࡩࡥࡳࡦࡶࠪࠅ"))
l1lll1llCreated_By_Mucky_Duck = l11l11lCreated_By_Mucky_Duck.get_setting(
    l111l1Created_By_Mucky_Duck(u"ࠪࡩࡳࡧࡢ࡭ࡧࡢࡱࡪࡺࡡࡠࡵࡨࡸࠬࠆ"))
l11Created_By_Mucky_Duck = md.get_art()
l1llll1Created_By_Mucky_Duck = l11l11lCreated_By_Mucky_Duck.get_icon()
l1l1llCreated_By_Mucky_Duck = l11l11lCreated_By_Mucky_Duck.get_fanart()
l1l111lCreated_By_Mucky_Duck = l11l11lCreated_By_Mucky_Duck.get_setting(
    l111l1Created_By_Mucky_Duck(u"ࠫࡧࡧࡳࡦࡡࡸࡶࡱ࠭ࠇ"))
reload(sys)
sys.setdefaultencoding(l111l1Created_By_Mucky_Duck(u"ࠧࡻࡴࡧ࠯࠻ࠦࠈ"))


def l1llll11Created_By_Mucky_Duck():
    if l11ll1lCreated_By_Mucky_Duck == l111l1Created_By_Mucky_Duck(u"࠭ࡴࡳࡷࡨࠫࠉ"):
        md.addDir({
            l111l1Created_By_Mucky_Duck(u"ࠧ࡮ࡱࡧࡩࠬࠊ"):
            l111l1Created_By_Mucky_Duck(u"ࠨ࠴ࠪࠋ"),
            l111l1Created_By_Mucky_Duck(u"ࠩࡱࡥࡲ࡫ࠧࠌ"):
            l111l1Created_By_Mucky_Duck(u"ࠪ࡟ࡈࡕࡌࡐࡔࠣࡻ࡭࡯ࡴࡦ࡟࡞ࡆࡢ࡚ࡖ࡜࠱ࡅࡡࡠ࠵ࡃࡐࡎࡒࡖࡢ࠭ࠍ"),
Ejemplo n.º 4
0
md = md(l111l1lCreated_By_Mucky_Duck, sys.argv)
l1l1ll1Created_By_Mucky_Duck = l111Created_By_Mucky_Duck.get_setting(
    l11lCreated_By_Mucky_Duck(u"ࠬࡧࡵࡵࡱࡳࡰࡦࡿࠧࠁ"))
l11ll1Created_By_Mucky_Duck = l111Created_By_Mucky_Duck.get_setting(
    l11lCreated_By_Mucky_Duck(u"࠭ࡥ࡯ࡣࡥࡰࡪࡥ࡭ࡦࡶࡤࠫࠂ"))
l11l111Created_By_Mucky_Duck = l111Created_By_Mucky_Duck.get_setting(
    l11lCreated_By_Mucky_Duck(u"ࠧࡦࡰࡤࡦࡱ࡫࡟ࡴࡪࡲࡻࡸ࠭ࠃ"))
l1llllllCreated_By_Mucky_Duck = l111Created_By_Mucky_Duck.get_setting(
    l11lCreated_By_Mucky_Duck(u"ࠨࡧࡱࡥࡧࡲࡥࡠ࡯ࡲࡺ࡮࡫ࡳࠨࠄ"))
l1l1l1lCreated_By_Mucky_Duck = l111Created_By_Mucky_Duck.get_setting(
    l11lCreated_By_Mucky_Duck(u"ࠩࡨࡲࡦࡨ࡬ࡦࡡࡩࡥࡻࡹࠧࠅ"))
l1lCreated_By_Mucky_Duck = l111Created_By_Mucky_Duck.get_setting(
    l11lCreated_By_Mucky_Duck(u"ࠪࡥࡩࡪ࡟ࡴࡧࡷࠫࠆ"))
l1l11ll1Created_By_Mucky_Duck = l111Created_By_Mucky_Duck.get_setting(
    l11lCreated_By_Mucky_Duck(u"ࠫࡪࡴࡡࡣ࡮ࡨࡣࡲ࡫ࡴࡢࡡࡶࡩࡹ࠭ࠇ"))
l1l1llCreated_By_Mucky_Duck = md.get_art()
l1l1ll1lCreated_By_Mucky_Duck = l111Created_By_Mucky_Duck.get_icon()
l1l11l1Created_By_Mucky_Duck = l111Created_By_Mucky_Duck.get_fanart()
l11l1l1Created_By_Mucky_Duck = l11lCreated_By_Mucky_Duck(
    u"ࠬ࡮ࡴࡵࡲࡶ࠾࠴࠵ࡹࡦࡵࡰࡳࡻ࡯ࡥࡴ࠰ࡷࡳࠬࠈ")
reload(sys)
sys.setdefaultencoding(l11lCreated_By_Mucky_Duck(u"ࠨࡵࡵࡨ࠰࠼ࠧࠉ"))
l1l11Created_By_Mucky_Duck = [
    l11lCreated_By_Mucky_Duck(u"ࠧࡳࡣࡷ࡭ࡳ࡭ࠧࠊ"),
    l11lCreated_By_Mucky_Duck(u"ࠨ࡮ࡤࡸࡪࡹࡴࠨࠋ"),
    l11lCreated_By_Mucky_Duck(u"ࠩࡹ࡭ࡪࡽࠧࠌ"),
    l11lCreated_By_Mucky_Duck(u"ࠪࡪࡦࡼ࡯ࡳ࡫ࡷࡩࠬࠍ"),
    l11lCreated_By_Mucky_Duck(u"ࠫ࡮ࡳࡤࡣࡡࡰࡥࡷࡱࠧࠎ")
]
sort = [
    l11lCreated_By_Mucky_Duck(
Ejemplo n.º 5
0
from md_request import open_url
from md_view import setView
from common import Addon
from md_tools import md
# Watchseries - originally by Mucky Duck (03/2015) - updated by koreanwarrior (12/2017)
strAddonID = xbmcaddon.Addon().getAddonInfo('id')
MDWS = Addon(strAddonID, sys.argv)
strAddonName = MDWS.get_name()
mdwsPath = MDWS.get_path()
md = md(strAddonID, sys.argv)
bEnableMeta = MDWS.get_setting('enable_meta')
bEnableFavs = MDWS.get_setting('enable_favs')
bEnableAddonSettings = MDWS.get_setting('add_set')
bEnableMetaSettings = MDWS.get_setting('enable_meta_set')
bEnableUrlResolverSettings = MDWS.get_setting('enable_resolver_set')
strArtDir = md.get_art(
)  # Returns the full path to the addon's art directory, equal to:
# strArtDir = os.path.join(self.addon.get_path(), 'resources', 'art', '')
hIcon = MDWS.get_icon()
hFanart = MDWS.get_fanart()
strBaseURL = MDWS.get_setting(
    'base_url')  # currently 'http://itswatchseries.to'
reload(sys)
sys.setdefaultencoding('utf-8')


def MainMenu():  # Building main menu
    md.addDir(
        {
            'mode': '4',
            'name': '[B][COLOR yellow]A-Z[/COLOR][/B]',
            'url': strBaseURL + '/letters/A'