dsdreamer wrote:
> >
Code:
--------------------
> > diff --git
a/share/jive/applets/SetupSqueezelite/SetupSqueezeliteApplet.lua b/sh
> index c051f6e..4038332 100644
> --- a/share/jive/applets/SetupSqueezelite/SetupSqueezeliteApplet.lua
> +++ b/share/jive/applets/SetupSqueezelite/SetupSqueezeliteApplet.lua
> @@ -310,8 +310,9 @@ function _parseStreamInfo(self, card)
> if t.status == "Running" then
> t.interface = parse(" Interface = (%d+)")
> t.altset = parse(" Altset = (%d+)")
> - skip(2)
> - t.momfreq = parse(" Momentary freq = (%d+) Hz")
> + while not eof() and not t.momfreq do
> + t.momfreq = parse(" Momentary freq = (%d+) Hz")
> + end
> t.feedbkfmt = parse(" Feedback Format = (.*)", true)
> end
--------------------
> >
>
> I could also have simply replaced skip(2) with skip(1) to just fix it
> on this particular kernel, but it may be better to get rid of all the
> magic integers used as arguments to skip?
Thanks - applied
------------------------------------------------------------------------
Triode's Profile: http://forums.slimdevices.com/member.php?userid=17
View this thread: http://forums.slimdevices.com/showthread.php?t=99395
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix