diff --git a/Cargo.lock b/Cargo.lock index 90d6392..a8efa56 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#9a827fdd6f319ba3c22a96436c5f61292cb24ff1" +source = "git+https://github.com/Stremio/stremio-core?branch=development#b5d3833f031f183b55b4db89d90a28e2fdd3d0fc" 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#9a827fdd6f319ba3c22a96436c5f61292cb24ff1" +source = "git+https://github.com/Stremio/stremio-core?branch=development#b5d3833f031f183b55b4db89d90a28e2fdd3d0fc" 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#9a827fdd6f319ba3c22a96436c5f61292cb24ff1" +source = "git+https://github.com/Stremio/stremio-core?branch=development#b5d3833f031f183b55b4db89d90a28e2fdd3d0fc" dependencies = [ "base64 0.13.1", "flate2", diff --git a/stremio-core-protobuf/proto/stremio/core/types/subtitle.proto b/stremio-core-protobuf/proto/stremio/core/types/subtitle.proto index ecc25b2..1c2b651 100644 --- a/stremio-core-protobuf/proto/stremio/core/types/subtitle.proto +++ b/stremio-core-protobuf/proto/stremio/core/types/subtitle.proto @@ -9,4 +9,5 @@ message Subtitle { required string lang = 2; required string url = 3; optional string name = 4; + optional string label = 5; } diff --git a/stremio-core-protobuf/src/bridge/subtitle.rs b/stremio-core-protobuf/src/bridge/subtitle.rs index c641e58..e83f4e0 100644 --- a/stremio-core-protobuf/src/bridge/subtitle.rs +++ b/stremio-core-protobuf/src/bridge/subtitle.rs @@ -9,6 +9,7 @@ impl FromProtobuf for types::Subtitle { id: self.id.clone(), lang: self.lang.to_string(), url: self.url.from_protobuf(), + label: self.label.clone(), } } } @@ -23,6 +24,7 @@ impl ToProtobuf> for Subtitles { lang: self.lang.to_string(), url: self.url.to_string(), name: addon_name.cloned(), + label: self.label.clone(), } } }