import sbs
sbs.fill_nodes(root_node)
-### import plus7
-### plus7.fill_nodes(root_node)
-
import brightcove
brightcove.fill_nodes(root_node)
else:
return False
-def download_rtmp(filename, vbase, vpath, hash_url=None):
- filename = sanify_filename(filename)
- print "Downloading: %s" % filename
- if vpath.endswith(".flv"):
- vpath = vpath[:-4]
- cmd = [
- "rtmpdump",
- "-o", filename,
- "-r", vbase,
- "-y", vpath,
- ]
- if hash_url is not None:
- cmd += ["--swfVfy", hash_url]
- if exec_subprocess(cmd):
- return convert_to_mp4(filename)
- else:
- return False
-
def natural_sort(l, key=None):
ignore_list = ["a", "the"]
def key_func(k):