On Wed, Jan 27, 2010 at 11:44:58AM +0000, Tim Phipps wrote: > I don't think you're going to get what you want anytime soon. Maybe you > could try setting up a playlist that contains tracks of silence and > switching to that. You need to make sure MPD never stops playing.
How I'm supposed to detect when one playlist is finished and it is time to load next one? Tracks in playlist are played in random order (with looping disabled) and when mpd finishes it stops. My script immediately notices this, clears old playlist and queues new. Also I have scheduled playlists. At defined time my script does fadeout, remembers current position, clears playlist, optionally plays short transition jingle and launches scheduled playlist. When finished, it restores old playlist and track position with fadein effect. All this song juggling constantly drops connection to icecast server. To me most logical MPD behavior is to establish icecast connection upon daemon startup and drop it only if user disables this particular output. Another useful behaviour is to continue playback even if output (icecast server) is inaccessible, just discarding audio samples to /dev/null and trying to reconnect with defined interval (maybe even with exponential fallback). I'd be glad to implement this feature myself, but unfortunately I have no C programming skills and this low level audio/buffering/threading mechanics is too complex for me. ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ Musicpd-dev-team mailing list Musicpd-dev-team@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team