Koozali.org: home of the SME Server

getting Sonos perl to run in an ibay

Offline JensK

  • **
  • 21
  • +0/-0
    • http://www.kjellerup-hansen.dk
getting Sonos perl to run in an ibay
« on: September 22, 2007, 07:03:43 PM »
I have a Sonos music system. To the Sonos a guy has made a perl uPNP controller that runs as a Perl script on a webserver. I have tried to run this perl script on the sonos but with no luck. As i am not very knowledgeable in linux and perl i need som help to get this to run.

The scripts can be found here:
http://www.purple.org/sonos/

I have run the perl commands:

Data::Dumper perl -MCPAN -e "install Data::Dumper"
SOAP::Lite perl -MCPAN -e "install SOAP::Lite"
LWP::UserAgent perl -MCPAN -e "install LWP::UserAgent"
HTTP::Daemon perl -MCPAN -e "install HTTP::Daemon"
XML::Simple perl -MCPAN -e "install XML::Simple"
HTML::Template perl -MCPAN -e "install HTML::Template"

Except the Data::Dumper  and LWP::UserAgent every one of these installed ok.

When i run the sonos.pl i get the error:

could not find ParserDetails.ini in /usr/lib/perl5/vendor_perl/5.8.5/XML/SAX
substr outside of string at Plugins/Rhapsody/Plugin.pm line 43


Aparently the ParserDetails.ini doesn't exist in /usr/lib/perl5/vendor_perl/5.8.5/XML/SAX dir. Where do I get this file?

I also need to have access to ports:
# 8001 - The web browser software uses this port, opening to the internet allows anyone to control too
# tcp 8058 - UPnP subscription port
# udp 8008 - UPnP ssdp search port
# udp 1900
How do I do this when my sme is a server only  setup?

My setup is a sme version 7.2 running as a server only on my internal network behind a router.

/jK
« Last Edit: September 22, 2007, 07:28:01 PM by JensK »
......