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

364 Commits

Author SHA1 Message Date
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
moritz
8acd8622d0 Make main() smaller by moving the libshout setup into a separate function.
git-svn-id: https://svn.xiph.org/trunk/ezstream@13586 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-08-22 15:15:49 +00:00
moritz
79dc5a37da Bump version numbers here, too.
git-svn-id: https://svn.xiph.org/trunk/ezstream@13546 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-08-14 04:10:12 +00:00
moritz
537c943cd3 Sync.
git-svn-id: https://svn.xiph.org/trunk/ezstream@13545 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-08-14 04:08:19 +00:00
moritz
78f58cbd27 Ticket #1225, reported by matpoc at lenta dot ru: Looks like there's demand
for normalizing metadata strings, which -- I assume -- is due to strange
(MP3) encoders that do weird things. Well, why not. It's not too intrusive,
and disabled by default. Enable string normalization with the new -n command
line parameter.


git-svn-id: https://svn.xiph.org/trunk/ezstream@13544 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-08-14 03:43:35 +00:00
moritz
cfa9017fc3 Bump to 0.5.0, new feature coming up.
git-svn-id: https://svn.xiph.org/trunk/ezstream@13543 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-08-14 03:33:12 +00:00
moritz
a4b1f2b7f6 Ticket #1225, reported by matpoc at lenta dot ru: Bring back special case
for streaming MP3 files without reencoding, which was lost during the many
changes in 0.3.0 and subsequently forgotten. Sorry for the inconvenience,
and thanks for the report.


git-svn-id: https://svn.xiph.org/trunk/ezstream@13542 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-08-14 03:32:13 +00:00