Compare commits

...

3 Commits

Author SHA1 Message Date
Camille Flynn
4c0b54b8e1
Merge b8d6126d30 into e1b3fa242c 2024-07-28 01:36:49 +09:00
Camille Flynn
b8d6126d30
Improve wording (apply suggestions from code review)
Co-authored-by: dirkf <fieldhouse@gmx.net>
2023-06-21 20:16:43 +00:00
Camille Flynn
34df2cd4b7 Clarify: playlist-start/end options are inclusive
Edit the README.md and the help text to clarify that the number
specified for the --playlist-start and --playlist-end options when
downloading a playlist is inclusive
2022-11-02 10:45:21 +01:00
2 changed files with 6 additions and 6 deletions

View File

@ -128,10 +128,10 @@ Alternatively, refer to the [developer instructions](#developer-instructions) fo
CIDR notation
## Video Selection:
--playlist-start NUMBER Playlist video to start at (default is
1)
--playlist-end NUMBER Playlist video to end at (default is
last)
--playlist-start NUMBER Playlist index of first item to include (default
is 1)
--playlist-end NUMBER Playlist index of last item to include (default
is last)
--playlist-items ITEM_SPEC Playlist video items to download.
Specify indices of the videos in the
playlist separated by commas like: "--

View File

@ -256,11 +256,11 @@ def parseOpts(overrideArguments=None):
selection.add_option(
'--playlist-start',
dest='playliststart', metavar='NUMBER', default=1, type=int,
help='Playlist video to start at (default is %default)')
help='Playlist index of first item to include (default is %default)')
selection.add_option(
'--playlist-end',
dest='playlistend', metavar='NUMBER', default=None, type=int,
help='Playlist video to end at (default is last)')
help='Playlist index of last item to include (default is last)')
selection.add_option(
'--playlist-items',
dest='playlist_items', metavar='ITEM_SPEC', default=None,