Ejemplo n.º 1
0
def delanime(params):
    title = params["title"]
    channel = params["channel"]

    config.removeRecording(channel)

    path = "html/video/"+title
    if title != "" and os.path.exists(path):
        shutil.rmtree(path)

    return True, {"result" : "success"}
Ejemplo n.º 2
0
def delrec(params):
    channel = params["channel"]
    config.removeRecording(channel)

    return True, None