Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions stremio-core-protobuf/proto/stremio/core/types/stream.proto
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -121,5 +121,6 @@ message StreamDeepLinks {
optional string ios = 1;
optional string macos = 2;
optional string visionos = 3;
optional string tvos = 4;
}
}
1 change: 1 addition & 0 deletions stremio-core-protobuf/proto/stremio/core/types/video.proto
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,6 @@ message VideoDeepLinks {
optional string ios = 1;
optional string macos = 2;
optional string visionos = 3;
optional string tvos = 4;
}
}
19 changes: 18 additions & 1 deletion stremio-core-protobuf/src/bridge/stream.rs
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,23 @@ impl
video_hash: self.behavior_hints.video_hash.to_owned(),
video_size: self.behavior_hints.video_size,
},
deep_links: deep_links.to_protobuf::<E>(&()),
deep_links: types::StreamDeepLinks {
player: deep_links.player,
external_player: types::stream_deep_links::ExternalPlayerLink {
download: deep_links.external_player.download,
streaming: deep_links.external_player.streaming,
open_player: deep_links
.external_player
.open_player
.as_ref()
.map(|core_op| types::stream_deep_links::OpenPlayerLink {
ios: core_op.ios.clone(),
macos: core_op.macos.clone(),
visionos: core_op.visionos.clone(),
tvos: core_op.tvos.clone(),
}),
},
},
source: Some(self.source.to_protobuf::<E>(&())),
}
}
Expand Down Expand Up @@ -381,6 +397,7 @@ impl ToProtobuf<types::StreamDeepLinks, ()> for StreamDeepLinks {
ios: core_op.ios.clone(),
macos: core_op.macos.clone(),
visionos: core_op.visionos.clone(),
tvos: core_op.tvos.clone(),
}
}),
},
Expand Down
1 change: 1 addition & 0 deletions stremio-core-protobuf/src/model/fields/meta_details.rs
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ impl ToProtobuf<types::VideoDeepLinks, ()> for VideoDeepLinks {
ios: core_op.ios.clone(),
macos: core_op.macos.clone(),
visionos: core_op.visionos.clone(),
tvos: core_op.tvos.clone(),
})
}),
},
Expand Down