mrw wrote: > I will look further at the processing. I was asking myself: "What might > happen if the stream 'restarts from scratch' for some reason when we're > in the middle of processing the icy metadata ? Could we end up breaking > the icy metadata filter ?". Would require examination of the code. And > understanding what icy is supposed to look like. Icy is straight forward - it is a chunk of data every so many characters in the streams - the size is defined in header icy-metadataint. So http processing will get a chunk of data and then pass it to icy processing. Generically it should be a series of <parametername>=<value> - so if icy processing is flexible it'll ignore "unknown" parameter names and just use StreamTitle and StreamURL.
If stream restarts - no matter. icy data counter will restart. If processing icy data then it will already be complete. If icy data is incomplete it should be discarded with http restart. If there is a chance to fix this - ideally the code has to be in Lua and not in C. I think we should lob the issue to Ralphy and the community radio thread and get their opinion - if only to be able to better instrument "audio_thread_execute" line 849 and 1053 and paths to those lines. ------------------------------------------------------------------------ bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=113309 _______________________________________________ Radio mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/radio
