diff --git a/bin/RunPowerWorkout-settings.json b/bin/RunPowerWorkout-settings.json index 18e298b..3ef3806 100644 --- a/bin/RunPowerWorkout-settings.json +++ b/bin/RunPowerWorkout-settings.json @@ -1 +1 @@ -{"settings":[{"key":"A","valueType":"boolean","defaultValue":false,"configTitle":"PERCENTAGE","configPrompt":null,"configType":"boolean","configError":null,"configHelpUrl":null,"configReadonly":false,"configRequired":false,"configOptions":null,"configMin":null,"configMax":null,"configMaxLength":null},{"key":"B","valueType":"number","defaultValue":330,"configTitle":"FTP","configPrompt":null,"configType":"numeric","configError":null,"configHelpUrl":null,"configReadonly":false,"configRequired":false,"configOptions":null,"configMin":null,"configMax":null,"configMaxLength":null},{"key":"C","valueType":"boolean","defaultValue":true,"configTitle":"ALERT","configPrompt":null,"configType":"boolean","configError":null,"configHelpUrl":null,"configReadonly":false,"configRequired":false,"configOptions":null,"configMin":null,"configMax":null,"configMaxLength":null},{"key":"D","valueType":"boolean","defaultValue":true,"configTitle":"VIBRATE","configPrompt":null,"configType":"boolean","configError":null,"configHelpUrl":null,"configReadonly":false,"configRequired":false,"configOptions":null,"configMin":null,"configMax":null,"configMaxLength":null},{"key":"DD","valueType":"boolean","defaultValue":true,"configTitle":"SOUNDS","configPrompt":null,"configType":"boolean","configError":null,"configHelpUrl":null,"configReadonly":false,"configRequired":false,"configOptions":null,"configMin":null,"configMax":null,"configMaxLength":null},{"key":"E","valueType":"number","defaultValue":3,"configTitle":"POWER_AVERAGE","configPrompt":null,"configType":"numeric","configError":null,"configHelpUrl":null,"configReadonly":false,"configRequired":false,"configOptions":null,"configMin":1,"configMax":30,"configMaxLength":null},{"key":"F","valueType":"number","defaultValue":1,"configTitle":"SHOW_COLORS","configPrompt":null,"configType":"list","configError":null,"configHelpUrl":null,"configReadonly":false,"configRequired":false,"configOptions":[{"display":"SHOW_COLORS_1","value":1},{"display":"SHOW_COLORS_2","value":2},{"display":"SHOW_COLORS_3","value":3}],"configMin":null,"configMax":null,"configMaxLength":null},{"key":"G","valueType":"number","defaultValue":1,"configTitle":"ZONES","configPrompt":null,"configType":"list","configError":null,"configHelpUrl":null,"configReadonly":false,"configRequired":false,"configOptions":[{"display":"ZONES_1","value":1},{"display":"ZONES_2","value":2},{"display":"ZONES_3","value":3},{"display":"ZONES_4","value":4},{"display":"ZONES_5","value":5}],"configMin":null,"configMax":null,"configMaxLength":null},{"key":"H","valueType":"boolean","defaultValue":true,"configTitle":"SHOW_SMALL_DECIMALS","configPrompt":null,"configType":"boolean","configError":null,"configHelpUrl":null,"configReadonly":false,"configRequired":false,"configOptions":null,"configMin":null,"configMax":null,"configMaxLength":null},{"key":"I","valueType":"boolean","defaultValue":true,"configTitle":"USE_CUSTOM_FONTS","configPrompt":null,"configType":"boolean","configError":null,"configHelpUrl":null,"configReadonly":false,"configRequired":false,"configOptions":null,"configMin":null,"configMax":null,"configMaxLength":null},{"key":"M","valueType":"number","defaultValue":3,"configTitle":"LAYOUT","configPrompt":null,"configType":"list","configError":null,"configHelpUrl":"https://github.com/tommyvdz/RunPowerWorkout#features","configReadonly":false,"configRequired":false,"configOptions":[{"display":"L1","value":1},{"display":"L2","value":2},{"display":"L3","value":3}],"configMin":null,"configMax":null,"configMaxLength":null},{"key":"V","valueType":"boolean","defaultValue":false,"configTitle":"USE_SPEED","configPrompt":null,"configType":"boolean","configError":null,"configHelpUrl":null,"configReadonly":false,"configRequired":false,"configOptions":null,"configMin":null,"configMax":null,"configMaxLength":null},{"key":"Z","valueType":"boolean","defaultValue":false,"configTitle":"KEEP_LAST_STEP","configPrompt":null,"configType":"boolean","configError":null,"configHelpUrl":null,"configReadonly":false,"configRequired":false,"configOptions":null,"configMin":null,"configMax":null,"configMaxLength":null},{"key":"AA","valueType":"number","defaultValue":15,"configTitle":"ALERT_DELAY","configPrompt":null,"configType":"numeric","configError":null,"configHelpUrl":null,"configReadonly":false,"configRequired":false,"configOptions":null,"configMin":null,"configMax":null,"configMaxLength":null},{"key":"AB","valueType":"number","defaultValue":3,"configTitle":"MAX_ALERTS","configPrompt":null,"configType":"numeric","configError":null,"configHelpUrl":null,"configReadonly":false,"configRequired":false,"configOptions":null,"configMin":null,"configMax":null,"configMaxLength":null},{"key":"L","valueType":"number","defaultValue":-1,"configTitle":"ANTID","configPrompt":null,"configType":"numeric","configError":null,"configHelpUrl":null,"configReadonly":false,"configRequired":false,"configOptions":null,"configMin":null,"configMax":null,"configMaxLength":null},{"key":"N","valueType":"string","defaultValue":"358201","configTitle":"FD","configPrompt":null,"configType":"alphaNumeric","configError":null,"configHelpUrl":"https://github.com/tommyvdz/RunPowerWorkout#features","configReadonly":false,"configRequired":false,"configOptions":null,"configMin":null,"configMax":null,"configMaxLength":null}],"supportsLiveValidation":false,"languages":{"valyrian":{"SHOW_COLORS":"Show Colors in Datafield","FTP":"What is your FTP/CP?","LAYOUT":"Layout","POWER_AVERAGE":"Power averaging in seconds (1-30)","ALERT":"Display alerts?","AppName":"RunPowerWorkout","SHOW_SMALL_DECIMALS":"Show smaller decimals for distance ?","USE_SPEED":"Use speed instead of pace ?","ALERT_DELAY":"Delay between alerts.","ANTID":"ANT ID for Stryd footpod (for non multisport watches)","KEEP_LAST_STEP":"Keep last step targets after a workout.","L1":"1 field","L2":"4 fields","SOUNDS":"Play a sound on alerts?","L3":"6 fields","SHOW_COLORS_3":"None","PERCENTAGE":"Use Percentage?","USE_CUSTOM_FONTS":"Use custom fonts ? (only for capability level 2 or 4)","SHOW_COLORS_1":"Text + Background","SHOW_COLORS_2":"Text Only","ZONES_3":"Steve Palladino","ZONES_2":"Jim Vance","ZONES_1":"Stryd","ZONES_5":"Van Dijk and Van Megen","ZONES_4":"80/20","MAX_ALERTS":"Maximum amount of alerts.","VIBRATE":"Vibrate on alerts?","ZONES":"Power zone calculation","FD":"Field disposition (see doc)"}}} \ No newline at end of file +{"settings":[{"key":"N1","valueType":"number","defaultValue":51,"configTitle":"FD1","configPrompt":null,"configType":"list","configError":null,"configHelpUrl":null,"configReadonly":false,"configRequired":false,"configOptions":[{"display":"F1","value":48},{"display":"F2","value":49},{"display":"F3","value":50},{"display":"F4","value":51},{"display":"F5","value":52},{"display":"F6","value":53},{"display":"F7","value":54},{"display":"F8","value":55},{"display":"F9","value":56},{"display":"F10","value":57},{"display":"F11","value":65},{"display":"F12","value":66},{"display":"F13","value":67},{"display":"F14","value":68},{"display":"F15","value":69},{"display":"F16","value":70},{"display":"F17","value":71},{"display":"F18","value":72}],"configMin":null,"configMax":null,"configMaxLength":null},{"key":"N2","valueType":"number","defaultValue":56,"configTitle":"FD2","configPrompt":null,"configType":"list","configError":null,"configHelpUrl":null,"configReadonly":false,"configRequired":false,"configOptions":[{"display":"F1","value":48},{"display":"F2","value":49},{"display":"F3","value":50},{"display":"F4","value":51},{"display":"F5","value":52},{"display":"F6","value":53},{"display":"F7","value":54},{"display":"F8","value":55},{"display":"F9","value":56},{"display":"F10","value":57},{"display":"F11","value":65},{"display":"F12","value":66},{"display":"F13","value":67},{"display":"F14","value":68},{"display":"F15","value":69},{"display":"F16","value":70},{"display":"F17","value":71},{"display":"F18","value":72}],"configMin":null,"configMax":null,"configMaxLength":null},{"key":"N3","valueType":"number","defaultValue":55,"configTitle":"FD3","configPrompt":null,"configType":"list","configError":null,"configHelpUrl":null,"configReadonly":false,"configRequired":false,"configOptions":[{"display":"F1","value":48},{"display":"F2","value":49},{"display":"F3","value":50},{"display":"F4","value":51},{"display":"F5","value":52},{"display":"F6","value":53},{"display":"F7","value":54},{"display":"F8","value":55},{"display":"F9","value":56},{"display":"F10","value":57},{"display":"F11","value":65},{"display":"F12","value":66},{"display":"F13","value":67},{"display":"F14","value":68},{"display":"F15","value":69},{"display":"F16","value":70},{"display":"F17","value":71},{"display":"F18","value":72}],"configMin":null,"configMax":null,"configMaxLength":null},{"key":"N4","valueType":"number","defaultValue":50,"configTitle":"FD4","configPrompt":null,"configType":"list","configError":null,"configHelpUrl":null,"configReadonly":false,"configRequired":false,"configOptions":[{"display":"F1","value":48},{"display":"F2","value":49},{"display":"F3","value":50},{"display":"F4","value":51},{"display":"F5","value":52},{"display":"F6","value":53},{"display":"F7","value":54},{"display":"F8","value":55},{"display":"F9","value":56},{"display":"F10","value":57},{"display":"F11","value":65},{"display":"F12","value":66},{"display":"F13","value":67},{"display":"F14","value":68},{"display":"F15","value":69},{"display":"F16","value":70},{"display":"F17","value":71},{"display":"F18","value":72}],"configMin":null,"configMax":null,"configMaxLength":null},{"key":"N5","valueType":"number","defaultValue":48,"configTitle":"FD5","configPrompt":null,"configType":"list","configError":null,"configHelpUrl":null,"configReadonly":false,"configRequired":false,"configOptions":[{"display":"F1","value":48},{"display":"F2","value":49},{"display":"F3","value":50},{"display":"F4","value":51},{"display":"F5","value":52},{"display":"F6","value":53},{"display":"F7","value":54},{"display":"F8","value":55},{"display":"F9","value":56},{"display":"F10","value":57},{"display":"F11","value":65},{"display":"F12","value":66},{"display":"F13","value":67},{"display":"F14","value":68},{"display":"F15","value":69},{"display":"F16","value":70},{"display":"F17","value":71},{"display":"F18","value":72}],"configMin":null,"configMax":null,"configMaxLength":null},{"key":"N6","valueType":"number","defaultValue":49,"configTitle":"FD6","configPrompt":null,"configType":"list","configError":null,"configHelpUrl":null,"configReadonly":false,"configRequired":false,"configOptions":[{"display":"F1","value":48},{"display":"F2","value":49},{"display":"F3","value":50},{"display":"F4","value":51},{"display":"F5","value":52},{"display":"F6","value":53},{"display":"F7","value":54},{"display":"F8","value":55},{"display":"F9","value":56},{"display":"F10","value":57},{"display":"F11","value":65},{"display":"F12","value":66},{"display":"F13","value":67},{"display":"F14","value":68},{"display":"F15","value":69},{"display":"F16","value":70},{"display":"F17","value":71},{"display":"F18","value":72}],"configMin":null,"configMax":null,"configMaxLength":null},{"key":"O1","valueType":"number","defaultValue":51,"configTitle":"FD12","configPrompt":null,"configType":"list","configError":null,"configHelpUrl":null,"configReadonly":false,"configRequired":false,"configOptions":[{"display":"F1","value":48},{"display":"F2","value":49},{"display":"F3","value":50},{"display":"F4","value":51},{"display":"F5","value":52},{"display":"F6","value":53},{"display":"F7","value":54},{"display":"F8","value":55},{"display":"F9","value":56},{"display":"F10","value":57},{"display":"F11","value":65},{"display":"F12","value":66},{"display":"F13","value":67},{"display":"F14","value":68},{"display":"F15","value":69},{"display":"F16","value":70},{"display":"F17","value":71},{"display":"F18","value":72}],"configMin":null,"configMax":null,"configMaxLength":null},{"key":"O2","valueType":"number","defaultValue":56,"configTitle":"FD22","configPrompt":null,"configType":"list","configError":null,"configHelpUrl":null,"configReadonly":false,"configRequired":false,"configOptions":[{"display":"F1","value":48},{"display":"F2","value":49},{"display":"F3","value":50},{"display":"F4","value":51},{"display":"F5","value":52},{"display":"F6","value":53},{"display":"F7","value":54},{"display":"F8","value":55},{"display":"F9","value":56},{"display":"F10","value":57},{"display":"F11","value":65},{"display":"F12","value":66},{"display":"F13","value":67},{"display":"F14","value":68},{"display":"F15","value":69},{"display":"F16","value":70},{"display":"F17","value":71},{"display":"F18","value":72}],"configMin":null,"configMax":null,"configMaxLength":null},{"key":"O3","valueType":"number","defaultValue":55,"configTitle":"FD32","configPrompt":null,"configType":"list","configError":null,"configHelpUrl":null,"configReadonly":false,"configRequired":false,"configOptions":[{"display":"F1","value":48},{"display":"F2","value":49},{"display":"F3","value":50},{"display":"F4","value":51},{"display":"F5","value":52},{"display":"F6","value":53},{"display":"F7","value":54},{"display":"F8","value":55},{"display":"F9","value":56},{"display":"F10","value":57},{"display":"F11","value":65},{"display":"F12","value":66},{"display":"F13","value":67},{"display":"F14","value":68},{"display":"F15","value":69},{"display":"F16","value":70},{"display":"F17","value":71},{"display":"F18","value":72}],"configMin":null,"configMax":null,"configMaxLength":null},{"key":"O4","valueType":"number","defaultValue":50,"configTitle":"FD42","configPrompt":null,"configType":"list","configError":null,"configHelpUrl":null,"configReadonly":false,"configRequired":false,"configOptions":[{"display":"F1","value":48},{"display":"F2","value":49},{"display":"F3","value":50},{"display":"F4","value":51},{"display":"F5","value":52},{"display":"F6","value":53},{"display":"F7","value":54},{"display":"F8","value":55},{"display":"F9","value":56},{"display":"F10","value":57},{"display":"F11","value":65},{"display":"F12","value":66},{"display":"F13","value":67},{"display":"F14","value":68},{"display":"F15","value":69},{"display":"F16","value":70},{"display":"F17","value":71},{"display":"F18","value":72}],"configMin":null,"configMax":null,"configMaxLength":null},{"key":"O5","valueType":"number","defaultValue":48,"configTitle":"FD52","configPrompt":null,"configType":"list","configError":null,"configHelpUrl":null,"configReadonly":false,"configRequired":false,"configOptions":[{"display":"F1","value":48},{"display":"F2","value":49},{"display":"F3","value":50},{"display":"F4","value":51},{"display":"F5","value":52},{"display":"F6","value":53},{"display":"F7","value":54},{"display":"F8","value":55},{"display":"F9","value":56},{"display":"F10","value":57},{"display":"F11","value":65},{"display":"F12","value":66},{"display":"F13","value":67},{"display":"F14","value":68},{"display":"F15","value":69},{"display":"F16","value":70},{"display":"F17","value":71},{"display":"F18","value":72}],"configMin":null,"configMax":null,"configMaxLength":null},{"key":"O6","valueType":"number","defaultValue":49,"configTitle":"FD62","configPrompt":null,"configType":"list","configError":null,"configHelpUrl":null,"configReadonly":false,"configRequired":false,"configOptions":[{"display":"F1","value":48},{"display":"F2","value":49},{"display":"F3","value":50},{"display":"F4","value":51},{"display":"F5","value":52},{"display":"F6","value":53},{"display":"F7","value":54},{"display":"F8","value":55},{"display":"F9","value":56},{"display":"F10","value":57},{"display":"F11","value":65},{"display":"F12","value":66},{"display":"F13","value":67},{"display":"F14","value":68},{"display":"F15","value":69},{"display":"F16","value":70},{"display":"F17","value":71},{"display":"F18","value":72}],"configMin":null,"configMax":null,"configMaxLength":null},{"key":"P","valueType":"boolean","defaultValue":false,"configTitle":"USE_ALTERNATIVE_LAYOUT","configPrompt":null,"configType":"boolean","configError":null,"configHelpUrl":null,"configReadonly":false,"configRequired":false,"configOptions":null,"configMin":null,"configMax":null,"configMaxLength":null},{"key":"Q","valueType":"boolean","defaultValue":false,"configTitle":"AUTOMATICALLY_ATLERNATE","configPrompt":null,"configType":"boolean","configError":null,"configHelpUrl":null,"configReadonly":false,"configRequired":false,"configOptions":null,"configMin":null,"configMax":null,"configMaxLength":null},{"key":"R","valueType":"number","defaultValue":3,"configTitle":"ALTERNATE_LAYOUT","configPrompt":null,"configType":"list","configError":null,"configHelpUrl":"https://github.com/tommyvdz/RunPowerWorkout#features","configReadonly":false,"configRequired":false,"configOptions":[{"display":"L1","value":1},{"display":"L2","value":2},{"display":"L3","value":3}],"configMin":null,"configMax":null,"configMaxLength":null},{"key":"S","valueType":"number","defaultValue":5000,"configTitle":"TARGET_DISTANCE","configPrompt":null,"configType":"numeric","configError":null,"configHelpUrl":null,"configReadonly":false,"configRequired":false,"configOptions":null,"configMin":null,"configMax":null,"configMaxLength":null},{"key":"T","valueType":"number","defaultValue":0,"configTitle":"TARGET_ELEVATION","configPrompt":null,"configType":"numeric","configError":null,"configHelpUrl":null,"configReadonly":false,"configRequired":false,"configOptions":null,"configMin":null,"configMax":null,"configMaxLength":null},{"key":"U","valueType":"number","defaultValue":100,"configTitle":"WEIGHT","configPrompt":null,"configType":"numeric","configError":null,"configHelpUrl":null,"configReadonly":false,"configRequired":false,"configOptions":null,"configMin":null,"configMax":null,"configMaxLength":null},{"key":"X","valueType":"number","defaultValue":1,"configTitle":"TOP_FIELD_METRIC","configPrompt":null,"configType":"list","configError":null,"configHelpUrl":"https://github.com/tommyvdz/RunPowerWorkout#features","configReadonly":false,"configRequired":false,"configOptions":[{"display":"TF1","value":1},{"display":"TF2","value":2}],"configMin":null,"configMax":null,"configMaxLength":null},{"key":"Y","valueType":"number","defaultValue":1,"configTitle":"BOTTOM_FIELD_METRIC","configPrompt":null,"configType":"list","configError":null,"configHelpUrl":"https://github.com/tommyvdz/RunPowerWorkout#features","configReadonly":false,"configRequired":false,"configOptions":[{"display":"BF1","value":1},{"display":"BF2","value":2}],"configMin":null,"configMax":null,"configMaxLength":null},{"key":"A","valueType":"boolean","defaultValue":false,"configTitle":"PERCENTAGE","configPrompt":null,"configType":"boolean","configError":null,"configHelpUrl":null,"configReadonly":false,"configRequired":false,"configOptions":null,"configMin":null,"configMax":null,"configMaxLength":null},{"key":"B","valueType":"number","defaultValue":330,"configTitle":"FTP","configPrompt":null,"configType":"numeric","configError":null,"configHelpUrl":null,"configReadonly":false,"configRequired":false,"configOptions":null,"configMin":null,"configMax":null,"configMaxLength":null},{"key":"C","valueType":"boolean","defaultValue":true,"configTitle":"ALERT","configPrompt":null,"configType":"boolean","configError":null,"configHelpUrl":null,"configReadonly":false,"configRequired":false,"configOptions":null,"configMin":null,"configMax":null,"configMaxLength":null},{"key":"D","valueType":"boolean","defaultValue":true,"configTitle":"VIBRATE","configPrompt":null,"configType":"boolean","configError":null,"configHelpUrl":null,"configReadonly":false,"configRequired":false,"configOptions":null,"configMin":null,"configMax":null,"configMaxLength":null},{"key":"DD","valueType":"boolean","defaultValue":true,"configTitle":"SOUNDS","configPrompt":null,"configType":"boolean","configError":null,"configHelpUrl":null,"configReadonly":false,"configRequired":false,"configOptions":null,"configMin":null,"configMax":null,"configMaxLength":null},{"key":"E","valueType":"number","defaultValue":3,"configTitle":"POWER_AVERAGE","configPrompt":null,"configType":"numeric","configError":null,"configHelpUrl":null,"configReadonly":false,"configRequired":false,"configOptions":null,"configMin":1,"configMax":30,"configMaxLength":null},{"key":"F","valueType":"number","defaultValue":1,"configTitle":"SHOW_COLORS","configPrompt":null,"configType":"list","configError":null,"configHelpUrl":null,"configReadonly":false,"configRequired":false,"configOptions":[{"display":"SHOW_COLORS_1","value":1},{"display":"SHOW_COLORS_2","value":2},{"display":"SHOW_COLORS_3","value":3}],"configMin":null,"configMax":null,"configMaxLength":null},{"key":"G","valueType":"number","defaultValue":1,"configTitle":"ZONES","configPrompt":null,"configType":"list","configError":null,"configHelpUrl":null,"configReadonly":false,"configRequired":false,"configOptions":[{"display":"ZONES_1","value":1},{"display":"ZONES_2","value":2},{"display":"ZONES_3","value":3},{"display":"ZONES_4","value":4},{"display":"ZONES_5","value":5}],"configMin":null,"configMax":null,"configMaxLength":null},{"key":"H","valueType":"boolean","defaultValue":true,"configTitle":"SHOW_SMALL_DECIMALS","configPrompt":null,"configType":"boolean","configError":null,"configHelpUrl":null,"configReadonly":false,"configRequired":false,"configOptions":null,"configMin":null,"configMax":null,"configMaxLength":null},{"key":"I","valueType":"boolean","defaultValue":true,"configTitle":"USE_CUSTOM_FONTS","configPrompt":null,"configType":"boolean","configError":null,"configHelpUrl":null,"configReadonly":false,"configRequired":false,"configOptions":null,"configMin":null,"configMax":null,"configMaxLength":null},{"key":"M","valueType":"number","defaultValue":3,"configTitle":"LAYOUT","configPrompt":null,"configType":"list","configError":null,"configHelpUrl":"https://github.com/tommyvdz/RunPowerWorkout#features","configReadonly":false,"configRequired":false,"configOptions":[{"display":"L1","value":1},{"display":"L2","value":2},{"display":"L3","value":3}],"configMin":null,"configMax":null,"configMaxLength":null},{"key":"V","valueType":"boolean","defaultValue":false,"configTitle":"USE_SPEED","configPrompt":null,"configType":"boolean","configError":null,"configHelpUrl":null,"configReadonly":false,"configRequired":false,"configOptions":null,"configMin":null,"configMax":null,"configMaxLength":null},{"key":"Z","valueType":"boolean","defaultValue":false,"configTitle":"KEEP_LAST_STEP","configPrompt":null,"configType":"boolean","configError":null,"configHelpUrl":null,"configReadonly":false,"configRequired":false,"configOptions":null,"configMin":null,"configMax":null,"configMaxLength":null},{"key":"AA","valueType":"number","defaultValue":15,"configTitle":"ALERT_DELAY","configPrompt":null,"configType":"numeric","configError":null,"configHelpUrl":null,"configReadonly":false,"configRequired":false,"configOptions":null,"configMin":null,"configMax":null,"configMaxLength":null},{"key":"AB","valueType":"number","defaultValue":3,"configTitle":"MAX_ALERTS","configPrompt":null,"configType":"numeric","configError":null,"configHelpUrl":null,"configReadonly":false,"configRequired":false,"configOptions":null,"configMin":null,"configMax":null,"configMaxLength":null}],"supportsLiveValidation":false,"languages":{"valyrian":{"TF2":"Step/Lap power","ALERT":"Display alerts?","SHOW_SMALL_DECIMALS":"Show smaller decimals for distance ?","FD42":"Bottom Right Field (alternate)","WEIGHT":"Weight in Kg","USE_ALTERNATIVE_LAYOUT":"Use the alternative layout ?","F1":"Cadence","F2":"Heart Rate","SHOW_COLORS_3":"None","F3":"Elapsed Time","ALTERNATE_LAYOUT":"Alternative layout","F4":"Instant Pace","SHOW_COLORS_1":"Text + Background","F5":"Workout Step Pace","SHOW_COLORS_2":"Text Only","F6":"Lap Pace","ZONES_3":"Steve Palladino","F7":"Workout Step Power","ZONES_2":"Jim Vance","FD1":"Top Left Field","F8":"Lap Power","ZONES_1":"Stryd","F9":"Elapsed Distance","FD3":"Top Right Field","FD2":"Bottom Left Field","FD5":"Top Center Field","ZONES_5":"Van Dijk and Van Megen","FD4":"Bottom Right Field","ZONES_4":"80/20","FD6":"Bottom Center Field","FD32":"Top Right Field (alternate)","ZONES":"Power zone calculation","SHOW_COLORS":"Show Colors in Datafield","FTP":"What is your FTP/CP?","LAYOUT":"Layout","POWER_AVERAGE":"Power averaging in seconds (1-30)","AppName":"RunPowerWorkout","USE_SPEED":"Use speed instead of pace ?","ALERT_DELAY":"Delay between alerts.","FD62":"Bottom Center Field (alternate)","KEEP_LAST_STEP":"Keep last step targets after a workout.","BOTTOM_FIELD_METRIC":"Bottom field metric outside workouts","FD22":"Bottom Left Field (alternate)","F10":"Time of day","L1":"1 field","F12":"Average Power","TARGET_DISTANCE":"Course distance in meters","L2":"4 fields","F11":"Average Pace","SOUNDS":"Play a sound on alerts?","L3":"6 fields","F14":"Total Ascent","F13":"Altitude","F16":"Vertical speed","F15":"Total Descent","AUTOMATICALLY_ATLERNATE":"Frequently switch between layouts ?","F18":"ETA Power","BF1":"Lap time","F17":"ETA Pace","PERCENTAGE":"Use Percentage?","USE_CUSTOM_FONTS":"Use custom fonts ? (only for capability level 2 or 4)","BF2":"Lap distance","TARGET_ELEVATION":"Course elevation in meters","FD52":"Top Center Field (alternate)","MAX_ALERTS":"Maximum amount of alerts.","VIBRATE":"Vibrate on alerts?","TF1":"Instant power","FD12":"Top Left Field (alternate)","TOP_FIELD_METRIC":"Top field metric"}}} \ No newline at end of file diff --git a/cicd/requirements.txt b/cicd/requirements.txt index 2f6f0f4..5ab7e8f 100644 --- a/cicd/requirements.txt +++ b/cicd/requirements.txt @@ -1,17 +1,17 @@ # Automatically generated by https://github.com/damnever/pigar. # cicd/upload_to_garmin.py: 5 -beautifulsoup4 == 4.9.3 +beautifulsoup4 == 4.12.2 # cicd/get_garmin_devices.py: 7 boto3 == 1.16.31 # cicd/upload_to_garmin.py: 7 -cloudscraper == 1.2.60 +cloudscraper == 1.2.71 # cicd/get_garmin_devices.py: 4 # cicd/upload_to_garmin.py: 2 -requests == 2.22.0 +requests == 2.31.0 # cicd/upload_to_garmin.py: 6 -requests-toolbelt == 0.9.1 +requests-toolbelt == 1.0.0 diff --git a/cicd/upload_to_garmin.py b/cicd/upload_to_garmin.py index 227fc04..cef6b2e 100644 --- a/cicd/upload_to_garmin.py +++ b/cicd/upload_to_garmin.py @@ -40,8 +40,8 @@ "Cache-Control": "no-cache", "sec-ch-ua-mobile": "?0", "Upgrade-Insecure-Requests": "1", - "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36", - "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9", + "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36", + "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7", "Sec-Fetch-Site": "none", "Sec-Fetch-Mode": "navigate", "Sec-Fetch-User": "?1", @@ -107,7 +107,7 @@ "Referer": "https://apps.garmin.com/", "Sec-Fetch-Dest": "iframe", "Sec-Fetch-Site": "same-origin", - "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36", + "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36", } response = scraper.get(url, headers=headers, params=querystring) soup = BeautifulSoup(response.content, "html.parser") @@ -133,7 +133,7 @@ "Referer": f"{url}?{query}", "Sec-Fetch-Dest": "iframe", "Sec-Fetch-Site": "same-origin", - "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36", + "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36", } response = scraper.post(url, data=payload, headers=headers, params=querystring) @@ -149,7 +149,7 @@ url = f"https://apps.garmin.com/en-US/developer/{DEV_ID}/apps/{STORE_ID}/update" headers = { - "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36", + "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36", } scraper.get(url, headers=headers) @@ -178,7 +178,7 @@ "Referer": url, "Sec-Fetch-Dest": "document", "Sec-Fetch-Site": "same-origin", - "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36", + "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36", } response = scraper.post(url, headers=headers, data=m, allow_redirects=True) @@ -516,7 +516,7 @@ "application/octet-stream", ), ), - ("screenshotIds[0]", ""), + ("screenshotIds[0]", "f6bebd31-91bc-482d-bac4-09baf6d6b2ec"), ("deleted[0]", "false"), ( "screenshotFiles[1]", @@ -526,7 +526,7 @@ "application/octet-stream", ), ), - ("screenshotIds[1]", ""), + ("screenshotIds[1]", "45bc8b2c-3188-4ce4-959a-711a9cd02db2"), ("deleted[1]", "false"), ( "screenshotFiles[2]", @@ -536,7 +536,7 @@ "application/octet-stream", ), ), - ("screenshotIds[2]", ""), + ("screenshotIds[2]", "cb714ded-5665-43bd-afbd-1a6dc547127b"), ("deleted[2]", "false"), ( "screenshotFiles[3]", @@ -583,7 +583,7 @@ "Referer": url, "Sec-Fetch-Dest": "document", "Sec-Fetch-Site": "same-origin", - "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36", + "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36", } response = scraper.post(url, headers=headers, data=m, allow_redirects=True)