Refletir Status do teal.fm

Sempre que @vicwalker.dev.br tiver ouvindo música com teal.fm, copiar os dados para @status.vicwalker.dev.br

fm.teal.actor.status
Lexicon
fm.teal.actor.status
Operations
Record created, Record updated

Steps (2)

Conditiongate
  • Continue only if event.did equals did:plc:fip3nyk6tjo3senpq4ei2cxw - @vicwalker.dev.br DID

Update a recordAction 1mirrorStatus

Target Collection
fm.teal.actor.status
Base Record URI
at://{{self}}/fm.teal.actor.status/self
Update mode
Shallow merge
Patch Template
{
  "item": {
    "$type": "fm.teal.feed.defs#playView",
    "artists": [
      {
        "$type": "fm.teal.feed.defs#artist",
        "artistMbId": "{{event.commit.record.item.artists.0.artistMbId}}",
        "artistName": "{{event.commit.record.item.artists.0.artistName}}"
      }
    ],
    "duration": {{event.commit.record.item.duration}},
    "originUri": "{{event.commit.record.item.originUri}}",
    "trackMbId": "{{event.commit.record.item.trackMbId}}",
    "trackName": "{{event.commit.record.item.trackName}}",
    "playedTime": "{{event.commit.record.item.playedTime}}",
    "releaseMbId": "{{event.commit.record.item.releaseMbId}}",
    "releaseName": "{{event.commit.record.item.releaseName}}",
    "recordingMbId": "{{event.commit.record.item.recordingMbId}}",
    "musicServiceUri": "{{event.commit.record.item.musicServiceUri}}",
    "submissionClientAgent": "airglow.run/1.0"
  },
  "time": "{{event.commit.record.time}}",
  "expiry": "{{event.commit.record.expiry}}"
}