diff --git a/Cargo.lock b/Cargo.lock index aebdc41..164c69b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2299,7 +2299,7 @@ checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" [[package]] name = "stremio-core" version = "0.1.0" -source = "git+https://github.com/Stremio/stremio-core?branch=development#482f78511d64a1acfd5bb78c6d5ae06b5d5a644b" +source = "git+https://github.com/Stremio/stremio-core?branch=development#a36fd522fbfe9d5b30c5e14224a423fc944c8c0d" dependencies = [ "anyhow", "base64 0.22.1", @@ -2410,7 +2410,7 @@ dependencies = [ [[package]] name = "stremio-derive" version = "0.1.0" -source = "git+https://github.com/Stremio/stremio-core?branch=development#482f78511d64a1acfd5bb78c6d5ae06b5d5a644b" +source = "git+https://github.com/Stremio/stremio-core?branch=development#a36fd522fbfe9d5b30c5e14224a423fc944c8c0d" dependencies = [ "case", "proc-macro-crate", @@ -2440,7 +2440,7 @@ dependencies = [ [[package]] name = "stremio-watched-bitfield" version = "0.1.0" -source = "git+https://github.com/Stremio/stremio-core?branch=development#482f78511d64a1acfd5bb78c6d5ae06b5d5a644b" +source = "git+https://github.com/Stremio/stremio-core?branch=development#a36fd522fbfe9d5b30c5e14224a423fc944c8c0d" dependencies = [ "base64 0.13.1", "flate2", diff --git a/stremio-core-protobuf/proto/stremio/core/types/stream.proto b/stremio-core-protobuf/proto/stremio/core/types/stream.proto old mode 100644 new mode 100755 index abd99df..027abf7 --- a/stremio-core-protobuf/proto/stremio/core/types/stream.proto +++ b/stremio-core-protobuf/proto/stremio/core/types/stream.proto @@ -121,5 +121,6 @@ message StreamDeepLinks { optional string ios = 1; optional string macos = 2; optional string visionos = 3; + optional string tvos = 4; } } diff --git a/stremio-core-protobuf/proto/stremio/core/types/video.proto b/stremio-core-protobuf/proto/stremio/core/types/video.proto old mode 100644 new mode 100755 index d3cc1b7..17f1cde --- a/stremio-core-protobuf/proto/stremio/core/types/video.proto +++ b/stremio-core-protobuf/proto/stremio/core/types/video.proto @@ -46,5 +46,6 @@ message VideoDeepLinks { optional string ios = 1; optional string macos = 2; optional string visionos = 3; + optional string tvos = 4; } } \ No newline at end of file diff --git a/stremio-core-protobuf/src/bridge/stream.rs b/stremio-core-protobuf/src/bridge/stream.rs old mode 100644 new mode 100755 index d5c0813..814b877 --- a/stremio-core-protobuf/src/bridge/stream.rs +++ b/stremio-core-protobuf/src/bridge/stream.rs @@ -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::(&()), + 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::(&())), } } @@ -381,6 +397,7 @@ impl ToProtobuf for StreamDeepLinks { ios: core_op.ios.clone(), macos: core_op.macos.clone(), visionos: core_op.visionos.clone(), + tvos: core_op.tvos.clone(), } }), }, diff --git a/stremio-core-protobuf/src/model/fields/meta_details.rs b/stremio-core-protobuf/src/model/fields/meta_details.rs old mode 100644 new mode 100755 index 594404e..21566a0 --- a/stremio-core-protobuf/src/model/fields/meta_details.rs +++ b/stremio-core-protobuf/src/model/fields/meta_details.rs @@ -173,6 +173,7 @@ impl ToProtobuf for VideoDeepLinks { ios: core_op.ios.clone(), macos: core_op.macos.clone(), visionos: core_op.visionos.clone(), + tvos: core_op.tvos.clone(), }) }), },