qdbus org.bansheeproject.Banshee /org/bansheeproject/Banshee/PlayerEngine
如何获得该房产的价值?
property read QVariantMap org.bansheeproject.Banshee.PlayerEngine.CurrentTrack
答案1
发现它在这里
我们需要实际使用 gdbus:
gdbus call -e -d org.bansheeproject.Banshee \
-o /org/bansheeproject/Banshee/PlayerEngine \
-m org.bansheeproject.Banshee.PlayerEngine.GetCurrentTrack