LCDInfo.com
http://forum.lcdinfo.com/

Winamp 2 / Winamp 5
http://forum.lcdinfo.com/viewtopic.php?f=13&t=403
Page 2 of 2

Author:  gsmaster [ Mon Oct 11, 2004 0:28 ]
Post subject: 

Hello from Greece!

I would like to report two bugs I tracked in the winamp plugin (if they are bugs).

1. While winamp is playing and the plugin is running, if I try to make a new list from the bottom right payllist menu list/new I get an error:

Plug-in executed illegal operation.
Restart of Winamp is recommended


and the LCD freezes


2. The playlist position number is always one less. Eg The playlist position is at 5 and the lcd shows 4.

Have a nice day! :)

Author:  Henri [ Mon Oct 18, 2004 15:33 ]
Post subject: 

Which exact winamp version are you running when you get the error ? That sounds like a bug that I should have noticed but I haven't seen any problems with the plugin in my own use. But I'm still running the 2.xx series. I have tested the plugin with winamp 5 series too but not the latest versions.

Author:  gsmaster [ Tue Oct 19, 2004 1:08 ]
Post subject: 

I use Winamp 2,91 and the built 18 of lcdinfo with a nokia display. All these are on WinXP SP2 beta2055. :)

Author:  kristoffer_1 [ Tue Oct 26, 2004 16:32 ]
Post subject:  nice and simple plugin

..but maybe it is to simple to me :oops:
I do not see how winamp generates the shared memory data.
Who is the producer of the data in the shared memory?

I searched the winamp forum..
..

and another question..why is some data field comment in the winamp plugin source code?
like artist..and album

//kristoffer

Author:  Henri [ Sat Oct 30, 2004 21:37 ]
Post subject: 

Data to the shared memory is copied in the render1() function found in the vis_lcdinfo.cpp file.

The reason that some fields are commented out is that they are not used. Originally those were added to the structure but then later it was seen that there was nothing to fill them with.

Author:  kristoffer_1 [ Mon Nov 01, 2004 15:48 ]
Post subject: 

Hi!

I have searched the "\lcdinfo_build18_source" dir for the file "vis_lcdinfo.cpp",but I can not found it.

Author:  Henri [ Tue Nov 02, 2004 15:03 ]
Post subject: 

kristoffer_1 wrote:
Hi!

I have searched the "\lcdinfo_build18_source" dir for the file "vis_lcdinfo.cpp",but I can not found it.

You can find the winamp plugins sources from the Developers forum.

Author:  kristoffer_1 [ Fri Nov 26, 2004 1:17 ]
Post subject:  update the winamp plugin

:?:
hi would it be possible to update the winamp plugin so that
artist/genre/rating could be read.

saw some codesnippets.
http://www.inthegray.com/saivert/winamp ... fotool.exe
/*-------*/
char metadata[256];
extendedFileInfoStruct efi;
...
efi.filename = file; // get the current filename
efi.ret = metadata;
efi.retlen = sizeof(metadata);
efi.metadata = "ARTIST";
SendMessage(plugin.hwndParent, WM_WA_IPC, (WPARAM)&efi, IPC_GET_EXTENDED_FILE_INFO);
.
.
.

but maybe the plugin must be written like an media libary ..to fetch data like rating..
I do not know..maybe someone here do ;)

//kristoffer

Author:  cazziona [ Fri Apr 08, 2005 10:08 ]
Post subject: 

Hi,

When the title slides to the side, the old position is visilible for a short time, so it locks like it flickers a little, can this be solved?

And how do you use the following functions:

addVar("Winamp2.PlaylistPos", "Playlist position", VAR_INT); // 6
addVar("Winamp2.PlaylistSize", "Playlist size", VAR_INT); // 7

Can you plz give a code example :)

Author:  Henri [ Tue Apr 12, 2005 20:58 ]
Post subject: 

cazziona wrote:
When the title slides to the side, the old position is visilible for a short time, so it locks like it flickers a little, can this be solved?

I think you mean the effect of the lcd being just so slow that it doesn't change it's state fast enough.

Quote:
And how do you use the following functions:

addVar("Winamp2.PlaylistPos", "Playlist position", VAR_INT); // 6
addVar("Winamp2.PlaylistSize", "Playlist size", VAR_INT); // 7


Winamp2.PlaylistPos and Winamp2.PlaylistSize are just numbers that tell the current title number and size of the playlist.

They can be used as normal plugin text fields:

<item type="plugintext" x="14" y="7">
<scrolltype>none</scrolltype>
<textpos>left</textpos>
<fieldsize>5</fieldsize>
<varid>Winamp2.PlaylistPos</varid>
<refresh>500</refresh>
</item>

<item type="plugintext" x="14" y="8">
<scrolltype>none</scrolltype>
<textpos>left</textpos>
<fieldsize>5</fieldsize>
<varid>Winamp2.PlaylistSize</varid>
<refresh>500</refresh>
</item>

Author:  error.ini [ Thu Apr 14, 2005 4:10 ]
Post subject: 

Hello, I have a question about a spectrum option for people using Text VFDs.

I'm using Henri's CU20045SCPB-T23A Driver, for my CU20025SCPB-T20A.

Here's the spec sheet on it - http://www.alltronics.com/download/25l001.pdf

What i'm wondering is how hard it would be to make a spectrum out of Text characters. I was thinking of something like Row 08, Column F0. Or maybe a more complex/detailed one made up of any character in Column F0 up to Row 08. I was thinking making the top Row on the VFD the left channel, and the bottom row the right speaker channel. As the music elevates on one particular channel, the bar would grow horizontally to the left or right, depending on how it was set up. (hope this makes sense O_o)

I and a few others have had these VFDs for awhile, and thanks to Henri this first time we've had them actually working like they're supposed to. So thanks Henri for that.

Author:  Henri [ Thu Apr 21, 2005 19:22 ]
Post subject: 

It would take some work as LCDInfo doesn't support custom characters and things like character spectrums. But it should be possible to add them if someone wants to take the challenge.

The reason why LCDInfo doesn't have custom character support is that it was mostly designed for graphics displays and character displays were added later.

Hmm, now that I read your post again you didn't ask for custom characters but just simpler bars made of normal characters ? This should be easier as it only requires adding a new plugintext variable to the winamp plugin. The characters would then be printed to that text variable and shown on the display.

Author:  error.ini [ Thu Apr 21, 2005 21:42 ]
Post subject: 

Henri wrote:
It would take some work as LCDInfo doesn't support custom characters and things like character spectrums. But it should be possible to add them if someone wants to take the challenge.

The reason why LCDInfo doesn't have custom character support is that it was mostly designed for graphics displays and character displays were added later.

Hmm, now that I read your post again you didn't ask for custom characters but just simpler bars made of normal characters ? This should be easier as it only requires adding a new plugintext variable to the winamp plugin. The characters would then be printed to that text variable and shown on the display.

Yeah, characters that are already programed with the VFD. I didn't even know custom characters would be possible, but it sounds difficult. I have no idea how program plugins, sadly. ;_;

Author:  shuichinz [ Fri Sep 02, 2005 0:45 ]
Post subject: 

Hey just a few things with winamp stuff..

Spectrum.Bar: seems to hang around the left end?! not sure why

cant get spectrum.bar2 to work on 84X48 this would prolly be because its too big..

could we perhaps have a spectrum bar with only 3 pixles per barand have say i dunno something like 7-14 bars say 42 pix tall would be perfect!

pause status icon doesnt work with winamp 5

where does LCDinfo get the characters for the title?? winamp bitmap??
would be cool if there was a bitmap for the text of the LCD

and also how come bitmaps move by pixles and text doesnt.....

Author:  Remboooo [ Sat Nov 12, 2005 15:25 ]
Post subject: 

I have improved the Winamp2/5 plugin somewhat:
- Modified spectrumbar2 so the lower frequencies take up more bars than the high ones (so it looks more like winamp's own freq analyzer)
- Added a Winamp2.Running flag so you can skip the winamp screen by adding <requireflag>Winamp2.Running</requireflag> to your winamp screen XML (this flag is set when winamp is running, and at least one song has started playing, so there's data available)
- Changed the bitmap size of spectrumbar2 to 125x32, the 3 extra pixels were just empty, but prevented you from centering the graph on a 128x64 display since you couldn't shift it to the right

The Visual C++ .net source
The .dll plugin

Hope it's of some use to you :)

Page 2 of 2 All times are UTC + 2 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/