Active Topics

 



Notices


Reply
Thread Tools
Posts: 40 | Thanked: 2 times | Joined on Oct 2009 @ Ireland
#11
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 ?
 
Posts: 78 | Thanked: 28 times | Joined on Jan 2010 @ Norway
#12
Yeh, just click on the widget/shortcut, and enter amount of mins? I'd download this app instantly!
__________________
Originally Posted by geneven View Post
The N900 is a baby with super-powers. It hasn't learned to use all of them yet, but it is learning fast..
 
Posts: 58 | Thanked: 24 times | Joined on Jan 2010 @ Rotterdam - Netherlands, the
#13
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.
 
Posts: 32 | Thanked: 7 times | Joined on Dec 2009
#14
Will this work, if I use KMplayer instead of Media Player?
 
Posts: 78 | Thanked: 28 times | Joined on Jan 2010 @ Norway
#15
Originally Posted by Pejman View Post
Will this work, if I use KMplayer instead of Media Player?
It would only take a tiny modification, but I guess it's fairly simple to make something that would work with both.
__________________
Originally Posted by geneven View Post
The N900 is a baby with super-powers. It hasn't learned to use all of them yet, but it is learning fast..
 
Posts: 883 | Thanked: 980 times | Joined on Jul 2007 @ Bern, Switzerland
#16
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)
__________________
-Tom (N900, N810, N800)

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

The Following 3 Users Say Thank You to twaelti For This Useful Post:
Posts: 40 | Thanked: 2 times | Joined on Oct 2009 @ Ireland
#17
Thanks man

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
 
Posts: 143 | Thanked: 205 times | Joined on Apr 2008
#18
Originally Posted by Pejman View Post
Will this work, if I use KMplayer instead of Media Player?
Currently you can only achieve this by wrapping the music file in a smil file, like

<smil>
<body>
<audio dur="900" src="your-music.mp3"/>
</body>
</smil>

and open this file.
(actually 15m should work, but somehow it doesn't ..)
 
Posts: 143 | Thanked: 205 times | Joined on Apr 2008
#19
Originally Posted by koos View Post
Currently you can only achieve this by wrapping the music file in a smil file
Just tried and unfortunately this isn't detected as audio only, the screen isn't dimmed.

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.
 
Posts: 70 | Thanked: 6 times | Joined on Dec 2009
#20
Does it only work with headphones?
I tried it out because i really could use such an app but it does not work.
 
Reply


 
Forum Jump


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