mIRC Home    About    Download    Register    News    Help

Print Thread
ID3v2 #37266 19/07/03 11:45 PM
Joined: Apr 2003
Posts: 2
I
iswm Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
I
Joined: Apr 2003
Posts: 2
I would like to see ID3v2 support.


@#Scripting DALnet
Re: ID3v2 #37267 20/07/03 04:07 AM
Joined: Mar 2003
Posts: 272
C
c0ldfusi0n Offline
Fjord artisan
Offline
Fjord artisan
C
Joined: Mar 2003
Posts: 272
i second that


- cF
Dedicated helper for rent.
Re: ID3v2 #37268 20/07/03 05:33 AM
Joined: Feb 2003
Posts: 143
N
naki Offline
Vogon poet
Offline
Vogon poet
N
Joined: Feb 2003
Posts: 143
here is a script that allows you to get some stuff in Id3v2

Code:
alias bget { bread $shortfn($$1) $$2 $$3 &bget | if ($prop == text) return $ascii(&bget,1,$bvar(&bget,0)).bvar | else return $bvar(&bget,1,$bvar(&bget,0)) }
alias id3v2 {
  if ($bvar(&return,0)) bunset &return
  var %file = $$1-,%check = $bget($shortfn(%file),0,10)
  if (73 68 51 3 0 0* iswm %check) {
    if ($gettok($gettok(%check,9-10,32),1,32)) var %size2 = $calc((128 * $gettok($gettok(%check,9-10,32),1,32)) + 10 + $gettok($gettok(%check,9-10,32),2,32))
    else var %size2 = $calc($gettok($gettok(%check,9-10,32),1,32) + 10)
    var %x = 10
    if (!$hget(id3v2))  || ($hget(id3v2,filename) != %file) {
      if (!$hget(id3v2)) hmake id3v2
      else { hfree id3v2 | hmake id3v2 }
      hadd id3v2 filename $$1-
      while (%x <= %size2) {
        bread $shortfn(%file) %x 8192 &id3v2
        if ($bvar(&id3v2,1,4) != 0 0 0 0) {
          var %x = $calc(%x + (($bvar(&id3v2,6,1) * 255 * 255) + ($bvar(&id3v2,7,1) * 255) + $bvar(&id3v2,8,1)) + 10)
          bcopy &frame 1 &id3v2 12 $calc(($bvar(&id3v2,6,1) * 255 * 255) + ($bvar(&id3v2,7,1) * 255) + $bvar(&id3v2,8,1))
          hadd -b id3v2 $bvar(&id3v2,1,4).text &frame
          bunset &id3v2 &frame
          bread $shortfn($$1) %x 8192 &id3v2
        }
        else var %x = $calc(%size2 + 1)
    } }
    ;album/track/#/artist
    if ($prop = album) var %temp = $hget(id3v2,TALB,&return)
    elseif ($prop = track) var %temp = $hget(id3v2,,&return)
    elseif ($prop = artist) var %temp = $hget(id3v2,TPE1,&return)
    elseif ($prop = title) var %temp = $hget(id3v2,TIT2,&return)
    .timerid3v2unset 1 5 /hfree id3v2
    if ($bvar(&return,0) > 1) return $ascii(&return)
    else return $null
} }


We don't just write the scripts, we put them to the test! (ScriptBusters)
Re: ID3v2 #37269 20/07/03 04:35 PM
Joined: Dec 2002
Posts: 2,809
C
codemastr Offline
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 2,809
Correction, that allows you to get some stuff in some mp3s. That script doesn't take into account compression or encryption of ID3 tags.

Re: ID3v2 #37270 21/07/03 08:08 AM
Joined: Feb 2003
Posts: 2,711
Raccoon Offline
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2003
Posts: 2,711
Hmm, encrypted ID3 tags. I'd go a step further and write a standard that encrypts the entire MP3, thus preventing Media Player's Digital Rights Management from deleting your MP3s.

I can only imagine that's the purpose of encrypted ID3 tags, but I'm sure other methods exist that will identify an MP3.


Well. At least I won lunch.
Good philosophy, see good in bad, I like!
Re: ID3v2 #37271 06/01/04 07:01 PM
Joined: Jan 2004
Posts: 9
T
tedddee Offline
Nutrimatic drinks dispenser
Offline
Nutrimatic drinks dispenser
T
Joined: Jan 2004
Posts: 9
Will ID3v2 support be included in a future version?

Re: ID3v2 #37272 13/05/04 10:08 AM
A
Anonymous
Unregistered
Anonymous
Unregistered
A
I was going to go and do a post about Id3v2 support because everyone wants it and all the scripted/external implemenations are really awkward. When will you add it khaled? www.id3.org has all the info you need, along with a link to id3lib which you could get a lot of help from.

Re: ID3v2 #37273 17/07/04 09:59 AM
Joined: Dec 2002
Posts: 208
H
Hrung Offline
Fjord artisan
Offline
Fjord artisan
H
Joined: Dec 2002
Posts: 208
Quote:
was going to go and do a post about Id3v2 support because everyone wants it and all the scripted/external implemenations are really awkward.


Hrm.. Same thing just happened to me.. Good thing there's that nice search feature. Will anyone actually see this, tho? This thread is a year old..

Last edited by Hrung; 17/07/04 10:01 AM.

If I knew now what I will know then... maybe things will have been different...
Re: ID3v2 #37274 17/07/04 10:42 AM
Joined: Dec 2002
Posts: 2,962
S
starbucks_mafia Offline
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,962
Yes, people using the relevant settings do still see old posts that are recently active.

I think my first ever post on these forums was asking about ID3v2 support, that was 2-4 years ago now. Still, since $sound() uses WMP to get it's info it presumably wouldn't be such a stretch to support ID3v2 whereas when I asked $mp3() was used, which used internal mIRC code (I think).


Spelling mistakes, grammatical errors, and stupid comments are intentional.