Welcome to the Invelos forums. Please read the forum rules before posting.

Read access to our public forums is open to everyone. To post messages, a free registration is required.

If you have an Invelos account, sign in to post.

    Invelos Forums->DVD Profiler: Plugins Page: 1... 3 4 5  Previous   Next
phpDVDProfiler
Author Message
DVD Profiler Unlimited RegistrantLowpro
Registered: March 14, 2007
Reputation: Great Rating
United States Posts: 299
Posted:
PM this userVisit this user's homepageDirect link to this postReply with quote
Quoting zeiram:
Quote:
And if you want it to be even faster and easier: you don't even have to uncompress the file! The incremental update of phpDVDProfiler should support out of the box compressed files (either with LZ compression, gzip compression, bzip2 compression, or zip compression). You just have to upload the "collection.zip" (or "collection.xml.gz", or ...) file as you normally would and run the update. I use it personally with gzip compression, so I can attest that this one at least works.

Please note: given the size of your collection, you might encounter memory consumption problems, so test carefully. But in the worst case, you still have the possibility to manually unzip the file and run the update like you do it now.

I do perform an incremental update most of the time, i.e. I'll flag one or more new profiles I've just added to DVD Profiler performing an export.  In those cases I don't need to zip the xml anyway as it's already so small.  Once every month or two I export all my profiles however per catching any changes I've made to existing profiles, i.e. view history, tags and such.  That's when I'll zip the resulting xml prior to uploading it.

Once uploading the zip I actually upload another xml which contains a single profile.  I then run a full update replacing my existing online profiles with the one profile.  I then extract the zip containing all my profiles and run another full update.  This prevents the size of my SQL database from becoming bloated which I found was happening if I didn't first clear out my existing profiles basically.
My DVD/Blu-ray Collection
 Last edited: by Lowpro
DVD Profiler Unlimited RegistrantStar Contributorzeiram
Registered: April 16, 2007
Reputation: High Rating
Switzerland Posts: 30
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
Quoting Lowpro:
Quote:

I do perform an incremental update most of the time, i.e. I'll flag one or more new profiles I've just added to DVD Profiler performing an export.  In those cases I don't need to zip the xml anyway as it's already so small.  Once every month or two I export all my profiles however per catching any changes I've made to existing profiles, i.e. view history, tags and such.  That's when I'll zip the resulting xml prior to uploading it.

Once uploading the zip I actually upload another xml which contains a single profile.  I then run a full update replacing my existing online profiles with the one profile.  I then extract the zip containing all my profiles and run another full update.  This prevents the size of my SQL database from becoming bloated which I found was happening if I didn't first clear out my existing profiles basically.

Sorry, I wasn't clear in my previous message, I had the nose too deep in the code. I used the term "incremental update" because the file doing the update is named "incupdate.php". But it's the same update process for all types of update.

So, in summary, you should be able to do all your updates without having to unzip your collection file, whether you check or not the "Complete Update will be performed" checkbox.
 Last edited: by zeiram
DVD Profiler Unlimited RegistrantStar Contributorzeiram
Registered: April 16, 2007
Reputation: High Rating
Switzerland Posts: 30
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
A new year rolls in, and I actually had some time to work on PHP projects in the past weeks. So I've released a new version of phpDVDProfiler. Nothing much, mainly compatibility with newer versions of PHP:
  • support for PHP 7.4, 8.0 and 8.1

  • preliminary support for PHP 8.2

  • better quality images for the Swiss DVD age system


  • Many thanks to sebk-666 for the compatibility with PHP 8.0!

    Watch out: this newer version uses the intl extension from PHP due to the fact that PHP 8.1 has deprecated the strftime method. You'll have to edit your php.ini file to enable the extension if you run into a FatalError due to the class IntlDateFormatter being not found.

    As for the previous releases, you can get the new release either from GitHub or my website.
     Last edited: by zeiram
    DVD Profiler Unlimited RegistrantStar Contributorzeiram
    Registered: April 16, 2007
    Reputation: High Rating
    Switzerland Posts: 30
    Posted:
    PM this userView this user's DVD collectionDirect link to this postReply with quote
    After last week's release, I've been contacted by John who wanted two new features: support for pre-1970 release dates, and the possibility to have the media type banner on every thumbnail in the galleries. I've also fixed a few bugs encountered during testing.

    Changelog:
  • new: the mediatype banner can now be forced to be displayed on every media (see AddBannerOnThumbnails in siteconfig.php)

  • new: support dates pre-1970 for release date, purchase date, ...

  • fix: better handling of DB connection problems

  • fix: don't count ignored profiles in added counter during collection update

  • fix: the interface wasn't displayed if the collection (or search result) was empty


  • Watch out: this newer version uses the intl extension from PHP due to the fact that PHP 8.1 has deprecated the strftime method. You'll have to edit your php.ini file to enable the extension if you run into a FatalError due to the class IntlDateFormatter being not found.

    As for the previous releases, you can get the new release either from GitHub or my website.
    DVD Profiler Unlimited RegistrantStar Contributorzeiram
    Registered: April 16, 2007
    Reputation: High Rating
    Switzerland Posts: 30
    Posted:
    PM this userView this user's DVD collectionDirect link to this postReply with quote
    I've had a few issues with PHP 8.2 reported to me in the last few weeks, so I've released a new version of phpDVDProfiler today.

    Changelog:
  • fix: correctly display the favicon.ico and add icons for Android and Apple Touch (#41) (thanks John)

  • fix: gallery no longer has an internal error when called directly (#43)

  • fix: gallery displayed a warning from time to time

  • fix: warnings with PHP 8.2 (#44 and #45) (thanks Sebastian and Udo)


  • As for the previous releases, you can get the new release either from GitHub or my website.
        Invelos Forums->DVD Profiler: Plugins Page: 1... 3 4 5  Previous   Next