Questions tagged [id3lib]

id3lib is an open-source, cross-platform software development library for reading, writing, and manipulating ID3v1 and ID3v2 tags.

ID3 is a metadata container most often used in conjunction with the MP3 audio file format. It allows information such as the title, artist, album, track number, and other information about the file to be stored in the file itself (Souce: Wikipedia).

24 questions
5
votes
2 answers

How to calculate a hash of a mp3 file without tag info?

We need to calculate a hash of a mp3 file to uniquely identify it. The problem is that Traktor software modifies file's tags and there is no chance to change it. We use id3lib library, so I thought maybe there is some way to get a prepended and…
Roman Kruglov
  • 3,375
  • 2
  • 40
  • 46
4
votes
1 answer

Get MP3 ID3 (V2) tags using id3v2

I'm having a little difficulty understanding the format of V2 ID3 tags. I simply want to get the 'Genre' ID3 tag of an MP3 file, but the id3v2 utility returns more information than I require, and I don't understand what this data represents. For…
badsyntax
  • 9,394
  • 3
  • 49
  • 67
3
votes
2 answers

Read remote mp3 file information using php

I am working on a site which will fetch mp3 details from a remote url. I need to write a cron job so that it gets all the song information such as the file name, path, artist, genre, bitrate, playing time, etc and put it in a database table. I…
Renjith R
  • 881
  • 2
  • 8
  • 19
3
votes
0 answers

ClassCastException id3 lib

I have an error using id3 lib : music = new MP3File(currentFile); if (music.hasID3v2Tag()){ ID3v2_2 tags = (ID3v2_2) music.getID3v2Tag(); String artiste = artistTF.getText(); if (artiste == null || artiste.isEmpty()) artiste =…
3
votes
1 answer

id3lib extract tags

I try to use ID3lib from C++. I tested near 50 mp3 files and most often I get answer that files haven't any tags. But actually, they are there ( I check it using another software and it shows them properly) Actually, I've done nothing, I'd only…
Tebe
  • 3,176
  • 8
  • 40
  • 60
2
votes
2 answers

Working with DLL in a C++ application

I'm planning to use id3lib in my application. I'm looking for a way to use the library as a DLL. I've noticed that they released the library in various form: one of which is windows binary. My target platform in Windows, and I'll use Qt 4.8. After I…
Donotalo
  • 12,748
  • 25
  • 83
  • 121
2
votes
3 answers

C++ Library Include

I am relatively new to C++ and need to use a library for the first time. I was hoping someone would be able to show me how to properly [ link to / include ] the library. The library I want to use is the ID3 v3.8.8 that can be found…
Pooch
  • 299
  • 2
  • 5
  • 13
2
votes
1 answer

Missing libstdc++ during gem install id3lib-ruby

I'm trying to install id3lib-ruby, but I'm getting this error: Building native extensions. This could take a while... ERROR: Error installing id3lib-ruby: ERROR: Failed to build gem native extension. …
Robert Fischer
  • 1,436
  • 12
  • 26
2
votes
3 answers

Finding the length of a song

I want to find the length of a song in seconds so that I can make a playlist with the M3U format, but I don't know how to get that info from the file. I am using id3lib and also Qt. I've tried: ID3_Frame* myFrame =…
1
vote
1 answer

RubyGems: no such file to load using mp3info

I'm trying to read the duration out of an mp3 file using ruby-mp3info and my test.rb file currently looks like this: require "rubygems" require "mp3info" # read and display infos & tags Mp3Info.open("audiofile.mp3") do |mp3info| puts…
pedstrom
  • 431
  • 1
  • 6
  • 17
1
vote
1 answer

Issue with statically linking id3lib in Xcode

I'm trying to link id3lib statically to my XCode project. I've found some answers in other threads suggesting to add as linker flags the full path to the .a file. This works but produces a huge number of errors: Undefined symbols for architecture…
1
vote
1 answer

id3lib: copying frames does not work

I'm trying to copy all ID3v2 tags from one file to another. But my code does not work (the tags remain unchanged) and I do not know why. ID3_Tag sFile, tFile; sFile.Link("source.mp3",…
burtek
  • 2,576
  • 7
  • 29
  • 37
1
vote
0 answers

Linux NASM and ID3LIB

I need to call some procedures from the ID3LIB for MP3 process on Linux NASM X86 but I don't have idea how should I do this. I already added the libid3-3.8.3-dev, libid3-3.8.3c2a and libid3-tools to my O.S (Linux Ubuntu 14.04) and the id3/ is…
Pablo Gaviria
  • 145
  • 1
  • 1
  • 7
1
vote
1 answer

Getting the address for the album art picture for a mp3

I am trying to show the album art picture for a mp3. I am using id3lib and I don't know how to get the info from the tag(I just need the path to the picture). How can I do that? LATER EDIT const ID3_Frame *frame = tag.Find(ID3FID_PICTURE); if(frame…
0
votes
2 answers

Undefined reference linker error while using id3lib library in a C++ application

My OS is Windows 7 Ultimate x64. I'm using Qt 4.8 to write a program that will use id3lib. I've downloaded the windows binaries. Here is part of the *.pro file that shows how id3lib library is used: HEADERS += MainWindow.h \ …
Donotalo
  • 12,748
  • 25
  • 83
  • 121
1
2