Opened 12 years ago
Closed 12 years ago
#6474 closed defect (fixed)
Stops imdbpy.py from returning plots less than 10 words
Reported by: | Owned by: | Anduin Withers | |
---|---|---|---|
Priority: | minor | Milestone: | 0.22 |
Component: | Plugin - MythVideo | Version: | unknown |
Severity: | medium | Keywords: | imdbpy.py |
Cc: | Ticket locked: | no |
Description
imdbpy.py tries to return the smallest plot it can find. Unfortunately the current implementation can return single word plots. This patch rejects any plot less than 10 words and evaluates the smallest plot by word count rather than sting length.
Even though the version is marked 0.22 it may also be applicable to 0.21
Attachments (2)
Change History (5)
Changed 12 years ago by
Attachment: | imdbpy_plot.patch added |
---|
comment:1 Changed 12 years ago by
Component: | Contributed Scripts & Apps → Plugin - MythVideo |
---|---|
Owner: | changed from Isaac Richards to Anduin Withers |
Status: | new → assigned |
Changed 12 years ago by
Attachment: | imdbpy_plot_2.patch added |
---|
Added standarization of error message to stderr instead of stdout
comment:2 Changed 12 years ago by
An addition to the patch for plot:
Imdbpy.py has been changed to send error messages to stderr instead of stdout. Any script that uses imdbpy.py can mistaken an error message for output. With this patch imdbpy.py will be consistent with tmdb.pl and ttvdb.py in separating output (stdout) and error messages (stderr).
This patch replaces the previous patch.
Stops imdbpy.py from returning plots less than 10 words