I've found it very easy and efficient to do that sort of stuff with 'inotify'
where you can pretty much instantly call an application/script based on system
file-open/close/modify/read event and don't need to do any scanning. It only
works on files or directories though - not a hierarchical directory tree.
Rgds,
Rob.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
I think you would need to setup some file system notification thing to find
out if and when an xmp file changed. i have no idea how you would do that if dt
isn't running already. you would need to rescan all your xmp (several 10k for
me) at startup. unless there is a clever way to prune that (hierarchical
checksums with support in the file system..?) i think i'm not willing to pay
the performance penalty for this..
you can also re-read the xmp as soon as an image turns up in lighttable mode..
but that would not read new tags etc which potentially affect your collection.
so if you collect by a certain tag and load xmp on demand your lighttable view
might jump and keep adding/removing images.
j.
This email is confidential and is intended for the addressee only. If you are
not the addressee, please delete the email and do not use it in any way. Please
note that any views or opinions presented in this email are solely those of the
author and do not necessarily represent those of the company. NHBC reserves the
right to monitor all email communications. The recipient should check this
email and any attachments for the presence of viruses. The company accepts no
liability for any damage caused by any virus transmitted by this email. NHBC,
the National House-Building Council, is limited by guarantee in England, No
320784. Registered address: NHBC House, Davy Avenue, Knowlhill, Milton Keynes
MK5 8FP. NHBC is authorised by the Prudential Regulation Authority and
regulated by the Financial Conduct Authority and Prudential Regulation
Authority. NHBC Building Control Services Ltd, registered by guarantee in
England with Company No. 01952969. Registered address: NHBC House, Davy Avenue,
Knowlhill, Milton Keynes MK5 8FP. NHBC Services Ltd registered by guarantee in
England, No 03067703. Registered address: NHBC House, Davy Avenue, Knowlhill,
Milton Keynes MK5 8FP. If you make a claim under a Buildmark policy your
personal details will be stored and processed in accordance with the Data
Protection Act. Your personal details may be passed to others involved with
your claim such as the original builder, or a consultant or remedial works
contractor that we may employ in connection with your claim(s) and matter
ancillary to your claim(s). Other than disclosure provided for in this
statement, we will not pass any data about you to any other party without your
permission unless we are required to do so by law.
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
_______________________________________________
darktable-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/darktable-devel