Esempio n. 1
0
def downloadall(senderitem,refered_item):
    from core import descargas
    itemlist = []
    descargas.downloadall(senderitem)
    itemlist.append( Item( title="Fin de todas las descargas pendientes", action="mainlist" ) )
    
    return itemlist
Esempio n. 2
0
def downloadall(senderitem,refered_item):
    from core import descargas
    itemlist = []
    descargas.downloadall(senderitem)
    itemlist.append( Item( title="Fin de todas las descargas pendientes", action="mainlist" ) )
    
    return itemlist
# -*- coding: utf-8 -*-
#------------------------------------------------------------
# Pelisalacarta script
# Descargar lista
# http://blog.tvalacarta.info/plugin-xbmc/tvalacarta/
#------------------------------------------------------------

import re,urllib,urllib2,sys,os
sys.path.append ("/root/scripts-pelisalacarta/pelisalacarta")

from core import platform_name
platform_name.PLATFORM_NAME="developer"

from core import config
config.set_setting("debug","true")

from core import scrapertools
from core.item import Item
from servers import servertools

config.set_setting("downloadlistpath","/root/scripts-pelisalacarta/documaniatv/list")
config.set_setting("downloadpath","/root/scripts-pelisalacarta/documaniatv/downloads")
from core import descargas
descargas.downloadall(None)