error when trying to check music playback_status()
Description
I'm trying to check the playing status using playback_status() method but I got the following error:
org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. ### I need to know when my music is done immediately
Environment details
OS (lsb_release -a):
No LSB modules are available.
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 8.0 (jessie)
Release: 8.0
Codename: jessie
Software
Version
python-omxplayer-wrapper
0.3.2
python-dbus (dpkg -s python-dbus)
1.2.0
python (python --version)
3.4.2
omxplayer (omxplayer --version)
dfea8c9 [master]
Example use case
try:
if self.player.playback_status() == "Playing":
print("playing...")
else:
print("not plying")
except Exception as e:
print (e)
Issue Report
error when trying to check music playback_status()
Description
I'm trying to check the playing status using playback_status() method but I got the following error:
org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
### I need to know when my music is done immediatelyEnvironment details
lsb_release -a
):python-omxplayer-wrapper
0.3.2
python-dbus
(dpkg -s python-dbus
)1.2.0
python
(python --version
)3.4.2
omxplayer
(omxplayer --version
)dfea8c9 [master]
Example use case