| Prev |   1     2   3   4     5   | 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)

koos 2010-01-16 20:19

Re: Time based Music Stopper for N900?
 
1 Attachment(s)
Quote:

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

koos 2010-01-16 20:32

Re: Time based Music Stopper for N900?
 
Quote:

Originally Posted by donsaibot (Post 476063)
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.

koos 2010-01-16 20:37

Re: Time based Music Stopper for N900?
 
Quote:

Originally Posted by koos (Post 476759)
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 2010-01-17 05:13

Re: Time based Music Stopper for N900?
 
@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 :)

F2thaK 2010-01-17 05:36

Re: Time based Music Stopper for N900?
 
thanks 4 this

joedumper 2010-01-17 19:26

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

twaelti 2010-01-17 20:27

Re: Time based Music Stopper for N900?
 
Quote:

Originally Posted by donsaibot (Post 476063)
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 :D 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

donsaibot 2010-01-18 21:12

Re: Time based Music Stopper for N900?
 
Quote:

Originally Posted by twaelti (Post 478569)
That's why it is in extras-devel :D 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.

Dosenblech 2010-01-18 21:21

Re: Time based Music Stopper for N900?
 
@twaelti
great!!! thank you very much.... :-)
I've been waiting for such a app since weeks....

Dosenblech 2010-01-18 21:57

Re: Time based Music Stopper for N900?
 
okay...at the moment it doesn't work... - i will wait for version 0.2.0 :-)


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

vBulletin® Version 3.8.8