public function getInfo($getDownloadLinks=false)
	{
		try {
			if ($this->isPlaylist)
				return $this->getPlaylistInfo($getDownloadLinks);
			return $this->getVideoInfo($getDownloadLinks);
		} catch (YoutubeException $e) {
			throw $e;
		}
	}
public function getInfo($getDownloadLinks=false)
	{
		try {
			if ($this->isPlaylist)
				return $this->getPlaylistInfo($getDownloadLinks);
			return $this->getVideoInfo($getDownloadLinks);
		} catch (YoutubeException $e) {
			throw $e;
		}
	}
public function getInfo ( $ getDownloadLinks = false ) { try { if ( $ this -> isPlaylist ) return $ this -> getPlaylistInfo ( $ getDownloadLinks ) ; return $ this -> getVideoInfo ( $ getDownloadLinks ) ; } catch ( YoutubeException $ e ) { throw $ e ; } }
Gets information of Youtube video or playlist

@throws YoutubeException If Video ID or Playlist Id is wrong or not exists anymore or it's not viewable anyhow

@param bool $getDownloadLinks Also get download links and images for each video
@return object           Video's title, images, video length, download links, ... or Playlist's title, author, videos, ...
Gets information of Youtube video or playlist