(disponible avec foo_utils)
Si vous voulez exporter vos playlists au format HTML ou en texte, avec ce plugin vous pourrez collecter certains tags pour une version papier ou web de vos playlists.Configuration
Dans le header , mettez l'en tête de votre fichier, c'est l'occasion de mettre la durée totale, le nom de la playlist etc.. ![]()
Dans le Body , mettez l'action à effectuer à chaque fichier de la playlist.
Dans le Footer mettez la fin de votre texte/code.
protégez les charactères%,, (, ), ], [ avec des quotes (') ou des backquotes (") si jamais vous en utilisez. (exemple width=100%)
Quelques exemples
Classique:
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>Voir le résultat
Créer une liste d'albums:
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>Voir le résultat
Utilisation
Sélectionnez vos chansons puis via le menu contextuel, choisissez text tools , Save text
N'oubliez pas de bien enregistrer vos fichiers au format HTML si c'est ce que vous souhaitez.
Retour à la page principale
03:38:24. 03 September 2007