diff options
| author | Andreas Frisch <andreas.frisch@multimedia-labs.de> | 2008-09-11 19:31:46 +0000 |
|---|---|---|
| committer | Andreas Frisch <andreas.frisch@multimedia-labs.de> | 2008-09-11 19:31:46 +0000 |
| commit | 17cd8cc301444bb2c81b50c9e57f15ef1de0987a (patch) | |
| tree | 57aef366779eec7630b78feb11648e8f30a47f89 /lib/python/Plugins/Extensions/DVDBurn/Process.py | |
| parent | cc8dceba41cdc3f1cb5a16c86bd3676101233c00 (diff) | |
| download | enigma2-17cd8cc301444bb2c81b50c9e57f15ef1de0987a.tar.gz enigma2-17cd8cc301444bb2c81b50c9e57f15ef1de0987a.zip | |
read audio stream formats and descriptions from PMT and use them for DVD authoring
Diffstat (limited to 'lib/python/Plugins/Extensions/DVDBurn/Process.py')
| -rw-r--r-- | lib/python/Plugins/Extensions/DVDBurn/Process.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/python/Plugins/Extensions/DVDBurn/Process.py b/lib/python/Plugins/Extensions/DVDBurn/Process.py index 74de6aa7..12d85b45 100644 --- a/lib/python/Plugins/Extensions/DVDBurn/Process.py +++ b/lib/python/Plugins/Extensions/DVDBurn/Process.py @@ -523,6 +523,8 @@ def CreateAuthoringXML(job): authorxml.append(' </menus>\n') authorxml.append(' <titles>\n') for i in range( nr_titles ): + for audiotrack in job.project.titles[i].audiotracks: + authorxml.append(' <audio format="'+audiotrack[0]+'" lang="'+audiotrack[1]+'" />\n') chapters = ','.join(["%d:%02d:%02d.%03d" % (p / (90000 * 3600), p % (90000 * 3600) / (90000 * 60), p % (90000 * 60) / 90000, (p % 90000) / 90) for p in job.project.titles[i].chaptermarks]) title_no = i+1 title_filename = job.workspace + "/dvd_title_%d.mpg" % (title_no) |
