Are we there yet?

No, Donkey. Well, sort of.

TFW you realize you’re, like, eight months behind schedule.

Finally, something that somehow looks like wpMovieLibrary³ is here. The official GitHub repository has been updated, you can download the latest version over there. Does this mean we’re done? Well, no.

The version of the plugin you’re about to install should really be considered as a Beta. I would’ve loved to release a final version instead, but I feel it’s just safer to go that way. We’ll see why.

We come from far…

It must be the hundredth time I’m writing but, wpMovieLibrary³ is a complete rewrite of the plugin, meant to be easier to use, extend and maintain. WPMovieLibrary version 1 was a small, personal project that was never supposed to draw any attention; WPMovieLibrary version 2 was a clumsy attempt to make this personal project a more usable tool for a variety of people and websites. wpMovieLibrary³ now tries to complete the process by offering an (almost) (sort of) professional solution to people who want to manage movie libraries.

It took way, way too long to build this third version and I’m pretty ashamed to admit it is, as of today − and in my humble opinion − nowhere near ready to be publicly released yet; But I also have to confess I’m getting deeply tired of this project running in close circuit for all these years, just between myself and a couple of testers. Time to go public. Time to get feedback and move on.

wpMovieLibrary³ should really be considered as the fifth or sixth version of the plugin. By the time I was done with the early stages of the rewrite, WordPress had introduced major changes that definitely had to be implemented in the plugin. By the time I reached the second phase of development, the REST API was merged to the core, prompting yet another set of adaptations, and now that we’re here, the next update will probably need to introduce yet another major change, this time on the deepest part of the plugin: how metadata are handled and stored. This actually should have been part of the current release, but I deliberately postponed it to let people adapt to the big changes in the overall handling of the plugin without fearing to lose data on top of it.

… And we’re still far, far away.

Far away from what I’d really love to see in this plugin, that is. I have tons of ideas and features I want to add. While testing this Beta you’ll notice a lot of features are missing, including but not limited to general settings, Headbox theme choices, grids filtering options, multiple movie import, limited terms thumbnail management… All these features will be back soon, but first I want to make sure we’re not going the wrong way with what’s already done. Which brings me to my next point.

Why is it not on WordPress.org?

Because it shouldn’t, for now. wpMovieLibrary is not a popular plugin, really, running only on a few hundreds of sites. Little more than one thousand if the official wp.org statistics are to be trusted. But the changes brought by wpMovieLibrary³ and the number of popular sites relying on the 2.x version require a very cautious release of a major update.

Having been developed and tested in an almost closed circuit for the past few years, wpMovieLibrary³ requires heavy testing and feedback by real users; hopefully releasing the plugin in its current stage, with limited features, will provide great comments and suggestions as to what should be improved, modified, removed, etc. Keeping neat lists of feature requests and bug reports will tremendously ease my task while giving a working update of the plugin for those who dare use it.

Note that the plugin requires PHP 7.2, the latest WordPress version (4.9.8 by the time I’m writing this) and relies almost entirely on the REST API, more reasons why updating to version 3 should be completely voluntary as most users don’t have access or knowledge as to how and why they should worry about this (and they shouldn’t, actually).

So, what’s next?

If you’re willing to join the ride, download the update over at GitHub, make complete backups of your site’s files and database and install the plugin, play with it as much as you want, and bring on your impressions, bug reports and feature requests!

Obviously, try not to report obvious missing features, like multiple movie import, person handling, actors pictures support, etc. I’ll be sharing soon on GitHub lists of planned features, known bugs and planned fixes.

For now, I’ll take a week or so to put those lists together and deal with feedback, then move on with what’s need to be done! But right now it’s 5:40 AM and I haven’t slept so I’m heading off to bed for a couple of hours before my daughter wakes me up. She was born exactly seven months ago, by the way, and her name’s Julie.

I’d also want to thank each and every one of you for being supportive over the years. Your patience and kindness are so humbling. Thanks to you all.




22 Comments

  • I will install a test version. Before installing on my personal site, since I made several updates. But thank your plugin is a great masterpiece. And soon I’ll be paying you a lunch !!! And a big hug to your little girl Julie =).

  • Hello Charlie,

    Impossible d’installer cette version beta, que ce soit sur mon site principal comme sur un sous WordPress du site principal. Pourtant j’ai bien vérifié que j’étais en 7.2 côté PHP. J’ai forcément oublié quelque chose ! Ça me marque erreur 500 et fait planter le site à l’activation.

      1. J’ai ceci :

        78.236.63.88 http://www.focusonanimation.com – [02/Sep/2018:15:03:41 +0200] “GET /wp-admin/plugins.php?action=activate&plugin=wpmovielibrary-3.0.0-beta%2Fwpmovielibrary.php&plugin_status=all&paged=1&s&_wpnonce=cc784870bc HTTP/1.1” 302 25 “https://www.focusonanimation.com/wp-admin/plugins.php” “Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36”
        78.236.63.88 http://www.focusonanimation.com – [02/Sep/2018:15:03:43 +0200] “GET /wp-admin/plugins.php?activate=true&plugin_status=all&paged=1&s= HTTP/1.1” 500 25 “https://www.focusonanimation.com/wp-admin/plugins.php” “Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36”

        Pas sûr que cela t’aide. Si?

        1. Non effectivement, rien qui ne dit d’où vient le problème… Tu peux activer temporairement le mode debug de WordPress, voir si ça nous donne plus d’infos ?

          1. J’ai activé le mode debug, après avoir désactivé la plupart des plugins (il m’en reste d’actifs). Après l’activation du plugin, j’ai ce message d’erreur :
            Fatal error: Can’t use method return value in write context in /home/focusona/www/wp-content/plugins/wpmovielibrary-3.0.0-beta/includes/nodes/posts/class-movie.php on line 239

          2. Ok, ça ça nous aide 🙂 Je viens de pousser un correctif sur GitHub, tu peux confirmer ?

            Cela dit, Can’t use method return value in write context est une erreur typique de PHP < 5.5. Ton serveur utilise bien PHP 7.2 ?

          3. Ok, c’est pas surprenant à la réflexion, toutes les lignes présentant le même schéma vont poser le même problème 😛 Je vais faire une passe complète pour essayer de corriger tout ça.

            Merci !

          4. Si le soucis se produit chez toi il y a de fortes chances que ça soit le cas ailleurs, donc autant corriger quand c’est possible 😉 Je viens de pousser les modifs sur GitHub 🙂

          5. Bien ! Je peux activer le plugin sans soucis maintenant ! J’ai pu tester un peu et j’ai, à priori, un nouveau soucis : comment on fait pour afficher la grille? J’en ai créé une type films, sélectionné une page, cliqué sur “Update archives pages” et cliqué sur la disquette. Quand je me rends sur la page en question, pas de grille ! Pourtant le code source me dit qu’elle y ai. J’ai loupé un truc? 😀

  • Super ! J’ai hâte de tester ça, va falloir que je chipottes un peu pour passer en Php 7.2. mais je te fais des retours au plus vite !

    1. Merci 🤗 Si tu as une autre version que la 7.2 n’hésite pas à tester quand même si c’est possible : je développe pour la 7.2, mais c’est toujours bon de savoir ce qui fonctionne ou pas avec les versions plus anciennes ☺️

  • Bonjour

    Tres belle version 🙂 hâte de voir la suite
    Petite question , est-ce qu’il a un lexique avec toutes les infos et tout quelques part ? Car quand j’importe un film, les détails (synopsis) sont en anglais, c’est normal ? Est-il possible d’avoir tout ceci en Français ?

    Merci

    1. Je précise ma demande.
      J’ai bien ajouté ma Personal Key for the TMDb.org API.
      J’ai bien ajouté que je voulais du French…j’ai non seulement de l’anglais dans le synopsis, mais en plus, impossible de sauvegarder quoi que ce soit. A chaque fois que je sors de la fiche…le film existe bien, mais tous les détails et visuels ne se sauvegarde pas chez moi 🙁

      Pourtant la fiche existe bien en francais : https://www.themoviedb.org/movie/437109?language=fr-FR et je fais bien une sauvegarde de tous les détails…
      Est-ce qu’il y’a un bouton magique ? Une procédure à faire pour sauvegarder les détails d’un film ?

      Merci 🙂

  • Leave a Reply

    Your email address will not be published. Required fields are marked *