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

15 Commits

Author SHA1 Message Date
Moritz Grimm
43e48648fa Refactor configuration (work in progress)
* Move -m and -n command line options into the config file
* Restructure configuration file:
  - Group into "server", "stream", "media", "metadata", "decoders", and
    "encoders"
  - Untangle decoder and encoder:
    o Decoders match on file extensions and convert to a canonical "internal"
      format
    o Encoders create one of the supported stream formats, potentially using
      different parameters (like bitrate)
  - Consistently specify stream format
  - Enable reencoding by selecting an encoder
* Architecturally separate configuration file storage from parsing
  - Allows for different configuration back-ends in the future, like
    YAML, SQL, REST API, ...
* Support roll-back in case of error on (re)load
* Anticipate HTTPS support
2015-05-06 00:38:00 +02:00
Moritz Grimm
739a08b5b9 Untangle compatibility code
* update to latest strlc*(3) and strtonum(3) functions
* isolate local_basename()
2015-02-27 22:42:51 +01:00
Moritz Grimm
8819f0f9f9 Require automake 1.10 everywhere 2015-02-23 13:51:47 +01:00
Moritz Grimm
6211bc8506 Fix a shell command injection vulnerability in metadata
This has been reported by Alexandre Rebert in February 2013(!).
The time to fix is terrible; luckily, the affected user base is likely to be
very small.
2015-01-07 22:49:09 +01:00
moritz
549af56184 Add new <metadata_refreshinterval/> feature
Add new <metadata_refreshinterval/> feature and configuration option. Based on
a patch by Matthew Adams (thanks!), with minor changes and documentation
additions by me.

(cherry picked from commit 4176545211)
2015-01-01 23:41:31 +01:00
moritz
82b59b717d ezstream-file_template.xml should also contain <stream_once/>.
(cherry picked from commit cfe1900c8c)
2015-01-01 23:38:44 +01:00
moritz
85406d9399 Add an example template configuration for ezstream-file.sh(1).
git-svn-id: https://svn.xiph.org/trunk/ezstream@16535 0101bb08-14d6-0310-b084-bc0e0c8e3800
2009-08-30 20:34:03 +00:00
moritz
c5da3377ac Listen to my own documentation: the end-of-playlist case is indicated by an
empty line. But ...


git-svn-id: https://svn.xiph.org/trunk/ezstream@16525 0101bb08-14d6-0310-b084-bc0e0c8e3800
2009-08-29 09:12:53 +00:00
moritz
ca4060f94c Add a more fancy playlist script.
git-svn-id: https://svn.xiph.org/trunk/ezstream@16523 0101bb08-14d6-0310-b084-bc0e0c8e3800
2009-08-28 15:55:13 +00:00
moritz
c6a686560e Akos Veres suggested that ezstream should be able to set the login username,
and I concur.


git-svn-id: https://svn.xiph.org/trunk/ezstream@16319 0101bb08-14d6-0310-b084-bc0e0c8e3800
2009-07-22 20:19:38 +00:00
moritz
c0b2b86332 Remove -x argument to lame. This makes the examples work for me by default
again, with a more recent lame version.


git-svn-id: https://svn.xiph.org/trunk/ezstream@15875 0101bb08-14d6-0310-b084-bc0e0c8e3800
2009-03-28 13:38:30 +00:00
moritz
9acbffc2dd Overhaul the ezstream build system, using my own library of autoconf macros.
There are a few benefits to this, but the main reason is consistency and me
completely understanding what's going on. Regressions are not expected, but
wouldn't surprise either ... this needs lots of testing.


git-svn-id: https://svn.xiph.org/trunk/ezstream@15776 0101bb08-14d6-0310-b084-bc0e0c8e3800
2009-03-16 00:08:31 +00:00
moritz
22884e3fbb * Add new configuration example for streaming from standard input.
* Rename reencoding examples to shorter and less redundant filenames.


git-svn-id: https://svn.xiph.org/trunk/ezstream@14094 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-11-04 13:40:58 +00:00
moritz
0b31a1b57f Improve the reencoding examples; more usable defaults and add more options
to create a more well-defined stream of raw samples.


git-svn-id: https://svn.xiph.org/trunk/ezstream@14093 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-11-04 13:09:08 +00:00
moritz
5125437d3f Move conf/ to examples/. Add ezstream_metadata.xml and two minimalistic example
scripts.


git-svn-id: https://svn.xiph.org/trunk/ezstream@12710 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-03-10 20:13:56 +00:00