Posts

Post not yet marked as solved
1 Replies
806 Views
Hello, I am trying to add thumbnails to a replicated file provider extensions but the fetchThumbnails method never gets called. After adding the NSFileProviderThumbnailing protocol and fetchThumbnails method to my class I can see the change in behaviour in Finder when I click on a non materialised item as it displayed an empty space instead of the generic file type icon when the protocol is not added. I noticed the mention of caching based on itemVersion but I would still expect the fetchThumbnails method to be called for all newly enumerated items when Finder is in thumbnail mode ? Thanks,
Posted
by Stef1205.
Last updated
.
Post not yet marked as solved
0 Replies
557 Views
I added thumbnail fetching to my file provider and it now works great for files that are previewed by Finder / QuickLook like png, jpeg, tiff, ... The system I am connecting to also handles thumbnailing for file format like Adobe Indesign / Illustrator but the file provider doesn't seem to call fetchThumbnail for those types of files and keep the system default generic icon. How can I force fetching thumbnails for those types of files on the file provider file-system ? Thanks,
Posted
by Stef1205.
Last updated
.
Post not yet marked as solved
2 Replies
863 Views
I am implementing a NSFileProviderReplicatedExtension that will take advantage of rsync incremental update capabilities. In the fetchContent function when my file is already materialised I would like to copy the already materialised item in place of the temp URL in order to prevent the full reload of the item every time the system requests the reload My issue is then how to get to the local URL of the materialised item from the NSFileProviderItemIdentifier ? I can most likely re-create the path from a query on the server side but hoping there is a better way ? Thanks,
Posted
by Stef1205.
Last updated
.
Post not yet marked as solved
0 Replies
734 Views
Hello, Is there a way to trigger a NSFileProviderReplicatedExtension extension to automatically re-enumerate a folder when it's contentModificationDate or childItemCount has changed ? I can see that the folder item gets re-updated with the "item" call every time I enter a folder but the meta-data changes ( date / count ) won't trigger the folder to be "refreshed" which I would expect in order to keep my file-system in sync without the requirement for the signalEnumerator call which cannot happen when off-line. Thanks,
Posted
by Stef1205.
Last updated
.