|
Page 1 of 2 |
|
1
2
|
Next
Time based Music Stopper for N900?
Is there any application for N900 to stop the default music player automatically after the time you want? (e.g. when you use your phone as a “radio” before you’ll get to sleep etc.)
I found one for N97, but wasn't able to find one for N900 http://www.n97i.com/nokia-n97-applic...nokia-n97-1307 |
Re: Time based Music Stopper for N900?
I'd be rather interested in this aswell.
I guess one could write a script that slept for an amount of time input by the user, then finds the media player process and kills it. Not the most user friendly thing though. |
Re: Time based Music Stopper for N900?
I will try to do a widget over the weekend. Need that for my kids anyway :-)
|
Re: Time based Music Stopper for N900?
Sounds cool ^^
i almost have my little script ( all 5 lines of it :D ), just need to find where the pid of the media player is kept |
Re: Time based Music Stopper for N900?
Quote:
Shaq |
Re: Time based Music Stopper for N900?
Ok ... here's my first pass :
Quote:
It's probably overly simplistic ... but it's just nice to play with these things. Now... wheres my widget hammer :D |
Re: Time based Music Stopper for N900?
That is why I love this forum ...
People are all eager to help. Thanks .. |
Re: Time based Music Stopper for N900?
So.... errrm....
Anyone know how to create a shortcut on the desktop to execute my shell script ( MusicSleep.sh ) ? |
Re: Time based Music Stopper for N900?
Id love to have this feature in the mediaplayer.
|
Re: Time based Music Stopper for N900?
What are your typical "sleep timer" durations?
15-30-45-60 minutes? |
Re: Time based Music Stopper for N900?
I'd probably like another shorter time interval aswell... say 5 - 10 mins, aswell as the ones you've mentioned.
In my wee script i was aiming for just a numeric entry by the user as to whatever amount of minutes they'd like. You dont think thats the right approach ? |
Re: Time based Music Stopper for N900?
Yeh, just click on the widget/shortcut, and enter amount of mins? I'd download this app instantly!
|
Re: Time based Music Stopper for N900?
With music on I'll fall asleep within 30 min haha. I'd rather use a slider instead of having to type in the time.
|
Re: Time based Music Stopper for N900?
Will this work, if I use KMplayer instead of Media Player?
|
Re: Time based Music Stopper for N900?
Quote:
|
Re: Time based Music Stopper for N900?
OK, I did it :-) Falling asleep on my chair, 1.30 AM here...
During the next few hours, a package called "sleeper" will show up in extras-devel. It's a very simple widget with two buttons, one "15" and the other "30". Have fun :-) (If the widget doesn't shop up after you added it to the desktop, please reboot - this only happens if haven't yet installed any pyton-widget before) |
Re: Time based Music Stopper for N900?
Thanks man :D
this has to be some of the quickest concept to useable thing ever !! i'lll grab your widget as soon as its up. still gona try making a desktop icon to execute my script.... just for the satisfaction factor : D |
Re: Time based Music Stopper for N900?
Quote:
<smil> <body> <audio dur="900" src="your-music.mp3"/> </body> </smil> and open this file. (actually 15m should work, but somehow it doesn't ..) |
Re: Time based Music Stopper for N900?
Quote:
But there is another playlist format where a duration can be set, namely asx. So <ASX> <entry> <duration value="15:00"/> <ref href="your-music.mp3"/> </entry> </ASX> plays for 15 minutes and does dim the screen. |
Re: Time based Music Stopper for N900?
Does it only work with headphones?
I tried it out because i really could use such an app but it does not work. |
Re: Time based Music Stopper for N900?
1 Attachment(s)
Quote:
Create the directory /home/user/.kmplayer/generators: $ mkdir .kmplayer/generators Copy the sleep.xml to this directory $ cp sleep.xml .kmplayer/generators Copy the shell script to /home/user/.kmplayer $ cp sleep.sh .kmplayer Finally (re)start kmplayer and from the menu choose 'Sleep Timer'. You are prompted for a file selection and for how many minutes to play. |
Re: Time based Music Stopper for N900?
Quote:
|
Re: Time based Music Stopper for N900?
Quote:
To turn this in a user friendly and from the menu choose 'Generate Playlist' and then 'Sleep Timer' (Promised myself to re-read my writing :) ) |
Re: Time based Music Stopper for N900?
@Joedumper: here's a desktop file to call it from the menu:
Code:
[Desktop Entry]The desktop file is /usr/share/applications/hildon/timusic.desktop This could be packaged also... it's not so bad :) |
Re: Time based Music Stopper for N900?
thanks 4 this
|
Re: Time based Music Stopper for N900?
1 Attachment(s)
Cheers debernardis,
I was just putting together something similar, seems to work ... nice little "app" now... doing exactly what i originally hoped. I grabbed an image for the icon too... first draft attached |
Re: Time based Music Stopper for N900?
Quote:
Once the maemo servers are up again, I'll upload version 0.2.0 |
Re: Time based Music Stopper for N900?
Quote:
I'll gonna check it out again then. |
Re: Time based Music Stopper for N900?
@twaelti
great!!! thank you very much.... :-) I've been waiting for such a app since weeks.... |
Re: Time based Music Stopper for N900?
okay...at the moment it doesn't work... - i will wait for version 0.2.0 :-)
|
Re: Time based Music Stopper for N900?
I've uploaded version 0.2.0 tonight, if the infrastruture is up again it should become available in extras-devel during the next few hours.
|
Re: Time based Music Stopper for N900?
Okay works perfect!
But i gotta confess i misunderstood something^^ The App just stops playing music. I thought it would be like in LCG Jukebox for S605th where it closes the Musicplayer completely. So its not remaining in stand-by for the hole night for example. When you're somewhere where you can't charge your phone i think it will drain battery. Even if its not much the power you lost might be the power you need to get through the day. Just what i think. greetz Donsaibot |
Re: Time based Music Stopper for N900?
Quote:
|
Re: Time based Music Stopper for N900?
Sleeper has now been promoted to extras-testing:
http://static.maemo.org/static/1/161...4_sleeper_icon A simple sleep widget to pause the music player after 15 or 30 minutes. Good for falling asleep while listening to music on the N900. |
Re: Time based Music Stopper for N900?
@twaelti: so far I haven't installed Sleeper yet but... are there any config files one can edit to change the 15 or 30 min times? Or maybe is it possible to tweak the source (it's python isn't it?). Wife needs 1h30m to get asleep :)
|
Re: Time based Music Stopper for N900?
great app so far :)
is there a way to implement this option directly into the media player as a menu option? |
Re: Time based Music Stopper for N900?
on the g1 there was a program musicsleep it had a minuet field to put in as many minuets as needed ex. 30, 60, 120 also when it shut things off it turned off media player n disconnected internet if streaming
|
Re: Time based Music Stopper for N900?
This may be working, but I don't think it's the right way to do it. Check for a DBUS command that will send a PAUSE to the running player. I suspect that the developer of headphoned can help, or his source code can.
Edit: This thread http://talk.maemo.org/showthread.php?t=40134 probably of use... Edit 2: Even better http://talk.maemo.org/showthread.php?t=33215 |
Re: Time based Music Stopper for N900?
I've added Panucci support to "sleeper" and also added more buttons (5, 10, 15, 30 and 45 minutes) to the widget. You can get the modified source here (with dget):
http://khan.thpinfo.com/~thp/deb-out...0.2.0-3thp.dsc You can also download a ready-to-install binary .deb of it here: http://khan.thpinfo.com/~thp/deb-out...0-3thp_all.deb I've sent these changes to twaelti for integration in a future release :) Obligatory screenshot: http://farm5.static.flickr.com/4068/...dbcb2896_o.jpg EDIT: Of course the code is also easily modifyable to either add new "actions" (in on_sleeptimer_fired) and new minute values (simply edit/add to TIMER_PRESETS). |
Re: Time based Music Stopper for N900?
It would be very useful.
thanks to thp!!! |
| All times are GMT. The time now is 19:29. |
Page 1 of 2 |
|
1
2
|
Next
vBulletin® Version 3.8.8