-
Notifications
You must be signed in to change notification settings - Fork 10
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
Try to guess season from episode names if directory does not contain it #68
Comments
Sorry about that! Can you give example filenames for which this happens? |
Use any path of an existing file or directory, it just can't contain any season $ touch foo
$ pythonbits foo -c tv -f description |
Is this for miniseries? Why does your directory not contain the season? (kb.php?id=30) From README.md:
|
I pm'd you an example. Generally speaking, relying on user input is just asking for disaster. If the expected I think "This doesn't make any sense, please confirm this input: ..." is the most |
This was fixed by my ugly
confirmed_guess
hack but is now an issue again after youreverted it.
As you said in the PR comment, this can be fixed by explicitly mentioning the season in
the
TITLE
argument, but the exception above leaves the user hanging with no informationwhat went wrong and what to do.
The text was updated successfully, but these errors were encountered: