diff --git a/openlp/plugins/songs/lib/mediaitem.py b/openlp/plugins/songs/lib/mediaitem.py index 4a1271d35..ec9974037 100644 --- a/openlp/plugins/songs/lib/mediaitem.py +++ b/openlp/plugins/songs/lib/mediaitem.py @@ -628,9 +628,11 @@ class SongMediaItem(MediaManagerItem): if State().check_preconditions('media'): service_item.add_capability(ItemCapabilities.HasBackgroundAudio) total_length = 0 + # We could have stored multiple files but only the first one will be played. for m in song.media_files: total_length += self.media_controller.media_length(m.file_path) - service_item.background_audio = [(m.file_path, m.file_hash) for m in song.media_files] + service_item.background_audio = [(m.file_path, m.file_hash)] + break service_item.set_media_length(total_length) service_item.metadata.append('{label}: {media}'. format(label=translate('SongsPlugin.MediaItem', 'Media'),