Magic Cards - Queue music, play movies, or trigger events with RFID cards

Do you know maybe how to write an automation in Home assistant, that a specific song will trigger a specific action?
like:
trigger:

  • platform: event
    event_type: magic_card_scanned
    event_data:
    card_type: song
    media_content_id: “{{ trigger.event.data.card_uri }}”
    action:
    if card_uri 1:
    • action1
      if card_uri 2:
    • action2
      .
      .
      .