Logfile reader? Scanning question?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #963
    NeomaD
    Participant

    Maybe iI’m on deep water here basching already open doors…

    Is theer any way to see how many songs served totaly, since Ive installed Firefly. As is right now, it restarts the counter when down.

    There are many other nice statistics you could get from logfiles if they are kept? Is there any function for reading all logfiles, not just current, and sum up all info?
    Maybe all info is in the database? But can it be summarized in any way? Ex:
    most played songs on friday nights?
    Total played Mike Oldfield songs last month?
    Total restarts of server?
    Longest uptime

    And so on…

    And a question:
    What happens during a scan / full scan?
    If I change the id3 tags in one song already in the Library, how do I know it will bwe updated in the database?
    Wich is the quickest way to add songs to the Lib?

    //Regards Martin Stegmark, Sweden

    #8255
    rpedde
    Participant

    @NeomaD wrote:

    Is theer any way to see how many songs served totaly, since Ive installed Firefly. As is right now, it restarts the counter when down.

    Right now, only by groveling through the log files.

    I’ve been (slowly!) working through building a lua scripting module though. I eventually hope to be able to write server-side scripts in lua, so one could keep long-term statistics, build web pages, or do other interesting things from the server automatically.

    It’s not done yet, but I hope soon I’ll have it added to the nightlies.

    What happens during a scan / full scan?

    A regular scan compares the “last scanned” time and the modified time on a file. If the file has been changed since the last time it was indexed, it re-checks the metainfo and updates the database.

    On a full scan, it drops the songs table, and rescans everything.

    Wich is the quickest way to add songs to the Lib?

    Drop the files in the music directory somewhere and force a scan.

    — Ron

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Feature Requests’ is closed to new topics and replies.