# coding=utf-8 import sys import datetime from subzero.sandbox import fix_environment_stuff module = sys.modules['__main__'] fix_environment_stuff(module, {}) globals = getattr(module, "__builtins__")["globals"] for key, value in getattr(module, "__builtins__").iteritems(): if key != "globals": globals()[key] = value import logger sys.modules["logger"] = logger import support import interface sys.modules["interface"] = interface from subzero.constants import OS_PLEX_USERAGENT, PERSONAL_MEDIA_IDENTIFIER from interface.menu import * from support.plex_media import media_to_videos, get_media_item_ids from support.scanning import scan_videos from support.storage import save_subtitles, store_subtitle_info, get_subtitle_storage from support.items import is_ignored from support.config import config from support.lib import get_intent
# coding=utf-8 import sys import datetime from subzero.sandbox import fix_environment_stuff module = sys.modules['__main__'] fix_environment_stuff(module, {}) globals = getattr(module, "__builtins__")["globals"] for key, value in getattr(module, "__builtins__").iteritems(): if key != "globals": globals()[key] = value import logger sys.modules["logger"] = logger import support import interface sys.modules["interface"] = interface from subzero.constants import OS_PLEX_USERAGENT, PERSONAL_MEDIA_IDENTIFIER from interface.menu import * from support.plex_media import media_to_videos, get_media_item_ids from support.scanning import scan_videos from support.storage import save_subtitles, store_subtitle_info, get_subtitle_storage from support.items import is_wanted from support.config import config from support.lib import get_intent