Id3 Tag Correction and Downloading 1.0 (Default branch)


 
Thread Tools Search this Thread
Special Forums News, Links, Events and Announcements Software Releases - RSS News Id3 Tag Correction and Downloading 1.0 (Default branch)
# 1  
Old 06-23-2008
Id3 Tag Correction and Downloading 1.0 (Default branch)

Id3 Tag Correction and Downloading is a PHP classthat can be used to correct tags of MP3 tags ofmusic with records stored in a MySQL database. Itscans a MySQL database table with informationabout music albums to see which albums do not yethave the associated ID3 tags. The class accessesthe Web services APIs of sites likeaudioscrobbler.com, last.fm, lyricwiki.org, andlyricsfly.com to correct the pending music tagsand get other details about the stored music.Image

More...
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

To search for a particular tag in xml and collate all similar tag values and display them count

I want to basically do the below thing. Suppose there is a tag called object1. I want to display an output for all similar tag values under heading of Object 1 and the count of the xmls. Please help File: <xml><object1>house</object1><object2>child</object2>... (9 Replies)
Discussion started by: srkmish
9 Replies

2. Shell Programming and Scripting

XML Parse between to tag with upper tag

Hi Guys Here is my Input : <?xml version="1.0" encoding="UTF-8"?> <xn:MeContext id="01736"> <xn:VsDataContainer id="01736"> <xn:attributes> <xn:vsDataType>vsDataMeContext</xn:vsDataType> ... (12 Replies)
Discussion started by: pareshkp
12 Replies

3. Shell Programming and Scripting

While loop correction

I am checking if ssh is working fine on remote server proceed for next step until keep check ssh port, below is shell script. #!/bin/bash MON="SSH" x=1 while do echo "SSH Checking Status" nc 192.168.1.20 -w 2 done (3 Replies)
Discussion started by: learnbash
3 Replies

4. Shell Programming and Scripting

Search for a html tag and print the entire tag

I want to print from <fruits> to </fruits> tag which have <fruit> as mango. Also i want both <fruits> and </fruits> in output. Please help eg. <fruits> <fruit id="111">mango<fruit> . another 20 lines . </fruits> (3 Replies)
Discussion started by: Ashik409
3 Replies

5. Shell Programming and Scripting

How to retrieve the value from XML tag whose end tag is in next line

Hi All, Find the following code: <Universal>D38x82j1JJ </Universal> I want to retrieve the value of <Universal> tag as below: Please help me. (3 Replies)
Discussion started by: mjavalkar
3 Replies

6. Shell Programming and Scripting

ID3 tagging script

I'm trying to get a little script working with DropScript 0.5 that edits the ID3 tags of an MP3. Here's what I've got: #!/bin/sh # Strip directory part but leave extension. in_base=`basename "$@"` # Strip extension. in_noext=`echo "$in_base" | sed 's/\.*$//'` /opt/local/bin/id3v2... (4 Replies)
Discussion started by: SimonDorfman
4 Replies
Login or Register to Ask a Question
ID3_SET_TAG(3)								 1							    ID3_SET_TAG(3)

id3_set_tag - Update information stored in an ID3 tag

SYNOPSIS
bool id3_set_tag (string $filename, array $tag, [int $version = ID3_V1_0]) DESCRIPTION
id3_set_tag(3) is used to change the information stored of an ID3 tag. If no tag has been present, it will be added to the file. PARAMETERS
o $filename - The path to the MP3 file Instead of a filename you may also pass a valid stream resource o $tag - An associative array of tag keys and values The following keys may be used in the associative array: Keys in the associative array +--------+--------------------------------------+---+ | key | | | | | | | | | possible value | | | | | | | | available in version | | | | | | +--------+--------------------------------------+---+ | title | | | | | | | | | string with maximum of 30 characters | | | | | | | | v1.0, v1.1 | | | | | | |artist | | | | | | | | | string with maximum of 30 characters | | | | | | | | v1.0, v1.1 | | | | | | | album | | | | | | | | | string with maximum of 30 characters | | | | | | | | v1.0, v1.1 | | | | | | | year | | | | | | | | | 4 digits | | | | | | | | v1.0, v1.1 | | | | | | | genre | | | | | | | | | integer value between 0 and 147 | | | | | | | | v1.0, v1.1 | | | | | | |comment | | | | | | | | | string with maximum of 30 characters | | | | (28 in v1.1) | | | | | | | | v1.0, v1.1 | | | | | | | track | | | | | | | | | integer between 0 and 255 | | | | | | | | v1.1 | | | | | | +--------+--------------------------------------+---+ o $version - Allows you to specify the version of the tag as MP3 files may contain both, version 1.x and version 2.x tags RETURN VALUES
Returns TRUE on success or FALSE on failure. EXAMPLES
Example #1 id3_set_tag(3) example <?php $data = array( "title" => "Re:Start", "artist" => "Re:Legion", "comment" => "A nice track" ); $result = id3_set_tag( "path/to/example.mp3", $data, ID3_V1_0 ); if ($result === true) { echo "Tag successfully updated "; } ?> If the file is writable, this will output: Tag successfully updated NOTES
Note Currently id3_set_tag(3) only supports version 1.0 and 1.1. SEE ALSO
id3_remove_tag(3), id3_get_tag(3), id3_get_version(3). PHP Documentation Group ID3_SET_TAG(3)