Hi,
I’ve been using OSMC for years (in fact I just noticed the input on my TV is still labelled “RaspBMC”) but since an OSMC update mid last year (possibly the May update, possibly August) I’ve been having a really annoying issue. Specifically music files intermittently skip during/before playback but video files play back without problem; the issue persists now, running the October 24 update.
In more detail, I use an RPi4 in one room as a media centre and often put on music party mode in that room, or play an album etc. Intermittently a playing music file will prematurely skip to the next track in the playlist or just be skipped before it even starts. This is intermittent, it’s not always the same file, it’s not always the same place in the file. Often, you can go back one track in the playlist and the file will play through again without fault.
There are no faults playing video files be it old SD AVIs, 1080p x264 with DTS audio streams, 720p x265 - all play fine.
All media files, (music/video) are located on the same remote NAS and are served from there via samba. The pi mounts the remote share via etc/fstab. The music library is running on MariaDB on another server on the network. The RPi 4 uses a wired network connection.
A second RPi3B+ in another room running OSMC October24 also has the identical problem however it is connected via WiFi.
Kodi on a windows PC with wired network connection does not have the problem.
Kodi running on Linux (Ubuntu and Mint) PCs do not have this problem, wired network, one even quite far away at the end of a powerline network adaptor.
Jellyfin streaming to multiple clients (Windows, Android, MacOS, Linux) does not have the problem.
I included the above 3 lines to show that smb sharing is alive and well on my network setup and this issue does at least seem to be isolated to the OSMC instances. All of them access the same files on the same NAS using the same protocol.
Looking through debug logs on the raspberry pi, there is just a generic “SMB: Software caused connection to abort” error when the files skip and not a lot else error-wise. Readfile fails to read the file and then it skips to the next track.
I haven’t yet tried reverting to a previous OSMC version as I need to sort another microSD card for that. It’s also worth mentioning that my NAS is running very old version of samba v3.6 with no chance of upgrading it and thus is limited to protocol version 2.0 but, critically, this hasn’t been a problem in the past with OSMC and other systems on the network seem just fine with it…
I’m happy to test things out and submit logs if that’s useful but also if anyone can point me in a direction or if Sam can point to something, possibly samba related, that might have changed in mid-2024 to cause these issues it would be much appreciated.
TIA