The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 895 - File: showthread.php PHP 7.2.34 (Linux)
File Line Function
/showthread.php 895 errorHandler->error




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Read/write MP3 tags
#1
id3lib

This free library allows you to read and write MP3 tags (Artist, Title, Album, etc) using QM. Supports ID3v1 and ID3v2. Very easy to use. Download id3com.dll and place in qm folder.

Home page:
http://id3lib.sourceforge.net/

ActiveX dll, version 3.05a.

.zip   id3com.zip (Size: 86.52 KB / Downloads: 2,641) The newest version is available at sourceforge, but only as source files.

_____________________________________________

Examples:

This macro shows Artist and Title tags of a mp3 file.

Code:
Copy      Help
str s="C:\MP3 temp\Soma Sonic - Road to Nowhere.mp3"
typelib Id3Lib "id3com.dll"
Id3Lib.ID3ComTag t._create
BSTR b=s
t.Link(&b)
out t.Artist
out t.Title

This macro gets artist and title from a mp3 file name and sets Artist and Title tags of that mp3 file.

Code:
Copy      Help
str s="C:\MP3 temp\Soma Sonic - Road to Nowhere.mp3"
str fn.getfilename(s)
str sa st
tok fn &sa 2 "-"
sa.trim; st.trim

;out sa
;out st


typelib Id3Lib "id3com.dll"
Id3Lib.ID3ComTag t._create
BSTR b=s
t.Link(&b)
t.Artist=sa
t.Title=st
t.SaveV1Tag
t.SaveV2Tag


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)