Help required with html_dano_albumlist


#1

Hi all,

This is my first post so be gentle with me :wink:

Florian, a fantastically useful and well equipped piece of software, well done :sunglasses: :sunglasses:

A question if I may, regarding the use of the dano_albumlist export :flushed:

I find the track time and the bitrate a little 'noisy' where it currently is, and would like to see it in the 'Year' column after clicking on the folder link and opening the track list.

I'd still obviously like the track time and bitrate to be for each of the exploded tracks and (pushes luck) would like the 'exploded' tracks to be url's and therefore play the tune with a single click, in my default player.

:sunglasses:

Thanks for all and any help.

KevinO


#2

Thanks for your kind words!
Ok replace your text section with

$loop("%_folderpath%")<tr>
<td class="row2" align="center"><a href="file:///%_folderpath% " target="_blank">$num("%_counter%", 3)</a></td>
<td id="id%_counter%" class="row2"><b><a href="javascript:show('%_counter%');">%_directory%</a></b></td>
<td class="row2" align="center">%year%</td>
<td class="row2" align="center">%genre%</td>
</tr>
<tr style="display:none;" id="show%_counter%">
<td class="row4" align="center"><b>-</b></td>
<td class="row4">$loop("%_filename_ext%")<a href="%_filename_ext%">%_filename_ext%</a>

$loopend()

<td class="row4" align="center">$loop("%_filename_ext%")%_length% min | %_bitrate% kbits

$loopend()

<td class="row4" align="center">%_total_size%

%_total_files% Files

</tr>$loopend() 

and the width values should be changed to something like this:

<th align="center" width="2%" class='titlemedium'>Counter</th>
<th align="left" width="65%" class='titlemedium'>Folder</th>
<th align="center" width="15%" class='titlemedium'>Year</th>
<th align="center" width="18%" class='titlemedium'>Genre</th>

#3

Thanks for the speedy reply D4n0.

I implemented the changes you suggested and I got this :huh:

:sunglasses:

This is nearly what I'm after, I would like to see only the track duration and bitrate in the 'Year' column, without the repeat of the contents of the 'Folder' column.

Is what I'm after actually achieveable I wonder?

If you could find time to have another stab, or if anyone else would care to help, I'd be enternally grateful (Whilst alive, that is) :laughing:

QUOTE (d4n0 @ Oct 6 2004, 04:48 PM)
Thanks for your kind words!

Ok replace your text section with

$loop("%_folderpath%")<tr>
<td class="row2" align="center"><a href="file:///%_folderpath% " target="_blank">$num("%_counter%", 3)</a></td>
<td id="id%_counter%" class="row2"><b><a href="javascript:show('%_counter%');">%_directory%</a></b></td>
<td class="row2" align="center">%year%</td>
<td class="row2" align="center">%genre%</td>
</tr>
<tr style="display:none;" id="show%_counter%">
<td class="row4" align="center"><b>-</b></td>
<td class="row4">$loop("%_filename_ext%")<a href="%_filename_ext%">%_filename_ext%</a>

$loopend()

<td class="row4" align="center">$loop("%_filename_ext%")%_length% min | %_bitrate% kbits

$loopend()

<td class="row4" align="center">%_total_size%

%_total_files% Files

</tr>$loopend() 

and the width values should be changed to something like this:

<th align="center" width="2%" class='titlemedium'>Counter</th>
<th align="left" width="65%" class='titlemedium'>Folder</th>
<th align="center" width="15%" class='titlemedium'>Year</th>
<th align="center" width="18%" class='titlemedium'>Genre</th>
<{POST_SNAPBACK}>

#4

Kevin,

Seems that something went wrong while replacing the old part with the suggested new part of the configuration.

I've attached the modified version to this post.

Best regards,
~ Florian

html_dano_albumlist_modified.zip (1.43 KB)


#5

Hi Florian,

Thanks for that, I'll try it when I get home tonight.

Upon looking at the updated html, the relevant section seems to be the same as the code D4n0 pasted into the thread earlier, and I'm d@mn sure I pasted it into the correct place, overwriting the previous code. :unsure:

Still, thanks again and I'll report back, happy or sad.


#6

Kevin,

have you tried it?

Regards,
~ Florian


#7

Hi again,

Sorry, I can only reply whilst at work (erm, where I should be working) :laughing:

Ok, firstly, I can't see any difference after unzipping the file you made ready for me, I still get the url'd filename reference repeated in the 'Year' column as per my original image, with the desired track time and bit rate shown at the bottom of the same column.

Secondly, when exporting, the counter, which correctly represents the number of mp3's to process, differs from the final resultant number of the count.

:w00t: :flushed: :huh:

Better to show I think :slight_smile:

:unsure:

Once more, thanks for your time and assistance :sunglasses:


#8

Kevin,

I can do nothing about the counter reporting higher numbers than items really exported, because the new export processes the same files multiple times, when there is more than one nested loop.

Regarding the modified configuration, I've tested it with Opera 6.50 Preview 1 and Internet Explorer 6.0.2900.2180 (Windows XP Pro SP 2) and have no problems.

Best regards,
~ Florian


#9

Hi Florian,

Thanks for the explanation for the counter, it is, and was not, a problem, merely a weirdy which now you've explained why, makes sense.

Hmmm, I am running IE 5.5 sp2 on Win2K sp4, I wouldn't have thought there should be differences of this nature, even across the divides.

I'll re-extract your modified file, clear my internet cache and try again.....

I'll even try the exported html file at work (XP Pro Sp1 and Ie 6.0.2800.1106)


#10

Had a brainwave!!

Downloaded the latest version 2.25 and installed here at work. :ph34r:

Extracted the modified d4n0 album listing you supplied and then created an export file, using it as the desired output file type.

Same problem.

This is now on XP Pro Sp1 and Ie 6.0.2800.1106.

Over to you again.... :slight_smile:


#11

:smiley: :stuck_out_tongue: :rolleyes:

Woo Hoo !!

I just tried the latest dev build and it work's ok on my machine at work.

I'll try my home box with the dev build tonight.

I looked throught the list of 'features and fixes' through the dev build history, and one looks the possible culprit.

FIX: output of last loop was duplicated to next loop at the new export in rare cases.

Anyway, thanks again Florian and D4n0 :sunglasses: