dano album list itunes style

first of all thanks dano this is what I was looking for to do track lists for all my albums

link to topic and original export HERE

thing is I need a little help with modifying this script to do what I need it to do. I need to be able
to export to multiple albums in bulk instead of having one single list for all albums.

each album must have its own tracklisting file

single disc albums

18 Months - Calvin Harris (2013)-> mp3s + export file

multidisc albums

Bounce Back 2 Basics 01->

                                   cd 1
                                   cd 2
                                   export file

maybe it might help if you had this export to help me..

this has been modified from html_dano album list itunes style to what it is now.
It reads each directory independently and lists it as I want it to

I just need help in getting the export to send each album to its parent folder rather than have

one long list as this does at the moment

thanks for any help in advance

modified_html_dano_album_list_itunes_style.zip (1.42 KB)

Can anyone help please got to get my new setup sorted for this weekend and was
hoping to get this finished

I assume that you need much more than just a little help to do what you want to do.
How would you set the priority?
At first ... do you need help for writing ... HTML code ... or ... MTE code???

DD.20150922.1813.CEST

just the mte I need to export each tracklist to its corresponding album in bulk

Try
$filename(%_folderpath%Tracklisting.html,utf-8)

and in Export diaog select [x] one file per directory

Here is an example of a Mp3tag MTE export script, which is syntactically rather well formed as a Mp3tag export script and as a HTML script for a browser too.
This script does not claim to be 100 percent error-free or what you want to like better, ...
still the script might contain design quirks from your first given script.

01: $filename($getEnv('USERPROFILE')'\Desktop\Tracklisting.html',UTF-8)

02: '<?xml version="1.0" encoding="utf-8"?>'
03: ''
04: ''
05: ''
06: 'Tracklisting'
07: ''
08: ''
09: '<!--'
10: 'body {background-color:lightgrey}'
11: 'h1 {font-family:Arial;font-size:16pt}'
12: 'h2 {font-family:Arial;font-size:10pt}'
13: 'body {font-family:Arial;font-size:9pt}'
14: 'table {font-family:Arial;font-size:11pt}'
15: 'a {color:#960000;text-decoration:none}'
16: 'a:hover {color:#960000;text-decoration:none}'
17: '#wrap {width:95%;}'
18: '.tbox {padding:10px;margin:10px;background-color: #000000;}'
19: '.odd {background-color:#F3F7FB;} /* odd tracklisting color /'
20: '.bigtable {border:2px solid #000000;border-collapse:collapse;} / outer Box Size Pixels and color */'
21: '-->'
22: ''
23:
24: ''
25: ''
26: '

'
27: $loop(%_folderpath%,1)
28:
29: ''
30: ''
31: ''
43:
44: ''
71: '
'
32: '
 
'
33: '<img src="'%_folderpath_rel%'Folder.jpg" alt="add folder .jpg to each directory" width="125" height="125" border="3">'
34: '

'%ALBUMARTIST%''
35: ''%ALBUM%''
36: 'CD '%DISCNUMBER%''
37: '
 
'
38: 'Total Tracks: '%_total_files%''
39: '
 
'
40: 'Total Runtime: '%_total_time%''
41: '
 
'
42: '
'
45:
46: ''
47: ''
48: ''
49: ''
50: ''
51: ''
52: ''
53: ''
54: ''
55: ''
56: ''
57:
58: $loop(%_path%)
59: $if($odd(%_counter%),'','')
60: ''
61: ''
62: ''
63: ''
64: ''
65: ''
66: ''
67: $loopend()
68:
69: '
Track Title Artist Disc Duration Filesize
'$num(%TRACK%,2)' '$if(%ALBUMARTIST%,''%ARTIST%' - ',)%TITLE%' '%ARTIST%' '%DISCNUMBER%' '%_length%' '%_file_size%'
'
70: '
'
72: ' '

73: $loopend()
74: '

'
75: ''
76: ''
77: ''

20150922.johnr79.HTML.mte (2.36 KB)
DD.20150922.2101.CEST

20150922.johnr79.HTML.mte (2.36 KB)

thanks dano seems to be working will have to try on a batch of files

that sort of works on multi discs it puts a tracklist in each directory .. what I need it to do is read the
parent directory and place a tracklist in the parent folder showing both disc1 and disc 2

like the screenshot

It works fine on single discs just the multi discs I am having an issue with