Results 1 to 4 of 4

Thread: Exporting for hours

  1. #1
    Join Date
    Mar 2002
    Location
    Arnhem, The Netherlands
    Posts
    52

    Default Exporting for hours

    While I was creating the template and tested it, all worked fine... until I exported my entire collection. :'(

    The export itself is a matter of seconds, however, when I also turn on the thumbnail option.. it will take several hours. Windows reports the program as "Not Responding", when I switch to Explorer and then back, there is nothing but a white screen... in the mean time it seems to work it's ass off ;D

    Export happens with sizes of 25px,70px and 175px for the different pages... the covers stored in the dbase are between 800px and 1000px, with the option to save them outside the dbase checked.

    Anyone else experienced this???

  2. #2
    Join Date
    Feb 2009
    Posts
    1,549

    Default Re: Exporting for hours

    Quote Originally Posted by Sealed
    Export happens with sizes of 25px,70px and 175px for the different pages... the covers stored in the dbase are between 800px and 1000px, with the option to save them outside the dbase checked.
    This should be the reason. Image resizing takes most of the time during any export, and since you have 3 different image sizes in your template, each image is resized 3 times... That makes the export so slow.

    Someone will take a look at this problem, but I wouldn't expect big improvement

  3. #3
    Join Date
    Mar 2002
    Location
    Arnhem, The Netherlands
    Posts
    52

    Default Re: Exporting for hours

    I don't know how it parses the template exactly... but basicly it goes from top to bottom, when it encounters a tag it does something with it ... lets say.. start-page.. it sees "covers" so it starts generating covers.. then on to the next tag etc etc..

    so far no problem here, and it goes rather fast too.. then follows groups pages.. say 3 pages with tiny thumbs...

    Now I have a start page with 6 new items (covers at 70px) and 3 group pages (covers at 30px).... in about a minute or two, maybe three

    then the album pages (covers at 175px).. here starts the problem... because it does (as it looks) nothing for a long time before it starts putting out the covers.. like half an hour or so...

    If I make a simple template like

    ::start/web
    <!--[album]-->
    <!--[if(cover)]--><!--[cover(175)/]--><!--[/if]-->
    <!--[/album]-->

    it puts out all the covers immediately at a very decent pace, even if I would repeat that line with the different sizes.

    Hopes this helps a bit. Oh, and we are talking about 290 albums here.

    anywho... I have created a work-around for it .. ;D
    In my previous templates I used a custom tag to store the CDDB number, and this one comes in handy again

    At the start of my template it says
    <!--[album(top,10,dateadded)]-->
    <!--[if(cover)]--><!--[cover(30)/]--><!--[/if]-->
    <!--[if(cover)]--><!--[cover(70)/]--><!--[/if]-->
    <!--[if(cover)]--><!--[cover(175)/]--><!--[/if]-->
    <!--[/album]-->

    Then everywhere else it says
    <img src="covers/<!--[custom1/]-->">

    it only puts out the 10 newest covers every time I start an export.. and only need to export the covers once, unless I change the size ofcourse :P

    and that brings up another point.... I can export the CDDB number in a text file, but not in a HTML export :'(
    or at least not with [CDDB] or [CDDBID] or [CDDB_ID]

    well, at least I hope I entertained everyone with my lengthy post ;D

    Cherio!

  4. #4
    Join Date
    Feb 2009
    Posts
    1,549

    Default Re: Exporting for hours

    Sealed,

    Thanks a lot for the infomation, it is helpful. The image generation will be optimized, especially in the way it handles multiple cover sizes.

    Andrei

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •