Announcement

Collapse
No announcement yet.

CLI command to rescan for "new and changed media files" only ?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    CLI command to rescan for "new and changed media files" only ?

    Hi,

    Is there a way to trigger a "new and changed media files" rescan through the CLI commands ? I did not see this in the CLI command documentation.

    Thanks.

    #2
    Originally posted by hopkins View Post
    Hi,

    Is there a way to trigger a "new and changed media files" rescan through the CLI commands ? I did not see this in the CLI command documentation.

    Thanks.
    It's just "rescan":

    Code:
    {"id":0,"method":"slim.request","params":["",["rescan"]]}
    Material debug: 1. Launch via http: //SERVER:9000/material/?debug=json (Use http: //SERVER:9000/material/?debug=json,cometd to also see update messages, e.g. play queue) 2. Open browser's developer tools 3. Open console tab in developer tools 4. REQ/RESP messages sent to/from LMS will be logged here.

    Comment


      #3
      Originally posted by cpd73 View Post
      It's just "rescan":

      Code:
      {"id":0,"method":"slim.request","params":["",["rescan"]]}
      Thanks!

      Comment

      Working...
      X