Announcement

Collapse
No announcement yet.

"OpenSource" Notifier

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

  • "OpenSource" Notifier

    I saw DJ Egg post somewhere that skinners werent taking adavntage of new feature like the notifier. What he, and many others, dont seem to realize is that was made for the skin and a new one would have to be created by any author who wished to have one. Until now Basically its a plug-and-play notifier (kinda like a maki cheat...but i dont want this to get lost in that monster thread), which can easily be thrown into any skin, and is easily customized, with the .m sourcefile. Its not perfect, but close, to the original in the Winamp Modern Skin.

    Now, I had to disable the resizing per-songtitle feature becuase it got kinda buggy. If you can fix it, you can fix it, but its set to a pretty good standard width. Also, Fading of layouts seems broke in 5.02 (just check the Winamp Modern's notifier or the nullsoft easter egg), but assuming it starts working again with future releases (or use 5.00 or 5.01), the fading works fine. Instructions for use in the readme.txt.

    *note: compiled with the 5.02 mc.exe and std.mi. Should work fine if recompiled with an earlier version, but if used out of the box, will not work on pre-5.02 versions of winamp.

    Feel free to distribute this, but keep original credits where they belong
    Attached Files
    Published: OvalAmp | Scythe | Simple Amp(code) | PAD(code) | Classix10k | LayerONE (code)
    WIP: Aeschere | Manta | Winamp 5 SingleGUI
    Need some help? How to write a MAKI script | Custom Vis Script | Add a Notifier to Your Skin

  • #2
    sweet


    btw,
    is the fading issue anything to do with this,
    or is it something else? [edit] aah! [/edit]

    Playlist | Twitter | Albums

    Comment


    • #3
      Grand stuff, I may have to build this into a few of my skins when I get a minute or two.

      Excellent work

      Comment


      • #4
        Have you tried to recompile it with anything else other than mc.exe (5.02)?

        I just tried and got the following error message, compiled with the mc.exe that was distributed with #488, just cut and pasted my session as it was easier than typing it all out by hand , I then changed back to 5.02 compiler and ran it again , which compiled fine.

        In the interests of backwards compatability you might wanna have a look at what's causing it to borke.

        Nothing was changed within the script, other than the path to std.mi as it differes on my system.

        Microsoft Windows 2000 [Version 5.00.2195]
        (C) Copyright 1985-2000 Microsoft Corp.

        c:\>cd progra~1\winamp\lib

        C:\PROGRA~1\Winamp\Lib>mc opensource_notifier.m
        MC - Maki Compiler v1.1.1.b3
        (c)2001, Nullsoft Inc.

        Preprocessing...
        OK: 18 macro expansions, 56583 bytes, 2307 lines, 2 files

        isMinimized : not an member function nor an event of class 'System' at lib\std.mi:1899 [71] :

        if (freq=="Show Notifications When Minimized" && System.isMinimized()==1)

        Exited with code 4

        C:\PROGRA~1\Winamp\Lib>mc opensource_notifier.m
        MC - Maki Compiler v1.1.3
        (c)2001, Nullsoft Inc.

        Preprocessing...
        OK: 19 macro expansions, 74262 bytes, 2695 lines, 2 files
        Compiling... OK
        Linking... OK
        Writing Winamp 5.02 (skin version 1.1) binary... OK

        opensource_notifier.m (2694 loc) was compiled to opensource_notifier.maki (6528 bytes) in 491 ms

        C:\PROGRA~1\Winamp\Lib>

        Comment


        • #5
          Originally posted by DJ Egg
          sweet


          btw,
          is the fading issue anything to do with this,
          or is it something else? [edit] aah! [/edit]

          ahhhhhh, it was that first one, thanks. strange how that setting took priority over the maki command. good thing, cuz seeing it work as its intended let me fix a problem i was having. (slightly) newer version attatched.
          Attached Files
          Published: OvalAmp | Scythe | Simple Amp(code) | PAD(code) | Classix10k | LayerONE (code)
          WIP: Aeschere | Manta | Winamp 5 SingleGUI
          Need some help? How to write a MAKI script | Custom Vis Script | Add a Notifier to Your Skin

          Comment


          • #6
            Originally posted by Mr Jones
            Have you tried to recompile it with anything else other than mc.exe (5.02)?

            I just tried and got the following error message, compiled with the mc.exe that was distributed with #488, just cut and pasted my session as it was easier than typing it all out by hand , I then changed back to 5.02 compiler and ran it again , which compiled fine.

            In the interests of backwards compatability you might wanna have a look at what's causing it to borke.

            Nothing was changed within the script, other than the path to std.mi as it differes on my system.
            ah, shit...i think System.isMinimized() is a new command in maki...

            sounds like for backwards compatability youll need to do without the "Only show when minimized" option. Simply delete it from notifier.xml and lines 143-148 of the .m file...unless i can think of a work around.

            i also just noticed another problem with 5.02, and thats the selective meta-guessing (getting a lot of "Track -1"), which is easier to fix...
            Published: OvalAmp | Scythe | Simple Amp(code) | PAD(code) | Classix10k | LayerONE (code)
            WIP: Aeschere | Manta | Winamp 5 SingleGUI
            Need some help? How to write a MAKI script | Custom Vis Script | Add a Notifier to Your Skin

            Comment


            • #7
              Good thing Spoony. Just waited for this. THX
              my skins: Nokia 3650, Spiderman Freeform, M3 (Manual), Simpsons Freeform(Idea, Coding), Freeamp
              Metaskins: WooHoo-FER , Ar-7

              Comment


              • #8
                Been waiting for someone to realise that the notifier can be used in any skin and that it's basically nothing more than a script..

                Good work.

                -Plague
                Winique work-in-progress (download) | Stargate:Winamp - SG1 Edition | D-Reliction | wasabi.player skin (plague-edit)
                Winamp3_Default skin (plague fixes) | Opal Redemption | X-Slant | wa2skin.wac

                Comment


                • #9
                  hey jared, could it be that you forgot to add the dropdownlist to your script? every time i press on the dropdown list winamp crashes. dun know why.
                  my skins: Nokia 3650, Spiderman Freeform, M3 (Manual), Simpsons Freeform(Idea, Coding), Freeamp
                  Metaskins: WooHoo-FER , Ar-7

                  Comment


                  • #10
                    @plague: thank you very much

                    code:
                    <groupdef id="customdropdownlist" xuitag="Wasabi:CustomDropDownList" embed_xui="dropdownlist.text">
                    <Wasabiropdownlist id="dropdownlist" x="0" y="0" w="0" h="20" relatw="1" />
                    <script id="customdropdownlistscript" file="opensource_notifier/customdropdownlist.maki"></script>
                    </groupdef>

                    is part of notifier.xml...but this might cause a problem if you have your folder layour wierd...

                    but it shoudnt cause a problem, as i use the exact same code in classix10k and havnt gotten any reports
                    Published: OvalAmp | Scythe | Simple Amp(code) | PAD(code) | Classix10k | LayerONE (code)
                    WIP: Aeschere | Manta | Winamp 5 SingleGUI
                    Need some help? How to write a MAKI script | Custom Vis Script | Add a Notifier to Your Skin

                    Comment


                    • #11
                      hello,
                      i also just noticed another problem with 5.02, and thats the selective meta-guessing (getting a lot of "Track -1"), which is easier to fix...
                      in this section :
                      code:
                      SetInfo()
                      {
                      String PLTot = integertostring(System.getPlaylistLength());
                      String PLCur = integertostring(System.getPlaylistIndex()+1);

                      add +1 at System.getPlaylistIndex() and it work fine.
                      bye
                      Sorry for my bad English, i'm French

                      my skin : Pimeer v2.2
                      french community : Todae.fr

                      Comment


                      • #12
                        actually that was a different bug that i had fixed but had neglected to post (yet)...theres a couple things i want to add before uploading a new version
                        Published: OvalAmp | Scythe | Simple Amp(code) | PAD(code) | Classix10k | LayerONE (code)
                        WIP: Aeschere | Manta | Winamp 5 SingleGUI
                        Need some help? How to write a MAKI script | Custom Vis Script | Add a Notifier to Your Skin

                        Comment


                        • #13
                          hi,

                          I use your notifier on a version translated into French of MMD3 (with the authorization of Sven Kistner) and it goes very well.

                          MMD Trois v2

                          bye
                          Sorry for my bad English, i'm French

                          my skin : Pimeer v2.2
                          french community : Todae.fr

                          Comment


                          • #14
                            Hey Spoons! I plan to use your sweet script in a project I am working on, is the last one you attached the most recent version you have, or perhaps you have a newer one itching to be shared?
                            www.rpeterclark.com

                            Comment


                            • #15
                              actually yes, there are some small changes...ill upload it when i get to my computer
                              Published: OvalAmp | Scythe | Simple Amp(code) | PAD(code) | Classix10k | LayerONE (code)
                              WIP: Aeschere | Manta | Winamp 5 SingleGUI
                              Need some help? How to write a MAKI script | Custom Vis Script | Add a Notifier to Your Skin

                              Comment

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