cagnulein / qdomyos-zwift

Zwift bridge for smart treadmills and bike/cyclette
https://www.qzfitness.com/
GNU General Public License v3.0
366 stars 109 forks source link

[ENH] Save fit file during workout #157

Open ptrinephi opened 3 years ago

ptrinephi commented 3 years ago

To avoid loss of workout data, it would be nice to save the workout data while working out so that if the app crashes or user accidentally quits the app it would be possible to recover the "unsaved" data when user restarts the app.
Here's what I have in mind: 1.When a workout is in progress save the WIP (work in progress) data in whatever format is more efficient . 2.Press pause will pause the WIP recording. 3.Press start resumes recording the WIP. 4.Press stop saves the fit file and deletes the WIP file. 5.When QZ starts, look for a WIP file, if 1 exists prompt the user to resume or start a new WIP file.

I'm sure you already have this WIP file somewhere to create your fit file unless everything is in memory?

cagnulein commented 3 years ago

Yes you're right, as always I need time to work on it ;)

Il lun 1 feb 2021, 03:46 3phi notifications@github.com ha scritto:

Assigned #157 https://github.com/cagnulein/qdomyos-zwift/issues/157 to @cagnulein https://github.com/cagnulein.

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/cagnulein/qdomyos-zwift/issues/157#event-4271215380, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWC7W4W2THFDNAAPOSTS4YIWZANCNFSM4W37WHEQ .

ptrinephi commented 3 years ago

It would be nice, the app crashed at the end of my workout right before I had time to press stop!

cagnulein commented 3 years ago

I guess i can do very quickly a file every 1 minute or so. Reopening it it's the longest part. So we can split this work in 2 ;)

ptrinephi commented 3 years ago

Sure, that would work

dhitals commented 3 years ago

+1.

Another reason to implement this: I have auto-upload set up for Strava. However, sometimes that does not work. I have lost a ride once and saved a GPX file once. Maybe you could even add an option to auto-save the file when you hit "Stop?"

By the way, Strava does not parse the GPX data fully. It misses the speed and distance. FIT imports are fine.

cagnulein commented 3 years ago

Auto save when you press stop is already on beta :) Yeah gpx it's just for compatibility, it's always better the FIT file ;)

Roberto Viola Software engineer and open source enthusiast http://robertoviola.cloud

Il giorno lun 1 feb 2021 alle ore 19:23 Saurav Dhital < notifications@github.com> ha scritto:

+1.

Another reason to implement this: I have auto-upload set up for Strava. However, sometimes that does not work. I have lost a ride once and saved a GPX file once. Maybe you could even add an option to auto-save the file when you hit "Stop?"

By the way, Strava does not parse the GPX data fully. It misses the speed and distance. FIT imports are fine.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/cagnulein/qdomyos-zwift/issues/157#issuecomment-771059738, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWBEFDOAYLKXZ34GXRLS43WQ7ANCNFSM4W37WHEQ .

dhitals commented 3 years ago

Cool. Thanks! I have been using the iOS app; maybe I'll clone the repo on my ubuntu box :)

cagnulein commented 3 years ago

iOS beta is on its way;) it will out tomorrow

Il lun 1 feb 2021, 20:54 Saurav Dhital notifications@github.com ha scritto:

Cool. Thanks! I have been using the iOS app; maybe I'll clone the repo on my ubuntu box :)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/cagnulein/qdomyos-zwift/issues/157#issuecomment-771115878, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWB6F4D7ZZHCACJSB7TS44BHFANCNFSM4W37WHEQ .

dhitals commented 3 years ago

Would love to test the beta! On TestFlight? Do I need an invite?

cagnulein commented 3 years ago

Yes send me your email to roberto.viola83@gmail.com

Il lun 1 feb 2021, 22:30 Saurav Dhital notifications@github.com ha scritto:

Would love to test the beta! On TestFlight? Do I need an invite?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/cagnulein/qdomyos-zwift/issues/157#issuecomment-771171985, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWGZXMJ7EY3FMEP5ITDS44MQLANCNFSM4W37WHEQ .

cagnulein commented 3 years ago

i added a WIP file, for now i will not resume at start. It will require more work. I guess it is enough for now :)

ptrinephi commented 3 years ago

What can you do with the wip file? Is it a TCX file format?

------ Original Message ------ From: "Roberto Viola" notifications@github.com To: "cagnulein/qdomyos-zwift" qdomyos-zwift@noreply.github.com Cc: "3phi" pierre@trinephi.com; "Author" author@noreply.github.com Sent: 3/3/2021 03:24:49 Subject: Re: [cagnulein/qdomyos-zwift] [ENH] Save fit file during workout (#157)

i added a WIP file, for now i will not resume at start. It will require more work. I guess it is enough for now :)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/cagnulein/qdomyos-zwift/issues/157#issuecomment-789644942, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABSMNPVKHPQBSDCYVKD7IW3TBYMADANCNFSM4W37WHEQ.

cagnulein commented 3 years ago

It's a fit file, i could open and get everything back.

Il gio 4 mar 2021, 06:19 3phi notifications@github.com ha scritto:

What can you do with the wip file? Is it a TCX file format?

------ Original Message ------ From: "Roberto Viola" notifications@github.com To: "cagnulein/qdomyos-zwift" qdomyos-zwift@noreply.github.com Cc: "3phi" pierre@trinephi.com; "Author" author@noreply.github.com Sent: 3/3/2021 03:24:49 Subject: Re: [cagnulein/qdomyos-zwift] [ENH] Save fit file during workout (#157)

i added a WIP file, for now i will not resume at start. It will require more work. I guess it is enough for now :)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub < https://github.com/cagnulein/qdomyos-zwift/issues/157#issuecomment-789644942>,

or unsubscribe < https://github.com/notifications/unsubscribe-auth/ABSMNPVKHPQBSDCYVKD7IW3TBYMADANCNFSM4W37WHEQ .

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/cagnulein/qdomyos-zwift/issues/157#issuecomment-790299848, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWDBDDIKSSFP72NYL5LTB4J67ANCNFSM4W37WHEQ .

cagnulein commented 3 years ago

And of course you can merge it with your current session using a third party tool

Il gio 4 mar 2021, 06:24 cagnulein cagnulein@gmail.com ha scritto:

It's a fit file, i could open and get everything back.

Il gio 4 mar 2021, 06:19 3phi notifications@github.com ha scritto:

What can you do with the wip file? Is it a TCX file format?

------ Original Message ------ From: "Roberto Viola" notifications@github.com To: "cagnulein/qdomyos-zwift" qdomyos-zwift@noreply.github.com Cc: "3phi" pierre@trinephi.com; "Author" author@noreply.github.com Sent: 3/3/2021 03:24:49 Subject: Re: [cagnulein/qdomyos-zwift] [ENH] Save fit file during workout (#157)

i added a WIP file, for now i will not resume at start. It will require more work. I guess it is enough for now :)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub < https://github.com/cagnulein/qdomyos-zwift/issues/157#issuecomment-789644942>,

or unsubscribe < https://github.com/notifications/unsubscribe-auth/ABSMNPVKHPQBSDCYVKD7IW3TBYMADANCNFSM4W37WHEQ .

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/cagnulein/qdomyos-zwift/issues/157#issuecomment-790299848, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWDBDDIKSSFP72NYL5LTB4J67ANCNFSM4W37WHEQ .

ptrinephi commented 3 years ago

Could you open that fit file (even manually) from QZ and continue the workout? For example, after you connect to the bike, you open that file and QZ automatically updates the tiles and puts itself in pause. That way you can continue the workout as if it never stopped.

------ Original Message ------ From: "Roberto Viola" notifications@github.com To: "cagnulein/qdomyos-zwift" qdomyos-zwift@noreply.github.com Cc: "3phi" pierre@trinephi.com; "Author" author@noreply.github.com Sent: 3/3/2021 21:25:23 Subject: Re: [cagnulein/qdomyos-zwift] [ENH] Save fit file during workout (#157)

It's a fit file, i could open and get everything back.

Il gio 4 mar 2021, 06:19 3phi notifications@github.com ha scritto:

What can you do with the wip file? Is it a TCX file format?

------ Original Message ------ From: "Roberto Viola" notifications@github.com To: "cagnulein/qdomyos-zwift" qdomyos-zwift@noreply.github.com Cc: "3phi" pierre@trinephi.com; "Author" author@noreply.github.com Sent: 3/3/2021 03:24:49 Subject: Re: [cagnulein/qdomyos-zwift] [ENH] Save fit file during workout (#157)

i added a WIP file, for now i will not resume at start. It will require more work. I guess it is enough for now :)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <

https://github.com/cagnulein/qdomyos-zwift/issues/157#issuecomment-789644942>,

or unsubscribe <

https://github.com/notifications/unsubscribe-auth/ABSMNPVKHPQBSDCYVKD7IW3TBYMADANCNFSM4W37WHEQ

.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub

https://github.com/cagnulein/qdomyos-zwift/issues/157#issuecomment-790299848, or unsubscribe

https://github.com/notifications/unsubscribe-auth/AAALYWDBDDIKSSFP72NYL5LTB4J67ANCNFSM4W37WHEQ .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/cagnulein/qdomyos-zwift/issues/157#issuecomment-790302157, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABSMNPQR7WHOXEQYRWFNEL3TB4KUHANCNFSM4W37WHEQ.

cagnulein commented 3 years ago

Is what I will do in the future. For now, let's say that you have a backup

Il gio 4 mar 2021, 06:31 3phi notifications@github.com ha scritto:

Could you open that fit file (even manually) from QZ and continue the workout? For example, after you connect to the bike, you open that file and QZ automatically updates the tiles and puts itself in pause. That way you can continue the workout as if it never stopped.

------ Original Message ------ From: "Roberto Viola" notifications@github.com To: "cagnulein/qdomyos-zwift" qdomyos-zwift@noreply.github.com Cc: "3phi" pierre@trinephi.com; "Author" author@noreply.github.com Sent: 3/3/2021 21:25:23 Subject: Re: [cagnulein/qdomyos-zwift] [ENH] Save fit file during workout (#157)

It's a fit file, i could open and get everything back.

Il gio 4 mar 2021, 06:19 3phi notifications@github.com ha scritto:

What can you do with the wip file? Is it a TCX file format?

------ Original Message ------ From: "Roberto Viola" notifications@github.com To: "cagnulein/qdomyos-zwift" qdomyos-zwift@noreply.github.com Cc: "3phi" pierre@trinephi.com; "Author" author@noreply.github.com Sent: 3/3/2021 03:24:49 Subject: Re: [cagnulein/qdomyos-zwift] [ENH] Save fit file during workout (#157)

i added a WIP file, for now i will not resume at start. It will require more work. I guess it is enough for now :)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <

https://github.com/cagnulein/qdomyos-zwift/issues/157#issuecomment-789644942 ,

or unsubscribe <

https://github.com/notifications/unsubscribe-auth/ABSMNPVKHPQBSDCYVKD7IW3TBYMADANCNFSM4W37WHEQ

.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub

< https://github.com/cagnulein/qdomyos-zwift/issues/157#issuecomment-790299848 , or unsubscribe

< https://github.com/notifications/unsubscribe-auth/AAALYWDBDDIKSSFP72NYL5LTB4J67ANCNFSM4W37WHEQ

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub < https://github.com/cagnulein/qdomyos-zwift/issues/157#issuecomment-790302157>,

or unsubscribe < https://github.com/notifications/unsubscribe-auth/ABSMNPQR7WHOXEQYRWFNEL3TB4KUHANCNFSM4W37WHEQ .

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/cagnulein/qdomyos-zwift/issues/157#issuecomment-790304628, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWHULAQANMM76V6BFHTTB4LKNANCNFSM4W37WHEQ .

ptrinephi commented 3 years ago

ok, fair enough. Does it have a special name? Does it get overwritten every time?

------ Original Message ------ From: "Roberto Viola" notifications@github.com To: "cagnulein/qdomyos-zwift" qdomyos-zwift@noreply.github.com Cc: "3phi" pierre@trinephi.com; "Author" author@noreply.github.com Sent: 3/3/2021 21:32:29 Subject: Re: [cagnulein/qdomyos-zwift] [ENH] Save fit file during workout (#157)

Is what I will do in the future. For now, let's say that you have a backup

Il gio 4 mar 2021, 06:31 3phi notifications@github.com ha scritto:

Could you open that fit file (even manually) from QZ and continue the workout? For example, after you connect to the bike, you open that file and QZ automatically updates the tiles and puts itself in pause. That way you can continue the workout as if it never stopped.

------ Original Message ------ From: "Roberto Viola" notifications@github.com To: "cagnulein/qdomyos-zwift" qdomyos-zwift@noreply.github.com Cc: "3phi" pierre@trinephi.com; "Author" author@noreply.github.com Sent: 3/3/2021 21:25:23 Subject: Re: [cagnulein/qdomyos-zwift] [ENH] Save fit file during workout (#157)

It's a fit file, i could open and get everything back.

Il gio 4 mar 2021, 06:19 3phi notifications@github.com ha scritto:

What can you do with the wip file? Is it a TCX file format?

------ Original Message ------ From: "Roberto Viola" notifications@github.com To: "cagnulein/qdomyos-zwift" qdomyos-zwift@noreply.github.com Cc: "3phi" pierre@trinephi.com; "Author" author@noreply.github.com Sent: 3/3/2021 03:24:49 Subject: Re: [cagnulein/qdomyos-zwift] [ENH] Save fit file during workout (#157)

i added a WIP file, for now i will not resume at start. It will require more work. I guess it is enough for now :)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <

https://github.com/cagnulein/qdomyos-zwift/issues/157#issuecomment-789644942

,

or unsubscribe <

https://github.com/notifications/unsubscribe-auth/ABSMNPVKHPQBSDCYVKD7IW3TBYMADANCNFSM4W37WHEQ

.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub

<

https://github.com/cagnulein/qdomyos-zwift/issues/157#issuecomment-790299848

,

or unsubscribe

<

https://github.com/notifications/unsubscribe-auth/AAALYWDBDDIKSSFP72NYL5LTB4J67ANCNFSM4W37WHEQ

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <

https://github.com/cagnulein/qdomyos-zwift/issues/157#issuecomment-790302157>,

or unsubscribe <

https://github.com/notifications/unsubscribe-auth/ABSMNPQR7WHOXEQYRWFNEL3TB4KUHANCNFSM4W37WHEQ

.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub

https://github.com/cagnulein/qdomyos-zwift/issues/157#issuecomment-790304628, or unsubscribe

https://github.com/notifications/unsubscribe-auth/AAALYWHULAQANMM76V6BFHTTB4LKNANCNFSM4W37WHEQ .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/cagnulein/qdomyos-zwift/issues/157#issuecomment-790305151, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABSMNPRJGBV33OLZJHIN46DTB4LO3ANCNFSM4W37WHEQ.

ptrinephi commented 3 years ago

I see the xQZ-backup files

------ Original Message ------ From: "Roberto Viola" notifications@github.com To: "cagnulein/qdomyos-zwift" qdomyos-zwift@noreply.github.com Cc: "3phi" pierre@trinephi.com; "Author" author@noreply.github.com Sent: 3/3/2021 21:32:29 Subject: Re: [cagnulein/qdomyos-zwift] [ENH] Save fit file during workout (#157)

Is what I will do in the future. For now, let's say that you have a backup

Il gio 4 mar 2021, 06:31 3phi notifications@github.com ha scritto:

Could you open that fit file (even manually) from QZ and continue the workout? For example, after you connect to the bike, you open that file and QZ automatically updates the tiles and puts itself in pause. That way you can continue the workout as if it never stopped.

------ Original Message ------ From: "Roberto Viola" notifications@github.com To: "cagnulein/qdomyos-zwift" qdomyos-zwift@noreply.github.com Cc: "3phi" pierre@trinephi.com; "Author" author@noreply.github.com Sent: 3/3/2021 21:25:23 Subject: Re: [cagnulein/qdomyos-zwift] [ENH] Save fit file during workout (#157)

It's a fit file, i could open and get everything back.

Il gio 4 mar 2021, 06:19 3phi notifications@github.com ha scritto:

What can you do with the wip file? Is it a TCX file format?

------ Original Message ------ From: "Roberto Viola" notifications@github.com To: "cagnulein/qdomyos-zwift" qdomyos-zwift@noreply.github.com Cc: "3phi" pierre@trinephi.com; "Author" author@noreply.github.com Sent: 3/3/2021 03:24:49 Subject: Re: [cagnulein/qdomyos-zwift] [ENH] Save fit file during workout (#157)

i added a WIP file, for now i will not resume at start. It will require more work. I guess it is enough for now :)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <

https://github.com/cagnulein/qdomyos-zwift/issues/157#issuecomment-789644942

,

or unsubscribe <

https://github.com/notifications/unsubscribe-auth/ABSMNPVKHPQBSDCYVKD7IW3TBYMADANCNFSM4W37WHEQ

.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub

<

https://github.com/cagnulein/qdomyos-zwift/issues/157#issuecomment-790299848

,

or unsubscribe

<

https://github.com/notifications/unsubscribe-auth/AAALYWDBDDIKSSFP72NYL5LTB4J67ANCNFSM4W37WHEQ

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <

https://github.com/cagnulein/qdomyos-zwift/issues/157#issuecomment-790302157>,

or unsubscribe <

https://github.com/notifications/unsubscribe-auth/ABSMNPQR7WHOXEQYRWFNEL3TB4KUHANCNFSM4W37WHEQ

.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub

https://github.com/cagnulein/qdomyos-zwift/issues/157#issuecomment-790304628, or unsubscribe

https://github.com/notifications/unsubscribe-auth/AAALYWHULAQANMM76V6BFHTTB4LKNANCNFSM4W37WHEQ .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/cagnulein/qdomyos-zwift/issues/157#issuecomment-790305151, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABSMNPRJGBV33OLZJHIN46DTB4LO3ANCNFSM4W37WHEQ.

cagnulein commented 3 years ago

Something 0qz-backup. Yes they are overwritten every time. They are 2, swapping every minute. R.

Il gio 4 mar 2021, 06:33 3phi notifications@github.com ha scritto:

ok, fair enough. Does it have a special name? Does it get overwritten every time?

------ Original Message ------ From: "Roberto Viola" notifications@github.com To: "cagnulein/qdomyos-zwift" qdomyos-zwift@noreply.github.com Cc: "3phi" pierre@trinephi.com; "Author" author@noreply.github.com Sent: 3/3/2021 21:32:29 Subject: Re: [cagnulein/qdomyos-zwift] [ENH] Save fit file during workout (#157)

Is what I will do in the future. For now, let's say that you have a backup

Il gio 4 mar 2021, 06:31 3phi notifications@github.com ha scritto:

Could you open that fit file (even manually) from QZ and continue the workout? For example, after you connect to the bike, you open that file and QZ automatically updates the tiles and puts itself in pause. That way you can continue the workout as if it never stopped.

------ Original Message ------ From: "Roberto Viola" notifications@github.com To: "cagnulein/qdomyos-zwift" qdomyos-zwift@noreply.github.com Cc: "3phi" pierre@trinephi.com; "Author" author@noreply.github.com Sent: 3/3/2021 21:25:23 Subject: Re: [cagnulein/qdomyos-zwift] [ENH] Save fit file during workout (#157)

It's a fit file, i could open and get everything back.

Il gio 4 mar 2021, 06:19 3phi notifications@github.com ha scritto:

What can you do with the wip file? Is it a TCX file format?

------ Original Message ------ From: "Roberto Viola" notifications@github.com To: "cagnulein/qdomyos-zwift" qdomyos-zwift@noreply.github.com Cc: "3phi" pierre@trinephi.com; "Author" author@noreply.github.com Sent: 3/3/2021 03:24:49 Subject: Re: [cagnulein/qdomyos-zwift] [ENH] Save fit file during workout (#157)

i added a WIP file, for now i will not resume at start. It will require more work. I guess it is enough for now :)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <

https://github.com/cagnulein/qdomyos-zwift/issues/157#issuecomment-789644942

,

or unsubscribe <

https://github.com/notifications/unsubscribe-auth/ABSMNPVKHPQBSDCYVKD7IW3TBYMADANCNFSM4W37WHEQ

.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub

<

https://github.com/cagnulein/qdomyos-zwift/issues/157#issuecomment-790299848

,

or unsubscribe

<

https://github.com/notifications/unsubscribe-auth/AAALYWDBDDIKSSFP72NYL5LTB4J67ANCNFSM4W37WHEQ

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <

https://github.com/cagnulein/qdomyos-zwift/issues/157#issuecomment-790302157 ,

or unsubscribe <

https://github.com/notifications/unsubscribe-auth/ABSMNPQR7WHOXEQYRWFNEL3TB4KUHANCNFSM4W37WHEQ

.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub

< https://github.com/cagnulein/qdomyos-zwift/issues/157#issuecomment-790304628 , or unsubscribe

< https://github.com/notifications/unsubscribe-auth/AAALYWHULAQANMM76V6BFHTTB4LKNANCNFSM4W37WHEQ

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub < https://github.com/cagnulein/qdomyos-zwift/issues/157#issuecomment-790305151>,

or unsubscribe < https://github.com/notifications/unsubscribe-auth/ABSMNPRJGBV33OLZJHIN46DTB4LO3ANCNFSM4W37WHEQ .

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/cagnulein/qdomyos-zwift/issues/157#issuecomment-790305631, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWADUERUOGU3LLPN5XTTB4LTTANCNFSM4W37WHEQ .

ptrinephi commented 3 years ago

cool

------ Original Message ------ From: "Roberto Viola" notifications@github.com To: "cagnulein/qdomyos-zwift" qdomyos-zwift@noreply.github.com Cc: "3phi" pierre@trinephi.com; "Author" author@noreply.github.com Sent: 3/3/2021 21:39:09 Subject: Re: [cagnulein/qdomyos-zwift] [ENH] Save fit file during workout (#157)

Something 0qz-backup. Yes they are overwritten every time. They are 2, swapping every minute. R.

Il gio 4 mar 2021, 06:33 3phi notifications@github.com ha scritto:

ok, fair enough. Does it have a special name? Does it get overwritten every time?

------ Original Message ------ From: "Roberto Viola" notifications@github.com To: "cagnulein/qdomyos-zwift" qdomyos-zwift@noreply.github.com Cc: "3phi" pierre@trinephi.com; "Author" author@noreply.github.com Sent: 3/3/2021 21:32:29 Subject: Re: [cagnulein/qdomyos-zwift] [ENH] Save fit file during workout (#157)

Is what I will do in the future. For now, let's say that you have a backup

Il gio 4 mar 2021, 06:31 3phi notifications@github.com ha scritto:

Could you open that fit file (even manually) from QZ and continue the workout? For example, after you connect to the bike, you open that file and QZ automatically updates the tiles and puts itself in pause. That way you can continue the workout as if it never stopped.

------ Original Message ------ From: "Roberto Viola" notifications@github.com To: "cagnulein/qdomyos-zwift" qdomyos-zwift@noreply.github.com Cc: "3phi" pierre@trinephi.com; "Author" author@noreply.github.com Sent: 3/3/2021 21:25:23 Subject: Re: [cagnulein/qdomyos-zwift] [ENH] Save fit file during workout (#157)

It's a fit file, i could open and get everything back.

Il gio 4 mar 2021, 06:19 3phi notifications@github.com ha scritto:

What can you do with the wip file? Is it a TCX file format?

------ Original Message ------ From: "Roberto Viola" notifications@github.com To: "cagnulein/qdomyos-zwift" qdomyos-zwift@noreply.github.com Cc: "3phi" pierre@trinephi.com; "Author" author@noreply.github.com Sent: 3/3/2021 03:24:49 Subject: Re: [cagnulein/qdomyos-zwift] [ENH] Save fit file during workout (#157)

i added a WIP file, for now i will not resume at start. It will require more work. I guess it is enough for now :)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <

https://github.com/cagnulein/qdomyos-zwift/issues/157#issuecomment-789644942

,

or unsubscribe <

https://github.com/notifications/unsubscribe-auth/ABSMNPVKHPQBSDCYVKD7IW3TBYMADANCNFSM4W37WHEQ

.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub

<

https://github.com/cagnulein/qdomyos-zwift/issues/157#issuecomment-790299848

,

or unsubscribe

<

https://github.com/notifications/unsubscribe-auth/AAALYWDBDDIKSSFP72NYL5LTB4J67ANCNFSM4W37WHEQ

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <

https://github.com/cagnulein/qdomyos-zwift/issues/157#issuecomment-790302157

,

or unsubscribe <

https://github.com/notifications/unsubscribe-auth/ABSMNPQR7WHOXEQYRWFNEL3TB4KUHANCNFSM4W37WHEQ

.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub

<

https://github.com/cagnulein/qdomyos-zwift/issues/157#issuecomment-790304628

,

or unsubscribe

<

https://github.com/notifications/unsubscribe-auth/AAALYWHULAQANMM76V6BFHTTB4LKNANCNFSM4W37WHEQ

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <

https://github.com/cagnulein/qdomyos-zwift/issues/157#issuecomment-790305151>,

or unsubscribe <

https://github.com/notifications/unsubscribe-auth/ABSMNPRJGBV33OLZJHIN46DTB4LO3ANCNFSM4W37WHEQ

.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub

https://github.com/cagnulein/qdomyos-zwift/issues/157#issuecomment-790305631, or unsubscribe

https://github.com/notifications/unsubscribe-auth/AAALYWADUERUOGU3LLPN5XTTB4LTTANCNFSM4W37WHEQ .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/cagnulein/qdomyos-zwift/issues/157#issuecomment-790308127, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABSMNPVWMFKLHNWZUPOOHMLTB4MH3ANCNFSM4W37WHEQ.

jaredwelch commented 3 years ago

I was about to enter this exact same issue - glad I saw this! Just lost a workout yesterday because the app closed, will look forward to this feature to prevent this from happening in the future. I'm on Android.

cagnulein commented 3 years ago

So did you find the backup?

Il sab 5 giu 2021, 04:44 jaredwelch @.***> ha scritto:

I was about to enter this exact same issue - glad I saw this! Just lost a workout yesterday because the app closed, will look forward to this feature to prevent this from happening in the future. I'm on Android.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/cagnulein/qdomyos-zwift/issues/157#issuecomment-855171126, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWBLXGB5IZQXNNM5OILTRGFRZANCNFSM4W37WHEQ .

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

zeeroh commented 7 months ago

I assume these are all the backup files? Are they supposed to take up 1.7GB of space? And can I safely remove them? 🤔 IMG_5665

cagnulein commented 7 months ago

@zeeroh from the settings , experimental settings, there is a clear button to remove them safely

zeeroh commented 7 months ago

@cagnulein Awesome, thank-you! :)