Old 27th February 2006, 12:38   #1
karl.ranseier
Junior Member
 
karl.ranseier's Avatar
 
Join Date: Jan 2002
Location: Germany
Posts: 33
$repeat(x,y) crashes if y<0

Hi,
I think winamp crashes if $repeat(x,y) function has a negative value y.
I "fixed" it this way: "%artist% $repeat(.,$max(1,$add(-$len(%artist%),22))) %title%"

The $fill function cannot be found, so perhaps it would be better to change the "help-text": $repeat instead of $fill


I use Winamp 5.2 on a microsoft win2k system.
karl.ranseier is offline   Reply With Quote
Old 28th February 2006, 03:10   #2
n2jtx
Junior Member
 
Join Date: Feb 2004
Posts: 35
Send a message via AIM to n2jtx
Sure enough, $repeat(x,-y) causes Winamp to lockup really tight. I was only able to kill the process using Taskmgr. It even fails with third party plugins that call the Advanced Title Formatting routine.

It would be nice if while fixing this bug in the formatter the developers can allow newline's to again pass through the formatter as they did before 5.2.

Author of the "Auto Close" and "What's Playing v2" plugins.

I support the Right to Keep and Arm Bears.
n2jtx is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Winamp > Winamp Bug Reports

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