# TScenarioRunResponse:
Features {
  Intent: "personal_assistant.scenarios.music_play"
}
Version: "trunk@******"
ContinueArguments {
  [type.googleapis.com/NAlice.NHollywoodFw.TProtoHwSceneCCAArguments] {
    ScenarioArgs {
      [type.googleapis.com/NAlice.NHollywood.TMusicArguments] {
        ExecutionFlowType: ThinClientDefault
        AccountStatus {
          Uid: "1083955728"
          HasPlus: true
          HasMusicSubscription: true
          MusicSubscriptionRegionId: 225
        }
        RadioRequest {
          StationIds: "genre:rock"
        }
        IoTUserInfo {
          RawUserInfo: "{\"payload\": {\"devices\": []}}"
        }
        IsNewContentRequestedByUser: true
      }
    }
    ProtoHwScene {
      OldFlowSelected: true
    }
  }
}

# TScenarioContinueResponse:
ResponseBody {
  Layout {
    Cards {
      Text: "Поняла. Для вас - рок."
    }
    OutputSpeech: "Поняла. Для вас - рок."
    Directives {
      AudioPlayDirective {
        Name: "music"
        Stream {
          Id: "33311009"
          Url: "https://storage.mds.yandex.net/get-alice/57236_6baeb0d3.107065400.1.33311009/2?sign=1dacee8595d07f39ce55b57353d468a446bda7bfd13cc4301aa1adcd3e81e1c5&ts=62a23093&offset=32059"
          StreamFormat: MP3
          Normalization {
            IntegratedLoudness: -6.58
            TruePeak: 1.49
          }
          ExpiringAtMs: 1654796435016
        }
        AudioPlayMetadata {
          Title: "Believer"
          SubTitle: "Imagine Dragons"
          ArtImageUrl: "avatars.yandex.net/get-music-content/98892/a6be0789.a.5568718-1/%%"
          GlagolMetadata {
            MusicMetadata {
              Id: "genre:rock"
              Type: Radio
              NextTrackInfo {
                Id: "23352493"
              }
              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: "albumId"
                                value {
                                  string_value: "5568718"
                                }
                              }
                              fields {
                                key: "batchId"
                                value {
                                  string_value: "5320ee70-34d6-53f5-9673-d0dabbadoo00.DqYY"
                                }
                              }
                              fields {
                                key: "context"
                                value {
                                  string_value: "radio"
                                }
                              }
                              fields {
                                key: "contextItem"
                                value {
                                  string_value: "genre:rock"
                                }
                              }
                              fields {
                                key: "from"
                                value {
                                  string_value: "alice-discovery-radio-genre"
                                }
                              }
                              fields {
                                key: "playId"
                                value {
                                  string_value: "osW88aP89eC8"
                                }
                              }
                              fields {
                                key: "radioSessionId"
                                value {
                                  string_value: "D5T7-uuByvXH3luNUdq-tMFw"
                                }
                              }
                              fields {
                                key: "trackId"
                                value {
                                  string_value: "33311009"
                                }
                              }
                              fields {
                                key: "uid"
                                value {
                                  string_value: "1083955728"
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                    values {
                      struct_value {
                        fields {
                          key: "radioFeedbackEvent"
                          value {
                            struct_value {
                              fields {
                                key: "radioSessionId"
                                value {
                                  string_value: "D5T7-uuByvXH3luNUdq-tMFw"
                                }
                              }
                              fields {
                                key: "stationId"
                                value {
                                  string_value: "genre:rock"
                                }
                              }
                              fields {
                                key: "type"
                                value {
                                  string_value: "RadioStarted"
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                    values {
                      struct_value {
                        fields {
                          key: "radioFeedbackEvent"
                          value {
                            struct_value {
                              fields {
                                key: "batchId"
                                value {
                                  string_value: "5320ee70-34d6-53f5-9673-d0dabbadoo00.DqYY"
                                }
                              }
                              fields {
                                key: "radioSessionId"
                                value {
                                  string_value: "D5T7-uuByvXH3luNUdq-tMFw"
                                }
                              }
                              fields {
                                key: "stationId"
                                value {
                                  string_value: "genre:rock"
                                }
                              }
                              fields {
                                key: "trackId"
                                value {
                                  string_value: "33311009:5568718"
                                }
                              }
                              fields {
                                key: "type"
                                value {
                                  string_value: "TrackStarted"
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
          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: "albumId"
                                value {
                                  string_value: "5568718"
                                }
                              }
                              fields {
                                key: "batchId"
                                value {
                                  string_value: "5320ee70-34d6-53f5-9673-d0dabbadoo00.DqYY"
                                }
                              }
                              fields {
                                key: "context"
                                value {
                                  string_value: "radio"
                                }
                              }
                              fields {
                                key: "contextItem"
                                value {
                                  string_value: "genre:rock"
                                }
                              }
                              fields {
                                key: "from"
                                value {
                                  string_value: "alice-discovery-radio-genre"
                                }
                              }
                              fields {
                                key: "playId"
                                value {
                                  string_value: "osW88aP89eC8"
                                }
                              }
                              fields {
                                key: "radioSessionId"
                                value {
                                  string_value: "D5T7-uuByvXH3luNUdq-tMFw"
                                }
                              }
                              fields {
                                key: "trackId"
                                value {
                                  string_value: "33311009"
                                }
                              }
                              fields {
                                key: "uid"
                                value {
                                  string_value: "1083955728"
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
          OnPlayFinishedCallback {
            Name: "music_thin_client_on_finished"
            IgnoreAnswer: true
            Payload {
              fields {
                key: "events"
                value {
                  list_value {
                    values {
                      struct_value {
                        fields {
                          key: "playAudioEvent"
                          value {
                            struct_value {
                              fields {
                                key: "albumId"
                                value {
                                  string_value: "5568718"
                                }
                              }
                              fields {
                                key: "batchId"
                                value {
                                  string_value: "5320ee70-34d6-53f5-9673-d0dabbadoo00.DqYY"
                                }
                              }
                              fields {
                                key: "context"
                                value {
                                  string_value: "radio"
                                }
                              }
                              fields {
                                key: "contextItem"
                                value {
                                  string_value: "genre:rock"
                                }
                              }
                              fields {
                                key: "from"
                                value {
                                  string_value: "alice-discovery-radio-genre"
                                }
                              }
                              fields {
                                key: "playId"
                                value {
                                  string_value: "osW88aP89eC8"
                                }
                              }
                              fields {
                                key: "radioSessionId"
                                value {
                                  string_value: "D5T7-uuByvXH3luNUdq-tMFw"
                                }
                              }
                              fields {
                                key: "trackId"
                                value {
                                  string_value: "33311009"
                                }
                              }
                              fields {
                                key: "uid"
                                value {
                                  string_value: "1083955728"
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                    values {
                      struct_value {
                        fields {
                          key: "radioFeedbackEvent"
                          value {
                            struct_value {
                              fields {
                                key: "batchId"
                                value {
                                  string_value: "5320ee70-34d6-53f5-9673-d0dabbadoo00.DqYY"
                                }
                              }
                              fields {
                                key: "radioSessionId"
                                value {
                                  string_value: "D5T7-uuByvXH3luNUdq-tMFw"
                                }
                              }
                              fields {
                                key: "stationId"
                                value {
                                  string_value: "genre:rock"
                                }
                              }
                              fields {
                                key: "trackId"
                                value {
                                  string_value: "33311009:5568718"
                                }
                              }
                              fields {
                                key: "type"
                                value {
                                  string_value: "TrackFinished"
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
          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: "albumId"
                                value {
                                  string_value: "5568718"
                                }
                              }
                              fields {
                                key: "batchId"
                                value {
                                  string_value: "5320ee70-34d6-53f5-9673-d0dabbadoo00.DqYY"
                                }
                              }
                              fields {
                                key: "context"
                                value {
                                  string_value: "radio"
                                }
                              }
                              fields {
                                key: "contextItem"
                                value {
                                  string_value: "genre:rock"
                                }
                              }
                              fields {
                                key: "from"
                                value {
                                  string_value: "alice-discovery-radio-genre"
                                }
                              }
                              fields {
                                key: "playId"
                                value {
                                  string_value: "osW88aP89eC8"
                                }
                              }
                              fields {
                                key: "radioSessionId"
                                value {
                                  string_value: "D5T7-uuByvXH3luNUdq-tMFw"
                                }
                              }
                              fields {
                                key: "trackId"
                                value {
                                  string_value: "33311009"
                                }
                              }
                              fields {
                                key: "uid"
                                value {
                                  string_value: "1083955728"
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
        ScenarioMeta {
          key: "content_id"
          value: "CAQSCmdlbnJlOnJvY2saCmdlbnJlOnJvY2s="
        }
        ScenarioMeta {
          key: "owner"
          value: "music"
        }
        ScenarioMeta {
          key: "queue_item"
          value: "CggzMzMxMTAwORoIQmVsaWV2ZXIyQmF2YXRhcnMueWFuZGV4Lm5ldC9nZXQtbXVzaWMtY29udGVudC85ODg5Mi9hNmJlMDc4OS5hLjU1Njg3MTgtMS8lJTq+AQqtAWh0dHBzOi8vc3RvcmFnZS5tZHMueWFuZGV4Lm5ldC9nZXQtYWxpY2UvNTcyMzZfNmJhZWIwZDMuMTA3MDY1NDAwLjEuMzMzMTEwMDkvMj9zaWduPTFkYWNlZTg1OTVkMDdmMzljZTU1YjU3MzUzZDQ2OGE0NDZiZGE3YmZkMTNjYzQzMDFhYTFhZGNkM2U4MWUxYzUmdHM9NjJhMjMwOTMmb2Zmc2V0PTMyMDU5EJq12Yb8LSDI/LbMlDBKDG9zVzg4YVA4OWVDOFCqvAyCAQVtdXNpY5oBqQEKBzU1Njg3MTgSBkV2b2x2ZRoEcm9jayoGNjc1MDY4MhkKD0ltYWdpbmUgRHJhZ29ucxoGNjc1MDY4OAFAAUpCYXZhdGFycy55YW5kZXgubmV0L2dldC1tdXNpYy1jb250ZW50Lzk4ODkyL2E2YmUwNzg5LmEuNTU2ODcxOC0xLyUlUhkKD0ltYWdpbmUgRHJhZ29ucxoGNjc1MDY4YgQIARABaOEPcJ4KqgEaCAQSCmdlbnJlOnJvY2saCmdlbnJlOnJvY2uyARIJUrgehetRGsAR16NwPQrX9z8="
        }
        ScreenType: Music
      }
    }
  }
  SemanticFrame {
    Name: "personal_assistant.scenarios.music_play"
    Slots {
      Name: "answer"
      Type: "music_result"
      AcceptedTypes: "music_result"
    }
  }
  State {
    [type.googleapis.com/NAlice.NHollywood.NMusic.TScenarioState] {
      Queue {
        PlaybackContext {
          ContentId {
            Type: Radio
            Id: "genre:rock"
            Ids: "genre:rock"
          }
          BiometryOptions {
            UserId: "1083955728"
          }
        }
        History {
          TrackId: "33311009"
          Title: "Believer"
          CoverUrl: "avatars.yandex.net/get-music-content/98892/a6be0789.a.5568718-1/%%"
          UrlInfo {
            Url: "https://storage.mds.yandex.net/get-alice/57236_6baeb0d3.107065400.1.33311009/2?sign=1dacee8595d07f39ce55b57353d468a446bda7bfd13cc4301aa1adcd3e81e1c5&ts=62a23093&offset=32059"
            UrlTime: 1579488271002
            ExpiringAtMs: 1654796435016
          }
          PlayId: "osW88aP89eC8"
          DurationMs: 204330
          Type: "music"
          TrackInfo {
            AlbumId: "5568718"
            AlbumTitle: "Evolve"
            Genre: "rock"
            ArtistId: "675068"
            Artists {
              Name: "Imagine Dragons"
              Id: "675068"
            }
            Available: true
            AvailableForPremiumUsers: true
            AlbumCoverUrl: "avatars.yandex.net/get-music-content/98892/a6be0789.a.5568718-1/%%"
            AlbumArtists {
              Name: "Imagine Dragons"
              Id: "675068"
            }
            LyricsInfo {
              HasAvailableSyncLyrics: true
              HasAvailableTextLyrics: true
            }
            AlbumYear: 2017
            AlbumLikes: 1310
          }
          OriginContentId {
            Type: Radio
            Id: "genre:rock"
            Ids: "genre:rock"
          }
          Normalization {
            IntegratedLoudness: -6.58
            TruePeak: 1.49
          }
        }
        Queue {
          TrackId: "23352493"
          Title: "Katie Queen of Tennessee"
          CoverUrl: "avatars.yandex.net/get-music-content/41288/4864f7b9.a.2901327-1/%%"
          DurationMs: 208330
          Type: "music"
          TrackInfo {
            AlbumId: "2901327"
            AlbumTitle: "The Apache Relay"
            Genre: "rock"
            ArtistId: "762316"
            Artists {
              Name: "The Apache Relay"
              Id: "762316"
            }
            Available: true
            AvailableForPremiumUsers: true
            AlbumCoverUrl: "avatars.yandex.net/get-music-content/41288/4864f7b9.a.2901327-1/%%"
            AlbumArtists {
              Name: "The Apache Relay"
              Id: "762316"
            }
            LyricsInfo {
              HasAvailableSyncLyrics: true
              HasAvailableTextLyrics: true
            }
            AlbumYear: 2015
            AlbumLikes: 13
          }
          OriginContentId {
            Type: Radio
            Id: "genre:rock"
            Ids: "genre:rock"
          }
          Normalization {
            IntegratedLoudness: -6.48
            TruePeak: 0.36
          }
        }
        Queue {
          TrackId: "24488819"
          Title: "New Person, Same Old Mistakes"
          CoverUrl: "avatars.yandex.net/get-music-content/28589/ed5a7b26.a.2856531-1/%%"
          DurationMs: 363230
          Type: "music"
          TrackInfo {
            AlbumId: "2856531"
            AlbumTitle: "Currents"
            Genre: "rock"
            ArtistId: "853465"
            Artists {
              Name: "Tame Impala"
              Id: "853465"
            }
            Available: true
            AvailableForPremiumUsers: true
            AlbumCoverUrl: "avatars.yandex.net/get-music-content/28589/ed5a7b26.a.2856531-1/%%"
            AlbumArtists {
              Name: "Tame Impala"
              Id: "853465"
            }
            LyricsInfo {
              HasAvailableSyncLyrics: true
              HasAvailableTextLyrics: true
            }
            AlbumYear: 2015
            AlbumLikes: 707
          }
          OriginContentId {
            Type: Radio
            Id: "genre:rock"
            Ids: "genre:rock"
          }
          Normalization {
            IntegratedLoudness: -8.47
            TruePeak: 0.45
          }
        }
        Queue {
          TrackId: "31581266"
          Title: "Running Up That Hill"
          CoverUrl: "avatars.yandex.net/get-music-content/98892/af6fc224.a.3830779-1/%%"
          DurationMs: 310910
          Type: "music"
          TrackInfo {
            AlbumId: "3830779"
            AlbumTitle: "A Place For Us To Dream"
            Genre: "rock"
            ArtistId: "36830"
            Artists {
              Name: "Placebo"
              Id: "36830"
            }
            Available: true
            AvailableForPremiumUsers: true
            AlbumCoverUrl: "avatars.yandex.net/get-music-content/98892/af6fc224.a.3830779-1/%%"
            AlbumArtists {
              Name: "Placebo"
              Id: "36830"
            }
            LyricsInfo {
              HasAvailableSyncLyrics: true
              HasAvailableTextLyrics: true
            }
            AlbumYear: 2016
            AlbumLikes: 538
          }
          OriginContentId {
            Type: Radio
            Id: "genre:rock"
            Ids: "genre:rock"
          }
          Normalization {
            IntegratedLoudness: -12.24
            TruePeak: 0.05
          }
        }
        Queue {
          TrackId: "98277635"
          Title: "Poison Tree"
          CoverUrl: "avatars.yandex.net/get-music-content/5531900/15375704.a.20386355-1/%%"
          DurationMs: 196890
          Type: "music"
          TrackInfo {
            AlbumId: "20386355"
            AlbumTitle: "Inca Ore / Grouper"
            Genre: "rock"
            ArtistId: "318466"
            Artists {
              Name: "Grouper"
              Id: "318466"
            }
            Available: true
            AvailableForPremiumUsers: true
            AlbumCoverUrl: "avatars.yandex.net/get-music-content/5531900/15375704.a.20386355-1/%%"
            AlbumArtists {
              Name: "Grouper"
              Id: "318466"
            }
            AlbumArtists {
              Name: "Inca Ore"
              Id: "356724"
            }
            LyricsInfo {
            }
            AlbumYear: 2008
            AlbumLikes: 53
          }
          OriginContentId {
            Type: Radio
            Id: "genre:rock"
            Ids: "genre:rock"
          }
          Normalization {
            IntegratedLoudness: -12.33
            TruePeak: -0.07
          }
        }
        CurrentContentLoadingState {
          Radio {
            BatchId: "5320ee70-34d6-53f5-9673-d0dabbadoo00.DqYY"
            SessionId: "D5T7-uuByvXH3luNUdq-tMFw"
          }
        }
        Config {
          PageSize: 20
          HistorySize: 10
          ExplicitFilteredOutWarningRate: 0.25
          FindTrackIdxPageSize: 10000
        }
        FiltrationMode: Moderate
      }
      BiometryUserId: "1083955728"
    }
  }
  AnalyticsInfo {
    Intent: "personal_assistant.scenarios.music_play"
    Actions {
      Id: "music_play"
      Name: "music play"
      HumanReadable: "Первый трек, который включится"
    }
    Objects {
      Id: "music.first_track_id"
      Name: "first_track_id"
      HumanReadable: "Imagine Dragons, трек \"Believer\""
      FirstTrack {
        Id: "33311009"
        Genre: "rock"
        Duration: "204330"
      }
    }
    Events {
      Timestamp: 1579488271002000
      MusicEvent {
        AnswerType: Filters
        Id: "genre:rock"
      }
    }
    Events {
      Timestamp: 1579488271002000
      MusicMonitoringEvent {
        BatchOfTracksRequested: true
      }
    }
    ProductScenarioName: "music"
    NlgRenderHistoryRecords {
      TemplateName: "music_play"
      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: "biometry_options"
                      value {
                        struct_value {
                          fields {
                            key: "user_id"
                            value {
                              string_value: "1083955728"
                            }
                          }
                        }
                      }
                    }
                    fields {
                      key: "content_id"
                      value {
                        struct_value {
                          fields {
                            key: "id"
                            value {
                              string_value: "genre:rock"
                            }
                          }
                          fields {
                            key: "ids"
                            value {
                              list_value {
                                values {
                                  string_value: "genre:rock"
                                }
                              }
                            }
                          }
                          fields {
                            key: "type"
                            value {
                              string_value: "Radio"
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
              fields {
                key: "radio"
                value {
                  struct_value {
                    fields {
                      key: "batch_id"
                      value {
                        string_value: "5320ee70-34d6-53f5-9673-d0dabbadoo00.DqYY"
                      }
                    }
                    fields {
                      key: "session_id"
                      value {
                        string_value: "D5T7-uuByvXH3luNUdq-tMFw"
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}
Version: "trunk@******"
