mherger wrote: 
> How to do you trigger this?
nothing realy fancy - just a simple:

Code:
--------------------
    find ./ -mtime -1 -newer 
/var/log/squeezeboxserver/scanner.log>/home/jan/newer_than_scan.log
  new_files=$(wc -l /home/jan/newer_than_scan.log)
  new_files=$(echo $new_files|cut -d "/" -f1)
  echo $new_files files changed since last scan
  if [ $new_files -gt 30 ]
  then
  /usr/local/bin/ix2
  /usr/local/bin/clean.sh
  exit 0
  elif [ $new_files -gt 10 ]
  then
  doit
  fi
--------------------


> What is writing the scanner.txt file, and what is in there?
Cause its a (your) file i didnt write to that, i'd only get the
timestamp from that file nothing else.

> And how is the scanner being run?
depends on how many files where changed:

less than 30 (a number that matches mostly after i add two Albums)

Code:
--------------------
    sudo squeezeboxserver-scanner --rescan --novideo --noimage
--------------------

More than 30 (sometimes i found some misspelled Artist in my Samplers or
add a whole bunch of Files)
Cause a rescan didnt delete the Misspelled ARtiSTs - i had to go the
Hardway...


Code:
--------------------
    sudo service logitechmediaserver stop
  sleep 5
  rm  /var/lib/squeezeboxserver/prefs/clientplaylist*
  rm  /var/lib/squeezeboxserver/cache/*.db*
  sleep 5
  ls /var/lib/squeezeboxserver/cache/ | grep "db"
  
--------------------


> It's part of the regular scan. It should always be run. Unless you apply
> some really weird magic.
> Michael

Upps not to magic maybe to weird :rolleyes:



Gruss

Jan
------------------------------------------------------------------------
DJanGo's Profile: http://forums.slimdevices.com/member.php?userid=1516
View this thread: http://forums.slimdevices.com/showthread.php?t=97668

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to