Active Topics

 



Notices


Reply
Thread Tools
Posts: 143 | Thanked: 205 times | Joined on Apr 2008
#21
Originally Posted by koos View Post
But there is another playlist format where a duration can be set, namely asx
To turn is a user friendly interface for KMPlayer, download sleep.zip and copy the two files in this archive to your device. Next open the terminal application.
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.
Attached Files
File Type: zip sleep.zip (630 Bytes, 118 views)
 

The Following 2 Users Say Thank You to koos For This Useful Post:
Posts: 143 | Thanked: 205 times | Joined on Apr 2008
#22
Originally Posted by donsaibot View Post
Does it only work with headphones?
I tried it out because i really could use such an app but it does not work.
Could it be your device is in silent mode? I found this http://talk.maemo.org/showthread.php...410#post448410 and if you're using the default player, then the exe would be kgstplayer.
 
Posts: 143 | Thanked: 205 times | Joined on Apr 2008
#23
Originally Posted by koos View Post
To turn is a user friendly interface

and from the menu choose 'Sleep Timer'.
Uhm, the above should read

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 )
 
debernardis's Avatar
Posts: 2,142 | Thanked: 2,054 times | Joined on Dec 2006 @ Sicily
#24
@Joedumper: here's a desktop file to call it from the menu:
Code:
[Desktop Entry]
Version=1.0
Name=Timusic
Type=Application
Comment=Shuts music off after N minutes
Terminal=true
Exec=osso-xterm -e /opt/mybin/timusic.sh
Icon=mediaplayer_nowplaying_indicator_pause
Categories=ConsoleOnly;System;
GenericName=Music timer
I saved your script in /opt/mybin/timusic.sh and gave it one of the default icons (really, an ugly one - you could choose another or prepare a brand new one).
The desktop file is /usr/share/applications/hildon/timusic.desktop

This could be packaged also... it's not so bad
__________________
Ernesto de Bernardis

 

The Following 2 Users Say Thank You to debernardis For This Useful Post:
F2thaK's Avatar
Posts: 4,365 | Thanked: 2,467 times | Joined on Jan 2010 @ Australia Mate
#25
thanks 4 this

Last edited by F2thaK; 2010-01-17 at 05:39.
 
Posts: 40 | Thanked: 2 times | Joined on Oct 2009 @ Ireland
#26
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
Attached Images
 
 
Posts: 883 | Thanked: 980 times | Joined on Jul 2007 @ Bern, Switzerland
#27
Originally Posted by donsaibot View Post
I tried it out because i really could use such an app but it does not work.
That's why it is in extras-devel There was a bug and it couldn't work... now I fixed it and added state-switching plus sleeptimer-stop functionality.
Once the maemo servers are up again, I'll upload version 0.2.0
__________________
-Tom (N900, N810, N800)

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

The Following User Says Thank You to twaelti For This Useful Post:
Posts: 70 | Thanked: 6 times | Joined on Dec 2009
#28
Originally Posted by twaelti View Post
That's why it is in extras-devel There was a bug and it couldn't work... now I fixed it and added state-switching plus sleeptimer-stop functionality.
Once the maemo servers are up again, I'll upload version 0.2.0
Ah okay ^^

I'll gonna check it out again then.
 
Posts: 35 | Thanked: 3 times | Joined on Jan 2010 @ Germany - Northern Bavaria
#29
@twaelti
great!!! thank you very much.... :-)
I've been waiting for such a app since weeks....
 
Posts: 35 | Thanked: 3 times | Joined on Jan 2010 @ Germany - Northern Bavaria
#30
okay...at the moment it doesn't work... - i will wait for version 0.2.0 :-)
 
Reply


 
Forum Jump


All times are GMT. The time now is 20:43.