Giter Club home page Giter Club logo

Comments (3)

dustin avatar dustin commented on June 11, 2024 1

Heh, the idea of a script in Haskell is humorous to me. We have some of those at work, though.

The cleanup command only cleans up things in "registered", "uploading", or "failure" state. It's a thing I use when I mess up an upload or something, but shouldn't affect anything that (probably) uploaded correctly.

i.e., I think cleanup does what you want done. It will not touch any transcoding media and will tell you what it cleaned up and what state that thing was in.

from gopro.

NebulusIO avatar NebulusIO commented on June 11, 2024

Surprisingly simpler than I expected compared to strict bash. I wanted to try something different than python. That must be functional programming for you.


Appreciate the clarification, docs eluded to that but wasn't certain.


Another thing, is it normal to see the following log indefinitely?

gopro sync --verbose D: Reading auth token from DB I: 0 new items I: Fetching meta 0 D: Need meta: [] I: Need to fetch 10 moments

How do I find what moments it keeps trying to fetch?

from gopro.

dustin avatar dustin commented on June 11, 2024

Surprisingly simpler than I expected compared to strict bash. I wanted to try something different than python. That must be functional programming for you.

Yeah, I suppose I don't write many "scripts" these days in the classical sense of throwing things together in a scripting language.

Appreciate the clarification, docs eluded to that but wasn't certain.

Good point, I added a bit to this.

Another thing, is it normal to see the following log indefinitely?

gopro sync --verbose D: Reading auth token from DB I: 0 new items I: Fetching meta 0 D: Need meta: [] I: Need to fetch 10 moments

How do I find what moments it keeps trying to fetch?

Interesting, I've not seen that. The actual query it's running (assuming SQLite) is:

select m.media_id from media m left outer join
  (select media_id, count(*) as moco from moments group by media_id) as mo
  on (m. media_id = mo.media_id)
 where m.moments_count != ifnull(moco, 0) ;

That will give you the list of ones it thinks have moments that aren't recorded locally.

TBH, I don't use the moments feature all that much, but I do hit the button now and then. I've got ~185 in my DB.

from gopro.

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.