1
0
mirror of https://gitlab.xiph.org/xiph/ezstream.git synced 2024-11-03 04:17:18 -05:00
Commit Graph

255 Commits

Author SHA1 Message Date
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
Moritz Grimm
ddc30688e6 Remove unused function 2017-09-25 17:47:12 +02:00
Moritz Grimm
cb997e549c Fix multiple issues in util_shellquote 2017-09-25 17:09:38 +02:00
Moritz Grimm
1d0b9d4801 Simplify util_strrcmp to return a strictly boolean value 2017-09-25 17:07:40 +02:00
Moritz Grimm
f5f130e036 Do not block when trying to lock a PID file; fail immediately 2017-09-25 17:06:38 +02:00
Moritz Grimm
8cc45a3a3d Do not assign save_errno for no reason 2017-09-25 17:05:44 +02:00
Moritz Grimm
aaa32bf812 Retire rand() in favor of the upcoming getrandom() on Linux
Only the non-getrandom() code paths have been tested at this point.
2017-09-20 18:12:52 +02:00
Moritz Grimm
2cdda45c16 Unconditionally close allocated stderr FDs 2017-09-20 14:42:19 +02:00
Moritz Grimm
ae85c26cae Fix weird program logic by removing getMetadata() 2017-09-20 13:23:32 +02:00
Moritz Grimm
d40576cd80 Remove superfluous continue; (part 2) 2017-09-20 12:58:09 +02:00
Moritz Grimm
85abb3958c Revert bogus change that introduced a memory leak 2017-09-20 12:55:16 +02:00
Moritz Grimm
6616831590 Switch to a new (unit-tested) metadata handling API 2017-09-20 12:40:33 +02:00
Moritz Grimm
399e66df2b Remove superfluous continue; (CID 171999 et al) 2017-09-20 11:32:34 +02:00
Moritz Grimm
89b4260c83 Ensure that dup() succeeds (CID 172001) 2017-09-20 11:26:35 +02:00
Moritz Grimm
0fe7a81b8c Reorder defines for consistency 2017-09-19 16:06:09 +02:00
Moritz Grimm
fef9b4625e Fix memory leak (CID 171996) 2017-09-15 20:21:45 +02:00
Moritz Grimm
8ea0197235 Fix memory leak (CID 172413) 2017-09-15 20:13:05 +02:00
Moritz Grimm
77f794a41e Rework quoting around metadata
* Do not shell-quote strings in the metadata token expansion function
  * This fixes https://github.com/xiph/ezstream/issues/6
* Expand all tokens at the same time in a way that ensures metadata
  is not additional input to expansion
* Simplify several functions and remove unused functionality
2017-09-15 19:30:52 +02:00
Moritz Grimm
c21d47b8a9 Squelch conversion warnings around tolower() 2017-09-15 19:24:40 +02:00
Moritz Grimm
7729fa9773 Make configuration handling around streaming from stdin more robust 2017-09-15 19:23:16 +02:00
Moritz Grimm
59099c6ddf Update util function naming scheme 2017-09-13 23:35:30 +02:00
Moritz Grimm
6d9ab1d581 Reorder code to match header 2017-07-10 11:44:20 +02:00
Moritz Grimm
43e26549f9 Add support for writing PID files 2017-07-10 11:39:00 +02:00
Moritz Grimm
e3aefe825e Assume POSIX locale support 2017-07-07 18:50:24 +02:00
Moritz Grimm
75b6962a33 Variable scope reduction 2017-07-07 16:45:10 +02:00
Moritz Grimm
f5998edcfd Remove dead ID3Tag structures 2017-07-07 16:44:58 +02:00
Moritz Grimm
cfbbc94751 Assume the availability of POSIX signals 2017-07-07 16:44:58 +02:00
Moritz Grimm
71e5820df1 Make cmdline_parse() restartable 2017-07-07 16:44:58 +02:00
redswitchio
582c0b67ad Fixed the copypasta mistake of using the PLACEHOLDER_ARTIST value in the PLACEHOLDER_ALBUM conditional. 2017-07-05 05:09:26 -04:00
redswitchio
cd98caa5fb Added additional code needed to support the album field when constructing the metadata string. 2017-07-04 21:34:58 -04:00
Moritz Grimm
cec131e83a Fix misleading function name 2016-10-14 16:23:32 +02:00
Moritz Grimm
cce2455bc6 Rename config file (re)load function for clarity 2016-10-14 16:19:39 +02:00
Moritz Grimm
2124bf7486 Merge branch 'develop' of ssh://git.xiph.org/ezstream into develop 2016-05-19 14:59:23 +02:00
Moritz Grimm
b1aecc835a Put "get_metadata_str()" where it belongs 2016-05-19 14:37:21 +02:00
Moritz Grimm
3135c9e517 ezstream.c/libshout untangle 2/2 2016-05-19 14:19:31 +02:00
Moritz Grimm
4d787b10a3 Streamline set_metadata() behavior on error/success 2016-05-19 14:12:34 +02:00
Moritz Grimm
3ba4b06478 Move urlParse() to util.c 2016-05-19 14:06:31 +02:00
Moritz Grimm
79ab90ef34 Fix typo in log message 2016-05-03 15:42:15 +02:00
Moritz Grimm
0f6de67977 Depend on TagLib unconditionally
- Removes effectively untested code paths
- Removes libvorbisfile dependency
2016-04-22 15:56:30 +02:00
Moritz Grimm
9eff442169 Squelch conversion warnings with explicit casts 2016-04-22 15:44:01 +02:00
Moritz Grimm
9738668129 Fix SET_INTNUM copypasta type error 2016-04-22 15:43:20 +02:00
Moritz Grimm
7491b868c5 Add explicit casts to squelch pointer signedness warnings 2016-04-22 15:31:20 +02:00
Moritz Grimm
a9728c54be ezstream.c/libshout untangle 1/2 2016-03-24 18:16:00 +01:00
Moritz Grimm
1fe0ab595c Improve fgets() error handling 2016-03-24 17:50:31 +01:00
Moritz Grimm
f05462c7ea Merge remote-tracking branch 'origin/feature/stream_refactor' into feature/https_support 2016-03-07 11:12:22 +01:00
Moritz Grimm
a337c74ea4 Update TLS configuration to match libshout requirements 2016-03-04 18:20:17 +01:00
Moritz Grimm
4b087df3ab Add plumbing for future encapsulation of libshout usage 2015-06-15 08:04:57 +02:00
Moritz Grimm
77fe651bff Move config plausibility check to CFG and test it 2015-06-11 23:50:31 +02:00