[mythtv-commits] Ticket #6264: Handle multiple movies in tmdb.pl, handle zero cast
MythTV
mythtv at cvs.mythtv.org
Sat Feb 14 07:20:35 UTC 2009
#6264: Handle multiple movies in tmdb.pl, handle zero cast
------------------------------------+---------------------------------------
Reporter: paul [at] planar.id.au | Owner: awithers
Type: defect | Status: new
Priority: minor | Milestone: unknown
Component: Plugin - MythVideo | Version: unknown
Severity: low | Mlocked: 0
------------------------------------+---------------------------------------
The tmdb.pl script has a couple of defects.
If there are multiple movies that match a imdb id, it fails to return
posters or movie data. This fix forces movie to always be treated as an
array, for posters it looks in all movies present to find a poster, for
movie info it wasn't as straight forward, so I always looked at the first
movie listed. A few test cases suggests tmdb puts the results with more
data at the top anyway.
Also fixed a defect where a movie with no cast would return an error.
Test cases:
- movie with two results - Emma:
/usr/share/mythtv/server/mythvideo/scripts/tmdb.pl -D 0116191
- movie with no cast - Eagles Hell Freezes Over
/usr/share/mythtv/server/mythvideo/scripts/tmdb.pl -D 0123815
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/6264>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list