No scanner logs

I tried to copy Plex Movie Scanner.py out of the bundle, into Scanners/Movies/, and renamed it to Plex Movie Scanner with Ignore Options.py

I selected it in Plex, and a pyc file is created on scan, which seems to indicate that it’s used, but the “print ‘test’” command I added at the beginning of the Scan method doesn’t appear in any log…

I looked in Library/Logs/Plex Media Scanner.log, Plex Media System.log, and PMS Plugins/*.log

Where should my scanner output be logged …?



Thanks.

Scanner prints are “logged” to stdout, which means it’ll show up in the terminal if you’re running the scanner from the command line, which is recommended when doing development.



Hope that helps :slight_smile:

Thanks. For the curious, I used the following command to complete my development:


/Applications/Plex\ Media\ Server.app/Contents/MacOS/Plex\ Media\ Scanner --verbose --scan --refresh --section 11



I took 11 from a --list:

/Applications/Plex\ Media\ Server.app/Contents/MacOS/Plex\ Media\ Scanner --list


which lists available section IDs.

I finished creating my "Plex Movie Scanner with Ignore Options" (took all of 10 minutes!)
I'll publish it in another post in this forum now.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.