Archive: Begging for a plugin again


21st April 2004 10:17 UTC

Begging for a plugin again
Not sure if this would be the right way of going about it but..

I've been begging for a way to display the current playlist in AVS. I've been looking at the imagemagik, and noticed it has a text renderer.

So could someone write me a plugin using imagemagik that will render a bmp that has the 1st 3 titles in the playlist into c:\program files\winamp\plugins\avs dir?

Just make it stupid simple, and have it assume that I have convert, and all those other nifty imagemagic programs in the file path.


22nd April 2004 00:33 UTC

Imagemagic WTF?


22nd April 2004 01:29 UTC

This is an example of what I was talking about... Except you would get the label data from the winamp playlist. This is imagemagick right here.

I don't know if using imagemagick would be the right thing to use, but if I could get a BMP in the avs directory with the first 3 items in the playlist, that would rock.


22nd April 2004 06:27 UTC

the problem with that is, that Picture II creates a working image in memory if you
a) change resolution,
b) on init
or c) when selecting another image
this means it doesnt read that text from the HD every frame

Try making a bitmap font instead... it could be used by an APE to draw text i think...


22nd April 2004 21:55 UTC

I wouldn't need it to read every frame, just whenever a preset with render>bmp was selected.


23rd April 2004 04:54 UTC

huh?
what do you mean by preset? an .avs file?
(cause it doesnt make sense when referring to an .avs file ;))


23rd April 2004 19:15 UTC

imagemagic is not good software for your need.
Download http://www.acdsystems.com/products/acdsee/


26th April 2004 00:48 UTC

Originally posted by TomyLobo
huh?
what do you mean by preset? an .avs file?
(cause it doesnt make sense when referring to an .avs file ;))
Yah, sort of a preset.. That's the way I was planning on using it..Preset would look like..

render>bmp
c:\program files\winamp\plugins\avs\dynamictxt1.bmp

All imagemagic would do is put the text(playlist) into the BMP.

It could be used for more than playlist stuff though.. like IRC txt > bmp.

ACDC wouldn't work for this either, it's not free, its not command line, ect.

26th April 2004 01:13 UTC

DynamicMovement did you even read the imagemagick page?

now i know what you mean :)
you want to have imagemagick generate a pic of the playlist and then load it into AVS.
interesting idea, but this method has 2 problems:
1st:
say you have a playlist with 1400 entries.
now fit that into the AVS screen ;)

2nd:
the playlist might change during the runtime of the preset


26th April 2004 02:46 UTC

Well for me, and karaoke, i maybe only have 20 or so people in my playlist at a time...

I'd just like to grab the first 3 entries or so..

But yah, you get the general idea tommy, sure it's cludgy and ugly, but until the avs text render has more options for getting extended playlist info this was the only solution i could think of... Can you code it for me?


26th April 2004 08:40 UTC

what you want is not possible with the imagemagick//render picture method you describe

read the 2nd problem above ;)
i think your playlist WILL change very often ;)


26th April 2004 15:38 UTC

What t0qer needs is the following:
A gen plugin(or external program) to monitor for playlist changes. When/if the playlist changes AND after each song finishes, the plug or prog will generate a new bmp using the imagemagick lib, feeding it the text of next three playlist items following the currently playing entry. AVS will just be the display for the bmp.

The goal is for t0qer to show bar patrons upcoming songs from within an already-running AVS session, therefore he knows when the preset will run (by manually invoking it) and he knows when the playlist will change(because he'll be adding to it as people sign up).

Is that a correct assessment of the situation?

-=Gonzotek=-


26th April 2004 19:52 UTC

Ya thats a great assesment gonzo. Thanks buddy :D Ya it doesn't even have to automatically run when there's a playlist change, even if it's just a single floating button "render bmp" that I pressed once in a while, that would be fine.

But automatic would be nice :D


9th May 2004 09:34 UTC

use render>text- $(title:n)
to get the first playlist entry, but if you want the first 3 i'm lost...


9th May 2004 10:21 UTC

Nudge, that gets the current playlist item, not the first on the list. And besides it is clear that isn't the thing he wants at all :)

If there won't be any solution to this you could always hire a monkey to take your screenshots and display them in avs manually :p


10th May 2004 10:37 UTC

meh,just shows you how much i know