Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    Time based Music Stopper for N900?

    Reply
    Page 3 of 7 | Prev |   1     2   3   4     5   | Next | Last
    koos | # 21 | 2010-01-16, 20:19 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks
    Attached Files
    File Type: zip sleep.zip (630 Bytes, 109 views)
    The Following 2 Users Say Thank You to koos For This Useful Post:
    F2thaK, iKneaDough

     
    koos | # 22 | 2010-01-16, 20:32 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    koos | # 23 | 2010-01-16, 20:37 | Report

    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 )

    Edit | Forward | Quote | Quick Reply | Thanks

     
    debernardis | # 24 | 2010-01-17, 05:13 | Report

    @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

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to debernardis For This Useful Post:
    dvergin, joedumper

     
    F2thaK | # 25 | 2010-01-17, 05:36 | Report

    thanks 4 this

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by F2thaK; 2010-01-17 at 05:39.

     
    joedumper | # 26 | 2010-01-17, 19:26 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks
    Attached Images
     

     
    twaelti | # 27 | 2010-01-17, 20:27 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to twaelti For This Useful Post:
    iKneaDough

     
    donsaibot | # 28 | 2010-01-18, 21:12 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Dosenblech | # 29 | 2010-01-18, 21:21 | Report

    @twaelti
    great!!! thank you very much.... :-)
    I've been waiting for such a app since weeks....

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Dosenblech | # 30 | 2010-01-18, 21:57 | Report

    okay...at the moment it doesn't work... - i will wait for version 0.2.0 :-)

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Page 3 of 7 | Prev |   1     2   3   4     5   | Next | Last
vBulletin® Version 3.8.8
Normal Logout