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

[BUG] Files with long filenames are not hidden. #178

Open
chrome99001 opened this issue Aug 9, 2024 · 1 comment
Open

[BUG] Files with long filenames are not hidden. #178

chrome99001 opened this issue Aug 9, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@chrome99001
Copy link

chrome99001 commented Aug 9, 2024

As per title. Had a file with 73 characters in the filename and Amarok won't hide it. It is still viewable in the video player app. I reduced the filename to 68 characters, then only was it hidden.

*Edit: Just noticed that it only happens to certain files. I've checked and some of the files with 100 over characters are not affected.

@deltazefiro
Copy link
Owner

Hi @chrome99001 Thank you for letting me know. I have confirmed the issue.

Amarok obfuscates the filename with base64 when hiding. The encoded filenames are generally longer than the original ones. Android has a filename length limit of 255 characters, thus when the encoded names are longer than 255, the obfuscation fails.

Unless changing how we obfuscate file names, this issue might be tricky to fix. A possible solution is to write the filename into the original file. I'm afraid I can not fix it soon, but let me put it into our project's to-do list.

@deltazefiro deltazefiro added the bug Something isn't working label Aug 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: No status
Development

No branches or pull requests

2 participants