Remove stale TODOs.
This commit is contained in:
parent
b77d61bbe6
commit
75956dd1ff
@ -83,7 +83,6 @@ impl Tags {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO(wathiede): make strem an enum with the tag type stored in codec_type?
|
|
||||||
#[derive(Clone, Deserialize, Debug, Serialize)]
|
#[derive(Clone, Deserialize, Debug, Serialize)]
|
||||||
#[serde(tag = "codec_type")]
|
#[serde(tag = "codec_type")]
|
||||||
enum Stream {
|
enum Stream {
|
||||||
@ -180,7 +179,6 @@ pub struct SubtitleFormat {
|
|||||||
#[derive(Clone, Deserialize, Debug, Serialize)]
|
#[derive(Clone, Deserialize, Debug, Serialize)]
|
||||||
pub struct CompactMetadata {
|
pub struct CompactMetadata {
|
||||||
bit_rate: usize,
|
bit_rate: usize,
|
||||||
// TODO(wathiede): make this a custom Duration type that pretty prints H:M:S
|
|
||||||
pub duration: f32,
|
pub duration: f32,
|
||||||
filename: String,
|
filename: String,
|
||||||
format_name: String,
|
format_name: String,
|
||||||
@ -236,7 +234,6 @@ pub struct MovieLibrary {
|
|||||||
|
|
||||||
fn json_metadata_for_path<P: AsRef<Path> + AsRef<OsStr>>(path: P) -> Result<String, Error> {
|
fn json_metadata_for_path<P: AsRef<Path> + AsRef<OsStr>>(path: P) -> Result<String, Error> {
|
||||||
let mut cmd = Command::new("ffprobe");
|
let mut cmd = Command::new("ffprobe");
|
||||||
// TODO(wathiede): maybe add "-select_streams v"
|
|
||||||
cmd.args(&[
|
cmd.args(&[
|
||||||
"-v",
|
"-v",
|
||||||
"quiet",
|
"quiet",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user