Thread Previous • Date Previous • Date Next • Thread Next |
1) The content seems to be silently dropped if there's already a file with the same name in the destination folder. It doesn't seem to check whether the files are the same; it just drops the file being imported and returns the path of the existing file. Is this by design, or is it a bug? (For my purposes, this is probably okay -- I don't expect duplicate file names. But other use cases may find this very surprising!)2) If I request ContentType.All, the content gets put in the HubIncoming cache, instead of in the .local/share. Again, is this on purpose or a bug?3) Does the content hub provide a way to delete imported content that I don't want? Since there's no guarantee that the type of imported content is what you requested, I'll have to check it, and it doesn't make sense to keep around copies of files I can't read. Obviously I can write a C++ plugin to delete these, but it'd be handy to be able to do it from the ContentItem.4) Things are broken if I request ContentType.EBooks. If I request it from the default peer, I just see the ContentHint spin until I hit cancel. If I use a PeerPicker, it tells me there aren't any apps that can provide this content type. I would have expected the File Manager to act as a fallback provider for all types. (After all, it's perfectly happy to give me an epub file when I request any other content type.)
5) How do you set the ContentStore for a push import (that is, when another program selects your as the recipient of its export). The example code shows you hooking up to a ContentHub signal, but I don't see any place to set the ContentStore.
Thanks, Robert
Thread Previous • Date Previous • Date Next • Thread Next |