Opened 15 years ago
Closed 15 years ago
#6574 closed defect (fixed)
tmdb.pl dies on movies without categories (genres)
Reported by: | Owned by: | Anduin Withers | |
---|---|---|---|
Priority: | minor | Milestone: | unknown |
Component: | Plugin - MythVideo | Version: | 0.21-fixes |
Severity: | low | Keywords: | tmdb.pl |
Cc: | Ticket locked: | no |
Description
tmdb.pl (v0.1.1) cannot handle a movie without a category.
It will die with a
Can't use string ("") as a HASH ref while "strict refs" in use at ./tmdb.pl line 172.
- movie with no category, The Andromeda Strain (2008)
/usr/share/mythtv/server/mythvideo/scripts/tmdb.pl -D 0424600
Attachments (1)
Change History (3)
Changed 15 years ago by
Attachment: | tmdb.pl_6574_v1.patch added |
---|
comment:1 Changed 15 years ago by
This is fixed with the attached patch. With no categories available, the categories has a value of instead of being a hashref. This checks for a reference first and only sets the value of @catlist if it's a reference.
Michelle
Note: See
TracTickets for help on using
tickets.
Proper handling of movies with no categories