Track listings with foobar2000: Difference between revisions
m (Added article: Track listings with foobar2000) |
No edit summary |
||
(3 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
Uploaders of soundtracks and OSTs will | Uploaders of soundtracks and OSTs will quickly find generating tracklists to be a pain. The task is repetitive and highly tedious—exactly the sort of thing best done by software tools. [http://www.foobar2000.org/ Foobar2000] is one such tool that can do this, among many other things. | ||
==What you need== | ==What you need== | ||
Line 10: | Line 10: | ||
* Install foobar2000. | * Install foobar2000. | ||
* Install the Text Tools plugin using the Components menu in Preferences | * Install the Text Tools plugin using the Components menu in Preferences. | ||
[[File:foo_components.png | [[File:foo_components.png|Figure 1: foobar2000 Components.]] | ||
* Add tracks to foobar2000 by click-dragging them into the foobar2000 window. | * Add tracks to foobar2000 by click-dragging them into the foobar2000 window. | ||
* Select all the tracks to generate the tracklist from, ensuring they are in desired order. | * Select all the tracks to generate the tracklist from, ensuring they are in desired order. | ||
* Right-click on the selected tracks → Utilities → Text Tools. You will see a few pre-configured options. You can use these, but we can do one step better. | * Right-click on the selected tracks → Utilities → Text Tools. You will see a few pre-configured options. You can use these, but we can do one step better and add own own custom patterns to make things even easier. These can be added or edited through the Customize option in Text Tools menu. | ||
[[File:foo_ttools_customize.png|Figure 2: foobar2000 Text Tools copying patterns.]] | |||
Notice that there are tags within those patterns, such as %track%, %title%, and so on. These tags are replaced with track info when you generate the tracklist with Text Tools. A full list of tags can be found on [http://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Titleformat_Reference#Field_remappings Hydrogenaudio wiki]. Some of the commonly used tags are listed below. | |||
* %album artist% | |||
* %album% | |||
* %artist% | |||
* %title% | |||
* %tracknumber% | |||
Give your new copying pattern an easily identifiable name. Now you should see the new pattern in the Utilities → Text Tools context menu. | |||
==Examples== | |||
===HTML <ol> lists=== | |||
If you are using HTML ordered lists to display your tracklist, the HTML code will look something like: | If you are using HTML ordered lists to display your tracklist, the HTML code will look something like: | ||
<code> | <code> | ||
[...]<br /> | |||
<ol><br /> | |||
<li>Track 1</li><br /> | |||
<li>Track 2</li><br /> | |||
<li>Track 3</li><br /> | |||
</ol><br /> | |||
[...] | [...] | ||
</code> | </code> | ||
foobar2000 can add the <> tags for you with Text Tools. From the Text Tools list, click Customize. You should now see a list of preconfigured copying patterns. | foobar2000 can add the <> tags for you with Text Tools. From the Text Tools list, click Customize. You should now see a list of preconfigured copying patterns. For a simple <ol>...</ol> list of track titles, we can use the following pattern: | ||
<code> | |||
<li>%title%</li> | |||
</code> | |||
This will copy the track titles of all selected tracks and encase them within <li> tags. Since it’s an ordered list, track numbers are automatically be added (if your list is in the correct order). | |||
===HTML <select> lists=== | |||
The code for <select> lists looks like: | |||
<code> | |||
[...]<br /> | |||
<select><br /> | |||
<option>3 tracks<br /> | |||
<option>01 - Track 1<br /> | |||
<option>02 - Track 2<br /> | |||
<option>03 - Track 3<br /> | |||
</select><br /> | |||
[...] | |||
</code> | |||
We can use the following pattern to generate this: | |||
<code> | <code> | ||
< | <option>%tracknumber% - %title% | ||
</code> | </code> | ||
This will copy the track titles of all selected tracks and | This will copy the track numbers and titles (hyphen-separated) of all selected tracks, and prepend the <option> tag. |
Latest revision as of 03:17, 5 July 2011
Uploaders of soundtracks and OSTs will quickly find generating tracklists to be a pain. The task is repetitive and highly tedious—exactly the sort of thing best done by software tools. Foobar2000 is one such tool that can do this, among many other things.
What you need
- foobar2000
- Text Tools plugin for foobar2000
- Audio tracks from which to generate a filelist, properly tagged with track number, track title, and any other required info.
Procedure
- Install foobar2000.
- Install the Text Tools plugin using the Components menu in Preferences.
- Add tracks to foobar2000 by click-dragging them into the foobar2000 window.
- Select all the tracks to generate the tracklist from, ensuring they are in desired order.
- Right-click on the selected tracks → Utilities → Text Tools. You will see a few pre-configured options. You can use these, but we can do one step better and add own own custom patterns to make things even easier. These can be added or edited through the Customize option in Text Tools menu.
Notice that there are tags within those patterns, such as %track%, %title%, and so on. These tags are replaced with track info when you generate the tracklist with Text Tools. A full list of tags can be found on Hydrogenaudio wiki. Some of the commonly used tags are listed below.
- %album artist%
- %album%
- %artist%
- %title%
- %tracknumber%
Give your new copying pattern an easily identifiable name. Now you should see the new pattern in the Utilities → Text Tools context menu.
Examples
HTML <ol> lists
If you are using HTML ordered lists to display your tracklist, the HTML code will look something like:
[...]
<ol>
<li>Track 1</li>
<li>Track 2</li>
<li>Track 3</li>
</ol>
[...]
foobar2000 can add the <> tags for you with Text Tools. From the Text Tools list, click Customize. You should now see a list of preconfigured copying patterns. For a simple <ol>...</ol> list of track titles, we can use the following pattern:
<li>%title%</li>
This will copy the track titles of all selected tracks and encase them within <li> tags. Since it’s an ordered list, track numbers are automatically be added (if your list is in the correct order).
HTML <select> lists
The code for <select> lists looks like:
[...]
<select>
<option>3 tracks
<option>01 - Track 1
<option>02 - Track 2
<option>03 - Track 3
</select>
[...]
We can use the following pattern to generate this:
<option>%tracknumber% - %title%
This will copy the track numbers and titles (hyphen-separated) of all selected tracks, and prepend the <option> tag.