Skip to content

Instantly share code, notes, and snippets.

@juliavdkris
Created October 18, 2020 18:02
Show Gist options
  • Save juliavdkris/7f7683916710fce2ed130b1d67486763 to your computer and use it in GitHub Desktop.
Save juliavdkris/7f7683916710fce2ed130b1d67486763 to your computer and use it in GitHub Desktop.
Podcast sleep mode
[
{
"localVariables": [],
"m_GUID": -8488175240376223000,
"m_actionList": [
{
"m_delayInMilliSeconds": 0,
"m_delayInSeconds": 5,
"m_useAlarm": false,
"m_SIGUID": -6807105463704047000,
"m_classType": "PauseAction",
"m_constraintList": [],
"m_isDisabled": true,
"m_isOrCondition": false
},
{
"m_option": "Pause",
"m_sendMediaPlayerCommands": true,
"m_simulateMediaButton": false,
"m_SIGUID": -5807445539476352000,
"m_classType": "ControlMediaAction",
"m_constraintList": [],
"m_isDisabled": false,
"m_isOrCondition": false
},
{
"m_applicationName": "Spotify",
"m_option": "Pause",
"m_packageName": "com.spotify.music",
"m_sendMediaPlayerCommands": false,
"m_simulateMediaButton": true,
"m_SIGUID": -5522596798840572000,
"m_classType": "ControlMediaAction",
"m_constraintList": [],
"m_isDisabled": false,
"m_isOrCondition": false
},
{
"m_delayInMilliSeconds": 250,
"m_delayInSeconds": 0,
"m_useAlarm": false,
"m_SIGUID": -7762711072328806000,
"m_classType": "PauseAction",
"m_constraintList": [],
"m_isDisabled": false,
"m_isOrCondition": false
},
{
"m_selectedIndex": 35,
"waitToFinish": false,
"m_filePath": "FadeIn",
"m_SIGUID": -8880073307144396000,
"m_classType": "PlaySoundAction",
"m_constraintList": [],
"m_isDisabled": false,
"m_isOrCondition": false
}
],
"m_category": "Podcast sleep mode",
"m_constraintList": [
{
"m_musicActive": true,
"m_SIGUID": -7561334343478397000,
"m_classType": "MusicActiveConstraint",
"m_constraintList": [],
"m_isDisabled": false,
"m_isOrCondition": false
},
{
"m_connected": true,
"m_SIGUID": -5204186797015006000,
"m_classType": "HeadphonesConnectionConstraint",
"m_constraintList": [],
"m_isDisabled": false,
"m_isOrCondition": false
},
{
"m_endHour": 6,
"m_endMinute": 0,
"m_startHour": 21,
"m_startMinute": 0,
"m_SIGUID": -5562417809346394000,
"m_classType": "TimeOfDayConstraint",
"m_constraintList": [],
"m_isDisabled": false,
"m_isOrCondition": false
}
],
"m_description": "",
"m_descriptionOpen": false,
"m_enabled": true,
"m_excludeLog": false,
"m_headingColor": 0,
"m_isOrCondition": false,
"m_name": "Podcast sleep mode",
"m_triggerList": [
{
"m_ignoreReferenceStartTime": false,
"m_minutes": 0,
"m_seconds": 180,
"m_startHour": 0,
"m_startMinute": 0,
"m_useAlarm": false,
"fakeIcon": 2131230983,
"m_SIGUID": -7848861325490466000,
"m_classType": "RegularIntervalTrigger",
"m_constraintList": [],
"m_isDisabled": false,
"m_isOrCondition": false
}
]
},
{
"localVariables": [],
"m_GUID": -5568005986476138000,
"m_actionList": [
{
"m_applicationName": "Spotify",
"m_option": "Play",
"m_packageName": "com.spotify.music",
"m_sendMediaPlayerCommands": true,
"m_simulateMediaButton": false,
"m_SIGUID": -9196016414361062000,
"m_classType": "ControlMediaAction",
"m_constraintList": [],
"m_isDisabled": false,
"m_isOrCondition": false
}
],
"m_category": "Podcast sleep mode",
"m_constraintList": [
{
"checkThisMacro": false,
"m_invoked": true,
"m_macroIds": [
-8488175240376223000
],
"m_macroNames": [
"Podcast sleep mode"
],
"m_timePeriodSeconds": 30,
"m_SIGUID": -4902524067429235000,
"m_classType": "LastRunTimeConstraint",
"m_constraintList": [],
"m_isDisabled": false,
"m_isOrCondition": false
}
],
"m_description": "",
"m_descriptionOpen": false,
"m_enabled": true,
"m_excludeLog": false,
"m_headingColor": 0,
"m_isOrCondition": false,
"m_name": "Resume",
"m_triggerList": [
{
"fakeIcon": 2131230983,
"m_SIGUID": -5212761197880861000,
"m_classType": "ShakeDeviceTrigger",
"m_constraintList": [],
"m_isDisabled": false,
"m_isOrCondition": false
},
{
"m_anyStart": true,
"m_faceDown": true,
"m_workWithScreenOff": false,
"fakeIcon": 2131230983,
"m_SIGUID": -7140616135216297000,
"m_classType": "FlipDeviceTrigger",
"m_constraintList": [],
"m_isDisabled": false,
"m_isOrCondition": false
},
{
"m_screenOn": true,
"fakeIcon": 2131231017,
"m_SIGUID": -9048900857941629000,
"m_classType": "ScreenOnOffTrigger",
"m_constraintList": [],
"m_isDisabled": false,
"m_isOrCondition": false
}
]
},
{
"localVariables": [],
"m_GUID": -5239394262585735000,
"m_actionList": [
{
"m_GUID": -8488175240376223000,
"m_enable": true,
"m_macroName": "Podcast sleep mode",
"m_state": 2,
"m_SIGUID": -6429309529582710000,
"m_classType": "DisableMacroAction",
"m_constraintList": [],
"m_isDisabled": false,
"m_isOrCondition": false
},
{
"m_SIGUID": -7282193612566383000,
"m_classType": "IfConditionAction",
"m_constraintList": [
{
"m_enabled": true,
"m_macroIds": [
-8488175240376223000
],
"m_macroNames": [
"Podcast sleep mode"
],
"m_SIGUID": -6909703605404655000,
"m_classType": "MacroEnabledConstraint",
"m_constraintList": [],
"m_isDisabled": false,
"m_isOrCondition": false
}
],
"m_isDisabled": false,
"m_isOrCondition": false
},
{
"m_backgroundColor": -12434878,
"m_displayIcon": false,
"m_duration": 0,
"m_imageName": "launcher_no_border",
"m_imagePackageName": "com.arlosoft.macrodroid",
"m_imageResourceName": "launcher_no_border",
"m_messageText": "Podcast sleep mode enabled",
"m_position": 0,
"m_SIGUID": -5485463212678002000,
"m_classType": "ToastAction",
"m_constraintList": [],
"m_isDisabled": false,
"m_isOrCondition": false
},
{
"m_SIGUID": -5646418190998934000,
"m_classType": "EndIfAction",
"m_constraintList": [],
"m_isDisabled": false,
"m_isOrCondition": false
},
{
"m_SIGUID": -6794084047998164000,
"m_classType": "IfConditionAction",
"m_constraintList": [
{
"m_enabled": false,
"m_macroIds": [
-8488175240376223000
],
"m_macroNames": [
"Podcast sleep mode"
],
"m_SIGUID": -8080699354585155000,
"m_classType": "MacroEnabledConstraint",
"m_constraintList": [],
"m_isDisabled": false,
"m_isOrCondition": false
}
],
"m_isDisabled": false,
"m_isOrCondition": false
},
{
"m_backgroundColor": -12434878,
"m_displayIcon": false,
"m_duration": 0,
"m_imageName": "launcher_no_border",
"m_imagePackageName": "com.arlosoft.macrodroid",
"m_imageResourceName": "launcher_no_border",
"m_messageText": "Podcast sleep mode disabled",
"m_position": 0,
"m_SIGUID": -7971745160757238000,
"m_classType": "ToastAction",
"m_constraintList": [],
"m_isDisabled": false,
"m_isOrCondition": false
},
{
"m_SIGUID": -8468084768483228000,
"m_classType": "EndIfAction",
"m_constraintList": [],
"m_isDisabled": false,
"m_isOrCondition": false
}
],
"m_category": "Podcast sleep mode",
"m_constraintList": [],
"m_description": "",
"m_descriptionOpen": false,
"m_enabled": true,
"m_excludeLog": false,
"m_headingColor": 0,
"m_isOrCondition": false,
"m_name": "Toggle sleep mode",
"m_triggerList": [
{
"fakeIcon": 2131230983,
"m_SIGUID": -7833905815918759000,
"m_classType": "EmptyTrigger",
"m_constraintList": [],
"m_isDisabled": false,
"m_isOrCondition": false
}
]
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment