Songs with linked audio cause traceback

Bug #1533280 reported by Azaziah on 2016-01-12
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenLP
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) on 2016-01-12
description: updated
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) on 2016-01-15
Changed in openlp:
assignee: nobody → Tomas Groth (tomasgroth)
importance: Undecided → Medium
status: New → In Progress
Tim Bentley (trb143) on 2016-01-24
Changed in openlp:
milestone: none → 2.4.0
status: In Progress → Fix Committed
Tim Bentley (trb143) on 2016-02-05
Changed in openlp:
milestone: 2.4.0 → 2.3.3
Tim Bentley (trb143) on 2016-02-06
Changed in openlp:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers