Command line Plex Scanner not generating thumbnails for Personal Media Other videos

Hey there

I’m using the Plex Scanner via command line on a linux server to scan a specific directory in a specific library with this command:
LD_LIBRARY_PATH=/usr/lib/plexmediaserver su plex -c "/usr/lib/plexmediaserver/Plex\ Media\ Scanner --scan --refresh --section $plexLibrary --directory \"$dest\""

$plexLibrary is the library ID and $dest is the directory to scan (instead of the entire library)
This works on Movies and TV libraries. It only scans that directory and also generates thumbnails etc.

However, under “Other Videos” type libraries, using the Plex Video Scanner and Personal Media agent, this command only scans that directory but does not generate any thumbnails.

I tried using --generate or --analyse but they don’t seem to respect the --directory argument. They do a full analyze/generate on the entire library instead.

Anyone has a clue on how to generate thumbnails for a specific directory under a Personal Media library?

Cheers!