MySleepTimer (2 Viewers)

disaster123

MP Donator
  • Premium Supporter
  • May 14, 2008
    3,558
    434
    Home Country
    Germany Germany
    joz
    it's now working for me :)

    You've to configure Condition X you want plus Condition windows Dialog Notify for Action Toggle Music Gap and select in sleeptimer Action toggle music gap - then everything is working fine :)
     

    Commerzpunk

    Retired Team Member
  • Premium Supporter
  • August 29, 2007
    248
    32
    45
    Andernach
    Home Country
    Germany Germany
    Hi,

    i just dowloaded and installed (and checkd in the configration its enabled) this nice plugin.
    But its just not working.

    I am using MP 1.0 with a Hauppauge remote control.
    All the setting are to standard, "yellow button" and "shutdown.
    But when i press the yellow button on my remote, nothing happens!

    What could be wrong?

    Heiko
     

    Anthrax

    Portal Pro
    February 15, 2007
    157
    48
    pretty much in the center
    Home Country
    Germany Germany
    Hi commerzpunk,

    Did you make sure that you got the Mapping for the yellow button inside mediaportal configuration right?
    Check the screenshot in the first post and make sure the remote yellow button events really fires while watching fullscreen video for instance...
    For testing purpose try to change the event to the mute key instead and see what happens...

    Regards,
    Anthrax
     

    xmats

    MP Donator
  • Premium Supporter
  • January 5, 2008
    20
    0
    Home Country
    Sweden Sweden
    I'm guessing you might have had the same problem I did originally. My remote button was not correctly mapped to the right action.

    Under Remote in the configuration program;
    -Go to Remote, select your remote and then Mapping.
    -Find the Yellow key (usually under Teletext I think)
    -Set the action lower right part of the window) to "Remote Yellow Button"

    You have to decide if you want to do it for all layers or only a specific one (I only wanted mine on fullscreen-mode for instance)
     

    Sphinx84

    Portal Member
    March 11, 2009
    13
    0
    Home Country
    Germany Germany
    Hello all,

    the sleep timer is working really fine on my system.
    But I have the scenario that I want to shutdown after a complete MP3 album has been played.
    After the buttonpress with already started MP3 the timer unfortunately is set to rest playtime of the one MP3. :(
    The Problem is that I've planned to hear the complete album and not only one track.

    Do you have a easy proposal to solve that problem? Would be nice!
    My temporary solution at the moment is to set the timer manually nearly to the playtime of the album.

    Sure it isn't an urgent issue, but a way to make the sleep timer more perfect.


    Regards,
    Sphinx
     

    Anthrax

    Portal Pro
    February 15, 2007
    157
    48
    pretty much in the center
    Home Country
    Germany Germany
    Hi Sphinx84,

    i'm totally with you on setting the sleeptimer to the remaining overall playtime when there is a playlist...
    After a quick look at the mediaportal code and the documentation the problem now is that i can't seem to determin the overall playtime of a playlist :(

    So this is help request out to the devs: How do i get the overall remaining playtime???
     

    rtv

    Retired Team Member
  • Premium Supporter
  • April 7, 2005
    3,622
    301
    Osnabruck
    Home Country
    Germany Germany
    So this is help request out to the devs: How do i get the overall remaining playtime???

    Maybe the easiest way which avoids to fetch any info but instead uses everything that's already there:
    Code:
              foreach (GUIListItem item in itemlist)
              {
                MusicTag tag = item.MusicTag as MusicTag;
                if (tag != null)
                {
                  if (tag.Duration > 0)
                  {
                    totalPlayingTime = totalPlayingTime.Add(new TimeSpan(0, 0, tag.Duration));
                  }
                }
              }
     

    Users who are viewing this thread

    Top Bottom