Perfect powers in arithmetic progression. A note on the inhomogeneous case