You are here: Home » Topic » Difference between "Scan" and Full Scan"

Difference between "Scan" and Full Scan"

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #2598
    RigasW
    Participant

    Hi,

    I run Firefly 1586 on SlugOS/BE;

    Can someone explain me the difference between a “Scan” and a “Full Scan”?

    Thanks in advance,

    Rigas

    #17612
    fizze
    Participant

    Servus!

    Has been discusses a couple of times here already, nevermind though:

      A “Scan” only processes changed files (mtime/ ctime)
      A “Full Scan” processes all files

    For instance: if you change the tag of a file and do a “Scan” the changes will be picked up. However if you delete a file, you need a “Full Scan” for it to be cleansed from firefly.

    #17613
    RigasW
    Participant

    Hi Fizze,

    thanks for your help.

    So I will change my early morning cron job to a full scan (between 4 and 5 nobody is listening, anyway …)

    Rigas

    #17614
    Anonymous
    Inactive

    @RigasW wrote:

    So I will change my early morning cron job to a full scan

    Just curious: how do you control firefly by cron? I don’t see, for example, a command line option for initiating a scan…

    #17615
    S80_UK
    Participant

    @fizze wrote:

    However if you delete a file, you need a “Full Scan” for it to be cleansed from firefly.

    But… if you are running under Windows, and you delete a file, Firefly may still be able find it unless you also empty the Recycle bin (I have been bitten a couple of times by that one…)

    #17616
    fizze
    Participant

    @cbrace wrote:

    @RigasW wrote:

    So I will change my early morning cron job to a full scan

    Just curious: how do you control firefly by cron? I don’t see, for example, a command line option for initiating a scan…

    http://forums.fireflymediaserver.org/viewtopic.php?p=8025&highlight=wget+cron#8025

    wget is of course available on all platforms.

    #17617
    RigasW
    Participant

    I start the following script via my crontab;
    in my setup the firefly database and the file-system with the songs are hosted on different slugs;
    so I first have to test wether the slug with the songs (called “linksys”) is running; if yes, rescanning can start. If not, rescanning is skipped and just a message is given.


    #!/bin/bash
    if /bin/ping -c 1 linksys
    then
    /usr/bin/wget http://x:[email protected]:3689/xml-rpc?method=rescan&full=1
    else
    echo "Linksys not running ..."
    fi
Viewing 7 posts - 1 through 7 (of 7 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.