Skip to content

Commit

Permalink
Bit of cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
alichtman committed Feb 6, 2024
1 parent 047a4c6 commit 79fc936
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "gopro-chaptered-video-assembler"
version = "0.5.0"
version = "0.5.1"
edition = "2021"
authors = ["Aaron Lichtman <aaronlichtman@gmail.com>"]
description = "Assembles all chaptered GoPro video files in a directory into 'complete' files."
Expand Down
9 changes: 3 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,11 @@ Debugging in VSCode works well.
## Example Usage

```bash
$ gopro-chaptered-video-assembler --input "/media/alichtman/Extreme SSD/Rock-Climbing/Gunks/High Exposure/" --output combined
$ gopro-chaptered-video-assembler --input "/media/alichtman/Extreme SSD/Rock-Climbing/Gunks/High Exposure/" --output output
╔═══════════════════════════════════════╗
║ gopro-chaptered-video-assembler 0.4.0
║ gopro-chaptered-video-assembler 0.5.1
╚═══════════════════════════════════════╝
01:49:33 [INFO] combined directory does not exist, attempting to create it now...
01:49:33 [INFO] /media/alichtman/Extreme SSD/Rock-Climbing/Gunks/High Exposure/combined directory exists, using it...
01:49:33 [INFO] Found 39 files in directory: /media/alichtman/Extreme SSD/Rock-Climbing/Gunks/High Exposure
01:49:33 [WARN] Failed to parse GoPro video file: combined is a directory
01:49:33 [INFO] Found 5 video(s) with 11 total chapters to combine
01:49:33 [INFO] {
7515: [
Expand Down Expand Up @@ -146,7 +143,7 @@ Proceed? (y/n)
...
```

The `combined` directory will be created in the current directory, and all output files will be found there.
The `output` directory will be created in the current directory, and all output files will be found there.

Additionally, paths with apostrophes (and theoretically other special characters) are supported:

Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ fn main() {
initialize_logging();
print_header();
let args = CliArgs::parse();
print!("{:#?}", args);
// print!("{:#?}", args);

// Canonicalize input path up front. We don't handle the output path until later to avoid creating the output path if the user cancels the operation.
let input_dir = args
Expand Down

0 comments on commit 79fc936

Please sign in to comment.