File access timestamp can prevent playback
When playing back files from a NAS with VLC 3.0.16 under Win10 over a SMB share I discovered that certain (impossibly high) file access timestamps can prevent playback.
myuser@mynas:/tank/data/Music$ stat x.flac
File: x.flac
Size: 20522693 Blocks: 40043 IO Block: 1048576 regular file
Device: 3fh/63d Inode: 589868 Links: 1
Access: (0760/-rwxrw----) Uid: ( 2000/ myuser) Gid: ( 2000/ myuser)
Access: 30828-09-14 02:48:05.477580700 +0000
Modify: 2022-01-28 15:40:38.087777111 +0000
Change: 2022-01-28 15:40:38.087777111 +0000
Birth: -
Opening such a file produces "Your input can't be opened: VLC is unable to open the MRL 'file:...". The log shows:
main debug: no access_demux modules matched
main debug: creating access: file:///Z:/Music/x.flac
main debug: (path: Z:\Music\x.flac)
main debug: looking for access module matching "file": 27 candidates
filesystem error: read error: No error
main debug: no access modules matched
main debug: dead input
After touching the file to set a realistic access timestamp playback is possible.