Exemplo n.º 1
0
    def runDirectoryChecks(self):

        #dsPath = xbmc.translatePath(os.path.join('special://userdata/addon_data', utils.getAddonInfo('id')));
        dsPath = xbmc.translatePath(utils.addonInfo('profile'))

        self.dialog_content = os.path.join(dsPath, 'media/dialog')

        utils.checkDirectory(self.dialog_content)
Exemplo n.º 2
0
    def runDirectoryChecks(self):

        dsPath = xbmc.translatePath(utils.addonInfo('profile'));

        self.select_main = os.path.join(dsPath, 'media/select/main');
        self.select_list = os.path.join(dsPath, 'media/select/list');

        utils.checkDirectory(self.select_main);
        utils.checkDirectory(self.select_list);
Exemplo n.º 3
0
    def runDirectoryChecks(self):

        #dsPath = xbmc.translatePath(os.path.join('special://userdata/addon_data', utils.getAddonInfo('id')));
        dsPath = xbmc.translatePath(utils.addonInfo('profile'))

        self.help_about = os.path.join(dsPath, 'media/help/about')
        self.help_faq = os.path.join(dsPath, 'media/help/faq')
        self.help_support = os.path.join(dsPath, 'media/help/support')
        self.help_privacy = os.path.join(dsPath, 'media/help/privacy')
        self.help_terms = os.path.join(dsPath, 'media/help/terms')

        utils.checkDirectory(self.help_about)
        utils.checkDirectory(self.help_faq)
        utils.checkDirectory(self.help_support)
        utils.checkDirectory(self.help_privacy)
        utils.checkDirectory(self.help_terms)
    def runDirectoryChecks(self):

        #dsPath = xbmc.translatePath(os.path.join('special://userdata/addon_data', utils.getAddonInfo('id')));
        dsPath = xbmc.translatePath(utils.addonInfo('profile'))

        self.details_title = os.path.join(dsPath, 'media/details/title')
        self.details_stats = os.path.join(dsPath, 'media/details/stats')
        self.details_genre = os.path.join(dsPath, 'media/details/genre')
        self.details_desc = os.path.join(dsPath, 'media/details/desc')
        self.details_home_title = os.path.join(dsPath,
                                               'media/details/home/title')

        utils.checkDirectory(self.details_title)
        utils.checkDirectory(self.details_stats)
        utils.checkDirectory(self.details_genre)
        utils.checkDirectory(self.details_desc)
        utils.checkDirectory(self.details_home_title)
Exemplo n.º 5
0
    def runDirectoryChecks(self):

        #dsPath = xbmc.translatePath(os.path.join('special://userdata/addon_data', utils.getAddonInfo('id')));
        dsPath = xbmc.translatePath(utils.addonInfo('profile'));

        self.select_main = os.path.join(dsPath, 'media/select/main');
        self.select_list = os.path.join(dsPath, 'media/select/list');
        self.shows_list_title = os.path.join(dsPath, 'media/shows/list/title');
        self.shows_list_subtitle = os.path.join(dsPath, 'media/shows/list/subtitle');
        self.shows_list_added = os.path.join(dsPath, 'media/shows/list/added');
        self.details_home_title = os.path.join(dsPath, 'media/details/home/title');

        utils.checkDirectory(self.select_main);
        utils.checkDirectory(self.select_list);
        utils.checkDirectory(self.shows_list_title);
        utils.checkDirectory(self.shows_list_subtitle);
        utils.checkDirectory(self.shows_list_added);
        utils.checkDirectory(self.details_home_title);
    def runDirectoryChecks(self):

        #dsPath = xbmc.translatePath(os.path.join('special://userdata/addon_data', utils.getAddonInfo('id')));
        dsPath = xbmc.translatePath(utils.addonInfo('profile'))

        self.shows_search_title = os.path.join(dsPath,
                                               'media/shows/search/title')
        self.shows_search_subtitle = os.path.join(
            dsPath, 'media/shows/search/subtitle')
        self.shows_search_added = os.path.join(dsPath,
                                               'media/shows/search/added')
        self.details_search_title = os.path.join(dsPath,
                                                 'media/details/search/title')

        utils.checkDirectory(self.shows_search_title)
        utils.checkDirectory(self.shows_search_subtitle)
        utils.checkDirectory(self.shows_search_added)
        utils.checkDirectory(self.details_search_title)
    def runDirectoryChecks(self):

        #dsPath = xbmc.translatePath(os.path.join('special://userdata/addon_data', utils.getAddonInfo('id')));
        dsPath = xbmc.translatePath(utils.addonInfo('profile'))

        self.shows_list_title = os.path.join(dsPath, 'media/shows/list/title')
        self.shows_list_subtitle = os.path.join(dsPath,
                                                'media/shows/list/subtitle')
        self.shows_list_quality = os.path.join(dsPath,
                                               'media/shows/list/quality')
        self.shows_list_year = os.path.join(dsPath, 'media/shows/list/year')
        self.buttons = os.path.join(dsPath, 'media/buttons')
        self.details_home_title = os.path.join(dsPath,
                                               'media/details/home/title')

        utils.checkDirectory(self.shows_list_title)
        utils.checkDirectory(self.shows_list_subtitle)
        utils.checkDirectory(self.shows_list_quality)
        utils.checkDirectory(self.shows_list_year)
        utils.checkDirectory(self.buttons)
        utils.checkDirectory(self.details_home_title)