Releases: tboothman/imdbphp
Releases · tboothman/imdbphp
v2.6.0
Changes
- Added ability to fetch metacritic rating and number of reviews.
imdb::metacriticRating()
andimdb::metacriticNumReviews()
- An exception will be thrown if you have configured caching but the folder is not writeable. If you do not want caching
usecache
andstorecache
must be false.
Fixes
- Fix top250 rank parsing
v2.5.0
Changes
- Changed
imdb_person::credits()
to return an array for addons as the docblock already stated. It previously usually returned an empty string
Fixes
v2.4.1
- Add two extra fields to
cast()
.credited
indicates whether the actor was credited for that role or not.role_other
is an array of any other extra information put again the role, such as 'voice' or 'archive footage' #12 - Fix multiple roles per actor not showing in the 'role' field of
cast()
#14 - Fix link to movie overview page in the demo site. #13
v2.4.0
- Fix
cast()
parsing of role. The role field no longer contains anything other than the name of the role played. #10 - Added extra fields for number of episodes and years playing the role to
cast()
. One item in the result now looks something like:
array (
'imdb' => '0922035',
'name' => 'Dominic West', // Actor's name on imdb
'name_alias' => NULL, // Name credited to part
'role' => "Det. James 'Jimmy' McNulty",
'role_episodes' => 60, // Only applies to episodic titles. Will be NULL if not available
'role_start_year' => 2002, // Only applies to episodic titles. Will be NULL if not available
'role_end_year' => 2008, // Only applies to episodic titles. Will be NULL if not available
'thumb' => 'http://ia.media-imdb.com/images/M/MV5BMTY5NjQwNDY2OV5BMl5BanBnXkFtZTcwMjI2ODQ1MQ@@._V1_SY44_CR0,0,32,44_AL_.jpg',
'photo' => 'http://ia.media-imdb.com/images/M/MV5BMTY5NjQwNDY2OV5BMl5BanBnXkFtZTcwMjI2ODQ1MQ@@.jpg' // Fullsize image of actor
)