kdf Wrote:
> > Phil Meyer Wrote:
> >
> >
> > > If it helps at all, I had a look in the slimserver trace and can see
> >
> > > the following:
> > >
> > > 2006-04-23 09:16:14.4232 Couldn't push into new mode:
> > > [PublicRadioStreams] !: Can't call method "parent" on an undefined
> > > value at
> > > P:/Music/SlimServer/trunk/server/Plugins/PublicRadioFanBrowser.pm
> > line 505.
> > >> >
> Unfortunately, that bit of code is part of an internal function of
> the
> plugin itself, and there is little that the server can do to avoid a
>
> bad bit of code in this section of the plugin. I have done some
> updates for server compatibility in the past, and recently another
> author has taken on the task of helping to merge it with more recent
>
> streaming code. Even with that, this plugin is largely
> unmaintained.
>
> Simplest thing I can think of, if anything just to avoid the crash at
>
> THAT line, rewrite line 505 like so:
> >
Code:
--------------------
> > if ($prog) {
> $prog = $prog->parent->parent;
> }
--------------------
> > however, I'm not sure how much this will help, since I cant tell what
>
> the full nature of the error is. It might just bail out a few lines
>
> later
As kdf stated, the plugin's original author has been absent from these
Slimdevices community for some time. I have added some streaming
support for additional formats as they become available within
Slimserver, but the bulk of the code is above my very limited perl
skills.
If the code change suggested by kdf solves the problem, or at least
allows it to fail more gracefully, please let me know and I will add it
to the version that I am hosting.
--Tom Malsbury
--
malsbury
------------------------------------------------------------------------
malsbury's Profile: http://forums.slimdevices.com/member.php?userid=57
View this thread: http://forums.slimdevices.com/showthread.php?t=23238
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/plugins