You are here: Home » Topic » 20060116 rescan

20060116 rescan

This topic contains 1 reply, has 2 voices, and was last updated by  rpedde 11 years, 9 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #162

    gordo
    Participant

    new (Jan 16) nightly seems to fix the % problem as expected – I can now stop and start mt-daapd and it reloads to previous database OK.

    There seems to be a problem when I run a rescan initiated from the web interface. the program went non responsive and crashed.

    I tried to do a -d9 dump and it didn’t reproduce – perhaps because once I restarted it got the new files in on initial scan so there were no new files when it rescanned??

    Note:I’m using sqlite3 db

    Update: If I make a trivial change in a song filename (removing a blank space) then it will crash on rescan.

    Post edited by: gordo, at: 2006/01/17 02:06

    #3921

    rpedde
    Participant

    There are some re-entrancy issues on background rescans… the result of a stupid assumption on my part.

    If you don’t touch the database while it’s rescanning, it’s okay. If you do anything to touch the db while it rescans, it craters.

    That includes refreshing the status page. I’m looking at it now, hope to have a fix tomorrow. I *warned* about this db code being fragile. šŸ™‚

    — Ron

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.