Old 30th March 2016, 17:08   #1
ariszlo
Senior Member
 
Join Date: Jun 2015
Location: Hungary
Posts: 231
Notifier with albumart for Winamp 5.666

This is an updated version of the notifier whipped up by iron2000.
Attached Files
File Type: zip winamp-notifier-2.01.zip (20.8 KB, 131 views)
ariszlo is offline   Reply With Quote
Old 11th December 2016, 15:05   #2
ariszlo
Senior Member
 
Join Date: Jun 2015
Location: Hungary
Posts: 231
OpenSource Notifier 3.0

Notifier for Winamp Modern skins updated for Winamp 5.6x

If you are updating the notifier of an old skin with this one then:
  1. Replace notif-bg.png and notif-shadow.png in this archive with those from the old notifier.
  2. Replace the values of notifier.dark and notifier.bright in notifier.xml with the values from the old notifier.xml.
  3. Replace Arial with the font used in the old notifier.xml.
notifier.xml was modified by Ariszló from iron2000's update of Jared Kole's OpenSource Notifier.
MAKI sources were reused with modifications from Martin Poehlmann's Winamp Skin Development Pack 1.14.

Menu separators were fixed by PeterK.
Broken "Open Now Playing on Click" option was removed by Ariszló.
Attached Thumbnails
Click image for larger version

Name:	notifier.png
Views:	66
Size:	10.5 KB
ID:	52880  
Attached Files
File Type: zip opensource-notifier-3.zip (19.4 KB, 66 views)
ariszlo is offline   Reply With Quote
Old 14th December 2016, 10:59   #3
Victhor
Late skinner & Moderator
 
Victhor's Avatar
 
Join Date: May 2003
Location: Argentina
Posts: 1,344
Cool, very useful, thanks! Now, the next step would be something more sophisticate? A bigger one "new resolutions friendly"? One with controls on hover?

· · TMCT · KOMODO X
Victhor is offline   Reply With Quote
Old 15th December 2016, 15:14   #4
PeterK.
Senior Member
 
Join Date: Sep 2016
Posts: 108
Quote:
Originally Posted by Victhor View Post
... the next step would be something more sophisticate? A bigger one "new resolutions friendly"?)
Now this is actually a very good idea Ariszló: a Notifier for high-resolution displays. And it is not complicated at all:

1) open notifier.m and search for the value 80. (be careful there are also IP-adresses which contain those digits). Change it to, say, 130. Compile it.

2) open notifier.xml. Search for notifier.cover and notifier.webcover and make them bigger.

3) move
plentry+shadow
nexttrack+shadow
title+shadow
artist+shadow
album+shadow
more to the right side so the album cover will not cover them (literally).


Anything else?
PeterK. is offline   Reply With Quote
Old 16th December 2016, 19:21   #5
ariszlo
Senior Member
 
Join Date: Jun 2015
Location: Hungary
Posts: 231
Yes, it is a good idea for new skins. As for 3), I would rather raise the value of x to a larger number in this section of notifier.m:

PHP Code:
if (showAlbumArt)
{
    if (
g_albumartg_albumart.show();
    if (
g_textg_text.setXmlParam("x""75");
    if (
g_textg_text.setXmlParam("w""-95");

However, I am not there yet. I am still struggling to figure out why the right parenthesis is cropped when OpenSource Notifier 3 is used with the iNTELLIdesign skin. The three notifiers shown in the attached picture are the notifier of Big Bento, unmodified OpenSource Notifier 3 used with my Study Notifier skin and OpenSource Notifier 3 adapted to iNTELLIdesign.
Attached Thumbnails
Click image for larger version

Name:	notifiers.png
Views:	51
Size:	36.9 KB
ID:	52891  
Attached Files
File Type: wal iNTELLI_design_1.2_wip.wal (556.6 KB, 57 views)
ariszlo is offline   Reply With Quote
Old 16th December 2016, 22:13   #6
ariszlo
Senior Member
 
Join Date: Jun 2015
Location: Hungary
Posts: 231
Well, the fix for the right parenthesis is in the same section where you set the left margin of notifier text:
PHP Code:
if (showAlbumArt)
{
    if (
g_albumartg_albumart.show();
    if (
g_textg_text.setXmlParam("x""75");
    if (
g_textg_text.setXmlParam("w""-95");
}
else
{
    if (
g_albumartg_albumart.hide();
    if (
g_textg_text.setXmlParam("x""15");
    if (
g_textg_text.setXmlParam("w""-35");

Changed -95 to -93 and -35 to -33 and now it is ok.
ariszlo is offline   Reply With Quote
Old 17th December 2016, 12:24   #7
PeterK.
Senior Member
 
Join Date: Sep 2016
Posts: 108
Great news!

Short question: is the shadow supposed to be only behind the right edge of the notifier?

To Victhor:
Quote:
One with controls on hover?
Is this not enough?




Attached Thumbnails
Click image for larger version

Name:	Taskbar.PNG
Views:	243
Size:	105.4 KB
ID:	52893  
PeterK. is offline   Reply With Quote
Old 17th December 2016, 13:33   #8
ariszlo
Senior Member
 
Join Date: Jun 2015
Location: Hungary
Posts: 231
PeterK., did you start working on an enlarged version of the notifier?

Quote:
Originally Posted by PeterK. View Post
Short question: is the shadow supposed to be only behind the right edge of the notifier?
I don't think it's a rule. It is just that shadows normally appear away from light: the imaginary ceiling light of a computer desktop is top center so the shadows of the notifier, whose default position is bottom right, fall to the right and the bottom.
ariszlo is offline   Reply With Quote
Old 17th December 2016, 14:07   #9
PeterK.
Senior Member
 
Join Date: Sep 2016
Posts: 108
Quote:
Originally Posted by ariszlo View Post
PeterK., did you start working on an enlarged version of the notifier?
Beng honest I was going to say: I did not know it was my project. But then I realized that it is an OpenSource, hence everyone is invited. I just would not know how we could merge our efforts into one working notifier folder.

Any suggestions?
PeterK. is offline   Reply With Quote
Old 17th December 2016, 18:41   #10
ariszlo
Senior Member
 
Join Date: Jun 2015
Location: Hungary
Posts: 231
Quote:
Originally Posted by PeterK. View Post
I just would not know how we could merge our efforts into one working notifier folder.
I have marked all of my modifications with "Ar:?" in notifier.m. Whichever you accept, just remove the ? after Ar: and leave it as it is. Whatever you change, sign similarly.

I also did some modifications to notifier.xml but I did not mark them because they are quite straightforward.

This what I have done so far. I am not quite happy with it because, again, I cannot set the right edge.
Attached Thumbnails
Click image for larger version

Name:	screenshot.png
Views:	48
Size:	26.9 KB
ID:	52894  
Attached Files
File Type: zip notifier-bigger.zip (16.9 KB, 43 views)
ariszlo is offline   Reply With Quote
Old 17th December 2016, 18:54   #11
PeterK.
Senior Member
 
Join Date: Sep 2016
Posts: 108
Quote:
Originally Posted by ariszlo View Post
I have marked all of my modifications with "Ar:?" in notifier.m. Whichever you accept, just remove the ? after Ar: and leave it as it is. Whatever you change, sign similarly.
Agreed! But we have to sign every correction we make regardless how important or self-explanatory it is. OK?

Let's roll!
PeterK. is offline   Reply With Quote
Old 17th December 2016, 19:27   #12
ariszlo
Senior Member
 
Join Date: Jun 2015
Location: Hungary
Posts: 231
OK. That helped me find what I did wrong with the right edge. Still not perfect but much better.
Attached Files
File Type: zip notifier-bigger.zip (43.7 KB, 40 views)
ariszlo is offline   Reply With Quote
Old 17th December 2016, 19:32   #13
Victhor
Late skinner & Moderator
 
Victhor's Avatar
 
Join Date: May 2003
Location: Argentina
Posts: 1,344
Quote:
Originally Posted by ariszlo View Post
..I am not quite happy with it because, again, I cannot set the right edge.
Ariszlo, your issue with the right cutoff is due because what you call "margin" is actually a behavior due to the group's properties;
It is set as a negative number (-xx) because the group has also set relatw="1", which means it will stretch according to the PARENT CONTAINER'S WIDTH. Relatw="0" makes the width stay fixed.
So, when you set it as "-35" it means it will be 35 pixels SMALLER than the parent container's width but enlarge with it if stretched. the negative number increases because it's used in conjunction with a change in "x", so when the cover is shown, the container moves to the left, and shrinks from the right so it doesn't throw the text out of view.

Also consider that any text field can have a width and height set which doesn't affect directly to the text size, that is controlled by "fontsize". The W and H controls the text-box actually.

I'm a really bad teacher I hope I didn't messed up.. you can see more info here: http://wiki.winamp.com/wiki/XML_GUI_Objects#GuiObject_.28Global_params.29.


Peter/Ariszlo:
(personal view here) Besides this Notifier being flagged as "open source", actually most skins / scripts are sort of Open source. The Winamp skin community was always small, and 90% of new achievements were done by experiments among skinners (official documentation and push forward was always little), so it was common practice to "share progress", specially on MAKI files. If you can see the script's source files (.m) on a skin, it means you can use it for your own skin, always giving proper credit for it of course (basically leaving the header intact, or add your participation if any, and re-share the .m source file).
There are exceptions, mainly those skins made involving some money in it (sponsored skins or paid ones, like Komodo, Nitrous Audio and a couple more SC did some time ago).

· · TMCT · KOMODO X
Victhor is offline   Reply With Quote
Old 17th December 2016, 19:45   #14
Victhor
Late skinner & Moderator
 
Victhor's Avatar
 
Join Date: May 2003
Location: Argentina
Posts: 1,344
Quote:
Originally Posted by PeterK. View Post

To Victhor:


Is this not enough?




That only triggers when hovering the taskbar icon (which some people have set to auto-hide), and it's small too.
Actually I was just throwing the idea to give more uses to the Notifier, I had in mind the notifier Dopamine has (see attach). There, the only button which appears on hover is "close" (to discard it), but IMHO a good notifier should offer basic info (Winamp like) + extra options on hover (or "on click", thinking forward to touchscreen displays), like basic playback and volume. Just ideas.. XD
Attached Thumbnails
Click image for larger version

Name:	dopamine_notifier.jpg
Views:	46
Size:	23.4 KB
ID:	52897  

· · TMCT · KOMODO X
Victhor is offline   Reply With Quote
Old 17th December 2016, 20:05   #15
PeterK.
Senior Member
 
Join Date: Sep 2016
Posts: 108
1) The background bitmap was not aligned properly.
2) I made some changes in the notifier.xml.

Looking good now.
Attached Files
File Type: zip notifier-hi-res.zip (17.8 KB, 45 views)
PeterK. is offline   Reply With Quote
Old 19th December 2016, 09:36   #16
PeterK.
Senior Member
 
Join Date: Sep 2016
Posts: 108
What is the purpose of those dots at each corner in the background bitmap?
PeterK. is offline   Reply With Quote
Old 19th December 2016, 17:37   #17
ariszlo
Senior Member
 
Join Date: Jun 2015
Location: Hungary
Posts: 231
Thanks, PeterK., for the fixes. As for the dots, they were just there to let me see the corners while experimenting. I have already removed them and made a new notif-shadow.png, too. Some final touches and I will upload what I have done so far.
ariszlo is offline   Reply With Quote
Old 19th December 2016, 18:12   #18
PeterK.
Senior Member
 
Join Date: Sep 2016
Posts: 108
Quote:
Originally Posted by ariszlo View Post
Thanks, PeterK., for the fixes.
Always a pleasure.
PeterK. is offline   Reply With Quote
Old 19th December 2016, 18:44   #19
PeterK.
Senior Member
 
Join Date: Sep 2016
Posts: 108
Quote:
Originally Posted by Victhor View Post
... but IMHO a good notifier should offer basic info (Winamp like) + extra options on hover (or "on click", thinking forward to touchscreen displays), like basic playback and volume...
On that day we move all playback buttons plus volume to the notifier the demise of the MAIN PLAYER as the center piece of Winamp will be imminent.

Why would you want to abandon the MAIN PLAYER and soon all connected components for a fully equipped notifier? I have had Rainmeter on my desktop for ages and I could play music just using five buttons and Winamp being hidden in the background. By why should I do this Vic? Winamp's skinning engine makes it so extraordinary among all other players. And you as an old Skinner and designer should be totally aware of this. So let's keep our beloved Winamp and its components on the desktop and let the notifier do for what it is created: notify.

I like your fresh and new ideas, but being honest I would never want Winamp to be shrunk into a 200x100 pixel small notification panel.

My two cents ...

PeterK. is offline   Reply With Quote
Old 19th December 2016, 21:57   #20
ariszlo
Senior Member
 
Join Date: Jun 2015
Location: Hungary
Posts: 231
OpenSource Notifier 3.0.1

No code change, just added update info to init_notifier.m (lines 13-15) and notifier.m (lines 14-16) and a couple of more comments to notifier.xml.
Attached Files
File Type: zip opensource-notifier-3.0.1.zip (38.9 KB, 31 views)
ariszlo is offline   Reply With Quote
Old 19th December 2016, 22:07   #21
ariszlo
Senior Member
 
Join Date: Jun 2015
Location: Hungary
Posts: 231
Hi-Res Notifier

  • Removed corner dots from notif-bg.png
  • Replaced the temporary pink notif-shadow.png with one that matches the original
  • Adjusted the height values of notif-shadow.png in notifier.xml
  • Fixed End of Playback text position
  • Added update info to init_notifier.m and notifier.m
  • Some minor tweaks in notifier.m marked with "// HR" (= high resolution changes)
Attached Files
File Type: zip notifier-hi-res.zip (36.0 KB, 32 views)
ariszlo is offline   Reply With Quote
Old 20th December 2016, 03:24   #22
Victhor
Late skinner & Moderator
 
Victhor's Avatar
 
Join Date: May 2003
Location: Argentina
Posts: 1,344
Well done!! Only bug found so far is a missing "shadow" font not set to the new size yet (see attach, shadow font is seen behind current "End of playback" text)
Attached Thumbnails
Click image for larger version

Name:	hr-notifier-fontissue.jpg
Views:	32
Size:	10.5 KB
ID:	52902  

· · TMCT · KOMODO X
Victhor is offline   Reply With Quote
Old 20th December 2016, 07:48   #23
PeterK.
Senior Member
 
Join Date: Sep 2016
Posts: 108
Quote:
Originally Posted by Victhor View Post
... a missing "shadow" ...
Fixed!
Attached Files
File Type: zip notifier-hi-res.zip (36.5 KB, 30 views)
PeterK. is offline   Reply With Quote
Old 20th December 2016, 16:26   #24
ariszlo
Senior Member
 
Join Date: Jun 2015
Location: Hungary
Posts: 231
Looks like final.
ariszlo is offline   Reply With Quote
Old 20th December 2016, 16:34   #25
ariszlo
Senior Member
 
Join Date: Jun 2015
Location: Hungary
Posts: 231
We have two editions of OpenSource Notifier 3 so far:Victhor, now it is your turn to add the buttons and release the Kill Main variant.
ariszlo is offline   Reply With Quote
Old 20th December 2016, 17:24   #26
ariszlo
Senior Member
 
Join Date: Jun 2015
Location: Hungary
Posts: 231
Thank you Victhor for the idea of a bigger notifier and PeterK. for helping to realize it.
ariszlo is offline   Reply With Quote
Old 21st December 2016, 04:33   #27
Victhor
Late skinner & Moderator
 
Victhor's Avatar
 
Join Date: May 2003
Location: Argentina
Posts: 1,344
Quote:
Originally Posted by ariszlo View Post
Thank you Victhor for the idea of a bigger notifier and PeterK. for helping to realize it.
Please, thanks both for realizing it, ideas are just a 10% of a good work =)

If I knew I had such capable hands available I would've started throwing ideas a long time ago.. XD

· · TMCT · KOMODO X
Victhor is offline   Reply With Quote
Old 25th January 2017, 22:41   #28
ariszlo
Senior Member
 
Join Date: Jun 2015
Location: Hungary
Posts: 231
OpenSource Notifier 3.0.2

Enlarged album art for compatibility with Jared Kole's notifier.
Attached Thumbnails
Click image for larger version

Name:	opensource-notifier-3.0.2.jpg
Views:	31
Size:	22.4 KB
ID:	52976  
Attached Files
File Type: zip opensource-notifier-3.0.2.zip (40.7 KB, 29 views)
ariszlo is offline   Reply With Quote
Old 29th January 2017, 22:43   #29
GreeP
Junior Member
 
Join Date: Jan 2017
Posts: 2
Great news!
Thank you!
GreeP is offline   Reply With Quote
Old 12th February 2017, 19:34   #30
ariszlo
Senior Member
 
Join Date: Jun 2015
Location: Hungary
Posts: 231
High-Resolution Notifier 3.0.2

Aligned the right edge of Next Track with the right edge of Title.
Attached Files
File Type: zip notifier-hi-res-3.0.2.zip (35.7 KB, 12 views)
ariszlo is offline   Reply With Quote
Old 12th February 2017, 19:50   #31
ariszlo
Senior Member
 
Join Date: Jun 2015
Location: Hungary
Posts: 231
Double-position bug

When selecting a new position, the old position is not unchecked in OpenSource Notifier 3.0.
Attached Thumbnails
Click image for larger version

Name:	double-position_bug.png
Views:	19
Size:	9.6 KB
ID:	53014  
ariszlo is offline   Reply With Quote
Old 12th February 2017, 20:01   #32
PeterK.
Senior Member
 
Join Date: Sep 2016
Posts: 108
Quote:
Originally Posted by ariszlo View Post
When selecting a new position, the old position is not unchecked ...
I am wondering that you have never noticed it before. This bug is probably as old as Winamp. And despite the fact that all lines after

PHP Code:
Global Int attribs_mychange
in the attribs.m file seem to be written properly, Winamp still shows too many checked positions at the same time.

In order to fix it we would need access to Winamp's source files - or better yet, someone who knows where to search and how to get rid of this.
PeterK. is offline   Reply With Quote
Old 12th February 2017, 20:35   #33
ariszlo
Senior Member
 
Join Date: Jun 2015
Location: Hungary
Posts: 231
Well, it works fine in Big Bento. I wonder what makes the difference.
ariszlo is offline   Reply With Quote
Old 12th February 2017, 20:49   #34
Victhor
Late skinner & Moderator
 
Victhor's Avatar
 
Join Date: May 2003
Location: Argentina
Posts: 1,344
Quote:
Originally Posted by ariszlo View Post
Well, it works fine in Big Bento. I wonder what makes the difference.
I remember having this issue a couple of times before (with my last 2 skins basically..).. I remember tinkering around with singles GUID's (like taken from https://www.guidgenerator.com/online...generator.aspx).. I remember it being an issue of a dirty coding.. I fixed it eventually, but I don't remember how!! LOL...

· · TMCT · KOMODO X
Victhor is offline   Reply With Quote
Old 13th February 2017, 13:40   #35
ariszlo
Senior Member
 
Join Date: Jun 2015
Location: Hungary
Posts: 231
Quote:
Originally Posted by Victhor View Post
I fixed it eventually, but I don't remember how!!
Do you mean this? I cannot find anything in it that looks like a notifier maki.
ariszlo is offline   Reply With Quote
Old 13th February 2017, 21:46   #36
ariszlo
Senior Member
 
Join Date: Jun 2015
Location: Hungary
Posts: 231
OpenSource Notifier 3.0.3

Fixed double-position bug by adding loadattribs.maki
Attached Files
File Type: zip opensource-notifier-3.0.3.zip (34.4 KB, 19 views)
File Type: zip notifier-hi-res-3.0.3.zip (39.0 KB, 26 views)
ariszlo is offline   Reply With Quote
Old 14th February 2017, 01:01   #37
Victhor
Late skinner & Moderator
 
Victhor's Avatar
 
Join Date: May 2003
Location: Argentina
Posts: 1,344
Quote:
Originally Posted by ariszlo View Post
Do you mean this? I cannot find anything in it that looks like a notifier maki.
Nah, that fix is probably just a gfx issue being solved.


PS: Your fix seems to be working ok, good job!

· · TMCT · KOMODO X
Victhor is offline   Reply With Quote
Old 14th February 2017, 16:52   #38
PeterK.
Senior Member
 
Join Date: Sep 2016
Posts: 108
Quote:
Originally Posted by ariszlo View Post
Fixed double-position bug by adding loadattribs.maki
That's great news!
PeterK. 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