-
Notifications
You must be signed in to change notification settings - Fork 44
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
Play Files From Attachments #244
base: main
Are you sure you want to change the base?
Conversation
cycle-five
commented
Jul 17, 2023
•
edited
Loading
edited
- | - |
---|---|
Issue | #246 |
Dependencies | ffprobe = "0.3.3", reqwest = "0.11.6" |
Decisions |
@cycle-five can you open an issue that this PR relates too? In that issue you could explain the rationale behind this feature. |
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.
The feature works and the fragmentation of URL parsing and playback seems rational. Consider this approval superficial though, as I'm no rust expert and can't attest to the implementation.
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.
Only a half review, need to pay some proper attention to play.rs
and file.rs
still.
@@ -35,58 +43,29 @@ pub enum Mode { | |||
Jump, | |||
} | |||
|
|||
#[derive(Clone)] | |||
#[derive(Clone, Debug)] |
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.
I assume we will change this once it is "ready"?
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.
I actually usually leave the Debug derive in because it provides a certain level of detail in logs, but I'll remove it if it's not idiomatic to have in production code.
Co-authored-by: Afonso Jorge Ramos <afonsojorgeramos@gmail.com>