# TScenarioRunResponse:
Features {
  Intent: "alice.music.fm_radio_play"
}
Version: "trunk@******"
ContinueArguments {
  [type.googleapis.com/NAlice.NHollywoodFw.TProtoHwSceneCCAArguments] {
    ScenarioArgs {
      [type.googleapis.com/google.protobuf.Empty] {
      }
    }
    ProtoHwScene {
      SceneArgs {
        Args {
          [type.googleapis.com/NAlice.NHollywoodFw.NMusic.TMusicScenarioSceneArgsFmRadio] {
            ExplicitRequest {
              FmRadioId: "chanson"
            }
            RequestStatus: OK
            CommonArgs {
              AccountStatus {
                Uid: "1083955728"
              }
            }
          }
        }
        SceneName: "fm_radio"
      }
      RunFeatures {
        Intent: "alice.music.fm_radio_play"
      }
    }
  }
}

# TScenarioContinueResponse:
ResponseBody {
  Layout {
    Cards {
      Text: "Я ещё не поймала эту волну. Но могу включить вам радио \"Вести фм\"."
    }
    OutputSpeech: "Я ещё не поймала эту волну. Но могу включить вам радио \"Вести фм\"."
    Directives {
      AudioPlayDirective {
        Name: "music"
        Stream {
          Id: "vesti_fm"
          Url: "https://strm.yandex.ru/fm/fm_vesti_fm/fm_vesti_fm0.m3u8"
          StreamFormat: HLS
          ExpiringAtMs: 18446744073709551615
        }
        AudioPlayMetadata {
          Title: "Вести фм"
          ArtImageUrl: "avatars.mds.yandex.net/get-music-misc/34161/vesti_fm-225/%%"
          GlagolMetadata {
            MusicMetadata {
              Id: "vesti_fm"
              Type: FmRadio
              Shuffled: false
              RepeatMode: None
            }
          }
        }
        Callbacks {
          OnPlayStartedCallback {
            Name: "music_thin_client_on_started"
            IgnoreAnswer: true
            Payload {
              fields {
                key: "events"
                value {
                  list_value {
                    values {
                      struct_value {
                        fields {
                          key: "playAudioEvent"
                          value {
                            struct_value {
                              fields {
                                key: "context"
                                value {
                                  string_value: "fm_radio"
                                }
                              }
                              fields {
                                key: "contextItem"
                                value {
                                  string_value: "vesti_fm"
                                }
                              }
                              fields {
                                key: "from"
                                value {
                                  string_value: "alice-on_demand-fm_radio-fm_radio"
                                }
                              }
                              fields {
                                key: "playId"
                                value {
                                  string_value: "G1peZKgSUot1"
                                }
                              }
                              fields {
                                key: "trackId"
                                value {
                                  string_value: "vesti_fm"
                                }
                              }
                              fields {
                                key: "uid"
                                value {
                                  string_value: "1083955728"
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
          OnPlayStoppedCallback {
            Name: "music_thin_client_on_stopped"
            IgnoreAnswer: true
            Payload {
              fields {
                key: "events"
                value {
                  list_value {
                    values {
                      struct_value {
                        fields {
                          key: "playAudioEvent"
                          value {
                            struct_value {
                              fields {
                                key: "context"
                                value {
                                  string_value: "fm_radio"
                                }
                              }
                              fields {
                                key: "contextItem"
                                value {
                                  string_value: "vesti_fm"
                                }
                              }
                              fields {
                                key: "from"
                                value {
                                  string_value: "alice-on_demand-fm_radio-fm_radio"
                                }
                              }
                              fields {
                                key: "playId"
                                value {
                                  string_value: "G1peZKgSUot1"
                                }
                              }
                              fields {
                                key: "trackId"
                                value {
                                  string_value: "vesti_fm"
                                }
                              }
                              fields {
                                key: "uid"
                                value {
                                  string_value: "1083955728"
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
          OnPlayFinishedCallback {
            Name: "music_thin_client_on_finished"
            IgnoreAnswer: true
            Payload {
            }
          }
          OnFailedCallback {
            Name: "music_thin_client_on_failed"
            IgnoreAnswer: true
            Payload {
              fields {
                key: "events"
                value {
                  list_value {
                    values {
                      struct_value {
                        fields {
                          key: "playAudioEvent"
                          value {
                            struct_value {
                              fields {
                                key: "context"
                                value {
                                  string_value: "fm_radio"
                                }
                              }
                              fields {
                                key: "contextItem"
                                value {
                                  string_value: "vesti_fm"
                                }
                              }
                              fields {
                                key: "from"
                                value {
                                  string_value: "alice-on_demand-fm_radio-fm_radio"
                                }
                              }
                              fields {
                                key: "playId"
                                value {
                                  string_value: "G1peZKgSUot1"
                                }
                              }
                              fields {
                                key: "trackId"
                                value {
                                  string_value: "vesti_fm"
                                }
                              }
                              fields {
                                key: "uid"
                                value {
                                  string_value: "1083955728"
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
        ScenarioMeta {
          key: "content_id"
          value: "CAYSCHZlc3RpX2Zt"
        }
        ScenarioMeta {
          key: "owner"
          value: "music"
        }
        ScenarioMeta {
          key: "queue_item"
          value: "Cgh2ZXN0aV9mbRoP0JLQtdGB0YLQuCDRhNC8MjthdmF0YXJzLm1kcy55YW5kZXgubmV0L2dldC1tdXNpYy1taXNjLzM0MTYxL3Zlc3RpX2ZtLTIyNS8lJTpNCjdodHRwczovL3N0cm0ueWFuZGV4LnJ1L2ZtL2ZtX3Zlc3RpX2ZtL2ZtX3Zlc3RpX2ZtMC5tM3U4EJi12Yb8LRgBIP///////////wFKDEcxcGVaS2dTVW90MVD/////B4IBCGZtX3JhZGlvqgEMCAYSCHZlc3RpX2ZtugFWCgh2ZXN0aV9mbRI3aHR0cHM6Ly9zdHJtLnlhbmRleC5ydS9mbS9mbV92ZXN0aV9mbS9mbV92ZXN0aV9mbTAubTN1OBgBIAEqBDk3LjY6ByMwMDAwRkY="
        }
        ScreenType: Music
      }
    }
  }
  State {
    [type.googleapis.com/NAlice.NHollywoodFw.TProtoHwFramework] {
      LastTimeUpdateStorage: 1579488271002
      ScenarioState {
        [type.googleapis.com/NAlice.NHollywood.NMusic.TScenarioState] {
          Queue {
            PlaybackContext {
              ContentId {
                Type: FmRadio
                Id: "vesti_fm"
              }
              ContentInfo {
              }
              BiometryOptions {
                UserId: "1083955728"
              }
            }
            History {
              TrackId: "vesti_fm"
              Title: "Вести фм"
              CoverUrl: "avatars.mds.yandex.net/get-music-misc/34161/vesti_fm-225/%%"
              UrlInfo {
                Url: "https://strm.yandex.ru/fm/fm_vesti_fm/fm_vesti_fm0.m3u8"
                UrlTime: 1579488271000
                UrlFormat: UrlFormatHls
                ExpiringAtMs: 18446744073709551615
              }
              PlayId: "G1peZKgSUot1"
              DurationMs: 2147483647
              Type: "fm_radio"
              OriginContentId {
                Type: FmRadio
                Id: "vesti_fm"
              }
              FmRadioInfo {
                FmRadioId: "vesti_fm"
                FmRadioStreamUrl: "https://strm.yandex.ru/fm/fm_vesti_fm/fm_vesti_fm0.m3u8"
                Active: true
                Available: true
                Frequency: "97.6"
                Color: "#0000FF"
              }
            }
            CurrentContentLoadingState {
              FmRadio {
              }
            }
            Config {
              PageSize: 20
              HistorySize: 10
              ExplicitFilteredOutWarningRate: 0.25
              FindTrackIdxPageSize: 10000
            }
            FiltrationMode: Moderate
          }
          BiometryUserId: "1083955728"
        }
      }
    }
  }
  AnalyticsInfo {
    Intent: "personal_assistant.scenarios.radio_play"
    Actions {
      Id: "radio_play"
      Name: "radio_play"
      HumanReadable: "Включается радио \"Вести фм\""
    }
    Events {
      MusicMonitoringEvent {
        BatchOfTracksRequested: true
      }
    }
    ProductScenarioName: "radio"
    NlgRenderHistoryRecords {
      TemplateName: "fm_radio"
      PhraseName: "render_result"
      Language: L_RUS
    }
  }
  StackEngine {
    Actions {
      NewSession {
      }
    }
    Actions {
      ResetAdd {
        Effects {
          Callback {
            Name: "music_thin_client_next"
          }
        }
        RecoveryAction {
          Callback {
            Name: "music_thin_client_recovery"
            Payload {
              fields {
                key: "playback_context"
                value {
                  struct_value {
                    fields {
                      key: "content_id"
                      value {
                        struct_value {
                          fields {
                            key: "id"
                            value {
                              string_value: "vesti_fm"
                            }
                          }
                          fields {
                            key: "type"
                            value {
                              string_value: "FmRadio"
                            }
                          }
                        }
                      }
                    }
                    fields {
                      key: "content_info"
                      value {
                        struct_value {
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}
Version: "trunk@******"
