I play videos by directly accessing a local SMB share. I have one .ass subtitle file for each video file, like this
\\WWWWWWWWWW.LOCAL\HHHHH\0.INBOX\CONAN\DETECTIVE CONAN REMASTERED 219-262 10BIT
│ [Shiniori-Raws] Detective Conan Remastered - 219 (NF WEB-DL 960x720 x264 10bit AAC).ass
│ [Shiniori-Raws] Detective Conan Remastered - 219 (NF WEB-DL 960x720 x264 10bit AAC).mp4
│ [Shiniori-Raws] Detective Conan Remastered - 220 (NF WEB-DL 960x720 x264 10bit AAC).ass
│ [Shiniori-Raws] Detective Conan Remastered - 220 (NF WEB-DL 960x720 x264 10bit AAC).mp4
│ [Shiniori-Raws] Detective Conan Remastered - 221 (NF WEB-DL 960x720 x264 10bit AAC).ass
│ [Shiniori-Raws] Detective Conan Remastered - 221 (NF WEB-DL 960x720 x264 10bit AAC).mp4
│ [Shiniori-Raws] Detective Conan Remastered - 222 (NF WEB-DL 960x720 x264 10bit AAC).ass
│ [Shiniori-Raws] Detective Conan Remastered - 222 (NF WEB-DL 960x720 x264 10bit AAC).mp4
│ [Shiniori-Raws] Detective Conan Remastered - 223 (NF WEB-DL 960x720 x264 10bit AAC).ass
│ [Shiniori-Raws] Detective Conan Remastered - 223 (NF WEB-DL 960x720 x264 10bit AAC).mp4
│ [Shiniori-Raws] Detective Conan Remastered - 224 (NF WEB-DL 960x720 x264 10bit AAC).ass
Normally, when I play xxx.mp4
, its sub xxx.ass
is loaded for that playback, and I’m happy. However, this time subtitles for all the episodes in this directory are loaded during playback, like this:
This would not be a problem if it still picks the right sub, but it does not. It seems to pick the first sub in an alphabetically order, so, if it is playing episode 221, it loads sub 219 by default.
I tested on both my Apple TV and my iPad, and find out that they both have the same problem. On my iPad Pro:
Hardware and app info:
- Apple TV model A1842, tvOS 18.3 [22K557], Infuse 8.1.2 (5120)
- iPad Pro model MXDC2LL/A, iPadOS 18.3.2, Infuse 8.1.2 (5120)
I did some investigation.
I think it may be because the file names/paths are too long, but I have no issue playing it
on my Windows PC and with another video player on Apple TV.
I tried to reduce the number of files involved, and found out that this issue still exists if there are only two files in a directory.
This issue is so weird that it only happens for some of my files. Other similarly named episodes under the same parent directory all have the same problem, e.g., files in CONAN\DETECTIVE CONAN REMASTERED 304-344 WEB-DL 10bit
. However, files with more different names under the same parent directory do not have this problem, e.g. files in CONAN\[Fabre-RAW] Detective Conan Remastered 0174-0218
I suspect that this is related to filenames, so I tried to rename the files and, surprisingly, it works. After I rename the directory to:
\\WWWWWWWWWW.LOCAL\HHHHH\0.INBOX\CONAN\DETECTIVE CONAN REMASTERED 304-344 WEB-DL 10bit
[Shiniori-Raws] Ddddddddd Ccccc Rrrrrrrrrr - 308 (NF WEB-DL 960x720 x264 10bit AAC).ass
[Shiniori-Raws] Ddddddddd Ccccc Rrrrrrrrrr - 307 (NF WEB-DL 960x720 x264 10bit AAC).mp4
[Shiniori-Raws] Ddddddddd Ccccc Rrrrrrrrrr - 308 (NF WEB-DL 960x720 x264 10bit AAC).mp4
[Shiniori-Raws] Ddddddddd Ccccc Rrrrrrrrrr - 307 (NF WEB-DL 960x720 x264 10bit AAC).ass
Subs are loaded normally.