Cirrus Extended mods - a couple of comments
#1
I've been tweaking the skin to match my needs, but there are a couple of things that you may wish to update in the main code (or you could just say I'm being a perfectionist!). I've shown my crude fixes below.

(In all code below, watch out for the spaces in the "[ COLOR]" boxes.)

Home.xml - the time/date/weather text is not centered in the screen.
Code:
<!-- Weather, time etc  -->
    <control type="group">
    <visible>!Skin.HasSetting(homeNoClock)</visible>
    <posx>400</posx>
    <posy>15</posy>
    <width>600</width>
    <align>left</align>
    <control type="label">
      <description>time label</description>
[b]      <posx>-400</posx>
      <posy>0</posy>
      <width>1280</width>
      <height>28</height>
      <align>center</align>[/b]
      <aligny>top</aligny>
      <font>cirrus_30</font>
      <textcolor>white</textcolor>
      <shadowcolor>black</shadowcolor>
    </control>
          <!-- Changes End Butchabay MOD 1.2.0 -->
    </control>

ViewsVideoCompact.xml: The duration field has "mins" outside of the InfoLabel so, when there's no duration (e.g. on the parent folder link) the box still shows "mins" i.e.:
Code:
<label>$INFO[ListItem.Duration,\[ COLOR=orange]$LOCALIZE[31054]:[ /COLOR][b] , mins][/b]</label>

I've also tweaked DialogSeekBar.xml as follows so it looks like this:
Image

I added the "Current time" and "End time" if you didn't see it...

(I haven't used the $LOCALIZE on this, so if you want to incorporate it, that'll need some work).

My code is:
Code:
        <control type="group">
            <control type="image"> <!-- background -->
                <posx>0</posx>
                <posy>0</posy>
                <width>1280</width>
                <height>245</height>
                <aspectratio>stretch</aspectratio>
                <texture>OSDbackground.png</texture>
            </control>
            
            [b]<!-- el_Paraguayo Mod -->
                <control type="group">
                    <posx>20</posx>
                    <posy>70</posy>
                    <control type="label">
                        <posx>0</posx>
                        <posy>0</posy>
                        <width>200</width>
                        <height>25</height>
                        <label>Current Time: [ COLOR=orange]$INFO[System.Time][ /COLOR]</label>
                        <align>left</align>
                        <aligny>center</aligny>
                        <font>cirrus_20</font>
                        <textcolor>white</textcolor>
                        <shadowcolor>black</shadowcolor>
                    </control>

                    <control type="label">
                        <posx>1240</posx>
                        <posy>0</posy>
                        <width>200</width>
                        <height>25</height>
                        <label>End Time: [ COLOR=orange]$INFO[Player.FinishTime][ /COLOR]</label>
                        <align>right</align>
                        <aligny>center</aligny>
                        <font>cirrus_20</font>
                        <textcolor>white</textcolor>
                        <shadowcolor>black</shadowcolor>
                    </control>
                </control>
<!-- end mod -->[/b]

There's another thread about showing additional info for MythTV recordings in the List view, but here's how it looks again:
Image

and here's the code. NB. This works with MythTV recordings as the thumbnails are landscape images. I may need to group these controls with a <visible> tag to restrict this...

Code:
[b]<!-- el_Paraguayo mods -->

    <!-- Add plot -->
    <control type="textbox">
     <posx>0</posx>
     <posy>460</posy>
     <width>360</width>
     <height>88</height>
     <autoscroll delay="3000" time="1000" repeat="5000">true</autoscroll>
     <font>cirrus_20</font>
     <label>$INFO[ListItem.Plot]</label>
    </control>

    <!-- Show duration -->
    <control type="label">
     <posx>0</posx>
     <posy>555</posy>
     <width>260</width>
     <height>25</height>
     <font>cirrus_20</font>
     <textcolor>orange</textcolor>
     <label>$INFO[ListItem.Duration,[ COLOR=white]Duration: [ /COLOR]]</label>
    </control>

    <!-- Title -->
    <control type="label">
     <posx>0</posx>
     <posy>175</posy>
     <width>260</width>
     <height>25</height>
     <font>cirrus_20</font>
     <textcolor>orange</textcolor>
     <label>$INFO[ListItem.TVShowTitle,[ COLOR=white]Title: [ /COLOR]]</label>
    </control>

    <!-- MythTV Episode Title -->
    <!-- (for some reason this is in the PlotOutline infolabel) -->
    <control type="label">
     <posx>0</posx>
     <posy>205</posy>
     <width>360</width>
     <height>25</height>
     <font>cirrus_20</font>
     <textcolor>orange</textcolor>
     <label>$INFO[ListItem.PlotOutline,[ COLOR=white]Episode: [ /COLOR]]</label>
     <visible>SubString(Container.FolderPath,myth,Left)</visible>
    </control>

    <!-- All other episode titles -->
    <control type="label">
     <posx>0</posx>
     <posy>205</posy>
     <width>360</width>
     <height>25</height>
     <font>cirrus_20</font>
     <textcolor>orange</textcolor>
     <label>$INFO[ListItem.Episode,[ COLOR=white]Episode: [ /COLOR]]</label>
     <visible>!SubString(Container.FolderPath,myth,Left)</visible>
    </control>



    <!-- Recording Date -->
    <control type="label">
     <posx>0</posx>
     <posy>235</posy>
     <width>460</width>
     <height>25</height>
     <font>cirrus_20</font>
     <textcolor>orange</textcolor>
     <label>$INFO[ListItem.Date,[ COLOR=white]Recording Date: [ /COLOR]]</label>
    </control>

<!-- End mods -->[/b]

        <!-- GenreFanart Mod -->

Next up, I'd like to take on the window that appears when I enter a time to seek to in videos (no idea what the function's called or which xml file to edit) - this window seems a bit too plain for the rest of the skin.

el_P
BBC Live Football Scores: Football scores notifications service.
script.squeezeinfo: shows what's playing on your Logitech Media Server
Reply
#2
Thanks for the END TIME function, I was really missing this one!
Reply
#3
No problem.

I just remembered that I also had to shorten the progress bar in DialogSeekBar.xml to do that.

Code:
            <control type="group"> <!-- progress bar -->
                <posx>20</posx>
                <posy>20</posy>
                <align>left</align>
                <control type="progress" id="23">
                    <description>Progressbar</description>
                    [b]<posx>175</posx>[/b]
                    <posy>55</posy>
                    [b]<width>890</width>[/b]
                    <height>15</height>
                    <info>Player.Progress</info>
                    <visible>true</visible>
                </control>
BBC Live Football Scores: Football scores notifications service.
script.squeezeinfo: shows what's playing on your Logitech Media Server
Reply
#4
Thanx for that, i'll see if i'll get the time to implement your additions for the next update.
Reply
#5
I hope you'll have time, the END TIME function in the progress bar is definitely a must-have
Image
Reply
#6
N.O.W.A.L.L Wrote:I hope you'll have time, the END TIME function in the progress bar is definitely a must-have
Image

Already DONE !

See HERE:
Reply

Logout Mark Read Team Forum Stats Members Help
Cirrus Extended mods - a couple of comments0