|
|
@ -305,16 +305,14 @@ def produce_playlist_continuation(id, index)
|
|
|
|
.try { |i| Protodec::Any.from_json(i) }
|
|
|
|
.try { |i| Protodec::Any.from_json(i) }
|
|
|
|
.try { |i| Base64.urlsafe_encode(i, padding: false) }
|
|
|
|
.try { |i| Base64.urlsafe_encode(i, padding: false) }
|
|
|
|
|
|
|
|
|
|
|
|
data_wrapper = {"1:varint" => request_count, "15:string" => "PT:#{data}"}
|
|
|
|
|
|
|
|
.try { |i| Protodec::Any.cast_json(i) }
|
|
|
|
|
|
|
|
.try { |i| Protodec::Any.from_json(i) }
|
|
|
|
|
|
|
|
.try { |i| Base64.urlsafe_encode(i) }
|
|
|
|
|
|
|
|
.try { |i| URI.encode_www_form(i) }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
object = {
|
|
|
|
object = {
|
|
|
|
"80226972:embedded" => {
|
|
|
|
"80226972:embedded" => {
|
|
|
|
"2:string" => plid,
|
|
|
|
"2:string" => plid,
|
|
|
|
"3:string" => data_wrapper,
|
|
|
|
"3:base64" => {
|
|
|
|
|
|
|
|
"1:varint" => request_count,
|
|
|
|
|
|
|
|
"15:string" => "PT:#{data}",
|
|
|
|
|
|
|
|
"104:embedded" => {"1:0:varint" => 0_i64},
|
|
|
|
|
|
|
|
},
|
|
|
|
"35:string" => id,
|
|
|
|
"35:string" => id,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
}
|
|
|
|
}
|
|
|
|