-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
recording lost/overwritten when reconnecting to stream #141
Comments
This is a ten year old bug, I think. I fixed it here:
darkice-proposed-fileAddDate-SIGUSR1-change-20120824.patch.txt I've been using the attached patch on Darkice 1.1 for years. It just came up with the handover of an old project of mine. The patch may need work for Darkice 1.3. To reproduce one can use Perhaps someone using Darkice 1.3 can update/review the patch and submit a PR. |
This patch works fine for me, thank you, neingeist! Is there anything to help to get this upstream? |
ping. Looking at this and other reported issues without feedback, I'm wondering if darkice is still actively maintained (?) |
If fileAddDate = yes is set and if we send darkice the USR1 signal, it should write the data into the file with the up-to-date date, not override the initial one. My patch is based on the patch from neingeist. This fixes rafael2k#141
When we use Darkice to stream to Liquidsoap → Icecast2 and record to a localDumpFile we encounter the following issue: When Liquidsoap is restarted, Darkice successfully reconnects, but the dumpFile is overwritten and therefore the old recording is lost. We do use
fileAddDate = yes
. Nonetheless the file is written to the timestamped filename when Darkice was originally started, and not to the moment of reconnection, what could be the expected behaviour.How to reproduce?
sudo service airtime-liquidsoap restart
Setup: Ubuntu 18.04 with Liquidsoap 1.1.1, Icecast 2.4.3 and Darkice 1.3
The text was updated successfully, but these errors were encountered: