Configuring it for native silicon on the Mac would be great! Look forward to it.
New version 0.10.0 is here Release v0.10.0 Ā· freekode/tp2intervals Ā· GitHub
Changelog:
- Added calendar sync between TrainerRoad, TrainingPeaks and Intervals
- Added bash script for automatic calendar sync with cron
- Added support for premium TrainingPeaks users, means they can sync calendars for further dates
- Updated platform configuration tutorials and added automatic clean for input cookies
- Fixed load value being 0 for TrainerRoad workouts
- Replaced Log Level by Debug Mode for troubleshooting
- Added TrainerRoad configuration tutorial
- Removed Strava support
If you have github account, you can download dev build for arm64
Do you use the app as standalone software (dmg\exe\AppImage) or in docker?
Thank you! Iāll donate today or tomorrow.
Sorry for the basic Docker question, just starting using it.
Replaced :latest with :dev and that downloaded 0.10.0. Then I tried --platform arm64 and that didnāt work (put a space after ghcr.io so you can read the urls):
breeze:~ WindWarrior$ docker run --rm --platform arm64 --name tp2intervals -p 8080:8080 ghcr.io /freekode/tp2intervals/tp2intervals:dev
Unable to find image āghcr.io /freekode/tp2intervals/tp2intervals:devā locally
dev: Pulling from freekode/tp2intervals/tp2intervals
Digest: sha256:3d1313160e6ea1bfa7d476b752fe6cfe9e2276bee341cff7cadcfbc93a0cf4c9
Status: Image is up to date for ghcr.io /freekode/tp2intervals/tp2intervals:dev
docker: Error response from daemon: No such image: ghcr.io /freekode/tp2intervals/tp2intervals:dev.
See ādocker run --helpā.
Expected behavior as the arm64 is not on ghcr.io? And only on github? I do have a github account.
I made arm64 build currently only for mac stanalone app (dmg). Docker doesnāt have multiarch image yet.
Amazing thank you!
Itās possible to grab attachment from TrainingPeaks, unfortunately for now there is no API for attachments in Intervals. As soon it will be added I will implement this feature.
@Someone_Else thanks. Copied over current base calendar (December to March) as both a plan and workout library. Sent you a donation, thanks again!
Thanks, glad to help
Probably did not do something right. Downloaded, it installed in the application folder. When I launched it, it said that the file was corrupt and wanted me to delete it. I will look to see what I did wrong tomorrow.
I will check it out
I currently use the exe.
You can download updated build here
For error: "tp2intervals" is damaged and canāt be opened.
Itās probably the app was quarantined.
Run command in terminal
xattr -d com.apple.quarantine /Applications/tp2intervals.app
and then open app again
Would you mind explaining how to schedule the sync on windows using task scheduler?
Yeah, Iām going to write a manual, but before that I need to rewrite it to window shell from bash.
@Someone_Else Appreciate your work. Other than a struggle to find the TP cookie, it worked flawlessly. Appreciate the time. I will make a contribution.
Thanks, Iām happy to help
Coffee bought, thanks. Looking forward to the syncing script.
Iām not yet sure how this feature should looks like, I decided to go in different direction than scripts.
Here you can download dev build with WIP scheduled jobs.
On ui you will have Schedule button, it will save current request. Then every 20 minutes job will try to execute saved requests. It will sync workouts for todayās date.
All requests saved in memory, as soon you close the app and open it again you need to schedule your requests again.
Let me know how it works for you.