Skip to content

Releases: tboothman/imdbphp

v2.6.0

03 May 17:20
Compare
Choose a tag to compare

Changes

  • Added ability to fetch metacritic rating and number of reviews. imdb::metacriticRating() and imdb::metacriticNumReviews()
  • An exception will be thrown if you have configured caching but the folder is not writeable. If you do not want caching usecache and storecache must be false.

Fixes

  • Fix top250 rank parsing

v2.5.0

25 Mar 19:23
Compare
Choose a tag to compare

Changes

  • Changed imdb_person::credits() to return an array for addons as the docblock already stated. It previously usually returned an empty string

Fixes

  • Fixed writing() credits for tv show #17
  • Handle a title with no cast #21
  • Fix rating parsing when using european languages
  • Remove usage of short array syntax

v2.4.1

02 Jan 14:17
Compare
Choose a tag to compare
  • 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

13 Dec 21:20
Compare
Choose a tag to compare
  • 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
)
  • Speed up poster parsing and fix errors on large pages. #8
  • Fix awards() where award has no recipients, no category or large notes. #11
  • Fix photo field in cast() results to correctly remove the resizing bit in the url

v2.3.6

21 Nov 20:38
Compare
Choose a tag to compare

Fix regexp for place of death parsing when no cause of death is given

v2.3.5

02 Nov 13:45
Compare
Choose a tag to compare
  • Fix goofs parsing. #4
  • Caching / requesting layer rewritten to be simpler and more modular. Cache files are different, so previously cached requests will be lost.
  • Remove some short array syntax to keep compatibility with older versions of PHP5 (added in 2.3.4)

v2.3.4

11 Oct 18:38
Compare
Choose a tag to compare
  • Fixes runtime() not always returning a value #1
  • ratings() now returns an int rather than a number formatted string
  • Fixes overview() having a synopsis link if synopsis was used
  • Removes unneeded constants used in config #2
  • Fixes http redirects not being followed properly #3