Hi,
I installed the latest beta of rclone this morning and had a library refresh from Plex.
I encountered a weird behavior that did not happen before : all the files with an accentuated character were marked as unavailable after the refresh in Plex.
Yet when checking the file in the mount, everything is in order and the culprit files are present and can be played in vlc.
I use Osx
My setup in rclone is
Gdrive - crypt - rclone union - mount on local folder.
It seems only Plex has issues with these files and this behavior only began to happen when I switched to the latest beta version of rclone.
But the fact the files are properly mounted leaves me perplex as to why. And wonder if it could be related to the latest beta.
Did anybody have such behavior observed before ?
PROBLEM IDENTIFIED :
"After much reading I learn't there are multiple ways to construct the same unicode character, and so for efficient comparision there is a concept called normalisation ( http://www.unicode.org/reports/tr15/ ). After normalising with the same algorithm the representiation of any character will be consistent.
Sadly there are multiple normalisation algorithms and no concensus on which to use. Apple use NFD, where as most other operating systems use NFC. NFS does not specify a normalisation method, so OSX cannot confidently convert out of the box.
All I needed to do to fix this was to tell NFS that my NFS shares used NFC. Then all the files with the odd characters appeared and read fine.
I did this by adding this line to /etc/nfs.conf on the Mac.
nfs.client.mount.options = intr,locallocks,nfc"
Sadly, editing /etc/nfs.conf with the NFC tag does not solve the issue with rclone.
I tried to check what was up with OSXFuse on the subject and found :
" OSXFUSE includes support for converting file names from one encoding to another. This can be done by using module iconv. iconv can be enabled by applying the following mount-time option.
-o modules=iconv,from_code=UTF-8,to_code=UTF-8-MAC"
Not sure how to apply that with an rclone mount though.
mounting with the option results with :
Mac-mini:~ yericus$ rclone mount --allow-other --vfs-cache-max-size=10G --drive-chunk-size=64M --buffer-size=96M --dir-cache-time 1h --vfs-cache-mode writes -o modules=iconv,from_code=UTF-8,to_code=UTF-8-MAC runion: /Volumes/Raid/mountpoint
2019/08/29 17:15:12 ERROR : -o/--option not supported with this FUSE backend
So maybe trying to integrate this OSXFuse options in the mac build of rclone would help ?