I'm not sure if we can detect the state of the media player like that, but definitely the indicator can't, it would have to be media-hub if it is possible.
** Project changed: indicator-sound => media-hub -- You received this bug notification because you are a member of Unity API bugs, which is subscribed to The Sound Menu. https://bugs.launchpad.net/bugs/1368284 Title: If music app is closed the indicator still shows the track Status in Media Hub: New Bug description: $ system-image-cli -i current build number: 237 device name: mako channel: ubuntu-touch/devel-proposed alias: ubuntu-touch/utopic-proposed last update: 2014-09-11 15:10:01 version version: 237 version ubuntu: 20140911.1 version device: 20140903.1 version custom: mako-0.3a 1) Start the music app and play a track 2) Open the sound indicator and notice that the currently playing track is shown with play/pause, previous, next 3) Now stop the music and close the music app 4) Notice that the 'currently' playing track is still shown in the indicator with play/pause, previous, next. Suggest that this is only shown when a media application is open. To manage notifications about this bug go to: https://bugs.launchpad.net/media-hub/+bug/1368284/+subscriptions -- Mailing list: https://launchpad.net/~unity-api-bugs Post to : unity-api-bugs@lists.launchpad.net Unsubscribe : https://launchpad.net/~unity-api-bugs More help : https://help.launchpad.net/ListHelp