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

470 Commits

Author SHA1 Message Date
moritz
ddb6c4091f Ignore SIGPIPE, which turned out to be the cause for silent deaths of long-
running ezstream processes.


git-svn-id: https://svn.xiph.org/trunk/ezstream@14255 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-12-01 16:02:55 +00:00
moritz
0856c44749 Post-release version bump.
git-svn-id: https://svn.xiph.org/trunk/ezstream@14101 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-11-04 14:34:07 +00:00
moritz
87fb674c44 Sync.
git-svn-id: https://svn.xiph.org/trunk/ezstream@14097 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-11-04 13:52:59 +00:00
moritz
1f1789037a Today is release day, finally.
git-svn-id: https://svn.xiph.org/trunk/ezstream@14096 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-11-04 13:50:54 +00:00
moritz
cde2244067 Sync.
git-svn-id: https://svn.xiph.org/trunk/ezstream@14095 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-11-04 13:43:13 +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
deee4fa80f Sync.
git-svn-id: https://svn.xiph.org/trunk/ezstream@14010 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-10-18 07:39:37 +00:00
moritz
259e3c1a62 Improve output messages some more when dealing with standard input.
git-svn-id: https://svn.xiph.org/trunk/ezstream@14009 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-10-18 07:39:18 +00:00
moritz
ee75e2a315 Wow, now how did that one creep in an remain undetected for so long?
git-svn-id: https://svn.xiph.org/trunk/ezstream@14008 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-10-18 06:38:51 +00:00
moritz
bc147ce6cb Update.
git-svn-id: https://svn.xiph.org/trunk/ezstream@14000 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-10-16 14:51:48 +00:00
moritz
e81b8b9f6e This needs changin' as well.
git-svn-id: https://svn.xiph.org/trunk/ezstream@13999 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-10-16 14:51:21 +00:00
moritz
fa310e948b Fix use of yet another uninitialized-if-streaming-from-stdin variable. This
prevents bogus output in the "real-time" status line.


git-svn-id: https://svn.xiph.org/trunk/ezstream@13998 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-10-16 14:46:37 +00:00
moritz
1f614e6486 Return a proper error message when there's no more data to read from standard
input.


git-svn-id: https://svn.xiph.org/trunk/ezstream@13997 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-10-16 14:44:42 +00:00
moritz
8460e4bf81 Ticket #1247: Don't dereference uninitialized junk pointers; this fixes a
crash when streaming standard input without also using a metadata program
(d'oh.)


git-svn-id: https://svn.xiph.org/trunk/ezstream@13996 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-10-16 14:28:23 +00:00
moritz
29e8441274 Post-release tweak: Add Ticket number.
git-svn-id: https://svn.xiph.org/trunk/ezstream@13840 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-09-16 12:50:55 +00:00
moritz
f826c1d8f5 Bump version number after the 0.5.1 release.
git-svn-id: https://svn.xiph.org/trunk/ezstream@13839 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-09-16 12:49:59 +00:00
moritz
86569f8b49 Sync.
git-svn-id: https://svn.xiph.org/trunk/ezstream@13835 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-09-16 12:23:50 +00:00
moritz
83d146778f 0.5.1 will be released today.
git-svn-id: https://svn.xiph.org/trunk/ezstream@13834 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-09-16 12:20:51 +00:00
moritz
3c7699edce Update.
git-svn-id: https://svn.xiph.org/trunk/ezstream@13803 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-09-14 07:01:38 +00:00
moritz
87c01b03ad Warn, in verbose mode, when dealing with empty playlists.
git-svn-id: https://svn.xiph.org/trunk/ezstream@13802 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-09-14 07:01:18 +00:00
moritz
1086dc4f15 In this case, the pl->num check is superfluous.
git-svn-id: https://svn.xiph.org/trunk/ezstream@13801 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-09-14 07:00:41 +00:00
moritz
b3f845a60d If there are no playlist entries, dereferencing pl->list causes a segfault.
Fix this by checking pl->num early.


git-svn-id: https://svn.xiph.org/trunk/ezstream@13800 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-09-14 06:59:28 +00:00
moritz
6955c0006f Bump version number after the 0.5.0 release.
git-svn-id: https://svn.xiph.org/trunk/ezstream@13678 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-08-31 17:19:10 +00:00
moritz
f50bc527e4 Sync.
git-svn-id: https://svn.xiph.org/trunk/ezstream@13672 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-08-31 16:22:35 +00:00
moritz
e0cbfd09b0 -Wno-unused-parameter breaks gcc2, remove it.
git-svn-id: https://svn.xiph.org/trunk/ezstream@13671 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-08-31 16:02:21 +00:00
moritz
ce1d2139e5 Try harder to link against TagLib.
git-svn-id: https://svn.xiph.org/trunk/ezstream@13670 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-08-31 15:55:16 +00:00
moritz
173e2e9539 Today is release day.
git-svn-id: https://svn.xiph.org/trunk/ezstream@13669 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-08-31 11:49:43 +00:00
moritz
957f1d94c5 gettimeofday() everywhere; now ezstream behaves almost the same on Windows
compared to Unix. Also mention TagLib support on Windows in NEWS.


git-svn-id: https://svn.xiph.org/trunk/ezstream@13668 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-08-31 11:47:54 +00:00
moritz
509dc8511e Fake the location of my basename() source to be more clear.
git-svn-id: https://svn.xiph.org/trunk/ezstream@13667 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-08-31 11:46:05 +00:00
moritz
8088ffc62b Having TagLib on Windows means that reading metadata from files should work
like elsewhere now. While here, do some minor tweaking as well.


git-svn-id: https://svn.xiph.org/trunk/ezstream@13665 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-08-31 01:59:50 +00:00
moritz
03b61cb968 ezstream.exe is now using TagLib as well.
git-svn-id: https://svn.xiph.org/trunk/ezstream@13664 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-08-31 01:48:40 +00:00
moritz
d561db0b32 Tweak, sync with what will be the new reality soon, and include COPYING.txt in
the future.


git-svn-id: https://svn.xiph.org/trunk/ezstream@13662 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-08-30 18:36:19 +00:00
moritz
343605c635 Document a few extra nits that also happened so far.
git-svn-id: https://svn.xiph.org/trunk/ezstream@13660 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-08-30 12:27:56 +00:00
moritz
30158c1902 Sync with new reality, and fix a completely botched up sentence.
git-svn-id: https://svn.xiph.org/trunk/ezstream@13659 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-08-30 12:13:01 +00:00
moritz
df482694c0 * Back out conversions to ISO8859-1.
* Add 'charset=UTF-8' to the metadata update query arguments. The current
  release of Icecast will ignore it, and the next one will know how to handle
  it (karl@ is still working on it at this point, but previous diffs worked
  as advertised.)
* If no metadata format string is available and we have both an artist and
  a title, use the artist/title way of updating instead of the generic "song"
  interface.


git-svn-id: https://svn.xiph.org/trunk/ezstream@13658 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-08-30 11:31:33 +00:00
moritz
de17e12fb8 When configure found libiconv, it helps to also have it use that information
to properly link against it. Problem spotted and fix tested by iCER on
#icecast.


git-svn-id: https://svn.xiph.org/trunk/ezstream@13632 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-08-26 14:31:40 +00:00
moritz
d5043d9270 Expand the "Metadata Caveats" subsection wrt codesets and actual abilities of
ezstream and Icecast.


git-svn-id: https://svn.xiph.org/trunk/ezstream@13627 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-08-25 15:07:38 +00:00
moritz
cf6761f437 Need to consider converting from an unknown/unsupported codeset as well.
git-svn-id: https://svn.xiph.org/trunk/ezstream@13626 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-08-25 14:37:42 +00:00
moritz
35c07b9516 Whoops. Fix error message ...
git-svn-id: https://svn.xiph.org/trunk/ezstream@13624 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-08-25 14:16:07 +00:00
moritz
15064493bc Get closer to what Icecast does (or will) expect wrt used codesets. I still
disagree with the new ISO-8859-1 assumption for non-Ogg streams, because
(for example) with ID3 tags, a codeset is simply not part of the specification
and a better assumption would be that they are in the user's locale.
Therefore, it would make more sense, IMO, to clearly specify that ANY metadata
sent to Icecast should be UTF-8 and let the source client figure out the rest.
This would also answer the question what codeset an /admin user should use if
the content type of a mountpoint isn't known (although that can be figured out
with an unclean read of the mountpoint's stats beforehand.)


git-svn-id: https://svn.xiph.org/trunk/ezstream@13622 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-08-25 12:24:51 +00:00
moritz
256394e811 Less code is always better.
git-svn-id: https://svn.xiph.org/trunk/ezstream@13616 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-08-24 17:23:09 +00:00
moritz
29fa4f1736 Mention optional iconv() dependency.
git-svn-id: https://svn.xiph.org/trunk/ezstream@13611 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-08-24 12:37:09 +00:00
moritz
1c72efc572 Add ticket no. to the MP3 metadata fix.
git-svn-id: https://svn.xiph.org/trunk/ezstream@13610 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-08-24 12:09:03 +00:00
moritz
f1028b0356 UTF-8 support is now ready to be used.
git-svn-id: https://svn.xiph.org/trunk/ezstream@13609 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-08-24 11:57:09 +00:00
moritz
0b3652810e Work in progress: Proper UTF-8 support that doesn't affect console output.
No new code is actually used, yet, as there's still more work to be done.
This adds the whole iconv-related build stuff and moves most auto* files
into build-aux/.


git-svn-id: https://svn.xiph.org/trunk/ezstream@13607 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-08-24 00:52:13 +00:00
moritz
c71530c0e2 Fix native ID3v1 reading (no-op, since affected fields were not used.)
git-svn-id: https://svn.xiph.org/trunk/ezstream@13606 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-08-24 00:46:21 +00:00
moritz
f481b60418 Change the MP3 special case, so working with metadata is more flexible. Turns
out that there is still a problem with MP3 streams that are being reencoded.
This allows me to try out more solutions.


git-svn-id: https://svn.xiph.org/trunk/ezstream@13592 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-08-23 13:48:42 +00:00
moritz
5927f80401 Consistency + typo fix.
git-svn-id: https://svn.xiph.org/trunk/ezstream@13589 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-08-22 18:29:01 +00:00
moritz
4a4a0dc700 The -c parameter is not optional.
git-svn-id: https://svn.xiph.org/trunk/ezstream@13587 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-08-22 15:19:17 +00:00