How to use new() function from GnomeDesktop.DesktopThumbnailFactory

Hello,

Python newbie here. I’m trying to modify thumbgen scripts to produce LARGE thumbnails instead of NORMAL thumbnails. The script is is in github repository called thumbnail-generator-ubuntu. The repository seems to be unmaintained. The particular script file to

as per

https://lazka.github.io/pgi-docs/GnomeDesktop-3.0/classes/DesktopThumbnailFactory.html

I have added to the main() of the said script function following line :

factory.new(GnomeDesktop.DesktopThumbnailSize(1))

but nothing has changed. The images produced by scripts are still normal and not large.

any ideas ?