Re: [Savonet-users] double-utf8 metadata encoding with output.icecast and input.harbor
Thanks very much for your help rodger, I have fixed the problem. More details in http://dev.sourcefabric.org/browse/LS-473. If this seems all good to you as well I'll definitively close the issue. -- David -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ Savonet-users mailing list Savonet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/savonet-users
Re: [Savonet-users] double-utf8 metadata encoding with output.icecast and input.harbor
2011/2/3 David Baelde david.bae...@gmail.com A backtrace would be useful, see the section on exceptions here: http://wiki.sourcefabric.org/display/LS/Debugging I'm not sure that any of our charset conversions has protection against exceptions. It could be the case since weird cases like double-utf8 encodings are not so common. Thanks, David i added info for easy bug reproducing to ticket http://dev.sourcefabric.org/browse/LS-473 -- The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb___ Savonet-users mailing list Savonet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/savonet-users
[Savonet-users] double-utf8 metadata encoding with output.icecast and input.harbor
hi, list! what i have: DJ connect to input.harbor and stream mp3, their tags already encoded with utf8 input.harbor linked with output.icecast with default encoding what i got: liquidsoap send double-utf8 encoded stream to icecast i tried to set outputs encoder to ISO-8859-1 to prevent encoding, but then after about 30 minutes liquidsoap shut down with log message: 2011/02/03 10:12:54 [threads:1] Thread wallclock_main aborts with exception UChar.Out_of_range! What can i do in this situation to fix doubleutf encoding? -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d___ Savonet-users mailing list Savonet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/savonet-users
Re: [Savonet-users] double-utf8 metadata encoding with output.icecast and input.harbor
Le jeudi 03 février 2011 04:13:53, rodger lucky a écrit : hi, list! Hi ! what i have: DJ connect to input.harbor and stream mp3, their tags already encoded with utf8 input.harbor linked with output.icecast with default encoding what i got: liquidsoap send double-utf8 encoded stream to icecast i tried to set outputs encoder to ISO-8859-1 to prevent encoding, but then after about 30 minutes liquidsoap shut down with log message: 2011/02/03 10:12:54 [threads:1] Thread wallclock_main aborts with exception UChar.Out_of_range! Thanks for the ticket, we should not indeed crash on that.. What can i do in this situation to fix doubleutf encoding? Here is my guess: your DJ is using ICY (shoutcast) protocol but sends metadata in utf8. So far, I have assumed that metadata were always in iso for shoutcast because I believe this is the default. Thus metadata from shoutcast are always supposed to be iso.. I will commit an option to disable this, which should fix your issue.. Romain -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ Savonet-users mailing list Savonet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/savonet-users
Re: [Savonet-users] double-utf8 metadata encoding with output.icecast and input.harbor
A backtrace would be useful, see the section on exceptions here: http://wiki.sourcefabric.org/display/LS/Debugging I'm not sure that any of our charset conversions has protection against exceptions. It could be the case since weird cases like double-utf8 encodings are not so common. Thanks, David -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ Savonet-users mailing list Savonet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/savonet-users
Re: [Savonet-users] double-utf8 metadata encoding with output.icecast and input.harbor
Le jeudi 03 février 2011 08:21:44, Romain Beauxis a écrit : I will commit an option to disable this, which should fix your issue.. This should be fixed in the SVN. Now for each input.harbor you can specify metadata's charset for icy (shoutcast) and non-icy source clients. The default is to guess (auto detect) in both cases. This should work most of the cases.. In the few cases where auto detection failed, you can force the value. For instance ISO-8859-1 for icy metadata charset is a reasonable option since shoutcast works with latin1 (apparently). However, once a charset is chosed, all metadata will be interpreted using this charset. Thus, you should force a given charset only when you know that all your source clients are going to use it... Romain -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ Savonet-users mailing list Savonet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/savonet-users
Re: [Savonet-users] double-utf8 metadata encoding with output.icecast and input.harbor
Le jeudi 03 février 2011 12:29:01, Romain Beauxis a écrit : However, once a charset is chosed, all metadata will be interpreted using this charset. Thus, you should force a given charset only when you know that all your source clients are going to use it... I forgot a point: a given source client can override any charset by passing its own value as a charset argument during the http get metadata update request.. Romain -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ Savonet-users mailing list Savonet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/savonet-users