GTSdll Homepage

Support Boards => GTSdll 1.x Support => Documentation => Topic started by: GTS on April 08, 2006, 08:50:21 AM

Title: 4.5 Advanced Configuration - Audio Player Config Line Explanation
Post by: GTS on April 08, 2006, 08:50:21 AM
This Article Will (try to ;]) Explain WinAMP's/foobar2000's Configuration Line Under GTSdll .

GTSdll now detects if there is a ID3 Tag present, and if it is, it can display information according to the config line (either the default one, or the one you, the user, wrote):

NOTE: All info is for the currently playing track and as written in the file's ID3 or Vorbis Tag.

[player] - Returns WinAmp/foobar2000 in this case (it is used in other sections of GTSdll, hence the need for it)
[artist] - artist of track.
[album] - album of track.
[year] - year of track.
[title] - title/date of track.
[track] - track number.
[ext] - extension of file, usually mp3 or ogg.
[pos] - position in file (min:sec).
[length] - duration of file (min:sec).
[genre] - genre of track.
[comment] - comment of track.
[plpos] - position in playlist.
[pllen]    - length of playlist.
[bitrate] - bitrate of track (kbps)
[size] - filesize of track
[vbr] - VBR if mp3 is variable bitrate
[version] - WinAmp/foobar2000 Version
[http] - url of stream, if streaming (shoutcast radio).
[pc] - progress through the song in percentage.
[res] - resolution of video, if the file in Winamp is avi or mpg
[fps] - Frames Per Second of video, if the file in Winamp is avi or mpg
[codec] - used codec of video, if the file in Winamp is avi or mpg

Some of these are always present, like [player], or attributes that every song file has, like
[size],[length],[bitrate], etc.

But some of these can be missing, meaning they werent written in the tag, like [artist], [year], [track] and so on. So, in order to keep things tidy, GTS added the feature of displaying certain info
ONLY when the corresponding info exists in the tag. These tags are : [artist], [album], [title], [genre], [comment], [year], [res], [fps], [codec], [vbr], [size], [length] and [http]. Before you ask, the last three exist because
of radio streams support - shoutcast doesnt keep that info.

You can make these appear only when they exist by placing two similer tags like this:
[?artist]Song is made by [artist], they rock ! *.* [\artist]
anything between the [?] and [\] tags would appear only if the right info exists, like artist name in
our example .

The last option is the progress bar. When places, it shows a small (or big, depends on your selection :p) bar that shows how far are you into the song .

[bar=length,progress-color,progress-left-color]

length is the total size of the bar (100% of the song), progress-color is the color for the part of the bar the song has already passed and progress-left-color is the color of the part that remains of the song's playtime. Note that you can skip coloring by using -1 instead of a color number.

Possible colors are:
(http://www.gts-stuff.com/pics/mirc-colors.gif)
Note: These are the default mIRC colors, they may differ.

Well, there it is. Hope this helped anyone.. if anything is still a mystery to you, and you require our help or just wanna comment on the article(s), join us @ irc.rizon.net #gtsdll.

Have Fun ! Written By ChaosBlade For GTSdll :)
[ updated by GTS :p | Updated again by ChaosBlade, Typo fixup ]
Title: Re: 4.5 Advanced Configuration - WinAMP Config Line Explanation
Post by: Zero on July 11, 2006, 02:15:10 PM
will there be later support for the Composer tag? :undecided:
Title: Re: 4.5 Advanced Configuration - WinAMP Config Line Explanation
Post by: GTS on July 11, 2006, 05:10:25 PM
yes, probably ^^
Title: Re: 4.5 Advanced Configuration - Audio Player Config Line Explanation
Post by: necromantula on July 31, 2006, 08:14:15 PM
thank you so much for doing this. it is so helpful and useful
Title: Re: 4.5 Advanced Configuration - Audio Player Config Line Explanation
Post by: m3lt on November 18, 2006, 03:33:00 PM
Would be cool if there's a possibilty to show the name of the folder the track is in, this is usually much more interesting than the rest of the stuff ;) e.g. when it comes to scene rls
Title: Re: 4.5 Advanced Configuration - Audio Player Config Line Explanation
Post by: chaosblade on November 19, 2006, 12:18:37 PM
Gah, these need updating. You already have the [path=N] identifiers, Where N is between 1-4 for folder depth.
Title: Re: 4.5 Advanced Configuration - Audio Player Config Line Explanation
Post by: chilibert on January 11, 2007, 02:39:06 PM
Is there a way to hide something? when listening to ogg stream, the remaining time part always shows "00:00 [] INF%". Is there a way to make it hide it when that appears?
Title: Re: 4.5 Advanced Configuration - Audio Player Config Line Explanation
Post by: chilibert. on May 21, 2007, 03:33:43 PM
Still me. Is it possible to make a tag hide if specific text is used? like 00:00?
Title: Re: 4.5 Advanced Configuration - Audio Player Config Line Explanation
Post by: chaosblade on June 14, 2007, 06:22:26 PM
every tag has a if-empty equivalent. for example, [?artist][artist][/artist] only shows the artist tag if it isn't empty.
Title: Re: 4.5 Advanced Configuration - Audio Player Config Line Explanation
Post by: Yusuke on February 07, 2009, 06:53:58 AM
hmmm, iunno if it's something i'm doing or what but with Winamp 5.55 (and a few earlier versions or maybe all of winamp 5), GTSDll stops getting id3 info and only shows artist and song title. I haven't changed anything cept getting teh new winamp
Title: Re: 4.5 Advanced Configuration - Audio Player Config Line Explanation
Post by: GTS on February 14, 2009, 11:29:49 PM
I know of this issue: http://www.gts-stuff.com/index.php/topic,1663.0.html

Try that ^^
Title: Re: 4.5 Advanced Configuration - Audio Player Config Line Explanation
Post by: FichteFoll on December 31, 2010, 01:32:57 PM
I use Winamp 5.572 but gtsdll does not detect vbr for any song that has vbr. Using " [vbr]" it always displays "cbr" and using "[?vbr]([vbr])[\vbr]" it, of course, displays nothing.
Where could the problem be? Is it me or does gtsdll not detect vbr on every version?