| 1 |
Changes in 1.0.2, released on 2021-02-12: |
| 2 |
|
| 3 |
* Fix a crash, if metadata placeholders are configured for input files |
| 4 |
that do not contain the respective values. From gui-lux on Github (#16). |
| 5 |
* Fix a crash in one instance of querying the metadata program. From taku0220 |
| 6 |
on Github (#23). |
| 7 |
* Fix a crash when referencing an unconfigured intake in a stream. From |
| 8 |
Optiqus on Github (#28). |
| 9 |
* Documentation and example improvements |
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
Changes in 1.0.1, released on 2020-02-22: |
| 14 |
|
| 15 |
* Fix a crash, if there is a typo in the <encoder /> setting |
| 16 |
* Fix regression setting the stream name. From zygmund2000 on Github. |
| 17 |
* Minor example and documentation tweaks |
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
Changes in 1.0.0, released on 2020-01-29: |
| 22 |
|
| 23 |
* Major feature release with a new configuration file structure |
| 24 |
* New configuration migration tool to help with the upgrade |
| 25 |
(ezstream-cfgmigrate) |
| 26 |
* Added support for modern libshout functionality: |
| 27 |
- WebM and Matroska media formats |
| 28 |
- ICY and RoarAudio streaming protocols |
| 29 |
- TLS encryption |
| 30 |
* Several bug fixes and an extensive unit test suite |
| 31 |
* Support the new '@b@' placeholder for separate album metadata |
| 32 |
* The command line option -p has been added, causing ezstream to write a |
| 33 |
locked PID file to a given location |
| 34 |
* The command line options -m and -n have been removed, and new configuration |
| 35 |
file settings have been added accordingly |
| 36 |
* The real-time status information is now enabled explicitly with the new |
| 37 |
command line option -r |
| 38 |
* The behaviour of the -s command line argument was changed: |
| 39 |
To shuffle lines from standard input, the special file name "-" needs |
| 40 |
to be provided. |
| 41 |
* TagLib (its C wrapper library) is now a mandatory dependency |
| 42 |
* Native support for MS Windows and certain legacy UNIX systems has been |
| 43 |
removed |
| 44 |
|
| 45 |
|
| 46 |
|
| 47 |
Changes in 0.6.1, released on 2020-01-29: |
| 48 |
|
| 49 |
* src/util.c |
| 50 |
- [FIX] Fix crash on missing <format/> element. From Petr Pisar. |
| 51 |
(Ticket #2208) |
| 52 |
|
| 53 |
|
| 54 |
|
| 55 |
Changes in 0.6.0, released on 2015-01-18: |
| 56 |
|
| 57 |
* This release contains a SECURITY FIX for a command injection vulnerability |
| 58 |
that was found and reported by Alexandre Rebert: |
| 59 |
|
| 60 |
The previous handling of metadata placeholders allowed for arbitrary shell |
| 61 |
commands to be trivially injected and executed as the ezstream user, via |
| 62 |
malicious media files. |
| 63 |
|
| 64 |
This vulnerability depends on both a configuration using metadata |
| 65 |
placeholders and the user streaming media files from untrusted sources |
| 66 |
without noticing `commands` or $(commands) in artist or title fields. |
| 67 |
|
| 68 |
While the group of actually affected users may be limited, all users are |
| 69 |
advised to upgrade. |
| 70 |
|
| 71 |
* This release requires users to ADJUST their CONFIGURATION: |
| 72 |
|
| 73 |
To protect against the injection vulnerability above, metadata is now |
| 74 |
properly quoted and escaped from the shell. This means that any extra |
| 75 |
quoting must be removed from configuration files. |
| 76 |
|
| 77 |
Remove all quoting from metadata placeholders in <encode/> and <decode/> |
| 78 |
commands, e.g. replace "@M@" with @M@, and "@T@" with @T@, etc. Without |
| 79 |
these changes, stream metadata will look both wrong and the injection |
| 80 |
vulnerability may be re-introduced. |
| 81 |
|
| 82 |
Configuration examples have been adjusted accordingly. |
| 83 |
|
| 84 |
* src/ezstream.c: |
| 85 |
- [FIX] Prevent certain characters from being interpreted by the shell. |
| 86 |
- [FIX] Prevent ezstream from entering an infinite loop when stopping to |
| 87 |
send data to standard input. From gquintard. |
| 88 |
(Ticket #2045) |
| 89 |
* various: |
| 90 |
- [NEW] Add new <metadata_refreshinterval/> feature from Matthew Adams |
| 91 |
(with minor changes plus documentation.) This allows for recurring |
| 92 |
and custom metadata updates in between song changes via |
| 93 |
<metadata_progname/>. |
| 94 |
- [NEW] Add new command line option `-m' to disable any active metadata |
| 95 |
updates. Idea from Richard Thomas. |
| 96 |
(Ticket #1620) |
| 97 |
|
| 98 |
|
| 99 |
|
| 100 |
Changes in 0.5.6, released on 2009-08-31: |
| 101 |
|
| 102 |
* ezstream-file.sh: |
| 103 |
- [NEW] Add and install ezstream-file.sh, a new convenience shell script |
| 104 |
that generates configuration and playlist from a template and |
| 105 |
command line, respectively. (Bourne shell and POSIX utilities |
| 106 |
required.) |
| 107 |
See ezstream-file.sh(1) for details. |
| 108 |
* src/ezstream.c: |
| 109 |
- [MISC] Be more tolerant towards faulty playlists and similar issues. |
| 110 |
Failure to open a resource (e.g. a media file) is no longer fatal |
| 111 |
and operation will continue until 100 subsequent errors. Based on |
| 112 |
an idea from dhorton. |
| 113 |
(Ticket #1585) |
| 114 |
- [NEW] New command line option -s: Make ezstream function as a line- |
| 115 |
based shuffling utility. |
| 116 |
* src/playlist.c: |
| 117 |
- [MISC] Consider no output from a playlist program to be equivalent to an |
| 118 |
empty line, indicating that the end of the playlist is reached. |
| 119 |
- [FIX] Do not complain when receiving an empty line from a playlist |
| 120 |
program. |
| 121 |
* examples/: |
| 122 |
- [NEW] Add a real-world example playlist script with logging feature. |
| 123 |
|
| 124 |
|
| 125 |
|
| 126 |
Changes in 0.5.5, released on 2009-08-01: |
| 127 |
|
| 128 |
* win32/config.h: |
| 129 |
- [FIX] Re-enable TagLib support in MSVC build. Found by Roman Donchenko. |
| 130 |
(Ticket #1535) |
| 131 |
|
| 132 |
* various: |
| 133 |
- [NEW] New optional <sourceuser/> configuration option, to change the |
| 134 |
username used in authentication with Icecast. Suggested by |
| 135 |
Akos Veres. |
| 136 |
- [MISC] Further improvements and minor fixes in the build system. |
| 137 |
|
| 138 |
|
| 139 |
|
| 140 |
Changes in 0.5.4, released on 2009-03-28: |
| 141 |
|
| 142 |
* compat/sys/tree.*: |
| 143 |
- [MISC] Update the tree macros to a newer version. The manual, shipped for |
| 144 |
reference, now has a more friendly 2-clause BSD license. |
| 145 |
|
| 146 |
* various: |
| 147 |
- [FIX] Add a missing metadata charset conversion, and add charset |
| 148 |
conversions for filenames. From Roman Donchenko. |
| 149 |
- [FIX] Fix build on MinGW. From Roman Donchenko. |
| 150 |
- [MISC] Overhaul and modernize the build system. Ezstream is now expected |
| 151 |
to build "out of the box" on more systems without configuration |
| 152 |
tweaks. |
| 153 |
- [FIX] Adjust the build system to better handle optional dependencies. |
| 154 |
It is now possible to choose between TagLib and libvorbis for |
| 155 |
reading Ogg Vorbis metadata, or no Vorbis metadata support at |
| 156 |
all. (Ticket #1398) |
| 157 |
- [MISC] Miscellaneous code maintenance and a bit of cleaning up. |
| 158 |
|
| 159 |
|
| 160 |
|
| 161 |
Changes in 0.5.3, released on 2007-12-01: |
| 162 |
|
| 163 |
* src/ezstream.c: |
| 164 |
- [FIX] Prevent (very) long-running ezstream processes from dying without |
| 165 |
error message by ignoring SIGPIPE where available. |
| 166 |
|
| 167 |
|
| 168 |
|
| 169 |
Changes in 0.5.2, released on 2007-11-04: |
| 170 |
|
| 171 |
* src/ezstream.c: |
| 172 |
- [FIX] Fix a crash that occurs when streaming from standard input without |
| 173 |
using a script or program that supplies metadata information. |
| 174 |
(Ticket #1247) |
| 175 |
- [FIX] Similar to the fix for #1247, properly initialize another |
| 176 |
variable. The result is a cosmetic fix for the "real-time" status |
| 177 |
line when streaming from standard input. |
| 178 |
- [MISC] Provide a useful error message when there's no more data to read |
| 179 |
from standard input instead of talking about scary, bad file |
| 180 |
descriptors. |
| 181 |
- [MISC] Further prettify the output to make more sense when streaming from |
| 182 |
standard input. |
| 183 |
|
| 184 |
* src/xalloc.c: |
| 185 |
- [FIX] A rare, possible crash has been fixed in an error path. |
| 186 |
|
| 187 |
* examples/*: |
| 188 |
- [NEW] Add an example configuration for streaming from standard input. |
| 189 |
- [MISC] Improve reencoding examples to make them more easily usable with |
| 190 |
fewer changes. |
| 191 |
- [MISC] Reenconding example files have been renamed. |
| 192 |
|
| 193 |
|
| 194 |
|
| 195 |
Changes in 0.5.1, released on 2007-09-16: |
| 196 |
|
| 197 |
* src/playlist.c: |
| 198 |
- [FIX] Fix a segmentation fault in playlist_*_next() when trying to |
| 199 |
access empty playlists. (Ticket #1240) |
| 200 |
|
| 201 |
* src/ezstream.c: |
| 202 |
- [MISC] Issue a warning in verbose mode when dealing with an empty |
| 203 |
playlist file. This also makes it more obvious what is going on |
| 204 |
when a user makes ezstream spin on an empty playlist with |
| 205 |
<stream_once/> set to 0. |
| 206 |
|
| 207 |
|
| 208 |
|
| 209 |
Changes in 0.5.0, released on 2007-08-31: |
| 210 |
|
| 211 |
* src/ezstream.c: |
| 212 |
- [FIX] The special case of streaming MP3 files without reencoding had |
| 213 |
been lost, causing such streams to have no metadata. This has |
| 214 |
been fixed. (Ticket #1225) |
| 215 |
- [MISC] Handle SIGINT and SIGTERM to perform a clean shutdown. |
| 216 |
|
| 217 |
* various: |
| 218 |
- [NEW] A new convenience feature has been added, to allow automatic |
| 219 |
normalization of metadata strings. Useful if the majority of |
| 220 |
files come from a broken encoder/tagging program. Disabled |
| 221 |
by default, this feature can be enabled with the new `-n' |
| 222 |
command line parameter. |
| 223 |
- [NEW] Enable Unicode support in TagLib and convert metadata strings |
| 224 |
to the current locale (LC_CTYPE) before displaying them on the |
| 225 |
console. Unsupported characters are displayed as '?', which |
| 226 |
does not affect the actual metadata. This feature requires |
| 227 |
iconv() via libc, if available, or GNU libiconv. |
| 228 |
- [NEW] Support gettimeofday() functionality on all platforms, including |
| 229 |
Windows. The "real-time status line" when using the -q and -v |
| 230 |
parameters is now complete everywhere. |
| 231 |
- [MISC] Add new --enable-debug configuration option to the configure |
| 232 |
script, which enables (also new) memory debugging features. |
| 233 |
(Not interesting for non-developers.) |
| 234 |
- [MISC] Various small code cleanups. |
| 235 |
|
| 236 |
* The Windows build of ezstream now supports reading metadata from files |
| 237 |
with TagLib. |
| 238 |
|
| 239 |
|
| 240 |
|
| 241 |
Changes in 0.4.3, released on 2007-07-24: |
| 242 |
|
| 243 |
* src/ezstream.c: |
| 244 |
- [FIX] Plug the file descriptor leak, partially fixed in version 0.4.1, |
| 245 |
for good - it affected more than just the -q use case. |
| 246 |
|
| 247 |
|
| 248 |
|
| 249 |
Changes in 0.4.2, released on 2007-07-17: |
| 250 |
|
| 251 |
* src/ezstream.c: |
| 252 |
- [FIX] Make <stream_once/> work with playlists, too. Problem found by |
| 253 |
Geoff Shang <geoff at quitelikely dot com>. |
| 254 |
|
| 255 |
|
| 256 |
|
| 257 |
Changes in 0.4.1, released on 2007-07-15: |
| 258 |
|
| 259 |
* src/ezstream.c: |
| 260 |
- [FIX] Plug a file descriptor leak when using the -q parameter. |
| 261 |
|
| 262 |
* Documentation: |
| 263 |
- [FIX] Minor spelling/consistency fixes. |
| 264 |
|
| 265 |
|
| 266 |
|
| 267 |
Changes in 0.4.0, released on 2007-03-11: |
| 268 |
|
| 269 |
* src/util.*: |
| 270 |
- [FIX] The xfree() function did not work as intended due to a programming |
| 271 |
error. Found, and fix suggested, by Karl Heyes. |
| 272 |
|
| 273 |
* src/playlist.*: |
| 274 |
- [FIX] An error compareable to the one about xfree() in src/util.* has |
| 275 |
been fixed. |
| 276 |
- [MISC] Refuse to execute a group- or world-writeable playlist script or |
| 277 |
program. |
| 278 |
|
| 279 |
* src/compat.c: |
| 280 |
- [NEW] Implement a basename() function for Windows that behaves like the |
| 281 |
ones used on Unix systems. |
| 282 |
|
| 283 |
* win32/: |
| 284 |
- [MISC] Remove the rather ugly HTML version of the man page from the |
| 285 |
distribution, and provide a much better PDF version instead. |
| 286 |
|
| 287 |
* various: |
| 288 |
- [NEW] Allow ezstream to use TagLib for reading metadata from media |
| 289 |
files. TagLib (libtag_c) is now an optional dependency. |
| 290 |
- [NEW] When built with TagLib support, include the song length in the |
| 291 |
"real-time" information line, if available. |
| 292 |
- [NEW] New <metadata_progname> configuration option, which causes |
| 293 |
metadata to be read from the output of an external program or |
| 294 |
script. |
| 295 |
- [NEW] New runtime control via the SIGUSR2 signal, which triggers reading |
| 296 |
of fresh metadata information from <metadata_progname> (metadata |
| 297 |
is always read at song changes.) |
| 298 |
- [NEW] New <metadata_format> configuration option, to customize metadata |
| 299 |
strings when used with the new <metadata_progname> feature. |
| 300 |
- [NEW] New '@a@' and '@t@' placeholders for separate artist and title |
| 301 |
metadata in de-/encoder commands. |
| 302 |
|
| 303 |
|
| 304 |
|
| 305 |
Changes in 0.3.0, released on 2007-03-05: |
| 306 |
|
| 307 |
* The original author, Ed Zaleski, hands over ezstream maintainership to |
| 308 |
Moritz Grimm. |
| 309 |
|
| 310 |
* New features: |
| 311 |
- Playlist shuffling support, enabled via the new <shuffle> configuration |
| 312 |
option. |
| 313 |
- Playlist scripting support: Indicate that the executable in <filename> |
| 314 |
should be run each time to get a new media filename to stream, by setting |
| 315 |
the new <playlist_program> configuration option to 1. |
| 316 |
- New <stream_once> configuration option, which makes ezstream play a media |
| 317 |
file or playlist once and then exit. |
| 318 |
- New <reconnect_tries> option to restrict the number of reconnection |
| 319 |
attempts to a server in case the connection goes down. |
| 320 |
- Add feature to skip the currently streaming track, done by sending the |
| 321 |
SIGUSR1 signal to the ezstream process. |
| 322 |
- New command line option `-q': Suppress standard error output from external |
| 323 |
de-/encoders. |
| 324 |
- New command line option `-v': Produce more verbose output. |
| 325 |
- New "real-time" status display of the stream when both -q and -v are given |
| 326 |
on the command line. |
| 327 |
- Thorough configuration file checks with helpful error messages. |
| 328 |
- The @M@ metadata placeholder is now supported in <decode>. |
| 329 |
- Playlists may now have the '.txt' filename extension in addition to |
| 330 |
'.m3u'. |
| 331 |
|
| 332 |
* Fixes: |
| 333 |
- At least one stack and one heap overflow have been fixed. |
| 334 |
- Several memory leaks have been fixed. |
| 335 |
- Strict checking of the configuration file prevents unexpected behavior and |
| 336 |
adds another safeguard to prevent crashes. |
| 337 |
- Fixed and more portable signal handling. |
| 338 |
|
| 339 |
* Miscellaneous, user-visible changes: |
| 340 |
- Improved documentation. Ezstream now has a comprehensive man page and the |
| 341 |
README file has been rewritten. |
| 342 |
- Consistency improvements in the configuration examples. The examples are |
| 343 |
now also installed. |
| 344 |
- The <format/> and <match/> configuration elements, as well as filename |
| 345 |
extension matching to detect playlists in the <filename> element, are |
| 346 |
now case insensitive. |
| 347 |
- Various improvements in the build system and portability fixes. |
| 348 |
- Consistent and more helpful messages from ezstream. By default, ezstream |
| 349 |
no longer clutters the screen with lots of output (some information that |
| 350 |
used to be available needs to be enabled with the new `-v' command line |
| 351 |
parameter.) |
| 352 |
- Tweaked metadata string generation: no more lone " - " dashes at the |
| 353 |
beginning or end of the string. |
| 354 |
- New command line option `-V': Print the version number and exit. |
| 355 |
|
| 356 |
|
| 357 |
|
| 358 |
Changes in 0.2.1, released on 2005-12-14: |
| 359 |
|
| 360 |
* src/ezstream.c: |
| 361 |
- [FIX] Prevent a heap overflow with large ID3v1 tags. |
| 362 |
- [FIX] Use pclose() on FILE* handles that were opened with popen(). |
| 363 |
|
| 364 |
|
| 365 |
|
| 366 |
Changes in 0.2.0, released on 2005-01-05: |
| 367 |
|
| 368 |
* various: |
| 369 |
- [MISC] Clean up and improve example configuration files, and add more |
| 370 |
examples. |
| 371 |
|
| 372 |
* src/ezstream.c: |
| 373 |
- [FIX] Fix reencoding support on Windows. |
| 374 |
- [ADD] Attempt to reconnect to a server if the connection goes down |
| 375 |
during streaming. |
| 376 |
|
| 377 |
|
| 378 |
|
| 379 |
Changes in 0.1.3, released on 2004-12-22: |
| 380 |
|
| 381 |
* various: |
| 382 |
- [ADD] Add support for streaming Ogg Theora. |
| 383 |
- [ADD] Add reencoding support via external de-/encoders. |
| 384 |
- [ADD] Support passing through unknown media types. |
| 385 |
|
| 386 |
|
| 387 |
|
| 388 |
Changes in 0.1.2, released on 2004-04-21: |
| 389 |
|
| 390 |
* src/ezstream.c: |
| 391 |
- [ADD] Add feature to reread the playlist after the currently streaming |
| 392 |
track, done by sending the SIGHUP signal to the ezstream process. |
| 393 |
|
| 394 |
|
| 395 |
|
| 396 |
Changes is 0.1.1, released on 2004-02-02: |
| 397 |
|
| 398 |
* src/ezstream.c: |
| 399 |
- [FIX] Set read mode to binary for stdin on WIN32. |
| 400 |
|
| 401 |
* win32/ezstream.dsp: |
| 402 |
- [MISC] Add libxml to project file. |
| 403 |
|
| 404 |
|
| 405 |
|
| 406 |
2004-01-30: |
| 407 |
|
| 408 |
* Initial import of ezstream 0.1.0 into Xiph.org SVN. |
| 409 |
|
| 410 |
* Ezstream 0.1.0 released. |