Hello again,

The script threw an error when I hit 'play'; I had configured it with
the following settings:

Slimserver host:  192.168.10.102
(my main computer, not the squeezebox)
Slimserver port: 9000 (the web administration port for SlimServer)
Squeezebox MAC Address: 00:00:00:ff:ff:ff 

Here's the error:

Traceback (most recent call last):
File
"/home/roey/.kde/share/apps/amarok/scripts/SlimserverControl/SlimserverControl.py",
line 78, in ?
main()
File
"/home/roey/.kde/share/apps/amarok/scripts/SlimserverControl/SlimserverControl.py",
line 73, in main
elif "trackChange" in notification or "playing" in notification:
play_track(slimserver_ip, slimserver_port, squeezebox_player)
File
"/home/roey/.kde/share/apps/amarok/scripts/SlimserverControl/SlimserverControl.py",
line 48, in play_track
result = urlopen(url)
File "/usr/lib/python2.4/urllib.py", line 82, in urlopen
return opener.open(url)
File "/usr/lib/python2.4/urllib.py", line 190, in open
return getattr(self, name)(url)
File "/usr/lib/python2.4/urllib.py", line 313, in open_http
h.endheaders()
File "/usr/lib/python2.4/httplib.py", line 798, in endheaders
self._send_output()
File "/usr/lib/python2.4/httplib.py", line 679, in _send_output
self.send(msg)
File "/usr/lib/python2.4/httplib.py", line 646, in send
self.connect()
File "/usr/lib/python2.4/httplib.py", line 614, in connect
socket.SOCK_STREAM):
IOError: [Errno socket error] (-2, 'Name or service not known')


hleroy;161234 Wrote: 
> Hello Roey,
> I have developed a (very) basic script for Amarok to control the
> Slimserver. Every time you play or stop a song in Amarok, it plays and
> stops it on your Slimserver. Pause/unpause and skipping don't work. But
> it's better than nothing ;-) and, as you mentioned, the Amarok UI is
> much more confortable than the Slimserver web interface.
> 
> You can download it here:
> http://www.kde-apps.org/content/show.php?content=49912
> 
> Regards
> 
> Hervé Le Roy


-- 
roey
------------------------------------------------------------------------
roey's Profile: http://forums.slimdevices.com/member.php?userid=5735
View this thread: http://forums.slimdevices.com/showthread.php?t=29438

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

Reply via email to