[solved] ComSkip markers in OSD with MP 1.6 (1 Viewer)

olli14

Portal Pro
December 17, 2008
740
35
Home Country
Germany Germany
Hi,
does really no one knows which xml files has to be updated and what has to be changed in these xml files to get Comskip markers working in StremedMP? I cannot imagine!

olli14
 

mattjcurry

Retired Team Member
  • Premium Supporter
  • October 24, 2011
    261
    207
    44
    Hey olli14,

    I am unfamiliar with the streamedmp XML layout. The file naming really depends on the skin.


    I would suggest searching the entire skin directory for tvprogress in any *.xml file.


    You can use freeware like notepad++ to do this.

    Sorry to not be of more help but I don't even have streamedmp installed.
     

    olli14

    Portal Pro
    December 17, 2008
    740
    35
    Home Country
    Germany Germany
    I have found the xml file that has to be changed to show the comskip markers.
    It's "common.progressbar.xml".
    In Titan skin where comskip markers are working it's "VideoOSD.xml".
    By comparing these two files I have changed the "common.progressbar.xml" for support of Comskip markers in StreamedMP skin.
    Now it's working on my side. But now the start position and the end position of the progress bar are not at the same point as before. Further the orange progress bar that shows the comskip markers is a little bit thicker than the blue progress bar.
    Attached the png files that I'm using.

    not working common.progressbar.xml
    <control>
    <description>Progress Bar</description>
    <type>progress</type>
    <id>1</id>
    <posX>288</posX>
    <posY>1018</posY>
    <width>1358</width>
    <label>#percentage</label>
    <texturebg>-</texturebg>
    <lefttexture>osdprogressleft.png</lefttexture>
    <midtexture>osdprogressmid.png</midtexture>
    <righttexture>osdprogressright.png</righttexture>
    <visible>window.isosdvisible|window.ispauseosdvisible|player.rewinding|player.forwarding|control.isvisible(10)|player.seeking</visible>
    </control>


    working common.progressbar.xml
    <control>
    <description>Progress Bar</description>
    <type>tvprogress</type>
    <id>105</id>
    <posX>288</posX>
    <posY>1028</posY>
    <width>1358</width>
    <!--height>15</height-->
    <toptexture>-</toptexture>
    <TextureOffsetY>0</TextureOffsetY>
    <bottomtexture>-</bottomtexture>
    <texturetick>-</texturetick>
    <!--lefttexture>osdprogressleft.png</lefttexture-->
    <midtexture>-</midtexture>
    <righttexture>-</righttexture>
    <logotexture>-</logotexture>
    <fillbackgroundtexture>-</fillbackgroundtexture>
    <fillbgxoff>-3</fillbgxoff>
    <fillbgyoff>0</fillbgyoff>
    <filltexture1>osdprogressmid.png</filltexture1>
    <filltexture2>osdprogressmid.png</filltexture2>
    <filltexture3>osdprogressmid_orange.png</filltexture3>
    <markertexture>osdprogress_comskip_marker.png</markertexture>
    <!--fillheight>15</fillheight-->
    <label>#percentage</label>
    <label1>#percent2</label1>
    <label2>#percent3</label2>
    <labelmarkerstarts>#jumppoints</labelmarkerstarts>
    <labelmarkerends>#chapters</labelmarkerends>
    <visible>window.isosdvisible|window.ispauseosdvisible|player.rewinding|player.forwarding|control.isvisible(10)|player.seeking</visible>
    </control>
     

    Attachments

    • osdprogress_comskip_marker.png
      osdprogress_comskip_marker.png
      175 bytes
    • osdprogressmid.png
      osdprogressmid.png
      349 bytes
    • osdprogressmid_orange.png
      osdprogressmid_orange.png
      2.8 KB

    popy

    MP Donator
  • Premium Supporter
  • July 3, 2011
    617
    141
    I have found the xml file that has to be changed to show the comskip markers.
    It's "common.progressbar.xml".
    In Titan skin where comskip markers are working it's "VideoOSD.xml".
    By comparing these two files I have changed the "common.progressbar.xml" for support of Comskip markers in StreamedMP skin.
    Now it's working on my side. But now the start position and the end position of the progress bar are not at the same point as before. Further the orange progress bar that shows the comskip markers is a little bit thicker than the blue progress bar.
    Attached the png files that I'm using.

    not working common.progressbar.xml
    <control>
    <description>Progress Bar</description>
    <type>progress</type>
    <id>1</id>
    <posX>288</posX>
    <posY>1018</posY>
    <width>1358</width>
    <label>#percentage</label>
    <texturebg>-</texturebg>
    <lefttexture>osdprogressleft.png</lefttexture>
    <midtexture>osdprogressmid.png</midtexture>
    <righttexture>osdprogressright.png</righttexture>
    <visible>window.isosdvisible|window.ispauseosdvisible|player.rewinding|player.forwarding|control.isvisible(10)|player.seeking</visible>
    </control>


    working common.progressbar.xml
    <control>
    <description>Progress Bar</description>
    <type>tvprogress</type>
    <id>105</id>
    <posX>288</posX>
    <posY>1028</posY>
    <width>1358</width>
    <!--height>15</height-->
    <toptexture>-</toptexture>
    <TextureOffsetY>0</TextureOffsetY>
    <bottomtexture>-</bottomtexture>
    <texturetick>-</texturetick>
    <!--lefttexture>osdprogressleft.png</lefttexture-->
    <midtexture>-</midtexture>
    <righttexture>-</righttexture>
    <logotexture>-</logotexture>
    <fillbackgroundtexture>-</fillbackgroundtexture>
    <fillbgxoff>-3</fillbgxoff>
    <fillbgyoff>0</fillbgyoff>
    <filltexture1>osdprogressmid.png</filltexture1>
    <filltexture2>osdprogressmid.png</filltexture2>
    <filltexture3>osdprogressmid_orange.png</filltexture3>
    <markertexture>osdprogress_comskip_marker.png</markertexture>
    <!--fillheight>15</fillheight-->
    <label>#percentage</label>
    <label1>#percent2</label1>
    <label2>#percent3</label2>
    <labelmarkerstarts>#jumppoints</labelmarkerstarts>
    <labelmarkerends>#chapters</labelmarkerends>
    <visible>window.isosdvisible|window.ispauseosdvisible|player.rewinding|player.forwarding|control.isvisible(10)|player.seeking</visible>
    </control>

    Thx, i can confirm that now the comskip markes are shown in the pause & skip forward OSD!
    Thank you very much, this feature i have really missed since MP 1.6.

    Would be nice if you can fix the thickness issue of the red/blue bar.

    pOpY
     

    olli14

    Portal Pro
    December 17, 2008
    740
    35
    Home Country
    Germany Germany
    Sorry but I can't fix the thickness issue. I'm no skinner.
    I tested a little bit with the thickness issue but I doesn't know the solution.

    Would be great when a skinner could help.

    olli14
     

    Kui

    Portal Pro
    November 11, 2010
    53
    42
    Alajärvi
    Home Country
    Finland Finland
    Hello,

    Thanks @olli14 for giving a solution for ComSkip markers.

    I did modify the "common.progressbar.xml" abit more, and got it "pretty good" now. Im also no skinner, so the progressbar doesn't look as good as the original but it's better than nothing. :)

    Just hoping that someone could make the "start and end" of the progressbar as it is in the original StreamedMP skin, also the colors of the progressbar now don't "respect" the streamedmp's design (red and orange atm, copied the files from DefaultWide skin :confused:).


    Steps for testing/installing:
    1. Go to skin folder (mine is: C:\ProgramData\Team MediaPortal\MediaPortal\skin\StreamedMP)

    2. Search and take a backup of file: "common.progressbar.xml" (just in case its horrible :p)

    3. Copy the attached "common.progressbar.xml" and replace the old one

    4. Copy rest of the attached files:
    "osd_progress_background.png"
    "osd_progress_indicatorTV.png"
    "osd_progress_mid_green.png" (this might even not be in use :D)
    "osd_progress_mid_orange.png" and
    "osd_progress_mid_red.png"
    --->To skin's Media folder (mine is: C:\ProgramData\Team MediaPortal\MediaPortal\skin\StreamedMP\Media)

    5. Open MP and test the comskip markers on some recording which (obviously) have the comskip data. :D


    Would be awesome if someone with knowledge of skinning could fine tune these mine and olli14 post's to make it better (looking like StreamedMP progressbar looks now + comskip markers). (y)

    Test it guys, give feedback and most important --> make it better!!! :p


    Kui
     

    Attachments

    • osd_progress_mid_red.png
      osd_progress_mid_red.png
      178 bytes
    • osd_progress_mid_orange.png
      osd_progress_mid_orange.png
      239 bytes
    • osd_progress_mid_green.png
      osd_progress_mid_green.png
      190 bytes
    • osd_progress_indicatorTV.png
      osd_progress_indicatorTV.png
      169 bytes
    • osd_progress_background.png
      osd_progress_background.png
      1.2 KB
    • common.progressbar.xml
      3.8 KB

    Kui

    Portal Pro
    November 11, 2010
    53
    42
    Alajärvi
    Home Country
    Finland Finland
    Hello again, :)

    Got again abit better this Comskip markers, now the timeline is allmost StreamedMP default so it should be better :p

    Same steps as post before:
    1. Search and take a backup of file: "common.progressbar.xml", and replace it with attached file.
    2. Unzip the "osdprogress.zip" to \ProgramData\Team MediaPortal\MediaPortal\skin\StreamedMP\Media

    Give feedback if its good or not, could try to make it better... Im not totally sure how accurate the comskip marker positions are. :eek:



    Kui :)
     

    Attachments

    • common.progressbar.xml
      3.4 KB
    • osdprogress.zip
      1.9 KB

    olli14

    Portal Pro
    December 17, 2008
    740
    35
    Home Country
    Germany Germany
    Hi Kui,
    I tested your attached 2 files. On my side the comskip marker positions are not accurate. Can you get this better? If not that's no problem too!
     

    Kui

    Portal Pro
    November 11, 2010
    53
    42
    Alajärvi
    Home Country
    Finland Finland
    Hi Olli,

    How was position not accurate? The red markers, or blue "progress indicator" or the white "arrows" which indicates progress?

    I tested this just 5mins ago with two different HTPC's, first one has MP 1.9 and resolution 1920 x 1080, and 37" TV.
    Second one has MP 1.10 and resolution 1280 x 1024, and 19" screen.
    Both of these has pretty accurate comskip marker positions, the blue line goes just abit ahead of red markers and white progress indicators.
    That is because the blue marker has rounded ends (both start and end of blue marker). Atleast i assume it is because of that. :)

    Can you post a image how they are not accurate, could try to figure out something...? As i have told before, im no skinner either and have minimal experience on these stuff. :unsure:
     

    Users who are viewing this thread

    Top Bottom