I run Mopidy on one RasPi and the mpc client on another one. If I send the folowing command
mpc -h musicbox.local -p 6600 play fip
I get the following error:
error parsing song numbers from: fip
error: Timeout
My playlist is located at
/var/lib/mopidy/playlists/fip.m3u
and has only one line:
http://audio.scdn.arkena.com/11016/fip-midfi128.mp3
It works fine from the web interface. I use Pi Musicbox with the default web client.
Other playlists also do not work. Also the commands current and insert do not work in mpc. Add, next and prev do work.
Any ideas?
I found this in the log:
2016-01-30 00:02:17,180 - INFO New MPD connection from [::ffff:192.168.178.21]:52978
2016-01-30 00:02:17,204 - ERROR Unhandled exception in MpdSession (urn:uuid:19ea9f48-5c99-408f-86a5-8f97a1f0bd88):
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/pykka/actor.py", line 200, in _actor_loop
response = self._handle_receive(message)
File "/usr/lib/python2.7/dist-packages/pykka/actor.py", line 303, in _handle_receive
return self.on_receive(message)
File "/usr/local/lib/python2.7/dist-packages/mopidy/utils/network.py", line 366, in on_receive
self.on_line_received(line)
File "/usr/local/lib/python2.7/dist-packages/mopidy/mpd/session.py", line 33, in on_line_received
response = self.dispatcher.handle_request(line)
File "/usr/local/lib/python2.7/dist-packages/mopidy/mpd/dispatcher.py", line 46, in handle_request
return self._call_next_filter(request, response, filter_chain)
File "/usr/local/lib/python2.7/dist-packages/mopidy/mpd/dispatcher.py", line 67, in _call_next_filter
return next_filter(request, response, filter_chain)
File "/usr/local/lib/python2.7/dist-packages/mopidy/mpd/dispatcher.py", line 75, in _catch_mpd_ack_errors_filter
return self._call_next_filter(request, response, filter_chain)
File "/usr/local/lib/python2.7/dist-packages/mopidy/mpd/dispatcher.py", line 67, in _call_next_filter
return next_filter(request, response, filter_chain)
File "/usr/local/lib/python2.7/dist-packages/mopidy/mpd/dispatcher.py", line 85, in _authenticate_filter
return self._call_next_filter(request, response, filter_chain)
File "/usr/local/lib/python2.7/dist-packages/mopidy/mpd/dispatcher.py", line 67, in _call_next_filter
return next_filter(request, response, filter_chain)
File "/usr/local/lib/python2.7/dist-packages/mopidy/mpd/dispatcher.py", line 104, in _command_list_filter
response = self._call_next_filter(request, response, filter_chain)
File "/usr/local/lib/python2.7/dist-packages/mopidy/mpd/dispatcher.py", line 67, in _call_next_filter
return next_filter(request, response, filter_chain)
File "/usr/local/lib/python2.7/dist-packages/mopidy/mpd/dispatcher.py", line 133, in _idle_filter
response = self._call_next_filter(request, response, filter_chain)
File "/usr/local/lib/python2.7/dist-packages/mopidy/mpd/dispatcher.py", line 67, in _call_next_filter
return next_filter(request, response, filter_chain)
File "/usr/local/lib/python2.7/dist-packages/mopidy/mpd/dispatcher.py", line 146, in _add_ok_filter
response = self._call_next_filter(request, response, filter_chain)
File "/usr/local/lib/python2.7/dist-packages/mopidy/mpd/dispatcher.py", line 67, in _call_next_filter
return next_filter(request, response, filter_chain)
File "/usr/local/lib/python2.7/dist-packages/mopidy/mpd/dispatcher.py", line 158, in _call_handler_filter
response = self._format_response(self._call_handler(request))
File "/usr/local/lib/python2.7/dist-packages/mopidy/mpd/dispatcher.py", line 167, in _call_handler
return protocol.commands.call(tokens, context=self.context)
File "/usr/local/lib/python2.7/dist-packages/mopidy/mpd/protocol/__init__.py", line 178, in call
return self.handlers[tokens[0]](context, *tokens[1:])
File "/usr/local/lib/python2.7/dist-packages/mopidy/mpd/protocol/__init__.py", line 156, in validate
return func(**callargs)
File "/usr/local/lib/python2.7/dist-packages/mopidy/mpd/protocol/command_list.py", line 42, in command_list_end
command, current_command_list_index=index)
File "/usr/local/lib/python2.7/dist-packages/mopidy/mpd/dispatcher.py", line 46, in handle_request
return self._call_next_filter(request, response, filter_chain)
File "/usr/local/lib/python2.7/dist-packages/mopidy/mpd/dispatcher.py", line 67, in _call_next_filter
return next_filter(request, response, filter_chain)
File "/usr/local/lib/python2.7/dist-packages/mopidy/mpd/dispatcher.py", line 75, in _catch_mpd_ack_errors_filter
return self._call_next_filter(request, response, filter_chain)
File "/usr/local/lib/python2.7/dist-packages/mopidy/mpd/dispatcher.py", line 67, in _call_next_filter
return next_filter(request, response, filter_chain)
File "/usr/local/lib/python2.7/dist-packages/mopidy/mpd/dispatcher.py", line 85, in _authenticate_filter
return self._call_next_filter(request, response, filter_chain)
File "/usr/local/lib/python2.7/dist-packages/mopidy/mpd/dispatcher.py", line 67, in _call_next_filter
return next_filter(request, response, filter_chain)
File "/usr/local/lib/python2.7/dist-packages/mopidy/mpd/dispatcher.py", line 104, in _command_list_filter
response = self._call_next_filter(request, response, filter_chain)
File "/usr/local/lib/python2.7/dist-packages/mopidy/mpd/dispatcher.py", line 67, in _call_next_filter
return next_filter(request, response, filter_chain)
File "/usr/local/lib/python2.7/dist-packages/mopidy/mpd/dispatcher.py", line 133, in _idle_filter
response = self._call_next_filter(request, response, filter_chain)
File "/usr/local/lib/python2.7/dist-packages/mopidy/mpd/dispatcher.py", line 67, in _call_next_filter
return next_filter(request, response, filter_chain)
File "/usr/local/lib/python2.7/dist-packages/mopidy/mpd/dispatcher.py", line 146, in _add_ok_filter
response = self._call_next_filter(request, response, filter_chain)
File "/usr/local/lib/python2.7/dist-packages/mopidy/mpd/dispatcher.py", line 67, in _call_next_filter
return next_filter(request, response, filter_chain)
File "/usr/local/lib/python2.7/dist-packages/mopidy/mpd/dispatcher.py", line 158, in _call_handler_filter
response = self._format_response(self._call_handler(request))
File "/usr/local/lib/python2.7/dist-packages/mopidy/mpd/dispatcher.py", line 167, in _call_handler
return protocol.commands.call(tokens, context=self.context)
File "/usr/local/lib/python2.7/dist-packages/mopidy/mpd/protocol/__init__.py", line 178, in call
return self.handlers[tokens[0]](context, *tokens[1:])
File "/usr/local/lib/python2.7/dist-packages/mopidy/mpd/protocol/__init__.py", line 156, in validate
return func(**callargs)
File "/usr/local/lib/python2.7/dist-packages/mopidy/mpd/protocol/status.py", line 40, in currentsong
return translator.track_to_mpd_format(tl_track, position=position)
File "/usr/local/lib/python2.7/dist-packages/mopidy/mpd/translator.py", line 41, in track_to_mpd_format
('Album', track.album and track.album.name or ''),
AttributeError: 'dict' object has no attribute 'name'