Active Topics

 



Notices


Reply
Thread Tools
Posts: 138 | Thanked: 8 times | Joined on Dec 2009
#41
I take it this package doesn't work for fremantle? Been looking for something like this.
 
thp's Avatar
Posts: 1,391 | Thanked: 4,272 times | Joined on Sep 2007 @ Vienna, Austria
#42
Originally Posted by andyph666 View Post
I take it this package doesn't work for fremantle? Been looking for something like this.
Joost Kop sent me a patch that makes it work under Fremantle. I'm just struggling with converting the sysvinit script to a upstart script. It works for the N900 built-in media player and Panucci. MPlayer should also work, but is untested.
 

The Following 2 Users Say Thank You to thp For This Useful Post:
thp's Avatar
Posts: 1,391 | Thanked: 4,272 times | Joined on Sep 2007 @ Vienna, Austria
#43
Ok, I got a first working version packaged up. The autobuilder liked the source, so headphoned should be in Extras-Devel "real soon now", and I'll promote it to Extras-Testing so you can give it some QA love to get it into Extras
 

The Following 8 Users Say Thank You to thp For This Useful Post:
Posts: 883 | Thanked: 980 times | Joined on Jul 2007 @ Bern, Switzerland
#44
Perfect timing :-) I just got fed up enough with the current way that I started to google for "maemo unplug pause" - and here I am, ready to go. Thanks Thomas!

PS: It hasn't yet showed up in extras-devel, autobuilder never pushed it. Guess the repository distribution mechanism is 2nd in line while Nokia distributes the new firmware...
__________________
-Tom (N900, N810, N800)

"the idea of truly having a computer in your pocket just moved a big step closer."

Last edited by twaelti; 2010-01-14 at 10:44.
 
Posts: 130 | Thanked: 51 times | Joined on Sep 2009
#45
Does this script restart a paused player, too? This would be useful for me, too.
 
thp's Avatar
Posts: 1,391 | Thanked: 4,272 times | Joined on Sep 2007 @ Vienna, Austria
#46
Originally Posted by gunni View Post
Does this script restart a paused player, too? This would be useful for me, too.
No, right now it just pauses the player whenever the headphone is unplugged. There are some caveats to having it resume playback on reconnect (especially where more applications are concerned).

One example: Assume you have Media Player and Panucci open. It's okay to send a "pause" signal to both. You probably don't want to send a "resume" signal to both, however. Which one to choose then? It's not really obvious. The code is open, so if you want to give it a shot, feel free to do so
 

The Following User Says Thank You to thp For This Useful Post:
Posts: 138 | Thanked: 8 times | Joined on Dec 2009
#47
thp: any chance we could just download the .deb form of it?

Not a programmer or anything but just trying to help. Couldn't you just resume the last opened program? Thanks for making this app btw.

Last edited by andyph666; 2010-01-14 at 20:25.
 
thp's Avatar
Posts: 1,391 | Thanked: 4,272 times | Joined on Sep 2007 @ Vienna, Austria
#48
Originally Posted by andyph666 View Post
thp: any chance we could just download the .deb form of it?
Here you go: headphoned_1.5_armel.deb

(Usual disclaimer applies. No warranty whatsoever on this binary package. If you don't trust me, please rebuild from source after you have read the code. Downloading random .debs from Teh Internets can really hurt your device.)
 

The Following 6 Users Say Thank You to thp For This Useful Post:
Posts: 23 | Thanked: 8 times | Joined on Dec 2007 @ St.Petersburg, Russia
#49
This is a great program and thank you for your job, but I have a one wish for it: Can you track 'headphones disconnect' if I talk by phone? I mean the next scenario:

1) I listen some music by headphones
2) I receive a phone call -> the player is paused automatically.
3) I pull off the headphones and answer the call
4) If I just hang off now, the player will automatically continue playing whenever phones is plugged or no. Can you change this behavior for "permanent pause" in this case or this is technically hard to do?

P.S. Sorry, my English is terrible ;-)
 
Posts: 90 | Thanked: 18 times | Joined on Nov 2009 @ Atlanta
#50
it works perfectly.
 
Reply


 
Forum Jump


All times are GMT. The time now is 00:38.