Need help with TV-Series Listviews WatchedAndUnWatched .pngs (1 Viewer)

Holzi

Super Moderator
  • Team MediaPortal
  • April 21, 2010
    7,934
    2,235
    Ba-Wü
    Home Country
    Germany Germany
    My Problem is that the tvseries_SeasonListIcon.png and the tvseries_SeriesListIcon.png are not exactly balanced. As you also can see in the attached screenshot.
    At the moment the aspect ratio is 96x24. I need them a bit longer, for example 120x24. But i don't know where i have to look in the tv-series xmls. =( I even read the skin designers guide for TV-Series without success. If i just overwrite the existing pngs with pngs that have another aspect ratio they get automatically cropped to 96x24.

    I think it has something to do with these lines in the TVSeries.SkinSettings.xml:

    - <views import="true" AppendlmageToList="false">
    <group layout="List" />
    - <series layout="ListPosters">
    <item1>SeriesWatchedAndUnWatched</item1>
    - <item2>
    - <![CDATA[ <Series.Pretty_Name>
    ]]>
    </item2>
    <item3>SeriesTotalEpisodes_1</item3>
    </series>
    - <season layout="List">
    <item1>SeasonWatchedAndUnWatched</item1>
    - <item2>

    But i didnt find anything where to edit "item1".
    I really tried a long time but i can't do it.. =( Hopefully you guys can help me!
    Thanks in advance!
     

    Attachments

    • TVSeries-listview.JPG
      TVSeries-listview.JPG
      135.6 KB

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,755
    7,200
    Sydney
    Home Country
    Australia Australia
    You need to look at the list control itself, in particular:

    Code:
    <itemHeight>
    <itemWidth>

    This controls the dimmensions of the image, and also the following:

    Code:
    <textXOff3>

    or maybe offset2, cant remember...anyway that controls the position of the text.

    The formatting rule will control the space between the two values, its a limitation of the facade control to only have 3 items. Need to consider if the Total episode count is also being used so need to substitute the watched/unwatched with spaces.

    Code:
    <Enabled>1<Format>SeriesWatchedAndUnWatched<FormatAs>Eval(PrettyNumber100(<Series.EpisodesUnWatched>))         Eval(PrettyNumber100(<Series.EpisodeCount>-<Series.EpisodesUnWatched>))
    In the installer we detect if 1920x1080 and adjust the number of spaces.
     

    Holzi

    Super Moderator
  • Team MediaPortal
  • April 21, 2010
    7,934
    2,235
    Ba-Wü
    Home Country
    Germany Germany
    • Thread starter
    • Moderator
    • #3
    Thank you!
    I will test this in the next days and report if i get it to work! =)
     

    m3rcury

    Development Group
  • Team MediaPortal
  • August 12, 2010
    977
    733
    Home Country
    Malta Malta
    Holzi, as Damien said, installation should cater for it. In fact on my TV, layout is good, but on my other PC, it's as you said. What I did was to remove a couple of blank spaces from the following lines and alignment should be acceptable.

    <Enabled>1<Format>SeriesWatchedAndUnWatched<FormatAs>Eval(PrettyNumber100(<Series.EpisodesUnWatched>)) Eval(PrettyNumber100(<Series.EpisodeCount>-<Series.EpisodesUnWatched>))
    <Enabled>1<Format>SeasonWatchedAndUnWatched<FormatAs> Eval(PrettyNumber10(<Season.EpisodesUnWatched>)) Eval(PrettyNumber10(<Season.EpisodeCount>-<Season.EpisodesUnWatched>))

    Have attached my amended TVSeries.SkinSettings.xml
     

    Holzi

    Super Moderator
  • Team MediaPortal
  • April 21, 2010
    7,934
    2,235
    Ba-Wü
    Home Country
    Germany Germany
    • Thread starter
    • Moderator
    • #5
    Hey!
    What do you mean with "good"? Could u post a screenshot from your TV screen? What is your resolution?
    I installed it on my laptop screen, so no FULL HD. Unfortunately i can't test changes atm. =(
     

    m3rcury

    Development Group
  • Team MediaPortal
  • August 12, 2010
    977
    733
    Home Country
    Malta Malta
    Hey!
    What do you mean with "good"? Could u post a screenshot from your TV screen? What is your resolution?
    I installed it on my laptop screen, so no FULL HD. Unfortunately i can't test changes atm. =(


    Holzi, my TV resolution is 1280x720 and attached find screenshots.
     

    Holzi

    Super Moderator
  • Team MediaPortal
  • April 21, 2010
    7,934
    2,235
    Ba-Wü
    Home Country
    Germany Germany
    • Thread starter
    • Moderator
    • #7
    Idd, they look fine! =)
    So it has all to do with the blank spaces?!
     

    Users who are viewing this thread

    Top Bottom