Fix variable

This commit is contained in:
Tim Bentley 2011-03-17 20:02:33 +00:00
parent f51b91c02d
commit e19e418a56

View File

@ -147,7 +147,7 @@ class MediaMediaItem(MediaManagerItem):
tme = end - start tme = end - start
if tme.total_seconds() > 5: if tme.total_seconds() > 5:
break break
if self.mediaLength > 0: if self.mediaState:
service_item.media_length = self.mediaLength service_item.media_length = self.mediaLength
service_item.add_capability( service_item.add_capability(
ItemCapabilities.AllowsVariableStartTime) ItemCapabilities.AllowsVariableStartTime)