Thread MP3 ID3 Tag
(46 answers)
Opened by timehandler at 2012-06-04 15:49 Guest timehandler Hi, schon mal ein paar Gedanken: Du wirfst da munter Tag-Versionen durcheinander, vielleicht schaust Du Dir mal mehr Infos zu ID3-Tags an, z.B. hier. Die autoinfo()-Methode verwendet primär ID3v2, falls möglich (aus der Doku): It will as default first try to find a ID3v2-tag to get this information. If this cannot be found it tries to find a ID3v1-tag, then to read an CDDB file, an .inf-file, and if these are not present either, it will use the filename Hier kannst Du schnell Inkonsistenzen erzeugen, wenn Du geänderte Tags als ID3v1 schreibst. ![]() Code: (dl
)
$mp3->update_tags({year => 1866}); # Edit in-memory, and commit to file ich würde der change_tag()-Sub auch die Objektreferenz $mp3 als Parameter übergeben, das ist erheblich besser nachvollziehbar ... Bin jetzt echt zu müde, falls möglich schau ich morgen nochmal drüber, Gruß FIFO Everyone knows that debugging is twice as hard as writing a program in the first place. So if you're as clever as you can be when you write it, how will you ever debug it? -- Brian Kernighan: "The Elements of Programming Style"
|