Yoni Rabkin <[EMAIL PROTECTED]> writes:

> On 10/16/05, Lucas Bonnet <[EMAIL PROTECTED]> wrote:
>> Jorgen Schaefer <[EMAIL PROTECTED]> writes:
>>
>> > Lucas Bonnet <[EMAIL PROTECTED]> writes:
>> >
>> >> Would it be possible to try to parse the info otherwise ? Or better, to
>> >> force a language environment when calling ogginfo ?
>> >
>> > (let ((process-environment (cons "LC_ALL=POSIX" process-environment)))
>> >   ...)
>> >
>
> I think that this is a price of utilising the ubiquitous mp3info and
> ogginfo software. If the authors of mp3info or ogginfo change the
> output format we must adapt.
>
> If there is a different solution freely available I'd love to hear it.

The problem at hand is in the localization, which is a common
problem. UNIX utilizes output from programs a lot, and is very
format dependent. Localization is the most common problem there,
but it is easily solved by setting LC_ALL to POSIX, as I pointed
out above, which enforces the "standard" output format. This
should be done by all programs which parse other programs' output.

A "better" solution would be a library which provides a data
structure. Sadly, for UNIX (and Emacs!), a "data structure" is
often the output from a program.

Lisp machines, on the other hand.. ;-)

Greetings,
        -- Jorgen

-- 
((email . "[EMAIL PROTECTED]") (www . "http://www.forcix.cx/";)
 (gpg   . "1024D/028AF63C")   (irc . "nick forcer on IRCnet"))


_______________________________________________
Emms-help mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emms-help

Reply via email to