Giter Club home page Giter Club logo

Comments (11)

sentriz avatar sentriz commented on May 26, 2024

fair point. I could add this to the "gonicscan" binary. also need to document that. thanks!

from gonic.

alex-phillips avatar alex-phillips commented on May 26, 2024

Any update on this? I think I need to do a re-scan to pick up new album artwork.

from gonic.

sentriz avatar sentriz commented on May 26, 2024

are you using docker? if so could you try sentriz/gonic:full-scan? it adds a -full-scan cli arg to gonicscan
eg.
docker-compose exec gonic gonicscan -full-scan

from gonic.

alex-phillips avatar alex-phillips commented on May 26, 2024

Ah, nice. When I run the command though, I get the following:

2020/04/24 11:50:39 error opening database: with gorm: database is locked

from gonic.

sentriz avatar sentriz commented on May 26, 2024

ugh thats annoying. thought i fixed that with sqlite journal_mode=WAL, cache=shared etc. in the meantime stopping the gonic server and running the gonicscan again should work

from gonic.

sentriz avatar sentriz commented on May 26, 2024

edit: e966fff should fix that.
i just updated sentriz/gonic:full-scan on docker hub. could you give it a go please?

from gonic.

alex-phillips avatar alex-phillips commented on May 26, 2024

Just started, looks like it's going along fine! Will this be merged into the main branch / container at some point?

from gonic.

alex-phillips avatar alex-phillips commented on May 26, 2024

Although it does look like it hits the db issue occassionally during scan (I'm also playing music back while doing this)

2020/04/24 20:36:19 processed folder `Opeth/Heritage`
2020/04/24 20:36:19 processed folder `Opeth/Morningrise`
2020/04/24 20:36:20 processed folder `Opeth/Ghost Reveries`
gorm error/src/scanner/scanner.go:384database is locked
gorm error/src/scanner/scanner.go:384database is locked
gorm error/src/scanner/scanner.go:384database is locked
gorm error/src/scanner/scanner.go:384database is locked
gorm error/src/scanner/scanner.go:384database is locked
gorm error/src/scanner/scanner.go:384database is locked
gorm error/src/scanner/scanner.go:384database is locked
gorm error/src/scanner/scanner.go:384database is locked
gorm error/src/scanner/scanner.go:384database is locked
gorm error/src/scanner/scanner.go:384database is locked
gorm error/src/scanner/scanner.go:384database is locked
gorm error/src/scanner/scanner.go:384database is locked
gorm error/src/scanner/scanner.go:384database is locked
gorm error/src/scanner/scanner.go:384database is locked
gorm error/src/scanner/scanner.go:384database is locked
gorm error/src/scanner/scanner.go:384database is locked
2020/04/24 20:36:20 processed folder `Opeth/Sorceress`

from gonic.

sentriz avatar sentriz commented on May 26, 2024

alright that's a pain. think the issue is the fact that two go processes are using the db at the same time. i think the easiest thing to do here is delete the gonicscan program, and just add a "full scan" option to the server's web ui. how would you feel about this?

from gonic.

alex-phillips avatar alex-phillips commented on May 26, 2024

Sounds good to me!

from gonic.

sentriz avatar sentriz commented on May 26, 2024

cool. v0.8.6 removes gonicscan and adds a full scan button to web ui - with tooltip warning
edit: ignore the commit that closed this, that should have been squashed

from gonic.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.