Most 'streaming' services (e.g. I use Youtube Music - about £2/month because I'm in, ahem, India) allow you to download music and podcasts to your phone for such situations, as well as buffering several minutes forward every time you start playing whilst on WiFi.