Querying music being played

2010-06-23 Thread Fred Duarte
Is it possible to query info about the music currently played on the device.

That is, if the user plays a music file from maemo's default media player or
any other player that was installed, is there a notification signal, maybe a
DBUS
interface that I can listen to that can give me this kind of information.

-- 
Frederico Simas Duarte
SW  UI - Software and User Interface
INDT - Nokia Institute

http://fredyduarte.net/blog/
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Querying music being played

2010-06-23 Thread Fred Duarte
Hhhmmm,

It uses the Maemo Multimedia Application Framework (MAFW) to make the
queries
in python. But I think its possible to make a Qt C++ version of it.

Tnx for the tip, Cláudio.

2010/6/23 Cláudio Sampaio pat...@gmail.com

 On Wed, Jun 23, 2010 at 9:02 PM, Fred Duarte fred.dua...@openbossa.orgwrote:

 Is it possible to query info about the music currently played on the
 device.

 That is, if the user plays a music file from maemo's default media player
 or
 any other player that was installed, is there a notification signal, maybe
 a DBUS
 interface that I can listen to that can give me this kind of information.


 See the code for media-im-status-updater. It does exactly that.

 Best regards,
 --
 Cláudio Patola Sampaio
 IRC: ptl  - Yahoo: patolaaa
 Campinas, SP - Brazil.




-- 
Frederico Simas Duarte
SW  UI - Software and User Interface
INDT - Nokia Institute

http://fredyduarte.net/blog/
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Querying music being played

2010-06-23 Thread Cláudio Sampaio
On Wed, Jun 23, 2010 at 9:02 PM, Fred Duarte fred.dua...@openbossa.orgwrote:

 Is it possible to query info about the music currently played on the
 device.

 That is, if the user plays a music file from maemo's default media player
 or
 any other player that was installed, is there a notification signal, maybe
 a DBUS
 interface that I can listen to that can give me this kind of information.


See the code for media-im-status-updater. It does exactly that.

Best regards,
-- 
Cláudio Patola Sampaio
IRC: ptl  - Yahoo: patolaaa
Campinas, SP - Brazil.
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers