[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnump3d-devel] Rudimentary tag reading for FLAC
From: |
CE |
Subject: |
[Gnump3d-devel] Rudimentary tag reading for FLAC |
Date: |
Wed, 9 Nov 2005 05:08:35 -0800 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hails! Attached is a patch for readtags.pm that will enable some
rudimentary Vorbis tag reading for FLAC files. I hope the code is not too
terrible and an affront to any who view, but it does get the job done albeit
with a few issues:
1. Depends on libaudio-flac-perl This could easily be fixed if
/usr/share/perl5/Audio/FLAC.pm were integrated into usr/share/perl5/gnump3d/
such as ogginfo.pm.
2. Characters scattered about songs.tags that should not be there. *
) , % & and the ilk. UTF-8 related?
3. Some FLACs cause an error that aborts gnump3d-index. I only found
two directories that did it and those were the very first I ever encoded with
flac using version 1.1.0. The error looks to be more of a perl problem but I'm
no coder.
[/Sjø/FLAC/Indigent_»_Indigent/02._Picture.flac] Unable to read metadata from
FLAC! at /usr/share/perl5/Audio/FLAC.pm line 62.
Can't use an undefined value as a HASH reference at
/usr/share/perl5/gnump3d/readtags.pm line 216.
4. No support for song lengths, year, or genre yet. It should be easy
enough to add however. 1-3 are more important IMO.
Comments and pointers welcome.
Kledd i trollsmør,
CE
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFDcfTTfNjOqXY1FhIRAtk9AJ9UJilgKw0Wm3p6itOCdFvUkd6FBACeMuxL
eqQ5X2uHcAfWZZHXvDX9YyU=
=pUKO
-----END PGP SIGNATURE-----
readtags.pm.diff
Description: Text document
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnump3d-devel] Rudimentary tag reading for FLAC,
CE <=