New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CLI broken on 2.1 rc4 #36
Comments
Hey @mapreri , The goal of the console is to allow the same actions as the gui. SubDownloader cli can now be started in 3 modes:
The cli interactive mode is, I believe, equivalent to the old cli mode of subdownloader. The current series of commands to download subtitles using the console is:
The logic behind the renaming argument options is that it shows what will be the file name base. |
That was from the reporter in the Debian bug, you should thank him!
The -c / -c -i / -c -C flags described sound like they're providing all necessary options, and would fix my use-case. But why don't -i and -C imply -c? I don't see how -g -i or -g -C would make sense.
I dislike the "--rename-video" flag because I'd expect it to rename a video. Quoting the -h output of subdownloader 2.1.0~rc4-1 for context:
While I see what you want to express, I'd argue that from a user POV, there's no renaming going on here at all (especially for the --rename-online case!): files currently on the filesystem are untouched, and some new files are created. How about calling them --name-online,--name-video,etc.? That avoids any implication that the user's (meta-)data might be at risk. And while I'm here, can I suggest to change the default? I think writing to an effectively random name is the least useful option for an average user. And since you wrote that the console command names are subject to change, I'd propose to rename
They're not operating on videos. They're operating on subtitles, so
should be just as clear, and easier to read and type. |
Indeed,
This naming convention makes sense. I guess I'll change it.
This seems reasonable. Using video+lang as default seems to be fine as a new default
The current console also support searching for subtitles by text using the
(there is some debug code in queryshow and a bug in querydownload) I would also like to add upload support to the console. |
I meant: I should not have to write
I tried with 2883ff9:
I'm not sure about the console, but I think the cli interface should simply be The --name-* options work and --name-lang is indeed the default, thanks! |
Per your suggestion:
The upload section is a WIP... |
Hi, Do you think it would be possible for you to cut a rc5 release? There have been quite a few changes since rc4 :) I also think this bug can be closed now, further improvements could be done through separate bugs (this is already messy enough as it is!) |
I think I'll do a 2.1.0 release and start 2.2.0-dev because I have some significant backend changes queued. |
that works as well :) ("the version is just a string", etc)
…On Thu, Oct 17, 2019 at 3:02 PM Anonymous Maarten ***@***.***> wrote:
I think I'll do a 2.1.0 release and start 2.2.0-dev because I have some
significant backend changes queued.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#36?email_source=notifications&email_token=AAL7FE76EBFWM3GDOYWGOMLQPBO5XA5CNFSM4INV5OI2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBQANKQ#issuecomment-543164074>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAL7FE33JJEWSCIO6HIXHELQPBO5XANCNFSM4INV5OIQ>
.
--
regards,
Mattia Rizzolo
GPG Key: 66AE 2B4A FCCF 3F52 DA18 4D18 4B04 3FCD B944 4540 .''`.
more about me: https://mapreri.org : :' :
Launchpad user: https://launchpad.net/~mapreri `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia `-
|
2.1.0 is available! I'm closing this issue. |
[ Forwarded from https://bugs.debian.org/933909 ]
Previously, I would call subdownloader as
subdownloader -c --rename-subs -l en -V .
, and it would automatically download english subs for all movies in the current directory. :)
Now, it just dumps me at a poorly documented interactive prompt:
I managed to use "filescan" to get it to scan the videos in the current directory, and "login" and "vidsearch" to possibly search for something.
I'm unable to figure out how to download subtitles, because there are "Number of subs to download: 0" according to "viddownload" , and "vidselect" just complains about "Value out of range." for every index I can think of.
Log attached
Version Info
Additional info
P.S.: Changing the option which names the newly downloaded subs according to the video filename from "--rename-subs" to
"--rename-video" seems really unfortunate.
The text was updated successfully, but these errors were encountered: