I have just setup OSMC RC on a new RPi 2 for the first time.
All media is stored on a local NAS (LG) which I have setup to be accessed using SMB (using IP address).
OSMC can see the NAS directories and I have scanned both movie and TV shows without a problem although they took a while.
The problem is they won’t play! I can browse movies and TV Shows fine but sometimes it pops up with ‘Unable to open file or files’ box and others it looks like it’s going to start but does not and just returns to the list.
This is for all video types (mp4/avi/mkv).
I have a few other Kodi installs on Win 7 machines, Android and also a previous RPi B+ running Raspbmc on the same network which can all access/play the NAS Media without problems.
Other info…
Network is wired - currently using DHCP as manual would not connect.
I am using Kingston 32GB SD Card (on approved list) - Have also tried 16GB.
Playback from a USB connected to Pi is fine.
17:20:42 T:1659085856 ERROR: ffmpeg[62E3A420]: [mov,mp4,m4a,3gp,3g2,mj2] error reading header
17:20:42 T:1659085856 ERROR: Open - Error, could not open file smb://192.168.1.3/Movies/_Latest/Interstellar (2014).mp4
Do other files play, I see where this file failed twice but no other files were tried
I have what seems to be a similar problem – no problems getting directory listings over SMB but playing a file seems to sometimes work, sometimes not work. When it doesn’t work I get “ERROR: Open - Error, could not open file”
If I copy the video files onto a USB stick and plug it into the RPi the files play just fine so I know it’s not an issue with the files themselves.
The network performance looks to be poor, which is a little surprising because in the past there have been occasions when videos have streamed without issue. Perhaps there are environmental factors intermittently affecting the WiFi throughput.
Would bad network performance lead to “ERROR: Open - Error, could not open file” though? I would have thought if network throughput was the issue then the file would begin playing but would just stutter or frequently buffer.