[Videos] Show timeline when jumping to next chapter (1 Viewer)

disaster123

MP Donator
  • Premium Supporter
  • May 14, 2008
    3,558
    434
    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:
    Index: Core/Player/g_player.cs
    ===================================================================
    --- Core/Player/g_player.cs	(revision 25694)
    +++ Core/Player/g_player.cs	(working copy)
    @@ -2605,6 +2605,9 @@
     
           if (nextChapter > 0 && nextChapter < _player.Duration)
           {
    +        GUIMessage msgUpdate = new GUIMessage(GUIMessage.MessageType.GUI_MSG_PLAYER_POSITION_CHANGED, 0, 0, 0, 0, 0,
    +                                              null);
    +        GUIGraphicsContext.SendMessage(msgUpdate);
             SeekAbsolute(nextChapter);
             return true;
           }
    @@ -2625,6 +2628,9 @@
     
           if (prevChapter >= 0 && prevChapter < _player.Duration)
           {
    +        GUIMessage msgUpdate = new GUIMessage(GUIMessage.MessageType.GUI_MSG_PLAYER_POSITION_CHANGED, 0, 0, 0, 0, 0,
    +                                              null);
    +        GUIGraphicsContext.SendMessage(msgUpdate);
             SeekAbsolute(prevChapter);
             return true;
           }
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    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.
     

    disaster123

    MP Donator
  • Premium Supporter
  • May 14, 2008
    3,558
    434
    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?
     

    Users who are viewing this thread

    Top Bottom