From f09601cce43a457772715575739ca6766fae2a14 Mon Sep 17 00:00:00 2001 From: Le Tuan Anh Date: Thu, 26 Aug 2021 14:27:42 +0800 Subject: [PATCH] clean up sample code --- docs/recipe_media.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/recipe_media.rst b/docs/recipe_media.rst index 48308b8..67aaec8 100644 --- a/docs/recipe_media.rst +++ b/docs/recipe_media.rst @@ -31,11 +31,11 @@ cutting ``test.wav`` from the beginning to 00:00:10 and write output to ``test_b cutting ``test.wav`` from 00:00:15 to the end of the file and write output to ``test_after15.ogg`` ->>> media.cut("test.wav", ELAN_DIR / "test_after15.ogg", from_ts="00:00:15") +>>> media.cut("test.wav", "test_after15.ogg", from_ts="00:00:15") cutting ``test.wav`` from 00:00:15 to 00:00:15 and write output to ``test_10-15.ogg`` ->>> media.cut(ELAN_DIR / "test.wav", ELAN_DIR / "test_10-15.ogg", from_ts="00:00:10", to_ts="00:00:15") +>>> media.cut("test.wav", "test_10-15.ogg", from_ts="00:00:10", to_ts="00:00:15") Using extra arguments ---------------------