Page 1 of 1

Automatically removing unavailable sources?

Posted: August 30th, 2016, 2:04 pm
by f13dev
Hi all.

I've set up an internet radio player using MPD and MPC on a Raspberry Pi and am adding stations via MPC using the command

Code: Select all

mpc add [an internet radio URL]
Occasionally I get a station that wont play via my setup and receive an error along the lines of: Failed to load source (typically I can't remember the exact error, I will update this once I come across the error again).

Is there an automated method for MPD or MPC to remove unavailable sources from the playlist. At present I am saving the playlist to an m3u and am manually removing sources after testing each one, then re-loading the m3u file.

Cheers
Jim