What should I make faster?

I’m in the middle of reviewing a lot of old code in Mizuu and I’ve been making lots of improvements that should make the app faster – especially if you’ve got a large library.

My primary focus right now is the update process, as this can potentially take quite a long time if you’ve got a large library, and I’m happy to say that I’ve already made it significantly faster. This is something you’ll especially notice with many files, as the runtime of the current implementation increases exponentially. The new and upcoming implementation is much smarter and can potentially be several thousand times faster. Yes, thousands. If you’ve got many movies, that is.

This is naturally only for the local file operations – there’s not much I can do regarding the network operations. I’ve made the switch to the latest version of the TMDb API, which should make things slightly faster, but it depends on a lot of factors.

My question to you guys: Are there any specific sections of Mizuu that you think take too long to load or maybe seem to be stuck at times? Let me know in the comments or by e-mail and I’ll see if I can make it better.

7 Comments

  1. Hi Michell,

    WOW. Very great new that you can make the scan faster 1000 times.
    I just start to use mizuu to access to my movie lib (~1000 movies) via wifi/samba. The speed is very correct but sometimes, the app takes 1,2 seconds to load covers when I navigate in the Movie Home Page. May be the network problem ?

    And I discover some personally “uncomfortable” issues:

    If the title are wrongly assign to the movie during the scan, this movie will be lost in the big library. I have a lot of foreign movies that have wrong title. Now I have to go trough my 1000 movies to find where the error is. I propose you to add the “Most Recent (scan time)” option in the Sort to make easier the verification after update the lib.

    I have a lot of sub directory to be added in the lib. If you can add multi-selected option in the “Add Folder” page, it will help me a lot.

    Again thank you for your great work.
    sviet

    Reply
    • Hey!

      Thanks for the input, sounds great. I’ll see what I can do.

      Regarding the load times for covers… Are you using covers on your network drive or are they stored locally on the device (as default)?

      Reply
      • Hi Michell,

        I don’t know where the app saves the covers.
        But here is my steps:
        Most of them I use the covers find by the app during the scan.
        Some of them (~20 covers), I use option “load cover” in Edit to load a specific cover from network drive.

        Br/sviet

        Reply
        • All right. If you can find a folder called movie-thumbs in data/com.miz.mizuu on your internal memory and it’s full of small images, then it’s likely that your device simply isn’t capable of loading the imges faster. If that folder doesn’t exist, it loads the images from the movie-covers folders, in which the images are larger and will take slightly more time to load. If you’re using large custom images (as defined by the “Load cover” option), the load time depends on the size of the images. I’d recommend using cover art images in 374 x 550 pixels. Hope that helps!

          Reply
          • Hi Michell,

            Thanks a lot for your help.
            I can see the movie-thumbs folder in my internal sd.
            It means you are right about that my ACER sometimes cannot load small images efficiently.
            Just for curiosity, I cannot find where the Load cover option is. Please can show me how to access to this option ?

            And other remarks, in my movie-thumb folder, there are also an old set of covers of the old movies that I used to test the Update long time ago. The option “Clean database” doesn’t clean the covers during the update, does it ?

            Thank you,
            sviet

            Reply
        • I’ll have to reply to this comment, as the threaded comments won’t allow me to go any further.

          Anyway, “Load cover” option I was talking about is accessible from the “Edit movie” screen. I can’t remember if that’s the exact term used for the button though.

          And yes, for some reason the current version of Mizuu actually does clean up in the folder when clearing the database. I’ve fixed that in the upcoming release.

          Reply
          • Hi Michell,

            Thanks a lot for all clarifications.

            Will wait for the next release to “see” the speed of Update.

            Thank you,
            sviet

            Reply

Add a comment