-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add filename
video param
#570
Conversation
@@ -860,7 +862,8 @@ fn subtitles_update<E: Env + 'static>( | |||
.extend_one( | |||
&VIDEO_SIZE_EXTRA_PROP, | |||
video_params.size.as_ref().map(|size| size.to_string()), | |||
), | |||
) | |||
.extend_one(&VIDEO_FILENAME_EXTRA_PROP, video_params.filename.to_owned()), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since this is going to be part of Stream.behaviourHints
object, maybe we should take from there?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that logic is in stremio-video
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tho that means that every client will have to duplicate this logic, extracting values from Stream.behaviourHints
and passing them via VideoParams
instead of core taking care of that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, every non js app :(
we can think of way to move that logic to rust
No description provided.