Improve the Script


#1

This isn't a bug, per se . . . but adding one small function to the script will HUGELY improve readability when writing code and save a whole lot of headaches. Just have the script ignore carriage returns in the file. Let people use $char(10) to force a carriage return or write a function that will do that. To give you an example, here's an instance where I want the output to be put on a single line:
Unreadable, but works:

$puts(no_albums,0)$loop(%album%)$if($eql($left(%track%,2),%_total%),$puts(no_albums,$add(1,$get(no_albums))),)$loopend()

More readable, but outputs mult. lines:

$puts(no_albums,0)
$loop(%album%)
$if($eql($left(%track%,2),%_total%),
$puts(no_albums,$add(1,$get(no_albums))),
)
$loopend()

Seriously, it'd be a helpful update.


#2

If it isn't a bug, simply don't post it to the Bug Reports forum <_<

Topic moved.


#3

Sorry if that wasn't quite the right place to put that but . . . neither is this. I don't need help. I understand the semantics and syntax of the script. I'm simply making a suggestion for improvement in a future version. I had no idea where to put something like that; there's no forum topic for suggestions. Bug reports are about improving the product . . . hence why my suggestion was logged there.

A suggestions forum may be a good idea.


#4

General Discussion
If you speak english, give feedback on Mp3tag and suggest new features.