Altu Faltu
2004-Dec-26  03:50 UTC
[Icecast] ezstream without repeating playlist / file for Win32
Hi,
Can somebody do me a favour?
I need a version of ezstream (for Win32) that does not repeat playlist / song.
It can be done by removing following two lines from ezstream.c:
    printf("Connecting to %s...", pezConfig->URL);
    if (shout_open(shout) == SHOUTERR_SUCCESS) {
        printf("SUCCESS.\n");
-->     while (1) {
            if (!strrcmp(pezConfig->fileName, ".m3u")) {
                streamPlaylist(shout, pezConfig->fileName);
            }
            else {
                streamFile(shout, pezConfig->fileName);
            }
-->     }
    } else {
        printf("FAILED: %s\n", shout_get_error(shout));
    }
Please help! I can't compile ezstream since the source distribution
doesn't include all required files!
Thanks.
- Altu Faltu