Songs with linked audio cause traceback

Bug #1533280 reported by Azaziah
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenLP
Fix Released
Medium
Tomas Groth

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'

Related branches

Azaziah (suutari-olli)
description: updated
Revision history for this message
Wolodja Moros (wolodja-moros) wrote :

affects also Linux Debian Jessie 64 Bit

Traceback (most recent call last):
  File "/usr/share/openlp/openlp/core/ui/servicemanager.py", line 1466, in on_make_live
    self.make_live()
  File "/usr/share/openlp/openlp/core/ui/servicemanager.py", line 1482, in make_live
    self.live_controller.add_service_manager_item(self.service_items[item]['service_item'], child)
  File "/usr/share/openlp/openlp/core/ui/slidecontroller.py", line 808, in add_service_manager_item
    self._process_item(item, slide_num)
  File "/usr/share/openlp/openlp/core/ui/slidecontroller.py", line 849, in _process_item
    self.display.audio_player.add_to_playlist(self.service_item.background_audio)
  File "/usr/share/openlp/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'

Tomas Groth (tomasgroth)
Changed in openlp:
assignee: nobody → Tomas Groth (tomasgroth)
importance: Undecided → Medium
status: New → In Progress
Tim Bentley (trb143)
Changed in openlp:
milestone: none → 2.4.0
status: In Progress → Fix Committed
Tim Bentley (trb143)
Changed in openlp:
milestone: 2.4.0 → 2.3.3
Tim Bentley (trb143)
Changed in openlp:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.