`
xinlanzero
  • 浏览: 246284 次
  • 性别: Icon_minigender_1
  • 来自: 成都
社区版块
存档分类
最新评论

getID3() Drupal 6 Installation

    博客分类:
  • PHP
 
阅读更多

#D7CX: I pledge that GetID3 will have a full Drupal 7 release on the day that Drupal 7 is released.

The getID3() Drupal module facilitates the installation and management of the getID3() PHP library, used to extract useful information from MP3s and other multimedia file formats.

This API module is used by other modules to ensure that getID3() is correctly installed. Developers who need the getID3() functionality can make this a dependency by their module, and then call the getid3_load() function to properly use the getID3() library without having to worry about whether it's installed or not.

Drupal 6 Installation

Use drush:

drush en getid3

Or do it manually:

 

  1. Place the entire getid3 directory into your modules directory (sites/all/modules is the usual location).
  2. Create a new folder for the getID3 library at:
    cd YOUR-DRUPAL-ROOT
    mkdir -p sites/all/libraries/getid3
  3. Go to http://www.getid3.org/ and download the latest stable version (currently 1.7.9) into the new directory:
    cd sites/all/libraries/getid3
    wget "http://downloads.sourceforge.net/project/getid3/getID3%28%29%201.x/1.7.9/getid3-1.7.9.zip"
  4. Unzip the contents of the zip file into sites/all/modules/getid3/ so that write.php is located in sites/all/libraries/getid3/getid3/:
    unzip getid3-1.7.9.zip
  5. Delete the demos directory:
    rm -r demos/
  6. Go to Administer > Site building > Modules and enable the GetID3 module.
  7. Go to Administer > Settings > getID3. If you see the version you just downloaded, the module is installed correctly.
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics