Commit f829fce0 authored by Arthur Foelsche's avatar Arthur Foelsche

removing old files to reclaim the name space

parent 34ac5ca4
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>media</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
</buildSpec>
<natures>
</natures>
</projectDescription>
*******************************************************************************
D R U P A L M O D U L E
*******************************************************************************
Name: Media module
Authors: Robert Douglass -- rob *AT* robshouse /dot/ net
Alan Evans -- alanevans *AT* tiscali /dot/ de
Sponsored by Webs4.com
*******************************************************************************
INSTALLATION:
1. Copy the media folder and the file media/media.module to your druapl/modules directory.
Download the project getId3 version 1.7.2 from sourceforge.net (http://sourceforge.net/project/showfiles.php?group_id=55859&package_id=50965)
Place the getid3 folder in modules/media (default location) or a location of your choice.
If running Drupal on Windows you will also need supporting .exe files http://sourceforge.net/project/showfiles.php?group_id=55859&package_id=105260
2. If needed, patch the modules/upload.module file using the most recent attachment to http://drupal.org/node/18934. If that issue is marked FIXED, and you are using HEAD or Drupal 4.7, then you need not patch at all.
3. Create the database tables using the media.module.mysql.sql file. This module has only been tested with MySQL.
4. From your Drupal site, enable the media module in "administer > modules".
You will also need to enable the upload module to be able to attach files to nodes.
It is also recommended that you have menu module enabled, to have the option of enabling optional menu items provided by media module
5. On your Drupal site, go to "administer > settings > media". If you want to have the getId3 library in a differnt location, input the path to the getid3.php FILE (not the folder) and click "Update". Drupal will check the location of the library and if it succeeds, will show a list of supported types. Check the boxes of media types you wish to have media module handle and click update. The other setting on this page allows you to set the number of items that will be shown in the summaries of playlists that appear on the homepage.
6. You may at this point want to make the media module's link visible in the main menu. To do so, go to "administer > menus" and click the "enable" link for "multi-media", setting up the details for the menu item on the page that follows.
7. Don't forget to set up the appropriate permissions, which on the current version of Drupal is located under "administer > access control"
\ No newline at end of file
*******************************************************************************
D R U P A L M O D U L E
*******************************************************************************
Name: Media module
Authors: Robert Douglass -- Rob *AT* robshouse /dot/ net
Alan Evans -- alanevans *AT* tiscali /dot/ de
Last update: 19th February 2005
Drupal: 4.5.2, 4.6.0
Sponsored by Webs4.com
*******************************************************************************
Description
-----------
The media module recognises certain types of audio and video files (types set by the administrator) and analyses any metadata present in those files. This information is stored in a metadata database table, and can be viewed, allowing users with the right permissions to either stream or download audio or video files. The module also allows the creation of a new type of node - the playlist - from those files, which can then be played by clicking a play button, assuming the user has a media player installed.
Requirements
------------
Tested on Drupal versions 4.5.2 and 4.6.0
Tested using MySQL database only.
This module requires the GetID3 library pre version 2 (current version is at the time of writing 1.7.2), which is supplied in the media folder. Updates to this library are available from sourceforge.net The media module is not designed for operation with getid3 version 2 (currently beta)
Installation
------------
See INSTALL.txt
Getting Started
---------------
After following the installation instructions, the media file types that you specified in the admin section will be recognised automatically when you attach them to any node type that accepts attachments. You may need to alter site settings under "admin > settings" concerning file upload/download, and "administer > uploads" to set the maximum upload size.
Playlists can be created by clicking on the multi-media (or the name that you may have chosen for this item) link in the menu and clicking the "create playlist" subtab. Items are added to the paylist from the table by clicking "2pl" under "actions".
Alternatively, you can create a playlist by clicking "create content". Give the playlist a title to begin with and submit it. On the confirmation page, there is, in addition to the normal edit and view tabs also a "add/change content" tab. Clicking this tab takes you to the same table where you may select items to add to the playlist. Your changes are only added to your playlist when "save" is clicked.
Notes
-----
TODO
----
In preparation
Planned Features
----------------
In preparation
This diff is collapsed.
# phpMyAdmin SQL Dump
# version 2.5.7-pl1
# http://www.phpmyadmin.net
#
# Host: localhost
# Generation Time: Jan 28, 2005 at 11:09 PM
# Server version: 4.0.20
# PHP Version: 4.3.4
#
# Database : `fxy`
#
# --------------------------------------------------------
#
# Table structure for table `av_metadata`
#
CREATE TABLE `audio_metadata` (
`fid` int(10) unsigned NOT NULL default '0',
`fileformat` varchar(64) default NULL,
`audio_dataformat` varchar(64) default NULL,
`audio_channels` int(2) unsigned default NULL,
`audio_sample_rate` int(10) unsigned default NULL,
`audio_bitrate` int(10) unsigned default NULL,
`audio_channelmode` varchar(64) default NULL,
`audio_compression_ratio` varchar(64) default NULL,
`audio_codec` varchar(64) default NULL,
`audio_encoder` varchar(64) default NULL,
`id3_title` varchar(128) default NULL,
`id3_artist` varchar(128) default NULL,
`id3_album` varchar(128) default NULL,
`id3_comment` varchar(128) default NULL,
`id3_track` varchar(128) default NULL,
`id3_genre` varchar(128) default NULL,
`id3_year` varchar(128) default NULL,
`encoding` varchar(128) default NULL,
`playtime_seconds` varchar(128) default NULL,
`playtime_string` varchar(128) default NULL,
PRIMARY KEY (`fid`)
) TYPE=MyISAM;
CREATE TABLE `video_metadata` (
`fid` int(10) unsigned NOT NULL default '0',
`fileformat` varchar(64) default NULL,
`video_bitrate` int(10) unsigned default NULL,
`video_resolution_x` int(10) unsigned default NULL,
`video_resolution_y` int(10) unsigned default NULL,
`video_frame_rate` int(10) unsigned default NULL,
`video_pixel_aspect_ratio` int(2) unsigned default NULL,
`video_bits_per_sample` int(10) unsigned default NULL,
`video_codec` varchar(64) default NULL,
`video_compression_ratio` varchar(64) default NULL,
`encoding` varchar(128) default NULL,
`playtime_seconds` varchar(128) default NULL,
`playtime_string` varchar(128) default NULL,
PRIMARY KEY (`fid`)
) TYPE=MyISAM;
#
# Table structure for table `av_playlist`
#
CREATE TABLE `av_playlist` (
`nid` int(10) NOT NULL default '0',
`fid` int(10) NOT NULL default '0',
`next_fid` int(10) NOT NULL default '0',
KEY `nid` (`nid`)
) TYPE=MyISAM;
as of this writing, upload.module in core must be patched in order to use this module. Use the most recent patch posted to http://drupal.org/node/18934. If that issue is marked 'fixed' or 'closed' you may proceed without patching provided you are using Drupal HEAD or Drupal 4.7. For Drupal 4.6, you do have to patch.
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment