Skip to content

Instantly share code, notes, and snippets.

@mskog
Created March 13, 2021 12:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mskog/4504fbc4e52df04f2221103bb8306c88 to your computer and use it in GitHub Desktop.
Save mskog/4504fbc4e52df04f2221103bb8306c88 to your computer and use it in GitHub Desktop.
{
"schema_version": 1,
"name": "Metacritic New Music",
"description": "No description provided",
"source_url": false,
"guid": "d8a2c221016d8a3bd805b1d8fd44bf67",
"tag_fg_color": "#ffffff",
"tag_bg_color": "#5bc0de",
"icon": "gear",
"exported_at": "2021-03-13T12:50:08Z",
"agents": [
{
"type": "Agents::DelayAgent",
"name": "Metacritic Music Delay",
"disabled": false,
"guid": "542af36a6865cfe5c7dcafe0ab07b821",
"options": {
"expected_receive_period_in_days": "10",
"max_events": "1000",
"keep": "newest",
"max_emitted_events": "1"
},
"schedule": "5am",
"keep_events_for": 0,
"propagate_immediately": false
},
{
"type": "Agents::WebhookAgent",
"name": "Metacritic Music Incoming",
"disabled": false,
"guid": "8bec0d75ce33c0a005b29eb9042a82f8",
"options": {
"secret": "<SECRET>",
"expected_receive_period_in_days": 1,
"payload_path": ".",
"event_headers": "",
"event_headers_key": "headers",
"score_threshold": 0.5
},
"keep_events_for": 604800
},
{
"type": "Agents::DataOutputAgent",
"name": "Metacritic Music Output",
"disabled": false,
"guid": "b2179f461609420a53c78e7de083c20c",
"options": {
"secrets": ["<SECRET>"],
"expected_receive_period_in_days": 2,
"template": {
"title": "Best new Music Albums",
"item": {
"title": "{{artist}} - {{album}}",
"link": "{{href}}",
"description": "<img alt=\"Album cover\" src=\" {{image}}\"></a><br /><br />{{spotify_url}}"
}
},
"ns_media": "true"
},
"propagate_immediately": false
}
],
"links": [
{
"source": 0,
"receiver": 2
},
{
"source": 1,
"receiver": 0
}
],
"control_links": []
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment