aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Plugins/Extensions
diff options
context:
space:
mode:
authorAndreas Frisch <andreas.frisch@multimedia-labs.de>2008-09-03 16:19:13 +0000
committerAndreas Frisch <andreas.frisch@multimedia-labs.de>2008-09-03 16:19:13 +0000
commit5d17d6c6fdcb54f655825716084fb4bea871f50f (patch)
tree5cb2adcb7f4cf726ab7069d9ce06c3e47b3cd350 /lib/python/Plugins/Extensions
parent2dc13ab463d67b1255ec31cbe2b27cafef318dbe (diff)
downloadenigma2-5d17d6c6fdcb54f655825716084fb4bea871f50f.tar.gz
enigma2-5d17d6c6fdcb54f655825716084fb4bea871f50f.zip
fix hardcoded path bug, prettify xml output
Diffstat (limited to 'lib/python/Plugins/Extensions')
-rw-r--r--lib/python/Plugins/Extensions/DVDBurn/DVDProject.py20
-rw-r--r--lib/python/Plugins/Extensions/DVDBurn/TitleList.py3
2 files changed, 12 insertions, 11 deletions
diff --git a/lib/python/Plugins/Extensions/DVDBurn/DVDProject.py b/lib/python/Plugins/Extensions/DVDBurn/DVDProject.py
index 48a75544..23f7a843 100644
--- a/lib/python/Plugins/Extensions/DVDBurn/DVDProject.py
+++ b/lib/python/Plugins/Extensions/DVDBurn/DVDProject.py
@@ -37,16 +37,16 @@ class DVDProject:
list.append(' vmgm="' + self.vmgm + '"')
list.append(' />\n')
list.append('\t<menu')
- list.append(' bg="' + self.menubg + '"')
- list.append(' audio="' + self.menuaudio + '"')
- list.append(' color_button="' + str(self.color_button) + '"')
- list.append(' color_highlight="' + str(self.color_highlight) + '"')
- list.append(' color_headline="' + str(self.color_headline) + '"')
- list.append(' font_face="' + self.font_face + '"')
- list.append(' font_size="' + str(self.font_size) + '"')
- list.append(' space_left="' + str(self.space_left) + '"')
- list.append(' space_top="' + str(self.space_top) + '"')
- list.append(' space_rows="' + str(self.space_rows) + '"')
+ list.append('\tbg="' + self.menubg + '"\n')
+ list.append('\t\taudio="' + self.menuaudio + '"\n')
+ list.append('\t\tcolor_button="' + str(self.color_button) + '"\n')
+ list.append('\t\tcolor_highlight="' + str(self.color_highlight) + '"\n')
+ list.append('\t\tcolor_headline="' + str(self.color_headline) + '"\n')
+ list.append('\t\tfont_face="' + self.font_face + '"\n')
+ list.append('\t\tfont_size="' + str(self.font_size) + '"\n')
+ list.append('\t\tspace_left="' + str(self.space_left) + '"\n')
+ list.append('\t\tspace_top="' + str(self.space_top) + '"\n')
+ list.append('\t\tspace_rows="' + str(self.space_rows) + '"')
list.append(' />\n')
list.append('\t<titles>\n')
for title in self.titles:
diff --git a/lib/python/Plugins/Extensions/DVDBurn/TitleList.py b/lib/python/Plugins/Extensions/DVDBurn/TitleList.py
index 2cbdf0b2..c62fe03b 100644
--- a/lib/python/Plugins/Extensions/DVDBurn/TitleList.py
+++ b/lib/python/Plugins/Extensions/DVDBurn/TitleList.py
@@ -206,7 +206,8 @@ class TitleList(Screen):
self.updateTitleList()
def saveProject(self):
- self.project.saveProject("/testProgs/dvd/")
+ from Tools.Directories import resolveFilename, SCOPE_PLAYLIST
+ self.project.saveProject(resolveFilename(SCOPE_PLAYLIST))
def burnProject(self):
self.project.waitboxref = self.project.session.open(WaitBox,self.burnProjectCB)