# 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: "vocal:instrumental"
        }
        IoTUserInfo {
          RawUserInfo: "{\"payload\": {\"devices\": []}}"
        }
        IsNewContentRequestedByUser: true
      }
    }
    ProtoHwScene {
      OldFlowSelected: true
    }
  }
}

# TScenarioContinueResponse:
ResponseBody {
  Layout {
    Cards {
      Text: "Включаю."
    }
    OutputSpeech: "Включаю"
    Directives {
      AudioPlayDirective {
        Name: "music"
        Stream {
          Id: "9402222"
          Url: "https://storage.mds.yandex.net/get-alice/9872_215d401b.12029119.12.9402222/2?sign=d1b28288329b826c07604f151203ba1b7feee5b5a53e9ec9c66cd896beb98726&ts=62a230ca&offset=44119"
          StreamFormat: MP3
          Normalization {
            IntegratedLoudness: -9.85
            TruePeak: 0.31
          }
          ExpiringAtMs: 1654796490198
        }
        AudioPlayMetadata {
          Title: "Golden Light"
          SubTitle: "STRFKR"
          ArtImageUrl: "avatars.yandex.net/get-music-content/34131/49f421c5.a.995595-1/%%"
          GlagolMetadata {
            MusicMetadata {
              Id: "vocal:instrumental"
              Type: Radio
              NextTrackInfo {
                Id: "23932935"
              }
              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: "995595"
                                }
                              }
                              fields {
                                key: "batchId"
                                value {
                                  string_value: "e3894b30-2d49-5324-9040-33dabbadoo00.QomE"
                                }
                              }
                              fields {
                                key: "context"
                                value {
                                  string_value: "radio"
                                }
                              }
                              fields {
                                key: "contextItem"
                                value {
                                  string_value: "vocal:instrumental"
                                }
                              }
                              fields {
                                key: "from"
                                value {
                                  string_value: "alice-discovery-radio-vocal"
                                }
                              }
                              fields {
                                key: "playId"
                                value {
                                  string_value: "QS2JHgONujy0"
                                }
                              }
                              fields {
                                key: "radioSessionId"
                                value {
                                  string_value: "IuIy-Y1rrp0wckf4shC-0YaJ"
                                }
                              }
                              fields {
                                key: "trackId"
                                value {
                                  string_value: "9402222"
                                }
                              }
                              fields {
                                key: "uid"
                                value {
                                  string_value: "1083955728"
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                    values {
                      struct_value {
                        fields {
                          key: "radioFeedbackEvent"
                          value {
                            struct_value {
                              fields {
                                key: "radioSessionId"
                                value {
                                  string_value: "IuIy-Y1rrp0wckf4shC-0YaJ"
                                }
                              }
                              fields {
                                key: "stationId"
                                value {
                                  string_value: "vocal:instrumental"
                                }
                              }
                              fields {
                                key: "type"
                                value {
                                  string_value: "RadioStarted"
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                    values {
                      struct_value {
                        fields {
                          key: "radioFeedbackEvent"
                          value {
                            struct_value {
                              fields {
                                key: "batchId"
                                value {
                                  string_value: "e3894b30-2d49-5324-9040-33dabbadoo00.QomE"
                                }
                              }
                              fields {
                                key: "radioSessionId"
                                value {
                                  string_value: "IuIy-Y1rrp0wckf4shC-0YaJ"
                                }
                              }
                              fields {
                                key: "stationId"
                                value {
                                  string_value: "vocal:instrumental"
                                }
                              }
                              fields {
                                key: "trackId"
                                value {
                                  string_value: "9402222:995595"
                                }
                              }
                              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: "995595"
                                }
                              }
                              fields {
                                key: "batchId"
                                value {
                                  string_value: "e3894b30-2d49-5324-9040-33dabbadoo00.QomE"
                                }
                              }
                              fields {
                                key: "context"
                                value {
                                  string_value: "radio"
                                }
                              }
                              fields {
                                key: "contextItem"
                                value {
                                  string_value: "vocal:instrumental"
                                }
                              }
                              fields {
                                key: "from"
                                value {
                                  string_value: "alice-discovery-radio-vocal"
                                }
                              }
                              fields {
                                key: "playId"
                                value {
                                  string_value: "QS2JHgONujy0"
                                }
                              }
                              fields {
                                key: "radioSessionId"
                                value {
                                  string_value: "IuIy-Y1rrp0wckf4shC-0YaJ"
                                }
                              }
                              fields {
                                key: "trackId"
                                value {
                                  string_value: "9402222"
                                }
                              }
                              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: "995595"
                                }
                              }
                              fields {
                                key: "batchId"
                                value {
                                  string_value: "e3894b30-2d49-5324-9040-33dabbadoo00.QomE"
                                }
                              }
                              fields {
                                key: "context"
                                value {
                                  string_value: "radio"
                                }
                              }
                              fields {
                                key: "contextItem"
                                value {
                                  string_value: "vocal:instrumental"
                                }
                              }
                              fields {
                                key: "from"
                                value {
                                  string_value: "alice-discovery-radio-vocal"
                                }
                              }
                              fields {
                                key: "playId"
                                value {
                                  string_value: "QS2JHgONujy0"
                                }
                              }
                              fields {
                                key: "radioSessionId"
                                value {
                                  string_value: "IuIy-Y1rrp0wckf4shC-0YaJ"
                                }
                              }
                              fields {
                                key: "trackId"
                                value {
                                  string_value: "9402222"
                                }
                              }
                              fields {
                                key: "uid"
                                value {
                                  string_value: "1083955728"
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                    values {
                      struct_value {
                        fields {
                          key: "radioFeedbackEvent"
                          value {
                            struct_value {
                              fields {
                                key: "batchId"
                                value {
                                  string_value: "e3894b30-2d49-5324-9040-33dabbadoo00.QomE"
                                }
                              }
                              fields {
                                key: "radioSessionId"
                                value {
                                  string_value: "IuIy-Y1rrp0wckf4shC-0YaJ"
                                }
                              }
                              fields {
                                key: "stationId"
                                value {
                                  string_value: "vocal:instrumental"
                                }
                              }
                              fields {
                                key: "trackId"
                                value {
                                  string_value: "9402222:995595"
                                }
                              }
                              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: "995595"
                                }
                              }
                              fields {
                                key: "batchId"
                                value {
                                  string_value: "e3894b30-2d49-5324-9040-33dabbadoo00.QomE"
                                }
                              }
                              fields {
                                key: "context"
                                value {
                                  string_value: "radio"
                                }
                              }
                              fields {
                                key: "contextItem"
                                value {
                                  string_value: "vocal:instrumental"
                                }
                              }
                              fields {
                                key: "from"
                                value {
                                  string_value: "alice-discovery-radio-vocal"
                                }
                              }
                              fields {
                                key: "playId"
                                value {
                                  string_value: "QS2JHgONujy0"
                                }
                              }
                              fields {
                                key: "radioSessionId"
                                value {
                                  string_value: "IuIy-Y1rrp0wckf4shC-0YaJ"
                                }
                              }
                              fields {
                                key: "trackId"
                                value {
                                  string_value: "9402222"
                                }
                              }
                              fields {
                                key: "uid"
                                value {
                                  string_value: "1083955728"
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
        ScenarioMeta {
          key: "content_id"
          value: "CAQSEnZvY2FsOmluc3RydW1lbnRhbBoSdm9jYWw6aW5zdHJ1bWVudGFs"
        }
        ScenarioMeta {
          key: "owner"
          value: "music"
        }
        ScenarioMeta {
          key: "queue_item"
          value: "Cgc5NDAyMjIyGgxHb2xkZW4gTGlnaHQyQWF2YXRhcnMueWFuZGV4Lm5ldC9nZXQtbXVzaWMtY29udGVudC8zNDEzMS80OWY0MjFjNS5hLjk5NTU5NS0xLyUlOrwBCqsBaHR0cHM6Ly9zdG9yYWdlLm1kcy55YW5kZXgubmV0L2dldC1hbGljZS85ODcyXzIxNWQ0MDFiLjEyMDI5MTE5LjEyLjk0MDIyMjIvMj9zaWduPWQxYjI4Mjg4MzI5YjgyNmMwNzYwNGYxNTEyMDNiYTFiN2ZlZWU1YjVhNTNlOWVjOWM2NmNkODk2YmViOTg3MjYmdHM9NjJhMjMwY2Emb2Zmc2V0PTQ0MTE5EJq12Yb8LSDWq7rMlDBKDFFTMkpIZ09OdWp5MFCWoxGCAQVtdXNpY5oBmAEKBjk5NTU5NRIMTWlyYWNsZSBNaWxlGgRyb2NrKgY2NTExMDkyEAoGU1RSRktSGgY2NTExMDk4AUABSkFhdmF0YXJzLnlhbmRleC5uZXQvZ2V0LW11c2ljLWNvbnRlbnQvMzQxMzEvNDlmNDIxYzUuYS45OTU1OTUtMS8lJVIQCgZTVFJGS1IaBjY1MTEwOWICEAFo3Q9wCqoBKggEEhJ2b2NhbDppbnN0cnVtZW50YWwaEnZvY2FsOmluc3RydW1lbnRhbLIBEgkzMzMzM7MjwBHXo3A9CtfTPw=="
        }
        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: "vocal:instrumental"
            Ids: "vocal:instrumental"
          }
          BiometryOptions {
            UserId: "1083955728"
          }
        }
        History {
          TrackId: "9402222"
          Title: "Golden Light"
          CoverUrl: "avatars.yandex.net/get-music-content/34131/49f421c5.a.995595-1/%%"
          UrlInfo {
            Url: "https://storage.mds.yandex.net/get-alice/9872_215d401b.12029119.12.9402222/2?sign=d1b28288329b826c07604f151203ba1b7feee5b5a53e9ec9c66cd896beb98726&ts=62a230ca&offset=44119"
            UrlTime: 1579488271002
            ExpiringAtMs: 1654796490198
          }
          PlayId: "QS2JHgONujy0"
          DurationMs: 283030
          Type: "music"
          TrackInfo {
            AlbumId: "995595"
            AlbumTitle: "Miracle Mile"
            Genre: "rock"
            ArtistId: "651109"
            Artists {
              Name: "STRFKR"
              Id: "651109"
            }
            Available: true
            AvailableForPremiumUsers: true
            AlbumCoverUrl: "avatars.yandex.net/get-music-content/34131/49f421c5.a.995595-1/%%"
            AlbumArtists {
              Name: "STRFKR"
              Id: "651109"
            }
            LyricsInfo {
              HasAvailableTextLyrics: true
            }
            AlbumYear: 2013
            AlbumLikes: 10
          }
          OriginContentId {
            Type: Radio
            Id: "vocal:instrumental"
            Ids: "vocal:instrumental"
          }
          Normalization {
            IntegratedLoudness: -9.85
            TruePeak: 0.31
          }
        }
        Queue {
          TrackId: "23932935"
          Title: "Cloud Nine"
          CoverUrl: "avatars.yandex.net/get-music-content/33216/0c96e535.a.2775960-1/%%"
          DurationMs: 339690
          Type: "music"
          TrackInfo {
            AlbumId: "2775960"
            AlbumTitle: "Earth Not Above"
            Genre: "triphopgenre"
            ArtistId: "3667141"
            Artists {
              Name: "HÆLOS"
              Id: "3667141"
            }
            Available: true
            AvailableForPremiumUsers: true
            AlbumCoverUrl: "avatars.yandex.net/get-music-content/33216/0c96e535.a.2775960-1/%%"
            AlbumArtists {
              Name: "HÆLOS"
              Id: "3667141"
            }
            LyricsInfo {
              HasAvailableSyncLyrics: true
              HasAvailableTextLyrics: true
            }
            AlbumYear: 2015
            AlbumLikes: 13
          }
          OriginContentId {
            Type: Radio
            Id: "vocal:instrumental"
            Ids: "vocal:instrumental"
          }
          Normalization {
            IntegratedLoudness: -9.68
            TruePeak: -0.8
          }
        }
        Queue {
          TrackId: "461708"
          Title: "Lift Me Up"
          CoverUrl: "avatars.yandex.net/get-music-content/33216/b808d53b.a.47906-1/%%"
          DurationMs: 199290
          Type: "music"
          TrackInfo {
            AlbumId: "47906"
            AlbumTitle: "Hotel"
            Genre: "electronics"
            ArtistId: "27154"
            Artists {
              Name: "Moby"
              Id: "27154"
            }
            Available: true
            AvailableForPremiumUsers: true
            AlbumCoverUrl: "avatars.yandex.net/get-music-content/33216/b808d53b.a.47906-1/%%"
            AlbumArtists {
              Name: "Moby"
              Id: "27154"
            }
            LyricsInfo {
              HasAvailableSyncLyrics: true
              HasAvailableTextLyrics: true
            }
            AlbumYear: 2005
            AlbumLikes: 133
          }
          OriginContentId {
            Type: Radio
            Id: "vocal:instrumental"
            Ids: "vocal:instrumental"
          }
          Normalization {
            IntegratedLoudness: -10.52
            TruePeak: 0.64
          }
        }
        Queue {
          TrackId: "565123"
          Title: "Empathy"
          CoverUrl: "avatars.yandex.net/get-music-content/49876/cc2d6b61.a.60524-1/%%"
          DurationMs: 251160
          Type: "music"
          TrackInfo {
            AlbumId: "60524"
            AlbumTitle: "Crystal Castles (II)"
            Genre: "electronics"
            ArtistId: "49522"
            Artists {
              Name: "Crystal Castles"
              Id: "49522"
            }
            Available: true
            AvailableForPremiumUsers: true
            AlbumCoverUrl: "avatars.yandex.net/get-music-content/49876/cc2d6b61.a.60524-1/%%"
            AlbumArtists {
              Name: "Crystal Castles"
              Id: "49522"
            }
            LyricsInfo {
              HasAvailableTextLyrics: true
            }
            AlbumYear: 2010
            AlbumLikes: 431
          }
          OriginContentId {
            Type: Radio
            Id: "vocal:instrumental"
            Ids: "vocal:instrumental"
          }
          Normalization {
            IntegratedLoudness: -9.11
            TruePeak: 1.49
          }
        }
        Queue {
          TrackId: "23856627"
          Title: "River Flows in You"
          CoverUrl: "avatars.yandex.net/get-music-content/42108/6d307081.a.3034548-1/%%"
          DurationMs: 172510
          Type: "music"
          TrackInfo {
            AlbumId: "3034548"
            AlbumTitle: "Easy Listening Piano"
            Genre: "soundtrack"
            ArtistId: "3609329"
            Artists {
              Name: "Chris Snelling"
              Id: "3609329"
            }
            Available: true
            AvailableForPremiumUsers: true
            AlbumCoverUrl: "avatars.yandex.net/get-music-content/42108/6d307081.a.3034548-1/%%"
            AlbumArtists {
              Name: "Chris Snelling"
              Id: "3609329"
            }
            AlbumArtists {
              Name: "David Moore"
              Id: "126686"
            }
            LyricsInfo {
            }
            AlbumYear: 2015
            AlbumLikes: 104
          }
          OriginContentId {
            Type: Radio
            Id: "vocal:instrumental"
            Ids: "vocal:instrumental"
          }
          Normalization {
            IntegratedLoudness: -12.93
            TruePeak: -0.05
          }
        }
        CurrentContentLoadingState {
          Radio {
            BatchId: "e3894b30-2d49-5324-9040-33dabbadoo00.QomE"
            SessionId: "IuIy-Y1rrp0wckf4shC-0YaJ"
          }
        }
        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: "STRFKR, трек \"Golden Light\""
      FirstTrack {
        Id: "9402222"
        Genre: "rock"
        Duration: "283030"
      }
    }
    Events {
      Timestamp: 1579488271002000
      MusicEvent {
        AnswerType: Filters
        Id: "vocal:instrumental"
      }
    }
    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: "vocal:instrumental"
                            }
                          }
                          fields {
                            key: "ids"
                            value {
                              list_value {
                                values {
                                  string_value: "vocal:instrumental"
                                }
                              }
                            }
                          }
                          fields {
                            key: "type"
                            value {
                              string_value: "Radio"
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
              fields {
                key: "radio"
                value {
                  struct_value {
                    fields {
                      key: "batch_id"
                      value {
                        string_value: "e3894b30-2d49-5324-9040-33dabbadoo00.QomE"
                      }
                    }
                    fields {
                      key: "session_id"
                      value {
                        string_value: "IuIy-Y1rrp0wckf4shC-0YaJ"
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}
Version: "trunk@******"
