Announcement

Collapse
No announcement yet.

How ?

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

  • #31
    Well... I was too fast... "a few hours later".. I look at the player and the cover is..GONE and the button isn't doing anything again.

    "I'm loosing my latin" as we say in france !

    Comment


    • #32
      Well...

      1/ flawless skin
      2/ Trying to modify it (and failed)
      3/ Undo changes
      |
      |=> the show/hide cover doesn't work anymore.

      4/ Close winamp, open it, no change.
      5/ Replace the skin with a fresh unzipped version => no change.

      I just don't get it !

      Comment


      • #33
        If nothing else helps, you can delete studio.xnf. It is the file that remembers window positions, the selected color theme, etc. In Windows 10, it is in AppData\Roaming\Winamp. AppData is a hidden folder in your home directory. To make hidden folders visible you should check that option in the View tab of the file manager.

        Once you have deleted studio.xnf, hide the hidden files again because tampering with them might break your system settings.
        Ariszló @ WinCustomize & DeviantArt

        Comment


        • #34
          using a "working window" of this #&@§%, one more attempt to transpose it in my skin.

          In player-elements, with related grphics in player folder
          code:

          <bitmap id="cover.btn" file="player/Normal-cover.png" x="0" y="0" w="18" h="20" />
          <bitmap id="cover.btn.hover" file="player/Normal-cover.png" x="0" y="20" w="18" h="20" />
          <bitmap id="cover.btn.pressed" file="player/Normal-cover.png" x="0" y="40" w="18" h="20" />
          <bitmap id="trans1pxl" file="player/Background.png" x="0" y="0" w="1" h="1"/>


          In player-normal, outside container/layout parts, with related scripts in scripts folder
          code:

          <!-- Coverart Definition -->
          <groupdef id="cover" xuitag="cover">
          <layer id="cover.image.a" x="0" y="0" w="0" h="0" relatw="1" relath="1" image="trans1pxl" ghost="1" />
          <layer id="cover.image.b" x="0" y="0" w="0" h="0" relatw="1" relath="1" image="" ghost="1" />
          <script id="cover.script" file="scripts/cover.maki"></script>
          <script id="showhidecover.script" file="scripts/showhidecover.maki"></script>
          </groupdef>

          and inside container/layout part
          code:

          <button id="coverbtn" x="8" y="15" w="18" h="20" image="cover.btn" hoverImage="cover.btn.hover" downimage="cover.btn.pressed" tooltip="coverart on/off"/>

          Cover isn't displayed, button shows up but cliking it doesn't do anything...

          What's wrong ?

          Comment


          • #35
            Since I know practically nothing about the skin you last showed (it no longer looks like LeaR_Lite), I can only guess.

            Perhaps, changing all instances of iChange_x240 in showhidecover.m to the first word found between the <name> and </name> tags in your skin's skin.xml file might fix it.

            After you have replaced all instances of iChange_x240, save the edited showhidecover.m file, compile it, and copy the compiled showhidecover.maki into your skin's scripts folder overwriting the original.

            Read this post about how you can compile makis. Start reading at
            To compile maki you need the MAKI Compiler.
            Last edited by ariszlo; 16 May 2023, 21:16. Reason: Remove showhidecover. Use albumartshowhide instead.
            Ariszló @ WinCustomize & DeviantArt

            Comment


            • #36
              I've not changed that much, I'd say tweak it here and there but the disturbing thing is that on and off working state in https://www.deviantart.com/takanory/...-x240-30153738... For whatever I'm doing it suddendly works or stops.

              My windows 7 is more than 10 years old so sometimes it..'burps' ;.) like sometimes explorer crashing when hovering quick launch toolbar or recently the unability to resume hibernation but what's going on in winamp's private memory space only concerns winamp right ? So what's going on ?

              Thank you for the script, I'll have a try at it this afternoon (at least it prooved that I have to put things in main_container & normal_layout)

              Comment


              • #37
                Do you really want to toggle cover art on and off? If you never want to turn it off then there is a much simpler way to add cover art to your main window.

                1. The quick solution

                Just create a nocover image and add a tag like this before the </layout> tag of player-normal.xml:

                PHP Code:
                <AlbumArt id="albumart" x="10" y="10" w="64" h="64" notfoundImage="nocover" ghost="1"/> 
                The no cover image can be as simple as a fully transparent png of the size of the AlbumArt layer.

                2. The everything-in-groups solution

                If you do not like to have both group tags and a non-group AlbumArt tag in player-normal.xml then you can define a group containing the AlbumArt tag in player-normal-group.xml like this:

                PHP Code:
                <groupdef id="albumartgroup" w="74" h="74">
                  <
                AlbumArt id="albumart" x="10" y="10" w="64" h="64" notfoundImage="nocover" ghost="1"/>
                </
                groupdef
                And then add this group tag before the </layout> tag of player-normal.xml:
                PHP Code:
                <group id="albumartgroup" x="0" y="0"/> 
                Ariszló @ WinCustomize & DeviantArt

                Comment


                • #38
                  Read this post only if you really want to toggle cover art on and off. If you want to display it all the time then read my previous post instead.

                  First of all, toggling cover art on and off can be done slightly simpler than as it is done in the iChange_x240 skin. The solution I am presenting here will only work if you remove whatever you have imported from iChange_x240.

                  1. Create an albumart group in player-normal-group.xml like this, using your own x, y, w and h parameters:

                  PHP Code:
                  <groupdef id="albumartgroup" w="94" h="74">
                    <
                  button id="albumartbutton" x="78" y="10" image="coverbutton" tooltip="albumart on/off"/>
                    <
                  AlbumArt id="albumart" x="10" y="10" w="64" h="64" notfoundImage="nocover" ghost="1"/>
                    <
                  script id="albumartshowhide" file="scripts/albumartshowhide.maki" />
                  </
                  groupdef
                  2. Add this tag before the </layout> tag in player-normal.xml:

                  PHP Code:
                  <group id="albumartgroup" x="0" y="0"/> 
                  3. Copy albumartshowhide.maki into your skin's scripts folder.
                  Attached Files
                  Ariszló @ WinCustomize & DeviantArt

                  Comment


                  • #39
                    Wonderful !

                    It took me a bit of time as I didn't had any player-normal-group, only player and player-elements.

                    My idea is a versatile player with/without cover, song titles/track/artist/album, visualisation and maybe equalizer opening in the same window as I'd like to mimic my old favorite player Sonique
                    [IMG][/IMG]

                    as it offered me the best using experience. I had a nice collection of viusalisations with an unique one cycling thru the user pre difinded with effects and timing.. It was so great that a wrong configuration gave me an endless overlapping visualisations.

                    Just a glimpse :
                    https://streamable.com/l15iks


                    The bad side is a 20 ish player with an too ooold sound engine leading me to use QCD then excavating winamp.


                    I assume the showhode script could be used for the song text lines using the same groupdef ? But I have no idea of how invocating the visualisation part : I've began to look into azenis...

                    Comment


                    • #40
                      Originally Posted by parisienne17 View Post
                      It took me a bit of time as I didn't had any player-normal-group, only player and player-elements.
                      I guessed that you had no longer based your skin on LeaR_Lite but since you told me practically nothing about the skin you were working on, I could not guess what xml files you had.

                      Originally Posted by parisienne17 View Post
                      My idea is a versatile player with/without cover, song titles/track/artist/album, visualisation and maybe equalizer opening in the same window as I'd like to mimic my old favorite player Sonique
                      Yes, Sonique was a great player.

                      Originally Posted by parisienne17 View Post
                      I assume the showhode script could be used for the song text lines using the same groupdef ?
                      Probably it would. Try and see.

                      Originally Posted by parisienne17 View Post
                      But I have no idea of how invocating the visualisation part
                      There are several types of visualizations in Winamp. The simplest type is what you get with the vis object, then you can use animated layers as in the attached gif and there are the visualizations that run in their own containers of which the two most used are AVS and Milkdrop2. Adding a vis object is easy, the other two options are more difficult. Adding animated layers requires both graphic skills and knowledge of coding, and I have never tried embedding AVS or Milkdrop2 in the main window.

                      Here is a short video about starting Milkdrop2 and switching it to desktop mode.
                      Last edited by ariszlo; 16 May 2023, 21:14. Reason: Removed animated gif.
                      Ariszló @ WinCustomize & DeviantArt

                      Comment


                      • #41
                        Originally Posted by parisienne17 View Post
                        I'd like to mimic my old favorite player Sonique
                        Have you ever tried Plague's Winique?
                        Last edited by ariszlo; 16 May 2023, 21:13. Reason: Removed screenshot.
                        Ariszló @ WinCustomize & DeviantArt

                        Comment


                        • #42
                          Yes I'm using milkdrop. I've tried AVS, there're some nice displays but I find them cpu consuming (even for my I7 4th : they use up to 30% of cpu time).

                          I've also succeded loading some sonique .svp visualsations with SVP loader, alas the best one, the cycling one 'Rappa:' doesn't work and few of them load without freezing winamp.

                          Azenis runs wisualisation inside the skin, at least AVS & milkdrop, I haven't tried G-Force yet as it crashes winamp every time i stop the plugin..


                          By the way, do you now if there's different modes for display="time" for the timer ?

                          I'd like to have a left one displaying time and the right one remaining time but whatever I try the display mode affects both of them.

                          (The sin i'm using as a base is Beautiful simplicity https://www.deviantart.com/andre-w/a...city-111964056

                          Comment


                          • #43
                            Originally Posted by parisienne17 View Post
                            I'd like to have a left one displaying time and the right one remaining time but whatever I try the display mode affects both of them.
                            You can use display="timeelapsed" for the left timer and display="timeremaining" for the right one. (XML GUI Objects - Winamp Developer Wiki)

                            Originally Posted by parisienne17 View Post
                            The sin i'm using as a base is Beautiful simplicity
                            Thanks.

                            Originally Posted by parisienne17 View Post
                            But I have no idea of how invocating the visualisation part : I've began to look into azenis...
                            Yes, the answer is there:
                            PHP Code:
                              <windowholder x="24" y="49" w="99" h="99" autoclose="1" autoopen="1"
                            autoavailable="1" visible="1" hold="guid:AVS" move="1"/> 
                            Ariszló @ WinCustomize & DeviantArt

                            Comment


                            • #44
                              If you weren't there what could I do ? ;.)) (I tried elapsedtime when it was the opposite)

                              Comment


                              • #45
                                Originally Posted by parisienne17 View Post
                                If you weren't there what could I do ?
                                Well, it is true that the coders of the noughties are no longer active here but some coders still hang around at the WACUP Forum.

                                Originally Posted by parisienne17 View Post
                                My idea is a versatile player with/without cover, song titles/track/artist/album, visualisation and maybe equalizer opening in the same window
                                This is not exactly what you are aiming at but it might be worth sharing because it allows you to toggle between albumart and visualization without maki:

                                PHP Code:
                                <windowholder id="avsholder" x="24" y="49" w="99" h="99" autoclose="1"
                                autoopen="0" autoavailable="0" visible="1" hold="guid:AVS" move="1"/>

                                <
                                AlbumArt id="albumart" x="24" y="49" w="99" h="99" notfoundImage="nocover"/>

                                <
                                togglebutton id="artavs" action="TOGGLE" param="guid:AVS" x="81" y="12"
                                image="button.artavs" tooltip="AlbumArt/AVS"/> 
                                Last edited by ariszlo; 16 May 2023, 21:13. Reason: Removed old animated gif.
                                Ariszló @ WinCustomize & DeviantArt

                                Comment

                                Working...
                                X
                                😀
                                🥰
                                🤢
                                😎
                                😡
                                👍
                                👎