[Videos] - Show timeline when jumping to next chapter

Discussion in 'Improvement Suggestions' started by disaster123, May 14, 2010.

  1. disaster123
    • Premium Supporter

    disaster123 MP Donator

    Joined:
    May 14, 2008
    Messages:
    3,546
    Likes Received:
    417
    Ratings:
    +431 / 2
    Home Country:
    Germany Germany
    Hi!

    Has anybody an idea on how to implement to show the timeline when jumping to the next / previous chapter / comskip mark?

    Stefan

    I've tried the following which isn't working - any idea?

    Code (Text):
    1.  
    2. Index: Core/Player/g_player.cs
    3. ===================================================================
    4. --- Core/Player/g_player.cs (revision 25694)
    5. +++ Core/Player/g_player.cs (working copy)
    6. @@ -2605,6 +2605,9 @@
    7.  
    8.        if (nextChapter > 0 && nextChapter < _player.Duration)
    9.        {
    10. +        GUIMessage msgUpdate = new GUIMessage(GUIMessage.MessageType.GUI_MSG_PLAYER_POSITION_CHANGED, 0, 0, 0, 0, 0,
    11. +                                              null);
    12. +        GUIGraphicsContext.SendMessage(msgUpdate);
    13.          SeekAbsolute(nextChapter);
    14.          return true;
    15.        }
    16. @@ -2625,6 +2628,9 @@
    17.  
    18.        if (prevChapter >= 0 && prevChapter < _player.Duration)
    19.        {
    20. +        GUIMessage msgUpdate = new GUIMessage(GUIMessage.MessageType.GUI_MSG_PLAYER_POSITION_CHANGED, 0, 0, 0, 0, 0,
    21. +                                              null);
    22. +        GUIGraphicsContext.SendMessage(msgUpdate);
    23.          SeekAbsolute(prevChapter);
    24.          return true;
    25.        }
    26.  
    27.  



     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. tourettes
    • Premium Supporter

    tourettes Retired Team Member

    Joined:
    January 7, 2005
    Messages:
    17,301
    Likes Received:
    4,595
    Ratings:
    +4,810 / 3
    Sorry, no clue why it woudn't work. But in any case it would be a nice addition to > 1.x.0, since comskip is not 100% reliable on some channels / broadcasters.
     
  4. disaster123
    • Premium Supporter

    disaster123 MP Donator

    Joined:
    May 14, 2008
    Messages:
    3,546
    Likes Received:
    417
    Ratings:
    +431 / 2
    Home Country:
    Germany Germany
    AW: Show timeline when jumping to next chapter

    Yes this one my intention. Perhaps you could point someone to this post who should know why my patch isn't working?
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!