Code Monkey home page Code Monkey logo

Comments (7)

andrewcooke avatar andrewcooke commented on May 28, 2024

you should be able to make it work by changing the configuration. somewhere there's a map from activities in fit files to activity groups in the database. you need to modify that to have an entry for 'swimming' and then create an appropriate activity group.

i'll try write more detailed instructions soon (just noticed this issue and am supposed to be working right now).

if you email me a fit file to [email protected] i can use it to write a test for this, but it means that your data will be visible (they'll be in the test data available via git).

from choochoo.

andrewcooke avatar andrewcooke commented on May 28, 2024

in more detail, what you want to alter is the map sport_to_activity here. you need an entry for 'swimming'. and the value for that entry should be a new activity group (like bike) created for swimming.

with that, things should 'just work'. there's no special code for bikes.

from choochoo.

andrewcooke avatar andrewcooke commented on May 28, 2024

(actually, i just realised i could add that myself. i'll commit the changes in a moment - currently running tests)

from choochoo.

andrewcooke avatar andrewcooke commented on May 28, 2024

ok, added to release 0.23.4

from choochoo.

rob-luke avatar rob-luke commented on May 28, 2024

Thanks Andrew! I’ll check this out and report back. Really appreciate your help.

I’m also happy to share some swimming fit files if you want them for tests, just let me know.

from choochoo.

andrewcooke avatar andrewcooke commented on May 28, 2024

sure, send me a fit file to [email protected] and i'll add a test for it.

from choochoo.

andrewcooke avatar andrewcooke commented on May 28, 2024

just fyi version 0.24 includes various fixes to improve multiple activity groups in a single database (i had been using only one group and so was unaware of various problems when using more).

from choochoo.

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.