Skin Changes - Discussion (2 Viewers)

elliottmc

Retired Team Member
  • Premium Supporter
  • August 7, 2005
    14,927
    6,061
    Cardiff, UK
    Home Country
    United Kingdom United Kingdom
    Dear skinners,

    As a result of recent fixes to the functionality in EPG searching, there are minor skin changes required.

    As I'm not an expert, I'd prefer to just draw your attention to this change (Mantis 2406) and ask you to look at the skin files from Blue3(wide) to see what changes are required.

    If anyone would like to document these fully, feel free to add it to the thread and update my description in MediaPortal1_Development/SkinArchitecture/MP_1_1_0-to-TBD - MediaPortal Manual Documentation

    Best wishes,

    Mark
     

    aj1405

    Portal Pro
    September 30, 2007
    443
    302
    Home Country
    Norway Norway
    Is "Skin <define> in references.xml" implemented in the latest SVN?

    I cannot get it to work.
     

    arion_p

    Retired Team Member
  • Premium Supporter
  • February 7, 2007
    3,373
    1,626
    Athens
    Home Country
    Greece Greece
    Dear skinners,

    As a result of recent fixes to the inner workings of the TV zappping OSD, there is a minor skin change required.
    More specifically, in order to properly support switching channels by typing the channel number using the numeric keys on the remote (or keyboard), a new Label has been added to tvZAPOSD.xml. The new label must have ID=38. Blue3Wide and Blue3 skins have been updated as appropriate in SVNs 24653 and 24657 respectively (you can see the changes required in the diff of those versions).

    Existing skins will still work even without this change but the channel number will not be shown as it is being typed (but the switch will occur normally), so this is not a critical change but you should plan to include it at least in your next skin release.

    Best regards,

    Arion
     

    chemelli

    Retired Team Member
  • Premium Supporter
  • September 28, 2006
    6,159
    2,264
    50
    Milano, Italy
    Home Country
    Italy Italy
    MediaInfo.dll changed the name of some properties and added new so I reworked our wrapper.
    Now we can handle all format with no code change :p

    Skin file need to be updated as follow (Blue3Wide took as example):

    Code:
        <control>
          <description>Audio codec (normal osd)</description>
          <type>image</type>
          <id>0</id>
          <posX>800</posX>
          <posY>520</posY>
          <width>92</width>
          <height>52</height>
          <visible>Control.IsVisible(989)</visible>
          [COLOR="red"][B]<texture>logos\#Play.Current.AudioCodec.Texture.png</texture>[/B][/COLOR]
          <keepaspectratio>yes</keepaspectratio>
          <centered>yes</centered>
          <animation effect="slide" start="0,0" end="0,-100" time="400" reversible="false">visible</animation>
          <animation effect="fade" time="150">visiblechange</animation>
          <animation effect="fade" time="150">windowopen</animation>
        </control>
        <control>
          <description>Audio codec (expanded osd)</description>
          <type>image</type>
          <id>0</id>
          <posX>800</posX>
          <posY>520</posY>
          <width>92</width>
          <height>52</height>
          <visible>!Control.IsVisible(989)</visible>
          [COLOR="red"][B]<texture>logos\#Play.Current.AudioCodec.Texture.png</texture>[/B][/COLOR]
          <keepaspectratio>yes</keepaspectratio>
          <centered>yes</centered>
          <animation effect="slide" start="0,-100" end="0,0" time="400" reversible="false">visible</animation>
          <animation effect="fade" time="150">windowopen</animation>
        </control>
        
        <control>
          <description>Video codec (normal osd)</description>
          <type>image</type>
          <id>0</id>
          <posX>890</posX>
          <posY>520</posY>
          <width>92</width>
          <height>52</height>
          <visible>Control.IsVisible(989)</visible>
          [B][COLOR="red"]<texture>logos\#Play.Current.VideoCodec.Texture.png</texture>[/COLOR][/B]
          <keepaspectratio>yes</keepaspectratio>
          <centered>yes</centered>
          <animation effect="slide" start="0,0" end="0,-100" time="400" reversible="false">visible</animation>
          <animation effect="fade" time="150">visiblechange</animation>
          <animation effect="fade" time="150">windowopen</animation>
        </control>
        <control>
          <description>Video codec (expanded osd)</description>
          <type>image</type>
          <id>0</id>
          <posX>890</posX>
          <posY>520</posY>
          <width>92</width>
          <height>52</height>
          <visible>!Control.IsVisible(989)</visible>
          [COLOR="Red"][B]<texture>logos\#Play.Current.VideoCodec.Texture.png</texture>[/B][/COLOR]
          <keepaspectratio>yes</keepaspectratio>
          <centered>yes</centered>
          <animation effect="slide" start="0,-100" end="0,0" time="400" reversible="false">visible</animation>
          <animation effect="fade" time="150">windowopen</animation>
        </control>

    Now you don't need anymore to make a new control for each audio/video format.
    To achive this result I'm now using codec name/format/profile from MediaInfo, and all media files needed a rename :(
    Current list:

    • 1080i.png
    • 1080p.png
    • 20.png
    • 5.1.png
    • 7.1.png
    • 720p.png
    • AAC VERSION 4 LC.png
    • AC-3 TrueHD.png
    • AC-3.png
    • AC-3Plus.png
    • AVC.png
    • DivX.png
    • DTS ES.png
    • DTS HRA.png
    • DTS MA.png
    • DTS.png
    • Dx50.png
    • E-AC-3.png
    • FLAC.png
    • fullscreen.png
    • hd.png
    • mono.png
    • MPEG AUDIO VERSION 1 LAYER 2.png
    • MPEG AUDIO VERSION 1 LAYER 3.png
    • MPEG VIDEO VERSION 2.png
    • pcm.png
    • realaudio.png
    • realvideo.png
    • sd.png
    • S-MPEG 4 V2.png
    • stereo.png
    • subtitles.png
    • vc-1.png
    • VP6.png
    • widescreen.png
    • wma version 2.png
    • WMV2.png
    • xvid.png

    If a logo is not shown, you just need to look at MediaPortal.log and you get the info needed:

    Code:
    2010-02-22 23:15:39.721087 [Info.][MPMain(1)]: MediaInfoWrapper.MediaInfoWrapper: VideoCodec       : MPEG VIDEO VERSION 2 [ "mpeg video version 2.png" ]

    What we miss ?
    The following 6 logos:

    • AMR.png
    • DTS 96_24.png
    • Sorenson 1.png
    • Qdesign 2.png
    • 6.1.png

    Simone
     

    a2s

    Portal Member
    June 5, 2008
    4
    1
    AW: Skin change with svn25113 : videoOSD.xml

    Thanx for your work.

    Ogg might be another format:
    Code:
    2010-02-24 16:33:26.090192 [Info.][MPMain(1)]: MediaInfoWrapper.MediaInfoWrapper: AudioCodec       : VORBIS [ "vorbis.png" ]

    I found no way to mux a DTS Express track and it's only used on Blu-Rays as a commentary track, it should not be found in containers as a primary audio track.

    Mediainfo:
    Code:
    Format                           : DTS
    Format/Info                      : Digital Theater Systems
    Format profile                   : Express
     

    chemelli

    Retired Team Member
  • Premium Supporter
  • September 28, 2006
    6,159
    2,264
    50
    Milano, Italy
    Home Country
    Italy Italy
    Re: Skin change with svn25113 : videoOSD.xml

    ZealotSix was so kind to draw the missing logos for Blue3Wide:

    • 6.1.png
    • AMR.png
    • DTS 96_24.png
    • Sorenson 1.png
    • Qdesign 2.png
    • Vorbis.png

    :D

    Simone
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Re: Skin change with svn25113 : videoOSD.xml

    Hi,

    i have video sample with sound "dts 96.png" :) so i copy past dts 96_24.png in dts 96.png and the logo show up :)
    It's great thanks,
    Sebastiii.
     

    arion_p

    Retired Team Member
  • Premium Supporter
  • February 7, 2007
    3,373
    1,626
    Athens
    Home Country
    Greece Greece
    Skin change with SVN 25307 (marking partial recordings in TVGuide)

    There have been several fixes and reworks recently regarding the Schedules screen and TVGuide. During these reworks we realized that there are situations where as schedule is going to record part of one or more programs and that fact is not visible in TVGuide or the Schedules screens. The situation may arise when you have a time based schedule (e.g. "Every day at this time" running between 18:00 and 19:00 but on one day there is a program running at 17:30-18:30 and another at 18:30-20:00, so only a part of each program will be recorded). Until now the user would be unaware of this and think nothing would be recorded.

    In order to communicate to the user what will actually be recorded, we have reworked these two screens and as a result some new graphics are needed. New graphics have already been committed in SVN25307 for both Blue3 and Blue3Wide (though perhaps Harley may want to provide better ones :D). The new graphics needed are:

    1. Four partial recording icons (used as pin image in lists). These correspond to their non-partial counterparts as shown below:

    • tvguide_part_recordconflict_button.png (partial version of tvguide_recordconflict_button.png)
    • tvguide_part_recordserie_button.png (partial version of tvguide_recordserie_button.png)
    • tvguide_part_recordserie_conflict_button.png (partial version of tvguide_recordserie_conflict_button.png)
    • tvguide_part_record_button.png (partial version of tvguide_record_button.png)
    These images are required. If missing no pin image will be displayed for partial recordings in lists
    2. Two sets of images for partial recording buttons in TV Guide. One set is for the focused button and one for the not focused. Each set consistes of three images (left, middle, right) that compose the button. These correspond to the non-parital recording button images as shown below:

    • tvguide_partRecButton_Focus_left.png (partial version of tvguide_partRecButton_Focus_left.png)
    • tvguide_partRecButton_Focus_middle.png (partial version of tvguide_partRecButton_Focus_middle.png)
    • tvguide_partRecButton_Focus_right.png (partial version of tvguide_partRecButton_Focus_right.png)
    • tvguide_partRecButton_noFocus_left.png (partial version of tvguide_partRecButton_noFocus_left.png)
    • tvguide_partRecButton_noFocus_middle.png (partial version of tvguide_partRecButton_noFocus_middle.png)
    • tvguide_partRecButton_noFocus_right.png (partial version of tvguide_partRecButton_noFocus_right.png)
    These images are optional but highly recommended. If missing the non-partial recording counterparts will be used but the user will not be able to distinguish between partial and full recordings.
    No xml file changes are necessary.


    Arion
     

    Dadeo

    Docs Group Manager
  • Premium Supporter
  • November 26, 2006
    5,340
    3,321
    Himalayas, India
    Home Country
    Canada Canada
    As many of you may have noticed, hardcoded labels were removed in RC3 (see Issue 2833 - SVN 25661) as suggested by users and skin designers alike.

    • "Track" was hardcoded in #Play.Current.Track and #Play.Next.Track (Now Playing and media overlays)
    • "Year:" was hardcoded in #Play.Current.Year and #Play.Next.Year (Now Playing)
    • "Duration:" was hardcoded in #Play.Current.Duration and #Play.Next.Duration (Media Overlays)
    • "Objects" was hardcoded in #itemcount
    This was done after extensive consultation with the Team and all skin designers of our popular skins, who were asked for feedback. The overwhelming majority was in favor.

    Due to the feature freeze, we were not able to add all the features we wish to enable full flexibility of text labels for #itemcount, so in RC4 we added #itemtype which exposes string(507) or 'items' to the skin so that the label can translate. We hope to make this even more flexible in future releases (after the feature freeze is over).

    Of course, skins can also use #itemcount #currentmodule in many cases where it will then display "xxx Music/Artists' for example (in Music Artists view of course).

    Please consult the Skin Changes Wiki Page on New Property #itemtype for further information and examples.

    I will make this a sticky post, but just wanted to make sure everyone saw it first!
     

    Users who are viewing this thread

    Top Bottom