Auto Re-Index (on a schedule)

Beantwortet

Kommentare

36 Kommentare

  • Frans R

    It appears the logs are not available anymore. Could not find them either.

    https://support1.bluesound.com/hc/en-us/community/posts/360049294954-Logs-Not-Accessible-in-3-10-0

    0
  • Bjørn Ulvik
    Hi-Res

    @Erland, the rebuild index will not work the same way because it will need a user input (confirmation dialog).

    url will be: http://x.x.x.x/delete_index?noheader
    retrieving the logfile: http://x.x.x.x/diag?print=1

    1
  • Erland Sommarskog

    Thanks Bjørn, I will need to try that when I get my players. (I got two Pulse 2I Mini, mainly for evaluation, and I will soon be a former Sonos customer. However, I did not like the sound of the Mini, so I will return them and go for the regular 2I instead. Not all I need are in stock, so it will take two weeks or so, before I have it all.)

    I like to believe that the confirmation dialog is in the controller only, but we will see.

    0
  • Chris Stanbury

    I'm finding it more reliable to use Chrome to do the re-index.  I run the following command via Task Sceduler.  "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe"  using the arguments  http://192.168.xx.xx:11000/Reindex  (where xx.xx is the internal IP address of your BlueSound player).

     

    I then run a batch file a few minutes later (also from Task Scheduler) to close Chrome.  The batch file contains the following (remove the "rem" statements to try different versions)...

    Rem - this batch file closes Chrome after morning re-index of Bluesound
    rem Taskkill /F /IM "Chrome.exe" /T
    Taskkill /IM "Chrome.exe"
    rem use without /F to avoid the not closed down properly message - however this leaves the tabs open
    rem pause

     

    0
  • Erland Sommarskog

    @Erland, the rebuild index will not work the same way because it will need a user input (confirmation dialog).

    url will be: http://x.x.x.x/delete_index?noheader

    I figured it out. Curl permits you to submit input with the --data option:

    curl --output C:\temp\curl1.txt http://192.168.x.x/delete_index?noheader --data yes

    That seems to do the trick.

     

    2
  • Bjørn Ulvik
    Hi-Res

    Thumbs up Erland :-)

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.