Skip to content

Commit

Permalink
Merge branch 'development' into feat/separate-seek-user-action
Browse files Browse the repository at this point in the history
  • Loading branch information
elpiel committed Jul 25, 2024
2 parents c81a78f + 8d3e3ec commit b9ab1aa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/models/meta_details.rs
Original file line number Diff line number Diff line change
Expand Up @@ -269,10 +269,10 @@ fn library_item_sync(library_item: &Option<LibraryItem>, profile: &Profile) -> E
///
/// 1. We find the first `MetaItem` that's successfully loaded from the addons.
/// 2. Selecting the video id for the stream request:
/// 2.1 If there's a `MetaItem.preview.behavior_hints.default_video_id`
/// we use it for the request
/// 2.2 If there's no `default_video_id` and no `MetaItem.videos` returned by the addon,
/// we use the `MetaItem.preview.id`
/// 2.1 If there's a `MetaItem.preview.behavior_hints.default_video_id`
/// we use it for the request
/// 2.2 If there's no `default_video_id` and no `MetaItem.videos` returned by the addon,
/// we use the `MetaItem.preview.id`
///
/// If we haven't found a suitable `video_id`, then we do not override the `Selected::stream_path`.
fn selected_guess_stream_update(
Expand Down
2 changes: 1 addition & 1 deletion src/types/resource/stream.rs
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ pub struct StreamProxyHeaders {
pub response: HashMap<String, String>,
}

/// See https://github.com/Stremio/stremio-addon-sdk/blob/master/docs/api/responses/stream.md#additional-properties-to-provide-information--behaviour-flags for documentation
/// See <https://github.com/Stremio/stremio-addon-sdk/blob/master/docs/api/responses/stream.md#additional-properties-to-provide-information--behaviour-flags> for documentation
#[derive(Default, Clone, PartialEq, Eq, Serialize, Deserialize, Debug)]
#[serde(rename_all = "camelCase")]
pub struct StreamBehaviorHints {
Expand Down

0 comments on commit b9ab1aa

Please sign in to comment.