Head r1904

This commit is contained in:
Jon Tibble 2012-03-13 22:19:14 +00:00
commit 1882ea59f2
1 changed files with 4 additions and 1 deletions

View File

@ -325,7 +325,10 @@ class ServiceItem(object):
if u'media_length' in header:
self.media_length = header[u'media_length']
if u'background_audio' in header:
self.background_audio = header[u'background_audio']
self.background_audio = []
for filename in header[u'background_audio']:
# Give them real file paths
self.background_audio.append(os.path.join(path, filename))
self.theme_overwritten = header.get(u'theme_overwritten', False)
if self.service_item_type == ServiceItemType.Text:
for slide in serviceitem[u'serviceitem'][u'data']: