TagLib affects indexers?

Michael Pyne mpyne at purinchu.net
Fri Aug 1 00:43:18 CEST 2008

On Thursday 31 July 2008, lariamat wrote:
> Can anybody confirm this?
> as far as I can see there is no possibility to open a file readonly with
> taglib.
> This affects tracker/beagle/strigi/any other indexer that uses inotify,
> because these reindex the file after reading the tag with taglib.
> Am I getting something wrong or isn't there a possibility to open
> readonly.

You can open a file read only, but TagLib only does this right now if opening 
it in read/write mode fails.  So you need to make the file itself read only to 
do this (which isn't a bad idea anyways if you're not going to tag it any 
further I guess).

Adding a readOnly flag to TagLib::File() probably wouldn't be too hard though, 
everything is in taglib/toolkit/tfile.cpp

 - Michael Pyne
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/taglib-devel/attachments/20080731/3bb91ab7/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/taglib-devel/attachments/20080731/3bb91ab7/attachment.pgp 

More information about the taglib-devel mailing list