[patch] Load media through KDE's KIOSlaves

Jeff Mitchell mitchell at kde.org
Sat Sep 5 17:07:50 CEST 2009


Mark Kretschmann wrote:
> 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.
> 

Only if seek() isn't supported (not sure about it on different
kioslaves/actual filesystems).

--Jeff

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
Url : http://mail.kde.org/pipermail/amarok-devel/attachments/20090905/3fbe8e53/attachment.sig 


More information about the Amarok-devel mailing list