Re: [slim] Updating PublicRadioFanBrowser.pm to v6.0?

2005-03-20 Thread Ben Sandee
On Sat, 19 Mar 2005 01:21:07 -0800, kdf [EMAIL PROTECTED] wrote:
 hrm... --d_remotestream maybe?? I've given it an online home, but I rarely
 actually use it, so I can't really offer much other advice.  The error you
 mentioned seem to indicate that a required class wasn't workign right usually
 that is due to a bad module for that class.
 
 maybe running with perl -d will help shed some light.
 

OK finally figured this out -- USER ERROR!  I had an invalid
HTTP_PROXY environment variable set and apparently the ONLY app I ever
use that uses that is this plugin.  I enabled the debug lines that are
commented out in the publicradiofan plugin.pm file and it was quickly
evident that the request wasn't being processed correctly.

Anyway, works great now -- thanks for your help!  SlimServer 6.0 is
looking GREAT!

Ben
___
Discuss mailing list
Discuss@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/discuss


Re: [slim] Updating PublicRadioFanBrowser.pm to v6.0?

2005-03-19 Thread kdf
Quoting Ben Sandee [EMAIL PROTECTED]:

  c:\program files\slimserver\server\slim.exe --d_plugins
 
  I'm sure you will find that you have some missing modules.
 
  this plugin requires HTML::Treebuilder, which is not included with the
 server
  and may need to be compiled for your platform.
 
  download activePerl, or use a platform with native perl like osx or linux.

 kdf,

 It's a Debian testing box that used to run the 5.x version of that
 plugin just fine.  I checked that specific module that you mentioned
 but it's already installed (likely because I needed it for the 5.x
 version of the plugin):

 cedar:/var/log# apt-get install libhtml-tree-perl
 Reading Package Lists... Done
 Building Dependency Tree... Done
 libhtml-tree-perl is already the newest version.
 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

 Running the server with --d_plugins doesn't shed any light on it --
 publicradiofan appears to startup just fine.  It's only when I
 navigate to the plugin that the errors occur.  Any other -d_ flags to
 try?

 Maybe I'll try with a clean, non-svn image.

hrm... --d_remotestream maybe?? I've given it an online home, but I rarely
actually use it, so I can't really offer much other advice.  The error you
mentioned seem to indicate that a required class wasn't workign right usually
that is due to a bad module for that class.

maybe running with perl -d will help shed some light.

-kdf
___
Discuss mailing list
Discuss@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/discuss


Re: [slim] Updating PublicRadioFanBrowser.pm to v6.0?

2005-03-18 Thread kdf
Quoting [EMAIL PROTECTED]:

  Quoting [EMAIL PROTECTED]:
 
  I think it was kdf that updated it from the orginal v4 plugin to make
  it work with v5 since its creator was MIA by that point.  I know that
  everyone is busy ironing out v6 for its release, but if anyone could
  update it I (we) would greatly appreciate it.
 
  well, turns out I'm so busy and sleepless that I forgot I fixed this
  already.  it available here and should work with latest builds of 6.0:
 
  http://www.deane-freeman.com/slimserver/
 
  -kdf

 Well that is about as quick as response as I could have every hoped for.
 And it seems to be working fine. It appears in the 'Plugins' menu which is
 fine once I found it, it used to appear in the 'Internet Radio' menu. It
 seems like it should be added when these items are during startup.

 2005-03-18 05:03:41.1336 Adding Picks to menu: RADIO
 2005-03-18 05:03:41.1343 Adding ShoutcastBrowser to menu: RADIO
 2005-03-18 05:03:41.1349 Adding RadioIO to menu: RADIO
 2005-03-18 05:03:41.1355 Adding Alien::Plugin to menu: RADIO
 2005-03-18 05:03:41.1360 Adding Live365 to menu: RADIO

 This is not a deal breaker in anyway.  I thank you for your time in
 getting it this far (and functional). If you could just put it on the
 bottom of your to-do list, that would be great.


just add this:

sub addMenu {
return RADIO;
}


-kdf

___
Discuss mailing list
Discuss@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/discuss


Re: [slim] Updating PublicRadioFanBrowser.pm to v6.0?

2005-03-18 Thread slim

 just add this:

 sub addMenu {
   return RADIO;
 }


 -kdf

Well that did the trick nicely.

Thanks again.

Tom Malsbury


___
Discuss mailing list
Discuss@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/discuss


Re: [slim] Updating PublicRadioFanBrowser.pm to v6.0?

2005-03-18 Thread kdf
Quoting [EMAIL PROTECTED]:


  just add this:
 
  sub addMenu {
  return RADIO;
  }
 
 
  -kdf

 Well that did the trick nicely.

 Thanks again.

np... I love the easy requests :)  I'll post a version with that change at some
point over the weekend.

-kdf
___
Discuss mailing list
Discuss@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/discuss


Re: [slim] Updating PublicRadioFanBrowser.pm to v6.0?

2005-03-18 Thread Ben Sandee
Strange -- I tried to use this plugin unsuccessfully.  I'm just did a
clean svn up so maybe it's something with the latest build.  Here's
the errors I get:

When I go to the plugin I get Programs for Music (1 of 0) and if I
push it and hit the right arrow here I crash the server with the
error below.  Any ideas?  Maybe I missed a setup step or something.

Ben

Use of uninitialized value in subtraction (-) at
/home/tsandee/slimserver_svn/trunk/server/Plugins/PublicRadioFanBrowser.pm
line 168.
Use of uninitialized value in subtraction (-) at
/home/tsandee/slimserver_svn/trunk/server/Plugins/PublicRadioFanBrowser.pm
line 168.
Use of uninitialized value in subtraction (-) at
/home/tsandee/slimserver_svn/trunk/server/Plugins/PublicRadioFanBrowser.pm
line 168.
Use of uninitialized value in subtraction (-) at
/home/tsandee/slimserver_svn/trunk/server/Plugins/PublicRadioFanBrowser.pm
line 168.
Use of uninitialized value in subtraction (-) at
/home/tsandee/slimserver_svn/trunk/server/Plugins/PublicRadioFanBrowser.pm
line 168.
Use of uninitialized value in subtraction (-) at
/home/tsandee/slimserver_svn/trunk/server/Plugins/PublicRadioFanBrowser.pm
line 168.
Use of uninitialized value in subtraction (-) at
/home/tsandee/slimserver_svn/trunk/server/Plugins/PublicRadioFanBrowser.pm
line 168.
Use of uninitialized value in subtraction (-) at
/home/tsandee/slimserver_svn/trunk/server/Plugins/PublicRadioFanBrowser.pm
line 168.
Use of uninitialized value in subtraction (-) at
/home/tsandee/slimserver_svn/trunk/server/Plugins/PublicRadioFanBrowser.pm
line 168.
Use of uninitialized value in subtraction (-) at
/home/tsandee/slimserver_svn/trunk/server/Plugins/PublicRadioFanBrowser.pm
line 168.
Use of uninitialized value in subtraction (-) at
/home/tsandee/slimserver_svn/trunk/server/Plugins/PublicRadioFanBrowser.pm
line 168.
Use of uninitialized value in pattern match (m//) at
/home/tsandee/slimserver_svn/trunk/server/Plugins/PublicRadioFanBrowser.pm
line 425.
Use of uninitialized value in subtraction (-) at
/home/tsandee/slimserver_svn/trunk/server/Plugins/PublicRadioFanBrowser.pm
line 168.
Can't call method parent on an undefined value at
/home/tsandee/slimserver_svn/trunk/server/Plugins/PublicRadioFanBrowser.pm
line 460.
___
Discuss mailing list
Discuss@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/discuss


Re: [slim] Updating PublicRadioFanBrowser.pm to v6.0?

2005-03-18 Thread kdf
Quoting Ben Sandee [EMAIL PROTECTED]:

 Strange -- I tried to use this plugin unsuccessfully.  I'm just did a
 clean svn up so maybe it's something with the latest build.  Here's
 the errors I get:

 When I go to the plugin I get Programs for Music (1 of 0) and if I
 push it and hit the right arrow here I crash the server with the
 error below.  Any ideas?  Maybe I missed a setup step or something.

c:\program files\slimserver\server\slim.exe --d_plugins

I'm sure you will find that you have some missing modules.

this plugin requires HTML::Treebuilder, which is not included with the server
and may need to be compiled for your platform.

download activePerl, or use a platform with native perl like osx or linux.

-kdf
___
Discuss mailing list
Discuss@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/discuss


Re: [slim] Updating PublicRadioFanBrowser.pm to v6.0?

2005-03-18 Thread Ben Sandee
 c:\program files\slimserver\server\slim.exe --d_plugins
 
 I'm sure you will find that you have some missing modules.
 
 this plugin requires HTML::Treebuilder, which is not included with the server
 and may need to be compiled for your platform.
 
 download activePerl, or use a platform with native perl like osx or linux.

kdf,

It's a Debian testing box that used to run the 5.x version of that
plugin just fine.  I checked that specific module that you mentioned
but it's already installed (likely because I needed it for the 5.x
version of the plugin):

cedar:/var/log# apt-get install libhtml-tree-perl
Reading Package Lists... Done
Building Dependency Tree... Done
libhtml-tree-perl is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Running the server with --d_plugins doesn't shed any light on it --
publicradiofan appears to startup just fine.  It's only when I
navigate to the plugin that the errors occur.  Any other -d_ flags to
try?

Maybe I'll try with a clean, non-svn image.

Thanks for your help.

Ben
___
Discuss mailing list
Discuss@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/discuss