Le Tuesday 18 March 2008 16:39:30 [EMAIL PROTECTED], vous avez écrit :
> hello
Hi !
> Liquidsoap is sending mp3 tag info to shoutcast as Artist - title.
> but sometime it send nothing, just "-" or "unknow"
> My catalog is about 2000 tracks, some well tagged (but in 2.2)
> other tagged in v 2.1. and/or 1.1, or not, or half tagged.
If you have 0.3.6, this release uses taglib. If you switch to latest svn, then
the program will use taglib, which may be better, or at least it would be
good to know :)
> Reading info from tag is good feature, but not 100% sure
> (and Liquidsoap have to be most "reliable" as possible ^^ )
>
> Is it possible to override this feature and sending
> the name of the mp3 file as is ?
You have a function rewrite_metadata with 0.3.6 (latest stable).
With latest svn, you have also a map_metadata (more abstract).
Metadata available are more than file's metadata, and, yes, it includes the
file's name.
To find out what medatada are available, just start a telnet server, connect
to it, and check metadata <URI> where <URI> is the id of a song processed
(find one with on_air for instance..)
> If not (bad news [x_O] ):
> I don't remember where, I've read in documentation
> Liquidsoap can read Id3tag version2, but not 2.2 (and about 2.1 ?)
>
> which id3 tag's version i've to use exactly, which program/script
> can I use to write 100% compatible Liquidsoap's id3tag ?
Well, the real issue here is that i3tags are strongly *broken*. I think the
version is not really relevant, the real issue being encoding and unicity of
the tags.
If you use the same encoding everywhere, and are sure that you ahve exactly
one tag per file, then it's alright. Also, you could pass tags to liquidsoap,
using the annotate protocol (see radiopi description in the users section on
the wiki). That way, you'll force the tag.
Romain
--
They swapped my brother now, also, my sister too
for a drink of wine, so they could drink and be merry,
so they could drink and be merry.