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

190 Commits

Author SHA1 Message Date
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
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