![]() |
Re: Stopping music/media player when headset unplugged
Quote:
This would suggest that a behaviour like this cannot come from headphoned. Feel free to try to reproduce this bug (basically by restarting your device, waiting until everything has loaded and then plugging in the headphones - the Media Player widget on your desktop might help check out the situation). If you can reliably reproduce this bug, try uninstalling headphoned and see if it still happens. |
Re: Stopping music/media player when headset unplugged
Hmm is it possible to launch an arbitrary command nstiead of sending a pause signal on dbus?
Reason is I ues xmms2 and that has a simple xmms2 togglepause command. No messing about with dbus and stuff. |
Re: Stopping music/media player when headset unplugged
Quote:
What I can offer is a directory like /etc/headphoned.d/ where other packages can install scripts that are executed when the headphones are unplugged. Would this be a workable solution for you? |
Re: Stopping music/media player when headset unplugged
Quote:
ar could you give me the link to the deb... thx! |
Re: Stopping music/media player when headset unplugged
Quote:
|
Re: Stopping music/media player when headset unplugged
:confused:
|
Re: Stopping music/media player when headset unplugged
Quote:
|
Re: Stopping music/media player when headset unplugged
Quote:
Yes it has a simple pause as well. And yes the solution would be more than workable. Probably the best all around. |
Re: Stopping music/media player when headset unplugged
Quote:
Please don't waste other people's time by being too lazy to search for things. And if you don't find something, just create another thread. Thanks :) (Please don't feel offended by this post, I'm just trying to help.) |
Re: Stopping music/media player when headset unplugged
Quote:
|
Re: Stopping music/media player when headset unplugged
Quote:
|
Re: Stopping music/media player when headset unplugged
Has this app stopped being updated in relation to other media players? Because it hasn't been working lately, and all I've done differently is installed a few new media players/updated older ones. Thanks for the info.
|
Re: Stopping music/media player when headset unplugged
I've noticed a problem when using headphoned - the tones for incoming SMS and email messages are no longer played when the headphones are removed and the media player is paused...
I've had this with headphoned 1.5 and 1.6 on 2.2009-51-1 and there is no change to this behaviour with 3.2010.02-8. When a call is received the ringtone plays as expected, it's just SMS and email tones that are muted, and it's only been this way since installing headphoned. I wonder if there is some sort of priority within the sound system (SMS/Email being at a priority different to ringtones) and headphoned is somehow interfering with this? |
Re: Stopping music/media player when headset unplugged
Quote:
|
Re: Stopping music/media player when headset unplugged
Quote:
Unfortunately I haven't had the time to nail down a reproducible test case but hopefully I can do that this weekend, just wondered ahead of time if anyone had noticed anything similar. As I say it's only been a noticeable problem since the installation of headphoned, the functionality of which I absolutely love btw (thanks!) I'll update this thread with more details, or can headphoned be added to b.m.o.? |
Re: Stopping music/media player when headset unplugged
It's not muted - you can't hear it too well because of the music.
There's also the problem that if you received a phone call and you then remove the headphones the media player is not paused! Which can be embarassing at times! |
Re: Stopping music/media player when headset unplugged
Quote:
Quote:
|
Re: Stopping music/media player when headset unplugged
I can confirm the muted SMS/Email tones after unplugging the headphones. Receiving SMS after unplugging only causes the phone to vibrate and sound a little beep, the same I would hear if I still had the headphones plugged in. If I pause the media player before unplugging, the SMS/Email tones work as they should.
Otherwise great app, it has saved me from many embarrasing situations when I accidentially unplug the headphones. But this problem forces me to remember to manually pause the player when I finish listening.. :( |
Re: Stopping music/media player when headset unplugged
Quote:
Typically I just pull the headphones out of the device as I walk into work - which automagically pauses the media player but leaves it running - and from that point onwards I get no SMS/Email tones, just vibrations. I'll try pausing it before unplugging next time to see if that makes a difference for me too. |
Re: Stopping music/media player when headset unplugged
OK, pretty much confirmed this and it's as tjjalava says: hit pause before unplugging the headphones and SMS/Email tones work correctly, but pull the headphones out of the device while the media player is playing audio and you then get no SMS/EMail tones.
Firmware 3.2010.02-8 and headphoned 1.7. Anyone else able to reproduce? If so I'm happy to file a bug (though against what I'm not exactly sure - headphoned or the audio subsystem?) |
Re: Stopping music/media player when headset unplugged
Quote:
|
Re: Stopping music/media player when headset unplugged
Quote:
If you (or anyone else other than me and tjjalava can reproduce) I'll open a bug against MAFW in b.m.o. Would also be nice if you could get headphoned in b.m.o. too! :) |
Re: Stopping music/media player when headset unplugged
I've managed to get it to not play music again if you take out the headset during a call but only if the Media Player application is not running - i.e. you just have the applet running. I've got what the applet does to pause the track sorted, but not what the Media Player application does itself to pause the track.
I'd like to figure out what the Media Player app does but if worst comes to worst (e.g. an internal setting which I cannot modify from the outside) , "killall -9 mediaplayer" springs to mind... My current improvement over having it not play tracks again upon the ending of a call if the headphones are taken out during a call (provided the Media Player application is not running) requires headphoned to be added to the policy file. If I get it set up correctly (support for dpkg's triggers come to mind), would you be interested, thp? |
Re: Stopping music/media player when headset unplugged
Quote:
|
Re: Stopping music/media player when headset unplugged
Quote:
Still not perfect, but at least it's less likely to start randomly blasting tracks... I'm not sure on whether to classify headphoned as a "player" or just leave it as "alwayson". Oh, and sorry for adding profanity to headphoned.c (although, if you look at the output of apt-cache rdepends libplayback-1-0, you'll see an application from the Ovi Store has been linked against it so Nokia don't mind giving support in certain circumstances it seems...)... :) I'll try and look into the Media Player application itself after I've finished strangling Vala :) debian/triggers: Code:
interest /usr/share/policy/etc/rx51/pulse |
Re: Stopping music/media player when headset unplugged
Quote:
This is obviously a bug with media player and I don't think it's been reported as yet. I started a new thread here. |
Re: Stopping music/media player when headset unplugged
I've opened bug #9597 to address this wierd headphoned/MAFW pausing issue - would be really great if some technical comments could be added as I'm half expecting it to be closed invalid due to the involvement of headphoned.
Votes would be good too. :) |
Re: Stopping music/media player when headset unplugged
I'll have a look...
|
Re: Stopping music/media player when headset unplugged
It actually happens irrelevant of Bug 5894, if you pause media player with widget once it's been played from main app the system sounds will stop.
|
Re: Stopping music/media player when headset unplugged
Quote:
|
Re: Stopping music/media player when headset unplugged
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.. ;). |
Re: Stopping music/media player when headset unplugged
1 Attachment(s)
Quote:
|
Re: Stopping music/media player when headset unplugged
Quote:
|
Re: Stopping music/media player when headset unplugged
1 Attachment(s)
Quote:
|
Re: Stopping music/media player when headset unplugged
Quote:
|
Re: Stopping music/media player when headset unplugged
Would it be possible for headphoned to work on nQaap?
|
Re: Stopping music/media player when headset unplugged
Quote:
(Of course, the author has to implement the D-Bus interface in nQaap) |
Re: Stopping music/media player when headset unplugged
Quote:
|
Re: Stopping music/media player when headset unplugged
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.
|
Re: Stopping music/media player when headset unplugged
Quote:
|
All times are GMT. The time now is 01:04. |
vBulletin® Version 3.8.8