コード例 #1
0
ファイル: default.py プロジェクト: phenom1911/addons
(Favoritoss, 'Favoritos'),
]
BASE5=[
('http://playstationstorelibre.eshost.es/ps/Espana.xml', 'España 2'),
('https://dl.dropbox.com/s/doa8gt9s0tdo2y7/Espana.xml', 'España 3'),
('http://playstationstorelibre.eshost.es/ps/Series.xml', 'Series 2'),
('http://playstationstorelibre.eshost.es/ps/Romania.xml', 'Rumanía 2'),
('http://playstationstorelibre.eshost.es/ps/USA.xml', 'EE.UU. 2'),
('http://playstationstorelibre.eshost.es/ps/Romania.xml', 'Rumanía 2'),
('http://playstationstorelibre.eshost.es/ps/Portugal.xml', 'Portugal 2'),
(Favoritoss, 'Favoritos'),
]
BASE6=[
('http://playstationstorelibre.eshost.es/ps/Espana.xml', 'España 2'),
('https://dl.dropbox.com/s/doa8gt9s0tdo2y7/Espana.xml', 'España 3'),
('http://playstationstorelibre.eshost.es/ps/Series.xml', 'Series 2'),
('http://playstationstorelibre.eshost.es/ps/Romania.xml', 'Rumanía 2'),
('http://playstationstorelibre.eshost.es/ps/USA.xml', 'EE.UU. 2'),
('http://playstationstorelibre.eshost.es/ps/Romania.xml', 'Rumanía 2'),
('http://playstationstorelibre.eshost.es/ps/Portugal.xml', 'Portugal 2'),
('http://playstationstorelibre.eshost.es/ps/+18.xml', 'Adultos 2'),
(Favoritoss, 'Favoritos'),
]
if (Opciones.getSetting("habilitarmodoadultos") == 'true') and (Opciones.getSetting("canalesinternacionales") == 'true') and (Opciones.getSetting("habilitarespaldo") == 'true'): from resources.lib.main import main;main(BASE6)
if (Opciones.getSetting("habilitarmodoadultos") == 'false') and (Opciones.getSetting("canalesinternacionales") == 'true') and (Opciones.getSetting("habilitarespaldo") == 'true'): from resources.lib.main import main;main(BASE5)
if (Opciones.getSetting("habilitarmodoadultos") == 'false') and (Opciones.getSetting("canalesinternacionales") == 'false') and (Opciones.getSetting("habilitarespaldo") == 'true'): from resources.lib.main import main;main(BASE4)
if (Opciones.getSetting("habilitarmodoadultos") == 'true') and (Opciones.getSetting("canalesinternacionales") == 'true') and (Opciones.getSetting("habilitarespaldo") == 'false'): from resources.lib.main import main;main(BASE3)
if (Opciones.getSetting("habilitarmodoadultos") == 'false') and (Opciones.getSetting("canalesinternacionales") == 'true') and (Opciones.getSetting("habilitarespaldo") == 'false'): from resources.lib.main import main;main(BASE2)
if (Opciones.getSetting("habilitarmodoadultos") == 'true') and (Opciones.getSetting("canalesinternacionales") == 'false') and (Opciones.getSetting("habilitarespaldo") == 'false'): from resources.lib.main import main;main(BASE1)
else: from resources.lib.main import main;main(BASE)
コード例 #2
0
ファイル: default.py プロジェクト: phenom1911/addons
__settings__   = xbmcaddon.Addon()

BASE=[
('http://playstationstorelibre.eshost.es/ps/Espana.xml', 'TV España'),
('https://dl.dropbox.com/s/doa8gt9s0tdo2y7/Espana.xml', 'Respaldo TV España'),
#('http://playstationstorelibre.eshost.es/ps/Series.xml', 'Series España'),
]
BASE1=[
('http://playstationstorelibre.eshost.es/ps/Espana.xml', 'TV España'),
('https://dl.dropbox.com/s/doa8gt9s0tdo2y7/Espana.xml', 'Respaldo TV España'),
#('http://playstationstorelibre.eshost.es/ps/Series.xml', 'Series España'),
#('http://playstationstorelibre.eshost.es/ps/Series.xml', 'TV Rumana'),
]
BASE2=[
('http://playstationstorelibre.eshost.es/ps/Espana.xml', 'TV España'),
('https://dl.dropbox.com/s/doa8gt9s0tdo2y7/Espana.xml', 'Respaldo TV España'),
#('http://playstationstorelibre.eshost.es/ps/Series.xml', 'Series España'),
('http://playstationstorelibre.eshost.es/ps/+18.xml', 'Canales Adultos'),
]
BASE3=[
('http://playstationstorelibre.eshost.es/ps/Espana.xml', 'TV España'),
('https://dl.dropbox.com/s/doa8gt9s0tdo2y7/Espana.xml', 'Respaldo TV España'),
('http://playstationstorelibre.eshost.es/ps/Series.xml', 'Series España'),
('http://playstationstorelibre.eshost.es/ps/Series.xml', 'TV Rumana'),
('http://playstationstorelibre.eshost.es/ps/+18.xml', 'Canales Adultos'),
]
#if (__settings__.getSetting("habilitarmodoadultos") == 'true') and (__settings__.getSetting("canalesrumanos") == 'true'): from resources.lib.main import main;main(BASE3)
if (__settings__.getSetting("habilitarmodoadultos") == 'true'): from resources.lib.main import main;main(BASE2)
#if (__settings__.getSetting("canalesrumanos") == 'true'): from resources.lib.main import main;main(BASE1)
else: from resources.lib.main import main;main(BASE)
コード例 #3
0
ファイル: default.py プロジェクト: HansMayerXBMC/SuperTV
#!/usr/bin/env python
# -*- coding: utf-8 -*-
if __name__ == "__main__": from resources.lib.main import main
BASE=[
('https://raw.github.com/HansMayerXBMC/SuperTV/master/resources/xml/USA.xml','United States'),
('https://raw.github.com/HansMayerXBMC/SuperTV/master/resources/xml/United%20Kingdom.xml', 'United Kingdom'),
('https://raw.github.com/HansMayerXBMC/SuperTV/master/resources/xml/Deutschland.xml','Deutschland'),
('https://raw.github.com/HansMayerXBMC/SuperTV/master/resources/xml/Ellada.xml', 'Ελλάδα'),
('https://raw.github.com/HansMayerXBMC/SuperTV/master/resources/xml/Espana.xml', 'España'),
('https://raw.github.com/HansMayerXBMC/SuperTV/master/resources/xml/France.xml', 'France'),
('https://raw.github.com/HansMayerXBMC/SuperTV/master/resources/xml/India.xml', 'India'),
('https://raw.github.com/HansMayerXBMC/SuperTV/master/resources/xml/Italia.xml', 'Italia'),
('https://raw.github.com/HansMayerXBMC/SuperTV/master/resources/xml/Magyarorszag.xml','Magyarország'),
('https://raw.github.com/HansMayerXBMC/SuperTV/master/resources/xml/Oesterreich.xml','Österreich'),
('https://raw.github.com/HansMayerXBMC/SuperTV/master/resources/xml/Portugal.xml', 'Portugal'),
('https://raw.github.com/HansMayerXBMC/SuperTV/master/resources/xml/Rossija.xml', 'Россия'),
('https://raw.github.com/HansMayerXBMC/SuperTV/master/resources/xml/Svizzera%20Schweiz%20Suisse.xml','Svizzera/Schweiz/Suisse'),
('https://raw.github.com/HansMayerXBMC/SuperTV/master/resources/xml/Turkiye.xml','Türkiye'),
('https://raw.github.com/HansMayerXBMC/SuperTV/master/resources/xml/Viet%20Nam.xml','Việt Nam'),
('http://apps.ohlulz.com/rtmpgui/list.xml',"rtmpGUI list"),
('http://home.no/chj191/LiveTV.xml',"blackoutworm's list"),
#('http://home.no/chj191/xxx.xml',"blackoutworm's XXX list"),
#('http://apps.ohlulz.com/rtmpgui/list.xml',"rtmpGUI list"),
]
if __name__ == "__main__": main(BASE)
コード例 #4
0
# -*- coding: utf-8 -*-
#
#    copyright (C) 2017 Steffen Rolapp ([email protected])
#
#    based on ZattooBoxExtended by Daniel Griner ([email protected]) License under GPL
#    based on ZattooBox by Pascal Nançoz ([email protected]) Licence under BSD 2 clause
#
#    This file is part of zattooHiQ
#
#    zattooHiQ is free software: you can redistribute it and/or modify
#    it under the terms of the GNU General Public License as published by
#    the Free Software Foundation, either version 3 of the License, or
#    (at your option) any later version.
#
#    zattooHiQ is distributed in the hope that it will be useful,
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#    GNU General Public License for more details.
#
#    You should have received a copy of the GNU General Public License
#    along with zattooHiQ.  If not, see <http://www.gnu.org/licenses/>.
#

import resources.lib.main as _main_

if __name__ == '__main__':

    _main_.main()
コード例 #5
0
ファイル: default.py プロジェクト: Gianfranco753/ChileTV
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import xbmc, xbmcgui, xbmcplugin, xbmcaddon
__settings__   = xbmcaddon.Addon()
if __settings__.getSetting("CanalesRegionales") == 'true':
    BASE=[
    ('file:///home/xbian/Chile.xml', 'Chile'),
    ('https://raw.github.com/Gianfranco753/ChileTV/master/ListaCanales/Nacionales.xml', 'Nacionales'),
    ('https://raw.github.com/Gianfranco753/ChileTV/master/ListaCanales/NorteGrande.xml', 'Zona Norte'),
    #('https://raw.github.com/Gianfranco753/ChileTV/master/ListaCanales/ZonaCentral.xml', 'Zona Central'),
    #('https://raw.github.com/Gianfranco753/ChileTV/master/ListaCanales/ZonaCentral.xml', 'Zona Sur'),
    ]
else:
    BASE=[
    ('https://raw.github.com/Gianfranco753/ChileTV/master/ListaCanales/Nacionales.xml', 'Nacionales'),
    ]
ZONAS='https://raw.github.com/Gianfranco753/ChileTV/master/ListaCanales/Zonas.dict'
from resources.lib.main import main;main(BASE,ZONAS)
コード例 #6
0
# -*- coding: utf-8 -*-
#
#    copyright (C) 2017 Steffen Rolapp ([email protected])
#
#    based on ZattooBoxExtended by Daniel Griner ([email protected]) License under GPL
#    based on ZattooBox by Pascal Nançoz ([email protected]) Licence under BSD 2 clause
#
#    This file is part of zattooHiQ
#
#    zattooHiQ is free software: you can redistribute it and/or modify
#    it under the terms of the GNU General Public License as published by
#    the Free Software Foundation, either version 3 of the License, or
#    (at your option) any later version.
#
#    zattooHiQ is distributed in the hope that it will be useful,
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#    GNU General Public License for more details.
#
#    You should have received a copy of the GNU General Public License
#    along with zattooHiQ.  If not, see <http://www.gnu.org/licenses/>.
#

import resources.lib.main as main

if __name__ == '__main__':
    # Call the router function and pass the plugin call parameters to it.
    main.main()    
コード例 #7
0
# -*- coding: utf-8 -*-
#
#    copyright (C) 2017 Steffen Rolapp ([email protected])
#
#    based on ZattooBoxExtended by Daniel Griner ([email protected]) License under GPL
#    based on ZattooBox by Pascal Nançoz ([email protected]) Licence under BSD 2 clause
#
#    This file is part of zattooHiQ
#
#    zattooHiQ is free software: you can redistribute it and/or modify
#    it under the terms of the GNU General Public License as published by
#    the Free Software Foundation, either version 3 of the License, or
#    (at your option) any later version.
#
#    zattooHiQ is distributed in the hope that it will be useful,
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#    GNU General Public License for more details.
#
#    You should have received a copy of the GNU General Public License
#    along with zattooHiQ.  If not, see <http://www.gnu.org/licenses/>.
#

import sys
import resources.lib.main as _main_

if __name__ == '__main__':
    # Call the router function and pass the plugin call parameters to it.
    _main_.main(sys.argv[0], int(sys.argv[1]), sys.argv[2])
コード例 #8
0
     'Ελλάδα'),
    ('https://raw.github.com/HansMayerXBMC/SuperTV/master/resources/xml/Espana.xml',
     'España'),
    ('https://raw.github.com/HansMayerXBMC/SuperTV/master/resources/xml/France.xml',
     'France'),
    ('https://raw.github.com/HansMayerXBMC/SuperTV/master/resources/xml/India.xml',
     'India'),
    ('https://raw.github.com/HansMayerXBMC/SuperTV/master/resources/xml/Italia.xml',
     'Italia'),
    ('https://raw.github.com/HansMayerXBMC/SuperTV/master/resources/xml/Magyarorszag.xml',
     'Magyarország'),
    ('https://raw.github.com/HansMayerXBMC/SuperTV/master/resources/xml/Oesterreich.xml',
     'Österreich'),
    ('https://raw.github.com/HansMayerXBMC/SuperTV/master/resources/xml/Portugal.xml',
     'Portugal'),
    ('https://raw.github.com/HansMayerXBMC/SuperTV/master/resources/xml/Rossija.xml',
     'Россия'),
    ('https://raw.github.com/HansMayerXBMC/SuperTV/master/resources/xml/Svizzera%20Schweiz%20Suisse.xml',
     'Svizzera/Schweiz/Suisse'),
    ('https://raw.github.com/HansMayerXBMC/SuperTV/master/resources/xml/Turkiye.xml',
     'Türkiye'),
    ('https://raw.github.com/HansMayerXBMC/SuperTV/master/resources/xml/Viet%20Nam.xml',
     'Việt Nam'),
    ('http://apps.ohlulz.com/rtmpgui/list.xml', "rtmpGUI list"),
    ('http://home.no/chj191/LiveTV.xml', "blackoutworm's list"),
    #('http://home.no/chj191/xxx.xml',"blackoutworm's XXX list"),
    #('http://apps.ohlulz.com/rtmpgui/list.xml',"rtmpGUI list"),
]
if __name__ == "__main__":
    main(BASE)
コード例 #9
0
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import xbmc, xbmcgui, xbmcplugin, xbmcaddon
__settings__   = xbmcaddon.Addon()

BASE=[
('http://raspberrypi.cl/raspbmctv/Chile.xml', 'Chile'),
]
BASE2=[
('http://raspberrypi.cl/raspbmctv/Chile.xml', 'Chile')
]
if (__name__ == "__main__") and (__settings__.getSetting("habilitarmodoadultos") == 'true'): from resources.lib.main import main;main(BASE2)
else: from resources.lib.main import main;main(BASE)