•  » Beta testing
  •  » New Plugin: AlbumPilot - Automate sync, thumbnails, videos and more

#76 2025-07-07 04:08:55

windracer
Member
St. Pete, FL
2014-12-28
603

Re: New Plugin: AlbumPilot - Automate sync, thumbnails, videos and more

Official release installed from the extension library, congratulations on v1.0!

Offline

 

#77 2025-07-19 16:32:43

windracer
Member
St. Pete, FL
2014-12-28
603

Re: New Plugin: AlbumPilot - Automate sync, thumbnails, videos and more

Hi Hendrik!

Been using v1.0 for two weeks now and really like it, really made my personal workflow around Piwigo more efficient.

One thing I noticed regarding thumbnail generation. Does using batch manager trigger the need for additional thumbnails? My workflow is sync in new photos, then go into batch manager to add tags/write metadata, etc. What I've noticed is that after using batch manager on new photos, if I run AlbumPilot again, it finds more thumbnails to generate:

https://www.windracer.net/outgoing/piwigo/albumpilot-thumbnails.jpg

So after editing the 6 new photos in batch manager, AlbumPilot determined there were 12 new thumbnails to generate. Looking at the log, the 12 files were the "thumb" and "medium" sizes for the 6 new photos. Looking back in the log during the initial sync, I see it generating "thumb", "square", and "medium" for the 6 new photos (so 18 total). What about editing the files batch manager caused AlbumPilot to think it needed to regenerate the "thumb" and "medium" thumbnail sizes again? Maybe it's the writing of metadata since that "changes" the underlying image file?

Last edited by windracer (2025-07-19 16:36:44)

Offline

 

#78 2025-07-24 10:41:24

rw22mhhs
Member
2024-01-30
47

Re: New Plugin: AlbumPilot - Automate sync, thumbnails, videos and more

Hi Windracer,

Thanks a lot for the detailed observation. I will be happy to look into this further.

Could you check whether the same behavior occurs when using the standard Piwigo batch manager? That would help clarify whether this is something specific to AlbumPilot or just the way Piwigo handles thumbnail updates after metadata changes.

AlbumPilot does not decide this behavior on its own. It follows the default Piwigo logic very closely, especially when it comes to detecting changes and determining whether thumbnails need to be regenerated. The check for existing thumbnails is handled by Piwigo's core function is_cached(). So if editing metadata in batch manager causes the image file to be rewritten, even just in the metadata headers, Piwigo might no longer consider the existing thumbnails valid.

Technically, it would be possible to distinguish between metadata-only changes and actual image content changes, but that would add significant complexity to the plugin. For now, I prefer to keep AlbumPilot aligned with Piwigo core behavior for consistency and maintainability.

Let me know what you find when testing with the core batch manager. And thanks again for reporting this!

Offline

 

#79 2025-07-24 20:16:17

windracer
Member
St. Pete, FL
2014-12-28
603

Re: New Plugin: AlbumPilot - Automate sync, thumbnails, videos and more

You're right, after using "write metadata" if I go into batch manager and tell it to generate missing resizes, it finds work to do.

Offline

 

#80 2025-09-29 21:25:21

windracer
Member
St. Pete, FL
2014-12-28
603

Re: New Plugin: AlbumPilot - Automate sync, thumbnails, videos and more

I see a new v1.1.1 release in Github. Will this be added to the plug repo so I can upgrade directly? Or is this a manual upgrade only for now?

Offline

 

#81 2025-09-30 05:46:33

rw22mhhs
Member
2024-01-30
47

Re: New Plugin: AlbumPilot - Automate sync, thumbnails, videos and more

I have published version 1.1.1 to the Piwigo Extensions repository, and it is listed there as the latest revision. From what I can see, everything should be in place for the update to show up in the plugin manager.

Could you let me know if it’s now appearing on your side after forcing a check (via Tools → Maintenance → Check for updates)? If it still doesn’t show, I’ll follow up to see if there’s any hickup in the update propagation routine.

Thanks a lot for double-checking!

Offline

 

#82 2025-09-30 14:29:02

windracer
Member
St. Pete, FL
2014-12-28
603

Re: New Plugin: AlbumPilot - Automate sync, thumbnails, videos and more

I'm not sure why it wasn't showing up as a plugin with an update but I was able to find it manually under "Add a new Plugin" and then it installed 1.1.1 over my 1.0.0 version.

On my test site, which is running the Piwigo 16 beta, the plugin was marked as "not compatible" (probably expected) so I installed it the same way as above.

Offline

 

#83 2025-10-26 21:58:48

rw22mhhs
Member
2024-01-30
47

Re: New Plugin: AlbumPilot - Automate sync, thumbnails, videos and more

Hi everyone,

Just to follow up on my previous posts: I've finally found the cause of the missing update notifications for AlbumPilot.
The issue was that the plugin header didn't include a Plugin URI line - I was not aware that Piwigo relies on this entry to check for new versions on the extensions site.

I have fixed it and published AlbumPilot 1.2.1, which adds this line.

Users of earlier versions (< v1.2.1) need to install the update manually once, via Plugins, Add a new plugin, search "AlbumPilot", Add,
after which future updates should appear automatically.

Sorry for the inconvenience, and thanks to windracer and the Piwigo team for helping track this down!

Best,
Hendrik

Offline

 
  •  » Beta testing
  •  » New Plugin: AlbumPilot - Automate sync, thumbnails, videos and more

Board footer

Powered by FluxBB

github linkedin newsletter Piwigo.org © 2002-2025 · Contact