Old 9th February 2004, 22:27   #1
iPlayTheSpoons
Major Dude
 
iPlayTheSpoons's Avatar
 
Join Date: Aug 2001
Location: SJSU
Posts: 1,030
Send a message via AIM to iPlayTheSpoons
"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
File Type: zip opensource_notifier.zip (15.4 KB, 1720 views)
iPlayTheSpoons is offline   Reply With Quote
Old 10th February 2004, 07:57   #2
DJ Egg
Techorator
Winamp & SHOUTcast Team
 
Join Date: Jun 2000
Posts: 35,781
sweet


btw,
is the fading issue anything to do with this,
or is it something else? [edit] aah! [/edit]
DJ Egg is offline   Reply With Quote
Old 10th February 2004, 08:24   #3
Mr Jones
Nothing to say...
 
Mr Jones's Avatar
 
Join Date: Sep 2000
Location: UK
Posts: 23,053
Grand stuff, I may have to build this into a few of my skins when I get a minute or two.

Excellent work
Mr Jones is offline   Reply With Quote
Old 10th February 2004, 09:34   #4
Mr Jones
Nothing to say...
 
Mr Jones's Avatar
 
Join Date: Sep 2000
Location: UK
Posts: 23,053
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.

Quote:
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>
Mr Jones is offline   Reply With Quote
Old 10th February 2004, 09:35   #5
iPlayTheSpoons
Major Dude
 
iPlayTheSpoons's Avatar
 
Join Date: Aug 2001
Location: SJSU
Posts: 1,030
Send a message via AIM to iPlayTheSpoons
Quote:
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
File Type: zip opensource_notifier.zip (15.4 KB, 640 views)
iPlayTheSpoons is offline   Reply With Quote
Old 10th February 2004, 09:41   #6
iPlayTheSpoons
Major Dude
 
iPlayTheSpoons's Avatar
 
Join Date: Aug 2001
Location: SJSU
Posts: 1,030
Send a message via AIM to iPlayTheSpoons
Quote:
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...
iPlayTheSpoons is offline   Reply With Quote
Old 10th February 2004, 10:33   #7
carlosp
Major Dude
 
carlosp's Avatar
 
Join Date: Nov 2002
Location: Hamburg, Germany
Posts: 1,312
Good thing Spoony. Just waited for this. THX
carlosp is offline   Reply With Quote
Old 14th February 2004, 09:59   #8
Plague
f(caffeine){
return wasabi;
}
(Forum King)
 
Plague's Avatar
 
Join Date: Jul 2001
Location: Sweden
Posts: 3,984
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
Plague is offline   Reply With Quote
Old 14th February 2004, 10:31   #9
carlosp
Major Dude
 
carlosp's Avatar
 
Join Date: Nov 2002
Location: Hamburg, Germany
Posts: 1,312
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.
carlosp is offline   Reply With Quote
Old 14th February 2004, 10:42   #10
iPlayTheSpoons
Major Dude
 
iPlayTheSpoons's Avatar
 
Join Date: Aug 2001
Location: SJSU
Posts: 1,030
Send a message via AIM to iPlayTheSpoons
@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
iPlayTheSpoons is offline   Reply With Quote
Old 21st February 2004, 09:53   #11
Pimousse38
Senior Member
 
Pimousse38's Avatar
 
Join Date: Jan 2004
Location: Nevers (France)
Posts: 169
hello,
Quote:
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
Pimousse38 is offline   Reply With Quote
Old 21st February 2004, 10:15   #12
iPlayTheSpoons
Major Dude
 
iPlayTheSpoons's Avatar
 
Join Date: Aug 2001
Location: SJSU
Posts: 1,030
Send a message via AIM to iPlayTheSpoons
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
iPlayTheSpoons is offline   Reply With Quote
Old 21st February 2004, 10:34   #13
Pimousse38
Senior Member
 
Pimousse38's Avatar
 
Join Date: Jan 2004
Location: Nevers (France)
Posts: 169
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
Pimousse38 is offline   Reply With Quote
Old 31st March 2004, 13:31   #14
rpeterclark
Major Dude
(Reviewer)
 
rpeterclark's Avatar
 
Join Date: Aug 2002
Location: South Florida
Posts: 1,388
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?
rpeterclark is offline   Reply With Quote
Old 2nd April 2004, 06:20   #15
iPlayTheSpoons
Major Dude
 
iPlayTheSpoons's Avatar
 
Join Date: Aug 2001
Location: SJSU
Posts: 1,030
Send a message via AIM to iPlayTheSpoons
actually yes, there are some small changes...ill upload it when i get to my computer
iPlayTheSpoons is offline   Reply With Quote
Old 3rd April 2004, 01:33   #16
iPlayTheSpoons
Major Dude
 
iPlayTheSpoons's Avatar
 
Join Date: Aug 2001
Location: SJSU
Posts: 1,030
Send a message via AIM to iPlayTheSpoons
here it is

//edit - i saw inthe d-reliction thread that someone suggested a notifier that slid in and out instead of fading becuase of that option that disables the fading. this would be easy to build, is anyone interested in it?
Attached Files
File Type: zip opensource_notifier.zip (22.7 KB, 519 views)
iPlayTheSpoons is offline   Reply With Quote
Old 4th April 2004, 20:26   #17
Michgelsen
Major Dude
 
Michgelsen's Avatar
 
Join Date: Oct 2003
Location: Netherlands
Posts: 1,416
You mean like a drawer that would slide out of the system tray? That would be real nice.

And, just this little thing. I downloaded your notifier, and I noticed that when I was using it, and it popped up, my skin looked "frozen" for about 1 or 2 seconds. The music kept going, but the vis and ticker were frozen. It's my own skin, and it's VERY simple, so it's not that my computer suddenly can't take it anymore. Is this normal?

BTW, I love this opensource notifier idea.
Michgelsen is offline   Reply With Quote
Old 5th April 2004, 06:22   #18
iPlayTheSpoons
Major Dude
 
iPlayTheSpoons's Avatar
 
Join Date: Aug 2001
Location: SJSU
Posts: 1,030
Send a message via AIM to iPlayTheSpoons
ive havnt heard of this problem, nor has it been reported by users of my Classix10k skin, which uses the opensource noifier. it might be your computer or the skin over taxing the system, but since i cant duplicate the problem, i cant say for sure what it is
iPlayTheSpoons is offline   Reply With Quote
Old 7th April 2004, 06:23   #19
leechbite
Major Dude
 
leechbite's Avatar
 
Join Date: Sep 2003
Location: Canada
Posts: 635
Send a message via Yahoo to leechbite
hey Spoons, i think ill be using ur script too in my skin. ill do some modifications though. thanks!
leechbite is offline   Reply With Quote
Old 7th April 2004, 09:01   #20
Mr Jones
Nothing to say...
 
Mr Jones's Avatar
 
Join Date: Sep 2000
Location: UK
Posts: 23,053
Spoons, just so you know, I'm planning on using OSN in the rebuild of Lounge, with appropriate modifications of course

I'll say it again, this is quite the most usefull freebie script I've seen in the longest time
Mr Jones is offline   Reply With Quote
Old 7th April 2004, 09:15   #21
matt_69
Sunshine
(Major Dude)
 
matt_69's Avatar
 
Join Date: Jan 2003
Location: Brisvegas, Australia
Posts: 1,248
i second that motion...great work there iplay.

-matt

ps. i shall be using ur script (with mods of course) in my new skin for the GUIO, shall give u many credits in the skin

matt_69 is offline   Reply With Quote
Old 7th April 2004, 19:28   #22
iPlayTheSpoons
Major Dude
 
iPlayTheSpoons's Avatar
 
Join Date: Aug 2001
Location: SJSU
Posts: 1,030
Send a message via AIM to iPlayTheSpoons
awesome to hear, guys! im glad this is proving to be so useful.
iPlayTheSpoons is offline   Reply With Quote
Old 7th April 2004, 19:52   #23
Digitalhigh
Senior Member
 
Digitalhigh's Avatar
 
Join Date: Aug 2002
Location: hell
Posts: 232
Hey spoons! Haven't been around for a while, so it's good to see you're still kickin' ass. I too will be forced to take advantage of this wonderful script. If frisbee's still around, I'd make sure to have him add it to his page of killer scripts. Tis beautiful work, nonetheless.
Digitalhigh is offline   Reply With Quote
Old 1st May 2004, 20:49   #24
SLoB
Major Dude
 
SLoB's Avatar
 
Join Date: Jul 2003
Location: UK
Posts: 1,316
great little addition iPlayTheSpoons

I have tinkered with the script a little to add a realtime change to configure the notifier to each corner of the screen (to make it even more usable )

will just post the small changes here & include the dl link for the maki script, its still wip but this works ok so far.
you may need to adjust the xml co-ordinates to suit your prefs layout
addition to notifier.xml after the notification drop down list
<!-- Notifier position on screen - start -->
<Wasabi:CustomDropDownList id="notifierposition" items="1. Show Notifications Bottom Right;2. Show Notifications Bottom Left;3. Show Notifications top Right;4. Show Notifications top Left" defaultlistitem="1. Show Notifications Bottom Right" PrivateIntSection="Abducted_OpenNote" PrivateIntItem="NotifierPosition" x="6" y="90" h="20" w="240" />
<!-- Notifier position on screen - end -->

and copy the maki script link -http://www.slob.org.uk/wa5/opensource_notifier.m, just a few small changes but it gives the realtime changes to adjust the position of the notifier, with more work it could all be realtime instead of using the get & set private ints, it does still store the setting on wa exit

hope the changes come in handy
SLoB is offline   Reply With Quote
Old 20th May 2004, 14:28   #25
roth377
Member
 
Join Date: May 2004
Location: Kansas, USA
Posts: 62
Could this notifier create the ability to accomplish the subject of this thread:

http://forums.winamp.com/showthread....postid=1358358

It's basically asking if it's possible to put album covers into the notification, taken from either a folder's folder.jpg/cover.jpg, or from the id3v2 tag itself.

If any of you would comment, it'd be greatly appreciated.
roth377 is offline   Reply With Quote
Old 20th May 2004, 14:32   #26
Plague
f(caffeine){
return wasabi;
}
(Forum King)
 
Plague's Avatar
 
Join Date: Jul 2001
Location: Sweden
Posts: 3,984
nope..
You'd have to make a component that enables that first.
Plague is offline   Reply With Quote
Old 20th May 2004, 14:41   #27
roth377
Member
 
Join Date: May 2004
Location: Kansas, USA
Posts: 62
Quote:
Originally posted by Plague
nope..
You'd have to make a component that enables that first.
Wow, quick response!

Too bad it wasn't the answer I was looking for

Oh well, maybe in a future release...

Thanks Plague.
roth377 is offline   Reply With Quote
Old 21st May 2004, 11:34   #28
iron2000
Senior Member
 
iron2000's Avatar
 
Join Date: Mar 2002
Location: Singapore
Posts: 391
I tried to use this notifier and it only works when I set it to show when minimized but it is slow.

When it is set to always show, when you click on a song to play Winamp will take 100% cpu and hang.

Anyone has any idea what caused the problem?

Thanx
iron2000 is offline   Reply With Quote
Old 21st May 2004, 16:55   #29
iron2000
Senior Member
 
iron2000's Avatar
 
Join Date: Mar 2002
Location: Singapore
Posts: 391
OK looks like its working now.

I must have downloaded a wrong version.

Thanks for the notifier, Spoons.

Thanx
iron2000 is offline   Reply With Quote
Old 21st May 2004, 17:43   #30
iPlayTheSpoons
Major Dude
 
iPlayTheSpoons's Avatar
 
Join Date: Aug 2001
Location: SJSU
Posts: 1,030
Send a message via AIM to iPlayTheSpoons
new cool new version on the way
iPlayTheSpoons is offline   Reply With Quote
Old 22nd May 2004, 04:36   #31
iron2000
Senior Member
 
iron2000's Avatar
 
Join Date: Mar 2002
Location: Singapore
Posts: 391
Spoons do you know why the text on the notifier don't show when the internal FreeType TTF redering is disabled?

I was hoping that the notifier will display Japanese text when I disable it just like a songticker with a TTF.

Thanx
iron2000 is offline   Reply With Quote
Old 25th May 2004, 20:02   #32
iPlayTheSpoons
Major Dude
 
iPlayTheSpoons's Avatar
 
Join Date: Aug 2001
Location: SJSU
Posts: 1,030
Send a message via AIM to iPlayTheSpoons
i have no idea...it just uses Tahoma as the font, so if Tahoma doesnt support japanese that might be why...

i dont know much about fonts
iPlayTheSpoons is offline   Reply With Quote
Old 6th June 2004, 07:28   #33
iPlayTheSpoons
Major Dude
 
iPlayTheSpoons's Avatar
 
Join Date: Aug 2001
Location: SJSU
Posts: 1,030
Send a message via AIM to iPlayTheSpoons
err, posted prematurely...almost ready
iPlayTheSpoons is offline   Reply With Quote
Old 7th June 2004, 12:00   #34
iron2000
Senior Member
 
iron2000's Avatar
 
Join Date: Mar 2002
Location: Singapore
Posts: 391
Spoons there is a bug where the playlist track number is one less than the actual value.

It was something with the script.

Thanx
iron2000 is offline   Reply With Quote
Old 8th June 2004, 03:13   #35
iPlayTheSpoons
Major Dude
 
iPlayTheSpoons's Avatar
 
Join Date: Aug 2001
Location: SJSU
Posts: 1,030
Send a message via AIM to iPlayTheSpoons
long ago fixed, wait for new version in the next day or two
iPlayTheSpoons is offline   Reply With Quote
Old 9th June 2004, 08:16   #36
iPlayTheSpoons
Major Dude
 
iPlayTheSpoons's Avatar
 
Join Date: Aug 2001
Location: SJSU
Posts: 1,030
Send a message via AIM to iPlayTheSpoons
finally NEW version

features/stuff:

- some small bug fixes
- finally added dynamic resizing
- fading or sliding effects (selectable in prefrences)
- integrated album covers, thanks to rcp (selectable) yay

anyways...YAY, finally, etc.
Attached Files
File Type: zip opensource_notifier.zip (36.1 KB, 667 views)
iPlayTheSpoons is offline   Reply With Quote
Old 9th June 2004, 08:19   #37
Mr Jones
Nothing to say...
 
Mr Jones's Avatar
 
Join Date: Sep 2000
Location: UK
Posts: 23,053
Nummy...

/goes to install...
Mr Jones is offline   Reply With Quote
Old 9th June 2004, 09:09   #38
matt_69
Sunshine
(Major Dude)
 
matt_69's Avatar
 
Join Date: Jan 2003
Location: Brisvegas, Australia
Posts: 1,248
ok..the thing to change between sliding and normal doesn't want to let me change. could be like a layer thing over the top of it or sumthing.

-matt

matt_69 is offline   Reply With Quote
Old 9th June 2004, 10:36   #39
Mr Jones
Nothing to say...
 
Mr Jones's Avatar
 
Join Date: Sep 2000
Location: UK
Posts: 23,053
Looking good so far, a fair bit of tweaking later and I've got it integrated into boxOr.

Couple of typos in the files, and I've been yanked over these before, but.....

<Wasabi:Text id="label" x="0" y="0" text="Durrations:" />

is spelt
"Duration's" in my spell checker

And...
<container id="opensource_notifier_prefs" name="Notifier Prefrences" dynamic="0" default_visible="0" nomenu="0" nofocusapponclose="1">

is
"Preferences"

I'm sure you left those in there to catch us out right
Attached Images
File Type: jpg blah.jpg (53.1 KB, 869 views)
Mr Jones is offline   Reply With Quote
Old 9th June 2004, 13:18   #40
rpeterclark
Major Dude
(Reviewer)
 
rpeterclark's Avatar
 
Join Date: Aug 2002
Location: South Florida
Posts: 1,388
Coool!
rpeterclark is offline   Reply With Quote
Reply
Go Back   Winamp & SHOUTcast Forums > Skinning and Design > Modern Skins

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump