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

# TScenarioContinueResponse:
ResponseBody {
  Layout {
    Cards {
      Text: "Вот, отлично подойдет для тренировки."
    }
    OutputSpeech: "Вот,.sil<[600]> отлично подойдет для тренировки."
    Directives {
      AudioPlayDirective {
        Name: "music"
        Stream {
          Id: "64271496"
          Url: "https://storage.mds.yandex.net/get-alice/42979_4322e226.96425214.6.64271496/2?sign=48c6b1e12684d6fa12b080d625e4dcd5dc436898037eaed890991c196e54a41d&ts=62a2309a&offset=32451"
          StreamFormat: MP3
          Normalization {
            IntegratedLoudness: -8.47
            TruePeak: 1.82
          }
          ExpiringAtMs: 1654796442177
        }
        AudioPlayMetadata {
          Title: "A Million on My Soul"
          SubTitle: "Alexiane"
          ArtImageUrl: "avatars.yandex.net/get-music-content/5559490/4e6e5dbe.a.18666160-1/%%"
          GlagolMetadata {
            MusicMetadata {
              Id: "activity:workout"
              Type: Radio
              NextTrackInfo {
                Id: "33311009"
              }
              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: "18666160"
                                }
                              }
                              fields {
                                key: "batchId"
                                value {
                                  string_value: "c222fe9e-2cbe-5df4-9acd-cddabbadoo00.JHri"
                                }
                              }
                              fields {
                                key: "context"
                                value {
                                  string_value: "radio"
                                }
                              }
                              fields {
                                key: "contextItem"
                                value {
                                  string_value: "activity:workout"
                                }
                              }
                              fields {
                                key: "from"
                                value {
                                  string_value: "alice-discovery-radio-activity"
                                }
                              }
                              fields {
                                key: "playId"
                                value {
                                  string_value: "n6goMNUcrjbs"
                                }
                              }
                              fields {
                                key: "radioSessionId"
                                value {
                                  string_value: "F4RJ-WmS3UdkNiZ450c-NW8J"
                                }
                              }
                              fields {
                                key: "trackId"
                                value {
                                  string_value: "64271496"
                                }
                              }
                              fields {
                                key: "uid"
                                value {
                                  string_value: "1083955728"
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                    values {
                      struct_value {
                        fields {
                          key: "radioFeedbackEvent"
                          value {
                            struct_value {
                              fields {
                                key: "radioSessionId"
                                value {
                                  string_value: "F4RJ-WmS3UdkNiZ450c-NW8J"
                                }
                              }
                              fields {
                                key: "stationId"
                                value {
                                  string_value: "activity:workout"
                                }
                              }
                              fields {
                                key: "type"
                                value {
                                  string_value: "RadioStarted"
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                    values {
                      struct_value {
                        fields {
                          key: "radioFeedbackEvent"
                          value {
                            struct_value {
                              fields {
                                key: "batchId"
                                value {
                                  string_value: "c222fe9e-2cbe-5df4-9acd-cddabbadoo00.JHri"
                                }
                              }
                              fields {
                                key: "radioSessionId"
                                value {
                                  string_value: "F4RJ-WmS3UdkNiZ450c-NW8J"
                                }
                              }
                              fields {
                                key: "stationId"
                                value {
                                  string_value: "activity:workout"
                                }
                              }
                              fields {
                                key: "trackId"
                                value {
                                  string_value: "64271496:18666160"
                                }
                              }
                              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: "18666160"
                                }
                              }
                              fields {
                                key: "batchId"
                                value {
                                  string_value: "c222fe9e-2cbe-5df4-9acd-cddabbadoo00.JHri"
                                }
                              }
                              fields {
                                key: "context"
                                value {
                                  string_value: "radio"
                                }
                              }
                              fields {
                                key: "contextItem"
                                value {
                                  string_value: "activity:workout"
                                }
                              }
                              fields {
                                key: "from"
                                value {
                                  string_value: "alice-discovery-radio-activity"
                                }
                              }
                              fields {
                                key: "playId"
                                value {
                                  string_value: "n6goMNUcrjbs"
                                }
                              }
                              fields {
                                key: "radioSessionId"
                                value {
                                  string_value: "F4RJ-WmS3UdkNiZ450c-NW8J"
                                }
                              }
                              fields {
                                key: "trackId"
                                value {
                                  string_value: "64271496"
                                }
                              }
                              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: "18666160"
                                }
                              }
                              fields {
                                key: "batchId"
                                value {
                                  string_value: "c222fe9e-2cbe-5df4-9acd-cddabbadoo00.JHri"
                                }
                              }
                              fields {
                                key: "context"
                                value {
                                  string_value: "radio"
                                }
                              }
                              fields {
                                key: "contextItem"
                                value {
                                  string_value: "activity:workout"
                                }
                              }
                              fields {
                                key: "from"
                                value {
                                  string_value: "alice-discovery-radio-activity"
                                }
                              }
                              fields {
                                key: "playId"
                                value {
                                  string_value: "n6goMNUcrjbs"
                                }
                              }
                              fields {
                                key: "radioSessionId"
                                value {
                                  string_value: "F4RJ-WmS3UdkNiZ450c-NW8J"
                                }
                              }
                              fields {
                                key: "trackId"
                                value {
                                  string_value: "64271496"
                                }
                              }
                              fields {
                                key: "uid"
                                value {
                                  string_value: "1083955728"
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                    values {
                      struct_value {
                        fields {
                          key: "radioFeedbackEvent"
                          value {
                            struct_value {
                              fields {
                                key: "batchId"
                                value {
                                  string_value: "c222fe9e-2cbe-5df4-9acd-cddabbadoo00.JHri"
                                }
                              }
                              fields {
                                key: "radioSessionId"
                                value {
                                  string_value: "F4RJ-WmS3UdkNiZ450c-NW8J"
                                }
                              }
                              fields {
                                key: "stationId"
                                value {
                                  string_value: "activity:workout"
                                }
                              }
                              fields {
                                key: "trackId"
                                value {
                                  string_value: "64271496:18666160"
                                }
                              }
                              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: "18666160"
                                }
                              }
                              fields {
                                key: "batchId"
                                value {
                                  string_value: "c222fe9e-2cbe-5df4-9acd-cddabbadoo00.JHri"
                                }
                              }
                              fields {
                                key: "context"
                                value {
                                  string_value: "radio"
                                }
                              }
                              fields {
                                key: "contextItem"
                                value {
                                  string_value: "activity:workout"
                                }
                              }
                              fields {
                                key: "from"
                                value {
                                  string_value: "alice-discovery-radio-activity"
                                }
                              }
                              fields {
                                key: "playId"
                                value {
                                  string_value: "n6goMNUcrjbs"
                                }
                              }
                              fields {
                                key: "radioSessionId"
                                value {
                                  string_value: "F4RJ-WmS3UdkNiZ450c-NW8J"
                                }
                              }
                              fields {
                                key: "trackId"
                                value {
                                  string_value: "64271496"
                                }
                              }
                              fields {
                                key: "uid"
                                value {
                                  string_value: "1083955728"
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
        ScenarioMeta {
          key: "content_id"
          value: "CAQSEGFjdGl2aXR5OndvcmtvdXQaEGFjdGl2aXR5OndvcmtvdXQ="
        }
        ScenarioMeta {
          key: "owner"
          value: "music"
        }
        ScenarioMeta {
          key: "queue_item"
          value: "Cgg2NDI3MTQ5NhoUQSBNaWxsaW9uIG9uIE15IFNvdWwyRWF2YXRhcnMueWFuZGV4Lm5ldC9nZXQtbXVzaWMtY29udGVudC81NTU5NDkwLzRlNmU1ZGJlLmEuMTg2NjYxNjAtMS8lJTq9AQqsAWh0dHBzOi8vc3RvcmFnZS5tZHMueWFuZGV4Lm5ldC9nZXQtYWxpY2UvNDI5NzlfNDMyMmUyMjYuOTY0MjUyMTQuNi42NDI3MTQ5Ni8yP3NpZ249NDhjNmIxZTEyNjg0ZDZmYTEyYjA4MGQ2MjVlNGRjZDVkYzQzNjg5ODAzN2VhZWQ4OTA5OTFjMTk2ZTU0YTQxZCZ0cz02MmEyMzA5YSZvZmZzZXQ9MzI0NTEQmrXZhvwtIMG0t8yUMEoMbjZnb01OVWNyamJzULzPDIIBBW11c2ljmgHLAQoIMTg2NjYxNjASDEludG8gVGhlIFN1bhoDcG9wKgc2MjY3MDkxMhMKCEFsZXhpYW5lGgc2MjY3MDkxMg4KBU1vc2VzGgUyNTQ0MzITCghFTVIzWUdVTBoHNjEwMTE2MTgBQAFKRWF2YXRhcnMueWFuZGV4Lm5ldC9nZXQtbXVzaWMtY29udGVudC81NTU5NDkwLzRlNmU1ZGJlLmEuMTg2NjYxNjAtMS8lJVITCghBbGV4aWFuZRoHNjI2NzA5MWIECAEQAWjlD3AOqgEmCAQSEGFjdGl2aXR5OndvcmtvdXQaEGFjdGl2aXR5OndvcmtvdXSyARIJcT0K16PwIMARH4XrUbge/T8="
        }
        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: "activity:workout"
            Ids: "activity:workout"
          }
          BiometryOptions {
            UserId: "1083955728"
          }
        }
        History {
          TrackId: "64271496"
          Title: "A Million on My Soul"
          CoverUrl: "avatars.yandex.net/get-music-content/5559490/4e6e5dbe.a.18666160-1/%%"
          UrlInfo {
            Url: "https://storage.mds.yandex.net/get-alice/42979_4322e226.96425214.6.64271496/2?sign=48c6b1e12684d6fa12b080d625e4dcd5dc436898037eaed890991c196e54a41d&ts=62a2309a&offset=32451"
            UrlTime: 1579488271002
            ExpiringAtMs: 1654796442177
          }
          PlayId: "n6goMNUcrjbs"
          DurationMs: 206780
          Type: "music"
          TrackInfo {
            AlbumId: "18666160"
            AlbumTitle: "Into The Sun"
            Genre: "pop"
            ArtistId: "6267091"
            Artists {
              Name: "Alexiane"
              Id: "6267091"
            }
            Artists {
              Name: "Moses"
              Id: "25443"
            }
            Artists {
              Name: "EMR3YGUL"
              Id: "6101161"
            }
            Available: true
            AvailableForPremiumUsers: true
            AlbumCoverUrl: "avatars.yandex.net/get-music-content/5559490/4e6e5dbe.a.18666160-1/%%"
            AlbumArtists {
              Name: "Alexiane"
              Id: "6267091"
            }
            LyricsInfo {
              HasAvailableSyncLyrics: true
              HasAvailableTextLyrics: true
            }
            AlbumYear: 2021
            AlbumLikes: 14
          }
          OriginContentId {
            Type: Radio
            Id: "activity:workout"
            Ids: "activity:workout"
          }
          Normalization {
            IntegratedLoudness: -8.47
            TruePeak: 1.82
          }
        }
        Queue {
          TrackId: "33311009"
          Title: "Believer"
          CoverUrl: "avatars.yandex.net/get-music-content/98892/a6be0789.a.5568718-1/%%"
          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: "activity:workout"
            Ids: "activity:workout"
          }
          Normalization {
            IntegratedLoudness: -6.58
            TruePeak: 1.49
          }
        }
        Queue {
          TrackId: "417672"
          Title: "I\'m Not Over"
          CoverUrl: "avatars.yandex.net/get-music-content/38044/44914123.a.1907529-1/%%"
          DurationMs: 201610
          Type: "music"
          TrackInfo {
            AlbumId: "1907529"
            AlbumTitle: "Coming To Terms"
            Genre: "pop"
            ArtistId: "128597"
            Artists {
              Name: "Carolina Liar"
              Id: "128597"
            }
            Available: true
            AvailableForPremiumUsers: true
            AlbumCoverUrl: "avatars.yandex.net/get-music-content/38044/44914123.a.1907529-1/%%"
            AlbumArtists {
              Name: "Carolina Liar"
              Id: "128597"
            }
            LyricsInfo {
              HasAvailableSyncLyrics: true
              HasAvailableTextLyrics: true
            }
            AlbumYear: 2008
            AlbumLikes: 10
          }
          OriginContentId {
            Type: Radio
            Id: "activity:workout"
            Ids: "activity:workout"
          }
          Normalization {
            IntegratedLoudness: -5.85
            TruePeak: 0.16
          }
        }
        Queue {
          TrackId: "17902234"
          Title: "Prayer in C"
          CoverUrl: "avatars.yandex.net/get-music-content/98892/4d50f05f.a.7687741-1/%%"
          DurationMs: 189380
          Type: "music"
          TrackInfo {
            AlbumId: "7687741"
            AlbumTitle: "Prayer in C"
            Genre: "dance"
            AlbumType: "single"
            ArtistId: "1185458"
            Artists {
              Name: "Robin Schulz"
              Id: "1185458"
            }
            Artists {
              Name: "Lilly Wood & The Prick"
              Id: "381015"
            }
            Available: true
            AvailableForPremiumUsers: true
            AlbumCoverUrl: "avatars.yandex.net/get-music-content/98892/4d50f05f.a.7687741-1/%%"
            AlbumArtists {
              Name: "Robin Schulz"
              Id: "1185458"
            }
            AlbumArtists {
              Name: "Lilly Wood & The Prick"
              Id: "381015"
            }
            LyricsInfo {
              HasAvailableSyncLyrics: true
              HasAvailableTextLyrics: true
            }
            AlbumYear: 2019
            AlbumLikes: 72
          }
          OriginContentId {
            Type: Radio
            Id: "activity:workout"
            Ids: "activity:workout"
          }
          Normalization {
            IntegratedLoudness: -8.25
            TruePeak: 0.96
          }
        }
        Queue {
          TrackId: "62897985"
          Title: "Clocks"
          CoverUrl: "avatars.yandex.net/get-music-content/2383988/46bf828b.a.9958995-1/%%"
          DurationMs: 179160
          Type: "music"
          TrackInfo {
            AlbumId: "9958995"
            AlbumTitle: "Clocks"
            Genre: "dance"
            AlbumType: "single"
            ArtistId: "2430405"
            Artists {
              Name: "Ian Storm"
              Id: "2430405"
            }
            Artists {
              Name: "Ron van den Beuken"
              Id: "515318"
            }
            Available: true
            AvailableForPremiumUsers: true
            AlbumCoverUrl: "avatars.yandex.net/get-music-content/2383988/46bf828b.a.9958995-1/%%"
            AlbumArtists {
              Name: "Ian Storm"
              Id: "2430405"
            }
            AlbumArtists {
              Name: "Ron van den Beuken"
              Id: "515318"
            }
            LyricsInfo {
              HasAvailableSyncLyrics: true
              HasAvailableTextLyrics: true
            }
            AlbumYear: 2020
            AlbumLikes: 24
          }
          OriginContentId {
            Type: Radio
            Id: "activity:workout"
            Ids: "activity:workout"
          }
          Normalization {
            IntegratedLoudness: -5.48
            TruePeak: 2.32
          }
        }
        CurrentContentLoadingState {
          Radio {
            BatchId: "c222fe9e-2cbe-5df4-9acd-cddabbadoo00.JHri"
            SessionId: "F4RJ-WmS3UdkNiZ450c-NW8J"
          }
        }
        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: "Alexiane, Moses, EMR3YGUL, трек \"A Million on My Soul\""
      FirstTrack {
        Id: "64271496"
        Genre: "pop"
        Duration: "206780"
      }
    }
    Events {
      Timestamp: 1579488271002000
      MusicEvent {
        AnswerType: Filters
        Id: "activity:workout"
      }
    }
    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: "activity:workout"
                            }
                          }
                          fields {
                            key: "ids"
                            value {
                              list_value {
                                values {
                                  string_value: "activity:workout"
                                }
                              }
                            }
                          }
                          fields {
                            key: "type"
                            value {
                              string_value: "Radio"
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
              fields {
                key: "radio"
                value {
                  struct_value {
                    fields {
                      key: "batch_id"
                      value {
                        string_value: "c222fe9e-2cbe-5df4-9acd-cddabbadoo00.JHri"
                      }
                    }
                    fields {
                      key: "session_id"
                      value {
                        string_value: "F4RJ-WmS3UdkNiZ450c-NW8J"
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}
Version: "trunk@******"
