| Prev |   1   2   3     4   | Next | Last
maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Time based Music Stopper for N900? (https://talk.maemo.org/showthread.php?t=40764)

joedumper 2010-01-15 23:16

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 ?

Cernunnos 2010-01-15 23:23

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!

AlexDT 2010-01-15 23:25

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.

Pejman 2010-01-15 23:31

Re: Time based Music Stopper for N900?
 
Will this work, if I use KMplayer instead of Media Player?

Cernunnos 2010-01-15 23:41

Re: Time based Music Stopper for N900?
 
Quote:

Originally Posted by Pejman (Post 475273)
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.

twaelti 2010-01-16 00:27

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)

joedumper 2010-01-16 00:46

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

koos 2010-01-16 01:03

Re: Time based Music Stopper for N900?
 
Quote:

Originally Posted by Pejman (Post 475273)
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 ..)

koos 2010-01-16 01:42

Re: Time based Music Stopper for N900?
 
Quote:

Originally Posted by koos (Post 475470)
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.

donsaibot 2010-01-16 12:41

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.


| Prev |   1   2   3     4   | Next | Last
All times are GMT. The time now is 19:29.

vBulletin® Version 3.8.8