[Videos] Comskip Timeline (1 Viewer)

mattjcurry

Retired Team Member
  • Premium Supporter
  • October 24, 2011
    261
    207
    45
    I started working on this patch. I am looking for an answer to a couple questions:
    https://forum.team-mediaportal.com/...ection-guipropertymanager-setproperty-103459/

    https://forum.team-mediaportal.com/...st-here-48/question-about-g_player-cs-103447/

    If any developers has a couple seconds to answer those then it would be really helpful, otherwise, I am just going to give it my best shot.

    I think that there are a couple things that need to be done.

    1.) I need to make the jump points accessible via a getter method
    2.) need to pass jump points and chapters to the skin
    3.) need to have an option in the skin for a texture for commercials.
    4.) update GUITVProgressControl to render the new texture for any given jump points.
     

    mattjcurry

    Retired Team Member
  • Premium Supporter
  • October 24, 2011
    261
    207
    45
    Hey Guys,

    I finally got around to getting to spend a couple hours on this. The coding was actually not bad. I have working code in my Git Trunk, so I just need to work with the Devs to try to get it into the main repo.

    Feedback is welcome...
    The skin config looks like this - For the jump texture I used the existing orange image, but you could use anything:
    Code:
    <control>
          <description>TV Progress Bar</description>
          <type>tvcomskipprogress</type>
          <id>1</id>
          <posX>90</posX>
          <posY>484</posY>
          <width>362</width>
          <height>16</height>
          <toptexture>osd_progress_indicator.png</toptexture>
          <TextureOffsetY>17</TextureOffsetY>
          <bottomtexture>-</bottomtexture>
          <texturetick>-</texturetick>
          <lefttexture>-</lefttexture>
          <midtexture>-</midtexture>
          <righttexture>-</righttexture>
          <logotexture>-</logotexture>
          <fillbackgroundtexture>-</fillbackgroundtexture>
          <fillbgxoff>0</fillbgxoff>
          <fillbgyoff>0</fillbgyoff>
          <filltexture1>osd_progress_mid_red.png</filltexture1>
          <filltexture2>osd_progress_mid.png</filltexture2>
          <filltexture3>osd_progress_mid_orange.png</filltexture3>
          <jumptexture>osd_progress_mid_orange.png</jumptexture>
          <fillheight>16</fillheight>
          <label>#TV.Record.percent1</label>
          <label1>#TV.Record.percent2</label1>
          <label2>#TV.Record.percent3</label2>
          <labeljumppoints>#TV.Record.jumppoints</labeljumppoints>
          <labelchapters>#TV.Record.chapters</labelchapters>
          <startlabel />
          <endlabel />
          <toplabel />
          <font>font10</font>
          <textcolor>FFffffff</textcolor>
          <visible>!control.hasfocus(1237)</visible>
        </control>
     

    Attachments

    • Comskip Markers.png
      Comskip Markers.png
      805.1 KB

    mbuzina

    Retired Team Member
  • Premium Supporter
  • April 11, 2005
    2,839
    726
    Germany
    Home Country
    Germany Germany
    I am really looking forward to it. If you have a compiled version I can put on my system I wouldn't mind testing (based of 1.2.2).
     

    SimondusMaximus

    MP Donator
  • Premium Supporter
  • December 27, 2009
    171
    26
    Home Country
    United Kingdom United Kingdom
    I was wathching recorded TV last night thinking how nice it would be to have ad break markers. And Lo! Here it is the very next morning. Sweet!

    Nice one mattjcurry, looking forward to testing this too. Thank you!
     

    mattjcurry

    Retired Team Member
  • Premium Supporter
  • October 24, 2011
    261
    207
    45
    Alright, so the files that are attached I think will do it...

    You still have to make the skin edits manually as oulined in the previous post.

    Please let me know if you have any issues with it and I can go ahead and upload additional files if needed.

    Also, if you like the feature, then please like my post here:
    https://forum.team-mediaportal.com/threads/show-comskip-markers-in-timeline.105894/#post-845308

    I am very interested on your impressions on performance. It was hard to guage on my system, but it seemed like the whole OSD gets redrawn on a timer if you leave it open, so there may be a bit of a performance penalty to this enhancement. I am going to post on the developer forum to see if anyone has any ideas.
     

    Attachments

    • ComskipTimeline.zip
      1.2 MB

    manyakim

    MP Donator
  • Premium Supporter
  • November 20, 2005
    36
    18
    Zeeland
    Home Country
    Netherlands Netherlands
    I tried to see this in action but unfortunately this version is designed for 1.2.0, and my machines run on the 1.2.2. version.
    I'm so curious that i will downgrade to test this option.

    Thank you for all your time and effort to make MePo even better :)
     

    mattjcurry

    Retired Team Member
  • Premium Supporter
  • October 24, 2011
    261
    207
    45
    Yes, the version will show as 1.2.0, because when you checkout from Git that is the version of the master branch, even though it contains all of the changes from 1.2.2, as well as additional changes that have been vetted and approved.

    I do wish that MP was a little bit less sensitive about version numbers, or that there was an easy way to disable version checking in the config. It would make testing a lot easier.

    If you would like, I can probably upload a full installer with the patch compiled in tonight, assuming that I do not run into an attachment file size limitation.

    Matt
     

    mbuzina

    Retired Team Member
  • Premium Supporter
  • April 11, 2005
    2,839
    726
    Germany
    Home Country
    Germany Germany
    mattjcurry, you can base your patch on the Tag 1.2.2 and then you get 1.2.2 compatible versions (I had the same issue, that was why I mistook the thread ;-) )
     

    Users who are viewing this thread

    Similar threads

    MP1 MP2 Comskip Ad removal DE
    Hi all Was just looking at Ad Removal - Comskip and note: - MP1 only - 4 The Record 1.3.3 seems to no longer exist Question: Does anybody have pointers as to how I/we can setup or install something to automatically remove ads during playback on MP2? Thanks in advance Henry
    Hi all Was just looking at Ad Removal - Comskip and note: - MP1 only - 4 The Record 1.3.3 seems to no longer exist Question...
    Hi all Was just looking at Ad Removal - Comskip and note: - MP1 only - 4 The Record 1.3.3 seems to no longer exist Question...
    Replies
    0
    Views
    664
    Now with Version 1.37 x64 MP is near to perfect with repect to speed, robustness and funtionality. There is just one point where I have an Idea for further improvement. As I am not too interested in advetisments, I am using comskip to mark times of ads, which is normally working, as it should but produces an error when trying to...
    Now with Version 1.37 x64 MP is near to perfect with repect to speed, robustness and funtionality. There is just one point where I...
    Now with Version 1.37 x64 MP is near to perfect with repect to speed, robustness and funtionality. There is just one point where I...
    Replies
    0
    Views
    965
    I made some updates to the Wiki page describing the <import> and <include> tags, including adding a couple of new xml examples. For the first example, I highlighted the example text and eventually found the location in the menus where I could select the CODE macro to have the example text formatted as a code example. So far, so good...
    I made some updates to the Wiki page describing the <import> and <include> tags, including adding a couple of new xml examples. For...
    I made some updates to the Wiki page describing the <import> and <include> tags, including adding a couple of new xml examples. For...
    Replies
    0
    Views
    522
    Greetings to all Denizens of the land of MediaPortal... It seems our Zap2XML/GraceNote access is broken again. I (as many others) have been using the latest NewZap2xml_6 and it has worked flawlessly. A few days ago it all died. I wonder if anyone is working a solution to save the masses. I am hoping the good citizen of past is...
    Greetings to all Denizens of the land of MediaPortal... It seems our Zap2XML/GraceNote access is broken again. I (as many others)...
    Greetings to all Denizens of the land of MediaPortal... It seems our Zap2XML/GraceNote access is broken again. I (as many others)...
    Replies
    0
    Views
    754
    MP1 MP2 MP2 - V2.3 EPG has stopped DE
    The only configuration that is certain to work is when the MP client and MP server are from the same release. It is sometimes possible to use MP clients from a release that is different to the MP server, but whether it works depends on the specific changes that were made between the two releases. -- from CyberSimian in the UK
    The only configuration that is certain to work is when the MP client and MP server are from the same release. It is sometimes...
    Before you create this bug report: Make sure that your system (Windows, codecs and drivers) is up to date, matching the...
    Replies
    10
    Views
    5K
    Top Bottom