Here are full logs from the client. As before, prefer AC3 is disabled, Swedish is the only preferred language, mpeg2 is stream 0 and ac3 stream, I tested on C+ Hits HD and AC3 is selected. This was tested with the patch from the first post rather than from github.
I've been watching this thread, but since the reported bug has not been fixed and test cases have not been updated there is currently no chance of this patch being accepted...