Erwin Pannecoucke
2017-Aug-28 07:39 UTC
[Icecast] Fallback stream not preventing a disconnect
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.mp3One 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.html>
Philipp Schafft
2017-Aug-28 08:06 UTC
[Icecast] Fallback stream not preventing a disconnect
Good morning, On Mon, 2017-08-28 at 09:39 +0200, Erwin Pannecoucke wrote:> 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.What exact software are you using. Your log file is not generated by official Icecast2.> [2017-08-16 14:40:20] INFO mpeg/check_for_mp3 MPEG 1 Layer 3 detected > > (44100, 2) on /mopidy.mp3No official version of Icecast2 can generate this message. With best regards, -- Philipp. (Rah of PH2)
Erwin Pannecoucke
2017-Aug-28 08:36 UTC
[Icecast] Fallback stream not preventing a disconnect
Dear Philipp, Thanks for this fast answer. I'm using "Icecast 2.3.3-kh7-20130425090916", installed on a Raspberry Pi 3 using the cononical "sudo apt-get install". The output was copied from the log file in /var/log/icecast2/error.log. Kind regards, Erwin 2017-08-28 10:06 GMT+02:00 Philipp Schafft <lion at lion.leolix.org>:> Good morning, > > On Mon, 2017-08-28 at 09:39 +0200, Erwin Pannecoucke wrote: > > 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. > > What exact software are you using. Your log file is not generated by > official Icecast2. > > > > [2017-08-16 14:40:20] INFO mpeg/check_for_mp3 MPEG 1 Layer 3 detected > > > (44100, 2) on /mopidy.mp3 > > No official version of Icecast2 can generate this message. > > > With best regards, > > -- > Philipp. > (Rah of PH2) > _______________________________________________ > Icecast mailing list > Icecast at xiph.org > http://lists.xiph.org/mailman/listinfo/icecast >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.xiph.org/pipermail/icecast/attachments/20170828/57c62f85/attachment-0001.html>