Skip to content

Commit

Permalink
Added some new samples
Browse files Browse the repository at this point in the history
  • Loading branch information
sandreas committed Aug 27, 2022
1 parent a0c7a9c commit d891b7b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tone/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -174,10 +174,12 @@
.WithExample(new[] { "dump", "input.mp3" })
.WithExample(new[]
{
"dump", "audio-directory/", "--include-extension", "m4b", "--format", "ffmetadata",
"dump", "audio-directory/", "--include-extension", "m4b", "--include-extension", "mp3", "--format", "ffmetadata",
"--include-property",
"title", "--include-property", "artist"
})
.WithExample(new[] { "dump", "input.mp3", "--format", "json", "--query", "$.meta.album"})
;
config.AddCommand<TagCommand>("tag")
.WithDescription("tag files with metadata properties (directories are traversed recursively)")
Expand All @@ -195,6 +197,8 @@
"--path-pattern=\"audiobooks/%g/%a/%z/%n.m4b\"",
"audiobooks/", "--dry-run"
})
.WithExample(new[] { "tag", "input.mp3", "--script", "musicbrainz.js", "--script-tagger-parameter", "e2310769-2e68-462f-b54f-25ac8e3f1a21"})
;
/*config.AddCommand<SplitCommand>("split")
.WithDescription("split audio files")
Expand Down

0 comments on commit d891b7b

Please sign in to comment.