[patch] Load media through KDE's KIOSlaves

Mark Kretschmann kretschmann at kde.org
Sat Sep 5 12:20:17 CEST 2009


On Sat, Sep 5, 2009 at 11:55 AM, Alex Merry<kde at randomguy3.me.uk> wrote:
> On Saturday 05 September 2009 01:31:45 you wrote:
>> Valerio Pilo wrote:
>> > In data sabato 05 settembre 2009 00:55:33, Alex Merry ha scritto:
>> >> From a quick look at taglib, the only way you can get it to read the
>> >> tags is to copy the file to the local system.
>> >
>> > This is hardly a good news, as it may be an incredibly slow process,
>> > wasting cpu, disk space and bandwidth in the meantime.
>>
>> It also isn't true, at least not always. TagLib has multiple read modes
>> that read more or less of a file to trade off speed and accuracy. For
>> most files it would only need to read a very small amount of the file (a
>> few K, if that)...which is why people use it with SMB and NFS shares all
>> the time without an issue.
>
> Which is exactly why copying over the file to the local filesystem would be
> wasteful (as opposed to TagLib using KIO directly, via an abstraction layer).

Some tagging formats put the metadata at the end of the file (yes,
bizarre). This could pose a problem for KIO, I imagine.

-- 
Mark Kretschmann
Amarok Developer
www.kde.org - amarok.kde.org


More information about the Amarok-devel mailing list