Public bug reported:

After a media-hub crash (or even a manual kill $(pidof media-hub-server) ), 
existing sessions are not being invalidated/recreated.
That causes telephony-service-indicator to stop playing notifications for new 
messages, as it always reuse the same instance.

In dbus we see it is still trying to use an invalid session:
-----
method call sender=:1.132 -> dest=core.ubuntu.media.Service serial=77706 
path=/core/ubuntu/media/Service/sessions/3; 
interface=org.mpris.MediaPlayer2.Player; member=OpenUri
   string "file:///usr/share/sounds/ubuntu/notifications/Xylo.ogg"
error sender=:1.485 -> dest=:1.132 
error_name=org.freedesktop.DBus.Error.UnknownMethod reply_serial=77706
   string "Method "OpenUri" with signature "s" on interface 
"org.mpris.MediaPlayer2.Player" doesn't exist
"
---

And the logs are being flooded with the following message:

-----
Failed to get current playback position:  org.freedesktop.DBus.Error.UnknownMeth
od: Method "Get" with signature "ss" on interface "org.freedesktop.DBus.Properti
es" doesn't exist
------

AalMediaPlayerService creates both the media session and the media hub
control instance in its constructor, but it does not seem to manage
media-hub appearing/disappearing on dbus.

** Affects: qtubuntu-media (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  Sessions are not recreated after a media-hub crash

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtubuntu-media/+bug/1506953/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to