/[drupal]/contributions/sandbox/jamesandres/audio_external/README.txt
ViewVC logotype

Contents of /contributions/sandbox/jamesandres/audio_external/README.txt

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Tue Sep 11 23:03:09 2007 UTC (2 years, 2 months ago) by jamesandres
Branch: MAIN
CVS Tags: HEAD
File MIME type: text/plain
*** empty log message ***
1 audio_external.module
2 By James Andres
3
4 INSTALLATION:
5 Just turn it on :-)
6
7 USAGE:
8 Once the module is turned on, it should add an extra field to the audio
9 form. Use that new field, remote URL, to create audio nodes that don't
10 actually have an attached upload but are entirely linked to a remote
11 audio file.
12
13 ADVANCED USAGE:
14 This module provides a few API methods that other modules might find
15 useful. They are:
16 * _audio_external_get_remote_id3()
17 Get ID3 tags from a remote URL.
18 * curl_get_attributes()
19 Get's all kinds of useful information about
20 a remote file, including: file size, mime type, file name.
21 * url_exists()
22 Handy helper function that let's you know if a URL will return a 40X
23 error.
24 * audio_api_insert_remote_file()
25 Same as audio_api_insert(), except for remote files.
26 * audio_external_is_duplicate()
27 VERY handy function that figures out if a remote MP3 is already in the
28 database. Uses some fuzzy-logic to find similar files.
29 * _get_playtime_string() and _get_length_as_seconds()
30 Helper functions for dealing with playtime calculations.
31
32 CONTACT:
33 If you have any questions, feel free to contact me on Drupal.org at
34 http://drupal.org/user/33827.

  ViewVC Help
Powered by ViewVC 1.1.2