Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • Icecast-Server Icecast-Server
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 104
    • Issues 104
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 5
    • Merge requests 5
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Xiph.Org
  • Icecast-ServerIcecast-Server
  • Issues
  • #2087
Closed
Open
Created Nov 14, 2014 by Sven Herzberg@herzi

icecast does not only write the stream data into the dumpfile

How to reproduce:

Write a script (e.g. called “test-script.sh”) with this content and set the executable bit:


set -e
set -x

echo "stdout"
echo "stderr" >&2

Then specify that script in an mount point of the icecast configuration like this (I have this in my mount point defaults):

        <on-connect>/path/to/test-script.sh</on-connect>

The beginning of the dump-file will look like this:

# hexdump -C /srv/icecast/test-stream/backup.mp3 | head
00000000  2b 20 65 63 68 6f 20 73  74 64 6f 75 74 0a 2b 20  |+ echo stdout.+ |
00000010  65 63 68 6f 20 73 74 64  65 72 72 0a 73 74 64 65  |echo stderr.stde|
00000020  72 72 0a 2b 20 65 78 69  74 20 30 0a […]          |rr.+ exit 0.[…]|

This makes the dumpfiles difficult to use as backups of the stream data.

I think the <errorlog> target would be more a appropriate target for this output.

Assignee
Assign to
Time tracking