| Commit message (Collapse) | Author | Age | Lines |
|
|
|
|
|
|
|
| |
This commit introduces the "add" command which allows the user to create
watch_later entries manually. Make sure to silently ignore entries that
already exist - we'll print the entire list of entries subsequently
anyway. Also, make explicitly specifying "add" optional if there's any
remaining arguments in argv.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Upcoming commits will want to make use of bespoke argument handling
alongside subcommands and using Python's argparse proved unable to
easily handle that kind of complexity. Therefore switch to the more
basic getopt-based parser with which we can implement our own logic.
Without argparse we're no longer bound to having an autogenerated help
listing, so stop mentioning that in the manual. Instead have later(1)
output a concise usage listing when given an unknown argument.
Since we'll be adding more commands to later(1) in the future, also
specify an explicit "list" command.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Different video URLs can be easy to confuse in the output of later(1).
Look up titles for them in $XDG_CACHE_HOME/later/title.json and add an
option, --update-titles, to populate the file automatically using yt-dlp.
The title is prefixed with a hash sign (#) in order to better separate
it visually from the URLs, as well as to allow easier copypasting of
output onto an mpv command line.
|
|
|