def clear_cache(self):
        control.idle()

        yes = control.yesnoDialog(control.lang(32056).encode('utf-8'), '', '')

        if not yes:
            return

        cache.delete_file()

        control.infoDialog(control.lang(32057).encode('utf-8'), sound=True, icon='INFO')
    def clearCache(self):
        control.idle()
        yes = control.yesnoDialog(control.lang(32056).encode('utf-8'), '', '')
        if not yes: return
        cache.delete_file()

        control.setSetting("sexyhot_credentials", None)
        control.setSetting("globosat_credentials", None)
        control.setSetting("globoplay_credentials", None)

        control.infoDialog(control.lang(32057).encode('utf-8'),
                           sound=True,
                           icon='INFO')