Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicate title listings for SD-CARD images? #77

Open
pgregg88 opened this issue Dec 8, 2024 · 6 comments
Open

Duplicate title listings for SD-CARD images? #77

pgregg88 opened this issue Dec 8, 2024 · 6 comments

Comments

@pgregg88
Copy link

pgregg88 commented Dec 8, 2024

Hello. Amazing project!

I have a large number of images stored on my SDCARD. Each title is duplicated with one title being the actual file and the other being a shadow title that doesn't do anything. As a result, it takes a lot of scrolling to get to the image I need.

Do others experience this? I'm curious if it is something unique to my environment or image publishing pipeline. I create my images on a Mac and save directly to the SDCARD.

Thanks,
Preston

@MartinNohr
Copy link
Owner

MartinNohr commented Dec 8, 2024 via email

@MartinNohr
Copy link
Owner

MartinNohr commented Dec 8, 2024

I assume that you're talking about the files that start with ._ correct? They hold the Mac file attributes so it can be copied to another Mac. Those files are useless for the MIW. But... I don't know the Mac will let you delete them. It would be easy on a Windows machine to just delete them. I could ignore them in the MIW code, it would slow down the file reading process a little bit, but probably not noticeable. I'll post some code later when I have a few minutes. Note that this means you can never have a real image file that starts with ._ but I doubt anybody would do that anyway.

@MartinNohr
Copy link
Owner

Version 3.28 code will be posted in a few minutes that should fix this problem. I haven't had time to test it yet, so please let me know if the fix works with real MacOS files.

@MartinNohr
Copy link
Owner

The code is posted, and the new bin file for the TTGO is here:
https://github.com/MartinNohr/MagicImageWand/tree/main/MagicImageWand/Release
Still, I think the best plan would be to somehow just not put those special MacOS attribute files on the SD card. They don't serve any purpose but do make the directory file larger. Either delete them or figure out how to not create them there in the first place. I would think there must be some way to not create them.

@pgregg88
Copy link
Author

@MartinNohr Sorry for the delayed response. The files starting with ._ is exactly what's going on. I'll get that tested over the holiday. Thanks!

@codenamekraken
Copy link

@MartinNohr Sorry for the delayed response. The files starting with ._ is exactly what's going on. I'll get that tested over the holiday. Thanks!

Sir can your help me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants