[gnome-getting-started-docs] update folder name changes in the render scripts
- From: Jakub Steiner <jimmac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-getting-started-docs] update folder name changes in the render scripts
- Date: Mon, 11 Mar 2013 11:59:35 +0000 (UTC)
commit c1b85b46392b47017ccab621b46e443bf6f58ee5
Author: Jakub Steiner <jimmac gmail com>
Date: Mon Mar 11 12:58:50 2013 +0100
update folder name changes in the render scripts
animation/gnome-change-wallpaper.py | 4 ++--
animation/gnome-launching-applications.py | 4 ++--
animation/gnome-responding-to-messages.py | 4 ++--
animation/gnome-task-switching.py | 4 ++--
animation/gnome-timezone.py | 4 ++--
animation/gnome-windows-and-workspaces.py | 4 ++--
animation/gnome-yelp-intro.py | 4 ++--
7 files changed, 14 insertions(+), 14 deletions(-)
---
diff --git a/animation/gnome-change-wallpaper.py b/animation/gnome-change-wallpaper.py
index 453a1a0..3e549e0 100644
--- a/animation/gnome-change-wallpaper.py
+++ b/animation/gnome-change-wallpaper.py
@@ -29,7 +29,7 @@ def transcode(lang):
regexobj = re.search(r"^(.*\/)*(.*)(\.blend)$", bpy.data.filepath)
framepath = renderpathabs
webmfile = "%s.webm" % (regexobj.group(2))
- transcodepath = "../getting-started/%s/figures/" % (lang)
+ transcodepath = "../gnome-help/%s/figures/" % (lang)
#print(transcodepath,webmfile,sndfile,framepath)
transcodecmd = "gst-launch-1.0 webmmux name=mux ! filesink location=\"%s/%s\" file://%s ! decodebin !
audioconvert ! vorbisenc bitrate=96000 ! mux. multifilesrc location=\"%s/%%04d.png\" index=1
caps=\"image/png,framerate=\(fraction\)24/1\" ! pngdec ! videoconvert ! videoscale ! video/x-raw,
width=854,height=480 ! videorate ! vp8enc threads=12 target-bitrate=200000 ! mux." %
(transcodepath,webmfile,sndfile,framepath)
@@ -46,7 +46,7 @@ def main():
langs = open('language-whitelist.txt').readlines()
for lang in langs:
lang = lang.strip()
- xmlfile = ET.parse('../getting-started/' + lang + '/animation.xml')
+ xmlfile = ET.parse('../gnome-help/' + lang + '/animation.xml')
t[lang] = xmlfile.getroot()
for lang in t:
diff --git a/animation/gnome-launching-applications.py b/animation/gnome-launching-applications.py
index 231d4d0..587e5f5 100644
--- a/animation/gnome-launching-applications.py
+++ b/animation/gnome-launching-applications.py
@@ -28,7 +28,7 @@ def transcode(lang):
regexobj = re.search(r"^(.*\/)*(.*)(\.blend)$", bpy.data.filepath)
framepath = renderpathabs
webmfile = "%s.webm" % (regexobj.group(2))
- transcodepath = "../getting-started/%s/figures/" % (lang)
+ transcodepath = "../gnome-help/%s/figures/" % (lang)
#print(transcodepath,webmfile,sndfile,framepath)
transcodecmd = "gst-launch-1.0 webmmux name=mux ! filesink location=\"%s/%s\" file://%s ! decodebin !
audioconvert ! vorbisenc bitrate=96000 ! mux. multifilesrc location=\"%s/%%04d.png\" index=1
caps=\"image/png,framerate=\(fraction\)24/1\" ! pngdec ! videoconvert ! videoscale ! video/x-raw,
width=854,height=480 ! videorate ! vp8enc threads=12 target-bitrate=200000 ! mux." %
(transcodepath,webmfile,sndfile,framepath)
@@ -48,7 +48,7 @@ def main():
for lang in langs:
lang = lang.strip()
#t[lang] = yaml.load(open('translations/'+file))
- xmlfile = ET.parse('../getting-started/' + lang + '/animation.xml')
+ xmlfile = ET.parse('../gnome-help/' + lang + '/animation.xml')
t[lang] = xmlfile.getroot()
for textobj in t[lang].findall('t'):
if textobj.get('id') in bpy.data.objects: #prelozit jestli existuje jako index
diff --git a/animation/gnome-responding-to-messages.py b/animation/gnome-responding-to-messages.py
index 739c725..d6a3017 100644
--- a/animation/gnome-responding-to-messages.py
+++ b/animation/gnome-responding-to-messages.py
@@ -28,7 +28,7 @@ def transcode(lang):
regexobj = re.search(r"^(.*\/)*(.*)(\.blend)$", bpy.data.filepath)
framepath = renderpathabs
webmfile = "%s.webm" % (regexobj.group(2))
- transcodepath = "../getting-started/%s/figures/" % (lang)
+ transcodepath = "../gnome-help/%s/figures/" % (lang)
#print(transcodepath,webmfile,sndfile,framepath)
transcodecmd = "gst-launch-1.0 webmmux name=mux ! filesink location=\"%s/%s\" file://%s ! decodebin !
audioconvert ! vorbisenc bitrate=96000 ! mux. multifilesrc location=\"%s/%%04d.png\" index=1
caps=\"image/png,framerate=\(fraction\)24/1\" ! pngdec ! videoconvert ! videoscale ! video/x-raw,
width=854,height=480 ! videorate ! vp8enc threads=12 target-bitrate=200000 ! mux." %
(transcodepath,webmfile,sndfile,framepath)
@@ -46,7 +46,7 @@ def main():
langs = open('language-whitelist.txt').readlines()
for lang in langs:
lang = lang.strip()
- xmlfile = ET.parse('../getting-started/' + lang + '/animation.xml')
+ xmlfile = ET.parse('../gnome-help/' + lang + '/animation.xml')
t[lang] = xmlfile.getroot()
for textobj in t[lang].findall('t'):
if textobj.get('id') in bpy.data.objects: #prelozit jestli existuje jako index
diff --git a/animation/gnome-task-switching.py b/animation/gnome-task-switching.py
index 824299b..831e13f 100644
--- a/animation/gnome-task-switching.py
+++ b/animation/gnome-task-switching.py
@@ -28,7 +28,7 @@ def transcode(lang):
regexobj = re.search(r"^(.*\/)*(.*)(\.blend)$", bpy.data.filepath)
framepath = renderpathabs
webmfile = "%s.webm" % (regexobj.group(2))
- transcodepath = "../getting-started/%s/figures/" % (lang)
+ transcodepath = "../gnome-help/%s/figures/" % (lang)
#print(transcodepath,webmfile,sndfile,framepath)
transcodecmd = "gst-launch-1.0 webmmux name=mux ! filesink location=\"%s/%s\" file://%s ! decodebin !
audioconvert ! vorbisenc bitrate=96000 ! mux. multifilesrc location=\"%s/%%04d.png\" index=1
caps=\"image/png,framerate=\(fraction\)24/1\" ! pngdec ! videoconvert ! videoscale ! video/x-raw,
width=854,height=480 ! videorate ! vp8enc threads=12 target-bitrate=200000 ! mux." %
(transcodepath,webmfile,sndfile,framepath)
@@ -46,7 +46,7 @@ def main():
langs = open('language-whitelist.txt').readlines()
for lang in langs:
lang = lang.strip()
- xmlfile = ET.parse('../getting-started/' + lang + '/animation.xml')
+ xmlfile = ET.parse('../gnome-help/' + lang + '/animation.xml')
t[lang] = xmlfile.getroot()
for textobj in t[lang].findall('t'):
if textobj.get('id') in bpy.data.objects: #prelozit jestli existuje jako index
diff --git a/animation/gnome-timezone.py b/animation/gnome-timezone.py
index f251435..fb0b558 100644
--- a/animation/gnome-timezone.py
+++ b/animation/gnome-timezone.py
@@ -29,7 +29,7 @@ def transcode(lang):
regexobj = re.search(r"^(.*\/)*(.*)(\.blend)$", bpy.data.filepath)
framepath = renderpathabs
webmfile = "%s.webm" % (regexobj.group(2))
- transcodepath = "../getting-started/%s/figures/" % (lang)
+ transcodepath = "../gnome-help/%s/figures/" % (lang)
#print(transcodepath,webmfile,sndfile,framepath)
transcodecmd = "gst-launch-1.0 webmmux name=mux ! filesink location=\"%s/%s\" file://%s ! decodebin !
audioconvert ! vorbisenc bitrate=96000 ! mux. multifilesrc location=\"%s/%%04d.png\" index=1
caps=\"image/png,framerate=\(fraction\)24/1\" ! pngdec ! videoconvert ! videoscale ! video/x-raw,
width=854,height=480 ! videorate ! vp8enc threads=12 target-bitrate=200000 ! mux." %
(transcodepath,webmfile,sndfile,framepath)
@@ -46,7 +46,7 @@ def main():
langs = open('language-whitelist.txt').readlines()
for lang in langs:
lang = lang.strip()
- xmlfile = ET.parse('../getting-started/' + lang + '/animation.xml')
+ xmlfile = ET.parse('../gnome-help/' + lang + '/animation.xml')
t[lang] = xmlfile.getroot()
for lang in t:
diff --git a/animation/gnome-windows-and-workspaces.py b/animation/gnome-windows-and-workspaces.py
index 0260045..4d09f34 100644
--- a/animation/gnome-windows-and-workspaces.py
+++ b/animation/gnome-windows-and-workspaces.py
@@ -29,7 +29,7 @@ def transcode(lang):
regexobj = re.search(r"^(.*\/)*(.*)(\.blend)$", bpy.data.filepath)
framepath = renderpathabs
webmfile = "%s.webm" % (regexobj.group(2))
- transcodepath = "../getting-started/%s/figures/" % (lang)
+ transcodepath = "../gnome-help/%s/figures/" % (lang)
#print(transcodepath,webmfile,sndfile,framepath)
transcodecmd = "gst-launch-1.0 webmmux name=mux ! filesink location=\"%s/%s\" file://%s ! decodebin !
audioconvert ! vorbisenc bitrate=96000 ! mux. multifilesrc location=\"%s/%%04d.png\" index=1
caps=\"image/png,framerate=\(fraction\)24/1\" ! pngdec ! videoconvert ! videoscale ! video/x-raw,
width=854,height=480 ! videorate ! vp8enc threads=12 target-bitrate=200000 ! mux." %
(transcodepath,webmfile,sndfile,framepath)
@@ -48,7 +48,7 @@ def main():
langs = open('language-whitelist.txt').readlines()
for lang in langs:
lang = lang.strip()
- xmlfile = ET.parse('../getting-started/' + lang + '/animation.xml')
+ xmlfile = ET.parse('../gnome-help/' + lang + '/animation.xml')
t[lang] = xmlfile.getroot()
for textobj in t[lang].findall('t'):
if textobj.get('id') in bpy.data.objects: #prelozit jestli existuje jako index
diff --git a/animation/gnome-yelp-intro.py b/animation/gnome-yelp-intro.py
index 4c6f3f0..42dc5f5 100644
--- a/animation/gnome-yelp-intro.py
+++ b/animation/gnome-yelp-intro.py
@@ -28,7 +28,7 @@ def transcode(lang):
regexobj = re.search(r"^(.*\/)*(.*)(\.blend)$", bpy.data.filepath)
framepath = renderpathabs
webmfile = "%s.webm" % (regexobj.group(2))
- transcodepath = "../getting-started/%s/figures/" % (lang)
+ transcodepath = "../gnome-help/%s/figures/" % (lang)
#print(transcodepath,webmfile,sndfile,framepath)
transcodecmd = "gst-launch-1.0 webmmux name=mux ! filesink location=\"%s/%s\" file://%s ! decodebin !
audioconvert ! vorbisenc bitrate=128000 ! mux. multifilesrc location=\"%s/%%04d.png\" index=1
caps=\"image/png,framerate=\(fraction\)24/1\" ! pngdec ! videoconvert ! videoscale ! videorate ! vp8enc
threads=12 ! mux." % (transcodepath,webmfile,sndfile,framepath)
@@ -45,7 +45,7 @@ def main():
langs = open('language-whitelist.txt').readlines()
for lang in langs:
lang = lang.strip()
- xmlfile = ET.parse('../getting-started/' + lang + '/animation.xml')
+ xmlfile = ET.parse('../gnome-help/' + lang + '/animation.xml')
t[lang] = xmlfile.getroot()
for textobj in t[lang].findall('t'):
if textobj.get('id') in bpy.data.objects: #prelozit jestli existuje jako index
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]