forked from openlp/openlp
Fix from misalignment
This commit is contained in:
parent
69b2bcb21f
commit
431a5fbb15
@ -456,12 +456,6 @@ class ServiceItem(object):
|
||||
if length > 0:
|
||||
self.add_capability(ItemCapabilities.HasVariableStartTime)
|
||||
|
||||
def get_filename(self):
|
||||
"""
|
||||
Returns the full filename
|
||||
"""
|
||||
return os.path.join(self.get_frame_path(), self.get_frame_title())
|
||||
|
||||
def get_frames(self):
|
||||
"""
|
||||
Returns the frames for the ServiceItem
|
||||
|
@ -379,7 +379,7 @@ class MediaController(object):
|
||||
controller.media_info.volume = controller.volumeSlider.value()
|
||||
controller.media_info.is_background = False
|
||||
controller.media_info.file_info = \
|
||||
QtCore.QFileInfo(serviceItem.get_filename())
|
||||
QtCore.QFileInfo(serviceItem.get_frame_path())
|
||||
display = self._define_display(controller)
|
||||
if controller.isLive:
|
||||
isValid = self._check_file_type(controller, display, serviceItem)
|
||||
|
Loading…
Reference in New Issue
Block a user