Comments (3)
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.
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.
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)
- Installing on Mac M1 HOT 3
- Could not find gpmf-0.1.1.1 on Hackage HOT 3
- Integrate with GoProX HOT 1
- Individual/subset media download command
- Reuploading restarts the whole process HOT 7
- Windows build failure HOT 6
- GoPro Max files are not supported HOT 3
- Postgres's dependencies is missing HOT 8
- Error 422 during upload HOT 3
- Web app with 'gopro serve' does not work HOT 8
- Sqlite database keeps record of a media even after deleting it via GoPro Cloud official web interface
- Be able to pull only the meta data HOT 19
- GoPro Serve Error - I was unable to load the media: bad body: Problem with the value at json[30]['file_size']: HOT 1
- Sync Issue HOT 1
- Is it possible to serve content from local backup incase gopro cloud subscription runs out HOT 3
- Stack install Error While building package postgresql-libpq HOT 8
- JSONError Unexpected MediumType Audio HOT 3
- failed to parse field 'extra-deps' when installing HOT 6
- Internal Server Error using Docker image HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gopro.