ReadyNas104: running Scanner on command line

Hello,

If i try to analyze the section with images in the gui it doesnt work for some of my subfolders. On the other hand, i was able to analyze images in the recently added section in the gui (clicking on every single image) which did not have thumbnails. Now only some images in three folders are left without thumbnails. These i wanted to generate on commandline.

I had to ro run three export commands. I’ll post my commands tonight when i’m back home.
I was able running the plex scanner via command line. As i ran the scanner i used something like

/apps/plexmediaserver/Binaries/Plex\ Media\ Scanner --scan --force --directory /data/Bilder/2006

So, running this scanner command caused scanning the whole library but not only this one directory. I see the output of the scanner, beginning every line with “GUI:” listing every section, movies, music etc. (yes, i am absolutly sure of this).

Actually i want to scan only some directories with images in it. Some folders didnt generate thumbnails(*) so i want to force the generating. I think, the command must be something like

/apps/plexmediaserver/Binaries/Plex\ Media\ Scanner --generate --force --directory /data/Bilder/2006
or
/apps/plexmediaserver/Binaries/Plex\ Media\ Scanner --analyze --force --directory /data/Bilder/2006

If i run the last two commands i dont get any output at all and the scanner returns to commandline nearly immedately. Nothing changed.

In summary:

  • running commandline scanner somehow doesnt seems to recognize the directory parameter.
  • how do i generate thumbnails of jpeg images on command line?
  • Bonus question: maybe the fast returning scanner is caused by crashing the scanner. Maybe its better to make a little script which calls the scanner for every image in a subfolder. Does scanning for single files work on command line?

Regards.

(*) It’s an old problem i wasnt able to solve. Some images seems to cause the scanner to crash.

i reposted this in the readynas forum. Please delete this.