# Thumbnails for item list FILE_ICON = os.path.join(plugintools.get_runtime_path(), 'resources', 'images', 'file.png') FOLDER_ICON = os.path.join(plugintools.get_runtime_path(), 'resources', 'images', 'folder.png') IMAGE_ICON = os.path.join(plugintools.get_runtime_path(), 'resources', 'images', 'image.png') MUSIC_ICON = os.path.join(plugintools.get_runtime_path(), 'resources', 'images', 'music.png') VIDEO_ICON = os.path.join(plugintools.get_runtime_path(), 'resources', 'images', 'video.png') DOWNLOAD_PATH = os.path.join(plugintools.get_data_path(), "downloads") plugintools.log("mega.init Creating...") mega = Mega() maindialog.update(50, "Connecting...") plugintools.log("mega.init Login...") USERNAME = plugintools.get_setting("username") PASSWORD = plugintools.get_setting("password") #plugintools.log("mega.init USERNAME="******"mega.init PASSWORD="******"": plugintools.open_settings_dialog()