Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bulk import ? #189

Open
txsastre opened this issue Jul 8, 2018 · 9 comments
Open

bulk import ? #189

txsastre opened this issue Jul 8, 2018 · 9 comments

Comments

@txsastre
Copy link

txsastre commented Jul 8, 2018

hi there just downloaded this app, seems great.

I wanted to go out of endomondo and garmin, and I have a lot of exercises.

it there a way to import all of them at once to ST ?

thank you !

@ssaring
Copy link
Owner

ssaring commented Jul 8, 2018

Currently not, I think there was a similar feature request (but not in work yet).

I would suggest you to inspect the XML format of the exercise file named 'exercises.xml'. It's very simple and structured - it should be quite easy to write a script which converts your existing exercise data and add it to this file. Most of the online platforms has an export feature, but I don't tested it yet.

Good luck!

@txsastre
Copy link
Author

txsastre commented Jul 8, 2018

yes I read that, it was years ago

yes I have knowledge to do that, I've seen the structure of the file, and does not seems so difficult.
just one question, how can I read the information from a .FIT file ? (garmin Forerunner 620)
If I do a "cat" or "type" seems that's in binary form.

thanks

@txsastre
Copy link
Author

txsastre commented Jul 8, 2018

the idea is to put a watch watching the usb, if the garmin is connected then copy the new files to my ssd (which folder is on a nextcloud). then read the FIT file to retrieve the summarize and then add it to the 'exercises.xml' also the path where the FIT will be stored.

as I see that your app reads FIT files I would like how, so I could read it for the summarize info (and put in the 'exercises.xml)

Thanks again.

@ssaring
Copy link
Owner

ssaring commented Jul 8, 2018

Yes, FIT is a binary format. But it's very good documented, there's an API + documentation too.
Just take a look to my class GarminFitParser, it should be helpful for for your import too.

@txsastre
Copy link
Author

ok. thank you.
I will keep an eye on it (if I'm lucky and I have enough time for that)

Thanks again for the help and thanks for the app !

@mrkobel
Copy link

mrkobel commented Jun 17, 2021

Hi, I came here with exactly the same question. I spent some time looking for an app like yours and it seems like exaclty what I need. I want something offline, independent from online platforms for privacy reasons. I have few years of tracks / activities from Endomondo and Strava, but seems like there is no way to do bulk import. Unfortunately I'm very rusty with my coding skills and can't do this myself... Is there any way I can vote for this feature request? :)

cheers!

@ssaring
Copy link
Owner

ssaring commented Jun 18, 2021

I'm not aware that anybody is currently working on that. A bulk import is also very specific for the particular source platform, that's why I don't think there will be a generic solution which covers all of them.

@nusibrains
Copy link

Same request here.

I can import one FIT file by using 'the import from hrm' feature, it works very well.
I don't got skills to push it, but I think it should be something like a loop of the current 'import from hrm' feature

@ssaring
Copy link
Owner

ssaring commented Jun 30, 2021

@nusibrains Bulk import needs some kind of user interaction, it's more than just wrapping a loop around the single import. For each exercise / activity the user needs to select a sport type and a subtype and often the equipment. This can't be mapped automatically between SportsTracker and other sources.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants