Invoking a MediaScanner via D-Bus doesn't seem to work anymore

Bug #367612 reported by Paul van Tilburg
0
Affects Status Importance Assigned to Milestone
D-Bus
New
Undecided
Unassigned

Bug Description

I use the following script to call an Elisa rescan when I've changed something on disk to the Elisa Video or Music library:

---
#!/bin/sh

dbus-send --dest=com.fluendo.Elisa \
  /com/fluendo/Elisa/Plugins/Database/MediaScanner \
  com.fluendo.Elisa.Plugins.Database.MediaScanner.start
---

However, since an unknown number of releases ago, this stopped working. Nothing seems to happend when I run it.

Revision history for this message
Philippe Normand (philn) wrote :

Works with d-feet but not with dbus-send. Does dbus-send works for other calls?

Revision history for this message
Paul van Tilburg (paulvt) wrote :

Indeed, other commands also do not work using d-bus send, e.g.:
dbus-send --dest=com.fluendo.Elisa \
    /com/fluendo/Elisa/Plugins/Poblesec/AudioPlayer \
    com.fluendo.Elisa.Plugins.Poblesec.AudioPlayer.toggle_pause

Revision history for this message
Paul van Tilburg (paulvt) wrote :

Uhm, ok... if I add --print-reply to the command line it works?

Revision history for this message
Philippe Normand (philn) wrote :

Any update on this?

Revision history for this message
Paul van Tilburg (paulvt) wrote :

Well, I'm using it happily now with --print-reply, though noone seems to be able to offer me a reason why. Probably, it's a dbus-send and this bug can be closed if you agree.

Revision history for this message
Philippe Normand (philn) wrote :

Reassigning to dbus as this issue doesn't seem to be specific to Elisa

affects: elisa → dbus
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.