SPDIF Output Issues

The system version is 3.874 on a raspberry pi 4 b 2GB. I had issues before with power which was resolved on this post

but this is intermitend sometimes it plays pefectly other times it works perfectly but with no output from SPDIF