Track - Artist - Album with URLs


#1

Hi, i'm hoping I will only have to make one topic for help and then get sorted after this.

Let's say I want to export a txt file of a playlist that has this format:

Track - Artist - Album, and then additionally I want to add a url in the "comments" to where you can find the track online. so it looks like

Track - Artist - Album

Thanks!


#2

This should do the trick: $filename(html,utf-8)

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>Contents of %_directory%</title>
</head>
<body>
$loop(%_filename_ext%)<a href="%comment%">%title%</a> - %artist% - %album%

$loopend()
</body>
</html>