Notices


Reply
Thread Tools
thp's Avatar
Posts: 1,391 | Thanked: 4,272 times | Joined on Sep 2007 @ Vienna, Austria
#111
In the mean time, headphoned 1.8 has been uploaded to Extras-Devel today, and it adds support for stopping the FM Radio application in addition to Media Player, Panucci and MPlayer. Go vote for it once it enters Extras-Testing!

The D-Bus API for FM Radio has only recently been added by Martin (pycage), so this might not work immediately with the current version in the Maemo repositories, but will work with a future version.

No merging of qwerty12's patch for now, but maybe in a future release (it would be very helpful if you could somewhere post your patches as complete git patchset against the current git master branch on repo.or.cz - obviously I'm very lazy today.. .
 

The Following User Says Thank You to thp For This Useful Post:
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#112
Originally Posted by thp View Post
No merging of qwerty12's patch for now, but maybe in a future release (it would be very helpful if you could somewhere post your patches as complete git patchset against the current git master branch on repo.or.cz - obviously I'm very lazy today.. .
I know, I know; attaching to a forum isn't the best way to send you patches... :\
Attached Files
File Type: tar out.tar (10.0 KB, 92 views)
 

The Following User Says Thank You to qwerty12 For This Useful Post:
thp's Avatar
Posts: 1,391 | Thanked: 4,272 times | Joined on Sep 2007 @ Vienna, Austria
#113
Originally Posted by qwerty12 View Post
I know, I know; attaching to a forum isn't the best way to send you patches... :\
Thanks, looks good - applied locally here. Just one question: is the file debian/triggers created somewhere or did you forget to add it? If so, please include it (preferably with another Git patch, so I can easily apply it, and you get credited in the git changelog with your name).
 

The Following User Says Thank You to thp For This Useful Post:
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#114
Originally Posted by thp View Post
Thanks, looks good - applied locally here. Just one question: is the file debian/triggers created somewhere or did you forget to add it? If so, please include it (preferably with another Git patch, so I can easily apply it, and you get credited in the git changelog with your name).
Bollocks! Thanks! (As you will have guessed, my lack of knowledge generally has me avoiding SCMs...)
 

The Following User Says Thank You to qwerty12 For This Useful Post:
thp's Avatar
Posts: 1,391 | Thanked: 4,272 times | Joined on Sep 2007 @ Vienna, Austria
#115
Originally Posted by qwerty12 View Post
Bollocks!
Thanks, I've merged your patches now: http://repo.or.cz/w/headphoned.git
 

The Following User Says Thank You to thp For This Useful Post:
Strutten's Avatar
Posts: 147 | Thanked: 67 times | Joined on Dec 2009 @ Stockholm, Sweden
#116
Would it be possible for headphoned to work on nQaap?
 
thp's Avatar
Posts: 1,391 | Thanked: 4,272 times | Joined on Sep 2007 @ Vienna, Austria
#117
Originally Posted by Strutten View Post
Would it be possible for headphoned to work on nQaap?
Sure. Just provide a D-Bus interface with a "pause" method that headphoned can call, and I'll add support for it to the next headphoned release. What is needed for this:
  • D-Bus Service Name (e.g. org.example.nqaap)
  • D-Bus Object Path (e.g. /org/example/nqaap)
  • D-Bus Interface (e.g. org.example.nqaap)
  • Name of the method ("pause" is a good name here )

(Of course, the author has to implement the D-Bus interface in nQaap)
 

The Following User Says Thank You to thp For This Useful Post:
Strutten's Avatar
Posts: 147 | Thanked: 67 times | Joined on Dec 2009 @ Stockholm, Sweden
#118
Originally Posted by thp View Post
Sure. Just provide a D-Bus interface with a "pause" method that headphoned can call, and I'll add support for it to the next headphoned release. What is needed for this:
  • D-Bus Service Name (e.g. org.example.nqaap)
  • D-Bus Object Path (e.g. /org/example/nqaap)
  • D-Bus Interface (e.g. org.example.nqaap)
  • Name of the method ("pause" is a good name here )

(Of course, the author has to implement the D-Bus interface in nQaap)
Since a D-Bus sounds like a Bus on the D-line to me, I'll just link to this post in the nQaap-thread!
 
slobodsky's Avatar
Posts: 63 | Thanked: 41 times | Joined on Feb 2010 @ Moscow
#119
The problem with muted sounds isn't headphoned related. I have it in my application too. If I send "pause" command through D-Bus or libmafw it happens too. It can be the media player's bug.
__________________
Sorry for bad English. If you can point out mistakes in this post, send me a private message.

Last edited by slobodsky; 2010-05-31 at 18:01.
 

The Following User Says Thank You to slobodsky For This Useful Post:
thp's Avatar
Posts: 1,391 | Thanked: 4,272 times | Joined on Sep 2007 @ Vienna, Austria
#120
Originally Posted by Surstroemming View Post
I guess the deamon currently is only "aware" of the state of the headphone jack, is it possible to make it register the state of calls happening or the trigger that starts the audio again after a call?
This might be possible - if the call state can be queried via D-Bus or if at least something like "call started" and "call ended" is sent as D-Bus signal. In this case, headphoned could listen to these signals, and maintain an internal "currently on a call" flag. If this flag is on when headphoned sends the "pause" signal (if it senses "headphones unplugged"), it will send another "pause" signal when the "call ended" signal is seen on D-Bus. The "pause" signal is idempotent for most media players, anyway, so sending it again after the call should do no harm.
 
Reply


 
Forum Jump


All times are GMT. The time now is 17:48.