[Icecast] Fallback stream not preventing a disconnect

Erwin Pannecoucke erwin589 at gmail.com
Mon Aug 28 07:39:27 UTC 2017


Dear all,

I"m using a combination of mopidy, icecast2 and Home-Assistant on a
raspberry pi to stream Google music to a Chromecast Audio.

The streaming works and I can listen to music. If a new song is being
started, I keep connected. However, upon changing the song or pausing the
stream, the chromecast gets disconnected. I assumed that this should be
resolved by adding a fallback stream, but, unfortunatly, it doesn't. I
checked by adding a not-so-silent fallback file, and it appears that I'm
disconnected before I can hear the fallback song.

I've tryed it with streaming as ogg instead of mp3 (and thus also using a
silent ogg file), but it gives me exactly the same result. I have no idea
what I'm doing wrong, and have no idea how to continue. I tried really a
lot of stuff, but I seem te be stuck here for already quite some time. By
emailing this board, I was hoping if anybody in the community could help me
with this?


Home Assistant was configured using this explanation:

https://community.home-assistant.io/t/need-help-
> chromecast-audio-media-center-plex-kodi/12361/11
>

This is how my icecast.xml file looks like:

https://pastebin.com/se9s88kY

This is a log of me starting the mpd service, connecting with
home-assistant (and hearing music), followed by changing a track:


[2017-08-16  14:40:20] INFO connection/_handle_source_request Source
> logging in at mountpoint "/mopidy.mp3"

[2017-08-16  14:40:20] INFO source/source_startup sources count is now 1

[2017-08-16  14:40:20] INFO source/source_apply_mount Applying mount
> information for "/mopidy.mp3"

[2017-08-16  14:40:20] INFO source/source_startup source /mopidy.mp3 is
> ready to start

[2017-08-16  14:40:20] INFO source/source_set_override for /mopidy.mp3

[2017-08-16  14:40:20] INFO source/source_init Source /mopidy.mp3
> initialised

[2017-08-16  14:40:20] INFO source/source_read listener count on
> /mopidy.mp3 now 0

[2017-08-16  14:40:20] INFO admin/command_metadata Metadata song on
> /mopidy.mp3 set to "Unknown - Unknown"

[2017-08-16  14:40:20] INFO mpeg/check_for_mp3 MPEG 1 Layer 3 detected
> (44100, 2) on /mopidy.mp3

[2017-08-16  14:40:37] INFO source/source_add_listener max on /mopidy.mp3
> is -1 (cur 0)

[2017-08-16  14:40:37] INFO source/source_read listener count on
> /mopidy.mp3 now 1

[2017-08-16  14:40:45] INFO source/source_read End of Stream /mopidy.mp3

[2017-08-16  14:40:45] INFO source/source_shutdown Source "/mopidy.mp3"
> exiting

[2017-08-16  14:40:45] INFO source/source_set_fallback fallback set on
> /mopidy.mp3 to /silence.mp3(0) with 1 listeners

[2017-08-16  14:40:45] INFO source/source_client_read no more listeners on
> /mopidy.mp3

[2017-08-16  14:40:45] INFO source/_free_source freeing source "/mopidy.mp3"

[2017-08-16  14:40:46] INFO connection/_handle_source_request Source
> logging in at mountpoint "/mopidy.mp3"

[2017-08-16  14:40:46] INFO source/source_startup sources count is now 1

[2017-08-16  14:40:46] INFO source/source_apply_mount Applying mount
> information for "/mopidy.mp3"

[2017-08-16  14:40:46] INFO source/source_startup source /mopidy.mp3 is
> ready to start

[2017-08-16  14:40:46] INFO source/source_set_override for /mopidy.mp3

[2017-08-16  14:40:46] INFO source/source_init Source /mopidy.mp3
> initialised

[2017-08-16  14:40:46] INFO source/source_read listener count on
> /mopidy.mp3 now 0

[2017-08-16  14:40:46] INFO admin/command_metadata Metadata song on
> /mopidy.mp3 set to "Unknown - Unknown"

[2017-08-16  14:40:46] INFO admin/command_metadata Metadata song on
> /mopidy.mp3 set to "Unknown - Unknown"

[2017-08-16  14:40:46] INFO admin/command_metadata Metadata song on
> /mopidy.mp3 set to "Unknown - Unknown"

[2017-08-16  14:40:47] INFO mpeg/check_for_mp3 MPEG 1 Layer 3 detected
> (44100, 2) on /mopidy.mp3




One thing I noticed, is that somewere in this mailing list somebody
suggested that one should always see the fallback mountpoint in
/admin/listmounts.xsl. I however never ever see this.


If more information is needed, don't hesitate to ask.


Thanks you A LOT in advance,
Erwin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xiph.org/pipermail/icecast/attachments/20170828/bffa4a3e/attachment.htm>


More information about the Icecast mailing list