Moritz Grimm
8d882cacff
Switch to non-obsolete shout_set_content_format()
...
Error checking is now more strict; work around unreliability in tests
as failure/success depends on libshout configuration
2021-02-09 12:12:32 +01:00
Moritz Grimm
f4b297d026
Switch to non-obsolete shout_set_meta()
2021-02-09 10:37:21 +01:00
Moritz Grimm
057ef6a218
Clean up stream before exiting
...
Gentle reminder by AddressSanitizer.
2021-02-09 01:15:21 +01:00
Moritz Grimm
80afe5baf7
Fix crash related to unconfigured intakes
2021-01-07 04:19:06 +01:00
Moritz Grimm
f1efd079d4
Fix a crash when querying metadata program
...
Simple copy+paste mistake.
2020-09-02 22:20:51 +02:00
Moritz Grimm
3a791a6de4
Fix crash when attempting to replace a placeholder with NULL
...
For example, this solves the combination of an explicit format string
'@a@ - @t@' in combination with an MP3 input file that lacks either
artist or title
2020-04-02 13:01:07 +02:00
Moritz Grimm
5132687076
Fix mdata_t leak on error
...
Found by Coverity
2020-02-22 23:22:06 +01:00
Moritz Grimm
6eb8e19664
Fix setting of the stream name
...
Regression found and reported by zygmund2000 on Github
2020-02-22 22:39:43 +01:00
Moritz Grimm
b923260d82
mdata_destroy() is supposed to be idempotent
2020-02-12 00:39:13 +01:00
Moritz Grimm
3d83b1ba66
pCommandString can be NULL; propagate result
2020-02-12 00:29:20 +01:00
Moritz Grimm
a59d29ee78
Try to find encoder instead of creating one on the fly
...
Fixes a segfault when there is a typo in the <encoder /> setting.
2020-02-12 00:08:38 +01:00
Moritz Grimm
031dc752a0
Better error messages
2020-01-29 00:36:50 +01:00
Moritz Grimm
dca166fd87
Bump copyright
2020-01-28 21:27:39 +01:00
Moritz Grimm
9e3c59887b
Revert "Remove superfluous NULL assignment"
...
This reverts commit b0ef65fc03
.
It's been nicer to read before, and static analysis can ignore this one.
2020-01-28 00:18:10 +01:00
Moritz Grimm
46e72506b5
No need to further maintain argc/argv here ...
...
... but keep it in cmdline.c (for now) to "follow the pattern".
2020-01-27 23:57:32 +01:00
Moritz Grimm
b0ef65fc03
Remove superfluous NULL assignment
2020-01-27 23:51:25 +01:00
Moritz Grimm
a86201290d
Remove redundant decrement
2020-01-27 23:48:19 +01:00
Moritz Grimm
63741aab8a
Expect ICY to be supported by libshout
2020-01-25 01:32:26 +01:00
Moritz Grimm
09b615db0a
Support v0 ffmpeg/Ogg Theora configuration migration
2020-01-25 01:05:18 +01:00
Moritz Grimm
b61b78e161
Modernize stream format options
...
Adds support for WebM/Matroska
Replaces Vorbis and Theora with Ogg
2020-01-24 23:27:02 +01:00
Moritz Grimm
4fe8ea4526
Ensure HTTPS protocol always behaves as expected
2020-01-24 12:31:48 +01:00
Moritz Grimm
f906e03a39
Improve connection error message
2020-01-22 23:42:06 +01:00
Moritz Grimm
37c551c0c2
Test for reachability of TLS-related files and directories
2020-01-22 23:31:33 +01:00
Moritz Grimm
c44d05c747
Fix whitespace
2020-01-22 23:05:36 +01:00
Moritz Grimm
44f7e19ca7
Fix "HTTPS" protocol support. Add optional support for ICY and RoarAudio
2020-01-22 22:55:59 +01:00
Moritz Grimm
83d1d17be1
Remove half-baked support for "passthrough encoders"
...
The correct way is to just not configure an encoder for a stream, which
is what the documentation already states. Encoder sections now require
a program name to be set or the configuration will not load.
Fixes a segfault in ezstream.c, as reported by Tom McCallum via Github.
2020-01-15 23:04:40 +01:00
Moritz Grimm
6f8daee288
Fix whitespace
2018-07-17 13:41:48 +02:00
Moritz Grimm
dccf0f0148
Consistent function names
2018-07-17 13:41:48 +02:00
Moritz Grimm
24e69c2e52
Bump copyright
2018-07-17 10:49:13 +02:00
Moritz Grimm
9f2cd71aed
Define "ezstream" only once
2018-07-17 10:31:25 +02:00
Moritz Grimm
814434bfb5
Remove unneeded #define
2018-07-16 16:24:44 +02:00
Moritz Grimm
8c4fb52bd4
Bump copyright
2018-02-02 16:42:48 +01:00
Moritz Grimm
7c509a575a
Fix up freeConfig()
2018-01-23 13:17:00 +01:00
Moritz Grimm
ca76365c61
Add missing include
2018-01-23 10:42:45 +00:00
Moritz Grimm
75a9a410aa
Style improvements
2018-01-23 11:10:04 +01:00
Moritz Grimm
20c7bd64b1
Properly initialize ez
2018-01-23 11:09:45 +01:00
Moritz Grimm
d81a3e23bb
Add configuration migration tool
2018-01-23 01:51:48 +01:00
Moritz Grimm
5287bbdd4b
Support pass-through encoder (again)
2018-01-23 00:44:04 +01:00
Moritz Grimm
113d8a6b88
Make set_progname() reusable
2018-01-19 13:03:32 +01:00
Moritz Grimm
4b4fee9ed0
Make xalloc, util, and log reusable as libcommon
2018-01-19 12:40:01 +01:00
Moritz Grimm
86bd51b39a
Decouple cfg from log
2018-01-19 12:32:30 +01:00
Moritz Grimm
d0cf1d8bbd
Increase getTimeString static buffer
2018-01-18 11:42:37 +01:00
Moritz Grimm
0b260b3c08
Make media inputs ("intakes") a list of things, too
2017-11-23 18:34:57 +01:00
Moritz Grimm
184e2dd8c3
Fix include-once define
2017-11-23 18:26:31 +01:00
Moritz Grimm
6566705361
Fix includes
2017-11-18 02:12:12 +01:00
Moritz Grimm
ed9e84f387
Change config format to (eventually) support concurrent streams to many servers
...
Everything ties together in stream configurations, of which there can be many
now.
For the time being, every stream configuration but the "default" is ignored.
Every stream/server/encoder/decoder configuration now has the name "default"
by default, so that configuring names is only needed to resolve ambiguities.
Decoder configurations are now also constrained in this manner for consistency,
meaning they are no longer uniquely identified by a number of file extensions
but also a name.
2017-11-18 01:54:14 +01:00
Moritz Grimm
f82cf2b458
Add ezstream-file support for -p pidfile
2017-11-18 01:20:55 +01:00
Moritz Grimm
0e414f6142
Remove unused variable and change out_len to unsigned
2017-09-28 12:40:52 +02:00
Moritz Grimm
6466b6ea19
Prefer crashing over no coredump
2017-09-25 19:47:24 +02:00
Moritz Grimm
b19b746e5f
Revert introduction of !0 pattern for "true"
2017-09-25 18:19:07 +02:00