sya

split youtube audio tracks, with an optional pyqt gui
git clone git://src.gearsix.net/sya
Log | Files | Refs | Atom | README

commit d6eeb385e65ea2a8a552b6620bc5450fc7d12b27
parent 575d6d36d7a1f2eff4ddfabfd7184e67495dd6ae
Author: gearsix <gearsix@tuta.io>
Date:   Fri,  4 Nov 2022 19:03:18 +0000

added dest for all argparser arguments

Diffstat:
Msya.py | 15++++++---------
1 file changed, 6 insertions(+), 9 deletions(-)

diff --git a/sya.py b/sya.py @@ -115,20 +115,17 @@ def parse_args(): parser.add_argument('tracklist', metavar='TRACKLIST', nargs='?', help='tracklist to split audio by') # options - parser.add_argument('-o', '--output', metavar='PATH', type=str, nargs='?', + parser.add_argument('-o', '--output', metavar='PATH', type=str, nargs='?', dest='output', help='specify the directory to write output files to (default: ./out)') - parser.add_argument('-f', '--format', type=str, nargs='?', default='mp3', + parser.add_argument('-f', '--format', type=str, nargs='?', default='mp3', dest='format', help='specify the --audio-format argument to pass to yt-dlp (default: mp3)') - parser.add_argument('-q', '--quality', type=str, nargs='?', default='320K', + parser.add_argument('-q', '--quality', type=str, nargs='?', default='320K', dest='quality', help='specify the --audio-quality argument to pass to yt-dlp (default: 320K)') - parser.add_argument('--yt-dlp', metavar='PATH', type=str, nargs='?', - default='yt-dlp', dest='youtubedl', + parser.add_argument('--yt-dlp', metavar='PATH', type=str, nargs='?', default='yt-dlp', dest='youtubedl', help='path of the "yt-dlp" binary to use') - parser.add_argument('--ffmpeg', metavar='PATH', type=str, nargs='?', - default='ffmpeg', dest='ffmpeg', + parser.add_argument('--ffmpeg', metavar='PATH', type=str, nargs='?', default='ffmpeg', dest='ffmpeg', help='path of the "ffmpeg" binary to use') - parser.add_argument('-k', '--keep', action='store_true', - default=False, + parser.add_argument('-k', '--keep', action='store_true', default=False, dest='keep', help='keep any files removed during processing (full video/audio file)') return parser.parse_args()