mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Part 1 of 2 translation of ID3
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@250705 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
cbcee967b7
commit
0a88657f86
6 changed files with 54 additions and 51 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision: 1.2 $ -->
|
||||
<!-- $Revision: 1.3 $ -->
|
||||
<!-- Purpose: utilspec.audio -->
|
||||
<!-- Membership: pecl -->
|
||||
|
||||
|
@ -10,14 +10,14 @@
|
|||
<preface xml:id="intro.id3">
|
||||
&reftitle.intro;
|
||||
<para>
|
||||
These functions let you read and manipulate ID3 tags.
|
||||
ID3 tags are used in MP3 files to store title of the song, as well
|
||||
as information about the artist, album, genre, year and track
|
||||
number.
|
||||
Disse funktioner lader dig læse og manipulere ID3 tags.
|
||||
ID3 tags er ofte brugt i MP3 filer til at gemme sangens title og
|
||||
information så som artist, album, genre, år og afspilnings
|
||||
nummer.
|
||||
</para>
|
||||
<para>
|
||||
Since version 0.2 it is also possible to extract text frames from
|
||||
ID3 v2.2+ tags.
|
||||
Siden version 0.2 har det også været muligt at udpakke
|
||||
tekst rammer fra ID3 v2.2+ tags.
|
||||
</para>
|
||||
</preface>
|
||||
<!-- }}} -->
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
<?xml version='1.0' encoding='iso-8859-1'?>
|
||||
<!-- $Revision: 1.6 $ -->
|
||||
<!-- $Revision: 1.7 $ -->
|
||||
<appendix xml:id="id3.constants" xmlns="http://docbook.org/ns/docbook">
|
||||
<title>Predefined Constants</title>
|
||||
<para>
|
||||
Most of the id3 functions either let you specify
|
||||
or return a tag version. In order to specify the version
|
||||
please use on of these constants.
|
||||
De fleste ID3 funktioner lader dig specifikere eller
|
||||
returnere en tag version. For at bruge en specifik
|
||||
version så brug en af følgende konstanter.
|
||||
</para>
|
||||
<para>
|
||||
<variablelist>
|
||||
|
@ -16,9 +16,9 @@
|
|||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
<constant>ID3_V1_0</constant> is used if you are working with
|
||||
ID3 V1.0 tags. These tags may contain the fields title, artist,
|
||||
album, genre, year and comment.
|
||||
<constant>ID3_V1_0</constant> er brugt hvis du arbejder med
|
||||
ID3 V1.0 tags. Disse tags indeholder titel, artist, album,
|
||||
genre, år og kommentar.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -29,9 +29,9 @@
|
|||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
<constant>ID3_V1_1</constant> is used if you are working with
|
||||
ID3 V1.1 tags. These tags may all information contained in v1.0
|
||||
tags plus the track number.
|
||||
<constant>ID3_V1_1</constant> er brugt hvis du arbejder med
|
||||
ID3 V1.1 tags. Disse tags indeholder information kombineret
|
||||
med V1.0 tags plus afspilnings nummer.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -42,8 +42,8 @@
|
|||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
<constant>ID3_V2_1</constant> is used if you are working with
|
||||
ID3 V2.1 tags.
|
||||
<constant>ID3_V2_1</constant> er brugt hvis du arbejder med
|
||||
ID3 V2.1 tags.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -54,8 +54,8 @@
|
|||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
<constant>ID3_V2_2</constant> is used if you are working with
|
||||
ID3 V2.2 tags.
|
||||
<constant>ID3_V2_2</constant> er brugt hvis du arbejder med
|
||||
ID3 V2.2 tags.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -66,8 +66,8 @@
|
|||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
<constant>ID3_V2_3</constant> is used if you are working with
|
||||
ID3 V2.3 tags.
|
||||
<constant>ID3_V2_3</constant> er brugt hvis du arbejder med
|
||||
ID3 V2.3 tags.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -78,8 +78,8 @@
|
|||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
<constant>ID3_V2_4</constant> is used if you are working with
|
||||
ID3 V2.4 tags.
|
||||
<constant>ID3_V2_4</constant> er brugt hvis du arbejder med
|
||||
ID3 V2.4 tags.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -90,8 +90,8 @@
|
|||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
<constant>ID3_BEST</constant> is used if would like to let the id3 functions
|
||||
determine which tag version should be used.
|
||||
<constant>ID3_BEST</constant> er brugt hvis du vil lade id3 funktionerne
|
||||
bestemme hvilken tag version som skal bruges.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.4 $ -->
|
||||
<!-- $Revision: 1.5 $ -->
|
||||
<refentry xml:id="function.id3-get-frame-long-name" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>id3_get_frame_long_name</refname>
|
||||
<refpurpose>Get the long name of an ID3v2 frame</refpurpose>
|
||||
<refpurpose>Returner det lange navn for en ID3v2 ramme</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
|
@ -12,8 +12,8 @@
|
|||
<methodparam><type>string</type><parameter>frameId</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
<function>id3_get_frame_long_name</function> returns the long name for an
|
||||
ID3v2 frame.
|
||||
<function>id3_get_frame_long_name</function> returner det lange navn for
|
||||
en ID3v2 ramme.
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
|
@ -24,7 +24,7 @@
|
|||
<term><parameter>frameId</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
An ID3v2 frame
|
||||
En ID3v2 ramme
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -34,14 +34,14 @@
|
|||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Returns the frame long name or &false; on errors.
|
||||
Returner det lange ramme navn eller &false; ved fejl.
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title><function>id3_get_frame_long_name</function> example</title>
|
||||
<title><function>id3_get_frame_long_name</function> eksempel</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.5 $ -->
|
||||
<!-- $Revision: 1.6 $ -->
|
||||
<refentry xml:id="function.id3-get-frame-short-name" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>id3_get_frame_short_name</refname>
|
||||
<refpurpose>Get the short name of an ID3v2 frame</refpurpose>
|
||||
<refpurpose>Returner det korte navn for en ID3v2 ramme</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
|
@ -12,8 +12,8 @@
|
|||
<methodparam><type>string</type><parameter>frameId</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
<function>id3_get_frame_short_name</function> returns the short name for an
|
||||
ID3v2 frame.
|
||||
<function>id3_get_frame_short_name</function> returner det korte navn for
|
||||
en ID3v2 ramme.
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
|
@ -24,7 +24,7 @@
|
|||
<term><parameter>frameId</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
An ID3v2 frame
|
||||
En ID3v2 ramme.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -34,9 +34,12 @@
|
|||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Returns the frame short name or &false; on errors.
|
||||
Returner det korte ramme navn eller &false; ved fejl.
|
||||
</para>
|
||||
<para>
|
||||
Værdierne returneret af <function>id3_get_short_name</function> er brugt
|
||||
i array'et returneret af <function>id3_get_tag</function>.
|
||||
|
||||
The values returned by <function>id3_get_short_name</function> are used in the
|
||||
array returned by <function>id3_get_tag</function>.
|
||||
</para>
|
||||
|
@ -45,7 +48,7 @@
|
|||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title><function>id3_get_frame_short_name</function> example</title>
|
||||
<title><function>id3_get_frame_short_name</function> eksempel</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.7 $ -->
|
||||
<!-- $Revision: 1.8 $ -->
|
||||
<refentry xml:id="function.id3-get-genre-id" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>id3_get_genre_id</refname>
|
||||
<refpurpose>Get the id for a genre</refpurpose>
|
||||
<refpurpose>Returner id'et på en genre</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
|
@ -12,7 +12,7 @@
|
|||
<methodparam><type>string</type><parameter>genre</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
<function>id3_get_genre_id</function> returns the id for a genre.
|
||||
<function>id3_get_genre_id</function> returner id'et på en genre.
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
|
@ -23,7 +23,7 @@
|
|||
<term><parameter>genre</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
An integer ranging from 0 to 147
|
||||
En integer værdig fra 0 til 147
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -33,14 +33,14 @@
|
|||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
The genre id or &false; on errors.
|
||||
Genre id'et eller &false; ved fejl.
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title><function>id3_get_genre_id</function> example</title>
|
||||
<title><function>id3_get_genre_id</function> eksempel</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision: 1.2 $ -->
|
||||
<!-- $Revision: 1.3 $ -->
|
||||
|
||||
<chapter xml:id="id3.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
&reftitle.setup;
|
||||
|
@ -15,9 +15,9 @@
|
|||
<section xml:id="id3.installation">
|
||||
&reftitle.install;
|
||||
<para>
|
||||
id3 is part of PECL and can be installed using the PEAR installer.
|
||||
To compile PHP with id3 support, download the sourcecode, put it in
|
||||
php-src/ext/id3 and compile PHP using --enable-id3.
|
||||
id3 er en del af PECL og kan blive installeret via PEAR installer'en.
|
||||
For at kompiler PHP med id3 support, download kildekoden og put den i
|
||||
php-src/ext/id3 og kompiler PHP med --enable-id3.
|
||||
</para>
|
||||
</section>
|
||||
<!-- }}} -->
|
||||
|
|
Loading…
Reference in a new issue