HomePod not playing certain tracks
I bought my HomePod (Model MQHW2B/A - version 18.2) as a good quality external speaker for my iPhone (via WiFi). My problem is that it resolutely refuses to play certain tracks in my playlists. The playlists will play perfectly OK either to headphones or through the iPhone speaker, but once the sound output is switched to the HomePod, that device refuses to play the whole playlist, skipping tracks. How can I troubleshoot this, please, as, currently, the HomePod is not much good to me?
iPhone 11 Pro, iOS 18