2 new export configurations with color themes

Update!

  • Added a workaround for IE7 JavaScript statement limit bug, many thanks to urac for testing
Highly recommended for all users of crappshiny new Internet Explorer 7 out there, otherwise you will not be able to see anything if you export lots of files (ca. >2700)

Everyone who base his own export configuration on my arrayed export might be also interested in this update (search for "ugly workaround" in the file)

*_albumcover.mte is not changed, since albums normally do not have > 2700 songs :slight_smile:

Regards
nickless :music:

Hi - I have neeb using MP3Tag for a while now to edit tags and now hat I have ripped all my music to flac I wanted to create a directory list via the export function. I like the format of Nickless's export configurations. I have tried several of the MTEs posted and most recently - html_nickless_color_schemes_directorylist.mte

I am able to export successfully a short list, but as soon as I try to export infomation from my music directory with 930 albums it will not display any information. The screen I get is captured in the attched JPEG. I am using IE 7 and the error message tells me I need to enable javascript, but as far as I can tell it is already enabled. Any advice as to how I can make this mte work?


Does this also happen with the latest version I've uploaded on 30 november? Does the file work in other browser?

It can take a minute or so until the whole list is sorted if you export a lot of files, and AFAIK most browsers start to warn about non-responding script after few seconds.
You can try to click on this yellow message bar and see if you can manually enable java script again.

Regards
nickless

I think this is the latest version - last modified 18/11/07 2.09PM. Filename is html_nickless_color_schemes_directorylist.mte

I can produce lists with fewer files no problem, but as soon as I exceed a certain number (not sure how many) the page does not display any information. I have "enabled blocked content" by clicking on the yellow bar, but still no luck. I have tried opening the file in Firefox also (and it is easier to see that Javascript is enabled in the properties here) and still no list displays.

Any other ideas? I would really like this to work. Thansk for all of your advice.

Corrupted files or tags with special characters I haven't thought about can also cause similar problems, in this case there is a syntax error in java script resulting in black table.

Can you please open the file with firefox and post here the first 5-10 errors from Tolls->Error Console (best clear all errors first and reload the page to get rid of earlier errors)?

You can also try to find if this bug is caused by some specific file in one of the folders by exporting them partially.

I have attached a JPEG of the Error Console screen. Hope this provides some insight!

Do you need the detailed info from each error (available if I click on the error in the console)?

Thanks


Ok, it looks like the 670-th file is corrupted, since it do not have a length. You can search for a[670][16] in the exported html file (or go to the line number you can find from the detailed error info) to find out which one it is, then try to play them, if it's really corrupted, then you would probably want to delete them, if not, then this is a bug, since Mp3Tag is not able to read out the length correctly.
However, exporting without this file should work fine(of course if there are no more corrupted files in there) :slight_smile:

Regards
nickless

I have done as you suggested. Actually found 4 corrupt files in my music directory. I have removed them from the directory and now your export config works like a charm! It takes a while to load, but it seems to work without a probelm now. Thank you for getting to the root of this problem for me. I genuinely appreciate it.

I have one other question about this configuration. When I have the list sorted by artist, the individual tracks by each artist listed are then sorted by bitrate. Is there any way to set the second parameter by which the files are sorted? All of the track tags and filenames I use start with the track number from the album, so I would like to use the track name as the second parameter, when I am using the artist name as the primary sort parameter. Then I will have the artists listed alphabetically and within the list for each artist I will have the tracks and albums sorted in order.

Can you let me know if this is possible, and if so how to make it do this?

Thank you

You're welcome :slight_smile:

There was a similar question about one of my exports some time ago.
So, yes, actually the sorting is stable, so you can just sort by track number and afterwards by artist and it should be sorted correctly (like in mp3tag view).
If you want to define the default sorting, you can change the numbers in the line Array.prototype.sort_stack = new Array(-1,-1,-1,-1,-1);
to

Array.prototype.sort_stack = new Array(0,2,-1,-1,-1);

somewhere in the configuration file.

Regards
nickless

I came through your export files and indeed this is an excellent work.
I think there is a bug with album covers.
Export configuration file assumes (or prerequisites) media is stored in format [Artist]/[Album] (e.g. Peter Gabriel/Up) and selected folder is exactly the parent of [Artist]/[Album].
Is this done in purpose or is something escaped your attention?
I will try to amend the code and upload here.

Victor