patrick40
21-09-2018, 11:40
Ciao a tutti, ho bisogno di un aiuto per uno scrip di TagScanner (https://www.xdlab.ru/en/), un freeware per la modifica dei tags e per la catalogazione di file mp3: non so se sia la sezione giusta, spero di sì (non me ne intendo molto di cose di PC, scusatemi...
)
Una delle sue caratteristiche è quella di poter generare un file .html con alcune informazioni dei files, contenuti in una o più cartelle: "purtroppo" le info prodotte non sono quelle che vorrei; questi infatti sono le etichette delle colonnne di output di default del programma:
#
Artist
Title
Track
Album
Year
Genre
Length
Bitrate
Codec
Io invece vorrei queste (in qeust'ordine):
Filename
Artist
Title
Length
Bitrate
Size
Album
Disc
Track
Year
Picture
Channels
Di seguito riposto il file che "bisognerebbe in qualche modo modificare": io non me ne intendo assolutamente, e dopo aver provato a fare qualche cambiamento/aggiunta a... "naso" (vanvera) ci ho rinunciato, ma credo che fra di vi qualcuno possa sicuramente modificarlo nel modo da me voluto.
=====================================
# Tagscanner export script
$file_name TrackList.htm
$file_notes Simple html table
$file_encoding utf-8
$file_writebom 1
$file_ishtml 1
$document_open
<html>
<head>
<meta name="generator" content="TagScanner 5.1">
<meta http-equiv="content-Type" content="text/html; charset=UTF-8">
<title>TagScanner Extended PlayList</title>
<style type="text/css">
body { background: #e8f1f7; font-family : verdana, arial, helvetica; color: #000 }
a { color: #3333ff; text-decoration: none }
a:hover { color: #ff4500; text-decoration: underline }
td { font-size: 8pt; padding: 2px }
hr { color: black }
.theader { background : #6699ff ; color: #fff ; font-weight: bold }
.tmaintable { background : none }
.teven { background : #fbfcfd; color : #000 }
.todd { background : #ffffff; color : #000 }
.digits { color: #0032de ; font-weight: bold }
.al { color: #3333ff }
.al:hover { color: #3333ff;text-decoration: underline }
</style>
</head>
<body topmargin="0" leftmargin="0">
<hr width="100%" noshade size="1">
<table border="0" cellspacing="0" cellpadding="2" width="99%" align="center">
<tr><td>
Total tracks number: <span class="digits">%_totalfiles%</span><br>
Total tracks length: <span class="digits">%_totallength%</span><br>
Total tracks size: <span class="digits">%_totalsize%</span>
</td></tr></table>
<hr width="100%" noshade size="1">
<table class="tmaintable" border="0" cellpadding="3" width="99%" align="center" cellspacing="1">
<!-- table header -->
<tr class="theader">
<td>#</td>
<td>Artist</td>
<td>Title</td>
<td>Track</td>
<td>Album</td>
<td>Year</td>
<td>Genre</td>
<td>Length</td>
<td>Bitrate</td>
<td>Codec</td>
</tr>
$select %_index%,0
<tr class="t%_even_odd%">
<td>%_counter%</td>
<td>%artist%</td>
<td>%title%</td>
<td>%track%</td>
<td>%album%</td>
<td>%year%</td>
<td>%genre%</td>
<td>%_length%</td>
<td>%_bitrate%</td>
<td>%_codec%</td>
</tr>
$endselect
<!-- table footer -->
<tr class="theader">
<td>#</td>
<td>Artist</td>
<td>Title</td>
<td>Track</td>
<td>Album</td>
<td>Year</td>
<td>Genre</td>
<td>Length</td>
<td>Bitrate</td>
<td>Codec</td>
</tr>
</table>
<hr width="100%" noshade size="1"> List generated with <a href="http://www.xdlab.ru">%_version%</a>
<br><br></body></html>
$document_close
========================================
Grazie davvero moltissimo a chi mi aiuterà.
)
Una delle sue caratteristiche è quella di poter generare un file .html con alcune informazioni dei files, contenuti in una o più cartelle: "purtroppo" le info prodotte non sono quelle che vorrei; questi infatti sono le etichette delle colonnne di output di default del programma:
#
Artist
Title
Track
Album
Year
Genre
Length
Bitrate
Codec
Io invece vorrei queste (in qeust'ordine):
Filename
Artist
Title
Length
Bitrate
Size
Album
Disc
Track
Year
Picture
Channels
Di seguito riposto il file che "bisognerebbe in qualche modo modificare": io non me ne intendo assolutamente, e dopo aver provato a fare qualche cambiamento/aggiunta a... "naso" (vanvera) ci ho rinunciato, ma credo che fra di vi qualcuno possa sicuramente modificarlo nel modo da me voluto.
=====================================
# Tagscanner export script
$file_name TrackList.htm
$file_notes Simple html table
$file_encoding utf-8
$file_writebom 1
$file_ishtml 1
$document_open
<html>
<head>
<meta name="generator" content="TagScanner 5.1">
<meta http-equiv="content-Type" content="text/html; charset=UTF-8">
<title>TagScanner Extended PlayList</title>
<style type="text/css">
body { background: #e8f1f7; font-family : verdana, arial, helvetica; color: #000 }
a { color: #3333ff; text-decoration: none }
a:hover { color: #ff4500; text-decoration: underline }
td { font-size: 8pt; padding: 2px }
hr { color: black }
.theader { background : #6699ff ; color: #fff ; font-weight: bold }
.tmaintable { background : none }
.teven { background : #fbfcfd; color : #000 }
.todd { background : #ffffff; color : #000 }
.digits { color: #0032de ; font-weight: bold }
.al { color: #3333ff }
.al:hover { color: #3333ff;text-decoration: underline }
</style>
</head>
<body topmargin="0" leftmargin="0">
<hr width="100%" noshade size="1">
<table border="0" cellspacing="0" cellpadding="2" width="99%" align="center">
<tr><td>
Total tracks number: <span class="digits">%_totalfiles%</span><br>
Total tracks length: <span class="digits">%_totallength%</span><br>
Total tracks size: <span class="digits">%_totalsize%</span>
</td></tr></table>
<hr width="100%" noshade size="1">
<table class="tmaintable" border="0" cellpadding="3" width="99%" align="center" cellspacing="1">
<!-- table header -->
<tr class="theader">
<td>#</td>
<td>Artist</td>
<td>Title</td>
<td>Track</td>
<td>Album</td>
<td>Year</td>
<td>Genre</td>
<td>Length</td>
<td>Bitrate</td>
<td>Codec</td>
</tr>
$select %_index%,0
<tr class="t%_even_odd%">
<td>%_counter%</td>
<td>%artist%</td>
<td>%title%</td>
<td>%track%</td>
<td>%album%</td>
<td>%year%</td>
<td>%genre%</td>
<td>%_length%</td>
<td>%_bitrate%</td>
<td>%_codec%</td>
</tr>
$endselect
<!-- table footer -->
<tr class="theader">
<td>#</td>
<td>Artist</td>
<td>Title</td>
<td>Track</td>
<td>Album</td>
<td>Year</td>
<td>Genre</td>
<td>Length</td>
<td>Bitrate</td>
<td>Codec</td>
</tr>
</table>
<hr width="100%" noshade size="1"> List generated with <a href="http://www.xdlab.ru">%_version%</a>
<br><br></body></html>
$document_close
========================================
Grazie davvero moltissimo a chi mi aiuterà.