(comes with foo_utils)
If you want to export your playlists in plain text or have detailed inforrmation about your files and their tags, with this component you will be able to collect information. and get a .txt or .html fileConfigure
In the header , insert the text of your future file. Enter only information evaluated for the whole selection or playlist. As it will only appear once. ![]()
In the Body , enter the text to evaluate at each file.
In the Footer insert the end of the text or the end of your code (HTML code for example)
protect %,, (, ), ], [ characters with quotes or backquotes if you use them anywhere in your file. (example width=100%)
Some examples
With classic information:
Header :<html>Body :
<head>
<title>Foobar Playlist</title>
<LINK rel=stylesheet type="text/css" href="styles2.css">
</head>
<body bgcolor="#E6E4E4" text="black" link="black" vlink="#676767" alink="#676767">
<center><H1>Foobar Playlist</H1></center>
<table bgcolor="#D0F7B0" cellspacing=1 cellpadding=5 align=center> <tr>
<td><b><i>Pl. nb.</i></b></td>
<td><b><i>Album</i></b></td>
<td><b><i>Artist</i></b></td>
<td><b><i>Title/filename</i></b></td>
<td><b><i>Length</i></b></td>
</tr>
<tr>Footer :
<td>$num(%list_index%,$len(%list_total%))</td>
<td>$if2(%album%,%directory%)</td>
<td>$if2(%Artist%,)</td>
<td>$if2(%title%,%filename%)</td>
<td>%_length%</td>
</tr>
</table> </body> </html>See the result
Album list:
Header :<html>Body :
<head>
<title>Foobar Playlist</title>
<LINK rel=stylesheet type="text/css" href="styles2.css">
</head>
<body bgcolor="#E6E4E4" text="black" link="black" vlink="#676767" alink="#676767">
<center><H1>Album list</H1></center>
<table cellspacing=1 cellpadding=5 align=center border=1>
<tr>
<td><b><i>Artist</i></b></td>
<td><b><i>Album</i></b></td>
<td><b><i>Album Gain</i></b></td>
<td><b><i>Year</i></b></td>
</tr>
$if($strcmp(%tracknumber%,01),<tr>Footer :
<td>$if2(%Artist%,)</td>
<td>$if2(%album%,%directory%)</td>
<td>$if2(%__replaygain_album_gain%,No replaygain info)</td>
<td>$if2(%Date%,)</td>
</tr>,)
</table> </body> </html>See the result
Use
Via the contextual menu, choose text tools , Save text
Don't forget to save it as an html file if you use HTML language.
Go back to main page
September 03 2007 03:38:23.