You are not logged in.

#1 2013-09-19 16:28:42

xfce
Member
Registered: 2012-08-13
Posts: 32

Mpd with icecast

Hello,

I configured mpd with icecast to play a radio stream on the internet and I wanna make something dynamic like, if the stream goes down ( inet problems / network related issues) mpd should automatically switch to local playlist ( a bunch of mp3's ). Is there a way to do this using mpd.conf file or should I go deeper ( make a script or something ) ? I'm new to this btw.

Thank you.

X.

Last edited by xfce (2013-09-19 16:32:18)

Offline

#2 2013-09-19 16:43:54

Rasi
Member
From: Germany
Registered: 2007-08-14
Posts: 1,862
Website

Re: Mpd with icecast

uhm what?
icecast has nothing to do with playing internet streams with mpd. that part made absolutely no sense at all.

and for your actual question: yes this would have to be scripted.


He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.

Douglas Adams

Offline

#3 2013-09-19 16:48:54

xfce
Member
Registered: 2012-08-13
Posts: 32

Re: Mpd with icecast

Well ok, I configured mpd to stream to icecast ? Is that correct ?

Offline

#4 2013-09-19 16:54:04

Rasi
Member
From: Germany
Registered: 2007-08-14
Posts: 1,862
Website

Re: Mpd with icecast

xfce wrote:

Well ok, I configured mpd to stream to icecast ? Is that correct ?

yes. but then your question itself makes no sense anymore. mpd does not know remote/local playlists at all. it only has exactly ONE playlist.
if the icecast output is enabled, it will be streamed, if not, it wont. thats all


He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.

Douglas Adams

Offline

#5 2013-09-19 17:00:47

xfce
Member
Registered: 2012-08-13
Posts: 32

Re: Mpd with icecast

I followed this tutorial if it helps http://www.t3node.com/blog/streaming-au … pberry-pi/

Offline

#6 2013-09-19 17:37:09

Rasi
Member
From: Germany
Registered: 2007-08-14
Posts: 1,862
Website

Re: Mpd with icecast

it does not, because i still dont know what you are trying to do.
i can only guess:

load a different set of music, as soon as the icecast output is disabled?


He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.

Douglas Adams

Offline

Board footer

Powered by FluxBB