I'm submitting this pull request not so much to get it accepted, but more to make viewers aware of a potential fix if they were heavy users of Endomondo manual activities. As a user of "manual activities" in Endomondo I found many of my activities to not be included by this project, because the TCX files had one or zero trackpoints and the upload ignores these, or loses duration and distance information.
This pull request (and the fork it comes from) solves this problem by overwriting the TCX with two trackpoints in these specific cases. These trackpoints causes the exercise to get both duration and distance if specified from the Endomondo source, by fetching it from the JSON.
Below are some other aspects of this pull request and fork to evaluate:
Copied over "notes" from Endomondo to "description" in Strava
Changed the activity name to include the original Endomondo name, as e.g. "Indoor rowing" information is lost by mapping to "Workout"
Added more sports to the SPORTMAP
For any user of this, by all means, remember to:
Keep a backup of your files, as the TCX will be overwritten with the fixes
I'm submitting this pull request not so much to get it accepted, but more to make viewers aware of a potential fix if they were heavy users of Endomondo manual activities. As a user of "manual activities" in Endomondo I found many of my activities to not be included by this project, because the TCX files had one or zero trackpoints and the upload ignores these, or loses duration and distance information.
This pull request (and the fork it comes from) solves this problem by overwriting the TCX with two trackpoints in these specific cases. These trackpoints causes the exercise to get both duration and distance if specified from the Endomondo source, by fetching it from the JSON.
Below are some other aspects of this pull request and fork to evaluate:
For any user of this, by all means, remember to: