Plex Command Line scanner - How to show output/progress in webui? Is it possible?

I am working on a little script to scan one of my libraries through the command line, but I just can’t figure out how to mimic the Scan + Refresh conducted through the Web UI, which shows Progress in the Alerts section like so:

2:52PM Library scan complete: Extra information may still be downloading from the Internet
2:52PM Scanning the "movies" section

Neither the command line options, --progress nor --activity seem to do what I want. Just trying to show some progress so I can keep an eye from time to time without having to resort to verbose scanner logs, and I hope there is some way to do it.

Note: I am aware Plex URL commands do show the progress and am wondering why it’s not possible (based on what I’ve tried) to simulate it via command line.

The command line tools don’t have the active authenticated socket connections to create the foreground tasks. The command line tools speak to the backend engine which does the work and is only intended to queue the tasks. PMS doesn’t know it’s supposed to monitor that engine activity.

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