Announcement

Collapse
No announcement yet.

Moving time counter in Windowshade Mode

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Moving time counter in Windowshade Mode

    (This is coming out from this discussion: https://forums.winamp.com/forum/wina...gnment-to-left)

    I am using Bento in Windowshade Mode. In the file

    C:\Program Files (x86)\Winamp\Skins\Bento\xml\player-shade.xml

    I see and can change

    code:
    <text id="SongTime"
    i.e. that time counter which is on the left side of SongTicker. But I do not see a section of this file governing the ime counter on the right side of it. And what I want to do is to move it from right side of SongTicker to its left side - thus put it in-between my SongTime and SongTicker​

  • #2
    I don't think it is possible with the SongTicker object. There is a workaround though.

    1. Make a backup of player-shade.xml so that you can revert the changes.

    2. Add this between SongTime and SongTicker:
    PHP Code:
    <text id="SongLength"
      
    x="35" y="7" h="5" w="35" relatw="0" timeroffstyle="1" timecolonwidth="6"
      
    display="songlength" align="left" font="player.bitmapfont.songinfo"
    /> 

    3. Replace the SongTicker object with the following text object:
    PHP Code:
    <text id="Songticker" nograbb="1" move="1"
      
    x="70" y="2" h="12" w="-78" relatw="1"
      
    display="SONGTITLE" ticker="1"
      
    color="color.display" fontsize="12" valign="top" bold="2"
    />​​ 

    4. Comment out the script tag calling songticker.maki by adding !-- after the opening bracket and -- before the closing bracket like this:
    PHP Code:
    <!--script file="scripts/songticker.maki" param="5,big" /--> 
    Ariszló @ WinCustomize & DeviantArt

    Comment


    • #3
      So I have replaced my

      code:
      <script file="../Big Bento/scripts/songticker.maki" param="3,small" />
      with

      code:
      <!--script file="scripts/songticker.maki" param="5,big" /-->
      <script file="../Big Bento/scripts/songticker.maki" param="3,small" />


      and also

      code:
      <text id="SongTime"
      x="3" y="7" h="5" w="35" relatw="0" timeroffstyle="1" timecolonwidth="6"
      display="time" align="left" font="player.bitmapfont.songinfo"
      />

      <SongTicker id="Songticker" nograbb="1" move="1"
      x="0" y="2" h="12" w="-7" relatw="1"
      display="SONGTITLE" showlen="1" ticker="1" rightpadding="-3"
      rightclickaction="trackmenu" dblclickaction="trackinfo" align="left"
      color="color.display" fontsize="12" valign="top" bold="2"
      />


      with

      code:
      <text id="SongTime"
      x="3" y="7" h="5" w="35" relatw="0" timeroffstyle="1" timecolonwidth="6"
      display="time" align="left" font="player.bitmapfont.songinfo"
      />

      <text id="SongLength"
      x="35" y="7" h="5" w="35" relatw="0" timeroffstyle="1" timecolonwidth="6"
      display="songlength" align="left" font="player.bitmapfont.songinfo"
      />

      <text id="Songticker" nograbb="1" move="1"
      x="70" y="2" h="12" w="-78" relatw="1"
      display="SONGTITLE" ticker="1"
      color="color.display" fontsize="12" valign="top" bold="2"
      />​​


      and got the remaining time being displayed overlapped with my ATF

      By manipulating the x value of Songticker I was able only to move it further right but still in as an overlapping element. And also changing x​ of SongLength did the same

      But after changing x​ of SongTime to 33 I still got an overlapping, but this time there was at least enough blank space created on the left edge for one of the counters


      So it is seems like being possible to achieve - I just was not able to to strike the right combination of values, despite trying out various combos


      Comment


      • #4
        Sorry, I did not read your posts carefully and described how to edit player-shade.xml for Big Bento.
        Ariszló @ WinCustomize & DeviantArt

        Comment


        • #5
          So here come the instructions for Bento (not Big Bento as before).

          1. Make a backup of player-shade.xml so that you can revert the changes.

          2. Add this between SongTime and SongTicker:​

          PHP Code:
          <text id="SongLength"
            
          x="38" y="7" h="5" w="35" relatw="0" timeroffstyle="1" timecolonwidth="6"
            
          display="songlength" align="left" font="player.bitmapfont.songinfo"
          />​ 

          3. Replace the SongTicker object with the following text object:
          PHP Code:
          <text id="Songticker" nograbb="1" move="1"
            
          x="73" y="2" h="12" w="-80" relatw="1"
            
          display="SONGTITLE" ticker="1" rightpadding="-3"
            
          rightclickaction="trackmenu" dblclickaction="trackinfo" align="right"
            
          color="color.display" fontsize="12" valign="top" bold="2"
          />​ 
          Note that it begins with "<text" (not "<SongTicker"), x is changed to 73 and the showlen="1" parameter is removed.

          4. Comment out the script tag calling songticker.maki by adding !-- after the opening bracket and -- before the closing bracket like this:
          code:
          <!--script file="../Big Bento/scripts/songticker.maki" param="3,small" /-->

          Don't leave it like this!
          code:
          <script file="../Big Bento/scripts/songticker.maki" param="3,small" />
          Ariszló @ WinCustomize & DeviantArt

          Comment


          • #6
            Something went wrong. I posted how to modify the file for Bento and my post is unapproved.
            Ariszló @ WinCustomize & DeviantArt

            Comment


            • #7
              Just one more thing: you should also change the width parameter for the text object displaying the song ticker. It should be w="-80"​.

              Meanwhile, my unapproved post seems to have been approved. I tried to figure out why the post was unapproved but could not find anything in the Forum Rules that I might have violated. So my guess is that there must be some unwritten rule that one should not post twice to the same thread within an hour.
              Ariszló @ WinCustomize & DeviantArt

              Comment


              • #8
                Originally Posted by ariszlo View Post
                ...
                Meanwhile, my unapproved post seems to have been approved. I tried to figure out why the post was unapproved but could not find anything in the Forum Rules that I might have violated. So my guess is that there must be some unwritten rule that one should not post twice to the same thread within an hour.
                Hi ariszlo,

                I hope you're doing well.

                I'm also trying to learn what's acceptable within the new forum rules. Sometimes my posts to a new thread don't show up for at least 24 hours. After that, additional posts to the same thread appear immediately. Also signatures don't appear below posts when I'm logged in.
                Winamp v5.9.2.10042 - Quinto Black CT v3.7 skin
                Windows 11 Home 64-bit v22H2 desktop - Logitech Z906 5.1 speaker system

                Comment


                • #9
                  Sorry for including my forum issues in the above post. I just found the proper thread for making such posts.
                  Winamp v5.9.2.10042 - Quinto Black CT v3.7 skin
                  Windows 11 Home 64-bit v22H2 desktop - Logitech Z906 5.1 speaker system

                  Comment


                  • #10
                    Originally Posted by ariszlo View Post
                    So here come the instructions for Bento (not Big Bento as before).
                    [...]
                    Thank you very much - it worked


                    I have adjusted it to this:

                    PHP Code:
                    <!-- INFO:
                    Time total [length of file] -->
                    <
                    text id="SongLength"
                    x="10" y="7" h="5" w="35" relatw="0" timeroffstyle="1" timecolonwidth="6"
                    display="songlength" align="left" font="player.bitmapfont.songinfo"
                    />

                    <!-- 
                    INFO:
                    Time passed remaining [when playing] -->
                    <
                    text id="SongTime"
                    x="52" y="7" h="5" w="40" relatw="0" timeroffstyle="1" timecolonwidth="6"
                    display="time" align="left" font="player.bitmapfont.songinfo"
                    />

                    <!-- 
                    INFO:
                    Title Advanced Title Formatting-->
                    <
                    text id="Songticker" nograbb="1" move="1"
                    x="102" y="2" h="12" w="-80" relatw="1"
                    display="SONGTITLE" ticker="1" rightpadding="-3"
                    rightclickaction="trackmenu" dblclickaction="trackinfo" align="left"
                    color="color.display" fontsize="12" valign="top" bold="2"
                    />​​ 


                    Originally Posted by ariszlo View Post
                    4. Comment out the script tag calling songticker.maki
                    [...]
                    When I read it back then, my not-natively-English brain missed the out as it probably never encountered such expression

                    Had you wrote deactivate or simply replace, this part of explanation would not require being repeated now and expanded

                    I will save it for myself as:

                    PHP Code:
                    <!-- INFO:
                        [
                    DEACTIVATED] -->
                        <!--
                        <
                    script file="../Big Bento/scripts/songticker.maki" param="3,small" />
                        -->
                    ​ 


                    I think this is all I need in regards to those issues​​

                    Comment


                    • #11
                      As for how his new version of this forum works:

                      I too experience is overall glitchiness

                      Comment

                      Working...
                      X