Yeah restarted, mp3’s play fine but two 5.1 audio files (ogg,mka) which I added to the playercorefactory.xml file are silent and (sometimes) crash osmc.
I forgot I was using a clean install of osmc, movies do not play with sound, hifiberry isn’t setup right for passthrough which is why passthrough device only shows hdmi and I can’t choose hifiberry.
I found this thread which seems as though there’s a bug in the kernel.
Soundcard overlay is set to hifiberry-digi-overlay
Audio output device only has snd_rpi_hifiberry_digi analog
There’s no snd_rpi_hifiberry_digi SPDIF option.
Just tried my old SDCard with 2019.07-1 (kernel: Linux 4.14.78-4 ) and it plays the 5.1 files in 5.1 with no code edit needed so will wait for update.