Synctrain v2

I can confirm the much better performance on my iPhone 13 mini ! Great work, many thanks again.

I’ve also followed on this forum the very impressive technical work that was done on Syncthing side.

Any way we could get “sort by” and/or “filter by” options? Something like “Sort by: date created”, “Sort by: name(A-Z)”, “Filter by: modified in last 2 weeks”. Maybe this could be integrated into the “search for files” section. That way it could be used to search all folders on device or specific sub folders.

I’ve noticed that some of the generated thumbnails have transparent pink/purple boxes in random locations on the generated image. The originals don’t have these artifacts. A random sample indicates it’s over half of the generated thumbnails. Any reason why that might be happening?

Hm, I haven’t seen that before. Can you provide some examples and details (ie which device generated the thumbnails, do the system generated thumbnails show up correctly in Finder/Files for the original files?)

iPhone 13 Pro, and no. The generated thumbnails, when viewed in the files app, still have the purple compression artifacts while the original images do not.

What happens if you delete the ‘damaged’ thumbnails and let the app regenerate those? Curious if the error then re-appears or not.

I tried that. It just happens again. Weirdly enough, the thumbnails are not damaged right after being generated, but after a week or so they get the artifacts. it might be something iOS is doing on the backend trying to compress the files.

Well, that’s just plain weird. Try tracking the modified dates on those files and possibly sizes/hashes. Any other devices generating thumbnails for the same files? (Note: thumbnails are stored by their file hash, so if you have the same picture copied in different folders, it will use the same thumbnail file if using a shared thumbnail folder)

Synctrain on my iphone is the only device generating thumbnails. The files have been modified since initial creation. Are the same thumbnails generated multiple times, or does it check if a thumbnail has already been generated and then move on? A very small sample indicates that the damaged thumbnails use sRGB color profile while the undamaged thumbnails use HDTV color profile.

The app will check if a thumbnail already exists for the file (which should be at a fixed path given a file hash) and then only generate it anew if it doesn’t exist yet. It is possible that the app will generate a thumbnail twice (if e.g. you quickly browse to the same thumbnail image twice and the app hasn’t yet had a chance to generate the thumbnail) but definitely not at the scale you appear to be seeing it.

So this makes what you’re seeing very puzzling: the app shouldn’t generate thumbnails twice. Also I can’t see how the color profile could be caused to differ (the app is not even specifying one explicitly).

The thumbnail generation method did change a long time ago (I tuned down the resolution a bit) but that shouldn’t cause any glitches.

If the app is generating the thumbnail twice, at least we know it is based on the same file hash (otherwise the thumbnail would be in a different place).

On the other hand I suspect something else (either iOS or some other app) is modifying these files somehow.

The damaged thumbnails were generated for the first time about a week ago so the change in thumbnail resolution shouldn’t be the problem.

Under the bandwith limitations screen, I set the “Show image previews” setting to 1MB instead of the default which is now 3MB. Could that cause some kind of compression?

The folder that the generated thumbnails are put into has been set to syncronize, but it hasn’t been shared with any other devices. I just turned that off and will see if that has an effect.

I have used other apps to access and view synced files, but it’s primarily text files, not images. None of the apps that have access to files(in Privacy & Security settings) should be accessing files in the background, especially not files in a personal folder. It’s apps like Excel, Word, Chrome, Runestone, and a bunch of Apple apps like Safari, Reality Composer, Numbers, TestFlight, and Photos.

One other unrelated issue I’ve run into while generating thumbnails is that all connected devices will get disconnected and greyed out every now and then. This doesn’t go away until I force close the app and re-open it. It doesn’t seem to happen under regular use, but when the app is generating thumbnails for 20 minutes straight, it’ll usually happen 2 or 3 times over the course of generating all those thumbnails.

This might be slightly unrelated to everything else on this specific discussion but I need a bit of help.

Im attempting to sync my Obsidian notes on my Ipad from my phone and laptop (already synced together) that are android. I saw a reddit post that said the developer of synctrain helped him with that and now it work. So its definitely possible but that discussion closed and I haven’t really used either platform to understand how to contact these specific people. Any help would be amazing. Thanks.

I don’t use Obsidian nor do I know how it works, but I think this is what you need to do: when adding a folder in Synctrain, choose ‘existing folder’ and select the Obsidian app’s folder.

Any news on the probability of this?

It’s on my list, but the list is long :slight_smile: