elif action == 'downloader': from resources.lib.modules import downloader downloader.downloader() elif action == 'addDownload': from resources.lib.modules import downloader downloader.addDownload(name,url,image) elif action == 'removeDownload': from resources.lib.modules import downloader downloader.removeDownload(url) elif action == 'startDownload': from resources.lib.modules import downloader downloader.startDownload() elif action == 'startDownloadThread': from resources.lib.modules import downloader downloader.startDownloadThread() elif action == 'stopDownload': from resources.lib.modules import downloader downloader.stopDownload() elif action == 'statusDownload': from resources.lib.modules import downloader downloader.statusDownload() elif action == 'trailer': from resources.lib.modules import trailer