[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
mpDris2 failes to show notifications
From: |
Simon Streit |
Subject: |
mpDris2 failes to show notifications |
Date: |
Thu, 19 Nov 2020 21:09:27 +0100 |
User-agent: |
mu4e 1.4.13; emacs 27.1 |
Hello,
while I am setting up notifications, mdDris2 appears to fail to pass
them on properly. Otherwise all notifications from other programmes work
fine.
If I call it with mpDris2 -d, messages are generated at: [1]
But then if I monitor that over with dbus-monitor I get the following
result: [2]
The only thing that I can see so far is, that at some point dbus-monitor
says "The name org.freedesktop.DBus was not provided by any .service
files", and that's it.
I've tested it with xfce4-notifyd and dunst.
Has anyone noticed this yet?
Cheers, Simon
[1]
--8<---------------cut here---------------start------------->8---
2020-11-19 20:55:30,069 mpd DEBUG: Calling MPD noidle[]
2020-11-19 20:55:30,069 .mpDris2-real DEBUG: Left idle
2020-11-19 20:55:30,069 .mpDris2-real DEBUG: Sending command 'currentsong' (was
idle? False)
2020-11-19 20:55:30,069 mpd DEBUG: Calling MPD currentsong()
2020-11-19 20:55:30,070 .mpDris2-real DEBUG: Sending command 'status' (was
idle? False)
2020-11-19 20:55:30,070 mpd DEBUG: Calling MPD status()
2020-11-19 20:55:30,071 .mpDris2-real DEBUG: _update_properties: current song =
{'file': 'Can/CAN/01 All Gates Open.mp3', 'last-modified':
'2020-06-14T10:44:50Z', 'artist': 'Can', 'album': 'CAN', 'albumartistsort':
['Can', 'Can'], 'title': 'All Gates Open', 'track': '1', 'genre': 'Krautrock,
Classic Rock, Progressive Rock, Pop, Rock', 'date': '1978', 'disc': '1',
'albumartist': 'Can', 'musicbrainz_artistid':
'13501c7d-d181-45ba-af52-5f101d8516a0', 'musicbrainz_albumid':
'4e308e75-0843-3fbd-8ed7-7db77480571e', 'musicbrainz_albumartistid':
'13501c7d-d181-45ba-af52-5f101d8516a0', 'musicbrainz_releasetrackid':
'802feac8-d961-3226-a2ca-b9f55edac5bf', 'time': '502', 'duration': '502.256',
'pos': '0', 'id': '10'}
2020-11-19 20:55:30,071 .mpDris2-real DEBUG: _update_properties: current status
= {'volume': '54', 'repeat': '1', 'random': '0', 'single': '0', 'consume': '0',
'partition': 'default', 'playlist': '14', 'playlistlength': '8', 'mixrampdb':
'0.000000', 'state': 'play', 'song': '0', 'songid': '10', 'time': '6:502',
'elapsed': '5.578', 'bitrate': '320', 'duration': '502.256', 'audio':
'44100:f:2', 'nextsong': '1', 'nextsongid': '11'}
2020-11-19 20:55:30,071 .mpDris2-real DEBUG: Expected pos 6.432, actual 5.578,
diff -0.8540000000000001
2020-11-19 20:55:30,071 .mpDris2-real DEBUG: Old position was 0.432 at
1605815724 (6 seconds ago)
2020-11-19 20:55:30,071 .mpDris2-real DEBUG: Seeked to 5578000
2020-11-19 20:55:30,072 mpd DEBUG: Calling MPD idle[]
2020-11-19 20:55:30,072 .mpDris2-real DEBUG: Entered idle
2020-11-19 20:55:30,077 mpd DEBUG: Calling MPD noidle[]
2020-11-19 20:55:30,077 .mpDris2-real DEBUG: Left idle
2020-11-19 20:55:30,078 .mpDris2-real DEBUG: Sending command 'next' (was idle?
True)
2020-11-19 20:55:30,078 mpd DEBUG: Calling MPD next()
2020-11-19 20:55:30,091 mpd DEBUG: Calling MPD idle[]
2020-11-19 20:55:30,092 .mpDris2-real DEBUG: Entered idle
2020-11-19 20:55:30,093 .mpDris2-real DEBUG: Socket event <flags G_IO_IN of
type GLib.IOCondition> on fd <__main__.MPDWrapper object at 0x7ff6af5c0f10>
2020-11-19 20:55:30,095 .mpDris2-real DEBUG: Idle events: [{'changed':
'player'}]
2020-11-19 20:55:30,095 .mpDris2-real DEBUG: Sending command 'currentsong' (was
idle? False)
2020-11-19 20:55:30,096 mpd DEBUG: Calling MPD currentsong()
2020-11-19 20:55:30,097 .mpDris2-real DEBUG: Sending command 'status' (was
idle? False)
2020-11-19 20:55:30,101 mpd DEBUG: Calling MPD status()
2020-11-19 20:55:30,105 .mpDris2-real DEBUG: _update_properties: current song =
{'file': 'Can/CAN/02 Safe.mp3', 'last-modified': '2020-06-14T10:44:50Z',
'artist': 'Can', 'album': 'CAN', 'albumartistsort': ['Can', 'Can'], 'title':
'Safe', 'track': '2', 'genre': 'Krautrock, Classic Rock, Progressive Rock, Pop,
Rock', 'date': '1978', 'disc': '1', 'albumartist': 'Can',
'musicbrainz_artistid': '13501c7d-d181-45ba-af52-5f101d8516a0',
'musicbrainz_albumid': '4e308e75-0843-3fbd-8ed7-7db77480571e',
'musicbrainz_albumartistid': '13501c7d-d181-45ba-af52-5f101d8516a0',
'musicbrainz_releasetrackid': 'c4d06004-7f4e-3bc5-a08a-0175484da23c', 'time':
'516', 'duration': '516.493', 'pos': '1', 'id': '11'}
2020-11-19 20:55:30,105 .mpDris2-real DEBUG: _update_properties: current status
= {'volume': '54', 'repeat': '1', 'random': '0', 'single': '0', 'consume': '0',
'partition': 'default', 'playlist': '14', 'playlistlength': '8', 'mixrampdb':
'0.000000', 'state': 'play', 'song': '1', 'songid': '11', 'time': '0:516',
'elapsed': '0.227', 'bitrate': '320', 'duration': '516.493', 'audio':
'44100:f:2', 'nextsong': '2', 'nextsongid': '12'}
2020-11-19 20:55:30,106 .mpDris2-real DEBUG: Updated property: Metadata =
dbus.Dictionary({'xesam:album': 'CAN', 'xesam:title': 'Safe', 'mpris:trackid':
dbus.ObjectPath('/org/mpris/MediaPlayer2/Track/11'), 'mpris:length':
dbus.Int64(516000000), 'xesam:contentCreated': '1978', 'xesam:trackNumber': 2,
'xesam:discNumber': 1, 'xesam:artist': ['Can'], 'xesam:url':
'file:///home/user/Music/Can/CAN/02 Safe.mp3', 'mpris:artUrl':
'file:///home/user/Music/Can/CAN/cover.jpg'}, signature=dbus.Signature('sv'))
2020-11-19 20:55:30,107 mpd DEBUG: Calling MPD idle[]
2020-11-19 20:55:30,108 .mpDris2-real DEBUG: Entered idle
--8<---------------cut here---------------end--------------->8---
[2]
--8<---------------cut here---------------start------------->8---
signal time=1605815874.582370 sender=org.freedesktop.DBus -> destination=:1.155
serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus;
member=NameAcquired
string ":1.155"
signal time=1605815874.582565 sender=org.freedesktop.DBus -> destination=:1.155
serial=4 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus;
member=NameLost
string ":1.155"
method call time=1605815876.573697 sender=:1.156 ->
destination=org.freedesktop.DBus serial=1 path=/org/freedesktop/DBus;
interface=org.freedesktop.DBus; member=Hello
method return time=1605815876.573735 sender=org.freedesktop.DBus ->
destination=:1.156 serial=1 reply_serial=1
string ":1.156"
signal time=1605815876.573763 sender=org.freedesktop.DBus -> destination=(null
destination) serial=5 path=/org/freedesktop/DBus;
interface=org.freedesktop.DBus; member=NameOwnerChanged
string ":1.156"
string ""
string ":1.156"
signal time=1605815876.573790 sender=org.freedesktop.DBus -> destination=:1.156
serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus;
member=NameAcquired
string ":1.156"
method call time=1605815876.579277 sender=:1.156 ->
destination=org.freedesktop.DBus serial=2 path=/org/freedesktop/DBus;
interface=org.freedesktop.DBus; member=AddMatch
string
"type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus.Properties',member='PropertiesChanged',path='/org/freedesktop/DBus',arg0='org.freedesktop.DBus'"
method return time=1605815876.579316 sender=org.freedesktop.DBus ->
destination=:1.156 serial=3 reply_serial=2
method call time=1605815876.579331 sender=:1.156 ->
destination=org.freedesktop.DBus serial=3 path=/org/freedesktop/DBus;
interface=org.freedesktop.DBus; member=AddMatch
string
"type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',path='/org/freedesktop/DBus'"
method return time=1605815876.579351 sender=org.freedesktop.DBus ->
destination=:1.156 serial=4 reply_serial=3
method call time=1605815876.579365 sender=:1.156 ->
destination=org.freedesktop.DBus serial=4 path=/org/freedesktop/DBus;
interface=org.freedesktop.DBus; member=AddMatch
string
"type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',path='/org/freedesktop/DBus',arg0='org.freedesktop.DBus'"
method return time=1605815876.579385 sender=org.freedesktop.DBus ->
destination=:1.156 serial=5 reply_serial=4
method call time=1605815876.579399 sender=:1.156 ->
destination=org.freedesktop.DBus serial=5 path=/org/freedesktop/DBus;
interface=org.freedesktop.DBus; member=StartServiceByName
string "org.freedesktop.DBus"
uint32 0
error time=1605815876.579422 sender=org.freedesktop.DBus -> destination=:1.156
error_name=org.freedesktop.DBus.Error.ServiceUnknown reply_serial=5
string "The name org.freedesktop.DBus was not provided by any .service files"
method call time=1605815876.589234 sender=:1.156 ->
destination=org.freedesktop.DBus serial=6 path=/org/freedesktop/DBus;
interface=org.freedesktop.DBus; member=GetNameOwner
string "org.freedesktop.DBus"
method return time=1605815876.589615 sender=org.freedesktop.DBus ->
destination=:1.156 serial=7 reply_serial=6
string "org.freedesktop.DBus"
method call time=1605815876.592609 sender=:1.156 ->
destination=org.freedesktop.DBus serial=7 path=/org/freedesktop/DBus;
interface=org.freedesktop.DBus.Properties; member=GetAll
string "org.freedesktop.DBus"
method return time=1605815876.593003 sender=org.freedesktop.DBus ->
destination=:1.156 serial=8 reply_serial=7
array [
dict entry(
string "Features"
variant array [
]
)
dict entry(
string "Interfaces"
variant array [
string "org.freedesktop.DBus.Monitoring"
string "org.freedesktop.DBus.Debug.Stats"
]
)
]
method call time=1605815876.599806 sender=:1.156 ->
destination=org.freedesktop.DBus serial=8 path=/org/freedesktop/DBus;
interface=org.freedesktop.DBus; member=StartServiceByName
string "org.freedesktop.DBus"
uint32 0
error time=1605815876.599920 sender=org.freedesktop.DBus -> destination=:1.156
error_name=org.freedesktop.DBus.Error.ServiceUnknown reply_serial=8
string "The name org.freedesktop.DBus was not provided by any .service files"
method call time=1605815876.600478 sender=:1.156 ->
destination=org.freedesktop.DBus serial=9 path=/org/freedesktop/DBus;
interface=org.freedesktop.DBus; member=GetNameOwner
string "org.freedesktop.DBus"
method return time=1605815876.600569 sender=org.freedesktop.DBus ->
destination=:1.156 serial=10 reply_serial=9
string "org.freedesktop.DBus"
method call time=1605815876.601108 sender=:1.156 ->
destination=org.freedesktop.DBus serial=10 path=/org/freedesktop/DBus;
interface=org.freedesktop.DBus.Properties; member=GetAll
string "org.freedesktop.DBus"
method return time=1605815876.601246 sender=org.freedesktop.DBus ->
destination=:1.156 serial=11 reply_serial=10
array [
dict entry(
string "Features"
variant array [
]
)
dict entry(
string "Interfaces"
variant array [
string "org.freedesktop.DBus.Monitoring"
string "org.freedesktop.DBus.Debug.Stats"
]
)
]
method call time=1605815876.601931 sender=:1.156 ->
destination=org.freedesktop.DBus serial=11 path=/org/freedesktop/DBus;
interface=org.freedesktop.DBus; member=ListNames
method return time=1605815876.602030 sender=org.freedesktop.DBus ->
destination=:1.156 serial=12 reply_serial=11
array [
string "org.freedesktop.DBus"
string "org.freedesktop.Notifications"
string ":1.7"
string ":1.93"
string "org.freedesktop.network-manager-applet"
string ":1.8"
string ":1.94"
string ":1.50"
string ":1.9"
string ":1.95"
string ":1.51"
string ":1.52"
string "org.gtk.vfs.Metadata"
string "org.gtk.vfs.UDisks2VolumeMonitor"
string "org.a11y.Bus"
string ":1.20"
string ":1.10"
string "org.xfce.clipman"
string "org.xfce.Xfconf"
string ":1.152"
string ":1.55"
string ":1.11"
string "org.gtk.vfs.AfcVolumeMonitor"
string ":1.12"
string ":1.13"
string ":1.0"
string "org.gtk.vfs.Daemon"
string ":1.1"
string ":1.47"
string ":1.156"
string ":1.2"
string ":1.48"
string "org.gtk.vfs.mountpoint_3381"
string "org.gtk.vfs.MTPVolumeMonitor"
string ":1.3"
string "org.gtk.vfs.GoaVolumeMonitor"
string ":1.49"
string ":1.4"
string ":1.5"
string "org.gtk.vfs.GPhoto2VolumeMonitor"
string "org.mpris.MediaPlayer2.mpd"
string ":1.6"
]
method call time=1605815876.606277 sender=:1.156 ->
destination=org.freedesktop.DBus serial=12 path=/org/freedesktop/DBus;
interface=org.freedesktop.DBus; member=AddMatch
string
"type='signal',sender='org.mpris.MediaPlayer2.mpd',interface='org.freedesktop.DBus.Properties',member='PropertiesChanged',path='/org/mpris/MediaPlayer2',arg0='org.mpris.MediaPlayer2.Player'"
method return time=1605815876.606318 sender=org.freedesktop.DBus ->
destination=:1.156 serial=13 reply_serial=12
method call time=1605815876.611041 sender=:1.156 ->
destination=org.freedesktop.DBus serial=13 path=/org/freedesktop/DBus;
interface=org.freedesktop.DBus; member=AddMatch
string
"type='signal',sender='org.mpris.MediaPlayer2.mpd',interface='org.mpris.MediaPlayer2.Player',path='/org/mpris/MediaPlayer2'"
method return time=1605815876.611147 sender=org.freedesktop.DBus ->
destination=:1.156 serial=14 reply_serial=13
method call time=1605815876.611348 sender=:1.156 ->
destination=org.freedesktop.DBus serial=14 path=/org/freedesktop/DBus;
interface=org.freedesktop.DBus; member=AddMatch
string
"type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',path='/org/freedesktop/DBus',arg0='org.mpris.MediaPlayer2.mpd'"
method return time=1605815876.611443 sender=org.freedesktop.DBus ->
destination=:1.156 serial=15 reply_serial=14
method call time=1605815876.611685 sender=:1.156 ->
destination=org.freedesktop.DBus serial=15 path=/org/freedesktop/DBus;
interface=org.freedesktop.DBus; member=StartServiceByName
string "org.mpris.MediaPlayer2.mpd"
uint32 0
method return time=1605815876.612114 sender=org.freedesktop.DBus ->
destination=:1.156 serial=16 reply_serial=15
uint32 2
method call time=1605815876.613526 sender=:1.156 ->
destination=org.freedesktop.DBus serial=16 path=/org/freedesktop/DBus;
interface=org.freedesktop.DBus; member=GetNameOwner
string "org.mpris.MediaPlayer2.mpd"
method return time=1605815876.613790 sender=org.freedesktop.DBus ->
destination=:1.156 serial=17 reply_serial=16
string ":1.152"
method call time=1605815876.614048 sender=:1.156 -> destination=:1.152
serial=17 path=/org/mpris/MediaPlayer2;
interface=org.freedesktop.DBus.Properties; member=GetAll
string "org.mpris.MediaPlayer2.Player"
method return time=1605815876.623098 sender=:1.152 -> destination=:1.156
serial=24 reply_serial=17
array [
dict entry(
string "PlaybackStatus"
variant string "Playing"
)
dict entry(
string "LoopStatus"
variant string "Playlist"
)
dict entry(
string "Rate"
variant double 1
)
dict entry(
string "Shuffle"
variant boolean false
)
dict entry(
string "Metadata"
variant array [
dict entry(
string "xesam:album"
variant string "CAN"
)
dict entry(
string "xesam:title"
variant string "All Gates Open"
)
dict entry(
string "mpris:trackid"
variant object path
"/org/mpris/MediaPlayer2/Track/10"
)
dict entry(
string "mpris:length"
variant int64 502000000
)
dict entry(
string "xesam:contentCreated"
variant string "1978"
)
dict entry(
string "xesam:trackNumber"
variant int32 1
)
dict entry(
string "xesam:discNumber"
variant int32 1
)
dict entry(
string "xesam:artist"
variant array [
string "Can"
]
)
dict entry(
string "xesam:url"
variant string
"file:///home/user/Music/Can/CAN/01 All Gates Open.mp3"
)
dict entry(
string "mpris:artUrl"
variant string
"file:///home/user/Music/Can/CAN/cover.jpg"
)
]
)
dict entry(
string "Volume"
variant double 0.54
)
dict entry(
string "Position"
variant int64 13000000
)
dict entry(
string "MinimumRate"
variant double 1
)
dict entry(
string "MaximumRate"
variant double 1
)
dict entry(
string "CanGoNext"
variant boolean true
)
dict entry(
string "CanGoPrevious"
variant boolean true
)
dict entry(
string "CanPlay"
variant boolean true
)
dict entry(
string "CanPause"
variant boolean true
)
dict entry(
string "CanSeek"
variant boolean true
)
dict entry(
string "CanControl"
variant boolean true
)
]
method call time=1605815876.625294 sender=:1.156 -> destination=:1.152
serial=18 path=/org/mpris/MediaPlayer2;
interface=org.mpris.MediaPlayer2.Player; member=Next
method return time=1605815876.681051 sender=:1.152 -> destination=:1.156
serial=25 reply_serial=18
method call time=1605815876.682110 sender=:1.156 ->
destination=org.freedesktop.DBus serial=19 path=/org/freedesktop/DBus;
interface=org.freedesktop.DBus; member=RemoveMatch
string
"type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',path='/org/freedesktop/DBus',arg0='org.mpris.MediaPlayer2.mpd'"
method return time=1605815876.682144 sender=org.freedesktop.DBus ->
destination=:1.156 serial=18 reply_serial=19
signal time=1605815876.682869 sender=org.freedesktop.DBus -> destination=:1.156
serial=6 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus;
member=NameLost
string ":1.156"
signal time=1605815876.682901 sender=org.freedesktop.DBus -> destination=(null
destination) serial=7 path=/org/freedesktop/DBus;
interface=org.freedesktop.DBus; member=NameOwnerChanged
string ":1.156"
string ":1.156"
string ""
signal time=1605815876.687771 sender=:1.152 -> destination=(null destination)
serial=26 path=/org/mpris/MediaPlayer2;
interface=org.freedesktop.DBus.Properties; member=PropertiesChanged
string "org.mpris.MediaPlayer2.Player"
array [
dict entry(
string "Metadata"
variant array [
dict entry(
string "xesam:album"
variant string "CAN"
)
dict entry(
string "xesam:title"
variant string "Safe"
)
dict entry(
string "mpris:trackid"
variant object path
"/org/mpris/MediaPlayer2/Track/11"
)
dict entry(
string "mpris:length"
variant int64 516000000
)
dict entry(
string "xesam:contentCreated"
variant string "1978"
)
dict entry(
string "xesam:trackNumber"
variant int32 2
)
dict entry(
string "xesam:discNumber"
variant int32 1
)
dict entry(
string "xesam:artist"
variant array [
string "Can"
]
)
dict entry(
string "xesam:url"
variant string
"file:///home/user/Music/Can/CAN/02 Safe.mp3"
)
dict entry(
string "mpris:artUrl"
variant string
"file:///home/user/Music/Can/CAN/cover.jpg"
)
]
)
]
array [
]
--8<---------------cut here---------------end--------------->8---
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- mpDris2 failes to show notifications,
Simon Streit <=