Ejemplo n.º 1
0
def perform_auto_conf(responses):
    with kodi.WorkingDialog():
        length = len(responses)
        TOTAL = 13
        if length < TOTAL:
            responses += [True] * (TOTAL - length)
            
        if responses[0]: kodi.set_setting('trakt_timeout', '60')
        if responses[1]: kodi.set_setting('calendar-day', '-1')
        if responses[2]: kodi.set_setting('calendar_time', '2')
        if responses[3]: kodi.set_setting('source_timeout', '20')
        if responses[4]: kodi.set_setting('include_watchlist_next', 'true')
        if responses[5]: kodi.set_setting('filter_direct', 'true')
        if responses[6]: kodi.set_setting('filter_unusable', 'true')
        if responses[7]: kodi.set_setting('show_debrid', 'true')
        if responses[8]: kodi.set_setting('source_results', '0')
        if responses[9]:
            kodi.set_setting('enable_sort', 'true')
            kodi.set_setting('sort1_field', '2')
            kodi.set_setting('sort2_field', '5')
            kodi.set_setting('sort3_field', '6')
            kodi.set_setting('sort4_field', '1')
            kodi.set_setting('sort5_field', '3')
            kodi.set_setting('sort6_field', '4')
    
        if responses[10]:
            tiers = ['Local', 'Premiumize.V2', 'Premiumize.me', 'Furk.net', 'EasyNews', 'DD.tv', 'NoobRoom', 'Sit2Play',
                     ['yify.tv', 'MoviesPlanet', 'goojara', '123Movies', '9Movies', 'DayT.se', 'mvgee', 'niter.tv', 'YesMovies', 'ororo.tv', 'MovieOcean'],
                     ['StreamLord', 'MovieFlix', 'CyberReel', 'm4ufree', 'tunemovie', 'fmovie.co', 'xmovies8', 'xmovies8.v2', 'KiwiHD', 'HDMovieFree', 'Mehliz'],
                     ['OLMovies', 'MovieGo', 'MovieXK', 'PelisPedia', 'PutMV', 'PirateJunkies', 'SeriesWatch', 'VidNow4K', 'VeoCube', 'Quikr', 'MovieBlast', 'Pubfilm.to'],
                     ['IOMovies', 'RealMovies', 'HeyDL', 'HEVCBluRay', 'SezonLukDizi', 'Dizimag', 'Dizilab', 'Dizigold', 'Dizibox', 'Diziay', 'Dizipas', 'OnlineDizi'],
                     ['SeriesOnline', 'MovyTvy', 'Dizist', 'DownloadTube', 'scene-rls', 'DDLValley', '2DDL', 'MyDDL', 'DDLSeries', 'SceneDown', 'CinemaMKV'],
                     ['RMZ', 'BestMoviez', 'SceneHDTV', 'Vumoo', 'TVHD', 'RLSHD', 'rls-movies', 'ReleaseBB', 'MyVideoLinks.eu', 'RLSSource.net', 'SeeHD'],
                     ['TVShow.me', 'vivo.to', 'IceFilms', 'Flixanity', 'Watch5s', 'WatchEpisodes', 'WatchItVideos', 'PrimeWire', 'alluc.com', 'tvonline', 'SantaSeries'],
                     ['WatchOnline', 'StreamDor', 'Vebup', 'WatchSeries', 'Putlocker', 'MovieWatcher', 'VKFlix', 'WatchFree.to', 'pftv', 'Movie4K', 'MovieZone'],
                     ['MovieHubs', 'tvrush', 'afdah', 'MiraDeTodo', 'Filmovizija', 'wso.ch', 'MovieSub', 'MovieHut', 'CouchTunerV1', 'Watch8Now', 'SnagFilms'],
                     ['treasureen', 'MoviePool', 'iWatchOnline', 'vidics.ch', 'pubfilm', 'eMovies.Pro', 'OnlineMoviesPro', 'movie25', 'viooz.ac'],
                     ['SpaceMov', 'LosMovies', 'wmo.ch', 'stream-tv.co', 'MintMovies', 'MovieNight', 'cmz', 'SeriesCoco', 'filmikz.ch', 'clickplay.to'],
                     ['MovieTube']]
        
            sso = []
            random_sso = kodi.get_setting('random_sso') == 'true'
            for tier in tiers:
                if isinstance(tier, basestring):
                    sso.append(tier)
                else:
                    if random_sso:
                        random.shuffle(tier)
                    sso += tier
            kodi.set_setting('source_sort_order', '|'.join(sso))
        
        if responses[11]: reset_base_url()
        if responses[12]: kodi.set_setting('mne_time', '2')
        trigger = [False, True, False, True, False, True, True, False, True, False, False, False]
        if all([t == r for t, r in zip(trigger, responses)]):
            kodi.set_setting('scraper_download', 'true')
        
    kodi.notify(msg=i18n('auto_conf_complete'))
Ejemplo n.º 2
0
def perform_auto_conf(responses):
    with kodi.WorkingDialog():
        length = len(responses)
        TOTAL = 13
        if length < TOTAL:
            responses += [True] * (TOTAL - length)
            
        if responses[0]: kodi.set_setting('trakt_timeout', '60')
        if responses[1]: kodi.set_setting('calendar-day', '-1')
        if responses[2]: kodi.set_setting('calendar_time', '2')
        if responses[3]: kodi.set_setting('source_timeout', '20')
        if responses[4]: kodi.set_setting('include_watchlist_next', 'true')
        if responses[5]: kodi.set_setting('filter_direct', 'true')
        if responses[6]: kodi.set_setting('filter_unusable', 'true')
        if responses[7]: kodi.set_setting('show_debrid', 'true')
        if responses[8]: kodi.set_setting('source_results', '0')
        if responses[9]:
            kodi.set_setting('enable_sort', 'true')
            kodi.set_setting('sort1_field', '2')
            kodi.set_setting('sort2_field', '5')
            kodi.set_setting('sort3_field', '6')
            kodi.set_setting('sort4_field', '1')
            kodi.set_setting('sort5_field', '3')
            kodi.set_setting('sort6_field', '4')
    
        if responses[10]:
            tiers = ['Local', 'Premiumize.V2', 'Premiumize.me', 'Furk.net', 'EasyNews', 'DD.tv', 'NoobRoom',
                     ['yify.tv', 'torba.se', 'MoviesPlanet', '123Movies', '9Movies', 'DayT.se', 'niter.tv', 'YesMovies', 'HDFlix', 'HDMovie14', 'ororo.tv'],
                     ['StreamLord', 'MovieFlix', 'CyberReel', 'm4ufree', 'tunemovie', 'fmovie.co', 'afdah.org', 'xmovies8', 'xmovies8.v2', 'KiwiHD', 'HDMovieFree'],
                     ['MovieGo', 'MovieXK', 'PelisPedia', 'FardaDownload', 'PutMV', 'PirateJunkies', 'SeriesWatch', 'VidNow4K', 'VeoCube', 'Quikr'],
                     ['HeyDL', 'HEVCBluRay', 'MovieZone', 'SezonLukDizi', 'YabanciDizi', 'Dizimag', 'Dizilab', 'Dizigold', 'Dizibox', 'Diziay', 'Dizipas', 'OnlineDizi'],
                     ['Dizist', 'MaksiDizi', 'DownloadTube', 'scene-rls', 'DDLValley', '2DDL', 'DDLSeries', 'Crazy4TV', 'SceneDown', 'CinemaMKV', 'TVShow.me'],
                     ['rls-movies', 'ReleaseBB', 'MyVideoLinks.eu', 'OCW', 'RLSSource.net', 'WatchInHD'],
                     ['vivo.to', 'IceFilms', 'Flixanity', 'Watch5s', 'WatchEpisodes', 'WatchItVideos', 'PrimeWire', 'alluc.com', 'tvonline', 'SolarMovie', 'SantaSeries'],
                     ['TVWTVS', 'MWM', 'MoviePool', 'WatchSeries', 'RLSeries', 'Putlocker', 'MovieWatcher', 'VKFlix', 'WatchFree.to', 'pftv', 'streamallthis.is', 'Movie4K'],
                     ['MovieZone', 'MovieHubs', 'tvrush', 'afdah', 'MiraDeTodo', 'Filmovizija', 'wso.ch', 'MovieSub', 'MovieHut', 'CouchTunerV1', 'Watch8Now', 'SnagFilms'],
                     ['MoviePool', 'Ventures', 'yshows', 'iWatchOnline', 'vidics.ch', 'pubfilm', 'eMovies.Pro', 'OnlineMoviesPro', 'movie25', 'viooz.ac'],
                     ['SpaceMov', 'LosMovies', 'wmo.ch', 'stream-tv.co', 'MintMovies', 'MovieNight', 'cmz', 'SeriesCoco', 'filmikz.ch', 'clickplay.to'],
                     ['MovieTube', 'FilmStreaming.in', 'IFlix']]
        
            sso = []
            random_sso = kodi.get_setting('random_sso') == 'true'
            for tier in tiers:
                if isinstance(tier, basestring):
                    sso.append(tier)
                else:
                    if random_sso:
                        random.shuffle(tier)
                    sso += tier
            kodi.set_setting('source_sort_order', '|'.join(sso))
        
        if responses[11]: reset_base_url()
        if responses[12]: kodi.set_setting('mne_time', '2')
        trigger = [False, True, False, True, False, True, True, False, True, False, False, False]
        if all([t == r for t, r in zip(trigger, responses)]):
            kodi.set_setting('scraper_download', 'true')
        
    kodi.notify(msg=i18n('auto_conf_complete'))
Ejemplo n.º 3
0
def perform_auto_conf(responses):
    length = len(responses)
    TOTAL = 12
    if length < TOTAL:
        responses += [True] * (TOTAL - length)
        
    if responses[0]: kodi.set_setting('trakt_timeout', '60')
    if responses[1]: kodi.set_setting('calendar-day', '-1')
    if responses[2]: kodi.set_setting('calendar_time', '2')
    if responses[3]: kodi.set_setting('source_timeout', '20')
    if responses[4]: kodi.set_setting('include_watchlist_next', 'true')
    if responses[5]: kodi.set_setting('filter_direct', 'true')
    if responses[6]: kodi.set_setting('filter_unusable', 'true')
    if responses[7]: kodi.set_setting('show_debrid', 'true')
    if responses[8]: kodi.set_setting('source_results', '0')
    if responses[9]:
        kodi.set_setting('enable_sort', 'true')
        kodi.set_setting('sort1_field', '2')
        kodi.set_setting('sort2_field', '5')
        kodi.set_setting('sort3_field', '6')
        kodi.set_setting('sort4_field', '1')
        kodi.set_setting('sort5_field', '3')
        kodi.set_setting('sort6_field', '4')

    if responses[10]:
        tiers = ['Local', 'Premiumize.V2', 'Premiumize.me', 'Furk.net', 'EasyNews', 'DD.tv', 'NoobRoom',
                 ['WatchHD', 'IFlix', 'MoviesPlanet', 'TVWTVS', '9Movies', '123Movies', 'niter.tv', 'HDMovie14', 'ororo.tv'],
                 ['StreamLord', 'CyberReel', 'MovCav', 'tunemovie', 'MovieMax', 'afdah.org', 'xmovies8', 'xmovies8.v2', 'MovieXK'],
                 ['Rainierland', 'DayT.se', 'FardaDownload', 'zumvo.com', 'PutMV', 'vivo.to', 'MiraDeTodo', 'beinmovie', 'FireMoviesHD'],
                 ['IzlemeyeDeger', 'SezonLukDizi', 'Dizimag', 'Dizilab', 'Dizigold', 'Dizibox', 'Diziay', 'Dizipas', 'OneClickTVShows', 'OnlineDizi'],
                 ['DDLValley', '2DDL', 'ReleaseBB', 'MyVideoLinks.eu', 'OCW', 'TheExtopia', 'RLSSource.net', 'TVRelease.Net'],
                 ['IceFilms', 'WatchEpisodes', 'PrimeWire', 'tvonline', 'SantaSeries', 'Flixanity', 'wso.ch', 'WatchSeries', 'UFlix.org', 'Putlocker'],
                 ['MovieWatcher', 'alluc.com', 'VKFlix', 'WatchFree.to', 'pftv', 'streamallthis.is', 'Movie4K', 'afdah', 'SolarMovie'],
                 ['MovieSub', 'MovieHut', 'CouchTunerV2', 'CouchTunerV1', 'Watch8Now', 'yshows', 'iWatchOnline'],
                 ['vidics.ch', 'pubfilm', 'OnlineMoviesIs', 'OnlineMoviesPro', 'ViewMovies', 'movie25', 'viooz.ac', 'view47', 'MoviesHD'],
                 ['wmo.ch', 'stream-tv.co', 'clickplay.to', 'MintMovies', 'MovieNight', 'cmz', 'ch131', 'filmikz.ch'],
                 ['MovieTube', 'LosMovies', 'FilmStreaming.in', 'moviestorm.eu', 'MerDB'],
                 'MWM', 'ayyex']
    
        sso = []
        random_sso = kodi.get_setting('random_sso') == 'true'
        for tier in tiers:
            if isinstance(tier, basestring):
                sso.append(tier)
            else:
                if random_sso:
                    random.shuffle(tier)
                sso += tier
        kodi.set_setting('source_sort_order', '|'.join(sso))
    
    if responses[11]: reset_base_url()
    trigger = [False, True, False, True, False, True, True, False, True, False, False, False]
    if all([t == r for t, r in zip(trigger, responses)]):
        kodi.set_setting('scraper_download', 'true')
        
    kodi.notify(msg=i18n('auto_conf_complete'))
Ejemplo n.º 4
0
def perform_auto_conf(responses):
    length = len(responses)
    TOTAL = 12
    if length < TOTAL:
        responses += [True] * (TOTAL - length)

    if responses[0]: kodi.set_setting('trakt_timeout', '60')
    if responses[1]: kodi.set_setting('calendar-day', '-1')
    if responses[2]: kodi.set_setting('calendar_time', '2')
    if responses[3]: kodi.set_setting('source_timeout', '20')
    if responses[4]: kodi.set_setting('include_watchlist_next', 'true')
    if responses[5]: kodi.set_setting('filter_direct', 'true')
    if responses[6]: kodi.set_setting('filter_unusable', 'true')
    if responses[7]: kodi.set_setting('show_debrid', 'true')
    if responses[8]: kodi.set_setting('source_results', '0')
    if responses[9]:
        kodi.set_setting('enable_sort', 'true')
        kodi.set_setting('sort1_field', '2')
        kodi.set_setting('sort2_field', '5')
        kodi.set_setting('sort3_field', '6')
        kodi.set_setting('sort4_field', '1')
        kodi.set_setting('sort5_field', '3')
        kodi.set_setting('sort6_field', '4')

    if responses[10]:
        tiers = [
            'Local', 'Premiumize.V2', 'Premiumize.me', 'Furk.net', 'EasyNews',
            'DD.tv', 'NoobRoom',
            [
                'WatchHD', 'IFlix', 'MoviesPlanet', 'TVWTVS', 'MWM', '9Movies',
                '123Movies', 'niter.tv', 'HDMovie14', 'ororo.tv', 'm4ufree'
            ],
            [
                'StreamLord', 'CyberReel', 'MovCav', 'tunemovie', 'MovieMax',
                'afdah.org', 'xmovies8', 'xmovies8.v2', 'MovieXK'
            ],
            [
                'Rainierland', 'DayT.se', 'FardaDownload', 'zumvo.com',
                'PutMV', 'vivo.to', 'MiraDeTodo', 'beinmovie', 'FireMoviesHD'
            ],
            [
                'IzlemeyeDeger', 'SezonLukDizi', 'Dizimag', 'Dizilab',
                'Dizigold', 'Dizibox', 'Diziay', 'Dizipas', 'OneClickTVShows',
                'OnlineDizi'
            ],
            [
                'DDLValley', '2DDL', 'ReleaseBB', 'MyVideoLinks.eu', 'OCW',
                'TheExtopia', 'RLSSource.net', 'TVRelease.Net'
            ],
            [
                'IceFilms', 'WatchEpisodes', 'PrimeWire', 'tvonline',
                'SantaSeries', 'Flixanity', 'wso.ch', 'WatchSeries',
                'UFlix.org', 'Putlocker'
            ],
            [
                'MovieWatcher', 'alluc.com', 'VKFlix', 'WatchFree.to', 'pftv',
                'streamallthis.is', 'Movie4K', 'afdah', 'SolarMovie'
            ],
            [
                'MysticLand', 'MovieSub', 'MovieHut', 'CouchTunerV2',
                'CouchTunerV1', 'Watch8Now', 'yshows', 'iWatchOnline'
            ],
            [
                'Ganool', 'vidics.ch', 'pubfilm', 'eMovies.Pro',
                'OnlineMoviesPro', 'movie25', 'viooz.ac', 'view47', 'MoviesHD'
            ],
            [
                'wmo.ch', 'stream-tv.co', 'clickplay.to', 'MintMovies',
                'MovieNight', 'cmz', 'ch131', 'filmikz.ch'
            ],
            [
                'MovieTube', 'LosMovies', 'FilmStreaming.in', 'moviestorm.eu',
                'MerDB'
            ]
        ]

        sso = []
        random_sso = kodi.get_setting('random_sso') == 'true'
        for tier in tiers:
            if isinstance(tier, basestring):
                sso.append(tier)
            else:
                if random_sso:
                    random.shuffle(tier)
                sso += tier
        kodi.set_setting('source_sort_order', '|'.join(sso))

    if responses[11]: reset_base_url()
    trigger = [
        False, True, False, True, False, True, True, False, True, False, False,
        False
    ]
    if all([t == r for t, r in zip(trigger, responses)]):
        kodi.set_setting('scraper_download', 'true')

    kodi.notify(msg=i18n('auto_conf_complete'))