← Back to team overview

openlp-core team mailing list archive

[Bug 1533280] Re: Songs with linked audio cause traceback

 

** Changed in: openlp
   Importance: Undecided => Medium

** Changed in: openlp
       Status: New => In Progress

** Changed in: openlp
     Assignee: (unassigned) => Tomas Groth (tomasgroth)

-- 
You received this bug notification because you are a member of OpenLP
Core, which is subscribed to OpenLP.
https://bugs.launchpad.net/bugs/1533280

Title:
  Songs with linked audio cause traceback

Status in OpenLP:
  In Progress

Bug description:
  Trunk revision n. 2605 / Win 64 bit python

  If song has linked audio, it triggers the following
  traceback instead of going live:

  Traceback (most recent call last):
    File "E:\bzr\openlp\trunk\openlp\core\lib\mediamanageritem.py", line 459, in on_double_clicked
      self.on_live_click()
    File "E:\bzr\openlp\trunk\openlp\core\lib\mediamanageritem.py", line 500, in on_live_click
      self.go_live()
    File "E:\bzr\openlp\trunk\openlp\core\lib\mediamanageritem.py", line 527, in go_live
      self.live_controller.add_service_item(service_item)
    File "E:\bzr\openlp\trunk\openlp\core\ui\slidecontroller.py", line 779, in add_service_item
      self._process_item(item, slide_no)
    File "E:\bzr\openlp\trunk\openlp\core\ui\slidecontroller.py", line 849, in _process_item
      self.display.audio_player.add_to_playlist(self.service_item.background_audio)
    File "E:\bzr\openlp\trunk\openlp\core\ui\maindisplay.py", line 646, in add_to_playlist
      self.playlist.addMedia(QtCore.QUrl(file_name))
  TypeError: arguments did not match any overloaded call:
    QMediaPlaylist.addMedia(QMediaContent): argument 1 has unexpected type 'QUrl'
    QMediaPlaylist.addMedia(list-of-QMediaContent): argument 1 has unexpected type 'QUrl'

To manage notifications about this bug go to:
https://bugs.launchpad.net/openlp/+bug/1533280/+subscriptions


References