No 5.1 Sound

I am new to serviio and I have to say I am very impressed. However I have a problem in that I cant get 5.1 sound out of any file I have. I have converted DVDs to mp4 format. The file plays perfectly but in stereo when I know it is 5.1.
The set up I have is that I have a Panasonic OLED TV, Sony 700 Ultra Bluray Player and a sonos 5.1 System. The DVD is connected to the TV via HDMI and the sound out from the TV to the sonos playbar via an optical cable.Both the TV and Bluray player have there own media players and I can access the files on either with the same result
If I use a Roku media stick in one of the other HDMI ports the media Server Software "Plex" plays the files in 5.1.
My question whether there are any settings in Serviio that can resolve this problem as Plex appears to play them fine. I would prefer to use Serviio if possible.
Any suggestions?
Thanks
The set up I have is that I have a Panasonic OLED TV, Sony 700 Ultra Bluray Player and a sonos 5.1 System. The DVD is connected to the TV via HDMI and the sound out from the TV to the sonos playbar via an optical cable.Both the TV and Bluray player have there own media players and I can access the files on either with the same result
If I use a Roku media stick in one of the other HDMI ports the media Server Software "Plex" plays the files in 5.1.
My question whether there are any settings in Serviio that can resolve this problem as Plex appears to play them fine. I would prefer to use Serviio if possible.
Any suggestions?
Thanks