Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

1.4.2 loading time on network drive

Help
mst46
2008-09-27
2013-04-22
  • mst46
    mst46
    2008-09-27

    Hi,

    just found the new version (1.4.2) is uplaoded yesterday :-). Great that
    this piece of software is getting better and better.

    Just one thing bothers me since version 1.3.2 and that is loading time
    when I start CoverJuke until it first shows on the screen.

    For this I believe I have to explain my setup a bit ...
    I have ~800 cd's saved on my network device that is sorted by
    "Artist - cdname\*mp3" where in the same directory is also the corresponding
    folder.jpg.

    Now something changed between version 1.3.0 and 1.3.2 that made it
    start up slower when using the network folder. This was no problem with
    the minor release - I just stayed on 1.3.0. But now with the 1.4.X releases
    I would like to use them instead of the older ones.

    I just timed the different versions on my system:
    1.3.0: ~1 Min. it shows up on the screen
    1.3.2: after ~2Min it tells me "no data found in "dir" - edit coverJuke.ini
    1.4.2: ~5 Min. it shows up on the screen and still needs onother 2 Min
    to load alll the pics for the cds until itv is ready for use.

    Maybe you should think about implementing some kind of caching
    mechanism either with flat files or a database ?

    Either way I would appreciate your effort very much.

    /mst

    P.S. I love this program

     
    • Ok,

      I'm going to add a new mode with a database in XML for the next version of coverjuke.

      Thank's for all,
      Mika

       
    • mst46
      mst46
      2008-10-27

      Hi Mika,

      just tested 1.43 with the XML database over the weekend and that's a whole lot better now :-). Thanks for implementing ...
      It still takes quite some time to modify the database and also for loading the jpgs and the music data but now
      at least the window pops up at once indicating something's going on ;-).
      I know that this is network dependent in my case but speeding up that process would be nice anyway.

      Don't know if there is any possibility of optimizing that code though?

      Thanks,

      mst

       
    • At time I've no idea to speedup the loading.

      Maybe the next step is to put cover in cache...

      But it's a little bit difficult!