0
Specification page에 PlaybackStatus 속성을 org.mpris.mediaplayer2.player 사용하여 말한다 :이 특정 인터페이스에 대한 파이썬
print "Song %s" % iPlayer.PlaybackStatus
또는
if iPlayer.PlaybackStatus == "Playing":
print "Song playing"
:
PlaybackStatus — s (Playback_Status)
.
.
.
May be "Playing", "Paused" or "Stopped".
을하지만 난 이런 식으로 읽을 때
매우 이상한 출력을 보여줍니다. <dbus.proxies._ProxyMethod instance at 0x255f248>
이 변수의 문자열 값에 어떻게 액세스합니까?