Tango.info track tagger format string: Difference between revisions
Jump to navigation
Jump to search
(The tango.info tagger since 1.3 accepts a format string for the output. It can be set via the url or input field.) |
|||
Line 1: | Line 1: | ||
[[category:tango.info]] | [[category:tango.info]] | ||
The tango.info tagger since 1.3 accepts a format string for the output. | |||
It can be set via the url or input field. | |||
http://tools.tango.info/tagger1.3.php?format_string=%25tin%25 | |||
* %disc_tqty% number of tracks in disc (count in tracks table, CURRENTLY THIS IS NOT THE MAX OF TRACK NUMBER) | * %disc_tqty% number of tracks in disc (count in tracks table, CURRENTLY THIS IS NOT THE MAX OF TRACK NUMBER) | ||
* %album_tqty% number of tracks in album (count in tracks table) | * %album_tqty% number of tracks in album (count in tracks table) | ||
* %album_dqty% number of discs in album (max value for album_side in tracks table) | * %album_dqty% number of discs in album (max value for album_side in tracks table) | ||
Aliases exist see below. | |||
<pre> | <pre> |
Revision as of 2009-09-02T16:50:27
The tango.info tagger since 1.3 accepts a format string for the output.
It can be set via the url or input field.
http://tools.tango.info/tagger1.3.php?format_string=%25tin%25
- %disc_tqty% number of tracks in disc (count in tracks table, CURRENTLY THIS IS NOT THE MAX OF TRACK NUMBER)
- %album_tqty% number of tracks in album (count in tracks table)
- %album_dqty% number of discs in album (max value for album_side in tracks table)
Aliases exist see below.
/*album specific*/ $sf["%tin%"]=$t["album_tin"]; $sf["%album_name%"]=$t["album_name"]; $sf["%album_artist%"]=$t["album_artist"]; $sf["%album_dqty%"]=$t["album_disc_qty"]; $sf["%album_disc_qty%"]=$sf["%album_dqty%"];//alias $sf["%album_tqty%"]=$t["album_track_qty"]; /*disc specific*/ $sf["%discnumber%"]=$t["album_side"]; $sf["%disc_tqty%"]=$t["track_qty"]; $sf["%disc_track_qty%"]=$sf["%disc_tqty%"];//alias /*track specific*/ $sf["%tint%"]="{$t["album_tin"]}-{$t["album_side"]}-{$t["track_num"]}"; $sf["%track%"]=$t["track_num"]; $sf["%title%"]=$t["track_name"]; $sf["%artist%"]=$t["track_artists"]; $sf["%genre%"]=$t["track_genr"]; $sf["%date%"]=$t["track_date"]; $sf["%duration%"]=$t["track_dura"]; $sf["%track_orch%"]=$t["track_orch"]; $sf["%track_voca%"]=$t["track_voca"];