1
0
mirror of https://gitlab.xiph.org/xiph/ezstream.git synced 2024-09-15 04:08:07 -04:00
Commit Graph

181 Commits

Author SHA1 Message Date
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
moritz
e2a0a9a1bb More build tweaks. The only thing that still doesn't work by now is building
a static, thread-safe libshout. Bugger all, this can wait until if/when I need
threads.


git-svn-id: https://svn.xiph.org/trunk/ezstream@13494 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-08-09 11:13:38 +00:00
moritz
cd26639a15 Since playlist_t is using size_t, change two unsigned longs to size_t as well.
git-svn-id: https://svn.xiph.org/trunk/ezstream@13467 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-08-08 21:52:50 +00:00
moritz
4ca02d0ee8 More Win32 project and build cleanups.
git-svn-id: https://svn.xiph.org/trunk/ezstream@13466 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-08-08 21:33:38 +00:00
moritz
3e511a1f95 Reorder project list and add xalloc.* to the build.
git-svn-id: https://svn.xiph.org/trunk/ezstream@13464 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-08-08 14:21:19 +00:00
moritz
3531b646cf WIN32 #ifdef reduction.
git-svn-id: https://svn.xiph.org/trunk/ezstream@13463 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-08-08 14:20:41 +00:00
moritz
b75fc3aa33 A few tweaks:
* Get ISO C99 from the compiler, if possible.
 * Check for ssize_t for --enable-debug portability.
 * Add AC_C_VOLATILE check, because we use it.


git-svn-id: https://svn.xiph.org/trunk/ezstream@13462 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-08-08 13:46:17 +00:00
moritz
134ebe3277 Damn, it looks like I forgot to update this for the Win32 builds ...
git-svn-id: https://svn.xiph.org/trunk/ezstream@13461 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-08-08 13:25:12 +00:00
moritz
709ae55108 Sync.
git-svn-id: https://svn.xiph.org/trunk/ezstream@13460 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-08-08 13:24:29 +00:00
moritz
71a41f876c Rename shutdown() to ez_shutdown() to prevent a function name clash on Windows.
git-svn-id: https://svn.xiph.org/trunk/ezstream@13458 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-08-08 13:15:04 +00:00
moritz
086b61a190 Use a better \n and \r trimming idiom after fgets().
git-svn-id: https://svn.xiph.org/trunk/ezstream@13457 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-08-08 13:04:49 +00:00
moritz
539100e6fc It's good to know how to spell the own email address.
git-svn-id: https://svn.xiph.org/trunk/ezstream@13443 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-08-04 17:24:18 +00:00
moritz
9dbe97bf47 Merge.
git-svn-id: https://svn.xiph.org/trunk/ezstream@13441 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-08-04 17:10:37 +00:00
moritz
c8a98a5b72 Sprinkle in some consistency ...
git-svn-id: https://svn.xiph.org/trunk/ezstream@13440 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-08-04 17:10:29 +00:00
moritz
3dd13ec7aa Do a clean shutdown on SIGINT and SIGTERM.
git-svn-id: https://svn.xiph.org/trunk/ezstream@13438 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-08-04 17:04:50 +00:00
moritz
c444af6814 Merge xalloc changes.
git-svn-id: https://svn.xiph.org/trunk/ezstream@13437 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-08-04 16:46:17 +00:00
moritz
53fa75fdba Now that xalloc is pretty much an external entity, explicitly set freed
pointers to NULL if we lateron expect them to be NULL (no longer rely on
xalloc to do this for us.)


git-svn-id: https://svn.xiph.org/trunk/ezstream@13436 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-08-04 16:39:09 +00:00
moritz
f282e3d474 Do not xfree() something that wasn't x*alloc()'ed.
git-svn-id: https://svn.xiph.org/trunk/ezstream@13433 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-08-04 16:09:50 +00:00
moritz
b98f9a8f49 Make PACKAGE_BUGREPORT point to the bug tracker URI.
git-svn-id: https://svn.xiph.org/trunk/ezstream@13432 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-08-02 18:50:05 +00:00
moritz
62661080dc Switch to using the (integrated) libxalloc.
git-svn-id: https://svn.xiph.org/trunk/ezstream@13431 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-08-02 18:48:26 +00:00
moritz
c1ca736734 Cosmetic changes; no functional change. Use the calloc()-style API correctly.
git-svn-id: https://svn.xiph.org/trunk/ezstream@13304 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-07-24 15:29:16 +00:00
moritz
452a8e83cb Cosmetic changes. No functional change.
git-svn-id: https://svn.xiph.org/trunk/ezstream@13303 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-07-24 15:13:45 +00:00
moritz
dbcb1784a9 Bump version number after the 0.4.3 release.
git-svn-id: https://svn.xiph.org/trunk/ezstream@13302 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-07-24 13:44:04 +00:00
moritz
75acf66861 Sync.
git-svn-id: https://svn.xiph.org/trunk/ezstream@13298 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-07-24 13:21:19 +00:00
moritz
56ae44eb23 Another bugfix, another 0.4.x release.
git-svn-id: https://svn.xiph.org/trunk/ezstream@13297 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-07-24 13:20:11 +00:00
moritz
ef221fcc38 Fix the dang file descriptor leak of < 0.4.1 for good; the old fix only
took care of it partially. Diagnosed with the help from someone, who wishes
to stay anonymous. Thanks!


git-svn-id: https://svn.xiph.org/trunk/ezstream@13296 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-07-24 13:04:01 +00:00
moritz
07e82c01a4 Bump the version number after the 0.4.2 release.
git-svn-id: https://svn.xiph.org/trunk/ezstream@13279 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-07-17 15:16:25 +00:00
moritz
7fd61dc929 Sync
git-svn-id: https://svn.xiph.org/trunk/ezstream@13275 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-07-17 14:47:04 +00:00
moritz
7bd57086a9 Get this out the door today, no need to hold back.
git-svn-id: https://svn.xiph.org/trunk/ezstream@13274 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-07-17 14:45:52 +00:00
moritz
af6479c0d9 D'oh! Make <stream_once/> work with playlists as well. Problem description
found in the Icecast mailing list archive, in a mail by Geoff Shang, via
Google. Let's hope that the bug tracker prevents this kind of bug hunting
in the future ...


git-svn-id: https://svn.xiph.org/trunk/ezstream@13272 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-07-16 00:32:17 +00:00
moritz
d761ddc979 Provide a pointer to the home page to Windows users.
git-svn-id: https://svn.xiph.org/trunk/ezstream@13270 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-07-15 19:16:21 +00:00
moritz
af7857c208 Bump version number after the 0.4.1 release.
git-svn-id: https://svn.xiph.org/trunk/ezstream@13269 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-07-15 19:11:54 +00:00
moritz
d7b3b4d94f Update.
git-svn-id: https://svn.xiph.org/trunk/ezstream@13265 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-07-15 16:38:46 +00:00
moritz
c4b7d4f016 This will be released today.
git-svn-id: https://svn.xiph.org/trunk/ezstream@13264 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-07-15 16:37:37 +00:00