Here's a crude example, should work with 0.4 / 0.5 version, probable won't work with +Re version as they do streaming / playlists differently. Not great using while & sleep, mpd python module probable better to use as you can include an idle wait.
#!/usr/bin/env python3
import time
import subprocess
while True:
station = subprocess.check_output("mpc current", stderr=subprocess.STDOUT, shell=True)
if len(station) == 0:
print('play my playlist track')
subprocess.run(["mpc", "clear"])
subprocess.run(["mpc", "load", "Radio Preset"])
subprocess.run(["mpc", "play", "2"])
else:
print('playing {}'.format(station))
time.sleep(10)